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 <token> ) |
Content-Type | Yes | Must be set to application/json |
Parameter | Type | Required | Description |
---|---|---|---|
mobile_number | String | Yes | The mobile number for which to find the associated UPI ID |
{
"mobile_number": "1234567890"
}
Parameter | Type | Description |
---|---|---|
data | Object | Contains the result data |
data.client_id | String | Unique identifier for the API request |
data.mobile_number | String | The mobile number provided in the request |
data.upi_id | String | The UPI ID associated with the provided mobile number |
status_code | Number | HTTP status code of the response |
success | Boolean | Indicates whether the request was successful |
message | String | Human-readable status message |
message_code | String | Machine-readable status code |
{
"data": {
"client_id": "find_upi_btYgGDVllvsuKxccKofh",
"mobile_number": "1234567890",
"upi_id": "xyz123@ybl"
},
"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/find-upi-id' \
--header 'Authorization: Bearer TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"mobile_number": "1234567890"
}'
{
"data": {
"client_id": "find_upi_btYgGDVllvsuKxccKofh",
"mobile_number": "1234567890",
"upi_id": "xyz123@ybl"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}