Klarna Docs - Capture the full amount

Capture the full amount

Use this call when fulfilment is completed, e.g. physical products are being shipped to the customer.

You have sent the goods to the customer and want to capture the amount for the item(s). This will trigger the settlement from Klarna to you for the order, in accordance with the terms of your contract.

Flow diagram depicting how the full order amount gets captured

Fig.1 Capture the full amount flow

The captured_amount  must be equal to or less than the order’s remaining_authorized_amount . The shipping address is inherited from the order.

The capture amount can optionally be accompanied by descriptive text and order lines for the captured items. Any order lines in the request that relate to subscriptions are required to include the subscription object.

Shipping Information:
If you are shipping physical goods, you should have tracking information available at this point. Therefore, the capture call provides the possibility to transmit the tracking data for the shipment to Klarna. 

Read more about delivery tracking.

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

  "captured_amount": 6000,
  "description": "Shipped the full order",
  "order_lines": [
      "type": "physical",

Klarna will respond with 201 . Created or an error message

HTTP/1.1 201 Created
Location: http://klarna/orders/{order_id}/captures/{capture_id}