API: Add Addon to Account
addAddonToAccount
Add an addon to existing account.
Required parameters
Parameter | Description |
account_id | Account ID |
addon_id | ID of addon from hb_addons table to add |
Optional parameters
Parameter | Description |
invoice | Set to "true" if invoice for adding this addon should be generated |
cycle | Billing cycle for addon, allowed values: 'm','q','s','a','b','t','d','w','h' or 'Free' or 'Once' where m-monthly, q-quarterly etc. |
payment_module | If you choose to generate invoice, you can provide ID of payment gateway to use |
prorata | Set to '1' to pro-rate invoice and match due date of newly created addon to account one |
Request
PHP Samples
Response