Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization header as Bearer TOKEN.https://sandbox.surepass.iohttps://kyc-api.surepass.io| Header | Required | Description |
|---|---|---|
| Authorization | Yes | JWT Bearer token for authentication. Format: Bearer <your_token> |
| Content-Type | Yes | Must be set to application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| id_number | String | Yes | The Universal Account Number (UAN) of the EPFO account holder |
{
"id_number": "100000000000"
}| Parameter | Type | Description |
|---|---|---|
| data | Object | Contains the response data |
| data.client_id | String | Unique identifier for the current session/request |
| data.otp_sent | Boolean | Indicates whether OTP was successfully sent |
| data.masked_mobile_number | String | Partially masked mobile number where OTP was sent |
| status_code | Integer | HTTP status code of the response |
| message_code | String | Short code indicating the response status |
| message | String | Human-readable description of the response |
| success | Boolean | Overall success status of the request |
{
"data": {
"client_id": "income_epfo_passbook_zTqOxnWwQFXgbzxpaUeh",
"otp_sent": true,
"masked_mobile_number": "XXXXXX5699"
},
"status_code": 200,
"message_code": "success",
"message": "OTP Sent.",
"success": true
}{
"data": null,
"status_code": 400,
"message_code": "invalid_input",
"message": "Invalid UAN provided. Please check and try again.",
"success": false
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/income/epfo/passbook/generate-otp' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"id_number": "{{id_number}}"
}'{
"data": {
"client_id": "income_epfo_passbook_zTqOxnWwQFXgbzxpaUeh",
"otp_sent": true,
"masked_mobile_number": "XXXXXX5699"
},
"status_code": 200,
"message_code": "success",
"message": "OTP Sent.",
"success": true
}