Create order
Creates a new order for crypto/fiat conversion using a previously created quote.
Flow:
- First, call
POST /ramp/quoteto get pricing and create a quote. - Then, call this endpoint with the
quoteIdto execute the order.
The 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.
Authorizations
API key sent in the Authorization header.
Body
Optional when quote_id is provided - will be derived from quote
stellar, solana, base, polygon, monad Optional wallet UUID — when provided, resolves the wallet by ID instead of public_key lookup
Optional when quote_id is provided - will be derived from quote
onramp, offramp Fee payer G-wallet for C-wallet Stellar offramps. Contract wallets can't be tx source.
Optional when crypto_wallet_id is provided — will be derived from the wallet record
When true, returns anchor address + memo instead of pre-signed TX (SEP-24 anchor mode). Only valid for Stellar offramps.
Response
The created order
- Offramp Response
- Onramp Response
{
"orderId": "7b9c1e2d-3f4a-5b6c-7d8e-9f0a1b2c3d4e",
"withdrawAnchorAccount": "GANCHOR7XYZQ635VDIGY6S4ZUF5L6TQ7AA4MWS7LEQDBLUSZXV7UPS4",
"withdrawMemo": "3f2a1b0c9d8e",
"withdrawMemoType": "hash"
}