Methods - CheckCredits

CheckCredits 

This method is used to query the number of Message Credits available on a client’s pre-pay TextAnywhere account. The method returns the number of Message Credits as a real number.

» Client_ID» String
» Client_Pass» String

The Return Code is a String.

On successful completion of this method a string is returned with the number of Message Credits on the account, as follows:

“2249.7”

If either of the Client_ID or Client_Pass are incorrect, then the method will return:

“Couldn’t find account”

If the account is found, and the account is a Credit Account (where messages are not pre-purchased), then the method will return:

“-1”


Footer Bottom