Add MTN Mobile Money API Adapter
Description:
We're looking to expand EasySwitch's capabilities by adding support for MTN Mobile Money payments. This will enable developers to seamlessly integrate with one of Africa's largest mobile money platforms through our unified SDK.
Key Integration Points Needed:
- ✅ MTN Mobile Money API authentication
- ✅ Send payment requests
- ✅ Check transaction status
- ✅ Handle webhook notifications
- ✅ Process refunds (where supported)
Expected Behavior:
# Example of ideal usage:
response = await client.send_payment(
provider="mtn",
amount=1000,
phone_number="233541234567", # MTN Ghana number format example
currency="GHS",
reference="order_123"
)
Technical Requirements:
- Base API URL:
https://api.mtn.com/v1/ (sandbox available)
- Auth: API Key + OAuth2
- Required endpoints:
/collection/request-to-pay
/disbursement/transfer
/transaction/status
Resources for Contributors:
Contribution Guide:
- Fork the repository
- Create new branch:
feat/mtn-adapter
- Implement in
easyswitch/adapters/mtn.py
- Add comprehensive tests
- Submit PR referencing this issue
This is a great opportunity to:
- Work with real-world payment APIs
- Contribute to a growing open-source project
- Get your work used by developers across Africa
Would you like to take this on? Comment below to claim the issue!
Labels: good first issue, enhancement, help wanted
Add MTN Mobile Money API Adapter
Description:
We're looking to expand EasySwitch's capabilities by adding support for MTN Mobile Money payments. This will enable developers to seamlessly integrate with one of Africa's largest mobile money platforms through our unified SDK.
Key Integration Points Needed:
Expected Behavior:
Technical Requirements:
https://api.mtn.com/v1/(sandbox available)/collection/request-to-pay/disbursement/transfer/transaction/statusResources for Contributors:
Contribution Guide:
feat/mtn-adaptereasyswitch/adapters/mtn.pyThis is a great opportunity to:
Would you like to take this on? Comment below to claim the issue!
Labels:
good first issue,enhancement,help wanted