API getcredit
Appearance
7Kas VoIP REST API function. Available to: SuperRoot, Operator, Client.
Description
Returns credit and status (credit, credit_limit, creditalarm, email, blocked). Any role: clients (and operators/SuperRoot without accountcode) get their own; operators/SuperRoot with accountcode query that account within their scope.
Call
GET …/7Kas?func=getcredit&ukey=YOUR_KEY&…
Requires the ukey parameter.
Parameters
| Parameter | Type | Required | Default | Meaning |
|---|---|---|---|---|
accountcode |
string | No | — | Account to query (operators/SuperRoot only). Omit for your own. (max length 20) |
Example
https://api.7kas.com:9080/7Kas?func=getcredit&ukey=KEY
Response
FillRecords2JSON: fields [credit, credit_limit, creditalarm, email, blocked].
Back to API VoIP · ▶ Try it live · Profiles: API profile SuperRoot, API profile Operator, API profile Client (of operator), API profile Client (direct)