Skip to main content
With an undo request, you can reverse a gift card transaction that loaded funds to a gift card. The amount loaded is taken off the gift card balance. However, you can only undo the most recent load transaction and this transaction must be from the past 24 hours. You identify the transaction you want to undo by its transaction identifier. You cannot use an undo request to cancel a gift card payment or to make a refund to a gift card.
See Cancel a payment and Make a refund to a gift card.

Requirements

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

Undo a transaction

To undo the most recent load transaction made in the past 24 hours on a gift card:
  1. Get the POITransactionID.TimeStamp and POITransactionID.TransactionID of the original
    transaction.
  2. Make a Terminal API stored value request, specifying:
    • The standard SaleToPOIRequest.MessageHeader object, with MessageClass set to Service and MessageCategory set to StoredValue.

    JSON

    Java

  3. In the StoredValueResponse, check the following:
    • StoredValueTransactionType: Reverse and Response.Result: Success indicate the loaded funds were reversed.
    • In the StoredValueResult object, StoredValueAccountStatus indicates the CurrentBalance remaining on the card after undoing a load request.
    • POIData.POITransactionID.TransactionID: This is Transaction identifier for the undo request.
    • Response.AdditionalResponse: additional transaction data. Depending on the format you used in the request, 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.

See also