Gift Cards
List gift cards
Create gift card
Retrieve gift card from GAN
Retrieve gift card from nonce
Link customer to gift card
Unlink customer from gift card
Retrieve gift card
Webhooks
gift_card.created
gift_card.customer_linked
gift_card.customer_unlinked
gift_card.updated
<- Gift Cards API
Gift Cards API
Version
2024-11-20
POST
/v2/gift-cards/{gift_card_id}/link-customer
Links a customer to a gift card, which is also referred to as adding a card on file.
Guide
Manage gift cards on file
Example code
gift_card_id
string
Required
The ID of the gift card to be linked.
customer_id
The ID of the customer to link to the gift card.
errors
Error [ ]
Any errors that occurred during the request.
Show attributes
gift_card
GiftCard
The gift card with the ID of the linked customer listed in the customer_ids field.
customer_ids