Check account balance via JSON API
| Parameter | Type | Required | Description |
|---|---|---|---|
| username | string | Required | API username |
| password | string | Required | API password |
{
"password": "your_secure_password",
"username": "your_api_username"
}
{
"account_status": "active",
"balances": {
"email": {
"balance_value": 8424.8,
"cost_per_unit": 0.8,
"credits": 10531
},
"sms": {
"balance_value": 19687.5,
"cost_per_unit": 1.25,
"credits": 15750
},
"whatsapp": {
"balance_value": 22150.5,
"cost_per_unit": 1.5,
"credits": 14767
}
},
"client_id": "12345",
"currency": "ZAR",
"last_updated": "2024-11-20T10: 30: 15Z",
"status": "success",
"total_value": 50262.8
}
-keyword">curl -X POST https://api.unicom360.com/api/v1/json/balance \
-H "X-API-Key: your_api_key" \
-H "Content-Type: application/json" \
-d '{\n "username": "your_api_username",\n "password": "your_secure_password"\n}\n'
We can't find the internet
Attempting to reconnect
Something went wrong!
Attempting to reconnect