In this section: Gift cards

Gift cards

The gift cards in a member's wallet, and adding, updating, or removing one.

add_gift_card

Save a gift card to the member's wallet. Requires wallet-change access.

ScopeQuota
miles:writestandard
NameTypeRequired
merchantstringrequired
amountnumber
expirationstring
card_number_last4string
notesstring

get_gift_cards

The wallet's stored gift cards: merchant, balance, and expiration only.

ScopeQuota
miles:readstandard

No parameters.

remove_gift_card

Delete a gift card from the wallet -- a spent card, or one saved by mistake. Requires wallet-change access.

ScopeQuota
miles:writestandard
NameTypeRequired
lookup_merchantstring
card_idstring

update_gift_card

Change a gift card already in the wallet -- most often its balance after the member spends some of it. Requires wallet-change access.

ScopeQuota
miles:writestandard
NameTypeRequired
lookup_merchantstring
card_idstring
merchantstring
amountnumber
expirationstring
card_number_last4string
notesstring