get getBalance
https://onlinesim.io/api/getBalance.phpThis 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
incomeInformation on affiliate program earnings
In:
querySchema:
- booleanExample:
true
langResponse language:
fr - French,
de - German,
ru - Russian,
en - English,
zh - Chinese. Please note that the translation applies only to string field values, such as service names or country names. Field names themselves, error messages, and standard values (for example, true/false for boolean fields) remain in English.
In:
querySchema:
- stringExample:
"en"Enum:frderuenzh
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:responsemixed1, if the request has been completed successfully, or an error messageExample:1One Of:- integerExample:
0 - stringExample:
"string"
balancestringCurrent available balanceExample:"230.25"zbalancenumberFrozen balance (the funds reserved for active operations, which will be returned if those operations are cancelled)Example:120.5