Getting Started
Pesastream is Africa's API-first payment platform that makes accepting M-Pesa payments simple. With just a few lines of code, you can integrate M-Pesa payments, send payouts, and build financial products for your users.
Quick Start
Install the SDK:
npm install @pesastream/sdk
Then initialize and make your first payment:
const payment = await pesastream.charge({
amount: 2500,
currency: 'KES',
phone: '+254712345678'
});API First Design
RESTful API built for developers with comprehensive documentation
Fast Integration
Get up and running in minutes with clear code examples
Secure & Reliable
Bank-grade security with real-time payment processing
What's Next?
Ready to dive in? Head to the installation guide or explore the API reference.
Go to Installation