TransactionInformationReverse

A request to reverse discounts and/or payments made as part of a previous transaction.

object (AccountInfo)

Information related to a given tender user.

object (CheckInfo)

Information about a check associated with a transaction

Array of objects (KeyValue)

A list of reference IDs for discounts that are to be reversed. These discounts have been removed from the check and must be added back to the users account, if applicable.

Array of objects (KeyValue)

A list of reference IDs for payments that are to be reversed. These payments have been removed from the check and the funds used must be added back to the users account, if applicable.

transactionToUpdate
string <guid>

The identifier of an earlier tender transaction. This identifier is provided in the Toast-Transaction-GUID header parameter. The discounts and/or payments to reverse must have been added as part of this transaction. The only transactions that can be reversed are the TENDER_REDEEM and TENDER_GRATUITY transactions.

{
  • "accountInfo": {
    },
  • "transactionToUpdate": "string",
  • "discountsToReverse": [
    ],
  • "paymentsToReverse": [
    ],
  • "checkInfo": {
    }
}