Skip to main content
GET
Recharge status

Error codes

The following table lists the error codes you may encounter when fetching the status of a recharge:

Authorizations

x-client-id
string
header
required

Your unique client identifier issued by Cashfree. You can find this in your Merchant Dashboard.

x-client-secret
string
header
required

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.

Headers

x-api-version
enum<string>
default:2025-01-01

API version to be used. Format is YYYY-MM-DD. The only supported version for this API is 2025-01-01. If not specified, 2025-01-01 is used.

Available options:
2025-01-01

Query Parameters

reference_id
string
required

The reference_id that you sent in the recharge request.

Response

The recharge was found. Read data.status for its state.

status
string

The status of the API call. Returns OK whenever the recharge is found, whatever its state.

Example:

"OK"

message
string

A message describing the result.

Example:

"Recharge status fetched"

data
object

The recharge and its current state.