post_addcredits
 
 
Overview
Moves credits from a Reseller or Corporate account to a subaccount
 
Parameters
 
NameTypeRequiredComments
CreditsIntegerYesThe number of credits to be posted
CreditTypeIntegerYesThe 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
SubAccountIDIntegerYesThe 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