Information about a tender transaction from the tender provider. The Toast POS system uses this information to complete guests' tender transactions.
The set of information in this object depends on the tender
transaction type. The transaction type is specified in the
Toast-Transaction-Type header parameter for the request.
All TenderTransactionResponse objects must include a
transactionStatus value.
The TenderTransactionResponse object includes the following values
for specific transaction types:
TENDER_RETRIEVE_DISCOUNTS - includes a discountsResponse value.TENDER_RETRIEVE_PAYMENTS - includes a paymentsResponse value.TENDER_REDEEM - optionally includes a redeemResponse value.TENDER_GRATUITY - includes a gratuityResponse value.TENDER_REVERSE - no additional fields.TENDER_SEARCH_CONFIG - includes a searchConfigResponse value.TENDER_SEARCH - includes an searchResponse value.object (TransactionResponseDiscounts) A list of discounts that apply to the given check with the given account identifier. | |
object Additional details about an error displayed to the POS operator, supplied by the provider along with specific error statuses. | |
object (TransactionResponseGratuity) Response to a request to update the gratuity amount on an already tendered payment. | |
object (TransactionResponsePayments) A list of discounts that apply to the given check with the given account identifier. | |
object (TransactionResponseRedeem) Response to a request to redeem previously retrieved discounts and payments. This value is optional. Include it to report the account that the discounts and payments were redeemed against, for example when the tender provider resolved the request to a different account than the one in the request. | |
object (TransactionResponseSearchConfig) A list of search terms supported by the tender provider. This will populate the list of search terms displayed by the Toast POS system when a search is requested. | |
object (TransactionResponseSearch) A list of accounts matching the search terms submitted as part of a search request. | |
| transactionStatus | string (TenderTransactionStatus) Indicates the result of a tender transaction, reported by the tender service provider. This property must be present on all responses. Possible values are:
|
{- "transactionStatus": "ACCEPT",
- "searchConfigResponse": {
- "searchTermNames": [
- {
- "key": "string",
- "value": "string",
- "tenderPropertyType": "FOLIO",
- "maxLength": 0
}
]
}, - "searchResponse": {
- "searchResults": [
- {
- "tenderIdentifier": "string",
- "properties": [
- {
- "key": "string",
- "value": "string",
- "tenderPropertyType": "FOLIO",
- "maxLength": 0
}
], - "additionalProperties": [
- {
- "key": "string",
- "value": "string",
- "tenderPropertyType": "FOLIO",
- "maxLength": 0
}
], - "expansionSearchCriteria": [
- {
- "key": "string",
- "value": "string",
- "tenderPropertyType": "FOLIO",
- "maxLength": 0
}
], - "tenderCoupons": [
- {
- "name": "string",
- "identifier": "string",
- "status": "AVAILABLE",
- "value": 0,
- "consumedTime": "2019-08-24T14:15:22Z",
- "info": "string"
}
]
}
], - "maxCouponsApplicable": 0
}, - "discountsResponse": {
- "account": {
- "tenderIdentifier": "string",
- "properties": [
- {
- "key": "string",
- "value": "string",
- "tenderPropertyType": "FOLIO",
- "maxLength": 0
}
], - "additionalProperties": [
- {
- "key": "string",
- "value": "string",
- "tenderPropertyType": "FOLIO",
- "maxLength": 0
}
], - "expansionSearchCriteria": [
- {
- "key": "string",
- "value": "string",
- "tenderPropertyType": "FOLIO",
- "maxLength": 0
}
], - "tenderCoupons": [
- {
- "name": "string",
- "identifier": "string",
- "status": "AVAILABLE",
- "value": 0,
- "consumedTime": "2019-08-24T14:15:22Z",
- "info": "string"
}
]
}, - "tenderDiscounts": [
- {
- "name": "string",
- "identifier": "string",
- "amount": 0,
- "selectionGuid": "24431766-9610-435b-9499-e1558de4f38e",
- "appliedDiscountGuid": "76a94cc4-13c6-4b1d-a46c-476879149120"
}
]
}, - "paymentsResponse": {
- "account": {
- "tenderIdentifier": "string",
- "properties": [
- {
- "key": "string",
- "value": "string",
- "tenderPropertyType": "FOLIO",
- "maxLength": 0
}
], - "additionalProperties": [
- {
- "key": "string",
- "value": "string",
- "tenderPropertyType": "FOLIO",
- "maxLength": 0
}
], - "expansionSearchCriteria": [
- {
- "key": "string",
- "value": "string",
- "tenderPropertyType": "FOLIO",
- "maxLength": 0
}
], - "tenderCoupons": [
- {
- "name": "string",
- "identifier": "string",
- "status": "AVAILABLE",
- "value": 0,
- "consumedTime": "2019-08-24T14:15:22Z",
- "info": "string"
}
]
}, - "tenderPayments": [
- {
- "name": "string",
- "identifier": "string",
- "type": "CREDIT",
- "amount": 0,
- "tipAmount": 0,
- "paymentGuid": "5036d706-598e-4af3-b252-a310580ddeb5"
}
]
}, - "gratuityResponse": {
- "account": {
- "tenderIdentifier": "string",
- "properties": [
- {
- "key": "string",
- "value": "string",
- "tenderPropertyType": "FOLIO",
- "maxLength": 0
}
], - "additionalProperties": [
- {
- "key": "string",
- "value": "string",
- "tenderPropertyType": "FOLIO",
- "maxLength": 0
}
], - "expansionSearchCriteria": [
- {
- "key": "string",
- "value": "string",
- "tenderPropertyType": "FOLIO",
- "maxLength": 0
}
], - "tenderCoupons": [
- {
- "name": "string",
- "identifier": "string",
- "status": "AVAILABLE",
- "value": 0,
- "consumedTime": "2019-08-24T14:15:22Z",
- "info": "string"
}
]
}, - "tenderPayments": [
- {
- "name": "string",
- "identifier": "string",
- "type": "CREDIT",
- "amount": 0,
- "tipAmount": 0,
- "paymentGuid": "5036d706-598e-4af3-b252-a310580ddeb5"
}
]
}, - "redeemResponse": {
- "account": {
- "tenderIdentifier": "string",
- "properties": [
- {
- "key": "string",
- "value": "string",
- "tenderPropertyType": "FOLIO",
- "maxLength": 0
}
], - "additionalProperties": [
- {
- "key": "string",
- "value": "string",
- "tenderPropertyType": "FOLIO",
- "maxLength": 0
}
], - "expansionSearchCriteria": [
- {
- "key": "string",
- "value": "string",
- "tenderPropertyType": "FOLIO",
- "maxLength": 0
}
], - "tenderCoupons": [
- {
- "name": "string",
- "identifier": "string",
- "status": "AVAILABLE",
- "value": 0,
- "consumedTime": "2019-08-24T14:15:22Z",
- "info": "string"
}
]
}
}, - "errorDetails": {
- "property1": "string",
- "property2": "string"
}
}