Skip to main content
Using Management API settings, you can configure surcharge rules for your Adyen company or merchant account, store, or individual terminals. Your rules need to take into account all applicable compliance requirements and aspects such as payment method (card brand), funding source, issuing country, and currency. Based on the rules you configured, surcharges are then automatically calculated and applied to your in-person payments. In your payment requests, you can use split instructions to define how to book the surcharge amount. Depending on your use case, you can combine configuration-based surcharge with dynamic surcharge.

Requirements

In addition to the general requirements for in-person payments with an Adyen for Platforms integration and the general surcharge requirements, take into account the following information.

How it works

After the surcharge amounts and/or percentages are configured:
  1. You make a payment request like you normally do. There are no special parameters required to trigger the surcharge.
  2. The payment terminal or mobile device shows a screen with the purchase amount and instructs your user’s customer to present their card.
  3. Based on the card that the customer presents, the terminal or Mobile SDK calculates the surcharge using the surcharge amounts and/or percentages you configured.
  4. Depending on your configuration and solution, the surcharge confirmation screen appears. This enables your user’s customer to accept the surcharge, or cancel the transaction. In a Mobile solution or if you choose to skip the confirmation screen, you must provide another form of disclosure.
  5. If your user’s customer accepts the surcharge, the payment is processed and the payment response shows the surcharge amount in the TotalFeesAmount field.

Configure surcharges

The payment acceptance fee charged to your user depends on the payment method brand (scheme), funding source (credit or debit), currency, and the country/region that issued the payment method (domestic or international). Therefore, the surcharge that your user passes on to the customer must be specific for the combination of brand, funding source, currency, and country/region. The surcharge can be a fixed amount for each transaction, a percentage of the sum of the purchase amount and the tip, or both a fixed amount and a percentage. You can configure the surcharge logic for payments based on the agreements you have with your users. In addition, you can:
  • Specify a maximum surcharge amount.
  • Indicate if the surcharge should only be applied if the payment method is a commercial/business card. This is important in countries/regions where surcharges on consumer cards are not allowed.
  • Indicate if the surcharge should not be applied to gratuities (tips). This is important in countries/regions where it is prohibited to apply charges to tips.
  • Indicate if the surcharge confirmation screen should be shown. If you hide this screen, regulations require you to provide another form of surcharge disclosure.
To configure surcharges:
  1. Check the current surcharge configuration (if any) by making a GET request to the /terminalSettings endpoint for the company account, merchant account, store or terminal, and checking the surcharge object.
  2. Create an overview of all surcharges that you want to apply. For example: Specifying a country/region applies the surcharge settings only to payment methods issued in that country/region. If not specified, the surcharge applies to all payment methods that meet the rest of the conditions.
  3. Make a PATCH request to the /terminalSettings endpoint for the company account, merchant account, store or terminal.
    In the request body, specify a surcharge object with the following properties:
    For each array item in the configurations object, specify: Configure surcharges
    The response returns the surcharge settings as well as all other terminal settings at the level where you made the request.
  4. (Optional) Ask our Support Team to configure single tap. When this feature is enabled, the customer doesn’t need to present their contactless card again after the terminal has calculated the total amount. When accepting payments with surcharges using Tap to Pay on a mobile device, only the single tap flow is available. Ask our Support Team to configure single tap.

Book the surcharge to your user

To ensure the automatically calculated surcharge is booked to your user’s balance account
  1. When you gather the split instructions for the payment, add a split item for the surcharge:
    • Increase the split.nrOfItems by one, to accommodate the surcharge split item you are adding.
    • In the split item for the surcharge, specify:
    Because the surcharge amount is only calculated after the customer presents their card, you do not need to include a surcharge amount in the split.totalAmount field or add a split.item[ITEM_NUMBER].amount field for the surcharge.
  2. Format the split data in one of the following ways:
    • Option 1: as a string of form-encoded key-value pairs (using & as a separator).
    • Option 2: as a JSON object converted to a Base64-encoded string.
    As an example, we use a payment of USD 626.00 that is split into:
    • USD 600.00 to be booked to your user’s first balance account as the sale amount.
    • USD 20.00 to be booked to your liable account as your platform’s commission.
    • The payment fee to be booked to your user’s first balance account. This will be deducted from the sale amount.
    • USD 6.00 to be booked to your user’s first balance account as the surcharge.
    In this case, the split.nrOfItems is 4 and the split.totalAmount is 62000 because the amounts for the payment fee and the surcharge are not known when sending the request.
  1. Turn the split data you gathered into key-value pairs. Split surcharge data as key-value pairs
  2. Concatenate the key-value pairs into a string by separating them with ampersands (&). Concatenated key-value pairs