VendPower Developers

API Documentation

REST API for electricity, betting wallets, cable TV, mobile data, airtime, and Vend Airtime to Cash. Authenticate with an approved X-API-Key.

JSON over HTTPS X-API-Key auth Idempotent purchases
All systems normal

Base URL

https://api.vendpower.ng/api/v1

Data plans

X-API-Key
GET/data/plans

List data plans with optional network and period filters.

curl -X GET "https://api.vendpower.ng/api/v1/data/plans?biller_code=MTN&weekly=true" \
  -H "X-API-Key: YOUR_X_API_KEY" \
  -H "Accept: application/json"

Authentication

Send your approved API key on every request. Keep it on your server only.

HeaderValueRequired
X-API-KeyYOUR_X_API_KEYYes
Acceptapplication/jsonRecommended

Authentication failures (401 / 403 / 429) are listed in Authentication.

Parameters

Query parameters

NameTypeRequiredDescription
biller_codestringNoFilter by network code (MTN, GLO, AIRTEL, 9MOBILE)
dailybooleanNoOnly daily plans
weeklybooleanNoOnly weekly plans
monthlybooleanNoOnly monthly plans
hot_dealbooleanNoOnly hot deals

Responses

200 OK — Plans

{
  "success": true,
  "message": "Data plans retrieved.",
  "data": [
    {
      "id": 501,
      "api_plan_id": "501",
      "name": "1GB Weekly",
      "size_label": "1 GB",
      "amount": 500,
      "biller_code": "MTN",
      "flags": {
        "weekly": true,
        "hot_deal": false
      }
    }
  ]
}

VendPower Developer API