Links

Balance check request

post
http://lk.mysmpp.ru/json/balance.php
Balance check request
Parameters
Header
Content-type*
String
text/json; charset=utf-8
Body
login*
String
Your login in the system
password*
String
Your password in the system
token*
String
You can use a secret key instead of login and password. To obtain it, please contact your manager.
Responses
200: OK
In case the correct JSON document is received
400: Bad Request
If an error occurs in the sent JSON document

Deciphering parameters in query responses

Parameter
Data type
Description
money
Int
Fund balance
currency
String
Currency
information.type_sms
String
Type of SMS
information.area
String
The direction in which a given quantity can be shippedво SMS
information.sms
Int
Number of available SMS messages for this destination
error
String
The error text can take the following values:
  • Incorrect JSON document format
  • Your account is locked
  • Incorrect login or password
  • POST data is missing
Last modified 5mo ago