Checking Your Credit

This will return the number of messages available for the supplied service type. If no service type is specified the accounts default service will be used.

Parameter Required Type
Username Mandatory String
Password Mandatory String
ServType Optional String

HTTP Interface

Calls can be made using either HTTP GET or POST to

  1. http://sms.message-platform.com/http/credit.aspx
http://sms.message-platform.com/http/credit.aspx

For example:

  1. http://sms.message-platform.com/http/credit.aspx?username=myuser&pass
    word=mypass
http://sms.message-platform.com/http/credit.aspx?username=myuser&password=mypass

Returns:

  1. Current Credit: 12345
Current Credit: 12345

SOAP Interface

The SOAP interface is available at:

  1. http://sms.message-platform.com/soap/sms.asmx
http://sms.message-platform.com/soap/sms.asmx

WSDL for this web service is available at:

http://sms.message-platform.com/soap/sms.asmx?WSDL

To obtain the current credit use the Credits operator.