Get list of accounts.
GET http://url_to_your_hostbill.com/admin/api.php?api_id=API_ID&api_key=API_KEY&call=getAccounts
{
"success": true,
"accounts": [
{
"id": "49",
"manual": "0",
"domain": "ultimatehost.com",
"billingcycle": "Hourly",
"status": "Pending",
"total": "6.00",
"next_due": "2012-01-09",
"name": "Ultimate",
"type": "1",
"lastname": "Customer",
"firstname": "Random",
"client_id": "2",
"currency_id": "0"
},
{
"id": "48",
"manual": "0",
"domain": "hostbasic.com",
"billingcycle": "Monthly",
"status": "Active",
"total": "16.00",
"next_due": "2012-01-09",
"name": "Standard",
"type": "1",
"lastname": "Doe",
"firstname": "John",
"client_id": "1",
"currency_id": "0"
}
],
"call": "getAccounts",
"server_time": 1323445664,
"info": [
"order_created"
]
}