Appearance
Query a Pay-In Order
- Requests use http-form-post encoding
application/x-www-form-urlencoded - Responses use JSON encoding
application/json - Gateway : https://www.lg-pay.com/api/order/query
The Request paramters :
| Field | Meaning | Type | Required |
|---|---|---|---|
| app_id | Your Merchant ID | String | True |
| order_sn | uploaded in Create request paramters | String | True |
| sign | md5_hash, refer to: Signature | String | True |
The Response
json
{
"status":1, // 1 means this order has been paid successfully , 0 means not paid
"msg":"ok", // when a request is failed, please read msg to find out why
{
"data":{
"money":5000 // The money your client actually paid, times 100x
}
}
}