Skip to content

M-PESA PAYMENTS FOR BUSINESS SOFTWARE

M-Pesa payments, without the integration headache.

A practical payment gateway for collecting payments, tracking outcomes, and keeping transaction records in order.

Merchant-aware integrations Callback-backed outcomes
PAYMENT

STK Push

Illustration
AmountKES 1,000
Phone number254 7XX XXX XXX
  1. Payment request sentWaiting for provider response
  2. Provider callbackExample state · not live
  3. Payment status updatedBased on available provider evidence

Sample interface only — no live payment is shown.

Payment records

Preview
DateAmountState
28 Oct · 10:44KES 1,000Example
28 Oct · 09:21KES 2,500Example
27 Oct · 16:32KES 980Example
27 Oct · 11:07KES 3,200Review

Illustrative records, not connected data.

Callback visibilityUnderstand the provider event your integration received

Payment examples are illustrative only · Current capabilities and limitations are documented

WHAT YOU CAN DO

Everything you need to connect M-Pesa payments to your product.

STK Push

Initiate an M-Pesa payment request from your application and track its reported outcome.

C2B callbacks

Receive supported customer-to-business callbacks for a connected merchant when C2B is configured.

Clear payment states

Distinguish an accepted request from a payment outcome supported by provider evidence.

Payment records

Use callback and payment-event records to support your own reconciliation workflow.

Some Daraja capabilities require extra configuration. Check the API overview for current support and limits.

FOR DEVELOPERS

Clean integration. Clearer payment outcomes.

Build M-Pesa payment flows around a documented request, a merchant integration, and callback-backed status updates.

Explore developer resources
request-example.pyILLUSTRATIVE
# Request shape only — check the current API docs
response = requests.post(
    api_url,
    json={
        "amount_minor": 250000,
        "phone_number": "07XXXXXXXX",
        "client_reference": "ORDER-1048",
    },
    headers=auth_headers,
)
Conceptual example — follow the API overview for the current contract.

BUILT FOR REAL WORKFLOWS

Practical payment infrastructure for Kenyan businesses.

Whether you are building a shop system, pharmacy POS, restaurant platform or online store, NetPay is designed to connect merchant M-Pesa integrations to the software your business runs on.

Know what happenedSeparate request acceptance from callback-backed outcomes.

Work with payment eventsUse callback and event records to support your own workflows.

Built around merchant integrationsEach connected merchant supplies their own Daraja credentials.

YOUR NEXT STEP

Have an M-Pesa use case in mind?

Explore the current API or tell us what you are building.

Get started Why NetPay