Klarna Docs - Acknowledge your Klarna checkout orders

Acknowledge your Klarna checkout orders

Use the Order management API to acknowledge your Klarna checkout orders.

When you integrate our Klarna checkout solution, you’ll receive a push notification anytime your customers use Klarna in your store. Upon receiving this notification, you let us know that you're aware of the order by calling our order acknowledgment endpoint. This step is required if you're integrating Klarna checkout into your online business.

To verify that the notification you receive is authentic, we recommend checking the order details before taking further action.

To acknowledge an order, send a POST request to the {apiUrl}/ordermanagement/v1/orders/{order_id}/acknowledge endpoint.

The order_id is the identifier you get in a successful response when placing a new order. You don't need a request body for this POST method.

In case of same-day shipping, you can acknowledge your Klarna checkout orders by capturing them.

If the request is successful, you'll receive a 204 No content response.

Error response

If your request contains errors, you'll receive an error response. Make sure the order_id is correct.

You can use the correlation_id and the order_id values to troubleshoot the call in the Merchant portal logs section.

JSON
{
  "error_code": "NO_SUCH_ORDER",
  "error_messages": [
    "Order 7849fd85-47dc-4919-a7ce-47b9f461562f cannot be found. Acknowledgement not possible."
  ],
  "correlation_id": "c56002ca-81ee-436a-b213-093e5afe75d3"
}

Sample of an error response to acknowledge your Klarna checkout orders.

Ready to send this request? See the API reference of this call.