EasyCommerce Cloud & Domain API
Modeled on the Spaceship Developer API (docs.spaceship.dev), https://api.easycommerce.top exposes a unified, low-latency REST interface for domain availability, DNS zone automation, EasyCommerce OS store provisioning, bKash/SSLCOMMERZ/Paddle invoicing, and predictive revenue reporting.
1. Authentication & Scoped API Keys
Generate scoped API keys (admin, billing, registrar, or readonly) inside dash.easycommerce.com.bd/admin → Vault & API Keys. Authenticate using either standard Bearer auth or Spaceship-style headers:
curl -X GET "https://api.easycommerce.top/v1/stores" \
-H "Authorization: Bearer ec_api_live_xxxxxxxxxxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json"
2. Live Bulk Domain Availability & Pricing
/v1/domains/checkQueries Spaceship Registry live availability across featured TLDs (.com, .shop, .store, .net, .org, .xyz, .io) and returns BDT & USD retail pricing.
curl -X POST "https://api.easycommerce.top/v1/domains/check" \
-H "Content-Type: application/json" \
-d '{"query": "dhakastyle.com"}'
3. Registered Domains & DNS Zone Automation
/v1/domainsLists all client domains with registrar lock, WHOIS privacy, auto-renew status, and connected EasyCommerce store tenant ID.
4. SaaS Store Fleet & Module Commands
/v1/stores/:serviceId/actionExecutes WHMCS-parity lifecycle module commands on a store service: create, suspend (instant HTTP 402 at edge), unsuspend, change_package, terminate, or sso.
curl -X POST "https://api.easycommerce.top/v1/stores/srv_123456/action" \
-H "Authorization: Bearer ec_api_live_..." \
-H "Content-Type: application/json" \
-d '{"action": "change_package", "planTier": "growth"}'
5. Clients, Invoices, Quotes & Predictive Reports
/v1/clients · POST/v1/invoicesManage client accounts, reseller pricing slabs, wallet credits, multi-line invoices, and bKash / SSLCOMMERZ / Paddle settlement.
/v1/reportsReturns the 12-Month & 24-Month Predictive Income Forecast, Monthly Gross/Fee/Refund Net Income statement, and Aging Overdue Invoices breakdown.
6. Payment Gateway Webhooks & WHMCS Bridge
/api/billing/pay/paddle/webhook · POST/v1/whmcsCryptographically verified webhooks for bKash Tokenized PGW, SSLCOMMERZ IPN, and Paddle Billing v2 (Paddle-Signature HMAC-SHA256), plus a drop-in WHMCS action adapter.