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

List discos

X-API-Key
GET/electricity/discos

Returns prepaid/postpaid disco rows granted to your API key.

curl -X GET "https://api.vendpower.ng/api/v1/electricity/discos" \
  -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

This endpoint takes no parameters.

Responses

200 OK — Discos

{
  "success": true,
  "message": "Distribution companies retrieved.",
  "data": [
    {
      "id": 1,
      "name": "Ikeja Electric",
      "code": "IK-PR",
      "disco_code": "IKDC",
      "vend_type": "PREPAID",
      "min_amount": 500,
      "max_amount": 100000
    }
  ]
}

VendPower Developer API