Billing API (v1.0.0)
Viewing the remaining balance and estimating the time of service operation for which the available funds will be sufficient
Get account balances
Returns account balances and billing information.
Authorizations:
X-TokenX-Auth-Token
Responses
Response samples
- 200
Content type
application/json
{- "status": "string",
- "data": {
- "settings": {
- "mode": "string",
- "currency": "string",
- "avaliable_billings": [
- "string"
], - "avaliable_balances": [
- "string"
]
}, - "billings": [
- {
- "billing_type": "string",
- "balances_values_sum": 0,
- "debt": [
- {
- "service_id": 0,
- "service_type": "string",
- "debt_value": 0
}
], - "final_sum": 0,
- "debt_sum": 0,
- "balances": [
- {
- "balance_id": 0,
- "balance_type": "string",
- "value": 0
}
]
}
], - "debt_status": "string"
}
}