M-Pesa Daraja API Integration

Seamlessly integrate M-Pesa payments into your business applications. Accept payments, send money, and manage transactions with ease.

Key Features

STK Push

Send payment requests directly to customer phones. Instant payment prompts with PIN entry.

C2B Payments

Accept payments from customers to your PayBill or Till number with validation and confirmation.

Real-time Status

Query transaction status in real-time. Track payment progress and get instant callbacks.

Secure & Reliable

Built with security best practices. Comprehensive logging and error handling included.

Live Demonstration

Test our M-Pesa integration capabilities in real-time

STK Push - Lipa Na M-Pesa

Most Popular

Initiate a payment request to a customer's phone number.

Format: 254712345678 or 0712345678

Transaction Status Query

Check the status of a previous STK Push transaction.

Obtained from STK Push response

Access Token Generation

Test API authentication by generating an access token.

C2B URL Registration

Register validation and confirmation URLs for C2B payments.

C2B Payment Simulation

Sandbox Only

Simulate a customer payment to your business number.

Transaction Logs

View detailed logs of all API requests and responses.

Testing Information

Environment: Sandbox
Test Phone Numbers: 254708374149, 254712345678
Test Amounts: 1 - 70,000 KES
Shortcode: 174379 (Sandbox)