v1
latestOpenAPI 3.0.32026-07-2246176.0 KBAPI ordering
Place a wallet-paid order
Place a headless, wallet-paid order. The server forces pay_with_credit=1 and no_redirect=1 internally, so the order is debited from your wallet balance with no gateway redirect.
email, fname, and lname are derived from the authenticated identity. You can omit them, or pass them explicitly to override.
Permission: account:api_ordering:write (admin-grant-only — off by default for every account). Authenticate with the api-token header. The wallet balance must cover the order total at the moment the call lands.
post/v4/account/orders/create
Request body
Example request
{
"account_id": "fe7941e6-1eed-4d95-881a-3159901897d3",
"country": "Belgium",
"coupon_code": "WELCOME10"
}Response
For a real order: created and paid from the wallet — data is the bare order ID string. For dry_run: true: data is a price quote and no order is created or charged.
Example response
{
"success": true,
"data": "0bc1a40f-2a17-4c84-9b2b-f4b9d3e0b3a1"
}