> For the complete documentation index, see [llms.txt](https://docs.maibmerchants.md/mia-qr-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.maibmerchants.md/mia-qr-api/en/endpoints/payment-refund.md).

# 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.
