When a gift card is purchased, you can find the first five and last four digits of the gift card in this object if your API client has the orders.gift_cards:read scope. The last four digits are always shown. The first five digits are shown if:
amount | number <double> The value added to the gift card during this sale. |
first5CardDigits | string The first 5 digits of the gift card that was used. Response only. |
last4CardDigits | string The last 4 digits of the gift card that was used. Response only. |
{- "amount": 0,
- "last4CardDigits": "string",
- "first5CardDigits": "string"
}