Module mpesa::services [−][src]
MPESA Services
Using the builder pattern in this to procedurally build Mpesa service specific payloads which are
ultimately consumed and the request sent by calling the send
method.
Some of the builder methods for certain services are optional with default values standing in
their place when the builder gets consumed
Here are the currently available services:
Also worth noting I am using reqwest::blocking::Client
to make http requests. Research ongoing
on how to make this crate async.
Structs
AccountBalanceBuilder | |
AccountBalanceResponse | |
B2bBuilder | B2B transaction builder struct |
B2bResponse | |
B2cBuilder | B2C transaction builder struct |
B2cResponse | |
C2bRegisterBuilder | C2B Register builder |
C2bRegisterResponse | |
C2bSimulateBuilder | |
C2bSimulateResponse | |
MpesaExpressRequestBuilder | |
MpesaExpressRequestResponse |