v1

latestOpenAPI 3.1.02026-07-2479154362.5 KB
fx

Create an exchange quote with a currency pair

post/fx/exchange

Request body

amountnumber double required

String encoded decimal number

pairstring required

Currency pair in ISO-4217 format, where the first currency is the source and the second is the target.

Example request

{
  "amount": 10,
  "pair": "MXN/USD"
}

Response

Quote created successfully

idstring uuid required

Unique identifier for the quote

amountnumber float required

The original amount

net_amountnumber float required

Amount after fees or deductions

target_amountnumber float required

Amount in the target currency

currencystring required

ISO-4217 code of the source currency

target_currencystring required

ISO-4217 code of the target currency

expires_atstring date-time required

Datetime when the quote expires (UTC)

Example response

{
  "id": "4b4d079e-c256-4b39-9aaf-907780cf5512",
  "amount": 10,
  "net_amount": 8.9,
  "target_amount": 17.17,
  "currency": "PEN",
  "target_currency": "BRL",
  "expires_at": "2025-10-17T03:46:45.531406Z"
}