# Payment Refund

The refund functionality allows merchants to return the amount paid by the customer via a QR code. Refunds are only available for payments that have been successfully processed.

**Refund Types**

* **Full Refund**\
  The entire amount paid by the customer is returned.
* **Partial Refund**\
  A partial amount paid by the customer is returned.

**Technical Considerations**

* Refunds are only available for transactions that were successfully completed.
* Refunds can only be initiated by the merchant, either via API or through the dedicated banking platform.
* A reason for the refund must be specified.
* Refunds can be tracked through the transaction status returned in the API response.

> **Important**: Refunds are irreversible. Once processed, the amount is automatically returned to the customer's account, in accordance with the issuing bank's policies.


---

# 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://docs.maibmerchants.md/mia-qr-api/en/endpoints/payment-refund.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.
