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 transactions

X-API-Key
GET/transactions

Paginated list of API transactions for your account. Useful for reconciliation dashboards.

curl -X GET "https://api.vendpower.ng/api/v1/transactions?page=1&per_page=20" \
  -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
pageintegerNoPage number (default 1)
per_pageintegerNoItems per page (default server limit)
statusstringNoFilter by status e.g. success, failed
categorystringNoFilter by category e.g. airtime, electricity

Responses

200 OK — Page

{
  "success": true,
  "message": "Transactions retrieved.",
  "data": [
    {
      "id": 88001,
      "reference": "VP_AIRTIME_001",
      "idempotency_key": "VP_AIRTIME_001",
      "status": "success",
      "category": "airtime",
      "amount": 1000,
      "charge": 1000
    }
  ],
  "meta": {
    "current_page": 1,
    "last_page": 5,
    "per_page": 20,
    "total": 92
  }
}

VendPower Developer API