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 format) |
Content-Type | Yes | application/json |
Parameter | Type | Required | Description |
---|---|---|---|
mobile_no | String | Yes | The mobile number to query for associated bank account details |
{
"mobile_no": "8079027123"
}
Parameter | Type | Description |
---|---|---|
data | Object | Container for the bank account details |
data.client_id | String | Unique identifier for the verification request |
data.bank_ifsc | String | IFSC code of the bank branch |
data.bank_account_no | String | Bank account number associated with the mobile number |
data.bank_details | String | Bank name and branch location |
data.name | String | Name of the bank account holder |
status_code | Integer | HTTP status code indicating the result of the request |
success | Boolean | Indicates whether the request was successful |
message | String | Human-readable description of the response status |
message_code | String | Machine-readable code representing the response status |
{
"data": {
"client_id": "mobile_to_bank_details_NkSxYeGblpzYhwMBbirH",
"bank_ifsc": "UTIB0001234",
"bank_account_no": "92001006123456789",
"bank_details": "AXIS BANK, JAIPUR",
"name": "VISHAL RATHORE"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"status_code": 422,
"success": false,
"message": "Verification Failed.",
"message_code": "verification_failed"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/mobile-to-bank-details/verification' \
--header 'Content-Type: application/json' \
--data-raw '{
"mobile_no": "8079027123"
}'
{
"data": {
"client_id": "mobile_to_bank_details_NkSxYeGblpzYhwMBbirH",
"bank_ifsc": "UTIB0001234",
"bank_account_no": "92001006123456789",
"bank_details": "AXIS BANK, JAIPUR",
"name": "VISHAL RATHORE"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}