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 (JWT) |
Content-Type | Yes | application/json |
Parameter | Type | Required | Description |
---|---|---|---|
id_number | String | Yes | ID Number (account number) to verify |
ifsc | String | Yes | IFSC code of the bank branch |
ifsc_details | Boolean | No | Set to true to receive detailed IFSC information |
{
"id_number": "219101000000000",
"ifsc": "BARB0DAMOHA",
"ifsc_details": true
}
Parameter | Type | Description |
---|---|---|
data | Object | Contains the verification results |
data.client_id | String | Unique identifier for the verification request |
data.account_exists | Boolean | Indicates if the account exists (true/false) |
data.upi_id | String | UPI ID associated with the account (if available) |
data.full_name | String | Full name of the account holder |
data.imps_ref_no | String | IMPS reference number for the verification |
data.remarks | String | Additional remarks about the account |
data.status | String | Verification status (see status codes below) |
data.ifsc_details | Object | Detailed information about the bank branch (if requested) |
status_code | Integer | HTTP status code |
success | Boolean | Overall API call success indicator |
message | String | Additional message (if any) |
message_code | String | Message code for the response |
success
: Verification completed successfullyinvalid_ifsc
: The provided IFSC code is invalidinvalid_account
: The provided account number is invalidnre_account
: The account is an NRE (Non-Resident External) accountaccount_closed
: The account has been closedaccount_blocked_frozen
: The account is blocked or frozenimps_not_enabled
: IMPS is not enabled for this accountbackend_down
: The banking backend system is currently unavailabletransaction_failed
: The verification transaction failed{
"data": {
"client_id": "bank_validation_pjTDReiGjNBputtmJIGC",
"account_exists": true,
"upi_id": null,
"full_name": "A YADAV",
"imps_ref_no": "506026134771",
"remarks": "",
"status": "success",
"ifsc_details": {
"id": 0,
"ifsc": "CNRB0000000",
"micr": "123456789",
"iso3166": "IN-UP",
"swift": null,
"bank": "C Bank",
"bank_code": "CNRB",
"bank_name": "C Bank",
"branch": "AGRA",
"centre": "AGRA",
"district": "AGRA",
"state": "UTTAR PRADESH",
"city": "AGRA",
"address": "AAGRA (UP",
"contact": "+911234567890",
"imps": true,
"rtgs": true,
"neft": true,
"upi": true,
"micr_check": true
}
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}
{
"status_code": 422,
"success": false,
"message": "Invalid IFSC Code.",
"message_code": "invalid_ifsc"
}
Status | Account Number | IFSC Code | Name |
---|---|---|---|
Success | 919010015323374 | UTIB0002381 | MAYANK KUMAR |
003493618712 | KKBK0000146 | GANESH SINGH | |
520121240890827 | CNRB0002481 | AJAY YADAV | |
063213001042243 | IBKL0000297 | ANKIT | |
Invalid IFSC | 520191028757481 | CORO0001746 | |
Backend Down | 31944251744 | SBIN1000513 |
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/bank-verification/' \
--header 'Content-Type: application/json' \
--data-raw '{
"id_number": "219101000000000",
"ifsc": "BARB0DAMOHA",
"ifsc_details": true
}'
{
"data": {
"client_id": "bank_validation_pjTDReiGjNBputtmJIGC",
"account_exists": true,
"upi_id": null,
"full_name": "A YADAV",
"imps_ref_no": "506026134771",
"remarks": "",
"status": "success",
"ifsc_details": {
"id": 0,
"ifsc": "CNRB0000000",
"micr": "123456789",
"iso3166": "IN-UP",
"swift": null,
"bank": "C Bank",
"bank_code": "CNRB",
"bank_name": "C Bank",
"branch": "AGRA",
"centre": "AGRA",
"district": "AGRA",
"state": "UTTAR PRADESH",
"city": "AGRA",
"address": "AAGRA (UP",
"contact": "+911234567890",
"imps": true,
"rtgs": true,
"neft": true,
"upi": true,
"micr_check": true
}
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}