Pay Lume Logo Pay Lume

The Modern M-Pesa Payment Gateway & API Infrastructure.

Empower your website, e-commerce store, or mobile application to process instant Safaricom M-Pesa STK Push prompts, shareable payment links, Till & PayBill payments, and signed webhooks.

rocket_launch Get Started Free login Sign In to Portal
cell_tower Interactive M-Pesa STK Push Simulator
Sandbox Simulator

Test triggering a real M-Pesa STK Push prompt preview directly from this landing page.

09:41
signal_cellular_alt wifi battery_full
smartphone SIM Toolkit — M-Pesa
Do you want to pay KES 500.00 to Pay Lume for Account Ref: DEMO-ORDER?
Enter M-Pesa PIN: ● ● ● ●
99.98%
System Uptime SLA
< 250ms
Callback Dispatch Speed
0%
Transaction Commission
256-bit
HMAC Signed Webhooks

Built for High Performance & Financial Reliability

Everything software engineers, businesses, and financial operations require for M-Pesa payment processing.

bolt

Express STK Push Engine

Initiate instant Daraja STK Push payment prompts directly to any customer's M-Pesa phone number with real-time status updates.

link

Dynamic Payment Links

Generate hosted, shareable payment links for WhatsApp, invoices, and social commerce with automated payment verification.

webhook

HMAC-SHA256 Webhooks

Receive cryptographically signed JSON webhooks instantly when payment callbacks settle. Complete tamper-proof payload validation.

shield_lock

Zero-Token Protection

Financial-grade atomic locks ensure token reservation occurs safely, and credits are consumed ONLY upon verified callback success.

storefront

Till & PayBill Integration

Seamlessly link your Safaricom C2B Till or PayBill shortcodes with passkey credentials for automated payment settlement.

receipt_long

Complete Audit Ledger

Every token grant, purchase, and payment charge is immutably logged with previous and updated balance records in an audit trail.

How Pay Lume Works

Get started in 4 simple steps and start accepting M-Pesa payments in minutes.

1

Sign Up & Get Started

Create a merchant account to start processing M-Pesa payments with zero setup fees.

2

Generate API Key

Obtain production API credentials with custom permissions, webhook signature keys, and IP whitelisting.

3

Dispatch Payment Request

Send a clean JSON request to trigger an STK Push prompt or create a dynamic hosted payment link.

4

Receive Signed Callback

Your server receives a signed HMAC webhook payload, and 1 token is consumed ONLY upon verified success.

Developer-First Integration

Clean REST APIs with native code examples for your favorite programming language.

// POST /api/v1/stk/push curl -X POST "https://pay.lume.co.ke/api/v1/stk/push" \ -H "Authorization: Bearer pf_live_99a8b7..." \ -H "Content-Type: application/json" \ -d '{ "phone_number": "254712345678", "amount": 500, "reference": "ORDER-9921", "description": "Payment for E-Commerce Order" }'

Transparent Pay-As-You-Go Token Pricing

No rigid subscription tiers or package locks. Enter any custom quantity of tokens (1 KES = 1 Token).

Interactive Token Estimator

Test any token quantity below. Tokens never expire and 1 token is charged only when an M-Pesa transaction callback completes successfully.

TOKENS
Calculated Price
KES 1,000.00
(KES 1.00 / token — Flat Rate (1 KES = 1 Token))
Get Started Free

Frequently Asked Questions

Got questions about Pay Lume? Find quick answers below.

How do Service Tokens work? expand_more
Service tokens are prepaid credits used to process M-Pesa transactions (1 KES = 1 Token). Each successful M-Pesa payment callback consumes exactly 1 token. Tokens never expire and are credited immediately upon purchase.
What happens if an M-Pesa payment fails or is cancelled? expand_more
Thanks to our Zero-Token Protection system, tokens are reserved temporarily during the push prompt and released immediately if the user cancels or the transaction fails. No token is lost on failed attempts.
Can I use my own Till or PayBill shortcode? expand_more
Yes! Pay Lume allows you to link your custom Safaricom C2B Till or PayBill shortcode directly inside your settings portal using your own consumer keys and passkeys.
How are webhooks secured? expand_more
Every webhook notification sent by Pay Lume includes an `X-PayLume-Signature` HTTP header computed using HMAC-SHA256 with your account's secret webhook signing key. This prevents tampering and replay attacks.
Do I need a credit card or contract to start? expand_more
No! Registration is completely free with no setup fees or monthly commitment required.

Ready to Modernize Your M-Pesa Payments?

Join developers and high-growth Kenyan businesses taking control of their M-Pesa infrastructure.

rocket_launch Create Merchant Account Now