v47

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-013871777.1 KB
FX

Retrieve Exchange Rate

Retrieve the current exchange rate for a given currency pair. The rate is not guaranteed for any following transactions.

post/api/service/fx/retrieve-rate

Request body

sourceCurrency'EUR' | 'GBP' | 'USDC' required

The source currency code.

targetCurrency'EUR' | 'GBP' | 'USDC' required

The target currency code.

sourceAmountstring

The amount of source currency to convert. If not provided, only the rate will be returned. Decimal places should be separated by a dot.

Response

Returns the current exchange rate for the given currency pair.

ratestring required

The current exchange rate for the given currency pair.

targetAmountstring

The amount of the target currency for the given source amount. Only returned if the source amount is provided.

sourceAmountstring

The amount of source currency to convert. Only returned if the source amount is provided.