Features & Capabilities
Turn WHMCS into a Modern Pay-As-You-Go Cloud, VPS & Hosting Metering Platform
Stop leaving overage revenue on the table—and stop forcing modern cloud workloads into rigid flat-rate monthly plans. Haikhavan Advanced Billing & Usage Metering brings true AWS-grade consumption billing, prepaid credit wallets, real-time end-of-month cost forecasting, and automated anomaly protection natively into WHMCS 9.x.
Why Providers & Customers Love It
For Hosting & Cloud Providers (Admins)
- Monetize Every Resource Automatically: Charge accurately for vCPU hours, RAM GB-hours, NVMe storage, 95th-percentile bandwidth, mailboxes, databases, snapshots, floating IPs, or custom SaaS/AI API calls.
- Zero-Friction Multi-Platform Collection: Out-of-the-box collectors for cPanel/WHM, Plesk, DirectAdmin, Proxmox VE, SolusVM, OpenStack, AWS/Cloud, plus a REST / Webhook / Prometheus Ingestion API for anything else.
- Eliminate Bad Debt with Prepaid Credit Wallets: Deduct metered consumption continuously from prepaid client balances with automated low-balance alerts, 1-click auto-top-up invoices, and automatic suspend/unsuspend lifecycle hooks.
- Executive Revenue Visibility: Zero-CDN HTML5 Canvas dashboards & Admin Home Widget display live accrued revenue, projected EOM billings, collector distribution, and active anomaly alerts at a glance.
For End Customers (Clients)
- Complete Bill Transparency (Zero Bill Shock): Real-time usage history graphs (
24H/7D/30D) and live current-cycle cost estimates directly inside the Client Area and on every Product Details page. - Self-Service Budget Guardrails: Customers define their own cycle cost or resource usage alert limits and manage Prepaid Wallet Auto-Top-Up preferences without opening a support ticket.
- Audit-Ready Usage Statements: 1-click downloadable CSV and print-ready HTML Usage Statements showing consumed units, free allowances, tiered rate breakdowns, and EOM projections.
Complete Feature Showcase
1. Flexible Metering & Tiered Pricing Engine
- 4 Billing Modes: Pure Metered (Pay-As-You-Go), Hybrid (Fixed Base Fee + Metered Overages), Hourly Resource Metering, and Prepaid Credit Billing.
- 4 Pricing Models: Flat per-unit, Free Allowance + Overage, Graduated Tiered Pricing (bracket-based), and Volume Tiered Pricing.
- 5 Aggregation Methods:
SUM,AVG,MAX,LAST, andP95(95th Percentile) burstable bandwidth billing. - Multi-Currency Native: Automatically respects WHMCS client currencies and formatting.
2. Eight Production-Ready Collectors
- cPanel / WHM — Disk, Bandwidth, Email Mailboxes, MySQL DBs, Addon Domains, Inodes
- Plesk Obsidian — Subscription Disk, Traffic, Hosted Domains, Mailboxes, Databases
- DirectAdmin — Quota Disk, Bandwidth, Domains, Email Accounts, Databases
- Proxmox VE Cloud — vCPU Hours, RAM GB-Hours, NVMe Storage, Egress Transfer, Backups, Snapshots
- SolusVM / SolusVM 2 — vCPU Hours, RAM GB-Hours, SSD Disk, Bandwidth, Dedicated IPv4s
- OpenStack Cloud — Nova vCPU/RAM Hours, Cinder Volumes, Neutron Floating IPs, Egress, Swift Object Storage
- AWS / Public Cloud — EC2 vCPU Hours, EBS gp3, S3 Storage, Data Transfer Out, Lambda Invocations
- Custom API / Webhook / Prometheus — Meter AI tokens, Kubernetes pods, API calls, IoT events, or custom SaaS seats
3. Automated Invoicing, Credit Billing & Auto-Upgrade
- Scheduled, Threshold & On-Demand Invoicing: Generate itemized WHMCS invoices daily, weekly, monthly, automatically whenever accrued usage hits a dollar threshold, or manually with one click.
- Item Archive: Preserves full historical billing cycle breakdowns linked directly to WHMCS invoices.
- Prepaid Credit Wallet Engine: Full wallet ledger, automatic
InvoicePaidtop-up crediting, low-balance notifications, Auto-Top-Up invoice generation, and optional Auto-Suspend/Auto-Unsuspend. - Product Auto-Upgrade Rules: Automatically detect sustained over-utilization and flag upgrade paths.
5 Exclusive Pro Value-Add Features (Beyond Standard Metering)
| Exclusive Feature | What It Delivers |
|---|---|
| 1. Real-Time EOM Cost Forecasting | Blends cycle-to-date burn rate with trailing 24-hour velocity to project end-of-month bills with Low/Expected/High confidence bands and MoM deltas. |
| 2. Statistical Anomaly Spike Alerts | Rolling 7-day Z-score & baseline deviation engine automatically flags DDoS bandwidth surges, runaway cron jobs, or crypto-miner CPU spikes with red graph markers. |
| 3. Public REST / Webhook & Prometheus API | Authenticated, scoped API key endpoint (api.php) accepting single or batched JSON & Prometheus payloads with optional IP allowlists. |
| 4. Exportable CSV & Printable HTML Statements | Instant finance-ready usage statements downloadable by both Admins and Clients. |
| 5. Built-In Live Sandbox Usage Generator | 1-click demo seeder & anomaly spike simulator lets teams validate tiered pricing, graphs, and invoicing safely before touching production. |
Technical Specifications
- WHMCS Version:
9.1.2(full WHMCS 9.x & PHP 8.3 compatibility) - Zero External CDN Dependencies: All charts render natively on high-DPI HTML5
<canvas>—ideal for air-gapped, HIPAA, or enterprise deployments. - Security Hardened: AES-256-CBC + HMAC-SHA256 credential encryption, SHA-256 hashed scoped API keys, timing-safe
hash_equals()CSRF guards, and strict client-ownership enforcement.
Frequently Asked Questions (FAQ)
Q: Can I combine a fixed monthly subscription price with metered overages?
Yes! Select the Hybrid (Fixed Base + Metered) billing type, set your Fixed Base Fee, and configure Free Allowances on each resource so customers only pay overage or tiered rates above their included quota.
Q: How does Prepaid Credit Wallet billing handle unpaid auto-top-up invoices?
When a wallet drops below the configured threshold, an optional Auto-Top-Up WHMCS invoice is created automatically. Once paid, the InvoicePaid hook credits the wallet instantly and unsuspends any services paused due to depletion.
Q: Does it work with custom workloads like AI inference, Kubernetes, or SaaS API metering?
Absolutely. Create a scoped API key in the Admin Dashboard and push metrics via POST api.php?action=ingest using standard JSON or Prometheus-compatible metric arrays.
Q: Are external charting CDNs required?
No. All area/line trend charts, forecast markers, anomaly highlights, and cost breakdown donuts are rendered locally via our zero-dependency high-DPI Canvas engine.
Q: Will deactivating the module delete my billing history or client wallets?
Never. Deactivation safely preserves all 9 database tables, including usage history, credit wallets, ledgers, and the Item Archive.