Klarna Docs - Cancel an authorized order

Cancel an authorized order

For a cancellation to be successful, there must be no captures on the order. The authorized amount will be released and no further updates to the order will be allowed. Please note that a canceled order cannot be reopened.

The customer has decided not to proceed with the purchase and wants to cancel the order before shipping the product.

Flow diagram depicting how the order gets cancelled

Fig.1 Cancel an authorized order

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

Klarna will respond with 204 . The server has fulfilled the request or an error message

HTTP
HTTP/1.1 204 No Content