Gift Card Redemption Attributes
| Name | Type | Description |
|---|---|---|
| object | string | Value is “GiftCardRedemption” |
| id | string | A merchant-specified unique identifier. If not specified, this object can be identified by its vid. |
| vid | string | A Globally Unique Identifier (GUID) for this object. Assigned by Subscribe. |
| created | datetime | The date/time the object was created. |
| reversed | datetime | The date/time the gift card redemption was reversed. Shown only if a reversal was performed. |
| gift_card | Gift Cards | The gift card object that holds the gift card details. |
| account | Account | The account associated with the gift card redemption and to which the currency amount will be credited. |
Example Object
{
"object": "GiftCardRedemption",
"vid": "4375c41aeaaae6dac40d629313fed2c3cb820fbf",
"gift_card": {
"object": "GiftCard",
"vid": "8d1ece91e44441c3d424717c561dc8df74c4b5e4",
"last_digits": "9FSE",
"pin_length": 16,
"hash_type": "sha1",
"pin_hash": "b535aae49e30398c710989a79d56306e9ec0f309",
"payment_provider": "Topps",
"status": "Redeemed",
"amount": 500,
"currency": "MXN",
"product_number": "91422282643651081111"
},
"account": {
"object": "Account",
"id": "cust_1234",
"vid": "f147870b2c86a00fb1264fb64c0a8b58fcd95b4d",
"created": "2021-03-09T14:35:02-08:00",
"email": "cbrown@example.com",
"email_type": "html",
"company": "Peanuts",
"name": "Charlie Brown",
"shipping_address": {
"object": "Address",
"vid": "dad524f59d1bd72f10a9162b7d7790caa39678dc",
"name": "Charlie Brown",
"line1": "123 Main Street",
"city": "San Francisco",
"district": "CA",
"postal_code": "94105",
"country": "US",
"phone": "415-555-3212"
},
"credit": {
"object": "Credit",
"currency_amounts": {
"object": "List",
"data": [
{
"object": "CurrencyAmount",
"vid": "4056f2a40c447475fbcc351aa24f9869d64832e4",
"currency": "MXN",
"amount": 500,
"description": "",
"reason": "Topps GiftCard Redemption",
"granted_by_cashbox": false,
"granted": "2021-03-25T18:39:06-07:00",
"source": "Account"
}
],
"total_count": 1
}
}
}

