Payment with incorporated FX conversion (FX payment)
The steps are as follows:
Initialise payment - this is the same as initiating regular payment, but payment currency and cover currency are defined. This is also an asynchronous process as it includes getting the quote. For this, you need to get the payment with a quote response (refer to step 2).
To create a payment, use the initialise payment endpoint. For an FX payment, you must provide the following information:
Payment currency code (the target currency in which the payment will be done). For example, GBP.
Cover currency code (the currency used to make the payment). For example, EUR.
The fixed currency code must be equal to either the buy currency or the sell currency.
The amount to be exchanged. The endpoint generates a payment ID, FX quote request ID, and other parameters.
Find payment - gets the response using the payment ID to the respective payment initialisation (from step 1) including the buying rate or the selling rate. Use the find payment endpoint.
Confirm payment - follows the same process as in the case of regular payment. Use the confirm payment endpoint.
Last updated
Was this helpful?