Electricity Bill Fetch

Method : GET
URL : https://{{api_base_url}}/recharge/electricityBillFetch?consumer_id=32000152878&operator_code=79
Header : Authorization:Bearer {{api_token}}

Request

REQUEST QUERY PARAM Type Required Description
consumer_id Number Y Customer Subscriber Id , Mobile Number
operator_code Number Y operator code for Electricity Boards

Response

Response Parameters TYPE Description
error Number error 0 - API request to server in processed
error other then zero - API request not process to server, in this case you have to process again
msg Alphanumeric Error message from API provider
status Number 1
billAmount Object having all the data of electricity bill
consumer_id consumer_id
customer_name customer_name
bill_amount Bill_Amount
bill_due_date Bill Due Date
bill_date Bill Generated Date

Request Data


                              {
                                "operator_code":61,
                                "consumer_id":"32000463439"
                              }
                            

Response Data


                              {
                                "error":0,
                                "status":1,
                                "msg":"order success,
                                "billAmount":
                                {
                                    "consumer_id":"32000463439",
                                    "consumer_name":"Sk Ahmad Faruk",
                                    "bill_Amount":1290.0,
                                    "bill_due_date":"2023-09-01",
                                    "bill_date":"01 Jan 0001"
                                    
                                }
                              }