1. INTRODUCTION
The FLEXPAY API is organised around REST. Our API has predictable resource-oriented URLs,
accepts form-encoded request bodies, returns JSON-encoded responses, uses standard HTTP response
codes, authentication and verbs.
You can use the FLEXPAY API in test mode(https://staging.flexpay.co.ke), which does not affect
your live data or interact with the internal payment networks. The API key you use to authenticate
the request determines whether it is in X live mode or test mode.
The FLEXPAY API may differ for every account as we release new versions and tailor functionality.
This document defines the Service request and response data formats for client requests to Flexpay
servers.
1.1 Overview
Service HTTP – This provides the functionality to push the request to Flexpay Servers by applying
input data over HTTP channel.
This section provides a guide for using the service to post a successful booking, payment checkout
over Http Service Integration
1.2 Transaction Push HTTP-JSON Interface
Request Service – Http Plain Text (SSL SECURED) Response Service –JSON data
Interface Response Error Codes .Troubleshooting
1.3 Push Interfaces
This interface provides a pathway to create {product, customer, booking}, checkout (Store Front
POS and Website) to Flexpay Platform via third party service. It describes the required parameters
and the resource URL for communication.