Klarna Docs - Retrieve a capture

Retrieve a capture

Retrieving all information related to a capture, e.g. shipping/billing information or order lines that were captured.

You need to view what information is related to a shipment.

Flow diagram depicting how a capture is read

Fig.1 Retrieve a capture flow

Send in the order id and the specific capture id you want to know more about.

HTTP
GET /ordermanagement/v1/orders/{order_id}/captures/{capture_id}
Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=
Content-Type: application/json

Klarna will respond with one of the following:

Error message  - something went wrong

200 - OK  - The server has fulfilled the request and the capture information is returned

JSON
HTTP/1.1 200 OK
Content-Type: application/json

{
  "capture_id": "5b33ed47-79d0-4d76-99ea-4afaa7c8e552",
  "klarna_reference": "4K7Q6QF6-1",
  "captured_amount": 6000,
  "captured_at": "2017-01-10T10:31:17.973Z",
  "description": "Shipped the full order",
  "order_lines": [