Appearance
Query Balance
- Requests use http-form-post encoding
application/x-www-form-urlencoded - Responses use JSON encoding
application/json - Gateway : https://www.lg-pay.com/api/deposit/balance
The Request paramters :
| Field | Meaning | Type | Required |
|---|---|---|---|
| app_id | Your Merchant ID | String | True |
| time | Unix Timestamp in seconds, eg: 1732533532 means 2024-11-25 19:18:46 | String | True |
| sign | md5_hash, refer to: Signature | String | True |
The Response
json
{
"status":1,
"msg":"ok",
"data":{
"balance":59978270 // you need devide this value by 100
}
}