Update a plan
Updates a plan. Marketing fields (name, lookup_key, trial days, active) can always be changed. Price and billing interval are immutable once the plan has subscribers — attempting to change them returns 400 (plan_immutable). To change a price, create a new plan and migrate subscribers with a plan change.
Authorizations
Use sk_test_ keys for sandbox. Use sk_live_ keys for production. Obtain your key from the dashboard.
Path Parameters
Body
100Only allowed if the plan has no subscribers.
day, week, month, year ^[a-z0-9_]+$Set false to archive.
Response
Plan updated
plan "pln_01JABC..."
"pg_01JABC..."
"Pro"
Amount in kobo as a string. ₦5,000 = "500000".
"500000"
day, week, month, year "month"
1
14
Stable, human-meaningful handle for the plan (e.g. "pro_monthly"). Unique per tenant. Reference this instead of the UUID so your app doesn't hardcode environment-specific ids.
"pro_monthly"
false when the plan is archived — hidden from the default plan list and closed to new subscriptions. Existing subscribers keep billing.
true