Daraja 3.0 supported · Sandbox & Live

M-Pesa payments, done right.

One REST endpoint to trigger STK Push, auto-settle funds, and receive real-time webhooks. No SDK. No boilerplate. Just clean JSON.

No setup feesSandbox includedGo live in minutesHMAC-signed webhooks

1.5%

Platform fee

<2s

STK latency

99.9%

API uptime

KES 0

Setup cost

Developer experience

One endpoint. Money in seconds.

POST a request. Your customer gets a prompt on their phone. You get paid and notified via webhook. That's the whole flow.

terminal
$ curl -X POST https://obedgateway.com/api/v1/stk-push \
    -H "Authorization: Bearer mpg_live_xxxxxxxx" \
    -H "Content-Type: application/json" \
    -H "Idempotency-Key: order-5521-attempt-1" \
    -d '{ "amount": 1000, "phone": "254712345678", "reference": "ORDER-5521", "description": "T-shirt purchase"}'# ✓ Response{
  "success": true,"transaction_id": "txn_8f3a2b9cde","status": "pending","net_amount": 985,"poll_url": "/api/v1/transactions/txn_8f3a2b9cde"}}
Everything you need

Built for production.

All the primitives developers expect — secure, observable, and ready to scale from first transaction to millionth.

STK Push

Trigger the M-Pesa payment prompt on any Safaricom number with a single REST call.

Auto payouts

Funds settle to Paybill, Till, or Bank automatically — no manual transfers ever.

Real-time webhooks

HMAC-signed events for payment.success, payment.failed, and payout events.

Secure by default

API keys hashed at rest. Webhook payloads HMAC-SHA256 signed. RLS on every table.

Test mode

Full sandbox with test keys, isolated data. Flip to live in one click.

Developer first

Plain REST. JSON in, JSON out. No SDK lock-in. Works with any backend stack.

Payment links

Shareable hosted checkout pages. No code needed — share a URL, collect money.

Dashboard analytics

Real-time transaction dashboard, API key management, and payout account tracking.

Idempotency

Safe retries via Idempotency-Key header — duplicate requests are deduplicated automatically.

Pricing

Simple, transparent.

No monthly fees. No setup costs. Pay only when you process.

Sandbox

Free

forever

Development & testing

Most popular

Growth

1.5%

per transaction

Live payments · Webhooks · Links

Enterprise

Custom

contact us

Volume discounts · SLA · Dedicated support

Start accepting payments today.

Create an account, add your payout destination, and process your first live payment in under five minutes.