﻿# Refund

After the user successfully pays, the merchant can initiate a refund through the [Refund Application API](https://docs.payermax.com/api.html?docName=New%20Version&docVer=v1.0&docLang=cn#/paths/aggregate-pay-api-gateway-refund/post) or through the [Merchant Platform](https://docs.payermax.comen/202506-version/mmc/refund-service.html). After PayerMax successfully accepts the request, it will initiate a refund request to the bank or institution, and synchronize the merchant's refund status through the [callback notification](https://docs.payermax.com/en/202606-version/receipt/refund/refund-doc.md#_5-Refund Result Notification). The time limit for the refund to arrive depends on the processing time limit of the bank or institution.

### 1. Conditions For Refund Acceptance

(1) To check whether the payment method supports full or partial refund, please refer: [【Payment Method List】](https://docs.payermax.com/en/202606-version/receipt/cashier/payment-method/southeast-asia.md);

(2) Most payment methods support refunds within 180 days of the transaction. Special payment methods will be noted in the instructions.

### 2. Refund Failed

The refund may fail if the bank or institution cannot process it. If this happens (which is rare), we'll transfer the money back to your Payermax account balance. Meanwhile, you will receive [Refund Notification](https://docs.payermax.com/api.html?docName=New%20Version&docVer=v1.0&docLang=en#/paths/RefundResultNotifyUrl/post).

### 3. Refund Inquiry

After Payermax successfully accepts the refund, you can obtain the [Refund Status](https://docs.payermax.com/en/202606-version/receipt/refund/refund-doc.md#_6-refund-status) through [Refund Inquiry API](https://docs.payermax.com/api.html?docName=New%20Version&docVer=v1.0&docLang=en#/paths/aggregate-pay-api-gateway-refundQuery/post).

### 4. Refund Application

After your payment is successful, you can use [Refund Application API](https://docs.payermax.com/api.html?docName=New%20Version&docVer=v1.0&docLang=en#/paths/aggregate-pay-api-gateway-refund/post) or [Merchant Platform](https://docs.payermax.com/en/202606-version/mmc/refund-service.md)to issue a refund. After Payermax successfully accepts the payment, it will initiate a refund to the bank or institution, and the refund money will be refunded according to the original payment method.

### 5. Refund Notification

For refund success and failure, we will use [Refund Notification](https://docs.payermax.com/api.html?docName=New%20Version&docVer=v1.0&docLang=en#/paths/RefundResultNotifyUrl/post) to send notification to your callback address.
The refund may fail if the bank or institution cannot process it. If this happens (which is rare), we'll transfer the money back to your Payermax account balance.

### 6. Refund Status

Refunds for some payment methods may not be real-time. You can use [Refund Inquiry API](https://docs.payermax.com/api.html?docName=New%20Version&docVer=v1.0&docLang=en#/paths/aggregate-pay-api-gateway-refundQuery/post) to check the refund status, you can refer to the following table for the corresponding refund status code:

| Status         | Description         | Remark |
| -------------- | ------------------- | ------ |
| REFUND_SUCCESS | Refund successfully |        |
| REFUND_PENDING | Refund processing   |        |
| REFUND_FAILED  | Refund failed       |        |
