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 |
---|---|---|---|
mobile | String | Yes | Client's mobile number (10 digits) |
pan | String | Yes | Client's PAN (Permanent Account Number) |
name | String | Yes | Client's full name as per records |
gender | String (Enum) | Yes | Client's gender - must be either "male" or "female" |
consent | String (Enum) | Yes | User's consent to pull credit report - must be "Y" |
raw | Boolean | No | When set to true, includes the raw JSON report in the response |
{
"mobile": "9988776655",
"pan": "EKRPR1234F",
"name": "Vishal Rathore",
"gender": "male",
"consent": "Y"
}
Parameter | Type | Description |
---|---|---|
data | Object | Container for all response data |
data.client_id | String | Unique identifier for the client's credit report request |
data.name | String | Client's full name as provided in the request |
data.mobile | String | Client's mobile number as provided in the request |
data.pan | String | Client's PAN number as provided in the request |
data.gender | String | Client's gender as provided in the request |
data.credit_score | String | CIBIL credit score of the client |
data.credit_report | Object | Raw credit report data as received from CIBIL (may be empty) |
data.credit_report_link | String | URL to download the PDF version of the credit report |
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 indicating the result type |
{
"data": {
"client_id": "credit_report_cibil_pdf_vIaturrIyayNxedOUOsG",
"name": "Vishal Rathore",
"mobile": "9966887744",
"pan": "EKRPR1234F",
"gender": "male",
"credit_score": "744",
"credit_report": {},
"credit_report_link": "https://aadhaar-kyc-docs.s3.amazonaws.com/vishal.rathore.surepass/credit_report_cibil/credit_report_cibil_pdf_vIaturrIyayNxedOUOsG/credit_report_1726650832704638.pdf?X-Amz-Algorithm=AWS4-HMAC-S5"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"status_code": 400,
"success": false,
"message": "Invalid parameters provided",
"message_code": "invalid_parameters",
"errors": {
"mobile": "Mobile number must be 10 digits",
"pan": "Invalid PAN format"
}
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/credit-report-cibil/fetch-report-pdf' \
--header 'Content-Type: application/json' \
--data-raw '{
"mobile": "9988776655",
"pan": "EKRPR1234F",
"name": "Vishal Rathore",
"gender": "male",
"consent": "Y"
}'
{
"data": {
"client_id": "credit_report_cibil_pdf_vIaturrIyayNxedOUOsG",
"name": "Vishal Rathore",
"mobile": "9966887744",
"pan": "EKRPR1234F",
"gender": "male",
"credit_score": "744",
"credit_report": {},
"credit_report_link": "https://aadhaar-kyc-docs.s3.amazonaws.com/vishal.rathore.surepass/credit_report_cibil/credit_report_cibil_pdf_vIaturrIyayNxedOUOsG/credit_report_1726650832704638.pdf?X-Amz-Algorithm=AWS4-HMAC-S5"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}