r/fintechdev • u/Upper_Maize3578 • 27m ago
I open-sourced Cosmic Payment – A cross-border payment gateway engine for Africa
Hey everyone! I just open-sourced Cosmic Payment, a open-source cross-border payment gateway platform built in Node.js and TypeScript. It combines card processing (Stripe), automatic FX conversion, and payouts directly to major African mobile money wallets (M-Pesa, MTN MoMo, Airtel, Orange, Wave). Managing fragmented mobile money APIs and FX logic across different countries can be tough, so I built this modular engine to unify everything behind a single, clean API layer.
Check out the repository on GitHub:github.com/EmmanuelMunanka38/cosmic-payement-engine. It features multi-currency wallets, provider auto-detection via phone prefixes, optimistic locking, idempotent transactions, and a sandbox environment for easy local testing. I’d love to get feedback, stars , or contributions for new mobile money adapters!