post_remove_credits
Overview
Removes credits form the specified sub account
Parameters
Name
Type
Required
Comments
Credits
Integer
Yes
The amount of credits to remove from specified sub account
CreditType
Integer
Yes
The type of credits you want to remove from the sub account.
Nonexpire credits = 1
Monthly credits = 2
SubaccountID
Integer
Yes
The id of the sub account to remove credits from
Returns
0
|Error (Different descriptions for the error)
1
|Credits updated successfully.
Example
https://graphicmail.com/api.aspx?Username=user@mydomain.com&Password=123456&Function=post_remove_credits&SubaccountID=123456&Credits=100&CreditType=1&SID=0