Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization header as Bearer TOKEN.https://sandbox.surepass.apphttps://kyc-api.surepass.app| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer token containing your JWT for API authentication |
| Content-Type | Yes | Must be set to application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| id_number | String | Yes | 12-digit Aadhaar number for which UAN information needs to be retrieved |
{
"id_number": "922809384123"
}| Parameter | Type | Description |
|---|---|---|
| data | Object | Container object holding the API response data |
| data.client_id | String | Unique identifier for this API request transaction |
| data.id_number | String | Masked Aadhaar number showing only the last 4 digits |
| data.uan | String | Masked Universal Account Number showing only the last 4 digits |
| status_code | Integer | HTTP status code indicating the result of the API call |
| success | Boolean | Flag indicating whether the API call was successful |
| message | String/Null | Additional message providing context about the response |
| message_code | String | Standardized code representing the response status |
{
"data": {
"client_id": "aadhaar_to_uan_lite_PDjfzaRSrtMtomuikMWL",
"id_number": "XXXXXXXX4123",
"uan": "XXXXXXXX8265"
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}{
"status_code": 422,
"success": false,
"message": "Invalid Aadhaar Number",
"message_code": "invalid_aadhaar_number"
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/income/aadhaar-to-uan-lite' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"id_number": "922809384123"
}'{
"data": {
"client_id": "aadhaar_to_uan_lite_PDjfzaRSrtMtomuikMWL",
"id_number": "XXXXXXXX4123",
"uan": "XXXXXXXX8265"
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}