API to check Available credits

API to check Available credits SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through August 22, 2012 » API to check Available credits « Previous || Next »
Author Message
Rahul Tripathi
New member
Username: Infosmsfightercom

Post Number: 3
Registered: 02-2012
Posted on Monday, March 05, 2012 - 03:04 pm:   

Hi,
I am new on NowSMS. I have created a user account. I want to give a feature to my client to check their Available credit via my site. Can any body tell me sample API for it.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3835
Registered: 08-2008
Posted on Thursday, March 08, 2012 - 02:38 pm:   

Hi Rahul,

Apologies for the delay in response.

The short answer is that there is not an API. It is, however, possible to view available credits by logging into the NowSMS web interface from a web browser.

The reason for my delay in response is because I wanted to give a possible simple way to create an API.

In the Program Files\NowSMS\HTML directory, create a file named creditcheck.txt, with the following content in that file:

<!@@StartBlockAvailableCredits@@>
AvailableCredits=@@AvailableCredits@@
<!@@EndBlockAvailableCredits@@>

User accounts can request the URL creditcheck.txt to check their available credits.

For example:

http://server:port/creditcheck.txt?user=username&password=password

--
Des
NowSMS Support

Login Login / Register Logout Logout Search Last 30 Days Topics Topics