M-Pesa Paybill / Till Setup
To accept M-Pesa payments through Slade Advantage, you need an active Safaricom Paybill or Till (Buy Goods) shortcode and Daraja API credentials from the Safaricom Developer Portal.
If you already have a Paybill or Till shortcode, you can skip ahead to Step 2: Get Your Daraja API Credentials.
Step 1: Apply for a Paybill or Till
Documents Required
Prepare all of the following before submitting your application. All documents must be stamped.
- Paybill Application Form (or Till Application Form)
- Tariff Guide
- Account Opening Form
- Admin Account Creation Form
- Administrator Letter
- Bank letter or cancelled cheque (must be signed or stamped by your bank)
- KRA PIN Certificate
- Copy of ID or Passport of the business owner / authorized signatory
Application Methods
Option A — M-PESA Business Portal (Recommended)
- Go to the M-PESA Business Portal and create or log in to your account.
- Navigate to the application section for Paybill or Till.
- Upload all required documents as PDFs.
- Submit the application.
Processing time is typically within 72 hours.
Option B — Email
- Compile all required documents into a single PDF.
- Send the email to M-PESABusiness@safaricom.co.ke with a CC to paybill@safaricom.co.ke.
- Use the subject line:
Paybill ApplicationorTill Application. - Include your business contact details in the email body.
Once approved, Safaricom will issue you a shortcode (e.g., 123456). Keep this — it is required when configuring Slade Advantage.
Step 2: Get Your Daraja API Credentials
With your shortcode issued, you can now obtain API credentials from the Safaricom Developer Portal.
2.1 — Create a Developer Account
- Go to https://developer.safaricom.co.ke.
- Register for a developer account using your business email address.
- Verify your email and log in.
2.2 — Create an App
- In the portal, navigate to My Apps and click Create App.
- Give the app a descriptive name (e.g.,
Slade Advantage Production). - Enable the APIs your integration requires:
- M-Pesa Express (STK Push) — for initiating payment prompts
- C2B — for receiving payments on your Paybill/Till
- B2C (optional) — for sending money out
2.3 — Retrieve OAuth Credentials
From the app details page, copy and securely store:
| Credential | Description |
|---|---|
| Consumer Key | Your client ID for OAuth 2.0 authentication |
| Consumer Secret | Your client secret — treat this like a password |
2.4 — Retrieve Your PassKey
- Sandbox: Available directly in the portal under your test app credentials.
- Production: Safaricom sends your PassKey via email after your Paybill/Till application is approved.
2.5 — Generate a Security Credential (B2C / B2B only)
If your integration requires B2C or B2B transactions:
- In My Apps, open the dropdown for your app and select Test Credentials.
- Use the portal to generate an encrypted security credential.
- For production, encrypt your M-Pesa API Initiator password using Safaricom's public certificate.
Credentials Summary
Once you have completed the above steps, you should have:
| Credential | Where to Find It |
|---|---|
| Shortcode | Issued by Safaricom after Paybill/Till approval |
| Consumer Key | Safaricom Developer Portal → My Apps |
| Consumer Secret | Safaricom Developer Portal → My Apps |
| PassKey | Portal (sandbox) / Email from Safaricom (production) |
| Security Credential | Generated in the portal (B2C/B2B only) |
If you run into any issues during the application or credential setup process, reach out to Safaricom support at M-PESABusiness@safaricom.co.ke.
Additional References:

