> For the complete documentation index, see [llms.txt](https://magicpay.gitbook.io/magicpay-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://magicpay.gitbook.io/magicpay-documentation/payments-and-wallet/refund-payment.md).

# Refund Payment

## 1.20 Refund Payment

Initiate refund payments with detailed parameters

**Request**

| Method | URL                 |
| ------ | ------------------- |
| POST   | /payment/v1/refunds |

```
{
    "paymentId": 3355,
    "conversationId":"1235",
    "refundDestinationType":"PROVIDER"
}
```

**Response**

| Status | Response                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 200    | <p>{</p><p>"data": {</p><p>"id": 3355,</p><p>"conversationId": "1235",</p><p>"createdDate": "2024-02-05 08:44:44.310871+00",</p><p>"status": "SUCCESS",</p><p>"refundPrice": 0,</p><p>"refundBankPrice": 0,</p><p>"refundWalletPrice": 0,</p><p>"refundType": "REFUND",</p><p>"refundDestinationType": "PROVIDER",</p><p>"authCode": "",</p><p>"hostReference": "",</p><p>"transId": "",</p><p>"currency": "TRY",</p><p>"paymentId": 3355,</p><p>"paymentTransactionRefunds": \[]</p><p>}</p><p>}</p> |
| 403    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| 400    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| 400    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| 401    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| 401    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| 500    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |

[<br>](https://hilals-organization.gitbook.io/magicpay-documentation/1.payments-and-wallet/1.19-reset-merchant-wallet-balance)
