Escrow infrastructure for your platform
One API adds buyer-and-seller protection to your marketplace, store or app — M-Pesa payments held until delivery, with SMS & WhatsApp notifications built in. Your users never create accounts.
Instant test keys
Register, verify your email, and get a sandbox key immediately — no sales call, no waiting. Test transactions never touch real money.
No accounts for your users
Buyers and sellers get secret escrow links — they pay, track and confirm without ever registering. You keep them in your flow.
Notifications built in
Both parties get SMS & WhatsApp updates at every step, plus signed webhooks to your endpoint — disputes and deadlines included.
From test key to live in three steps
Register & get a test key
Self-serve signup, email verification, instant ke_test_ key. Simulate payments against real endpoints.
Integrate
POST /api/v1/transactions returns a buyer payment link and seller tracking link. Webhooks keep your system in sync.
Verify & go live
Submit your business details for review — registered or individual. Approved accounts get a ke_live_ key.
API at a glance
POST /api/v1/transactions → create escrow, get buyer + seller links
GET /api/v1/transactions/{id} → live status
GET /api/v1/transactions → list your transactions
POST /api/v1/test/transactions/{id}/simulate-payment → sandbox state changes
Auth: Authorization: Bearer ke_test_xxx · Idempotency-Key supported
Webhooks: transaction.paid / .released / .disputed / .expired / .refunded (HMAC-signed)
Limits: seller receives up to KSh 240,000 per transaction (buyer total within the KSh 250,000 M-Pesa limit). Same transparent escrow fee as the public site.