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
2023-05-17
POST
/v2/gift-cards/from-nonce
Retrieves a gift card using a secure payment token that represents the gift card.
Example code
nonce
string
Required
The payment token of the gift card to retrieve. Payment tokens are generated by the Web Payments SDK or In-App Payments SDK.
errors
Error [ ]
Any errors that occurred during the request.
gift_card
GiftCard
The retrieved gift card.
400
Bad request
CARD_TOKEN_USED
The provided card token (nonce) was already used to process the payment or refund.