Posts

Showing posts from December, 2017

Getting stated with Mpesa Api coding with Python Django

Image
What is Application Programming interface(API)? As the heading suggest API is set of routines, protocols, and tools for building software applications. An API specifies how software components should interact e.g. Mpesa with other business application.  Why do we need mpesa API? We need mpesa Api to be able to automate out tasks e.g. KPLC needs mpesa payement in real time to be able to activate tokens in real time. It will take ages if Tokens are updated manually.  They allow a specific audience to use data more quickly, easily and efficiently when they are looking to do something specific with the information. Which type of mpesa api do i need? Reversal Used for reversal transaction B2C Mpesa Transaction from company to client Account Balance Used for balance inquiry Transaction Status Used to check the status of transaction