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: smsactivate->".basename(__FILE__)."
    "; //set the service api key $smsactivate->api_key = '3161df9b1fe1ccb8cfd7dA91db765de8'; //get balance echo $smsactivate->get_balance(); //end echo "

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