Quote

Allows to get an exchange quote and a token that can be used for a subsequent transaction of the same type.

The FX rate is updated every 60 seconds by default. If you need a different configuration, please request a custom frecuency to our team.

The exchange rate token can be configured to have a lifetime of between 1 minute and up to 1 day. The expiration is to request a transaction within that time range, once the transaction has been created with the exchange rate token, the quoted FX will appear in the payment and also the payments will have their own, unrelated expiration time with the expiration of the exchange rate token.

Bulk Currency Exchange Quote

GET {{api_environment_url}/api/fx/currency-exchange/:type

This endpoint allows you to get FX quotes.

Path Parameters

Query Parameters

Headers

{
  "exchangeRateToken": "af5606b0-1ce7-48f8-ad8a-734934c601ec",
  "transactionType": "CurrencyExchange",
  "accountNumber": "111.111.11111111",
  "sourceCurrency": "EUR",
  "creationDate": "2023-03-22T13:40:09.9995054+00:00",
  "expirationDate": "2023-03-22T13:41:09.9995054+00:00",
  "quotes": [
    {
      "paymentMethodCode": null,
      "rate": 0.862450,
      "quoteCurrency": "USD"
    }
  ]
}

Example

curl --location '{{api_environment_url}/api/fx/currency-exchange/currencyExchange?sourceCurrency=EUR&quoteCurrency=USD&accountNumber=111.111.11111111&quoteAccountNumber=000.000.00000000' \
--header 'Authorization: Bearer {{token}}'

Last updated