Skip to main content
POST

Create plan

POST /api/admin/plans Create a new subscription plan.

Headers

string
required
Your API key
string
required
Your API secret key
string
required
WhatsApp channel ID

Body parameters

string
required
Plan name.
string
Plan description.
number
required
Price.
string
required
Currency code (USD, INR, etc.).
string
required
monthly or yearly.
object
Feature limits (-1 for unlimited).
Requires superadmin role. After creation, sync the plan to your payment gateway using /api/admin/plans/:id/sync-gateway.