Check Balance (HTTP)

This call can be used to return your account's SMS credit balance in XML.

The function accepts 3 parameters:

  • Type (String) = “credits
  • Username (String)
  • Password (String)

Example: http://mymobileapi.com/api5/http5.aspx?Type=credits&username=xxx&password=yyy

<api_result>
    <data>
        <credits>xxxxx</credits>
    </data>
    <call_result>
        <result>True</result>
        <error/>
    </call_result>
</api_result>

🚧

Post Paid Customers

Credits will always return a value of 1000000 on Post Paid accounts as no credit deduction occurs on this account type.

Your current credit value will be displayed between the “credits” tag.


See also