Developing your API
Overview
The APIs that have been exposed are clearly documented in their respective sections. Following along with the structure and parameters will allow you to rapidly build the correct API package to seamlessly integrate with Mobile Money services, allowing for convenient payment opportunities for your business and your customers.
RESTful APIs
The APIs exposed are RESTful APIs that break down transactions into a series of small modules, each addressing an underlying part of the transaction. The REST APIs provide developers with all the tools to effectively interact with the Pesaflash Payments Gateway using the API.
Overview
The APIs that have been exposed are clearly documented in their respective sections. Following along with the structure and parameters will allow you to rapidly build the correct API package to seamlessly integrate with Mobile Money services, allowing for convenient payment opportunities for your business and your customers.
Library File Inclusion
A library file has been provided to facilitate the authentication and communication with the Pesaflash Payments Gateway server. For example: “portal-sdk.jar” for the JAVA programmers. The Library file can be downloaded and included in your development environment (e.g. Eclipse, Maven, etc.). The library file encrypts the user’s API Key and Public Keys. Should you wish to build your API package without the use of the library file inclusion you can follow along with the steps in the “Develop without Library File” section.
Configuration
When registering for a developer account on the Integration Portal, you will receive access to your API Key and your Public Key in your Account Profile [link to Account/Profile]. The API Key and Public Key are used to authorize and authenticate your account on the Pesaflash Payments Gateway System. Once authenticated and authorized, your API can be initiated. You are able to renew your API key by going to your Account Profile and clicking on “Renew API Key”. Remember to include the new API key in your actual request package.