Gift Card (Object)
- autoType: boolean
_reload _enabled Whether auto-reload is enabled for a gift card or not
- cardType: string
_background _image URL of the image that is displayed as the gift card background in the app of a business
- cardType: string
_number Unique gift card number as issued by the gift card processor (e.g., Aloha, Vantiv, Valutec, etc.) used by the business
- createdFormat: date-timeenum
_at const:YYYY-MM-DDThh:mm:ssZDate/time when the gift card was created in the system, in ISO 8601 format
- designType: integer
_id Identification of a particular gift card design selected by the user while purchasing a gift card
- epinType: string
Security PIN associated with a gift card. A "null" value indicates that no epin is associated with the gift card.
- gcType: numberFormat: float
_user _auto _reload _default _amount Default amount with which a gift card would be auto-reloaded
- gcType: string
_user _auto _reload _preferred _payment UUID of the preferred payment card, which is used for making payments when auto-reloading the gift card
- gcType: numberFormat: float
_user _auto _reload _threshold _amount Threshold amount below which a gift card becomes eligible for auto-reload
- giftType: integer
_card _id Unique ID assigned to each gift card by the Punchh system. This ID will be passed in the push notification payload to app clients in the key
gc. By mapping this, the app client can fetch the updated balance of a particular gift card. - lastType: numberFormat: float
_fetched _amount The balance amount of a gift card last fetched from the gift card processor
- lastFormat: date-timeenum
_fetched _at const:YYYY-MM-DDThh:mm:ssZThe last time the balance amount of a gift card was fetched from the gift card processor. This indicates when it was cached.
- name
Name of the card that has been assigned by the user. In case of purchase of a gift card from an app, users cannot add a name to the card. A "null" value indicates that a name has not been added to the card. A name can be added later using the Update Gift Cards API.
- preferredType: boolean
A "true" value for a gift card indicates that a user has selected it to be the preferred gift card for payment.
- statusType: string
The status of a gift card. The only value exposed to a gift card in the app is "active". Other statuses are maintained for internal tracking.
- updatedFormat: date-timeenum
_at const:YYYY-MM-DDThh:mm:ssZDate/time when the gift card was updated in the system, in ISO 8601 format
- usbType: string
_scannable _card _number Easily scannable form of a gift card's number by adding ~ and ^ as prefix and suffix, respectively, to the gift card number. This is done to avoid issues at certain POS systems while scanning the QR code.
- usersType:Properties: 46
Includes details about the users who are registered on a particular business
- uuidType: string
Unique ID of the gift card issued by and maintained in the Punchh system
