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_number | String | Yes | The mobile number for which bank account details are to be retrieved |
{
"mobile_number": "7827215213"
}
Parameter | Type | Description |
---|---|---|
data | Object | Container for the response data |
data.client_id | String | Unique identifier for the client request |
data.mobile_number | String | Mobile number that was provided in the request |
data.upi_id | String | UPI ID associated with the mobile number |
data.full_name | String | Full name of the account holder |
data.account_number | String | Bank account number linked to the mobile number |
data.ifsc | String | IFSC code of the bank branch |
status_code | Integer | HTTP status code of the response |
success | Boolean | Indicates if the request was successful |
message | String or null | Additional information about the response (if any) |
message_code | String | Code indicating the status of the request |
{
"data": {
"client_id": "mobile_to_account_qoOgfdmNryBsvlvqpGmg",
"mobile_number": "7827215213",
"upi_id": "7827215213@ptaxis",
"full_name": "VISHAL SINGH",
"account_number": "5729012511",
"ifsc": "KKBK0001234"
},
"status_code": 200,
"success": true,
"message": null,
"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/bank-verification/mobile-to-account' \
--header 'Content-Type: application/json' \
--data-raw '{
"mobile_number": "7827215213"
}'
{
"data": {
"client_id": "mobile_to_account_qoOgfdmNryBsvlvqpGmg",
"mobile_number": "7827215213",
"upi_id": "7827215213@ptaxis",
"full_name": "VISHAL SINGH",
"account_number": "5729012511",
"ifsc": "KKBK0001234"
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}