get_balance

get_balance(); - get the balance

After testing, the function returns the result of its work to the script :
  • balance on the service – current balance on the service

    Possible error:
    BAD_KEY - invalid API key
    ERROR_SQL - SQL server error



    PHP example: cheapsms->".basename(__FILE__)."
    "; //set the service api key $cheapsms->api_key = '0123456789abcdef0123456789abcdef'; //get balance echo $cheapsms->get_balance(); //end echo "

    "; //Quit $app->quit(); ?>
    Python example: C# example: Java Script example: