Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization header as Bearer TOKEN.https://sandbox.surepass.apphttps://kyc-api.surepass.app| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer token for API authentication. Format: Bearer YOUR_JWT_TOKEN |
| Content-Type | Yes | Must be set to application/json |
| Parameter | Type | Description |
|---|---|---|
| data | object | Container object for the response data |
| data.license_type | array | Array of strings containing all available drug license types in Karnataka |
| status_code | integer | HTTP status code of the response (200 for success) |
| message_code | string | Machine-readable status code indicating the result of the operation |
| message | string | Human-readable message describing the result |
| success | boolean | Indicates whether the API call was successful (true/false) |
| License Type | Description |
|---|---|
| retail | License for retail sale of drugs directly to consumers through physical pharmacy stores |
| wholesale | License for wholesale distribution of drugs to other licensed entities (hospitals, retailers) |
| restricted | License for handling restricted or controlled substances with special regulatory requirements |
| mobile | License for mobile pharmacy units that operate from vehicles and serve multiple locations |
{
"data": {
"license_type": [
"retail",
"wholesale",
"restricted",
"mobile"
]
},
"status_code": 200,
"message_code": "success",
"message": "Success",
"success": true
}{
"status_code": 401,
"message_code": "unauthorized",
"message": "Invalid or expired authentication token",
"success": false
}curl --location --request GET 'https://kyc-api.surepass.app/api/v1/corporate/karnataka-drug-license/license-type' \
--header 'Authorization: Bearer <token>'{
"data": {
"license_type": [
"retail",
"wholesale",
"restricted",
"mobile"
]
},
"status_code": 200,
"message_code": "success",
"message": "Success",
"success": true
}