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 | JWT Bearer token for authentication (format: Bearer YOUR_TOKEN ) |
Content-Type | Yes | Must be set to application/json |
Parameter | Type | Required | Description |
---|---|---|---|
mobile_number | String | Yes | The mobile number linked to the UPI account (10-digit format without country code) |
{
"mobile_number": "8079123456"
}
Parameter | Type | Description |
---|---|---|
data | Object | Container for the response data |
data.client_id | String | Unique identifier for the API request |
data.full_name | String | User's full name as registered with UPI |
data.upi_id | String | UPI ID associated with the provided mobile number |
data.mobile_number | String | The mobile number that was provided in the request |
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": "upi_mobile_to_name_kvXzkjQnqxkbNzIftqTN",
"full_name": "Vishal SINGH Rathore",
"upi_id": "rathore1234@ybl",
"mobile_number": "8079123456"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"errors": {
"mobile_number": "Mobile Number Mobile should not start with 0 and should be of length 10"
},
"message": "Input payload validation failed"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/bank-verification/upi-mobile-to-name' \
--header 'Content-Type: application/json' \
--data-raw '{
"mobile_number": "8079123456"
}'
{
"data": {
"client_id": "upi_mobile_to_name_kvXzkjQnqxkbNzIftqTN",
"full_name": "Vishal SINGH Rathore",
"upi_id": "rathore1234@ybl",
"mobile_number": "8079123456"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}