Create order

⚠️ We no longer recommend implementing the Orders API. Please refer to the Payments API instead. We are actively working on adding support for Klarna, Billie, in3 and Vouchers to the Payments API later this year.

When creating an order, a payment will automatically be created to allow your customer to pay for the order. You can then redirect your customer to the URL in the _links.checkout property from the response, similar to the Payments API.

Unlike the Payments API, if a payment fails, expires, or is canceled, you can create a new payment under the same order using the Create order payment endpoint. This is only possible for orders that still have the created status.