- Validates request and locks the quote as
rate_used
. - For OFFRAMP, the service submits the on-chain tx for you (no gas from client).
- Returns the creation transaction hash
tx_hash
immediately.
data
fields
tx_hash
— creation transaction hash (use withGET /orders/tx/{tx_hash}
).status
— order state:submitted | processing | settled | failed | refunded
.rate_used
— FX rate applied when the quote was locked.amount_sent
— token amount in 6 decimals units (e.g.,0.71234
USDC).fiat_paid
— fiat amount charged/expected.
GET /orders/tx/{tx_hash}
— fetch current status and details.- Webhooks — configure a webhook URL + secret on your API key to receive async updates.
X-API-Key: <key>
with every request.Authorizations
Body
application/json
Create order request body.
Customer EVM address. For ONRAMP: receives the tokens. For OFFRAMP: spender address (must have ERC-20 allowance for the contract). If allowance is insufficient, the API returns 400 insufficient_allowance
with data.required
and data.current
.
ERC-20 token contract address (checksummed). Use /meta/tokens
to discover supported tokens and addresses.
Order direction. Integer enum (0=ONRAMP, 1=OFFRAMP).
Available options:
0
, 1
Fiat configuration (amount, destination type, and destination details).
Response
Order submitted
The response is of type any
.