Orders
Initiate onramp (native API)
POST
Initiates a crypto purchase (offramp) order on Onboard directly via the API.
Ideal for dApps integrating Onboard Connect natively, removing the need to redirect to a browser or webview.
Authorizations
Body
application/json
id of offer to make unit reservation from
unit to be reserved
rate to make reservation at
Token used to access private ads.
fiat equivalent of reserved unit
Required range:
x >= 0
Response
201
application/json
Success
Order transaction status
Available options:
INITIATED
, DEPOSITED
, CONFIRMED
, COMPLETED
, PENDING
, CANCELLED
, IN_DISPUTE
, AWAITING_ACCEPTANCE
Escrow address
Type of user/role of user in transaction
Available options:
CUSTOMER
, PARTNER
Available options:
PENDING_IP_REPORT
, IN_PROGRESS
, FAILURE
, SUCCESS
Actual token amount that is to be traded
Actual token value that is to be traded by merchant less any fees
Actual token value that is to be traded by customer less any fees
Actual fiat amount that is to be paid.