Article Insight

How to integrate our API

Developer Integration Guide

Scale your business by integrating our lightning-fast VTU & Bill Payment API into your own applications. We provide a RESTful API that is easy to implement and robust.

Getting Started

To start using our API, you must first be upgraded to the API Vendor level. You can request access via the 'API Docs' page in your dashboard.

Authentication

All API requests must include your unique api_key. This key should be kept secret and never shared publicly.

Sample Code (PHP)

    $payload = [
        'api_key' => 'YOUR_API_KEY',
        'network' => 'mtn',
        'amount'  => 500,
        'phone_no' => '08012345678'
    ];

    $ch = curl_init('https://' . $_SERVER['HTTP_HOST'] . '/web/api/airtime.php');
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($payload));
    curl_setopt($ch, CURLOPT_HTTPHEADER, ['Content-Type: application/json']);
    $response = curl_exec($ch);
    echo $response;
    

Key Endpoints

  • Airtime: /web/api/airtime.php
  • Data: /web/api/data.php
  • Cable TV: /web/api/cable.php
  • Electricity: /web/api/electric.php

For a full list of parameters and interactive testing, please visit our API Documentation.