Skip to main content
POST
https://api.mobiska.com/v1
/
check_sms_balance
Check Account Balance
curl --request POST \
  --url https://api.mobiska.com/v1/check_sms_balance \
  --header 'Content-Type: application/json' \
  --data '
{
  "service_id": 123,
  "request_time": "<string>"
}
'
{
  "response_code": "<string>",
  "response_message": "<string>",
  "response_data": {
    "sms_balance": 123,
    "payout_balance": 123,
    "collection_balance": 123
  }
}
Get the current balance information for SMS, payout, and collection services.

Request Body

service_id
integer
required
Your service identifier
request_time
string
required
ISO 8601 formatted timestamp

Example Request

curl -X POST https://api.mobiska.com/v1/check_sms_balance \
  -H "Authorization: Basic YOUR_ENCODED_API_KEYS" \
  -H "Content-Type: application/json" \
  -d '{
    "service_id": 1,
    "request_time": "2025-01-26T18:25:56Z"
  }'

Response

response_code
string
Status code of the request
response_message
string
Human-readable status message
response_data
object
{
  "response_code": "000",
  "response_message": "Success",
  "response_data": {
    "sms_balance": 1000,
    "payout_balance": 5000,
    "collection_balance": 2500
  }
}