Introduction
This page contains guide for all bills plans on pherheezdata.com.
Get Bills Codes
Send a GET request to the endpoint below to access the available bills code(s).
pherheezdata.com/api/plans?id=bills
REQUEST TYPE -- GET
Validate Meter Number
Send a POST request to the endpoint below to validate your meter number.
pherheezdata.com/api/bills-validation
REQUEST TYPE -- POST
Body
{
"disco_id": 1,
"meter_number": 1*11****11,
"type": PREPAID,
}
Note: The body fields should not be blank.
Expected response: { "response":"successful",
"disco":"IKEDC",
"type":"PREPAID",
"meter_number":"1*11****11",
"customerName":"My Name"
}
Bills / Electricity Subscription
Send a post request to the below endpoint.
pherheezdata.com/api/bills
REQUEST TYPE -- POST
Body
{
"disco_id": 1,
"amount": 500,
"meter_number": 1*11****11,
"type": PREPAID,
"mobile_number": 080********,
}
Note: The body fields should not be blank.
Expected response:
{"response": {
"code":200,"status":"successful",
"message":"Transaction Successfully logged", "date_time":"Feb. 22, 2021, 12:42 pm"},
"service":"Bill Payment",
"amount":"500",
"wallet_balance":4305,
"reference":"1847784797233532"
}