API:Add CreditFrom WHMCS DocumentationThis command is used to add credit to a client Attributes clientid - the ID of the client the credit is to be added to description - reason for credit being added (stored in admin credit log) amount - the amount to be added Example Command $postfields["action"] = "addcredit"; $postfields["clientid"] = "1"; $postfields["description"] = "Adding funds via custom module"; $postfields["amount"] = "40.00"; Returned Variables newbalance - the total credit balance the client now has API Functions |
|





