MethodĀ getBalance to query the account balance
This provides the capability to query the current account balance of any account by providing the account username and password;
Code Block |
---|
https://primary.smartmessagingservices.net/gateway/services/SMSService?method=getBalance
&username=your.username&password=your.password
|
*Please note that when using the HTTP Get method you must url encode any special characters
original character | url encoded |
---|---|
(space) | + |
+ | %2B |
A documentId is returned which can then be used to query the status of the submitted SMS.
method | parameters | return |
---|---|---|
getBalance | (String username, String password, String recipient, String text); | DoubleĀ getBalanceReturn |