Getting Started
Welcome to the comprehensive MegaPay API documentation. This guide will help you understand how to integrate our payment and SMS services into your applications. Our APIs are designed to be developer-friendly with clear documentation and practical examples.
MegaPay offers multiple services:
- Mpesa Integration: STK Push payments and transaction status checking
- Wallet Services: Fund management and instant withdrawals
- Webhooks: Real-time notifications for your applications
To get started with our API integration, you need an API Key. To obtain one:
- Login to your MegaPay Account
- Navigate to Linked Accounts and copy your API Key
- If you see "no data", go to Account Setup and link your Till, Paybill, or Bank Account
- You'll then be redirected to Linked Accounts where you can get your API Key