# 1.20 Refund Payment

**Request**

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

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

```

**Response**

| Status | Response                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| 200    | <p><br></p><p>  </p><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><p><br><br></p> |
| 403    | <p><br></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| 400    | <p><br></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| 400    | <p><br></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| 401    | <p><br></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| 401    | <p><br></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| 500    | <p><br></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://hilals-organization.gitbook.io/magicpay-documentation/1.payments-and-wallet/1.20-refund-payment.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
