Are you looking for test card numbers?

Would you like to contact support?

Point-of-sale icon

Tipping from the cash register

Implement tipping from the cash register in your payment flow.

Here we describe how to implement tipping in your payment flow where the payment request that you send from the cash register includes a tip amount. The terminal shows the original transaction amount and the tip amount. The customer then uses the terminal to confirm the tip, change the amount, or decline giving a tip.

Before you begin

Before you implement tipping, make sure you have:

Configure tipping

The tip amount to propose to your customer on the terminal can be a percentage of the transaction amount, a fixed amount, one of various fixed amounts depending on the transaction amount, and so on.
You need to implement logic on your end to ensure your cash register provides the tip amount that you need to include in your payment request.

Make a payment

After you configured tipping on the cash register, you are ready to make a payment request that includes a TipAmount. This shows the transaction amount and the proposed tip amount on the terminal display.

  1. Make a POST request to a Terminal API endpoint, specifying:

    • PaymentRequest:

      Parameter Required Description
      SaleData.SaleTransactionID -white_check_mark- An object with:
      • TransactionID: your unique reference for this request.
      • TimeStamp: date and time of the request in UTC format.
      PaymentTransaction.AmountsReq -white_check_mark- An object with:
      • Currency: the transaction currency.
      • RequestedAmount: the transaction amount.
      • TipAmount: the tip amount.

    The example below shows how you would initiate a payment of EUR 142.50 with a 10% tip.

    Payment request with tipping

    The payment request is routed to the payment terminal. The shopper accepts, changes, or declines the tip and completes the payment. The terminal then collects the payment details and sends the request for the original transaction amount plus the tip amount to the Adyen payments platform.

    If the payment is successful, the terminal shows Approved.

  2. In the PaymentResponse note the following:

    • POIData.POITransactionID.TransactionID: Transaction identifier for the payment.
    • PaymentReceipt: receipt data with the original transaction amount, the tip amount (not included if the customer didn't add a tip), and the total amount.
    • PaymentResult.AmountsResp:

      • TipAmount: amount of the tip. If the customer didn't add a tip, this field is not included.
      • AuthorizedAmount: total amount of the payment (original transaction amount plus tip amount).
      • Currency: currency of the payment.

    • Response.Result: Success
    • Response.AdditionalResponse: additional transaction data. You'll receive either a string of form-encoded key-value pairs or a Base64 string that you need to decode to get a JSON object. This includes:
      • posadditionalamounts.originalAmountValue: the original transaction amount in minor units.
      • posAmountGratuityValue: the tip amount in minor units.
      • authorisedAmountValue: the total authorised amount in minor units.

    The example below shows the response for a EUR142.50 transaction with a 10% tip added.

    Payment response with tip added
      "SaleToPOIResponse": {
        "PaymentResponse": {
          "POIData": {
            "POITransactionID": {
              "TimeStamp": "2019-12-17T10:11:12.000Z",
              "TransactionID": "8ha5001575467786000.NC6HT9CRT65ZGN82"
          "SaleData": {...},
            "PaymentReceipt": [...],
            "PaymentResult": {
              "AuthenticationMethod": [...],
              "OnlineFlag": true,
              "PaymentAcquirerData": {...},
              "PaymentInstrumentData": {...},
              "AmountsResp": {
                "TipAmount": 14.25,
                "AuthorizedAmount": 156.75,
                "Currency": "EUR"
            "Response": {
              "Result": "Success",
              "AdditionalResponse": "...posadditionalamounts.originalAmountValue=14250&...posAmountGratuityValue=1425&gratuityAmount=1425&...authorisedAmountValue=15675...&posAuthAmountValue=15675&posadditionalamounts.gratuityAmount=1425"
            "MessageHeader": {...}

See also