Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization
header as Bearer TOKEN
.https://sandbox.surepass.io
https://kyc-api.surepass.io
Header | Required | Description |
---|---|---|
Authorization | Yes | Bearer token for authentication (JWT format) |
Content-Type | Yes | Application/json |
Parameter | Type | Required | Description |
---|---|---|---|
aadhaar_number | String | Yes | The 12-digit Aadhaar number of the individual whose UAN needs to be retrieved |
{
"aadhaar_number": "445025885514"
}
Parameter | Type | Description |
---|---|---|
data | Object | Container for the response data |
data.aadhaar_number | String | The Aadhaar number provided in the request |
data.client_id | String | Unique identifier for the API request |
data.pf_uan | String | The UAN number associated with the provided Aadhaar number |
status_code | Integer | HTTP status code indicating the result of the request |
success | Boolean | Indicates whether the API call was successful |
message | String or null | Additional information about the response (null if successful) |
message_code | String | Code indicating the status of the request |
{
"data": {
"aadhaar_number": "445905879514",
"client_id": "aadhaar_to_uan_pvwoRJHGqcfpihFgrppF",
"pf_uan": "101667814011"
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}
{
"data": null,
"status_code": 400,
"success": false,
"message": "Invalid Aadhaar number format",
"message_code": "invalid_input"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/income/epfo/aadhaar-to-uan' \
--header 'Authorization: Bearer TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"aadhaar_number": "445025885514"
}'
{
"data": {
"aadhaar_number": "445905879514",
"client_id": "aadhaar_to_uan_pvwoRJHGqcfpihFgrppF",
"pf_uan": "101667814011"
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}