# 1.23 Refund Payment Transaction

**Request**

| Method | URL                             |
| ------ | ------------------------------- |
| POST   | /payment/v1/refund-transactions |

```
{
    "paymentTransactionId": 3355,
    "conversationId": "abc123",
    "refundPrice": 25,
    "refundDestinationType": "PROVIDER",
    "chargeFromMe": true
}

```

**Response**

| Status | Response                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| 200    | <p><br></p><p>  {</p><p>    "data": {</p><p>        "id": 3355,</p><p>        "conversationId": "abc123",</p><p>        "createdDate": "2024-01-03 14:24:51.343525+00",</p><p>        "status": "FAIL",</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": "PROVIDER",</p><p>        "authCode": "",</p><p>        "hostReference": "",</p><p>        "transId": "",</p><p>        "currency": "TRY",</p><p>        "paymentTransactionId": 3355,</p><p>        "paymentId": 2732</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.23-refund-payment-transaction.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.
