Requirements
Before you begin, take into account the following requirements, limitations, and preparations.How it works
- You make a card acquisition request.
- On the terminal, the shopper swipes the card. The only entry method for custom cards is Swipe.
- You receive the card data in the card acquisition response.
- You pass the data from the card acquisition response to the card issuer.
- You send an enable service request to stop the card acquisition flow on the terminal.
Make a card acquisition request
To read the custom card:-
Make a Terminal API card acquisition request, specifying:
-
The standard
SaleToPOIRequest.MessageHeaderobject, withMessageClassset to Service andMessageCategoryset to CardAcquisition.
-
The standard
-
When the card acquisition succeeds, you receive a CardAcquisitionResponse with message=CARD_ACQ_COMPLETED inside
Response.AdditionalResponse. From thePaymentInstrumentData.CardData.SensitiveCardDataobject, save:PAN: The value that uniquely identifies the shopper’s card, for example 88154351166602100.TrackData.TrackNumb: The number on the track on the Magstripe that holds the encoded data. The vaalue can be 1, 2, or 3.TrackData.TrackValue: The raw value of the Magstripe track information, with the Sentinel values.
Complete the card acquisition
The card acquisition loading screen will continue to show until it times out. To free up the terminal to process other transactions, you need to make an enable service request. This stops the loading screen and the terminal discards the card data.-
Make a Terminal API enable service request, specifying:
-
The standard
SaleToPOIRequest.MessageHeaderobject, withMessageClassset to Service andMessageCategoryset to EnableService.
DisplayOutputobject, to end the card acquisition flow with a cancellation. The terminal will show Canceled, a red cross
, and Transaction canceled. You can also choose a custom message on the payment terminal display.
Basic request to cancel the card acquisition data
-
The standard
