> ## Documentation Index
> Fetch the complete documentation index at: https://developer.tazapay.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Refund

> Error codes for PUT /v3/refund/{id}

### PUT v3/refund/\{id}

| Code  | Message                                                                            | HTTP Status |
| ----- | ---------------------------------------------------------------------------------- | ----------- |
| 30050 | Invalid refund\_id, should have prefix 'rfd\_' and should be followed by valid xid | 400         |
| 30160 | Field metadata is required, please provide a valid metadata                        | 400         |
| 30161 | Cannot update a refund object which was cancelled already                          | 409         |
