Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 3 Current »

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;

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


  • No labels