Skip to main content
POST

Error codes

The following table lists the error codes you may encounter when fetching the operator details of a mobile number:

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

Body

application/json

Request parameters to fetch the operator details of a mobile number.

mobile_number
string
required

The customer's mobile number, as the customer typed it. The API keeps only the digits and drops leading zeros. If more than 10 digits remain and they start with 91, the 91 country code is dropped. The result must be a 10-digit number that starts with 6, 7, 8, or 9.

Example:

"9876543210"

Response

The request was processed. Check data.operator_code to find out whether the operator was found.

status
string

The status of the API call. Returns OK when the request is processed, whether or not the operator was found.

Example:

"OK"

message
enum<string>

A message describing the result.

Available options:
Operator details fetched successfully,
Operator details are unavailable, ask the customer to select the operator
data
object

The operator details of the mobile number. Every field except mobile_number is null when the operator cannot be found.