EasyCommerce Developer API v1 · OpenAPI 3.1
OpenAPI 3.1 JSON Open Cloud Dashboard

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

POST/v1/domains/check

Queries 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

GET/v1/domains

Lists all client domains with registrar lock, WHOIS privacy, auto-renew status, and connected EasyCommerce store tenant ID.

4. SaaS Store Fleet & Module Commands

POST/v1/stores/:serviceId/action

Executes 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

GET/v1/clients · POST/v1/invoices

Manage client accounts, reseller pricing slabs, wallet credits, multi-line invoices, and bKash / SSLCOMMERZ / Paddle settlement.

GET/v1/reports

Returns 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

POST/api/billing/pay/paddle/webhook · POST/v1/whmcs

Cryptographically verified webhooks for bKash Tokenized PGW, SSLCOMMERZ IPN, and Paddle Billing v2 (Paddle-Signature HMAC-SHA256), plus a drop-in WHMCS action adapter.