For the complete documentation index, see llms.txt. This page is also available as Markdown.

Tip Integration

This page contains the requirements for integrating the tip enhancements. Please implement below items in your application.

To enable tipping directly on the device, you can add this functionality to your application by following the development steps outlined below.

1. Flow

A tip selection flow has been added after selecting the credit card in the sales flow.

2. Bank App Protocol

On the protocol side, the tipAmount fields have been added to the sales request and sales response. Details regarding these fields are provided below.

2.1 Sale

The tipAmount field has been added to the intent sent to the Bank App in the sales request. It is included in the example below.

NOTE: The amount field includes the tip amount and is transmitted as a single value. Additionally, the tip amount is transmitted in the tipAmount field.

NOTE: In transactions where a tip entry is provided, if the selected bank does not support tip processing, the amount field will still include the tip amount and be sent to the bank as the total of base amount + tip amount. However, the VAT (KDV) rate applied on the receipt will be calculated and displayed based on the product’s predefined VAT rate, with the tip amount treated as part of the product amount rather than a separate component.

2.1.1 Sale Response

The tipAmount field has been added to the sales response we use. It is included in the example.

NOTE: The amount value shall include both the transaction amount and the tip amount. Additionally, the tip amount shall be transmitted separately via the tipAmount field.

2.2 Parameter

Add TipAllowed into Allowed Operations as Parameter Action Response Data if Tip Allowed supported.

Allowed Operations

Allowed Operations will be added with the "AllowedOperations" tag. The allowed transaction types will be provided as a JSON object. It will indicate whether tip entry is allowed on the terminal. "TipAllowed" will be set to “1” if tip entry is supported, and “0” if it is not supported.

Allowed Operations Bundle Example

3 Example Videos

3.1 Sale Flow

There are two examples in the attached video. In the first example, a 10% tip is selected for a 500 TL sale. In the second example, a 20 TL tip is entered for a 250 TL sale.

Open

Last updated