Welcome to the API documentation. Learn how to integrate with our VTU platform.

Introduction

Welcome to the VTU API API documentation. This API allows you to programmatically purchase data bundles, airtime, pay electricity bills, manage virtual cards, and more.

Base URL

All API requests are made to:

https://example.com/api/

Features

  • Data Purchase — Buy data bundles for all major networks
  • Airtime Top-up — Send airtime to any mobile number
  • Bill Payments — Pay electricity bills (prepaid & postpaid)
  • Webhooks — Receive real-time transaction status notifications
  • Push Notifications — Register devices for push notifications

Quick Start

  1. Create an account on the VTU API platform
  2. Generate an API token from the Developer Settings page
  3. Make your first request using the token in the Authorization header
curl -X POST https://example.com/api/data \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
    "mobile_number": "08101234567",
    "plan": "plan id eg (34)",
    "network": 1
  }'

SDKs & Tools

While we don't provide official SDKs yet, you can use any HTTP client in your preferred language:

LanguageRecommended Client
JavaScriptfetch, axios
PHPGuzzle, cURL
Pythonrequests, httpx
JavaOkHttp, HttpClient
Dart/Flutterhttp, dio

Alternatively, if you prefer to use Postman for testing, you can access our comprehensive Postman API documentation here: Postman API Documentation

Need Help?