Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization header as Bearer TOKEN.https://sandbox.surepass.iohttps://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 to query for associated UPI IDs |
{
"mobile_number": "8079012345"
}| Parameter | Type | Description |
|---|---|---|
| data | Object | Container for the response data |
| data.client_id | String | Unique identifier for the API request |
| data.mobile_number | String | The mobile number that was queried |
| data.name | String | Full name of the UPI user |
| data.upi_id | Array | List of UPI IDs associated with the mobile number |
| status_code | Integer | HTTP status code of the response |
| success | Boolean | Indicates if the request was successful |
| message | String | Human-readable status message |
| message_code | String | Machine-readable status code |
{
"data": {
"client_id": "mobile_to_multiple_upi_SywuvzINnwnxauTksmqJ",
"mobile_number": "8079012345",
"name": "Mr. Vishal Rathore",
"upi_id": [
"8079012345@apl",
"8079012345@paytm"
]
},
"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/mobile-to-multiple-upi' \
--header 'Content-Type: application/json' \
--data-raw '{
"mobile_number": "8079012345"
}'{
"data": {
"client_id": "mobile_to_multiple_upi_SywuvzINnwnxauTksmqJ",
"mobile_number": "8079012345",
"name": "Mr. Vishal Rathore",
"upi_id": [
"8079012345@apl",
"8079012345@paytm"
]
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}