The Endpoint allows you to convert funds between currency pairs.Documentation Index
Fetch the complete documentation index at: https://docs.nuvion.co/llms.txt
Use this file to discover all available pages before exploring further.
Request parameters
Pass these as request body on the/fx-quotes endpoint.
The currency you want to convert to. ISO 4217 format.
The currency you want to convert from. ISO 4217 format.
The amount you want to convert to. This is conditionally required.
The amount you want to convert from. This is conditionally required.
The ID of the account from which to debit the funds.
The ID of the counterparty involved in the exchange.
The ID of the payment details associated with the exchange.
Convert funds between currency pairs.
You can specify either theamount_to or amount_from field, but not both. The endpoint calculates the other amount based on the current exchange rate.
Response Parameters
Unique entity identifier.
Currency converted to.
The exchange rate applied to the conversion.
Currency converted from
The quote details associated with this forex exchange.
Timestamp for when the forex exchange was created.
Timestamp for when the forex exchange was last updated.
Example
Initiate Transfer
To initiate a cross currency transfer, you can use theid of the forex exchange in the fx_quote_id field when creating a payment. This will apply the exchange rate from the forex exchange to the payment.
Request parameters
The ID of the source account to debit.
The ID of the payment detail record with
payment_method: "momo-transfer".The payment type of the transfer. It can be bank-transfer, momo-transfer, stablecoin-transfer, and book-transfer.
Transfer description. Maximum 100 characters.
Idempotency key. Maximum 64 characters.
The ID of the forex exchange quote to apply to this transfer.
