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 email credts, email rendering credits or mobile credits. Please note that only Corporate accounts can allocate monthly credits
  1 = Non-Expiring Email credits
  2 = Monthly Email credits
  3 = Email rendering credits
  4 = Mobile 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.com/api.aspx?Username=user@mydomain.com&Password=123456&Function=post_addcredits&CreditType=1&Credits=1000&SubAccountID=1234