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.
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 .
https://www.sms.thepandoranetworks.com/API/balance_inquiry.php?
GET
These are separated using the “&” sign just like in a normal http get.
If your request is success, a JSON object is retirned as follows
{"success": true, "account_balance": ACCOUNT_BALANCE}
If your request is not success, a JSON object is retirned as follows
{"success": false, "error_message": "Your success message"}
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
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...