Integrations

WHMCS provisioning module

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.

You need an Otwa Cloud account with reseller mode enabled and a funded balance. Wholesale discounts apply automatically at order time — top up your balance and the WHMCS module will spend from it for every new order.

Installation

  1. 1

    Download and extract

    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.
  2. 2

    Create an API key in Otwa Cloud

    Sign in to otwa.cloud/dashboard/api and create a key with the following scopes:

    • account:read
    • servers:read
    • servers:write
    • billing:read (optional but recommended)

    Copy the key — you’ll paste it into WHMCS next.

  3. 3

    Add the server connection in WHMCS

    Setup → Products/Services → Servers → Add New Server

    • Name: Otwa Cloud
    • Hostname: otwa.cloud
    • Type: Otwa Cloud
    • Password: paste your API key
    • Access Hash (optional): set a custom API base URL if you’re on a private endpoint
    • Secure: ON (HTTPS)

    Click Test Connection — a green tick confirms the key works.

  4. 4

    Create the WHMCS product

    Setup → Products/Services → Products/Services → Create a New Product

    • Product Type: Other
    • Module: Otwa Cloud
    • Product ID, Region, OS Template: pick from the live dropdowns in the Module Settings tab.

    Save. The price you charge customers is set in WHMCS as usual — the difference between WHMCS retail and Otwa Cloud wholesale is your margin.

  5. 5

    Place a test order

    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.

What each WHMCS action does

WHMCS actionAPI call
CreatePOST /v1/servers (Idempotency-Key)
SuspendPOST /v1/servers/:id/power/stop
UnsuspendPOST /v1/servers/:id/power/start
TerminateDELETE /v1/servers/:id
Change passwordPOST /v1/servers/:id/password-reset
Test connectionGET /v1/account
Custom → RebootPOST /v1/servers/:id/power/reboot
Client area SSOPOST /v1/servers/:id/sso → redirect

Troubleshooting

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.

Not a reseller yet?

Enable reseller mode to unlock wholesale pricing and access to this module.

Enable