Bill Fetch Response
Use this API to poll the result of a previously initiated Bill Fetch or Bill Validation request.
Use the ref_id from the Bill Fetch Request API to retrieve the status and bill details.
Polling strategy
Polling strategy
Poll at increasing intervals until message is no longer "Request is still being processed":
| Attempt | Wait before this poll |
|---|---|
| 1 | 5 seconds |
| 2 | 15 seconds |
| 3 | 30 seconds |
| 4 | 1 minute |
| 5+ | 3 minutes |
Stop polling when message is "Bill details fetched successfully" or "Bill request failed". If the request remains in a processing state beyond your retry limit, treat it as a timeout and raise a support ticket.
Response fields by outcome
Response fields by outcome
bill_fetch_responseis present in every response, including success, failure, and pending states.- For
FETCH_AND_PAYsuccess, the response includesbill_fetch_response,bill_details,biller_response, andadditional_info. - For
FETCH_AND_PAYfailure, the response includes onlybill_fetch_response. - For
VALIDATE_AND_PAYsuccess, the response includesbill_fetch_responseandadditional_info. - For
VALIDATE_AND_PAYfailure, the response includes onlybill_fetch_response. - While the request is pending, the response includes only
bill_fetch_response, with the processing status.
Authorizations
Your unique client identifier issued by Cashfree. You can find this in your Merchant Dashboard.
Your unique client secret issued by Cashfree. Keep this confidential and never expose it in client-side code. You can find this in your Merchant Dashboard.
Body
Request parameters to poll a bill fetch or bill validation request.
The reference ID received from the Bill Fetch Request API. Used to identify and retrieve the result of the corresponding async request.
"HENSVVR4QOS7X1UGPY7JGUV444P10102202"
Response
Success response for polling a bill fetch or bill validation request.
Always "OK" for all poll responses, regardless of the bill fetch outcome.
"OK"
Terminal or in-progress status of the bill fetch operation. Continue polling while this is "Request is still being processed".
Bill details fetched successfully, Request is still being processed, Bill request failed Response payload. Always contains bill_fetch_response; other fields depend on the flow and outcome.