POST /v1/orders
CheckoutService_CreateOrder
The server validates credentials, tenant, environment and permissions. This page does not send requests. Replace example values; deployed server validation remains authoritative.
Parameters
No path or query parameters.
Request body
idempotency_keystringquote_idstringtypestring
cURL
curl --request POST 'https://nexus-api.rainlib.com/v1/orders' \
--header 'Authorization: Bearer <NEXUS_ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"quote_id": "<quote.id>",
"type": "ONE_TIME",
"idempotency_key": "<order-action-key>"
}'Response contract
200 · OK
created_atstringcurrencystringcustomer_account_idstringdiscount_totalstringexpires_atstringidstringorder_nostringpaid_amountstringquote_idstringrefunded_amountstringstatusstringsubtotalstringtotalstringtypestringupdated_atstringversionstring
Generated responses do not enumerate every runtime error. See the integration guide for authentication, conflicts and retries.