APIVersion 1.0.0
Payment Success Notice
If notify_url is provided when order is created. System will post request to this url when the payment succeeds. Request method is POST. Different from Server APIs, sign parameters will be included in json entity. Partner system shall valid them to prevent fake requests. Partner system shall response with correct parameters. If GlobePay did not receive valid response, system will regard as receiving failed and retry the notification. System will retry up to3 times. Partner system shall be able to handle the repeated requests.
Header
| Field | Description |
|---|---|
Accept | application/json |
Content-Type | application/json |
JSON keys
| Field | Type | Description |
|---|---|---|
time | long | UTC timestamp in millis |
nonce_str | String | Random string |
sign | String | Sign |
channel_order_id | String | Channel(such as Wechat、Alipay) Order Id |
partner_order_id | String | Partner order id |
order_id | String | GlobePay order id |
total_fee | int | Order amount |
real_fee | int | Actual paid amount |
rate | Double | Exchange Rate used while trading. 0.01 GBP=?CNY |
customer_id | String | Customer ID |
currency | String | Currency,GBP |
channel | String | Payment Channel Alipay、Wechat、AlipayPlus |
create_time | String | Time when order is created, which is formatted in 'yyyy-MM-dd HH:mm:ss', UTC+10 |
pay_time | String | Time when order is paid, which is formatted in 'yyyy-MM-dd HH:mm:ss', UTC+10. |
Success 200
| Field | Type | Description |
|---|---|---|
return_code | String | SUCCESS |
