Revert a transaction

Learn how to revert an asset transfer.

After doing an asset transfer, it is possible that you've changed your mind or there was a mistake. In that case, you can revert an asset transfer, which means that the amounts that have been sent from a user to another will be refunded by creating a new transaction.



You need your API key to perform the actions on this page.
You also need the Tracker Admin Role.

Revert a transaction

Revert a transaction by performing a standard POST call with your API key in the header and the transaction ID as a parameter. Your API key must be valid for this to work. If you don't have an API key, follow this short tutorial to get one.

Let's try it out!

curl -X POST \{{PRODUCT_ID}}/transactions/{{TRANSACTION_ID}}/reverse \
  -H 'Accept: text/plain, application/json, text/json' \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: {{API_KEY}}'


Only transfer are revertible

You can only revert transfers. Issues are not reversible.

Replace the following parameters:

{{PRODUCT_ID}}: Your Product id
{{TRANSACTION_ID}}: The ID of the transaction you want to revert
{{API_KEY}}: Your API key



You've just reverted a transaction in Tracker!