User Manual
Version 7.6
×

Getting list of partner's accounts

 
Example:
https://<address>/backend/api.php?cmd=accountslist
 
Parameters:
cmd : accountslist
 
Answer:
Array of accounts
{
code: 0
"data": [
{
"acc_deposit": "600.00",
"balance": "1200.00",
"bill_email": "test@test.com",
"bill_phone": "",
"comment": "",
"id": 3567,
"inn": "",
"kpp": "",
"org_name": "UAE Test"
},
{
"acc_deposit": "10000.00",
"balance": "0.00",
"bill_email": "info2@trekcontrol.ru",
"bill_phone": "79038885522",
"comment": "",
"id": 2122,
"inn": "",
"kpp": "",
"org_name": "Belgorod2"
},
{
"acc_deposit": "0.00",
"balance": "0.00",
"bill_email": "artemkudr@gmail.com",
"bill_phone": "",
"comment": "",
"id": 3325,
"inn": "",
"kpp": "",
"org_name": "AN_TEST"
},
{
"acc_deposit": "0.00",
"balance": "0.00",
"bill_email": "dav@auroramobile.ru",
"bill_phone": "",
"comment": "",
"id": 3147,
"inn": "0000",
"kpp": "",
"org_name": "AMT test"
},
{
"acc_deposit": "4.00",
"balance": "-6533.57",
"bill_email": "b@b.ru",
"bill_phone": "1",
"comment": "",
"id": 1125,
"inn": "",
"kpp": "",
"org_name": "test2"
},
{
"acc_deposit": "0.00",
"balance": "-2754.84",
"bill_email": "wtl@mail.ru",
"bill_phone": "79615171636",
"comment": "",
"id": 2682,
"inn": "",
"kpp": "",
"org_name": "Pigo Vitaly"
},
{
"acc_deposit": "0.00",
"balance": "-13372.30",
"bill_email": "info@trekcontrol.ru",
"bill_phone": "79038879090",
"comment": "",
"id": 2121,
"inn": "2345456456",
"kpp": "",
"org_name": "Belgorod"
}
],
"msg": "OK"
}