| Time | Status | User Agent |  |
| :-- | :-- | :-- | :-- |
| Make a request to see history. |

#### URL Expired

The URL for this request expired after 30 days.

**account_id**  
string  
required  
ID of the Account

**line_item_id**  
string  
required  
Line Item ID of the original payment to be reversed

Body of request to create payment reversal.

**external_fields**  
array,null | object,null

**Preview**  
boolean  
Flag to decide if this is a preview  
true | true | false

```
200
Payment reversal successfully applied.
```

```
303
See Other.
```

```
401
Unauthorized.
```

```
403
Forbidden.
```

```
409
Entity has an unexpected state. Please Contact Canopy Support.
```

```
422
Invalid input
```

```
429
Too many requests.
```

```
default
Unexpected Error.
```

**Updated about 1 year ago**

---

**ShellNodeRubyPHPPython**

**Bearer**

**Base URL**  
https://Contact sales to enable your sandbox/accounts/{account_id}/line_items/payment_reversals/{line_item_id}

```
xxxxxxxxxx

curl --request POST \

--url https://contact/%20sales%20to%20enable%20your%20sandbox/accounts//line_items/payment_reversals/ \

--header 'accept: application/json' \

--header 'content-type: application/json'
```

Click `Try It!` to start a request and see the response here! Or choose an example:

**application/json**

```
303
Updated about 1 year ago
```

---

**Did this page help you?**

Yes

No
