Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization header as Bearer TOKEN.https://sandbox.surepass.iohttps://kyc-api.surepass.io| Header | Required | Description |
|---|---|---|
| Authorization | Yes | JWT Bearer token for authentication. Format: Bearer <your_token> |
| Content-Type | Yes | Must be set to application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| upi_id | String | Yes | UPI ID or Virtual Payment Address (VPA) of the account holder to be verified (e.g., "username@bankcode") |
{
"upi_id": "kumar32@axisb"
}| Parameter | Type | Description |
|---|---|---|
| data | Object | Container for the verification result data |
| data.client_id | String | Unique identifier for the verification request |
| data.upi_id | String | The UPI ID that was verified |
| data.full_name | String | Full name of the UPI ID holder |
| data.bank | String | Name of the bank linked to the UPI ID |
| data.branch | String | Branch name of the bank |
| data.centre | String | Centre information (if available) |
| data.district | String | District where the bank branch is located |
| data.state | String | State where the bank branch is located |
| data.address | String | Complete address associated with the bank account |
| data.contact | String | Indicates whether contact information is verified ("TRUE" or "FALSE") |
| data.city | String | City where the bank branch is located |
| status_code | Integer | HTTP status code indicating the result of the request |
| success | Boolean | Indicates whether the API call was successful |
| message | String or null | Additional information about the response (null if successful) |
| message_code | String | Code indicating the status of the response |
{
"data": {
"client_id": "upi_advanced_v2_vxwxNJWocdtUAazbHulz",
"upi_id": "deepak32@axisb",
"full_name": "DEEPAK KUMAR",
"bank": "Kotak Mahindra Bank",
"branch": "CONNAUGHT PLACE BRANCH",
"centre": "",
"district": "DELHI",
"state": "DELHI",
"address": "123, Green Park Avenue,Near Metro Station, New Delhi, Delhi - 110016",
"contact": "TRUE",
"city": "DELHI"
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}{
"data": {
"client_id": "upi_advanced_v2_cNcdcMwyUDhMljozRjkk",
"upi_id": "7827216sadf",
"full_name": null,
"bank": null,
"branch": null,
"centre": null,
"district": null,
"state": null,
"address": null,
"contact": null,
"city": null
},
"status_code": 422,
"success": false,
"message": "Invalid UPI ID",
"message_code": "invalid_upi_id"
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/bank-verification/upi-advanced-v2' \
--header 'Content-Type: application/json' \
--data-raw '{
"upi_id": "kumar32@axisb"
}'{
"data": {
"client_id": "upi_advanced_v2_vxwxNJWocdtUAazbHulz",
"upi_id": "deepak32@axisb",
"full_name": "DEEPAK KUMAR",
"bank": "Kotak Mahindra Bank",
"branch": "CONNAUGHT PLACE BRANCH",
"centre": "",
"district": "DELHI",
"state": "DELHI",
"address": "123, Green Park Avenue,Near Metro Station, New Delhi, Delhi - 110016",
"contact": "TRUE",
"city": "DELHI"
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}