Klarna Docs - Capture part of the order amount

Capture part of the order amount

Use this call when part of the fulfilment is completed, e.g. for some, but not all, of the physical goods are shipped to the customer.

You have sent at least part of the order to the customer and want to capture the amount for the item(s) that have been shipped.

Flow diagram depicting how a partial order amount gets captured

Fig.1 Capture a partial 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. Adding order lines enables Klarna to visualize the settlement details for the customer better.

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.

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

{
  "captured_amount": 1200,
  "description": "Shipped part of the order",
  "order_lines": [
    {
      "type": "physical",

Klarna will respond with 201 . Created or an error message

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