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 |
|---|---|---|---|
| pan | string | Yes | Permanent Account Number (PAN) of the individual - 10 alphanumeric characters |
| mobile | string | Yes | 10-digit mobile number of the individual |
| name | string | Yes | Full name of the individual as per their PAN card (can be uppercase or mixed case) |
| consent | string | Yes | User consent for credit check. Must be Y for yes |
| gender | string | Yes | Gender of the individual. Accepted values: male, female |
{
"pan": "ABCPD1234F",
"mobile": "9999000900",
"name": "RAJIV TALWAR",
"consent": "Y",
"gender": "male"
}| Parameter | Type | Description |
|---|---|---|
| data | object | Contains the CIBIL credit report information |
| data.client_id | string | Unique identifier for the credit report request |
| data.name | string | Name of the individual as retrieved from CIBIL (typically uppercase) |
| data.mobile | string | Mobile number of the individual as provided in the request |
| data.pan | string | PAN number used for the credit check |
| data.gender | string | Gender of the individual as provided in the request |
| data.credit_score | string | CIBIL 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": "cibil_credit_score_lGzdvkNakDDseIbcCMkr",
"name": "RAJIV TALWAR",
"mobile": "9999000900",
"pan": "ABCPD1234F",
"gender": "male",
"credit_score": "663"
},
"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-cibil/score' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"pan": "ABCPD1234F",
"mobile": "9999000900",
"name": "RAJIV TALWAR",
"consent": "Y",
"gender": "male"
}'{
"data": {
"client_id": "cibil_credit_score_lGzdvkNakDDseIbcCMkr",
"name": "RAJIV TALWAR",
"mobile": "9999000900",
"pan": "ABCPD1234F",
"gender": "male",
"credit_score": "663"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}