Skip to main content

Mpesa API SDK

Project description

MPESA REST SDK

Language Build Status

Pure python sdk for MPESA API.

Features

  • Generate Token
  • C2B Register Url
  • C2B Simulate Transaction
  • C2B Simulate Transaction
  • B2B Payment Request
  • B2C Payment Request
  • Transaction Status
  • Account Balance
  • Reversal Request

Installation

$ pip install mpesa-sdk

Running tests

Create .env file from example then run

$ pip install pytest
$ pytest

To test for different python environments use

$ pip install tox
$ tox

Read more on wiki.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mpesa-sdk-1.0.7.tar.gz (5.8 kB view hashes)

Uploaded Source

Built Distribution

mpesa_sdk-1.0.7-py3-none-any.whl (8.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page