Trades Callback
Trades Callbackrefers the process that our system sends POST request to merchant when the order completes.
Method: POST
Content-Type: application/x-www-form-urlencoded
Parameters:
| name | type | DESC | e.g. |
|---|---|---|---|
| tradeno | string | Order number | e7b8ba3bdbf6ee68adc... |
| outtradeno | string | Merchant order number | 20200202123ABC... |
| amount | string | Amount | 20.68 |
| ramount | string | Net amount | 20.58 |
| endtime | string | Payment time | 2020-01-01 02:02:03 |
| status | string | Order status: 1 Paid; | 1 |
| remark | string | Remarks | 测试订单 |
| sign | string | Signaure | e10adc3949bae20f883e... |
Expected responses
When merchant receives our system's request and confirms the order, please response a plain text response 'success'.
Content-Type:text/plain