mpower v1.0.0 MPower

The library is built to map directly to the MPowerPayments REST API, so it’s just and API wrapper.

There are two primary ways of creating data:

  • build: This builds the respective data structure, but does not send a request to MPower’s API. Use this to build a data that you’ll later modify with say, custom data, taxes etc.
  • create: This builds and sends a request to MPower’s API.