Skip to Content
ProvidersPaystack

Paystack

Paystack lets you accept cards, bank transfer, and M-Pesa payments without needing your own Safaricom Paybill/Till or Daraja credentials — Paystack is the merchant of record for M-Pesa on your behalf. This is the right choice if you don’t have (or don’t want to manage) your own M-Pesa business account.

Paystack is a hosted checkout: the customer picks card, bank transfer, or M-Pesa on Paystack’s page. Start one with payments.collect() and an email (no phone) — VectaPay returns a checkoutRedirectUrl — or create a Payment Link in the dashboard.

What’s different about this rail

  • Fees: Paystack charges its own transaction fee on top of whatever VectaPay charges — check your Paystack dashboard for the current rate for Kenya.
  • M-Pesa via Paystack is still asynchronous. Even though Paystack is the merchant of record, the underlying STK push behaves the same way — the customer still has to enter their PIN.
  • 150,000 KES per-transaction cap on M-Pesa charges applies here too — it’s a Safaricom-wide limit, not specific to how you’re integrated.

Test keys

Paystack is the only provider whose test mode is a credential pair you own, so it is the only provider where VectaPay stores a test payment method. Add a Paystack account with your test keys (sk_test_…) in Payment Methods and the wizard detects the prefix automatically — there is no separate sandbox switch.

What a Paystack test account can do:

  • Back a payment link — a test link that customers can open and pay on, but that can never take real money.
  • Accept a hosted-checkout collect() with an email and no phone.

What it can’t do: receive M-Pesa prompts in test mode. Those always run on our own M-Pesa test line to your verified phone — see Testing.

Disputes

Paystack is currently the only rail with dispute records surfaced through the API — see vectapay.disputes.

Last updated on