Information about a gift card transaction from the gift card provider. The Toast platform uses this information to complete guests' gift card transactions.
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.
All GiftCardTransactionResponse objects must include a
transactionStatus value.
The GiftCardTransactionResponse object includes the following
additional values for specific transaction types:
GIFTCARD_ACTIVATE - includes an activateResponse value.GIFTCARD_ADD_VALUE - includes an addValueResponse value.GIFTCARD_GET_BALANCE - includes a getBalanceResponse value.GIFTCARD_REDEEM - includes a redeemResponse value.GIFTCARD_REVERSE - includes a reverseResponse value.For
example, the response object for a GIFTCARD_ACTIVATE transaction
includes an activateResponse value.
object (TransactionResponseActivate) Information about a gift card transaction from the gift card service provider for activating a new gift card. The Toast POS system uses this information to complete guests' gift card transactions. | |
object (TransactionResponseAddValue) Information about a gift card transaction from the gift card service provider for add value transactions. The Toast platform uses this information to complete guests' gift card transactions. | |
object (TransactionResponseGetBalance) Information about a gift card transaction from the gift card service provider for get balance transactions. The Toast POS system uses this information to complete guests' gift card transactions. | |
object (TransactionResponseRedeem) Information about a gift card transaction from the gift card service provider that reduces the balance of funds available from the card. For example, when the gift card is used for a purchase. The Toast platform uses this information to complete guests' gift card transactions. | |
object (TransactionResponseReverse) Information about a gift card transaction from the gift card service provider that undoes a previous gift card transaction. The Toast platform uses this information to complete guests' gift card transactions. | |
| transactionStatus | string Indicates the result of a gift card transaction, reported by the gift card service provider. Possible values are:
|
{- "transactionStatus": "ACCEPT",
- "activateResponse": {
- "currentBalance": 0
}, - "addValueResponse": {
- "currentBalance": 0
}, - "getBalanceResponse": {
- "currentBalance": 0
}, - "redeemResponse": {
- "currentBalance": 0,
- "redeemedValue": 0
}, - "reverseResponse": {
- "currentBalance": 0
}
}