Skip to main content
When a new gift card is issued to a shopper, the shopper cannot immediately use the card. You need to activate the gift card before the shopper can use the card for payments. While activating the gift card, you can also load an initial balance. Gift card activation is also a fraud protection tool. If the card is not active, the shopper cannot redeem it.

Requirements

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

Make an activation request

To activate a gift card:
  1. 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.
  2. Make a Terminal API stored value request, specifying:
    • The standard SaleToPOIRequest.MessageHeader object, with MessageClass set to Service and MessageCategory set to StoredValue.
    The example below shows how to activate a scanned gift card, adding an initial balance of GBP 10.00.

    JSON

    Java

  3. In the StoredValueResponse, check the following:
    • POIData.POITransactionID.TransactionID: The transaction identifier for the gift card activation.
    • StoredValueResult:
      • StoredValueTransactionType: Activate
      • ItemAmount and Currency: The current value and currency associated with the card.
    • Response.Result: Success. This indicates that the activation (StoredValueTransactionType: Activate) succeeded.
    The example below indicates that the gift card was successfully activated, and an initial balance of GBP 10.00 was loaded to the card.

See also