v1
latestOpenAPI 3.1.02026-07-241653251.3 MBPayments
Request payment quote
Retrieves a quote for a payout. Exactly one of quantity or total must be supplied. The returned quote_id can be passed to POST /payments/execute before expire_ts.
post/payments/rfq
Headers
X-SCX-SIGNEDstring required
HMAC-SHA256 signature of the request, base64-encoded. See the Authentication guide for the exact signing formula.
X-SCX-TIMESTAMPstring required
Example:1678901234
Current Unix timestamp in seconds. Must be within 60 seconds of server time or the request is rejected.
Request body
Example request
{
"participant_code": "CUST01",
"quoted_currency": "USD",
"underlying_currency": "BTC",
"side": "buy",
"total": "125.08",
"quantity": "6.761693",
"quote_expiry": "5m"
}Response
Quote generated. Execute the quote via POST /payments/execute before expire_ts elapses.
Example response
{
"message": {
"request_id": "6fc13022-717b-45ff-bb05-011a7d4f3116",
"participant_code": "ABCDEF",
"underlying_currency": "XRP",
"quoted_currency": "USD",
"side": "sell",
"quantity": "6.761693",
"price": "1.317844179922575",
"quote_id": "a3790e55-d0cb-4c82-b525-4965966ce24d",
"expire_ts": 1777896067992,
"account_group": "00SCXM",
"account_label": "general",
"obo_participant": {
"participant_code": "20XRLH",
"account_group": "WRD1K0",
"account_label": "general"
},
"quote_notional": "8.91",
"disclosed_spread": "0.468992514024906101025",
"disclosed_spread_rate": "500"
}
}