1app
Create Boldd AccountLogin
  • Introduction
  • Authentication
  • Balance
  • Get Exchange Rate
  • Response Code
  • RECEIVE PAYMENTS
    • Payments
      • Initialize Payment
      • Verify Payment
      • Payment List
      • Payment Details
    • Inline/Popup Checkout
    • Payouts / Settlements
      • Payouts List
      • Settlement Transactions
    • Dispute Management
      • Fetch Disputes
      • Accept a Dispute
      • Decline a Dispute
    • Customers List
    • Webhook Notifications
    • Repush Notification
  • Virtual Accounts
    • Get Available Banks
    • Setup Preferred Bank
    • Generate Account
    • Virtual Account List
    • Account Transactions
    • Virtual Account Webhook
      • Notifications history
  • MAKE PAYMENTS
    • Airtime Purchase
    • Send Money
      • Verify Account Number
      • Make Transfer
    • Data Purchase
      • Data Plans
      • Data Bundle
    • Electricity
      • Electricity Billers
      • Verify Meter Number
      • Vend Electricity
    • Cable TV
      • Cable TV List
      • Verify IUC
      • Vend CableTv
    • Bank List
    • Payment Status
  • CUSTOMERS
    • Create Customer
  • VIRTUAL CARDS
    • Create Card Account
    • Cards Issuance
    • Card Funding
    • Card Transactions
    • Get all Cards
    • Cards Details
    • Cards Pan
    • Freeze and Unfreeze Card
  • USD Account
    • Create USD Account
  • IDENTITY
    • BVN Check
    • NIN Checks
  • SUB-ACCOUNTS
    • Create a Sub-Account
    • Attach Bank to a Sub-Account
    • Attach Payout Account
    • Get All Sub-Accounts
    • Sub-Accounts History
    • Sub-Accounts Wallet
  • Miscellaneous
    • Create Wallet
    • Universal Blacklist
  • Contact
    • Contact Us
Powered by GitBook
On this page

Was this helpful?

  1. MAKE PAYMENTS
  2. Electricity

Electricity Billers

Get list of all supported Electricity Billers/Disco

GET {{base_url}}/elect-billers

Headers

Name
Type
Description

authorization*

PUBLIC_KEY

Set value to Bearer PUBLIC_KEY

{
  "status": true,
  "message": "Electricity Billers Retrieved",
  "lists": [
    {
      "value": "IBADAN",
      "logo": "https://imagedelivery.net/IJzyw_ukSF-3OTlkcw9dIw/1e0bc905-5bfe-46e5-38ff-27fcb3ecac00/public",
      "disconame": "IBEDC"
    },
    {
      "value": "ABUJA",
      "logo": "https://imagedelivery.net/IJzyw_ukSF-3OTlkcw9dIw/445aa7b8-d2e2-4aa5-1c24-a2119c309000/public",
      "disconame": "AEDC"
    },
    {
      "value": "KANO",
      "logo": "https://imagedelivery.net/IJzyw_ukSF-3OTlkcw9dIw/070e0c60-9c1c-49ef-10a9-b3cf343dc400/public",
      "disconame": "KEDCO"
    },
    {
      "value": "IKEJA",
      "logo": "https://imagedelivery.net/IJzyw_ukSF-3OTlkcw9dIw/cadf5fc9-4c13-45e8-a4e8-9fe8f6055400/public",
      "disconame": "IKEDC"
    },
    {
      "value": "EKO",
      "logo": "https://imagedelivery.net/IJzyw_ukSF-3OTlkcw9dIw/69b0de99-ba9f-4283-5f45-da11f0118d00/public",
      "disconame": "EKEDC"
    },
    {
      "value": "PH",
      "logo": "https://imagedelivery.net/IJzyw_ukSF-3OTlkcw9dIw/ebc8c430-04e5-4090-7149-7fc99177d100/public",
      "disconame": "PHEDC"
    },
    {
      "value": "ENUGU",
      "logo": "https://imagedelivery.net/IJzyw_ukSF-3OTlkcw9dIw/a9f6119d-4bec-4a53-6f93-afb0ac4ffd00/public",
      "disconame": "EEDC"
    },
    {
      "value": "KADUNA",
      "logo": "https://imagedelivery.net/IJzyw_ukSF-3OTlkcw9dIw/363367e2-ed4c-4911-a33b-c89708cc1a00/public",
      "disconame": "KAEDCO"
    },
    {
      "value": "JOS",
      "logo": "https://imagedelivery.net/IJzyw_ukSF-3OTlkcw9dIw/76b59a61-f396-41a5-9681-92163cef1900/public",
      "disconame": "JEDC"
    }
  ]
}

Take a look at how you might do this:

curl --location --request GET 'https://api.oneappgo.com/v1/elect-billers'
--header 'Authorization: Bearer PUBLIC_KEY'
var request = require('request');
var options = {
  'method': 'GET',
  'url': 'https://api.oneappgo.com/v1/elect-billers',
  'headers': {
    'Authorization': 'Bearer PUBLIC_KEY'
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});
$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://api.oneappgo.com/v1/elect-billers',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'GET',
  CURLOPT_HTTPHEADER => array(
    'Authorization: Bearer PUBLIC_KEY'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
import requests

url = "https://api.oneappgo.com/v1/elect-billers"

payload={}
headers = {
  'Authorization': 'Bearer PUBLIC_KEY'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)
var headers = {
  'Authorization': 'Bearer PUBLIC_KEY'
};
var request = http.Request('GET', Uri.parse('https://api.oneappgo.com/v1/elect-billers'));

request.headers.addAll(headers);

http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}

Sample Response

{
    "status": true,
    "message": "Electricity Billers Retrieved",
    "lists": [
        {
            "value": "IBADAN",
            "logo": "https://imagedelivery.net/IJzyw_ukSF-3OTlkcw9dIw/1e0bc905-5bfe-46e5-38ff-27fcb3ecac00/public",
            "disconame": "IBEDC"
        },
        {
            "value": "ABUJA",
            "logo": "https://imagedelivery.net/IJzyw_ukSF-3OTlkcw9dIw/445aa7b8-d2e2-4aa5-1c24-a2119c309000/public",
            "disconame": "AEDC"
        },
        {
            "value": "KANO",
            "logo": "https://imagedelivery.net/IJzyw_ukSF-3OTlkcw9dIw/070e0c60-9c1c-49ef-10a9-b3cf343dc400/public",
            "disconame": "KEDCO"
        },
        {
            "value": "IKEJA",
            "logo": "https://imagedelivery.net/IJzyw_ukSF-3OTlkcw9dIw/cadf5fc9-4c13-45e8-a4e8-9fe8f6055400/public",
            "disconame": "IKEDC"
        },
        {
            "value": "EKO",
            "logo": "https://imagedelivery.net/IJzyw_ukSF-3OTlkcw9dIw/69b0de99-ba9f-4283-5f45-da11f0118d00/public",
            "disconame": "EKEDC"
        },
        {
            "value": "PH",
            "logo": "https://imagedelivery.net/IJzyw_ukSF-3OTlkcw9dIw/ebc8c430-04e5-4090-7149-7fc99177d100/public",
            "disconame": "PHEDC"
        },
        {
            "value": "ENUGU",
            "logo": "https://imagedelivery.net/IJzyw_ukSF-3OTlkcw9dIw/a9f6119d-4bec-4a53-6f93-afb0ac4ffd00/public",
            "disconame": "EEDC"
        },
        {
            "value": "KADUNA",
            "logo": "https://imagedelivery.net/IJzyw_ukSF-3OTlkcw9dIw/363367e2-ed4c-4911-a33b-c89708cc1a00/public",
            "disconame": "KAEDCO"
        },
        {
            "value": "JOS",
            "logo": "https://imagedelivery.net/IJzyw_ukSF-3OTlkcw9dIw/76b59a61-f396-41a5-9681-92163cef1900/public",
            "disconame": "JEDC"
        }
    ]
}
PreviousElectricityNextVerify Meter Number

Last updated 2 years ago

Was this helpful?