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

Force requery

X-API-Key
POST/transactions/{id}/requery

Ask VendPower to refresh status from the upstream provider. Useful for airtime and cable orders stuck in pending / processing.

curl -X POST "https://api.vendpower.ng/api/v1/transactions/88001/requery" \
  -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
Content-Typeapplication/jsonYes
Acceptapplication/jsonRecommended

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

Parameters

Path parameters

NameTypeRequiredDescription
idstringYesNumeric transaction id (preferred) or reference

Responses

200 OK — Refreshed

{
  "success": true,
  "message": "Transaction requery completed.",
  "data": {
    "id": 88001,
    "reference": "VP_AIRTIME_001",
    "idempotency_key": "VP_AIRTIME_001",
    "status": "success",
    "category": "airtime",
    "amount": 1000,
    "charge": 1000
  }
}

Notes

  • Prefer numeric id for requery. Combine with polling guidance on the Requery polling page.

VendPower Developer API