Create order
Document revision ID: r-d9d8fe5fb6040484
On this page
POST
/cash/v1/merchant/exchange/orders Auth: API key (Bearer)exchange:writeTurns a quote into an order and returns the deposit instructions.
What to do with the response
Send exactly paymentAmount of the source asset to paymentAddress (and include paymentExtraId as memo/tag when present) before expiresAt. Sending a different amount, a different asset, or after expiry is handled by the rules shown on the order page and may require a refund via refundAddress.
Notes
- Orders belong to the API key's owner and appear in that account's order list.
- Address and memo validation errors return
400 CASH_ORDER_RECEIVING_ADDRESS_INVALID/CASH_QUOTE_EXTRA_FIELDS_INVALID; an expired or already-usedquoteIdreturns409 CASH_QUOTE_EXPIRED/ .