Finance
M-Pesa Setup
Set up Safaricom's Daraja API to accept M-Pesa STK push payments from your Kenyan subscribers.
You need a Safaricom Daraja developer account. Register at developer.safaricom.co.ke.
1
Create a Daraja App
Log in to developer.safaricom.co.ke → My Apps → Create a new app.
- Enable Lipa Na M-Pesa Online (STK Push)
- Note your
Consumer KeyandConsumer Secret
2
Go Live on Daraja
Apply for Go Live on the Daraja portal. Safaricom approves within 24-48 hours.
You need your Safaricom Business Shortcode (Paybill/Till) and Passkey from Go Live.
3
Enter Credentials in VillageHub
Admin Panel → Settings → Payment Integration. Fill in:
Consumer KeyFrom your Daraja appConsumer SecretFrom your Daraja appBusiness ShortcodeYour Paybill / Till numberPasskeyFrom Go Live processM-Pesa is live!
Subscribers can now pay via M-Pesa STK push. Payments process instantly and packages activate automatically.