Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization
header as Bearer TOKEN
.https://sandbox.surepass.io
https://kyc-api.surepass.io
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 |
---|---|---|---|
upi_id | String | Yes | UPI ID or VPA (Virtual Payment Address) of the account holder to be verified. Format examples: username@upi , mobilenumber@bank , etc. |
{
"upi_id": "1234567890@ybl"
}
Parameter | Type | Description |
---|---|---|
data | Object | Container for the verification result data |
data.client_id | String | Unique identifier of the Client |
data.account_exists | Boolean | Indicates whether the UPI account exists (true/false) |
data.upi_id | String | The UPI ID that was verified |
data.full_name | String | Full name of the UPI account holder |
data.imps_ref_no | String | IMPS Reference Number |
data.remarks | String | Remarks |
data.status | String | Status (from predefined enum values) |
data.ifsc_details | Object | IFSC details of the UPI account |
status_code | Integer | HTTP status code of the response |
success | Boolean | Indicates if the API request was successful |
message | String or null | Additional message about the response (if any) |
message_code | String | Code indicating the status of the request |
{
"data": {
"client_id": "upi_validation_yowhoilsErgUZldeexzt",
"account_exists": true,
"upi_id": "1234567890@ybl",
"full_name": "Munna Bhaiya",
"imps_ref_no": "",
"remarks": "",
"status": "",
"ifsc_details": ""
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}
{
"data": {
"client_id": "upi_validation_cNcdcMwyUDhMljozRjkk",
"account_exists": false,
"upi_id": "7827216sadf",
"full_name": null,
"imps_ref_no": null,
"remarks": null,
"status": null,
"ifsc_details": null
},
"status_code": 422,
"success": false,
"message": "Verification Failed.",
"message_code": "verification_failed"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/bank-verification/upi-verification' \
--header 'Authorization: Bearer TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"upi_id": "1234567890@ybl"
}'
{
"data": {
"client_id": "upi_validation_yowhoilsErgUZldeexzt",
"account_exists": true,
"upi_id": "1234567890@ybl",
"full_name": "Munna Bhaiya",
"imps_ref_no": "",
"remarks": "",
"status": "",
"ifsc_details": ""
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}