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 |
|---|---|---|---|
| first_name | string | Yes | First name of the individual as per their PAN card |
| last_name | string | Yes | Last name (surname) of the individual as per their PAN card |
| mobile | string | Yes | 10-digit mobile number of the individual |
| consent | string | Yes | User consent for credit check. Must be Y for yes |
| pan | string | Yes | Permanent Account Number (PAN) of the individual - 10 alphanumeric characters |
{
"first_name": "Rajiv",
"last_name": "Talwar",
"mobile": "9999000900",
"consent": "Y",
"pan": "ABCPD1234F"
}| Parameter | Type | Description |
|---|---|---|
| data | object | Contains the CRIF credit report information |
| data.client_id | string | Unique identifier for the credit report request |
| data.first_name | string | First name of the individual as provided in the request |
| data.last_name | string | Last name of the individual as provided in the request |
| data.mobile | string | Mobile number of the individual as provided in the request |
| data.pan | string | PAN number used for the credit check |
| data.credit_score | string | CRIF credit score value (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": "crif_credit_score_twflvqKyzoihfnINpqux",
"first_name": "Rajiv",
"last_name": "Talwar",
"mobile": "9999000900",
"pan": "ABCPD1234F",
"credit_score": "510"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"status_code": 401,
"success": false,
"message": "Invalid or expired Bearer token",
"message_code": "unauthorized"
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/credit-report-crif/score' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"first_name": "Rajiv",
"last_name": "Talwar",
"mobile": "9999000900",
"consent": "Y",
"pan": "ABCPD1234F"
}'{
"data": {
"client_id": "crif_credit_score_twflvqKyzoihfnINpqux",
"first_name": "Rajiv",
"last_name": "Talwar",
"mobile": "9999000900",
"pan": "ABCPD1234F",
"credit_score": "510"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}