Poll Ticket Status Response
Use this API to poll the status of a previously raised ticket.
Call this using the ref_id returned from the Raise Ticket Request API.
Polling strategy
Polling strategy
Poll at increasing intervals until message is no longer "Ticket 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 "Ticket details fetched successfully" or "Ticket request failed". If the ticket remains in a processing state beyond your retry limit, contact Cashfree support with the ref_id.
Response outcomes by `message`
Response outcomes by `message`
message | Meaning |
|---|---|
"Ticket details fetched successfully" | Completed. Check data for ticket details. |
"Ticket request failed" | Terminal failure. Stop polling. |
"Ticket request is still being processed" | Still processing. Continue polling. |
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 the status of a raised ticket.
Reference ID received from the Raise Ticket Request API response (data.ref_id).
"TKREF4QOS7X1UGPY7JGUV444P10102202"
Response
Ticket status response.
HTTP status of the API call. This is always "OK".
"OK"
Human-readable outcome indicator. "Ticket details fetched successfully" indicates success; "Ticket request failed" indicates a terminal failure; "Ticket request is still being processed" indicates the request is pending.
"Ticket details fetched successfully"
Ticket details and current status. Present once the ticket request has been processed.