Introduction

This page contains guide to pay electricity bills on Fire Data .

Verify Meter Number

Send a post request to the below endpoint, You can use the PHP integration code below....




curl --request POST 'https://firedata.com.ng/api/validatemeter' \
  --header 'Authorization: Token YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data-raw '{
    "serviceID" : "1",
    "meterNum" : "7027914329",
    "meterType" : 1 // 1=prepaid, 2=postpaid,
    "amount" 1000
  }' 

Sample Response

Send a post request to the below endpoint.


{
    "status": "success",
    "message": "Validation successful",
    "data": {
        "customerName": "John Paul"
    }
}

 

Pay Electricity Bills

Send a post request to the below endpoint, You can use the PHP integration code below....




curl --request POST 'https://firedata.com.ng/api/payelectric' \
  --header 'Authorization-Token: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data-raw '{
    "serviceID" : "1",
    "meterNum" : "07364853244533",
    "meterType" : 1 // 1=prepaid, 2=postpaid,
    "amount" 1000
  }' 

Sample Response

Send a post request to the below endpoint.


{
    "status": "success",
    "message": "Electric payment successful",
    "data": {
        "type": "electricity",
        "token": "40364652026905256691",
        "customerName": "John Paul",
        "amount": 1000,
        "amountCharged": 990,
        "reference": "21ir7nyhgz5wc5rpirko",
        "meterNum": "07364853244533",
        "disco": "PHCN",
        "status": "success"
    }
}