# Reverse Transactions

This addon allows you to reverse a transaction that has already been completed, either automatically or manually. This can be useful if there was an error in the original transaction, or if the transaction needs to be canceled or refunded.

{% hint style="info" %}
Must have the authorization to use this API
{% endhint %}

## Reverse transaction

<mark style="color:green;">`POST`</mark> `{{baseUrl}}/wp-json/rimplenet-wallet-addon/v1/reverse-transaction`

#### Query Parameters

| Name                                              | Type   | Description           |
| ------------------------------------------------- | ------ | --------------------- |
| transaction\_id<mark style="color:red;">\*</mark> | String | 469                   |
| user\_id<mark style="color:red;">\*</mark>        | String | <p>163</p><p><br></p> |

#### Request Body

| Name                                              | Type   | Description |
| ------------------------------------------------- | ------ | ----------- |
| transaction\_id<mark style="color:red;">\*</mark> | String |             |

{% hint style="info" %}
To view request params, click on the arrow (>) at the right-hand side of the endpoint URL to expand or collapse
{% endhint %}
