# 1.21 Get Refund By Id

**Request**

| Method | URL                      |
| ------ | ------------------------ |
| GET    | /payment/v1/refunds/{id} |

\
**Response**

| Status | Response                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| 200    | <p><br></p><p>{</p><p>    "data": {</p><p>        "id": 3355,</p><p>        "conversationId": null,</p><p>        "createdDate": "2024-01-03 14:24:51.343525+00",</p><p>        "status": "NOT\_REFUNDED",</p><p>        "isAfterSettlement": false,</p><p>        "refundPrice": 100.0,</p><p>        "refundBankPrice": 100.0,</p><p>        "refundWalletPrice": 100.0,</p><p>        "refundType": "REFUND",</p><p>        "refundDestinationType": "WALLET",</p><p>        "authCode": "",</p><p>        "hostReference": "",</p><p>        "transId": "",</p><p>        "currency": "TRY",</p><p>        "paymentId": 2732,</p><p>        "paymentTransactionRefunds": null</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.21-get-refund-by-id.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.
