Trade Options
Get Trade URL
GET
Generate a trade URL using specified parameters such as fiat currency, token, trade type, and network. This URL redirects users to the Onboard web interface to complete transactions and is ideal for low-code integrations with Onboard Connect.
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
Response
200 - application/json
Response for a successful create order command
Http link for CEX to redirect to