Create a quote

This endpoint generates an FX rate for a particular currency pair.

When this service is called, it returns a quote_id, which uniquely identifies the quoted foreign exchange (FX) rate, including any applicable fees and taxes. This quote_id can be used in subsequent requests to create Payouts, as long as it remains within the quote's validity period.

There are three possible ways to create a quote ID configuration:

  • Request with no amount specified
  • Request specifying the source amount
  • Request specifying the destination amount

Configuration required: to use the Quote API, please contact your Technical Account Manager or email us at [email protected] to request setup.

Body Params
string
required
length ≤ 2

Country code of the destination. ISO-3166 country code ISO-3166 country code.

string
length ≤ 3
Defaults to USD

Currency code for the source amount. ISO-4217 currency code.

string
required
length ≤ 3

Currency code for the destination amount. ISO-4217 currency code.

float
required
≤ 9999999999.99
Defaults to 100

Payout source amount expressed in the currency indicated in source_currency. When creating a payout, specify the exact same amount specified in this parameter.

float
≤ 9999999999.99

Payout destination amount expressed in the currency indicated in destination_currency. When creating a payout, specify the exact same amount specified in this parameter.

Responses

Language
Credentials
URL
Request
Response
Choose an example:
application/json