Requirements
Before you begin, take into account the following requirements, limitations, and preparations.How it works
- You make a card acquisition request to get the card details with a placeholder value for the
TotalAmount. - The shopper presents their card.
- The terminal informs the shopper to remove their card.
- You process the details from the card acquisition response in your own system.
- You make a payment request with the final
TotalAmountto complete the transaction.
Get the card details
-
Make a card acquisition request, specifying:
-
The standard
SaleToPOIRequest.MessageHeaderobject, withMessageClassset to Service andMessageCategoryset to CardAcquisition.
-
The standard
-
When you receive the CardAcquisitionResponse:
- Check that the
AdditionalResponsecontains amessageof CARD_ACQ_COMPLETED. - From the
POIData.POITransactionIDobject, save theTimeStampand theTransactionID. You need these card acquisition details in your payment request.
- Check that the
Make a payment request
To complete the quick chip transaction, make a payment request with a reference to the card acquisition:-
Make a payment request, specifying:
-
The standard
SaleToPOIRequest.MessageHeaderobject, withMessageClassset to Service andMessageCategoryset to Payment.
TimeStampof 2023-10-18T07:57:49.108Z and aTransactionIDof 8ha5001697615869002. Quick chip Payment request -
The standard
-
In the PaymentResponse note the following:
PaymentInstrumentData.CardData: The same card details that you received in the card acquisition response.Response.AdditionalResponse: Transaction data, including the same details that you received in the card acquisition response. You receive either a string of form-encoded key-value pairs or a Base64 string that you need to decode to get a JSON object.
If theResponse.Resultis Success, the quick chip payment was successful.
