Skip to main content
POST
cURL
Creates a locked quote with a guaranteed exchange rate. Pass the returned quoteId when creating a transaction to use this rate.

Field Relationships

  • cryptoAmount is required for OFF_RAMP transactions, fiatAmount is required for ON_RAMP.
  • country and rail are optional overrides for non-default currency/country combinations.
  • forwardingDays (0–4) is only supported for MXN OTC transactions (T+N settlement).

Important Notes


Error Codes

These are the errors this endpoint returns most often. Branch on code, not message, and handle codes you don’t recognize by their HTTP status. See Error Codes for the complete list.

Common Errors

Endpoint-Specific Errors

Authorizations

partner-api-key
string
header
required

API key for the affiliated partner performing the request.

Body

application/json
tokenSymbol
enum<string>
required

The token symbol

Available options:
USDC,
USDT
Example:

"USDC"

transactionType
enum<string>
required

Transaction type (ON_RAMP or OFF_RAMP)

Available options:
ON_RAMP,
OFF_RAMP,
CROSS_RAMP
Example:

"ON_RAMP"

blockchainSymbol
enum<string>
required

The blockchain symbol.

Available options:
POL,
SOL,
ETH,
BSC,
TRX
Example:

"POL"

fiatCurrency
enum<string>
required

The fiat currency

Available options:
MXN,
DOP,
USD,
EUR
Example:

"MXN"

cryptoAmount
number

The amount of crypto (required for OFF_RAMP)

fiatAmount
number

The amount of fiat (required for ON_RAMP)

premiumSpread
number

Spread percentage to be applied to the exchange rate

country
enum<string>

The country where the transaction is being performed. Use it only when the currency is not default for the country.

Available options:
MX,
DO,
US,
AT,
BE,
BG,
HR,
CY,
CZ,
DK,
EE,
FI,
FR,
DE,
GR,
HU,
IE,
IT,
LV,
LT,
LU,
MT,
NL,
PL,
PT,
RO,
SK,
SI,
ES,
SE,
IS,
LI,
NO,
CH,
GB,
MC,
SM,
AD,
VA,
CN
rail
enum<string>

The payment rail for the transaction. Use it only when the rail is not default for the country.

Available options:
SPEI,
ACH,
WIRE,
SEPA,
SWIFT
forwardingDays
number

Number of T+N forwarding days for settlement (0-4). Only supported for MXN OTC transactions.

Response

Quote created successfully. Returns the locked quote with amounts, rate and expiration.

success
boolean
Example:

true

data
object