Orders
Start trade (browser)
GET
This endpoint is ideal for low-code integrations, and can be used in place of Fetch Trade URL
, which returns the trade url in JSON.
Instead, the Start trade
endpoint automatically resolves to the trade URL, and is best used to initiate trades within a browser or webview.
To initiate orders natively via the API, use:
- /transactions/v2/onramp/initiate for onramp transactions
- /transactions/v2/offramp/initiate for offramp transactions
Query Parameters
CEX api key
Integration product in use e.g web3 or custodial
Available options:
WEB3
, CUSTODIAL
Order ID generated for offramp trades
Type of trade
Available options:
BUY
, SELL
Symbol of fiat currency
Fiat amount
Symbol of token asset
Token amount
Onboard blockchain network identifier or chain Id e.g Base will be base
or 8453
or 0x2105
Wallet address to be debited/credited in order
Payment channel
Customer's email address
Offer auto select flag