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 | Bearer token for authentication (JWT format) |
| Content-Type | Yes | application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| application_number | String | Depends on state | Application number of the death certificate |
| registration_number | String | Depends on state | Registration number of the death certificate |
| year | String | Depends on state | Year of death in YYYY format |
| date_of_death | String | Depends on state | Date of death in "YYYY-DD-MM" format |
| serial_number | String | Depends on state | Serial number of the death certificate |
| state_name | Enum | Yes | State name (must be one of the supported states) |
| State | state_name | application_number | registration_number | year | date_of_death | serial_number |
|---|---|---|---|---|---|---|
| Delhi | ✅ | ✅ | ||||
| Rajasthan | ✅ | ✅ | ||||
| Gujarat | ✅ | ✅ | ✅ | |||
| Odisha | ✅ | ✅ | ✅ | |||
| West Bengal | ✅ | ✅ | ||||
| Madhya Pradesh | ✅ | ✅ | ||||
| Karnataka | ✅ | Refer to documentation | Refer to documentation | Refer to documentation | Refer to documentation | Refer to documentation |
| Punjab | ✅ | ✅ |
delhirajasthangujaratodishawest_bengalmadhya_pradeshkarnatakapunjab{
"serial_number": "ES4001234",
"state_name": "punjab"
}| Parameter | Type | Description |
|---|---|---|
| data | Object | Contains all the death certificate details |
| data.client_id | String | Unique client identifier for the verification request |
| data.registration_number | String | Registration number of the death certificate |
| data.application_number | String | Application number of the death certificate |
| data.date_of_death | String | Date of death in "YYYY-DD-MM" format |
| data.place_of_death | String | Location where the death occurred |
| data.name_of_deceased | String | Full name of the deceased person |
| data.father_name | String | Father's name of the deceased |
| data.mother_name | String | Mother's name of the deceased |
| data.address | String | Address of the deceased |
| data.gender | String | Gender of the deceased |
| data.name_of_applicant | String | Name of the person who applied for the death certificate |
| data.date_of_registration | String | Date when the death was registered in "YYYY-DD-MM" format |
| data.mobile_number | String | Mobile number of the applicant |
| data.year | String | Year of death |
| data.state_name | String | State where the death was registered |
| data.serial_number | String | Serial number of the death certificate |
| data.spouse_name | String | Name of the deceased's spouse |
| data.applicant_name | String | Name of the applicant |
| data.applicant_date | String | Date of application |
| data.permanent_address | String | Permanent address of the deceased |
| data.status | String | Status of the death certificate |
| status_code | Integer | HTTP status code of the response |
| success | Boolean | Indicates if the request was successful |
| message | String | Response message |
| message_code | String | Code representing the response message |
{
"data": {
"client_id": "death_verification_IvkwnNabpsfmrFkLVaMv",
"registration_number": null,
"application_number": "SJH0030000/2019",
"date_of_death": null,
"place_of_death": "SAFDARJUNG HOSPITAL NEW DELHI",
"name_of_deceased": "VEER",
"father_name": "NOT STATED",
"mother_name": "RAJWATI",
"address": null,
"gender": null,
"name_of_applicant": null,
"date_of_registration": null,
"mobile_number": null,
"year": null,
"state_name": "delhi",
"serial_number": null,
"spouse_name": null,
"applicant_name": null,
"applicant_date": null,
"permanent_address": "BASANTPUR FARIDABAD HARYANA",
"status": null
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"status_code": 400,
"success": false,
"message": "Missing required parameters for the selected state",
"message_code": "invalid_parameters"
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/death/verification' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"serial_number": "ES4001234",
"state_name": "punjab"
}'{
"data": {
"client_id": "death_verification_IvkwnNabpsfmrFkLVaMv",
"registration_number": null,
"application_number": "SJH0030000/2019",
"date_of_death": null,
"place_of_death": "SAFDARJUNG HOSPITAL NEW DELHI",
"name_of_deceased": "VEER",
"father_name": "NOT STATED",
"mother_name": "RAJWATI",
"address": null,
"gender": null,
"name_of_applicant": null,
"date_of_registration": null,
"mobile_number": null,
"year": null,
"state_name": "delhi",
"serial_number": null,
"spouse_name": null,
"applicant_name": null,
"applicant_date": null,
"permanent_address": "BASANTPUR FARIDABAD HARYANA",
"status": null
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}