zeexdata merchant API
API Documentation
REST API for data, airtime, cable TV, electricity and exam pins. Authenticate with your token and call the live base URL below.
JSON over HTTPSToken authenticationLive pricing
All systems normal
Base URL
http://127.0.0.1:8000GET
/api/validatemeter/Validate Meter
GET — verify electricity meter before payment
api:readRequired headers
| Header | Value | Required |
|---|---|---|
| Authorization | Token YOUR_API_TOKEN | Yes |
| Content-Type | application/json | Yes (POST/PUT) |
| Accept | application/json | Recommended |
Endpoint
GET
http://127.0.0.1:8000/api/validatemeter/Parameters / payload fields
| Query param | Type | Required | Description |
|---|---|---|---|
| meternumber | string | Yes | Meter number |
| disconame | string/int | Yes | Disco name or ID |
| mtype | string | Yes | PREPAID or POSTPAID (or 1/2) |
Code samples
cURL
curl -X GET "http://127.0.0.1:8000/api/validatemeter/?meternumber=45012345678&disconame=1&mtype=PREPAID" \
-H "Authorization: Token YOUR_API_TOKEN"Response sample (200)
JSON
{
"invalid": false,
"name": "JOHN DOE",
"address": "12 Sample Street, Lagos"
}