get getBalance
https://onlinesim.io/api/getBalance.php
This request can be used to get your current balance.
You might use it to check the balance of the profile to top it up when needed (for example to handle `WARNING_LOW_BALANCE` exceptions).
Security
Parameters
income
Information on affiliate program earnings
In:
query
Schema:
- booleanExample:
true
lang
Response language: fr
- French, de
- German, ru
- Russian, en
- English, zh
- Chinese
In:
query
Schema:
- stringExample:
"en"
Enum:fr
de
ru
en
zh
Global params
Responses
200
Successful response for `getBalance` request: the server returns information on your current balance status or throws an exception.
Content Type:
application/json
- Schema
- Examples
- objectExample:
{"response":1,"balance":"230.25","zbalance":120.5}
Properties:response
mixed1, if the request has been completed successfully, or an error messageExample:1
One Of:- integerExample:
0
- stringExample:
"string"
balance
stringCurrent available balanceExample:"230.25"
zbalance
numberFrozen balance (funds that were put on hold to ensure payments for current operations)Example:120.5