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 authentication using JWT |
Content-Type | Yes | application/json |
Parameter | Type | Required | Description |
---|---|---|---|
id_number | String | Yes | UAN (Universal Account Number) of the employee |
partner_url | String | No | URL of your company logo to be displayed in the PDF report (defaults to Surepass logo if not provided) |
{
"id_number": "101669821234"
}
Parameter | Type | Description |
---|---|---|
data | Object | Container for the response data |
data.client_id | String | Unique identifier for the API request |
data.uan | String | UAN number of the employee |
data.employment_history | Array | List of employment records |
data.employment_history_report | String | URL to download the PDF report |
status_code | Number | HTTP status code |
success | Boolean | Indicates if the request was successful |
message | String | Response message |
message_code | String | Code representing the response message |
Parameter | Type | Description |
---|---|---|
name | String | Employee's full name |
guardian_name | String | Employee's guardian/parent name |
establishment_name | String | Name of the employer/company |
member_id | String | EPFO member identification number |
date_of_joining | String | Employment start date (YYYY-MM-DD format) |
date_of_exit | String | Employment end date (YYYY-MM-DD format), null if currently employed |
last_pf_submitted | String | Date of last PF contribution (YYYY-MM-DD format) |
wage_month | String | Month for which the last wage was reported |
{
"data": {
"client_id": "employment_history_uan_report_OCwovwWzxRixClfsOADY",
"uan": "111779821234",
"employment_history": [
{
"name": "Munna Bhaiya",
"guardian_name": "Kaleen Bhaiya",
"establishment_name": "I PROCESS SERVICES (INDIA) PVT. LTD.",
"member_id": "KDMAL00478080000313079",
"date_of_joining": "2021-03-15",
"date_of_exit": null,
"last_pf_submitted": "2022-06-14",
"wage_month": "May-2022"
}
],
"employment_history_report": "https://aadhaar-kyc-docs.s3.amazonaws.com/vishal.rathore.surepass/employment_history_uan/employment_history_uan_report_OCwovwWzxRixClfsOADY/X-Amz-Signature=c312b481406e47bd5695360296d8b05c1e77fbae910cdcf743d1a66ea039f9ba"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"status_code": 400,
"success": false,
"message": "Invalid UAN number provided",
"message_code": "invalid_uan"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/income/employment-history-uan-report' \
--header 'Content-Type: application/json' \
--data-raw '{
"id_number": "101669821234"
}'
{
"data": {
"client_id": "employment_history_uan_report_OCwovwWzxRixClfsOADY",
"uan": "111779821234",
"employment_history": [
{
"name": "Munna Bhaiya",
"guardian_name": "Kaleen Bhaiya",
"establishment_name": "I PROCESS SERVICES (INDIA) PVT. LTD.",
"member_id": "KDMAL00478080000313079",
"date_of_joining": "2021-03-15",
"date_of_exit": null,
"last_pf_submitted": "2022-06-14",
"wage_month": "May-2022"
}
],
"employment_history_report": "https://aadhaar-kyc-docs.s3.amazonaws.com/vishal.rathore.surepass/employment_history_uan/employment_history_uan_report_OCwovwWzxRixClfsOADY/X-Amz-Signature=c312b481406e47bd5695360296d8b05c1e77fbae910cdcf743d1a66ea039f9ba"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}