WHMCS API Reference
Add Invoice Payment
Add Order
Please note: Services (tblhosting) returned as comma separated list called productids
Example Response JSON
{
"result": "success",
"orderid": "1",
"productids": "1,2",
"addonids": "1,2,3",
"domainids": "1,2",
"invoiceid": "1"
}