Create Customer, Plan and Subscription
A 3-step recipe with Paystack. We can help you get access.
Recipe · 3 steps
Create Customer, Plan and Subscription
with Paystack · Customer Data Management
Stand up recurring billing by chaining customer, plan and subscription creation.
- Create the customer who will be subscribed to the plan.
- Create the recurring plan with the supplied amount and interval.
- Subscribe the newly created customer to the newly created plan so Paystack manages the recurring charges.
What you'll need to have ready
- email: Customer's email address.
- first_name: Customer's first name.
- last_name: Customer's last name.
- planName: Name of the billing plan.
- amount: Plan amount in the smallest currency unit (kobo/pesewas/cents).
- interval: Billing interval (daily, weekly, monthly, biannually, annually).
- currency: Currency in which the plan amount is set (NGN, GHS, ZAR or USD).
For your developer
Arazzo workflow paystack:create-customer-plan-and-subscription, 3 operations: customer_create → plan_create → subscription_create. Specs on APIs.io.