VTU AFRICAVTUAfrica.com.ng

  • MAIN NAVIGATION
  • Introduction
  • Discounts & Prices
  • Balance Check
  • Airtime
    • Airtime VTU
    • Airtime Share
  • Data Bundle
    • Data (All Networks)
    • Smile Data
  • Cable TV Subcription
    • Cable TV Verification
    • Cable TV Subscription
  • Electricity bills
    • Meter Verification
    • Electricity Bills
  • Examination PINS
  • Bank Transfer
    • Verify Account Number
    • Send Money
  • Recharge Card PINS
  • Bet Wallet funding
  • Airtime2Cash Conversion
  • Bulk SMS
  • Transaction Status
    • Transaction Query
    • Resend Webhook
  • How To Videos
  • Back To Home Page
  • Home SOFTWARE RESELLER
  • My Account

    • Login
    • Register

Electricity Verification API Integration

Electricity Verification API Integration

This section contains your RESTful API for Electricity API integration..

 

Authentication

The VTU Africa API uses API Key for Authentication.

Please use your APIKEY for authentication



Meter Verification

Electricity Meter Numbers can be Validated or Verified with the endpoint below:

Base URL: https://vtuafrica.com.ng/portal/api/merchant-verify/

Parameters: as specified in the parameters below:

 

PARAMETERS Required/Optional TYPE DESCRIPTION
apikey R String The reseller APIkey created at vtuafrica.com.ng
serviceName R String This is the Name of the service you are verifiying. In this case it is: Electricity
service R String Service as specified. These includes, ikeja-electric, eko-electric, portharcourt-electric, jos-electric, kano-electric, ibadan-electric, etc

meterNo R Number The meter number to load the electricity token
metertype R String This is the meter type. Example: prepaid or postpaid

 

SAMPLE CODE

$host="https://vtuafrica.com.ng/portal/api/merchant-verify/?apikey=1234&serviceName=Electricity&service=ibadan-electric&meterNo=1022101199113&metertype=prepaid ";
//Initialize cURL.
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $host);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);

$data = curl_exec($ch);

//Close the cURL handle.
curl_close($ch);

$response = json_decode($data);

 

EXPECTED RESPONSE

{
    "code": 101,
    "description": {"Status":"Completed",
	"Customer":"Chukwu Emeka","customerNo":"765435","Service":"Ibandan Electricity",
	"MeterNumber":"1022101199113","MeterType":"prepaid","Address":"Some where in Africa",
	"Variation_Code":"ibadan-electric","message":"Verification Successful"
    }
}



Electricity Companies and their service Codes

 

Company Service Code Minimum Amount
Aba Electricity Distribution Company aba-electric
Abuja Electricity Distribution Company abuja-electric
Benin Electricity Distribution Company benin-electric
Eko Electricity Distribution Company eko-electric
Enugu Electricity Distribution Company enugu-electric
Ibadan Electricity Distribution Company ibadan-electric
Ikeja Electricity Distribution Company ikeja-electric
Jos Electricity Distribution Company jos-electric
Kaduna Electricity Distribution Company kaduna-electric
Kano Electricity Distribution Company kano-electric
Port Harcourt Electricity Distribution Company portharcourt-electric
Yola Electricity Distribution Company yola-electric

OTHER SERVICES


CopyRight © 2016 - VTUAfrica.com.ng. All Rights Reserved
Site Designed by: EMMALEX ICT SOLUTIONS | Powered by RESELLER HOSTING