v1

latestOpenAPI 3.0.22026-07-26123510445.2 KB
Conversions

Create Quote

Exchange rate quote for currency conversion. Stablecoin Account API Publisher Disclaimer

post/v1/ramp/conversion/quote

Headers

x-on-behalf-ofstring

Specifies the sub-account on whose behalf the request is made. This should be set to the account_id, which can be retrieved via the List Connected Accounts API. If omitted or empty, the request is executed using the master account. More information at Connected Accounts.

Request body

sell_currencystring required

Selling currency.
For crypto-to-crypto, only USDT with one other supported coin is allowed.

buy_currencystring required

Buying currency.
For crypto-to-crypto, only USDT with one other supported coin is allowed.

amountstring required

Amount for conversion

fixed_currencystring required

The currency to fix the amount for (either sell or buy currency).
If either side is volatile (for example BTC or ETH), only USDT is allowed.

Example request

{
  "sell_currency": "USDT",
  "buy_currency": "USD",
  "amount": "1000.00",
  "fixed_currency": "USD"
}

Response

Quote created successfully

codeinteger required
messagestring required

Example response

{
  "code": 200,
  "message": "Success",
  "data": {
    "quote_id": "958813b7-8523-4b93-862e-46eddb87b56d",
    "sell_currency": "USDT",
    "sell_amount": "100",
    "buy_currency": "SGD",
    "buy_amount": "133.84",
    "currency_pair": "USDTSGD",
    "direct_rate": "1.3384723",
    "inverse_rate": "0.74712043",
    "processing_fee": "0",
    "network_fee": "0",
    "valid_from": "2026-04-27T10:47:26+08:00",
    "valid_to": "2026-04-27T10:50:26+08:00"
  }
}