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 | JWT Bearer token for authentication (format: Bearer YOUR_JWT_TOKEN ) |
Content-Type | Yes | Must be set to application/json |
Parameter | Type | Required | Description |
---|---|---|---|
id_number | String | Yes | UAN (Universal Account Number) of the employee whose EPFO passbook details are to be retrieved |
{
"id_number": "100584579999"
}
Parameter | Type | Description |
---|---|---|
data | Object | Contains the response data |
data.client_id | String | Unique identifier to be used in subsequent API calls to retrieve EPFO passbook details |
status_code | Integer | HTTP status code indicating the result of the request |
success | Boolean | Indicates whether the request was successful |
message | String | Human-readable description of the response status |
message_code | String | Machine-readable code representing the response status |
{
"data": {
"client_id": "epfo_passbook_advanced_ljNlWPBmnrhypGKdbygs"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"status_code": 400,
"success": false,
"message": "Invalid UAN number format",
"message_code": "invalid_uan_format"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/epfo-passbook-advanced/init' \
--header 'Content-Type: application/json' \
--data-raw '{
"id_number": "100584579999"
}'
{
"data": {
"client_id": "epfo_passbook_advanced_ljNlWPBmnrhypGKdbygs"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}