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 |
---|---|---|---|
business_name | String | Yes | The registered name of the business entity |
pan | String | Yes | Permanent Account Number (PAN) of the business |
mobile | String | Yes | Contact mobile number associated with the business |
consent | String | Yes | User consent for accessing credit information (must be "Y") |
raw | Boolean | No | When set to true, includes the raw JSON report in the response |
{
"business_name": "SHAIK SADIQ ALI",
"mobile": "8977715735",
"pan": "IQGPS3724B",
"consent": "Y"
}
Parameter | Type | Description |
---|---|---|
data | Object | Container for the response data |
data.client_id | String | Unique identifier for the credit report request |
data.pan | String | PAN number of the business as provided in the request |
data.mobile | String | Mobile number as provided in the request |
data.business_name | String | Business name as provided in the request |
data.credit_score | String | Credit score of the business (if available) |
data.credit_report | Object | Raw credit report data (if requested with raw=true) |
data.credit_report_link | String | Temporary URL to download the credit report PDF |
status_code | Integer | HTTP status code indicating the result of the request |
success | Boolean | Indicates whether the request was successful |
message | String | Human-readable message describing the result |
message_code | String | Machine-readable code identifying the result |
{
"data": {
"client_id": "credit_report_commercial_pdf_ddwabvOTsrFGfrfYWrkj",
"pan": "IQGPS3724B",
"mobile": "8977715735",
"business_name": "SHAIK SADIQ ALI",
"credit_score": "",
"credit_report": {},
"credit_report_link": "https://aadhaar-kyc-docs.s3.amazonaws.com/username_2kecgbknrxrabfmh7yi2obkba3p/credit_report_commercial/credit_report_commercial_pdf_ddwabvOTsrFGfrfYWrkj/commercial_report_1742898017877581.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAY5K3QRM5FYWPQJEB%2F20250325%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20250325T102018Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host&X-Amz-Signature=ae16178e45ba8725311894efdca31475273a0d367cfcc260c2ee4f99c730ee4a"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"data": null,
"status_code": 400,
"success": false,
"message": "Invalid PAN format",
"message_code": "invalid_pan_format"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/credit-report-commercial/fetch-report-pdf' \
--header 'Content-Type: application/json' \
--data-raw '{
"business_name": "SHAIK SADIQ ALI",
"mobile": "8977715735",
"pan": "IQGPS3724B",
"consent": "Y"
}'
{
"data": {
"client_id": "credit_report_commercial_pdf_ddwabvOTsrFGfrfYWrkj",
"pan": "IQGPS3724B",
"mobile": "8977715735",
"business_name": "SHAIK SADIQ ALI",
"credit_score": "",
"credit_report": {},
"credit_report_link": "https://aadhaar-kyc-docs.s3.amazonaws.com/username_2kecgbknrxrabfmh7yi2obkba3p/credit_report_commercial/credit_report_commercial_pdf_ddwabvOTsrFGfrfYWrkj/commercial_report_1742898017877581.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAY5K3QRM5FYWPQJEB%2F20250325%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20250325T102018Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host&X-Amz-Signature=ae16178e45ba8725311894efdca31475273a0d367cfcc260c2ee4f99c730ee4a"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}