Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization
header as Bearer TOKEN
.https://sandbox.surepass.app
https://kyc-api.surepass.app
Header | Required | Description |
---|---|---|
Authorization | Yes | Bearer token in the format Bearer <JWT> |
Content-Type | Yes | Must be application/json |
Parameter | Type | Required | Description |
---|---|---|---|
first_name | string | Yes | First name of the individual |
last_name | string | Yes | Last name of the individual |
mobile | string | Yes | Mobile number of the individual |
pan | string | Yes | PAN number of the individual |
consent | string | Yes | User consent flag (Y for Yes, N for No) |
raw | boolean | Yes | If true , returns raw JSON; if false , returns processed report and PDF |
{
"first_name": "Rahul",
"last_name": "Sharma",
"mobile": "9876543210",
"pan": "AXYPR5678L",
"consent": "Y",
"raw": false
}
Parameter | Type | Description |
---|---|---|
data | object | Contains the credit report details |
client_id | string | Unique identifier for the credit report request |
first_name | string | First name of the individual |
last_name | string | Last name of the individual |
mobile | string | Mobile number of the individual |
pan | string | PAN number of the individual |
credit_score | string | Credit score as per CRIF |
credit_report | object | JSON representation of the credit report |
credit_report_link | string | Temporary URL to download the PDF credit report |
status_code | number | HTTP status code (e.g., 200 for success) |
success | boolean | Indicates if the request was successful |
message | string | Response message |
message_code | string | Response message code |
{
"data": {
"client_id": "credit_report_crif_pdf_QuSYiwhmGFqfwuegPVqj",
"first_name": "Rahul",
"last_name": "Sharma",
"mobile": "9876543210",
"pan": "AXYPR5678L",
"credit_score": "734",
"credit_report": {},
"credit_report_link": "https://temp-surepass-bucket.s3.amazonaws.com/ritik.singh/credit_report_crif/credit_report_crif_pdf_QuSYiwhmGFqfwuegPVqj/credit_report_1753363033811150.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAY5K3QRM5JDBTSGYP%2F20250724%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20250724T131714Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host&X-Amz-Signature=3ffacd2813c59d19c77789b009837b64e182136a51fe8600de1df172f838bbae"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"status_code": 400,
"success": false,
"message": "Invalid PAN format",
"message_code": "invalid_pan"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/credit-report-crif/fetch-report-pdf' \
--header 'Content-Type: application/json' \
--data-raw '{
"first_name": "Rahul",
"last_name": "Sharma",
"mobile": "9876543210",
"pan": "AXYPR5678L",
"consent": "Y",
"raw": false
}'
{
"data": {
"client_id": "credit_report_crif_pdf_QuSYiwhmGFqfwuegPVqj",
"first_name": "Rahul",
"last_name": "Sharma",
"mobile": "9876543210",
"pan": "AXYPR5678L",
"credit_score": "734",
"credit_report": {},
"credit_report_link": "https://temp-surepass-bucket.s3.amazonaws.com/ritik.singh/credit_report_crif/credit_report_crif_pdf_QuSYiwhmGFqfwuegPVqj/credit_report_1753363033811150.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAY5K3QRM5JDBTSGYP%2F20250724%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20250724T131714Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host&X-Amz-Signature=3ffacd2813c59d19c77789b009837b64e182136a51fe8600de1df172f838bbae"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}