API documentation
????? ???? ??????
???? ??? ????? API ??? ???? ?????? ???????.
??? ???????
application-json
?????
user
???????
balance
?????? ?????????
| ??? ??????? | ????? | ????? |
|---|---|---|
| username | ????? ???? | ??? ???????? |
| amount | ????? | ?????? |
| currency | ????? ???? | ??? ?????? |
???? ?????
{
curl http://api.www.gtlpnf.cn/v2/?category=user&action=balance/reseller/apiv2.php
-H "Authorization: username:api_secret"
-H "Content-Type: application/json"
}
????? ???????
0 OK
??????? ?????
{
"code": 0,
"msg" : "success",
"data" : {
"username":"XXXX",
"amount":12542.34,
"currency":"USD"
}
}
400 ??? ??? ????
{
"code": 400,
"msg" : "Request parameter error",
}









