What you can build on Paystack
Paystack, a Stripe company, operates in Nigeria, Ghana, South Africa, Kenya and Côte d'Ivoire, with payment channels that vary by country. Beyond one-off payments, its API covers the pieces most growing businesses eventually need.
- One-off checkout for stores, bookings, event tickets and invoices
- Subscriptions using Plans, with automatic renewals and emails, or your own billing logic charging saved card authorizations
- Dedicated virtual accounts so each customer gets a bank account number to pay into, matched automatically to their profile (availability depends on country and approval)
- Split payments with subaccounts, so a marketplace collects once and settles each vendor their share
- Transfers for payouts, refunds and commissions, with optional OTP or approval controls
- Payment pages and invoices for simple cases that need no code at all
The standard integration flow
A typical web or app checkout follows a simple pattern that is easy to get subtly wrong.
First, your server calls Initialize Transaction with the amount, email and a unique reference you generate. Amounts are sent in the currency's smallest unit, so 5,000 naira is sent as 500000 kobo, a frequent source of bugs. Paystack returns an access code and an authorization URL. The customer then pays either through the Popup on your page or by redirect to Paystack's hosted checkout.
When the customer returns, your server calls Verify Transaction with the reference and checks the status, amount and currency before giving value. In parallel, Paystack sends a charge.success webhook. We validate the x-paystack-signature header, an HMAC SHA512 of the request body using your secret key, and process each event only once, so a retried webhook never ships an order twice.
| Event | What the integration does |
|---|---|
| charge.success | Mark order or invoice paid, store the authorization code if the card is reusable |
| subscription.create and invoice events | Activate the plan, record renewals and flag failed charges |
| transfer.success, failed or reversed | Update payout status and alert finance on failures |
| refund events | Update the order and notify the customer |
Security and compliance
Paystack's Popup and hosted checkout collect card details on Paystack's side, which keeps your PCI-DSS scope light. Your secret key stays on the server; only the public key appears in browser or app code. We use separate test and live keys, whitelist webhook handling to the documented events, and never trust amounts sent from the client.
Your account needs to be activated for live payments with business documents. Some features, such as transfers and dedicated virtual accounts, need separate enablement, so we start that request early.
Timeline and what to prepare
A checkout with verification and webhooks usually takes one to two weeks. Subscriptions, split payments or a payout system typically take three to five weeks, including reconciliation reports.
- A Paystack business account, activated or in review
- Your countries, currencies and the channels you want enabled
- Product or plan details, including trial and cancellation rules
- For marketplaces: vendor bank details collection and payout schedule
Frequently asked questions
Does Paystack support international customers?
Paystack can accept international cards on accounts where that is enabled, subject to its review. Settlement is in the local currency of your Paystack country, so pricing and currency display need planning.
Can Paystack handle recurring billing for my SaaS?
Yes. You can use Paystack Plans and Subscriptions, or store the customer's authorization and charge it from your own billing logic when you need more control over proration and upgrades.
Do you work with Paystack in mobile apps?
Yes. We integrate Paystack into React Native, Flutter and native apps, with the transaction initialized and verified on your backend.
How much does a Paystack integration cost?
Checkout integrations start at $2,000 fixed price. Subscriptions, marketplaces and payouts cost more and are quoted after scoping.
Related
- Flutterwave Payment Integration for African and Global SalesLearn more →
- Payment Gateway Integration for Websites, Apps and SaaSLearn more →
- Subscription App Development With Billing Built In From Day OneLearn more →
- E-commerce Website DesignLearn more →
- Fintech App Development, From Compliance to LaunchLearn more →