Overview
A Subscription Plan is the template that defines how much to charge, how often, and for how long. Think of it as the product you are selling on a recurring basis — for example, “Pro Plan at ₦5,000/month” or “Annual Access at ₦50,000/year”. Before you can subscribe a customer and start billing them, you must first create a plan. The plan generates a uniqueplanCode which is the only thing you need when creating a subscription later.
How it fits into the bigger picture:
- You create a plan → get a
planCode - You create a subscription using that
planCode+ the customer’s card details → billing begins
Key Requirements
Retrieve your API keys from your dashboard by following the steps on our Authentication page. Use your public API key for all subscription plan requests.
Set
X-TenantID to test while developing and live when processing real payments.Billing intervals
When creating a plan, you set how often the customer is billed using theinterval field:
Step 1 — Create a Plan
Creates a new subscription plan. TheplanCode in the response is what you pass when subscribing a customer — save it.
Sample response
Step 2 — List Plans
Retrieve a paginated list of all plans you have created. Useful for displaying available pricing tiers in your UI or confirming a plan exists before subscribing a customer.
Sample response
Step 3 — Get Plan Details
Retrieve the full details of a specific plan using itsplanCode.
Sample response
Step 4 — Update Plan Details (optional)
Update the editable properties of an existing plan. All body fields are optional — include only what you want to change. Fields you omit keep their current values.You can only update
name, description, trialPeriodDays, and billingLimit. The plan’s amount, currency, and interval cannot be changed after creation. To change pricing or frequency, create a new plan and use Change Plan to move active subscribers to it.
Updatable body parameters (all optional)
Sample response
Developer notes
- Always save
data.planCodefrom the Create Plan response — it is the only way to reference the plan when subscribing customers. - Plans are reusable across unlimited customers. Create a plan once and reference it for every customer who subscribes to that pricing tier.
amountandcurrencycannot be updated after a plan is created. If you need to change pricing, create a new plan and migrate existing subscribers using the Change Plan endpoint.- Setting
billingLimittonullor leaving it empty creates an unlimited recurring plan — the customer will be charged every billing cycle until cancelled. trialPeriodDays: 0means no trial — the first charge is attempted immediately when the subscription is created.- Plans can be filtered by
statuson the List Plans endpoint.ACTIVEplans are available for new subscriptions;ARCHIVEDplans can no longer accept new subscribers.
What’s next
Now that you have a plan and itsplanCode, you are ready to subscribe your first customer.
Create a Subscription
Enrol a customer’s card against a plan and start recurring billing.