Laybuy by Klarna API updates and change log

[April, 2025]

The Laybuy by Klarna API schema remains the same as previous Laybuy APIs. The API endpoints remain the same, making it seamless to re-enable your existing Laybuy integration.

There are few minor changes as outlined below:

  1. The orderId field has changed from an int to a string. It's a string in the GUID format however we recommend to use the string type rather than cast as a GUID. The orderId is provided in the response body of the POST /order/confirm API. See here: https://integrations.laybuy.com/reference/post_order-confirm.

  1. If your API credentials are generated via Klarna merchant dashboard then the response body of POST /order/refunddoes not contain the refundIdfield. However if API credentials are generated via Airwallex merchant dashboard, then the refundIdfield is present. See here for the example response: https://integrations.laybuy.com/reference/post_order-refund.