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 authentication using JWT |
Content-Type | Yes | application/json |
Parameter | Type | Required | Description |
---|---|---|---|
registration_number | String | Yes | The doctor's registration number issued by South African medical authorities |
{
"registration_number": "DA73248238"
}
Parameter | Type | Description |
---|---|---|
data | Object | Contains all verification details |
data.client_id | String | Unique identifier for the verification request |
data.registration_number | String | Doctor's registration number |
data.doctor_name | String | Full name of the doctor |
data.city | String | City where the doctor is located |
data.province | String | Province where the doctor is located |
data.post_code | String | Postal code of the doctor's location |
data.registration_status | String | Current status of the doctor's registration (e.g., ACTIVE, ERASED) |
data.register | String | Type of register the doctor is listed under |
data.board | String | Governing medical board |
data.qualification_information | Array | List of qualification details |
data.qualification_information[].qualification_name | String | Name of the qualification |
data.qualification_information[].date_obtained | String | Date the qualification was obtained (YYYY-MM-DD) |
data.category_details | Array | List of practice category details |
data.category_details[].practice_type | String | Type of practice |
data.category_details[].practice_field | String | Field of practice |
data.category_details[].speciality | String | Speciality of practice |
data.category_details[].sub_speciality | String | Sub-speciality of practice |
data.category_details[].from_date | String | Start date of the practice category (YYYY-MM-DD) |
data.category_details[].end_date | String | End date of the practice category (YYYY-MM-DD) |
data.category_details[].status | String | Status of the practice category |
status_code | Integer | HTTP status code |
success | Boolean | Indicates if the request was successful |
message | String | Response message |
message_code | String | Code indicating the type of message |
{
"data": {
"client_id": "south_africa_doctor_verification_cqqBozwPwayveHsxHDRe",
"registration_number": "BAA0650714",
"doctor_name": "STEVE SMITH",
"city": "DURBAN",
"province": "KWAZULU NATAL",
"post_code": "4001",
"registration_status": "ERASED",
"register": "Practitioner",
"board": "EMB",
"qualification_information": [
{
"qualification_name": "Cert.Basic Amb.Asst.Meditrax Academy",
"date_obtained": "2006-10-05"
}
],
"category_details": [
{
"practice_type": "SUPERVISED PRACTICE",
"practice_field": "",
"speciality": "",
"sub_speciality": "",
"from_date": "2006-10-18",
"end_date": "2020-03-31",
"status": "ERASED"
}
]
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"status_code": 400,
"success": false,
"message": "Invalid registration number format",
"message_code": "invalid_input"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/south-africa/doctor-verification' \
--header 'Content-Type: application/json' \
--data-raw '{
"registration_number": "DA73248238"
}'
{
"data": {
"client_id": "south_africa_doctor_verification_cqqBozwPwayveHsxHDRe",
"registration_number": "BAA0650714",
"doctor_name": "STEVE SMITH",
"city": "DURBAN",
"province": "KWAZULU NATAL",
"post_code": "4001",
"registration_status": "ERASED",
"register": "Practitioner",
"board": "EMB",
"qualification_information": [
{
"qualification_name": "Cert.Basic Amb.Asst.Meditrax Academy",
"date_obtained": "2006-10-05"
}
],
"category_details": [
{
"practice_type": "SUPERVISED PRACTICE",
"practice_field": "",
"speciality": "",
"sub_speciality": "",
"from_date": "2006-10-18",
"end_date": "2020-03-31",
"status": "ERASED"
}
]
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}