This article describes how to sell CloudLinux, KernelCare, and Softaculous via ISPsystem billing panel. Here you can find the API requests that allow ordering a license in the billing system https://eu.ispmanager.com and performing supported operations.
API URL of ISPsystem billing system: https://api.ispmanager.com.
Authentication is performed with the authinfo parameter set to authinfo=user:passwd, where user is a username at https://eu.ispmanager.com; passwd is a user password
Order license
License order is performed wit the softexternal.order.param function which has the following parameters:
ip — license IP address.
licname — license name.
period — licencing period. Currently, only 1-month licenses can be ordered, so the parameter should be set to period=1.
pricelist — tariff code:
- CloudLinux: pricelist=9203
- Softaculous: pricelist=9204
- KernelCare: pricelist=11738
https://api.ispsystem.com/manager/billmgr?authinfo=user:passwd&out=xml&func=softexternal.order.param&clicked_button=finish&ip=10.10.10.10&licname=name&period=1&pricelist=9203&sok=ok&skipbasket=on
Edit license parameters
With the softexternal.edit function you can change the license name and IP address. A new license name is passed by the licname parameter, the IP address is passed by the ip parameter.
https://api.ispsystem.com/manager/billmgr?authinfo=user:passwd&out=xml&func=softexternal.edit&elid=<license id>&licname=<new value>&ip=<new IP address>&sok=ok
Disable license
The softexternal.suspend function allows disabling a license. The elid parameter is passed to the license that should be disabled.
https://api.ispsystem.com/manager/billmgr?authinfo=user:passwd&out=xml&func=softexternal.suspend&elid=<license id>
Activate license
Call the softexternal.resume function to activate a license. The elid parameter is passed to the license that should be activated.
https://api.ispsystem.com/manager/billmgr?authinfo=user:passwd&out=xml&func=softexternal.resume&elid=<license id>
Renew license
Call the softexternal.prolong function to renew a license. The elid parameter is passed to the license that should be renewed.
https://api.ispsystem.com/manager/billmgr?authinfo=user:passwd&out=xml&func=service.prolong&elid=<license id>&period=1&sok=ok
Delete license
Call the softexternal.delete function to delete a license. The elid parameter is passed to the license that should be deleted.
https://api.ispsystem.com/manager/billmgr?authinfo=USER:PASSWD&out=xml&func=softexternal.delete&elid=<license id>&sok=ok