Skip to main content
Limited availability
Currency conversion in currently in pilot phase. Some of the processes and documentation may change as the feature evolves. If you are interested in piloting currency conversion or have any feedback, reach out to your Adyen contact.

When you fix the cost of the goods in the processing currency, the customer always pays the same, fixed amount in their currency of choice (the processing currency). The amount your user receives in the settlement currency is not fixed and depends on the prevailing exchange rate and Adyen’s conversion markup.

Requirements

How it works

If the cost of the goods in the processing currency (the currency in which the customer pays) is fixed:
  1. You calculate the amount your user receives in the settlement currency using the Foreign Exchange API.
  2. You make a POST /payments request, specifying the cost of the goods in both currencies.
  3. When Adyen receives the request, we debit the customer and credit your user in their respective currencies.

Calculate the amount in the settlement currency

To calculate the exact amount your user receives in their currency of choice (the settlement currency):
  1. Contact our Support Team to:
    • Enable the use of the Foreign Exchange API for your merchant account.
    • Configure the required currencies for your merchant account.
  2. Make sure that you have the API key for the Foreign Exchange API. Your credential has the format ws@BalancePlatform.[YourBalancePlatform].
  3. Make a POST /rates/calculate request with an exchangeCalculations array. Each item in the array defines a currency and value for which you want to perform a calculation. In each item of the array, specify:
  4. In the response, note the following fields: **

    Example request

    For example, your user sells goods worth PLN 200.00 to a customer:
    • Your user accepts CZK (the settlement currency).
    • The customer pays in PLN (the processing currency).
    • The cost of the goods is fixed in PLN (the processing currency).
    • You must calculate the cost of the goods in CZK (the settlement currency). This is the amount your user receives.
    Here is a POST /rates/calculate request to calculate the amount your user receives, when the cost of the goods is fixed at PLN 200.00 (the processing currency). Calculate the cost of the goods in the settlement currency
    You receive the following response:
    The targetAmount.value field returns the amount your user receives in CZK when the customer pays PLN 200.00. Here, your user receives CZK 1015.31 when the customer pays PLN 200.00.

Send a payment request with the calculated amount

  1. Make sure that you have the API key for the Checkout API. Your credential has the format ws@Company.[YourCompanyAccount].
  2. Send a POST /payments, /sessions, or /payments/{paymentPspReference}/captures request, specifying the following fields for the currency conversion: Payment request with currency conversion

    curl

    Java

    PHP

    C#

    NodeJS (JavaScript)

    Go

    Python

    Ruby

    NodeJS (TypeScript)

  3. You receive the following response: Response
The splits are guaranteed, and the payment is booked according to the data you provide in the splits array. Any mismatch or miscalculation is booked to the balance account you specify in the split item with type Remainder. You can reconcile these mismatches per transaction using the Balance Platform Accounting Report.