Notify url
Notify URL:notify_url
when the order status become SUCCESS OR FAIL Only, will notify the merchant
Notify Parameters
POST JSON
| Parameter | Must | Type | Explanation |
|---|---|---|---|
| mch_id | Yes | string | Merchant Id |
| mch_order_no | Yes | string | Merchant Order NO. |
| order_no | Yes | string | System Order NO. |
| currency | Yes | string | Currency |
| amount | Yes | string | Amount |
| fee | Yes | string | Fee |
| pay_method | Yes | string | Pay method |
| receipt | No | string | Receipt |
| status | Yes | string | PENDING, DEALING, SUCCESS, FAIL |
| paid_at | No | int | Paid time,timestamp millisecond |
| error | Yes | string | If the order fail, will have error info |
| utr | No | string | If the order success, will have utr info |
| sign | Yes | string | Signature |
For example
POST JSON
Response
The merchant should return a response with text of SUCCESS or FAIL, Content-type: text/plain
| Parameter | 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. |
