API documentation
?????? ????????? ???????
?? API ???????? ????????? ?? ???????? ????????? ???????
Content-Type
application-json
?????????
user
???????
balance
??????? ???????????
| ?????????? ?????? | ???? | ?????? |
|---|---|---|
| username | ???????? | ???????????? ?????? |
| amount | ?????? | ????? |
| currency | ???????? | ??????? ???? |
????????? ????????
{
curl https://api.nicenic.net/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",
}






