curl --location 'https://api.nomba.com/v1/bill/electricity/lookup' \
--header 'accountId: <accountId>' \
--header 'Authorization: <token>'
{
    "code": "00",
    "description": "SUCCESS",
    "data": "John Doe"
}

GET /v1/bill/electricity/lookup

Query parameters

disco
string
The code name of the electricity provider as gotten when the list of discos is fetched e.g. phed
customerId
string
The unique identifier of the customer on the provider’s platform

Response body

code
string
required
Response code
description
string
required
Response description
data
string
required
Data containing customer’s name if present
message
string
required
Response message
curl --location 'https://api.nomba.com/v1/bill/electricity/lookup' \
--header 'accountId: <accountId>' \
--header 'Authorization: <token>'
{
    "code": "00",
    "description": "SUCCESS",
    "data": "John Doe"
}