FX

Execute FX

Execute a standalone foreign exchange transaction.

post/api/service/fx/execute

Request body

idempotencyKeystring required

Idempotency key for the request.

sourceAmountstring required

The amount of source currency to convert.

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

The source currency code.

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

The target currency code.

metadataobject

Additional metadata.

Response

FX executed successfully

idstring required

The fxId attached to the transfer.

ratestring required

The exchange rate for the given currency pair.

targetAmountstring

The amount of the target currency for the given source amount.

sourceAmountstring

The amount of source currency to convert.

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

The source currency code

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

The target currency code

metadataobject

Additional metadata.

status'initiated' | 'succeeded' | 'failed' required

The status of the FX transaction.

Changes