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 for authentication (Format: Bearer YOUR_JWT_TOKEN) |
| Content-Type | Yes | Must be set to application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | Yes | Full name of the individual as per their ID document |
| id_number | string | Yes | The identification number - either PAN or Aadhaar number |
| id_type | string | Yes | Type of identification document. Accepted values: pan or aadhaar |
| mobile | string | Yes | 10-digit mobile number of the individual |
| consent | string | Yes | User consent for credit check. Must be Y for yes |
| gender | string | Yes | Gender of the individual. Accepted values: male, female |
| report_type | string | Yes | Format of the report. Use json for JSON response |
{
"name": "Rajiv Talwar",
"id_number": "ABCPD1234F",
"id_type": "pan",
"mobile": "9876543210",
"consent": "Y",
"gender": "male",
"report_type": "json"
}| Parameter | Type | Description |
|---|---|---|
| data | object | Contains the credit report information |
| data.client_id | string | Unique identifier for the credit report request |
| data.name | string | Name of the individual as provided in the request |
| data.mobile | string | Mobile number of the individual |
| data.id_number | string | Identification number used for the credit check |
| data.id_type | string | Type of ID used (pan or aadhaar) |
| data.gender | string | Gender of the individual |
| data.credit_score | string | Credit score value (typically ranges from 300 to 900) |
| status_code | integer | HTTP status code of the response |
| success | boolean | Indicates whether the request was successful |
| message | string | Human-readable message about the request status |
| message_code | string | Machine-readable message code for the status |
{
"data": {
"client_id": "equifax_credit_score_kfaLqQurYXCxmtDuzcic",
"name": "Rajiv Talwar",
"mobile": "9876543210",
"id_number": "ABCPD1234F",
"id_type": "pan",
"gender": "male",
"credit_score": "715"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"status_code": 400,
"success": false,
"message": "Invalid id_type. Must be 'pan' or 'aadhaar'",
"message_code": "invalid_input"
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/credit-report-v2/score' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Rajiv Talwar",
"id_number": "ABCPD1234F",
"id_type": "pan",
"mobile": "9876543210",
"consent": "Y",
"gender": "male",
"report_type": "json"
}'{
"data": {
"client_id": "equifax_credit_score_kfaLqQurYXCxmtDuzcic",
"name": "Rajiv Talwar",
"mobile": "9876543210",
"id_number": "ABCPD1234F",
"id_type": "pan",
"gender": "male",
"credit_score": "715"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}