Skip to main content
POST
Create order

Authorizations

Authorization
string
header
required

API key sent in the Authorization header.

Body

application/json
bankAccountId
string<uuid>
required
orderId
string<uuid>
required
blockchain
null | enum<string>

Optional when quote_id is provided - will be derived from quote

Available options:
stellar,
solana,
base,
polygon,
monad
cryptoWalletId
string<uuid> | null

Optional wallet UUID — when provided, resolves the wallet by ID instead of public_key lookup

direction
null | enum<string>

Optional when quote_id is provided - will be derived from quote

Available options:
onramp,
offramp
feePayer
string | null

Fee payer G-wallet for C-wallet Stellar offramps. Contract wallets can't be tx source.

fiatAmount
string | null
memo
string | null
publicKey
string | null

Optional when crypto_wallet_id is provided — will be derived from the wallet record

quoteId
string<uuid> | null
tokenAmount
string | null
useAnchor
boolean

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
object
required
Example: