Get account balance
GET https://www.lightsms.com/external/get/balance.php
Check your current account balance and currency.
This endpoint allows you to verify your account balance before sending SMS messages to ensure you have sufficient funds.
Authorization​
This endpoint requires authentication using login, signature, and timestamp parameters.
See the Authentication documentation for more details.
Parameters​
Query Parameters​
| Name | Type | Required | Description |
|---|---|---|---|
login | string | ✓ | Your LightSMS account login |
signature | string | ✓ | Request signature for authentication |
timestamp | string | ✓ | UTC timestamp of the request |
return | string | Response format (json or xml) |
Example​
Request​
GET https://www.lightsms.com/external/get/balance.php?login=JohnDoe&signature=a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6×tamp=1761188934&return=json
Response​
{
"money": "69573.1",
"currency": "RUB"
}
AUTHORIZATION: HTTP
REQUEST
Base URL
https://www.lightsms.com
Query Parameters
loginREQUIREDYour LightSMS account login
signatureREQUIREDRequest signature for authentication
timestampREQUIREDUTC timestamp of the request
returnResponse format (json or xml)
RESPONSE
Balance retrieved successfully
{
"money": "69573.1",
"currency": "RUB"
}