Requirements
Before you begin, take into account the following requirements, limitations, and preparations.Make a load request
To load funds to 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:
StoredValueResult.StoredValueTransactionType: Load andResponse.Result: Success indicate that funds were loaded.- In the
StoredValueResultobject,ItemAmountandCurrencyindicate the total value and the currency associated with the gift card. POIData.POITransactionID.TransactionID: This is the Transaction identifier for the funds being loaded to the gift card.
