RESTful HTTP API
Data Bundle VTU API Nigeria
Power your fintech app, website, or Telegram bot with our high-throughput data API. Automated delivery for MTN SME, Corporate Gifting, Airtel, Glo, and 9mobile.
POST
https://babspay.com.ng/api/data
Purchase internet data bundle for an end-user recipient instantly.
Headers
Authorization: Bearer YOUR_SECRET_API_KEY
Content-Type: application/json
Accept: application/json
Request Body (JSON)
{
"network": 1, // 1: MTN, 2: GLO, 3: 9MOBILE, 4: AIRTEL
"plan": 223, // Plan ID from data plans endpoint
"mobile_number": "08137000125",
"Ported_number": true // Set true for MNP lines
}
Success Response (200 OK)
{
"status": "success",
"message": "Data bundle purchase successful",
"transaction_id": "BP-DATA-98234710",
"network": "MTN",
"plan_name": "1.0GB SME",
"amount_charged": 275.00,
"balance_after": 14250.00
}
Other VTU API Endpoints
Frequently Asked Questions (FAQ)
How do I authenticate API requests?
Include your secret API key in the Authorization header as a Bearer token: "Authorization: Bearer YOUR_API_KEY".
What is the average response time for data API top-ups?
Our direct telecom routes process and return responses in under 1.5 seconds, with 99.9% uptime.
Do you provide webhooks for transaction status updates?
Yes, you can configure your webhook callback URL in your dashboard to receive instant JSON payloads on transaction completion.