OptionaldefaultLocationId: stringCreate a gift card activity.
Idempotency keys are required by Square — auto-generated when omitted. Always pass a stable key for retries to avoid double-applying activities (a duplicate REDEEM would double-deduct the card).
List gift card activities, optionally filtered by card, type, location, or time range.
Optionaloptions: ListGiftCardActivitiesOptions
Service for managing gift card activities (the Gift Card Activities API).
Activities mutate a card's balance and lifecycle state —
ACTIVATEputs an initial balance on aPENDINGcard,LOADtops it up,REDEEMdeducts at checkout,DEACTIVATEretires the card.Accessed via
square.giftCards.activities.Example