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

Field Relationships

  • Provide either sourceAmount or targetAmount, not both.
  • For a bulk, set bulkTransactionCount to the number of transactions you will create with Create Bulk Cross-Ramp (2–50). Each transaction pays the fixed fee of its own USD leg, so the quote nets that fee once per transaction. Omit it for a single cross-ramp.

Important Notes

  • Quotes expire — check the expiresAt field and create the transaction before it lapses.
  • Pass the returned quoteId to Create Cross-Ramp, or to Create Bulk Cross-Ramp if you set bulkTransactionCount. A single cross-ramp rejects a quote priced for a bulk.
  • To quote a USD payout to China (CN) or Hong Kong (HK), pass targetCountry: "CN" (or "HK") and optionally targetRail (LOCAL default, or SWIFT). See the Cross-Ramp guide.

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
sourceCurrency
enum<string>
required

The source fiat currency symbol

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

"MXN"

targetCurrency
enum<string>
required

The target fiat currency symbol

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

"USD"

sourceAmount
number

The amount of source fiat currency to convert

targetAmount
number

The desired amount of target fiat currency to receive

premiumSpread
number

Spread percentage to be applied to the exchange rate

targetCountry
enum<string>

Target country. Required to quote a USD payout to China (CN) or Hong Kong (HK), since USD otherwise defaults to the US.

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,
HK
targetRail
enum<string>

Target payment rail for CN/HK destinations. Defaults to LOCAL; use SWIFT for an international wire.

Available options:
LOCAL,
SWIFT
bulkTransactionCount
integer

Only for a quote you will redeem with Create Bulk Cross-Ramp: the number of transactions in the bulk. Each transaction pays the fixed fee of its own USD leg, so the quote nets that fee once per transaction. Omit it for a single cross-ramp; a single cross-ramp rejects a quote that has it.

Required range: 2 <= x <= 50
Example:

3

Response

Cross-ramp quote created successfully. Returns the locked quote with amounts, rate and expiration.

success
boolean
Example:

true

data
object