Requirements
Before you begin, take into account the following requirements, limitations, and preparations.Make an activation request
To activate a gift card:-
Determine the card entry method:
- If you want to scan the card, do that first and use the obtained card details in your request.
- If you want to swipe the card or use manual keyed entry (MKE), send the request first. The payment terminal will show a prompt to swipe the card or enter the card details.
-
Make a Terminal API stored value request, specifying:
-
The standard
SaleToPOIRequest.MessageHeaderobject, withMessageClassset to Service andMessageCategoryset to StoredValue.
JSON
Java
-
The standard
-
In the StoredValueResponse, check the following:
-
POIData.POITransactionID.TransactionID: The transaction identifier for the gift card activation. -
StoredValueResult:-
StoredValueTransactionType: Activate -
ItemAmountandCurrency: The current value and currency associated with the card.
-
-
Response.Result: Success. This indicates that the activation (StoredValueTransactionType: Activate) succeeded.
-
