Skip to content

Latest commit

 

History

History
32 lines (15 loc) · 945 Bytes

README.md

File metadata and controls

32 lines (15 loc) · 945 Bytes

mpesa-java-sdk

A java library for the Mpesa Daraja REST API

This sdk is not yet having a build dependency that can be used by either gradle or maven.
So this is how best you can use it.

Am currently using this do develop a springboot app and I will add springboot use case ASAP.

Getting Started

First , Create an app/project in the safaricom developers portal.
Clone or download the project this git project.
open the project in your favourite IDE.( I used Intelij)

Configuration

By now you have a project opened in your IDE and valid safaricom API_KEY and API_SECRET.

now head over to the Constants class , Using your apps credentials assign these values in the Constants class.

Testing

To test how it works head over to the main class, uncomment the case you want to test and run the code.

Happy Coding.....!