A Python SDK for Safaricom Daraja C2B APIs
Project description
MPESA C2B SDK
This SDK is a simplified and improved version of existing Mpesa C2B packages. It helps developers easily integrate with Safaricom's Daraja API, focusing specifically on Customer to Business (C2B) transactions — like simulating payments and registering callback URLs.
Features
- Easy URL registration (register_url)
- Simulate C2B transactions (simulate)
- Minimal setup with .env support
Installation
pip install mpesa-c2b-sdk==0.1.0
Ideal for developers building Kenyan payment solutions using Safaricom's sandbox or production APIs.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mpesa_c2b_sdk-0.1.1.tar.gz.
File metadata
- Download URL: mpesa_c2b_sdk-0.1.1.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1ced197cf05b9719d1c184320a8efac23badce3ba79125fc4460b4931210c1c
|
|
| MD5 |
d22d4957548ec3851a0a061a124fe879
|
|
| BLAKE2b-256 |
2f62e66c6d4515e6732058574a18701456430d9f31892ebbfdde6cce20f5dbb6
|
File details
Details for the file mpesa_c2b_sdk-0.1.1-py3-none-any.whl.
File metadata
- Download URL: mpesa_c2b_sdk-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae641fd0acf82c95011fa9ea595117c5f51441d8fce60aa5831e1ee7d1498e00
|
|
| MD5 |
ae465afacbab6a195a302dbfe954683d
|
|
| BLAKE2b-256 |
bbf7cce9e9d08fa52c11396c7b8ff8bf4e3326202d3aa74a04c27129aa8d2cbd
|