v1
latestOpenAPI 3.1.0CC-BY-NC-SA-4.02026-07-2413803.8 MBCreate order
⚠️ We no longer recommend using the Orders API. Please refer to the Payments API instead.
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.
🔑 Access with
API key
Advanced access token with orders.write
OAuth access with orders.write
Query parameters
This endpoint allows embedding related API items by appending the following values via the embed query string parameter.
Request body
Example request
{
"id": "ord_5B8cwPMGnU",
"mode": "live",
"amount": {
"currency": "EUR",
"value": "10.00"
},
"amountRefunded": {
"currency": "EUR",
"value": "10.00"
},
"amountCaptured": {
"currency": "EUR",
"value": "10.00"
},
"redirectUrl": "https://www.example.com/redirect",
"cancelUrl": "https://www.example.com/cancel",
"webhookUrl": "https://www.example.com/webhook",
"billingAddress": {
"title": "Mr.",
"givenName": "John",
"familyName": "Doe",
"organizationName": "Mollie B.V.",
"streetAndNumber": "Keizersgracht 126",
"streetAdditional": "4th floor",
"postalCode": "5678AB",
"email": "example@email.com",
"city": "Amsterdam",
"region": "Noord-Holland",
"country": "NL"
},
"shippingAddress": {
"title": "Mr.",
"givenName": "John",
"familyName": "Doe",
"organizationName": "Mollie B.V.",
"streetAndNumber": "Keizersgracht 126",
"streetAdditional": "4th floor",
"postalCode": "5678AB",
"email": "example@email.com",
"city": "Amsterdam",
"region": "Noord-Holland",
"country": "NL"
},
"locale": "en_US",
"method": "creditcard",
"shopperCountryMustMatchBillingCountry": true,
"status": "created",
"isCancelable": true,
"profileId": "pfl_5B8cwPMGnU",
"createdAt": "2024-03-20T09:13:37+00:00",
"authorizedAt": "2025-04-03T14:03:17+00:00",
"paidAt": "2025-04-03T14:03:17+00:00",
"canceledAt": "2025-04-03T14:03:17+00:00",
"expiresAt": "2025-01-01",
"expiredAt": "2025-04-03T14:03:17+00:00",
"completedAt": "2025-04-03T14:03:17+00:00",
"consumerDateOfBirth": "2000-01-01",
"lines": [
{
"id": "odl_5B8cwPMGnU",
"type": "physical",
"name": "Ready Player One",
"quantity": 2,
"quantityShipped": 1,
"amountShipped": {
"currency": "EUR",
"value": "10.00"
},
"quantityRefunded": 1,
"amountRefunded": {
"currency": "EUR",
"value": "10.00"
},
"quantityCanceled": 1,
"amountCanceled": {
"currency": "EUR",
"value": "10.00"
},
"shippableQuantity": 1,
"refundableQuantity": 1,
"cancelableQuantity": 1,
"unitPrice": {
"currency": "EUR",
"value": "10.00"
},
"discountAmount": {
"currency": "EUR",
"value": "10.00"
},
"totalAmount": {
"currency": "EUR",
"value": "10.00"
},
"vatAmount": {
"currency": "EUR",
"value": "10.00"
},
"sku": "978-1524763282",
"category": "eco",
"status": "created",
"isCancelable": true,
"orderId": "ord_5B8cwPMGnU",
"imageUrl": "https://www.example.com/image",
"productUrl": "https://www.example.com/product",
"createdAt": "2024-03-20T09:13:37+00:00",
"_links": {
"self": {
"href": "https://...",
"type": "application/hal+json"
},
"imageUrl": {
"href": "https://...",
"type": "application/hal+json"
},
"productUrl": {
"href": "https://...",
"type": "application/hal+json"
}
}
}
],
"_links": {
"self": {
"href": "https://...",
"type": "application/hal+json"
},
"checkout": {
"href": "https://...",
"type": "application/hal+json"
},
"dashboard": {
"href": "https://...",
"type": "application/hal+json"
},
"documentation": {
"href": "https://...",
"type": "application/hal+json"
}
}
}Response
The newly created order object.