Skip to main content
This page describes how to make a basic Terminal API payment request. As mentioned in the requirements, there are various integration design aspects that you must have decided on and implemented first. These aspects are described on other pages. Also note that you need to have a boarded test payment terminal or a mobile device for testing.

Requirements

Before you begin, take into account the following requirements and preparations.

How it works

  1. From your POS app, you send an API request to make a payment.
  2. The request is routed to the payment terminal or mobile device.
    1. 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.
    2. A waiting screen is shown while we try to get the payment authorized.
    3. After the authorization attempt, a screen appears that shows if the payment was approved or declined.
    The following example screens show the payment flow.
    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.
  3. 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:
  1. Make a Terminal API payment request, specifying:
    • The standard SaleToPOIRequest.MessageHeader object, with MessageClass set to Service and MessageCategory set to Payment.
    Payment request of USD 10.99

    JSON

    Java

  2. In the PaymentResponse, note the following:
The following example indicates that the payment was successful. The transaction identifier for this payment is BV0q001769085761003.ZGQVNH6ZT8DJFRV5:Successful payment response