- DATE:
- AUTHOR:
- The Toast - API team
Orders API
First 5 and last 4 digits of gift card are now visible in the orders API giftCardSelectionInfo object
DATE:
AUTHOR:
The Toast - API team
When a gift card is purchased, the first five and last four digits of the new gift card identifier are now visible in the orders API response. The gift card identifier is found in the giftCardSelectionInfo
field of the orders API selections
object.
The first five digits are shown if the following criteria is met:
Your API client has the
orders.gift
_cards:read
scope.The gift card identifier is fewer than 15 digits.
The gift card provider encrypts the gift card.
The gift card is scanned using a QR code scanner during the gift card purchase.
For more information about gift cards, see the Gift cards integration overview.
This change is in limited release. This change does not affect all Toast POS locations.