Developer Docs

Electricity

Validate meter number

Body

{
    "meter_number": "Decoder Meter Number",
    "product_id": "Product ID/CODE",
    "type": "meter type"
}

Parameters

meter_number Decoder Meter Number
product_id Product ID/CODE gotten from Category List here
type 'prepaid' or 'postpaid'

Sample Response

{
    "status": "ok",
    "message": "Verified",
    "data": {
        "is_valid": true,
        "customer_name": " ADEGBOYE JOSHUA",
        "customer_address": null,
        "customer_district": null,
        "customer_phone": "7037279289",
        "type": null,
        "disco": "",
        "minimum_payable": 0,
        "outstanding_amount": 1145.140000000000100044417195022106170654296875
    }
}

{
    "status": "error",
    "message": "Unable to verify",
    "data": {
        "is_valid": false,
        "customer_name": "Unverified"
    }
}