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
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 (funds that were put on hold to ensure payments for current operations)Example:120.5