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 |
---|---|---|---|
name | String | Yes | Full name of the individual as it appears on official documents |
consent | String | Yes | User's explicit consent to retrieve credit information (e.g., "Y") |
mobile | String | Yes | Valid mobile number of the individual |
pan | String | Yes | Permanent Account Number (PAN) of the individual |
raw | Boolean | No | When set to true, includes the raw JSON report in the response |
{
"name": "Mahendra Singh Rajput",
"consent": "Y",
"mobile": "8890812345",
"pan": "FPVPR1234Q"
}
Parameter | Type | Description |
---|---|---|
data | Object | Container for the response data |
data.client_id | String | Unique identifier for the credit report request |
data.name | String | Name of the individual (as returned by Experian) |
data.mobile | String | Mobile number of the individual |
data.pan | String | PAN number of the individual |
data.credit_score | String | Numeric credit score from Experian |
data.credit_report | Object | Raw credit report data (may be empty as PDF is provided) |
data.credit_report_link | String | Secure URL to download the credit report PDF |
status_code | Number | HTTP status code indicating the result of the request |
success | Boolean | Indicates whether the request was successful |
message | String | Human-readable status message |
message_code | String | Machine-readable status code |
{
"data": {
"client_id": "credit_report_experian_pdf_yzWulawpzCczmLyKazqJ",
"name": "MAHENDRA SINGH RAJPUT",
"mobile": "8890812345",
"pan": "FPVPR1234Q",
"credit_score": "761",
"credit_report": {},
"credit_report_link": "https://aadhaar-kyc-docs.s3.amazonaws.com/vishal.rathore.surepass/credit_report_experian/credit_report_experian_pdf_yzWulawpzCczmLyKazqJ/credit_report_1730202365240415.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAY5K3QRM5FYWPQJEB%2F20241029%2Fap-south-1%2Fs3%2Faws"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"status_code": 401,
"success": false,
"message": "Invalid or expired token",
"message_code": "unauthorized"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/credit-report-experian/fetch-report-pdf' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Mahendra Singh Rajput",
"consent": "Y",
"mobile": "8890812345",
"pan": "FPVPR1234Q"
}'
{
"data": {
"client_id": "credit_report_experian_pdf_yzWulawpzCczmLyKazqJ",
"name": "MAHENDRA SINGH RAJPUT",
"mobile": "8890812345",
"pan": "FPVPR1234Q",
"credit_score": "761",
"credit_report": {},
"credit_report_link": "https://aadhaar-kyc-docs.s3.amazonaws.com/vishal.rathore.surepass/credit_report_experian/credit_report_experian_pdf_yzWulawpzCczmLyKazqJ/credit_report_1730202365240415.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAY5K3QRM5FYWPQJEB%2F20241029%2Fap-south-1%2Fs3%2Faws"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}