Requirements
In addition to the general requirements for in-person payments with an Adyen for Platforms integration, take into account the following information.| Requirement | Description |
|---|---|
| Integration type | A Terminal API integration with payment terminals or with a Mobile solution.The standalone solution does not support adding split instructions to individual payment authorization requests. |
| Limitations | Booking the tip to your user’s balance account is not supported with tipping on the receipt. |
| Setup steps | Check the flow, the requirements, and the setup or configuration steps for your chosen tipping method: tipping from the POS app or tipping from the terminal. |
Tip from POS app and book to your user
To make payment request that adds a tip and split instructions for how to book the tip when you use tipping from the POS app:-
When you gather the split instructions for the payment, add a split item for the tip:
-
Increase the
split.nrOfItemsby one, to accommodate the tip split item you are adding. -
In the split item for the tip, specify:
Key Description split.item[ITEM_NUMBER].typeThe type of split. Set this to Tip. split.item[ITEM_NUMBER].accountThe account that will receive the tip. This is the balanceAccountIDof one of your user’s balance accounts. You cannot split the tip between multiple balance accounts.split.item[ITEM_NUMBER].referenceYour reference for the tip, reflected in the Balance Platform Accounting Report. split.item[ITEM_NUMBER].descriptionYour description of the tip, reflected in the Balance Platform Accounting Report.
split.totalAmountfield and do not add asplit.item[ITEM_NUMBER].amountfield for the tip. -
Increase the
-
Format the split instructions 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.
- USD 600.00 to be paid to your user’s first balance account as the sale amount.
- USD 20.00 to be paid 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 10.00 to be paid to your user’s second balance account as the tip.
split.nrOfItemsis 4 and thesplit.totalAmountis 62000, because the payment fee is not known yet, and the tip amount should not be added even if you do know it in advance.
- Key-value pairs
- Base64-encoded JSON
- Key-value pairs
- Base64-encoded JSON
-
Turn the split instructions you gathered into key-value pairs.
Split tip instructions as key-value pairs
split.api=1 split.nrOfItems=4 split.totalAmount=62000 split.currencyCode=USD split.item1.amount=60000 split.item1.type=BalanceAccount split.item1.account=BA00000000000000000000001 split.item1.reference=Your reference for the sale split.item1.description=Your description for the sale split.item2.amount=2000 split.item2.type=Commission split.item2.reference=Your reference for your commission split.item2.description=Your description for your commission split.item3.type=PaymentFee split.item3.account=BA00000000000000000000001 split.item3.reference=Your reference for the payment fee split.item3.description=Your description for the payment fee split.item4.type=Tip split.item4.account=BA00000000000000000000002 split.item4.reference=Your reference for the tip split.item4.description=Your description for the tip -
Concatenate the key-value pairs into a string by separating them with ampersands (&).
Concatenated key-value pairs
split.api=1&split.nrOfItems=4&split.totalAmount=62000&split.currencyCode=USD&split.item1.amount=60000&split.item1.type=BalanceAccount&split.item1.account=BA00000000000000000000001&split.item1.reference=Your reference for the sale&split.item1.description=Your description for the sale&split.item2.amount=2000&split.item2.type=Commission&split.item2.reference=Your reference for your commission&split.item2.description=Your description for your commission&split.item3.type=PaymentFee&split.item3.account=BA00000000000000000000001&split.item3.reference=Your reference for the payment fee&split.item3.description=Your description for the payment fee&split.item4.type=Tip&split.item4.account=BA00000000000000000000002&split.item4.reference=Your reference for the tip&split.item4.description=Your description for the tip
-
Create a JSON object consisting of an
additionalDataobject containing the split instructions you gathered. JSON object{ "additionalData": { "split.api": "1", "split.nrOfItems": "4", "split.totalAmount": "62000", "split.currencyCode": "USD", "split.item1.amount": "60000", "split.item1.type": "BalanceAccount", "split.item1.account": "BA00000000000000000000001", "split.item1.reference": "Your reference for the sale", "split.item1.description": "Your description for the sale", "split.item2.amount": "2000", "split.item2.type": "Commission", "split.item2.reference": "Your reference for your commission", "split.item2.description": "Your description for your commission", "split.item3.type": "PaymentFee", "split.item3.account": "BA00000000000000000000001", "split.item3.reference": "Your reference for the payment fee", "split.item3.description": "Your description for the payment fee", "split.item4.type": "Tip", "split.item4.account": "BA00000000000000000000002", "split.item4.reference": "Your reference for the tip", "split.item4.description": "Your description for the tip" } } -
Encode the JSON object to Base64.
Base64 string
ewogICAiYWRkaXRpb25hbERhdGEiOiB7CiAgICAgICAic3BsaXQuYXBpIjogIjEiLAogICAgICAgInNwbGl0Lm5yT2ZJdGVtcyI6ICI0IiwKICAgICAgIC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XAiLAogICAgICAgInNwbGl0Lml0ZW00LmFjY291bnQiOiAiQkEwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMiIsCiAgICAgICAic3BsaXQuaXRlbTQucmVmZXJlbmNlIjogIllvdXIgcmVmZXJlbmNlIGZvciB0aGUgdGlwIiwKICAgICAgICJzcGxpdC5pdGVtNC5kZXNjcmlwdGlvbiI6ICJZb3VyIGRlc2NyaXB0aW9uIGZvciB0aGUgdGlwIgogICB9Cn0= -
Make a Terminal API payment request, including:
-
The PaymentRequest object with:
Parameter Required Description SaleData.SaleToAcquirerData
The formatted string of split instructions for the payment. PaymentTransaction.AmountsReq.Currency
The transaction currency. PaymentTransaction.AmountsReq.RequestedAmount
The transaction amount. PaymentTransaction.AmountsReq.TipAmount
The tip amount.
{ "SaleToPOIRequest": { "MessageHeader": { "ProtocolVersion": "3.0", "MessageClass": "Service", "MessageCategory": "Payment", "MessageType": "Request", "SaleID": "POSSystemID12345", "ServiceID": "0207111104", "POIID": "V400m-324688179" }, "PaymentRequest": { "SaleData": { "SaleTransactionID": { "TransactionID": "27908", "TimeStamp": "2025-10-28T10:11:04+00:00" }, "SaleToAcquirerData": "split.api=1&split.nrOfItems=4&split.totalAmount=62000&split.currencyCode=USD&split.item1.amount=60000&split.item1.type=BalanceAccount&split.item1.account=BA00000000000000000000001&split.item1.reference=Your reference for the sale&split.item1.description=Your description for the sale&split.item2.amount=2000&split.item2.type=Commission&split.item2.reference=Your reference for your commission&split.item2.description=Your description for your commission&split.item3.type=PaymentFee&split.item3.account=BA00000000000000000000001&split.item3.reference=Your reference for the payment fee&split.item3.description=Your description for the payment fee&split.item4.type=Tip&split.item4.account=BA00000000000000000000002&split.item4.reference=Your reference for the tip&split.item4.description=Your description for the tip" }, "PaymentTransaction": { "AmountsReq": { "Currency": "USD", "RequestedAmount": 620.00 "TipAmount": 10.00 } } } } } -
The PaymentRequest object with:
-
In the PaymentResponse note the following:
-
PaymentResult.AmountsResp:TipAmount: The amount of the tip. If the customer declined adding a tip, this field is not included.AuthorizedAmount: The total amount of the payment (original transaction amount plus tip amount).Currency: The currency of the payment.
-
Response.AdditionalResponse:posadditionalamounts.originalAmountValue: The original transaction amount in minor units.posAmountGratuityValue: The tip amount in minor units.authorisedAmountValue: The total authorised amount in minor units.
{ "SaleToPOIResponse": { "MessageHeader": {...}, "PaymentResponse": { "POIData": {...}, "PaymentReceipt": [...], "PaymentResult": { "AmountsResp": { "AuthorizedAmount": 630, "Currency": "USD", "TipAmount": 10 }, ..., "PaymentInstrumentData": {...} }, "Response": { "AdditionalResponse": "...gratuityAmount=1000&posAmountGratuityValue=1000&posAuthAmountCurrency=USD&posAuthAmountValue=63000&posOriginalAmountValue=62000&posadditionalamounts.gratuityAmount=1000&posadditionalamounts.originalAmountCurrency=USD&posadditionalamounts.originalAmountValue=62000...", "Result": "Success" }, "SaleData": { "SaleTransactionID": {...} } } } } -
Tip from terminal and book to your user
To make payment request that adds a tip and split instructions for how to book the tip when you use tipping from the terminal:-
When you gather the split instructions for the payment, add a split item for the tip:
-
Increase the
split.nrOfItemsby one, to accommodate the tip split item you are adding. -
In the split item for the tip, specify:
Key Description split.item[ITEM_NUMBER].typeThe type of split. Set this to Tip. split.item[ITEM_NUMBER].accountThe account that will receive the tip. This is the balanceAccountIDof one of your user’s balance accounts. You cannot split the tip between multiple balance accounts.split.item[ITEM_NUMBER].referenceYour reference for the tip, reflected in the Balance Platform Accounting Report. split.item[ITEM_NUMBER].descriptionYour description of the tip, reflected in the Balance Platform Accounting Report.
split.totalAmountfield and do not add asplit.item[ITEM_NUMBER].amountfield for the tip. -
Increase the
-
Format the split instructions 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.
- USD 600.00 to be paid to your user’s first balance account as the sale amount.
- USD 20.00 to be paid 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.
- The tip amount to be paid to your user’s second balance account.
split.nrOfItemsis 4 and thesplit.totalAmountis 62000 because the payment fee and the tip amount are not known yet.
-
Turn the split instructions you gathered into key-value pairs, and add a
tenderOptionparameter set to AskGratuity. Split tip instructions as key-value pairstenderOption=AskGratuity split.api=1 split.nrOfItems=4 split.totalAmount=62000 split.currencyCode=USD split.item1.amount=60000 split.item1.type=BalanceAccount split.item1.account=BA00000000000000000000001 split.item1.reference=Your reference for the sale split.item1.description=Your description for the sale split.item2.amount=2000 split.item2.type=Commission split.item2.reference=Your reference for your commission split.item2.description=Your description for your commission split.item3.type=PaymentFee split.item3.account=BA00000000000000000000001 split.item3.reference=Your reference for the payment fee split.item3.description=Your description for the payment fee split.item4.type=Tip split.item4.account=BA00000000000000000000002 split.item4.reference=Your reference for the tip split.item4.description=Your description for the tip -
Concatenate the key-value pairs into a string by separating them with ampersands (&).
Concatenated key-value pairs
tenderOption=AskGratuity&split.api=1&split.nrOfItems=4&split.totalAmount=62000&split.currencyCode=USD&split.item1.amount=60000&split.item1.type=BalanceAccount&split.item1.account=BA00000000000000000000001&split.item1.reference=Your reference for the sale&split.item1.description=Your description for the sale&split.item2.amount=2000&split.item2.type=Commission&split.item2.reference=Your reference for your commission&split.item2.description=Your description for your commission&split.item3.type=PaymentFee&split.item3.account=BA00000000000000000000001&split.item3.reference=Your reference for the payment fee&split.item3.description=Your description for the payment fee&split.item4.type=Tip&split.item4.account=BA00000000000000000000002&split.item4.reference=Your reference for the tip&split.item4.description=Your description for the tip
-
Create a JSON object consisting of an
additionalDataobject containing thetenderOptionparameter set to AskGratuity, and the split instructions you gathered. JSON object{ "tenderOption": "AskGratuity", "additionalData": { "split.api": "1", "split.nrOfItems": "4", "split.totalAmount": "62000", "split.currencyCode": "USD", "split.item1.amount": "60000", "split.item1.type": "BalanceAccount", "split.item1.account": "BA00000000000000000000001", "split.item1.reference": "Your reference for the sale", "split.item1.description": "Your description for the sale", "split.item2.amount": "2000", "split.item2.type": "Commission", "split.item2.reference": "Your reference for your commission", "split.item2.description": "Your description for your commission", "split.item3.type": "PaymentFee", "split.item3.account": "BA00000000000000000000001", "split.item3.reference": "Your reference for the payment fee", "split.item3.description": "Your description for the payment fee", "split.item4.type": "Tip", "split.item4.account": "BA00000000000000000000002", "split.item4.reference": "Your reference for the tip", "split.item4.description": "Your description for the tip" } } -
Encode the JSON object to Base64.
Base64 string
ewogICAidGVuZGVyT3B0aW9uIjogIkFza0dyYXR1aXR5IiwKICAgImFkZGl0aW9uYWxEYXRhIjogewogICAgICAgInNwbGl0LmFwaSI6ICIxIiwKICAgICAgICJzcGxpdC5uck9mSXRlbXMiOiAiNCIsCiAgICAgICAic3BsaXQudG90YWxBbW91bnQiOiAiNjIwMDAiLAogICAgICAgInNwbGl0LmN1cnJlbmN5Q29kZSI6ICJVU0QiLAogICAgICAgInNwbGl0Lml0ZW0xLmFtb3VudCI6ICI2MDAwMCIsCiAgICAgICAic3BsaXQuaXRlbTEudHlwZSI6ICJCYWxhbmNlQWNjb3VudCIsCiAgICAgICAic3BsaXQuaXRlbTEuYWNjb3VudCI6ICJCQTAwMDAwMDAwMDAwMDAwMDAwMDAwMDAxIiwKICAgICAgICJzcGxpdC5pdGVtMS5yZWZlcmVuY2UiOiAiWW91ciByZWZlcmVuY2UgZm9yIHRoZSBzYWxlIiwKICAgICAgICJzcGxpdC5pdGVtMS5kZXNjcmlwdGlvbiI6ICJZb3VyIGRlc2NyaXB0aW9uIGZvciB0aGUgc2FsZSIsCiAgICAgICAic3BsaXQuaXRlbTIuYW1vdW50IjogIjIwMDAiLAogICAgICAgInNwbGl0Lml0ZW0yLnR5cGUiOiAiQ29tbWlzc2lvbiIsCiAgICAgICAic3BsaXQuaXRlbTIucmVmZXJlbmNlIjogIllvdXIgcmVmZXJlbmNlIGZvciB5b3VyIGNvbW1pc3Npb24iLAogICAgICAgInNwbGl0Lml0ZW0yLmRlc2NyaXB0aW9uIjogIllvdXIgZGVzY3JpcHRpb24gZm9yIHlvdXIgY29tbWlzc2lvbiIsCiAgICAgICAic3BsaXQuaXRlbTMudHlwZSI6ICJQYXltZW50RmVlIiwKICAgICAgICJzcGxpdC5pdGVtMy5hY2NvdW50IjogIkJBMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDEiLAogICAgICAgInNwbGl0Lml0ZW0zLnJlZmVyZW5jZSI6ICJZb3VyIHJlZmVyZW5jZSBmb3IgdGhlIHBheW1lbnQgZmVlIiwKICAgICAgICJzcGxpdC5pdGVtMy5kZXNjcmlwdGlvbiI6ICJZb3VyIGRlc2NyaXB0aW9uIGZvciB0aGUgcGF5bWVudCBmZWUiLAogICAgICAgInNwbGl0Lml0ZW00LnR5cGUiOiAiVGlwIiwKICAgICAgICJzcGxpdC5pdGVtNC5hY2NvdW50IjogIkJBMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDIiLAogICAgICAgInNwbGl0Lml0ZW00LnJlZmVyZW5jZSI6ICJZb3VyIHJlZmVyZW5jZSBmb3IgdGhlIHRpcCIsCiAgICAgICAic3BsaXQuaXRlbTQuZGVzY3JpcHRpb24iOiAiWW91ciBkZXNjcmlwdGlvbiBmb3IgdGhlIHRpcCIKICAgfQp9 -
Make a Terminal API payment request, including:
-
The PaymentRequest object with:
Tipping from the terminal with split instructions as key-value pairs
Parameter Required Description SaleData.SaleToAcquirerData
The AskGratuity tender option and the split instructions, provided as a string of concatenated key-value pairs or as a JSON object converted to a Base64-encoded string. PaymentTransaction.AmountsReq.Currency
The transaction currency. PaymentTransaction.AmountsReq.RequestedAmount
The transaction amount. { "SaleToPOIRequest": { "MessageHeader": { "ProtocolVersion": "3.0", "MessageClass": "Service", "MessageCategory": "Payment", "MessageType": "Request", "SaleID": "POSSystemID12345", "ServiceID": "0207111104", "POIID": "V400m-324688179" }, "PaymentRequest": { "SaleData": { "SaleTransactionID": { "TransactionID": "27908", "TimeStamp": "2022-10-28T10:11:04+00:00" }, "SaleToAcquirerData": "tenderOption=AskGratuity&split.api=1&split.nrOfItems=3&split.totalAmount=62000&split.currencyCode=USD&split.item1.amount=60000&split.item1.type=BalanceAccount&split.item1.account=BA00000000000000000000001&split.item1.reference=reference_split_1&split.item1.description=description_split_1&split.item2.amount=2000&split.item2.type=Commission&split.item2.reference=reference_commission&split.item2.description=description_commission&split.item3.type=Tip&split.item3.account=BA00000000000000000000001&split.item3.reference=reference_tip&split.item3.description=description_tip&split.item4.type=PaymentFee&split.item4.account=BA00000000000000000000002&split.item4.reference=reference_fees&split.item4.description=description_fees" }, "PaymentTransaction": { "AmountsReq": { "Currency": "USD", "RequestedAmount": 620.00 } } } } }
-
The PaymentRequest object with:
-
In the PaymentResponse note the following:
-
PaymentResult.AmountsResp:TipAmount: The amount of the tip. If the customer declined adding a tip, this field is not included.AuthorizedAmount: The total amount of the payment (original transaction amount plus tip amount).Currency: The currency of the payment.
-
Response.AdditionalResponse:posadditionalamounts.originalAmountValue: The original transaction amount in minor units.posAmountGratuityValue: The tip amount in minor units.authorisedAmountValue: The total authorised amount in minor units.
{ "SaleToPOIResponse": { "MessageHeader": {...}, "PaymentResponse": { "POIData": {...}, "PaymentReceipt": [...], "PaymentResult": { "AmountsResp": { "AuthorizedAmount": 630, "Currency": "USD", "TipAmount": 10 }, ..., "PaymentInstrumentData": {...} }, "Response": { "AdditionalResponse": "...gratuityAmount=1000&posAmountGratuityValue=1000&posAuthAmountCurrency=USD&posAuthAmountValue=63000&posOriginalAmountValue=62000&posadditionalamounts.gratuityAmount=1000&posadditionalamounts.originalAmountCurrency=USD&posadditionalamounts.originalAmountValue=62000...", "Result": "Success" }, "SaleData": { "SaleTransactionID": {...} } } } } -