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 |
---|---|---|---|
registration_number | String | Yes | Doctor's registration number issued by the medical council |
registration_year | String | Yes | Year when the doctor was registered with the medical council |
{
"registration_number": "12345",
"registration_year": "1900"
}
Parameter | Type | Description |
---|---|---|
data | Object | Contains the verification results and doctor information |
data.client_id | String | Unique identifier for this verification request |
data.registration_number | String | Doctor's registration number (as provided in request) |
data.registration_year | String | Doctor's registration year (as provided in request) |
data.results | Array | Array containing detailed doctor information |
status_code | Number | HTTP status code of the response |
success | Boolean | Indicates if the verification was successful |
message | String | Human-readable status message |
message_code | String | Machine-readable status code |
Parameter | Type | Description |
---|---|---|
registration_date | String | Doctor's registration date in "YYYY-MM-DD" format |
doctor_id | String | Unique identifier for the doctor in the medical council records |
full_name | String | Doctor's complete name including title |
dob | String | Doctor's date of birth in "YYYY-MM-DD" format |
address | String | Doctor's registered address |
parent_name | String | Doctor's parent name (may be null) |
state_medical_council | String | Name of the state medical council where the doctor is registered |
university | String | University from which the doctor obtained their qualification |
qualification | String | Doctor's highest medical qualification |
year_of_passing | String | Year when the doctor passed their qualification |
{
"data": {
"client_id": "doctor_bYrsAyympURxdawVnegy",
"registration_number": "12345",
"registration_year": "1900",
"results": [
{
"registration_date": "1900-00-00",
"doctor_id": "00001",
"full_name": "Dr. Rustom",
"dob": "1800-01-01",
"address": "Vasai District Thane",
"parent_name": null,
"state_medical_council": "Tamil Nadu Medical Council",
"university": "university",
"qualification": "MBBS",
"year_of_passing": "1900"
}
]
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"status_code": 400,
"success": false,
"message": "Invalid doctor registration details",
"message_code": "invalid_registration_details"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/doctor/doctor-verification' \
--header 'Authorization: Bearer TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"registration_number": "12345",
"registration_year": "1900"
}'
{
"data": {
"client_id": "doctor_bYrsAyympURxdawVnegy",
"registration_number": "12345",
"registration_year": "1900",
"results": [
{
"registration_date": "1900-00-00",
"doctor_id": "00001",
"full_name": "Dr. Rustom",
"dob": "1800-01-01",
"address": "Vasai District Thane",
"parent_name": null,
"state_medical_council": "Tamil Nadu Medical Council",
"university": "university",
"qualification": "MBBS",
"year_of_passing": "1900"
}
]
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}