Warning: mysqli_connect(): (HY000/1049): Unknown database 'zcnoxonl_exchange' in /home/zcnoxonl/public_html/vtu/api/include/config.php on line 2

Warning: mysqli_error() expects parameter 1 to be mysqli, null given in /home/zcnoxonl/public_html/vtu/api/include/util_function.php on line 22
Buy Cheap Airtime, Data Topup, Cable TV Subscription and Bill Payment - Zcnox

Buy Electricity API

Our HTTPS GET API is very easy to intergrate on any platforms

Command
https://vtu.zcnox.ng/api/?cmd=buy&type=electricity&user=YOUR_RESELLER_ID&pass=YOUR_API_KEY&network_id=NETWORK_ID&meter_no=METER_NUMBER&amount=AMOUNT&walet=WALLET

Parameters

cmd buy
type electricity
user YOUR_RESELLER_ID
pass YOUR_API_KEY
network_id Check ID for all electricity distribution company below
amount AMOUNT
meter_no METER_NUMBER
wallet NGN FOR Naira
BTC FOR Bitcoin
ETH FOR Ethereum
LTC FOR Litecoin
USD FOR Dollar
ZCNOX FOR Zcnox Coin

Example
https://vtu.zcnox.ng/api/?cmd=buy&type=electricity&user=345566&pass=6fc7bdd90ff3c4607a7ff&network_id=BPE-NGEK-OR&meter_no=674456778&amount=2000&wallet=NGN

JSON Response
{"status":"200","message":"Transaction successful","transaction":{"reference":"a3d5387304c44abe73f8cf3732cbaf52","operator":"Eko PHCN","amount":"2000","convenient fee":100,"total":2100,"curr":"NGN","target":"08187140923","status":"complete","date":"2019-04-14 04:01:04"}}

Status

200 = Success
000 = Invalid Command
001 = Wrong Account ID Or Password
003 = Invalid Wallet Type
003 = Invalid Transaction Type
212 = Invalid Network ID
110 = Insufficient Balance
111 = Missing parameters

Network ID


Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in /home/zcnoxonl/public_html/vtu/api/buyelectricity.php on line 111