The Gift Card Transactions API retrieves the transaction history for a specific gift card. Every change to a gift card's balance creates a transaction record, providing a complete audit trail of all gift card activity.
Use this API alongside the Gift Cards API for comprehensive gift card management.
With the Gift Card Transactions API, you can:
Before you start coding, note the following:
Each transaction has a type that indicates the reason for the balance change:
REDEEM: The gift card is used to pay for a purchase. This subtracts from the balance.VOID: A previous redemption is canceled, restoring the gift card balance.INITIAL: The initial value is assigned when the gift card is created.PAYMENT_METHOD_REFUND: A refund is processed, adding value back to the gift card.MANUAL: A manual adjustment was made.ADD) or subtracts value (SUBTRACT) from the gift card balance.