Getgiftcardbypasssid
Gift Cards
Getgiftcardbypasssid
Get Gift Card Info by Pass SID
Returns lightweight gift card information for the pass linked to the given passSid.
This endpoint is used by the public pass page to determine if a pass is linked to a
gift card and what state the card is in, so the appropriate UI screen can be shown.
No customer session is required — only HMAC authentication from the ambassador.
Path Parameters:
passSid: The SID of the wallet pass
Returns:
id: Gift card MongoDB ObjectIdprogramId: The gift card program ID (required to call activate endpoint)status: Current card status (pending / active / expired / etc.)lastFourDigits: Last 4 digits of the card numberinitialValue: Face value of the cardbalance: Current balanceexpiresAt: Card expiry datetimemerchantName: Name of the issuing merchant
Status Codes:
- 200: Gift card found
- 404: No gift card linked to this pass SID
GET
Getgiftcardbypasssid
