Skip to main content
GET
/
oauth2
/
user-details
Fetch User Details From Access Token
curl --request GET \
  --url https://sandbox.cashfree.com/verification/oauth2/user-details \
  --header 'Authorization: Bearer <token>' \
  --header 'x-api-version: <x-api-version>'
{
  "reference_id": "ref123",
  "verification_id": "verif123",
  "scopes": [
    {
      "scope": "MOBILE",
      "records": [
        {
          "confidence_score": 0.85,
          "metadata": {
            "mobile": "9988123456"
          }
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-api-version
string
default:2024-12-01
required

API version to be used. Format is in YYYY-MM-DD.

Example:

"2024-12-01"

Response

Fetch User Details from access token Response Body

reference_id
string

A unique ID created by Cashfree Payments for reference purposes.

Example:

"ref123"

verification_id
string

It is the unique ID you create to identify the verification request.

Example:

"verif123"

scopes
object[]

A list of scopes associated with the verification, each representing a specific type of user data that can be accessed.