Notify URL
- Notify URL:
notify_url
when the order status become (SUCCESS \ FAIL \ CLOSED) Only, will notify the merchant
Notify Parameter
| Parameter | Must | Type | Explanation |
|---|---|---|---|
| mch_id | Yes | string | Merchant ID |
| mch_order_no | Yes | string | Merchant Order NO. |
| order_no | Yes | string | Our System Order NO. |
| currency | Yes | string | CNY、 THB、PHP、VND… See more at backoffice |
| pay_method | Yes | string | Payment Methods |
| amount | Yes | string | Amount |
| actual_amount | Yes | string | Paid Amount |
| status | Yes | string | DEALING, CLOSED, SUCCESS, FAIL, REFUND, UNDERPAID, OVERPAID |
| paid_at | Yes | int | Timestamp millisecond |
| created_at | Yes | int | Timestamp millisecond |
| error | Yes | string | Error Info |
| utr | No | string | Unique Transaction Reference number, return it when success |
| sign | Yes | string | Signature |
For Example
Response
The merchant should return a response of SUCCESS or FAIL , Content-type: text/plain
| Response | Must | Type | Explanation |
|---|---|---|---|
| SUCCESS | YES | string | if return SUCCESS ,We will not notify merchant more! |
| FAIL/other | YES | string | if return others,We will notify 5times,The intervals are 3/9/27/81/243 seconds. |
