Important: no confirmation is prompted on the device. When this instruction is sent, the transaction will be reversed.
Request
POST: https://ip-10-0-1-196.devices.kineticsmart.com:44443/api/v1/reversal.json
Request body
Must include the unique identifier (uuid) for the transaction transaction to be reversed sent as reference_uuid. You can also specify a uuid for the new reversal transaction too.
{"reference_uuid":"0600ee0b-69df-4b77-cbb5-8a20962a75ab"}
Response
{"success":true,"uuid":"e672209a-7fcb-48d4-c8d6-545efed5e5c7"}
This indicates that the reversal transaction is now in process on the device. Note that the uuid returned is the new uuid created for the reversal transaction that references the uuid in the original request.
When a transaction has been initiated, use GET transaction.json to follow the progress and retrieve the result of a transaction when it is completed.