List electricity discos 🔒
curl --request GET \
--url https://api.usenumero.com/numeroaccount/api/v1/business/vas/electricity/billers \
--header 'X-Numero-Api-Key: <api-key>'import requests
url = "https://api.usenumero.com/numeroaccount/api/v1/business/vas/electricity/billers"
headers = {"X-Numero-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Numero-Api-Key': '<api-key>'}};
fetch('https://api.usenumero.com/numeroaccount/api/v1/business/vas/electricity/billers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.usenumero.com/numeroaccount/api/v1/business/vas/electricity/billers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Numero-Api-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.usenumero.com/numeroaccount/api/v1/business/vas/electricity/billers"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Numero-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.usenumero.com/numeroaccount/api/v1/business/vas/electricity/billers")
.header("X-Numero-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.usenumero.com/numeroaccount/api/v1/business/vas/electricity/billers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Numero-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"billers": [
{
"itemCode": "IKEDC_PREPAID",
"itemName": "Ikeja Electric - Prepaid",
"category": "electricity"
},
{
"itemCode": "EKEDC_POSTPAID",
"itemName": "Eko Electric - Postpaid",
"category": "electricity"
}
]
},
"error": null,
"meta": {
"request_id": "req_365123ebc73323f1482508560ce6400e",
"pagination": null
}
}Electricity
List electricity discos 🔒
Retrieve the list of available electricity providers and their plan types.
GET
/
business
/
vas
/
electricity
/
billers
List electricity discos 🔒
curl --request GET \
--url https://api.usenumero.com/numeroaccount/api/v1/business/vas/electricity/billers \
--header 'X-Numero-Api-Key: <api-key>'import requests
url = "https://api.usenumero.com/numeroaccount/api/v1/business/vas/electricity/billers"
headers = {"X-Numero-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Numero-Api-Key': '<api-key>'}};
fetch('https://api.usenumero.com/numeroaccount/api/v1/business/vas/electricity/billers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.usenumero.com/numeroaccount/api/v1/business/vas/electricity/billers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Numero-Api-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.usenumero.com/numeroaccount/api/v1/business/vas/electricity/billers"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Numero-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.usenumero.com/numeroaccount/api/v1/business/vas/electricity/billers")
.header("X-Numero-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.usenumero.com/numeroaccount/api/v1/business/vas/electricity/billers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Numero-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"billers": [
{
"itemCode": "IKEDC_PREPAID",
"itemName": "Ikeja Electric - Prepaid",
"category": "electricity"
},
{
"itemCode": "EKEDC_POSTPAID",
"itemName": "Eko Electric - Postpaid",
"category": "electricity"
}
]
},
"error": null,
"meta": {
"request_id": "req_365123ebc73323f1482508560ce6400e",
"pagination": null
}
}Authorizations
Your business API key (live_key_...). Issued on approval; managed in Dashboard → Settings → Developer.
⌘I