Kopokopo or Safaricom Daraja: which should you connect?
An honest comparison of the two M-Pesa integration routes, from someone who has implemented both.
Updated 21 August 20265 min read
If you want a customer to get an M-Pesa prompt on their phone rather than reading a paybill number off a screen, you need one of two things: a direct Safaricom Daraja integration, or a payment service provider like Kopokopo sitting in front of it. ClusterBox supports both, and the choice matters less than people expect.
Here is what actually differs.
The short version
| Safaricom Daraja | Kopokopo | |
|---|---|---|
| What it is | Safaricom's own API, direct to M-Pesa | A payment provider that sits in front of M-Pesa |
| You need | Paybill or till, plus a Daraja developer app | A Kopokopo account and till |
| Credentials | Consumer key, consumer secret, passkey | Client ID, client secret, API key |
| Extra setup step | Register C2B — registers your callback URLs with Safaricom | Subscribe Webhook — subscribes us to your payment events |
| Who you contact when it breaks | Safaricom | Kopokopo support |
| Paybill vs till | Both supported — you pick the transaction type | Till-based |
Choose Daraja if
- You already have a paybill and customers know the number.
- You want the money to land in your own M-Pesa shortcode with nothing in between.
- You are comfortable creating a developer app and copying three credentials out of a portal.
- You need Paybill specifically — Daraja supports both paybill and Buy Goods tills.
Daraja is the more direct route. The trade is that Safaricom's developer portal is a developer portal — the passkey is in a different place from the consumer secret, sandbox and production credentials look identical, and the error messages assume you know the platform.
Choose Kopokopo if
- You are already a Kopokopo merchant and settle through them today.
- You would rather deal with a support team than a developer portal.
- You want the dashboard and reporting Kopokopo provides on top of the raw transactions.
Kopokopo's setup has fewer sharp edges — three credentials and one Subscribe Webhook action, and their support answers questions about your own account, which Safaricom's developer support generally will not.
What is the same either way
Once connected, the experience inside ClusterBox is identical. You open an order, choose the provider, enter the amount and the customer's number, and they get the prompt. The order moves to paid on its own. If you connect both, you pick which one to use at the moment you collect.
In both cases the money goes to your account, not ours. ClusterBox holds no funds and never sits between you and your customer's payment — you connect your own provider credentials, and your provider settles to you exactly as they do today.
Can I connect both?
Yes, and there are reasonable arguments for it. Some businesses keep a paybill for regular customers who already know the number, and use a till for walk-ins. Others connect a second provider as a fallback for when one has a bad day. When you collect a payment, you choose which provider to use, so there is no ambiguity.
If you are not sure which to start with, start with whichever you already have an account for. The setup is short enough that switching later is not a big deal, and connecting the second one does not disturb the first.
Frequently asked questions
Does ClusterBox charge a fee on payments?
No. You connect your own Safaricom or Kopokopo credentials and the money settles to your account. ClusterBox never holds funds and takes no cut of a transaction — your provider's own charges are the only ones involved.
Can I use both Kopokopo and Daraja at the same time?
Yes. You can connect more than one provider and choose which to use each time you collect a payment.
Which is easier to set up?
Kopokopo has slightly fewer sharp edges — three credentials and one webhook subscription. Daraja needs a developer app and a passkey that lives separately from the consumer secret, which is the step people most often miss. Neither takes long once you have the credentials.
Do I need a paybill, or is a till enough?
Either works with Daraja — you choose Paybill or Till (Buy Goods) when configuring it, and it must match what Safaricom issued you. Kopokopo is till-based.
What happens if my provider is down?
The payment request fails and the order stays unpaid, so nothing is recorded that did not happen. You can retry, or record the payment manually if the customer pays another way.
Want a hand with any of this?
We set this up with businesses most weeks and can usually do it with you in about ten minutes. Message us on WhatsApp, or email hello@clusterbox.co.
Chat with us on WhatsAppMore guides
How to set up M-Pesa STK push for your business
Connect your own paybill or till, and collect payment from inside an order — the customer taps their PIN, and you see it settle.
Use the WhatsApp Business API without giving up your number
You no longer have to choose between the WhatsApp Business app and a proper team inbox. Coexistence gives you both, on the same number.