Electricity Bill Fetch

Method : POST
URL : https://{{api_base_url}}/recharge/electricityBillFetch?
Header : Authorization:Bearer {{api_token}}

Request

Request Body 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 Nmunder 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
consumer_name consumer_name
bill_amount Bill_Amount
bill_due_date Bill Due Date
bill_date Bill Generated Date
bill_no Bill Number

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"
                                    
                                }
                              }