Taking payments
Connect Paystack to your app
What is Paystack?
Paystack lets businesses in Nigeria, Ghana, Kenya, South Africa, Côte d’Ivoire and Egypt take payments online.
- What it costs
- Free to sign up, and test mode is free. Paystack takes a fee from each real payment — in Nigeria 1.5% + ₦100, capped at ₦2,000.
- Time needed
- About 10 minutes for test keys. Live keys need Paystack to check your business documents first, usually within a day.
- If you skip it
- Your app still works. Only taking payments stays off until you connect it.
What you can build with Paystack
How to get it, step by step
- Sign up at paystack.com. A new account starts in test mode.
- In the Dashboard, open Settings, then the API Keys & Webhooks tab. (In newer dashboards this may be under Developers.)
- Find API Configuration - Test Mode. Copy the Public Key.
- Press the eye icon next to the Secret Key, type your password, and copy it.
- When you are ready for real money: fill in every part of the Compliance page and press Activate Business. Once approved, switch to Live Mode and copy the keys under API Configuration - Live Mode the same way.
Which value goes in which box
- Public key
PAYSTACK_PUBLIC_KEYNot secret - The Public Key. It starts with pk_test_ (test mode) or pk_live_ (live mode). It is safe to show.
- Secret key
PAYSTACK_SECRET_KEYKeep private - The Secret Key, from the same mode as the public key. It starts with sk_test_ or sk_live_. This one is secret.
Watch out for
- Test keys never move real money. Going live means saving the live pair too.
- Both keys must come from the same mode — never mix a pk_test_ key with an sk_live_ key.
- The secret key is secret. Keep it private, like a password.
- Making new secret keys replaces the old ones, so update BooDoo the same day.