M-Pesa STK Push API

Collect M-Pesa payments into any till, paybill or bank account.

Link your Buy Goods till, paybill or bank account, get your API keys, and send STK push requests with one call. Every payment is tracked on your dashboard and pushed to your server in real time.

POST https://norvionsolution.com/v1/stkpush

{
  "account_id": "NRVJZ4D3TJZS8",
  "secret_key": "sk_••••••••",
  "phone": "0712345678",
  "amount": 1500,
  "reference": "INV-1001"
}

→ 200 OK
{
  "success": true,
  "data": {
    "transaction_request_id": "TRX260924LH9GZ2DQFR",
    "status": "pending"
  }
}

Everything you need to get paid

One integration for every kind of M-Pesa collection account.

Tills, paybills and banks

Link as many accounts as you need. Payments go straight to the number you link.

Instant STK push

The customer gets the M-Pesa PIN prompt on their phone. No paybill numbers to type.

Real-time webhooks

Results are sent to your server as soon as Safaricom confirms, signed and retried automatically.

Status checks

Missed a callback? Check any payment with its transaction request ID at any time.

Dashboard and reports

See every transaction, filter by account, status or date, and export to CSV.

Secure by default

Per-account secret keys, signed webhooks and key rotation from the dashboard.

How it works

Create an account

Register with your email and log in to your dashboard.

Link your till, paybill or bank

You get an account ID and secret key for each one you link.

Send STK pushes

Call /v1/stkpush from your app, or request payments from the dashboard.