v1

latestOpenAPI 3.0.22026-07-26123510445.2 KB
Conversions

Create Conversion

Initiate Fiat and Crypto conversion. Stablecoin Account API Publisher Disclaimer

post/v1/ramp/conversion

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.

x-idempotency-keystring uuid

A unique identifier (UUID) used to maintain operation idempotency, ensuring that repeated executions of the same operation do not result in unintended effects or duplication. It helps preserve data consistency in the face of network errors, retries, or failures.

Request body

quote_idstring required

Quote ID

sell_currencystring required

Selling currency

sell_amountstring required

Selling amount

buy_currencystring required

Buying currency

buy_amountstring required

Buying amount

reasonstring

Transaction remark

Response

Conversion executed successfully

codeinteger required
messagestring required

Example response

{
  "code": 200,
  "message": "Success"
}