> 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-transaction.md).

# Refund Payment Transaction

## 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>{</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> |
| 403    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| 400    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| 400    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| 401    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| 401    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| 500    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |

[<br>](https://hilals-organization.gitbook.io/magicpay-documentation/1.payments-and-wallet/1.22-get-refund-transaction-by-id)
