Providers
A business can connect any number of provider accounts — one per M-Pesa Paybill/Till, Airtel Money merchant number, or Paystack account. Your code never has to branch on which one handled a given payment; instead, each account publishes a capability set so you can check what it supports rather than assume every provider does everything:
{
collection: { push: true, pull: false, recurring: false, refund: true },
disbursement: { single: true, bulk: true, balanceQuery: true },
statusQuery: true,
webhookSignature: "hmac",
currencies: ["KES"],
limits: { minMinor: "1000", maxMinor: "15000000" },
requiresCustomerPhone: true,
requiresCustomerEmail: false,
disputes: false,
}Current capability matrix
| Capability | M-Pesa | Airtel Money | Paystack |
|---|---|---|---|
| Collect via phone prompt (push) | Yes | Yes | — |
| Collect via card / bank / M-Pesa without your own Daraja creds | — | — | Yes (hosted checkout or Payment Link) |
| Recurring billing with no repeated approval | Yes (M-Pesa Ratiba standing order — one PIN prompt, then automatic) | — | Yes (stored card charge — one checkout, then automatic) |
| Send payouts (B2C) | Yes | Yes | — |
| Bulk payouts | Yes | Yes | — |
| Refunds | Yes | Varies | Yes |
| Disputes | — | — | Yes |
This matrix reflects what’s wired up today, not a permanent limitation of any provider. Check a
specific account’s capabilities before assuming — a newly connected account may differ.
Collecting through Paystack
Paystack collection (cards, bank transfer, and M-Pesa without needing your own Daraja credentials) is a hosted checkout: the customer chooses how to pay on Paystack’s page. You can start one two ways:
payments.collect()with anemailand no phone — returns acheckoutRedirectUrl; send the customer there.- A Payment Link created in the dashboard, for customers you don’t have an email for yet. See the Merchant Guide’s Getting Paid page.
A collect() with a phone number goes down the mobile-money-push path (M-Pesa or Airtel) instead,
because that is the only rail that can prompt a handset. It never silently becomes a Paystack
charge.
Testing each rail
| Provider | Test mode |
|---|---|
| M-Pesa | Yes — a KES 10 prompt verifies your phone, then test payments run on our test line. See Testing. |
| Airtel Money | No test mode. Connect real credentials when you’re ready. |
| Paystack | Yes — add your own sk_test_ keys as a Payment Method. |