Sell Otwa Cloud servers directly from your WHMCS install. Every WHMCS order auto-provisions on our infrastructure; your customers get a single SSO button into the Otwa Cloud dashboard for console, reboot, and reinstall.
Grab the latest release zip and drop its contents into your WHMCS install so you end up with:
<WHMCS_ROOT>/modules/servers/otwacloud/otwacloud.php
On a typical cPanel / Plesk / Directadmin WHMCS host:
cd /path/to/whmcs unzip otwa-cloud-whmcs-latest.zip # The archive already contains modules/servers/otwacloud/ — just merge.
Sign in to otwa.cloud/dashboard/api and create a key with the following scopes:
account:readservers:readservers:writebilling:read (optional but recommended)Copy the key — you’ll paste it into WHMCS next.
Setup → Products/Services → Servers → Add New Server
Otwa Cloudotwa.cloudOtwa CloudClick Test Connection — a green tick confirms the key works.
Setup → Products/Services → Products/Services → Create a New Product
Save. The price you charge customers is set in WHMCS as usual — the difference between WHMCS retail and Otwa Cloud wholesale is your margin.
Place an order in the WHMCS client area (or manually via admin). Within about 90 seconds the server appears in both WHMCS and your Otwa Cloud dashboard. Customers use the Open Otwa Cloud dashboard button from the WHMCS product page to SSO into our panel.
| WHMCS action | API call |
|---|---|
| Create | POST /v1/servers (Idempotency-Key) |
| Suspend | POST /v1/servers/:id/power/stop |
| Unsuspend | POST /v1/servers/:id/power/start |
| Terminate | DELETE /v1/servers/:id |
| Change password | POST /v1/servers/:id/password-reset |
| Test connection | GET /v1/account |
| Custom → Reboot | POST /v1/servers/:id/power/reboot |
| Client area SSO | POST /v1/servers/:id/sso → redirect |
Every call the module makes is logged to Utilities → Logs → Module Log in WHMCS.
API key missing → fill the Password field on the server connection page.401 Unauthorized → the API key was revoked or is missing one of the required scopes.Insufficient balance → top up your Otwa Cloud wallet; WHMCS "Change Package" retries succeed once the balance covers the order.Password reset not supported → in v1.0, password rotation goes through the dashboard console or a reinstall. A native reset is on the roadmap.Enable reseller mode to unlock wholesale pricing and access to this module.