Creates a new order for crypto/fiat conversion using a previously created quote.
Flow:
/ramp/quote to get pricing and create a quotequoteId to execute the orderThe order inherits the blockchain, direction (onramp/offramp), and amounts from the quote. Quotes expire after 2 minutes, so create the order promptly after getting the quote.
Wallet resolution: Provide either publicKey or cryptoWalletId (or both). When cryptoWalletId is provided, the wallet is resolved by UUID and publicKey becomes optional.
For onramps, the bank account must belong to your organization or a child organization.
API key for authentication. Pass the key directly (e.g., Authorization: your-api-key). Do not use a Bearer prefix.
Client-generated order ID
Bank account ID for the fiat leg
Quote ID from a previous /ramp/quote call. The order will use the blockchain, direction, and amounts from the quote.
Customer's crypto wallet address. Required if cryptoWalletId is not provided.
UUID of a registered crypto wallet. If provided, publicKey is optional and will be resolved from the wallet record.
Optional memo for the transaction
When true, the order uses anchor mode (Stellar only). Instead of returning a pre-signed burnTransaction,
the response includes withdrawAnchorAccount, withdrawMemo, and withdrawMemoType. Your application builds
and submits the payment transaction directly to the anchor account with the provided memo.
Only valid for Stellar offramp orders. Requests with useAnchor: true on non-Stellar blockchains will be rejected.
Order created successfully
Response when creating an order. The response is wrapped in either an "onramp" or "offramp" key depending on the order direction (derived from the quote).