{
"opencollection": "1.0.0",
"info": {
"name": "Klarna HPP Captures Checkout API",
"version": "1.1"
},
"items": [
{
"info": {
"name": "Checkout",
"type": "folder"
},
"items": [
{
"info": {
"name": "Create an order",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://api.klarna.com/checkout/v3/orders",
"headers": [
{
"name": "Klarna-Partner",
"value": ""
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "To create a new order simply provide a JSON object with the applicable properties.
The location of the newly created checkout order can be found in the location header of the response.
Please note: This is the url that should be used for future interactions (read and update) with the order, i.e. do not construct the order url based on the order id."
},
{
"info": {
"name": "Get order details",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.klarna.com/checkout/v3/orders/:order_id",
"params": [
{
"name": "order_id",
"value": "",
"type": "path"
}
]
},
"docs": "Get the full details of a Klarna checkout order."
},
{
"info": {
"name": "Update an order",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://api.klarna.com/checkout/v3/orders/:order_id",
"params": [
{
"name": "order_id",
"value": "",
"type": "path"
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "To update an order simply provide a JSON object with the properties you want to update. Properties not provided in the request will stay the same.
Please note: an order can only be updated when the status is checkout_incomplete"
},
{
"info": {
"name": "Abort an order",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://api.klarna.com/checkout/v3/orders/:order_id/abort",
"params": [
{
"name": "order_id",
"value": "",
"type": "path"
}
]
},
"docs": "Mark an order as aborted."
}
]
}
],
"bundled": true
}