Requirements
How it works
-
Your store staff asks the shopper how they prefer to pay:
- Do they want to pay by debit or credit?
- If credit, do they want to make a one-off payment of the total amount or do they want to pay in installments?
- If installments, how many installments?
- Your store staff enters this information into your POS app.
- Your POS app passes this information in the payment request.
- The shopper presents their card to the terminal and completes the payment.
- When the transaction is approved, you receive a response containing installment and receipt data.
Make a payment
The Terminal API payment request needs to contain a flag to indicate a debit or credit card payment. When paying by credit in installments, the request also needs to contain an object to define the installments.-
Make sure that your POS app collects the following information and passes it to the Terminal API payment request:
- Whether the shopper is going to pay by debit or credit.
- If credit: whether the shopper wants to pay in installments.
- If credit installments: how many installments.
-
Make a payment request, specifying:
-
The standard
SaleToPOIRequest.MessageHeaderobject, withMessageClassset to Service andMessageCategoryset to Payment.
-
The standard
-
Add a flag to specify if the shopper wants to pay by debit or credit:
-
TransactionConditions.DebitPreferredFlag:- true: makes a debit card payment.
- false: makes a credit card payment.
-
-
If the shopper is paying by credit card in installments, define the installments by adding:
-
PaymentData: the installment details. This contains:PaymentType: InstalmentInstalment.TotalNbOfPayments: the number of installments. The minimum is 3, the maximum 18.
-
- Debit card payment
- Credit card payment without installments
- Credit card payment with 12 installments
