The Base URL is the same as above. To check balance, two parameters are required. The checkbalance parameters that must be set to 1 and the token.
Below is a sample API string to check credit balance:
<?php
$token = 'ACCESS_TOKEN';
$checkbalance = "https://smartsmssolutions.com/api/?checkbalance=1&token=".$token;
$balance = file_get_contents($checkbakance);
echo $balance;
?>
import requests
token = 'ACCESS_TOKEN'
payload={
'checkbalance': '1'
'token': token,
}
baseurl = 'https://smartsmssolutions.com/api/?'
response = requests.get(baseurl, params=payload, verify=False)
Updated about a year ago