DarajaPay Developer API Documentation
Welcome to the DarajaPay Developer API Documentation. Follow this guide to integrate DarajaPay's payment solutions into your applications.
Quick Start Guide
1
Create Account
Sign up for an DarajaPay account and verify your email
2
Get API Credentials
Generate your API keys from the dashboard
3
Choose Integration Method
Select your preferred integration method:
- • M-PESA STK Push Integration
- • Direct API Integration
- • Payment Button
- • WooCommerce Plugin
Payment Processing
- • M-PESA STK Push
- • Service Wallet Management
- • Payment Button Integration
- • Transaction Status Tracking
Wallet Management
- • Service Wallet Balance
- • Payments Wallet Balance
- • Wallet Top-up
- • Transaction History
Available API Endpoints
| Endpoint | Method | Description |
|---|---|---|
| https://darajapay.com/api/v1/mpesa/stkpush/ | POST | Initiate M-PESA STK Push payment |
| https://darajapay.com/api/v1/payments/direct/ | POST | Process direct payments |
| https://darajapay.com/api/v1/wallet/service/balance/ | GET | Get service wallet balance |
| https://darajapay.com/api/v1/wallet/payments/balance/ | GET | Get payments wallet balance |
| https://darajapay.com/api/v1/wallet/service/topup/ | POST | Top up service wallet |
| https://darajapay.com/api/v1/transactions/ | GET | Get account transactions |
| https://darajapay.com/api/v1/transaction/status/{transaction_id}/ | GET | Get transaction status |