post_addcredits
Overview
Moves credits from a Reseller or Corporate account to a subaccount
Parameters
Name
Type
Required
Comments
Credits
Integer
Yes
The number of credits to be posted
CreditType
Integer
Yes
The type of credits to be posted: monthly or non-expiring. Please note that only Corporate accounts can allocate monthly credits
1 = Non-Expiring credits
2 = Monthly credits
SubAccountID
Integer
Yes
The id of the subaccount you want to post credits to
Returns
0
|Error (Different descriptions for the error)
1
|Credits updated successfully
Example
https://www.graphicmail.co.nz/api.aspx?Username=user@mydomain.com&Password=123456&Function=post_addcredits&CreditType=1&Credits=1000&SubAccountID=1234&SID=11