[][src]Crate mpesa

mpesa

WIP

About

A Rust wrapper around the Safaricom API for accessing M-Pesa services.

This will allow you to make hassle free requests to the daraja API to perform B2B, B2C, and C2B transactions.

Currently work in progress, documentation will be added every step of the way.

Modules

utils

Macros

map

A quick util macro to create and populate a HashMap

Structs

Mpesa

Mpesa client that will facilitate communication with the Safaricom API

Enums

CommandIds

Mpesa command ids

Environment

Enum to map to desired environment so as to access certificate and the base url Required to construct a new Mpesa struct