There are 2 methods for checking your credits:
- Credits_STR (Returns XML string)
- Credits_DS (Returns data set)
Each function accepts 2 parameters:
- Username (string)
- Password (string)
The return object looks like this:
<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.
Updated almost 3 years ago