Information about a gift card transaction in the Toast
platform. Gift card providers are expected to handle that
transaction.
The set of information in this object depends on the gift card
transaction type. The transaction type is specified in the
Toast-Transaction-Type header parameter for the request.
The GiftCardTransaction object includes the following values
for specific transaction types:
GIFTCARD_ACTIVATE - includes an activateTransactionInformation value.GIFTCARD_ADD_VALUE - includes an addValueTransactionInformation value.GIFTCARD_GET_BALANCE - includes a getBalanceTransactionInformation value.GIFTCARD_REDEEM - includes a redeemTransactionInformation value.GIFTCARD_REVERSE - includes a reverseTransactionInformation value.object (TransactionInformationActivate) Information about a gift card transaction in the Toast | |
object (TransactionInformationAddValue) Information about a gift card transaction in the Toast POS system that adds to the funds that are available on the card. Gift card providers are expected to handle the transaction. | |
object (TransactionInformationGetBalance) Information about a gift card transaction in the Toast | |
object (TransactionInformationRedeem) Information about a gift card transaction in the Toast | |
object (TransactionInformationReverse) Information about a gift card transaction in the Toast |
{- "activateTransactionInformation": {
- "giftCardIdentifier": "string",
- "identifierSource": "KEYED",
- "verificationCode": {
- "value": "string",
- "source": "KEYED"
}, - "initialBalance": 0,
- "checkIdentifier": "string"
}, - "addValueTransactionInformation": {
- "giftCardIdentifier": "string",
- "identifierSource": "KEYED",
- "verificationCode": {
- "value": "string",
- "source": "KEYED"
}, - "additionalValue": 0,
- "checkIdentifier": "string"
}, - "getBalanceTransactionInformation": {
- "giftCardIdentifier": "string",
- "identifierSource": "KEYED",
- "verificationCode": {
- "value": "string",
- "source": "KEYED"
}
}, - "redeemTransactionInformation": {
- "giftCardIdentifier": "string",
- "identifierSource": "KEYED",
- "verificationCode": {
- "value": "string",
- "source": "KEYED"
}, - "redeemedValue": 0,
- "checkIdentifier": "string",
- "isCashOut": true,
- "relatedTransaction": "string"
}, - "reverseTransactionInformation": {
- "previousTransaction": "string",
- "giftCardIdentifier": "string",
- "identifierSource": "KEYED",
- "verificationCode": {
- "value": "string",
- "source": "KEYED"
}
}
}