Get Started

The FCMB API is customisable and its functionality can be tailored to user's needs and request.

FCMB API is designed based on REST API. Our API is prepared with understandable resource-oriented URLs, welcomes form-encoded request bodies, sends back JSON-encoded responses, and utilizes standard HTTP response codes, authentication, and verbs.

We offer an easy, comfortable and secure payment flow for web applications. Putting into consideration ease of use, the FCMB Inline code ensures that users start and finish making payment on the same page by just simply copying the code in the embeded section and add to your page.

Before you begin

  1. Create a free merchant account here

  2. Choose an Integration method

  3. Setup your integration

  4. Request a payment

Accept Payment

Authentication

To make API calls on FCMB you’ll have to pass a Bearer Token To generate a token you simply

  1. Pass your public key and secret key.

  2. You'll be authenticated and receive a token to process further API calls.

Authorization: Bearer {token}

Basic authentication is a simple authentication scheme built into the HTTP protocol. The client sends HTTP requests with the Authorization header that contains the word Basic followed by a space and a base64-encoded string publicKey:privateKey.

The token is gotten like this, base64Encode(publicKey:privateKey);

Authorization: Basic {token}

Last updated