Developers Guide

Our developers guide covers all topics you may need as a developer whiles working with our APIs.

Generating Your API Keys

The API Keys are your digital credentials that MPower Systems use to identify your Account & Application details. It is required for any third party integrations with MPower Payments.

  • You first need an Activated MPower Account, Sign Up if you dont.
  • Sign In to your MPower Account and click on Integration Setup at the bottom of the page.
  • Click on Setup Integration Button and complete the form.
  • Your API Keys will be automatically generated for you after specifying your application details in the form. You will have keys for testing your application and keys for going live.
Create a Sandbox Customer

Sandbox customer account helps you to simulate payments on your MPower test integrations. You may specify the name, email and balance of the test customer account. MPower deducts test customers balance amount when payments are made, you are allowed to manually topup the this balance at anytime.

Sandbox Data Internals

There are times when you may actually need to look at the internal structure of data submitted to our servers for processing. Sandbox Data Internals is an incredible tool for you to zone in on test paid invoices and how they have been saved on our servers, excellent for debugging.

Note: Sandbox Data is automatically saved by MPower when payment has been made on your test checkouts.

  • Sign In to your MPower Account and click on Integration Setup at the bottom of the page.
  • Click on the Sandbox Data Internals for the list of saved test checkouts.
  • Click on "Internals" link on the far right of each saved checkout data in the list.
Going Live (Real Transactions)

After making sure your MPower Integration is working in test mode, you can switch to live mode by updating your Integration Setup information for the Application in question.

  • Sign In to your MPower Account and click on Integration Setup at the bottom of the page.
  • Under Integration Setups tab, click on "details" for the application in question
  • Scroll down to the bottom of that page and click on "Update Setup" button
  • Choose "Yes. Application is ready" under Go live on the update form
  • Kindly remember to include the Live API Keys in your application.
  • Set the client API mode to "live"