M-Pesa STK Ruby Gem Updated to 2.0.0 with 11 New Endpoints

This title was summarized by AI from the post below.
View profile for Mboya Berry

Ignite Energy Access680 followers

🎉 7 Years Later: Major Update to M-Pesa STK Ruby Gem 🎉 Back in 2018, I started building a simple Ruby gem to integrate M-Pesa STK Push payments. It was born out of frustration with the complexity of integrating Safaricom's APIs - I wanted something simple, clean, and Ruby-friendly. What started as a weekend project to solve my own problem has grown into something much bigger. Today, I'm excited to announce version 2.0.0 - a complete overhaul that transforms the gem from a simple STK Push tool into a comprehensive M-Pesa API integration library! 🚀 What's New in 2.0.0: ✨ 11 New API Endpoints: • Transaction Status Query • STK Push Query • B2C & B2B Payments • C2B Registration & Simulation • Account Balance Query • Transaction Reversal • M-Pesa Ratiba (Standing Orders) • IoT SIM Management & Messaging • IMSI/SWAP Operations • Pull Transactions, Which are compatible with #Daraja3 📚 Comprehensive Documentation: • Complete API reference with examples • Callback handling guides for all endpoints • Rails & Sinatra implementation examples • Best practices and troubleshooting ✅ Production Ready: • 148 comprehensive tests (all passing!) • Full RuboCop compliance • Ruby 3.3+ compatibility • Enhanced error handling • Complete callback documentation The Journey: From a simple gem with one feature to a comprehensive solution covering the entire M-Pesa API ecosystem. This update represents hundreds of hours of development, testing, and documentation - all to make M-Pesa integration easier for Ruby developers. Why This Matters: M-Pesa is the backbone of digital payments in Kenya and beyond. By making these APIs more accessible to Ruby developers, we're enabling more businesses to integrate digital payments seamlessly. Try it out: Check out the full documentation: https://lnkd.in/dSfCyqeN Huge thanks to Ceciliah Mbugua & Kushal Patel for the collaboration and guidance and to everyone who's used, contributed to, or provided feedback on this gem over the years! 🙏 #Ruby #Mpesa #FinTech #OpenSource #RubyOnRails #Kenya #DigitalPayments #APIIntegration #SoftwareDevelopment #DarajaAPI

To view or add a comment, sign in

Explore content categories