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 |
---|---|---|---|
id_number | String | Yes | PAN number of the insurance agent to verify (e.g., "AYEPJ1234F") |
get_pdf_report | Boolean | No | To get IRDAI pdf report |
{
"id_number": "AYEPJ1234F"
}
Parameter | Type | Description |
---|---|---|
data | Object | Container for the response data |
data.client_id | String | Unique identifier for the verification request |
data.id_number | String | PAN number that was submitted for verification |
data.results | Array | List of agent records found (typically contains one object) |
data.pdf_report | String | Pdf report link |
status_code | Integer | HTTP status code indicating the result of the request |
success | Boolean | Indicates whether the API call was successful |
message | String | Human-readable description of the response status |
message_code | String | Machine-readable code representing the response status |
Parameter | Type | Description |
---|---|---|
agent_name | String | Full name of the insurance agent |
date_of_birth | String | Agent's date of birth in YYYY-MM-DD format |
insurer_type | String | Category of insurance the agent is authorized to sell (e.g., Life, Health, Property) |
insurer | String | Name of the insurance company the agent represents |
agency_code | String | Unique code assigned to the agent by the insurer |
date_of_appointment | String | Date when the agent was appointed in YYYY-MM-DD format |
status_of_agency | String | Current status of the agent (e.g., Active, Terminated) |
status_change_date | String | Date when the agent's status last changed in YYYY-MM-DD format |
license_no | String | Agent's license number (if applicable) |
{
"data": {
"client_id": "irdai_verify_ipaWzqgqDwORpkCVpkQw",
"id_number": "AYEPJ1234F",
"results": [
{
"agent_name": "P.S. JOHRI",
"date_of_birth": "1996-06-17",
"insurer_type": "Life",
"insurer": "HDFC Life Insurance Company Limited",
"agency_code": "HDF 01000000",
"date_of_appointment": "2021-03-20",
"status_of_agency": "Terminated for Non Fulfilment of Minimum business Guarantee",
"status_change_date": "2022-09-02",
"license_no": ""
}
],
"pdf_report": null
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"status_code": 400,
"success": false,
"message": "Invalid PAN format",
"message_code": "invalid_input"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/irdai/verify' \
--header 'Content-Type: application/json' \
--data-raw '{
"id_number": "AYEPJ1234F"
}'
{
"data": {
"client_id": "irdai_verify_ipaWzqgqDwORpkCVpkQw",
"id_number": "AYEPJ1234F",
"results": [
{
"agent_name": "P.S. JOHRI",
"date_of_birth": "1996-06-17",
"insurer_type": "Life",
"insurer": "HDFC Life Insurance Company Limited",
"agency_code": "HDF 01000000",
"date_of_appointment": "2021-03-20",
"status_of_agency": "Terminated for Non Fulfilment of Minimum business Guarantee",
"status_change_date": "2022-09-02",
"license_no": ""
}
],
"pdf_report": null
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}