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
- no additional fieldsTENDER_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 (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 (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 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": "string"
}
}, - "searchResponse": {
- "searchResults": [
- {
- "tenderIdentifier": "string",
- "properties": {
- "key": "string",
- "value": "string",
- "tenderPropertyType": "FOLIO",
- "maxLength": "string"
}
}
]
}, - "discountsResponse": {
- "account": {
- "tenderIdentifier": "string",
- "properties": {
- "key": "string",
- "value": "string",
- "tenderPropertyType": "FOLIO",
- "maxLength": "string"
}
}, - "tenderDiscounts": [
- {
- "name": "string",
- "identifier": "string",
- "amount": 0,
- "selectionGuid": "string",
- "appliedDiscountGuid": "string"
}
]
}, - "paymentsResponse": {
- "account": {
- "tenderIdentifier": "string",
- "properties": {
- "key": "string",
- "value": "string",
- "tenderPropertyType": "FOLIO",
- "maxLength": "string"
}
}, - "tenderPayments": [
- {
- "name": "string",
- "identifier": "string",
- "type": "CREDIT",
- "amount": 0,
- "tipAmount": 0,
- "paymentGuid": "string"
}
]
}, - "gratuityResponse": {
- "account": {
- "tenderIdentifier": "string",
- "properties": {
- "key": "string",
- "value": "string",
- "tenderPropertyType": "FOLIO",
- "maxLength": "string"
}
}, - "tenderPayments": [
- {
- "name": "string",
- "identifier": "string",
- "type": "CREDIT",
- "amount": 0,
- "tipAmount": 0,
- "paymentGuid": "string"
}
]
}
}