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 containing your JWT authentication token |
| Content-Type | Yes | Must be set to application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| pan | string | Yes | 10-character PAN (Permanent Account Number) in the format ABCDE1234F |
| webhook_url | string | No | Optional webhook URL to receive real-time status updates during verification process |
{
"pan": "ABCDF1234F",
"webhook_url": "https://your-domain.com/webhooks/msme-status"
}| Parameter | Type | Description |
|---|---|---|
| data | object | Container object holding the response data |
| data.client_id | string | Unique identifier for the MSME verification session, used for tracking and follow-up requests |
| data.status | string | Current status of the verification process (pending, completed, failed) |
| status_code | number | HTTP status code indicating the result of the API request |
| success | boolean | Indicates whether the API request was processed successfully |
| message | string | Human-readable message describing the result |
| message_code | string | Machine-readable code for programmatic handling |
{
"data": {
"client_id": "pan_to_msme_qHSovVUTKbdXtHctufdD",
"status": "pending"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"data": null,
"status_code": 400,
"success": false,
"message": "Invalid PAN format provided",
"message_code": "invalid_pan_format"
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/pan-to-msme/initialize' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"pan": "ABCDF1234F"
}'{
"data": {
"client_id": "pan_to_msme_qHSovVUTKbdXtHctufdD",
"status": "pending"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}