GiftCardSelectionInfo

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:

  • The total number of digits in the gift card number is 15 or more.
  • The gift card provider does not encrypt the gift card.
  • The gift card is not entered by scanning a QR code.
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"
}