EasyPay Provider API Reference
EasyPay is a fast, Uganda-focused mobile money provider that specializes in MTN and Airtel Money transactions. Known for its quick processing times and high success rates, EasyPay is optimized for the Ugandan market.Provider Configuration
Basic Configuration
Advanced Configuration
Configuration Options
EasyPayConfig
Interface
Supported Features
Uganda-Focused Support
Network | Currency | Min Amount | Max Amount | Processing Time |
---|---|---|---|---|
MTN Mobile Money | UGX | 500 (5 UGX) | 5,000,000 (50,000 UGX) | 5-15 seconds |
Airtel Money | UGX | 500 (5 UGX) | 3,000,000 (30,000 UGX) | 10-30 seconds |
Phone Number Formats
EasyPay-Specific Methods
Direct Provider Access
Network Optimization
Fast Processing
Response Formats
EasyPay Collection Response
Status-Specific Data
Error Codes
EasyPay-Specific Errors
Webhook Integration
EasyPay Webhook Format
Webhook Verification
Advanced Features
Priority Processing
Transaction Batching
Network Status Monitoring
Testing with EasyPay
Sandbox Environment
Test Phone Numbers
Testing Scenarios
Performance Features
Response Time Optimization
Caching and Optimization
Rate Limits
API Rate Limits
Environment | Requests per minute | Concurrent requests | Burst limit |
---|---|---|---|
Sandbox | 200 | 20 | 50 |
Production | 2000 | 100 | 200 |
Handling Rate Limits
Best Practices
Performance Optimization
- Use Instant Confirmation: Enable for time-critical transactions
- Monitor Network Status: Check network health before processing
- Batch Operations: Use batch processing for multiple transactions
- Cache Network Detection: Cache network detection results
- Optimize Timeout Settings: Set appropriate timeouts for Uganda networks
Error Handling
- Implement Retries: Retry failed transactions with exponential backoff
- Handle Network Outages: Gracefully handle temporary network issues
- Monitor Success Rates: Track success rates by network
- Use Fallback Logic: Implement fallback to other providers if needed
Security
- Secure API Keys: Store API keys securely in environment variables
- Validate Webhooks: Always verify webhook signatures
- Log Transactions: Maintain detailed logs for audit and debugging
- Rate Limiting: Implement client-side rate limiting
Integration Tips
- Test Both Networks: Test thoroughly with both MTN and Airtel
- Handle Peak Times: Account for network congestion during peak hours
- User Experience: Provide clear status updates during processing
- Compliance: Follow Uganda’s financial regulations and guidelines
- Customer Support: Implement clear error messages and support channels