Skip to main content
GET

Error codes

The following table lists the error codes you may encounter when fetching recharge plans:

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

operator
enum<string>
required

The operator code from the Fetch Operators or Fetch Operator Details API. The value is not case-sensitive.

Available options:
JIO,
AIRTEL,
VI
mobile_number
string

The customer's mobile number. Required when operator is AIRTEL or VI. Send it as the customer typed it. Only the digits are kept, leading zeros are dropped, and a leading 91 country code is dropped when more than 10 digits remain. Not needed for JIO.

Response

The plans of the operator. The plans list is empty when no plans are available.

status
string

The status of the API call. Returns OK when the request is processed.

Example:

"OK"

message
enum<string>

A message describing the result.

Available options:
Recharge plans fetched successfully,
No recharge plans are available for this operator right now
data
object