DARAJA 2.0 PROTOCOL|
● 99.99% UPTIME
FEATURED CLIENT DEMO • SELF-PROMPTING FLOW

Self-Prompting M-Pesa Checkout

Experience how modern apps like Uber, Bolt, and leading e-commerce platforms prompt customer phones. Enter a phone number, dispatch an instant STK Push, and watch live SIM Toolkit prompting with acoustic settlement chimes.

LIPA NA M-PESA DARAJA 2.0 MICROSERVICE

M-Pesa Payment Gateway Service

Configure your Safaricom credentials once. Trigger M-Pesa STK prompts, query payment statuses, and receive verified webhooks from any of your external applications.

Sandbox Testbed
Credentials Missing
Configure Keys

Your Service API Key

Manage Keys
No API key generated
http://localhost:3000/api/v1
Target Shortcode: 174379 | Protocol: Paybill
Active Key ID: #1 (Full Access)✓ RATE LIMIT: 120 RPM

Call Service from Your Apps

curl -X POST "http://localhost:3000/api/v1/payments/stk-push" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "phone": "0712345678",
    "amount": 500,
    "reference": "ORDER-101",
    "description": "Store Purchase",
    "webhook_url": "https://my-backend.com/api/payment-callback"
  }'
Dispatches STK PIN prompt directly to customer handset.View Full API Docs & Webhook Schemas →
TESTBED & EMULATOR

Interactive Service Playground

Send a test payment through your service endpoint to verify handset prompting

Duniven forwards the final Safaricom resolution payload here

Playground Ready

Enter test parameters on the left and dispatch. You will see the live HTTP request, Safaricom gateway handshake, and handset PIN status in real time.

Status Polling: GET /api/v1/payments/:idInterval: 1,500ms
REAL-TIME TELEMETRY

Live API Traffic & Webhook Ledger

TimeCheckout IDPhoneAmountReferenceStatusM-Pesa ReceiptRaw Payload
No API payment transactions recorded yet. Use the playground above or call the endpoint from your service.