v3
latestOpenAPI 3.0.3UNLICENSED2026-07-2796235396.3 KBCreate BUY order (returns OrderResponse with pay-in details)
Client BUY order — the buyer deposits fiat into a merchant-controlled pay-in account, and once the fiat lands, the merchant-locked asset is released to the buyer's wallet. The request carries sender (buyer identity for the pay-in) and optional creditAccountId (asset destination — defaults to the buyer's default base-currency account). The pay-in mode (DEPOSIT / INTERNAL_TRANSFER) is chosen on POST /quotes and inherited from the referenced quote; it is not specified here.
For DEPOSIT paymentMode orders, the server waits briefly (a few seconds) for the pay-in account to be provisioned and returns the full OrderResponse including payinPaymentDetails so the buyer knows where and how to deposit fiat. If provisioning is still in flight when the wait elapses, payinPaymentDetails is null — poll GET /clients/orders/{orderRef} until it appears or the order fails. INTERNAL_TRANSFER orders return immediately with payinPaymentDetails as null; poll the order until it appears. The same details are re-surfaced on GET /clients/orders/{orderRef} at any point.
Request body
Example request
{
"quoteId": "3a5aaea8-504a-4404-ad3d-b82574fba5e5"
}Response
Order created successfully
Example response
{
"id": "3a5aaea8-504a-4404-ad3d-b82574fba5e5",
"merchantId": "3a5aaea8-504a-4404-ad3d-b82574fba5e5",
"merchantAccountId": "3a5aaea8-504a-4404-ad3d-b82574fba5e5",
"clientId": "3a5aaea8-504a-4404-ad3d-b82574fba5e5"
}