Requirements
Before you begin, take into account the following requirements and preparations.How it works
- From your POS app, you send an API request to make a payment.
-
The request is routed to the payment terminal or mobile device.
- A screen appears that prompts the customer to present their means of payment. The customer can tap, insert, or swipe a credit or debit card, or use an NFC digital wallet like Apple Pay. If needed, the customer enters their PIN or signature.
- A waiting screen is shown while we try to get the payment authorized.
- After the authorization attempt, a screen appears that shows if the payment was approved or declined.
Note that the position of screen elements can differ by payment terminal model (or other hardware as used in a Mobile solution). This applies, for example, to the icon that indicates the location of the contactless reader. -
You check the API response. Note that if you use asynchronous cloud communications with payment terminals, you receive the API response in an event notification.
If you did not receive a response or if the payment failed, you take troubleshooting steps.
Make a payment request
To initiate the payment:-
Make a Terminal API payment request, specifying:
-
The standard
SaleToPOIRequest.MessageHeaderobject, withMessageClassset to Service andMessageCategoryset to Payment.
JSON
Java
-
The standard
-
In the PaymentResponse, note the following:
- Payment approved
- Payment declined
The following example indicates that the payment was successful. The transaction identifier for this payment is BV0q001769085761003.ZGQVNH6ZT8DJFRV5:Successful payment response
