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 |
|---|---|---|---|
| state_code | Enum | Yes | State code where the drug license was issued |
| license_no | String | Yes | Drug license number to be verified |
| State | Code |
|---|---|
| Gujarat | GJ |
| Maharashtra | MH |
| Punjab | PB |
| Rajasthan | RJ |
| Uttarakhand | UA |
| West Bengal | WB |
{
"state_code": "RJ",
"license_no": "12345"
}| Parameter | Type | Description |
|---|---|---|
| client_id | String | Unique identifier for the verification request |
| state | String | State code where the license was issued |
| license_no | String | License number that was verified |
| data | Array | Array containing license details |
| status_code | Integer | HTTP status code of the response |
| success | Boolean | Indicates if the request was successful |
| message | String | Additional information about the response (null if successful) |
| message_code | String | Code indicating the status of the response |
| Parameter | Type | Description |
|---|---|---|
| firm_name | String | Name of the firm holding the license |
| city | String | Address of the firm |
| licences | String | Type of license(s) held |
| reg_pharmacists | String | Details of registered pharmacists including name, qualification, and registration information |
| license_valids | Array | Array of license numbers and their expiry dates |
{
"data": {
"client_id": "corporate_drug_license_sZsdtzhsfdzYXhllTauu",
"state": "MH",
"license_no": "41156",
"data": [
{
"firm_name": "HARI OM MEDICAL",
"city": "GROUND FLOOR,PLOT NO. C-4, AATMAY ELIXIR,,SECTOR 8,",
"licences": "R - 2",
"reg_pharmacists": "ashok, DPH, [162982-11/02/2021]",
"license_valids": [
[
"20-41195",
"21/02/2026"
],
[
"21-41195",
"21/02/2026"
]
]
}
]
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}{
"data": null,
"status_code": 400,
"success": false,
"message": "No license found with the provided details",
"message_code": "license_not_found"
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/corporate/drug-license' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"state_code": "RJ",
"license_no": "12345"
}'{
"data": {
"client_id": "corporate_drug_license_sZsdtzhsfdzYXhllTauu",
"state": "MH",
"license_no": "41156",
"data": [
{
"firm_name": "HARI OM MEDICAL",
"city": "GROUND FLOOR,PLOT NO. C-4, AATMAY ELIXIR,,SECTOR 8,",
"licences": "R - 2",
"reg_pharmacists": "ashok, DPH, [162982-11/02/2021]",
"license_valids": [
[
"20-41195",
"21/02/2026"
],
[
"21-41195",
"21/02/2026"
]
]
}
]
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}