Accepts plaintext payload, applies markup to KES rate, hashes message, and submits order.
rate_used.tx_hash immediately.data fields
tx_hash — creation transaction hash (use with GET /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.X-API-Key: <key> with every request.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).
0, 1 Fiat configuration (amount, destination type, and destination details).
Order submitted