curl --location 'https://api.formaxpay.com/api/bbps/v4/bill_fetch' \
--header 'Authorization: Basic aXlrdmN4TTNVRjJoNmFwREJncWhGWFRDaUxMZ0hPVVk6cE9rZCE7ZGNVUjU3MDFjOw==' \
--header 'Content-Type: application/json' \
--data '{
"agent_id": "CC01RS16AGTBBH278223",
"device": {
"ip": "164.52.211.0",
"channel": "AGT",
"mac": ""
},
"customer": {
"mobile": "9836114520",
"email": "",
"aadhaar": "",
"pan": ""
},
"biller_id": "WEST00000WBLUN",
"input_params": {
"input": [
{
"paramName": "Consumer ID",
"paramValue": "153079219"
},
{
"paramName": "Mobile Number",
"paramValue": "9836114520"
}
]
},
"p_order_id": "P2021656548924794"
}'{
"status": "SUCCESS",
"message": "Bill Fetched Successfully",
"data": {
"input_params": {
"input": [
{
"paramName": "Consumer ID",
"paramValue": "153079219"
},
{
"paramName": "Mobile Number",
"paramValue": "9836114520"
}
]
},
"biller_response": {
"bill_amount": 100,
"bill_date": "2026-07-29",
"bill_number": "NA",
"bill_period": "NA",
"customer_name": "SK ASHRAF ALI",
"due_date": "2026-07-29",
"amount_options": null
},
"additional_info": null
}
}