{{ Pandora Balance Inquiry API }}

Welcome to the Pandora Balance Inquiry API. Our API that is flexible, scalable, and easy to integrate. Get familiar with our product by getting started or exploring our API documentation.

Lets get you started

The balance inquiry API lives at https://www.sms.thepandoranetworks.com/API/balance_inquiry.php.

Inorder to use the API to send SMS, you must have created a Pandora SMS Account .

URL

https://www.sms.thepandoranetworks.com/API/balance_inquiry.php?

Request Type

GET

Parameters

These are separated using the “&” sign just like in a normal http get.

Required
username: The API callers username used to login to Pandora SMS.
password: The API callers password used to login to Pandora SMS

Success Response

If your request is success, a JSON object is retirned as follows

{"success": true, "account_balance": ACCOUNT_BALANCE}

Error Response

If your request is not success, a JSON object is retirned as follows

{"success": false, "error_message": "Your success message"}

Sample Call

You can send custom SMS by just calling a link. e.g.

https://sms.thepandoranetworks.com/API/balance_inquiry.php?username=pandoratest&password=api_test

Examples
function check_account_balance($username,$password) {
$url = "sms.thepandoranetworks.com/API/balance_inquiry.php?";
$parameters="username=[username]&password=[password]";
$parameters = str_replace("[username]", urlencode($username),$parameters);
$parameters = str_replace("[password]", urlencode($password),$parameters);
$live_url="https://".$url.$parameters;
$parse_url=file($live_url);
$response = $parse_url[0];
return json_decode($response, true);
}
// function calling
check_account_balance('username','password');

The above PHP code will return your account balance

Coming Soon...

Coming Soon...

Coming Soon...

Coming Soon...

Coming Soon...

Coming Soon...

Coming Soon...