Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization header as Bearer TOKEN.https://sandbox.surepass.apphttps://kyc-api.surepass.app| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer token for API authentication. Format: Bearer {JWT_TOKEN} |
| Content-Type | Yes | Must be set to application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| upi_id | string | Yes | Valid UPI ID to be verified. Format: {identifier}@{bankcode}. Example: 9999966666@axis |
{
"upi_id": "9999966666@axis"
}| Parameter | Type | Description |
|---|---|---|
| data | object | Contains the verification result and bank account details |
| data.client_id | string | Unique identifier for this verification transaction |
| data.upi_id | string | The verified UPI ID that was submitted in the request |
| data.full_name | string | Full name of the account holder as registered with the bank |
| data.account_number | string | Bank account number linked to the UPI ID |
| data.ifsc | string | IFSC code of the bank branch where the account is held |
| data.amount | number | Verification transaction amount (always 0.01) |
| data.payment_mode | string | Payment method used for verification (UPI) |
| status_code | integer | HTTP status code of the response (200 for success) |
| success | boolean | Indicates whether the API request was successful |
| message | string | Human-readable message describing the result |
| message_code | string | Machine-readable code for programmatic handling |
{
"data": {
"client_id": "upi_to_account_bmtmpdocilrlGuBTBScI",
"upi_id": "9999966666@axis",
"full_name": "AMBIGA DEVI",
"account_number": "159488920019",
"ifsc": "INDB0000148",
"amount": 0.01,
"payment_mode": "UPI"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"data": null,
"status_code": 401,
"success": false,
"message": "Authentication failed. Invalid or expired token",
"message_code": "authentication_failed"
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/bank-verification/upi-to-account' \
--header 'Content-Type: application/json' \
--data-raw '{
"upi_id": "9999966666@axis"
}'{
"data": {
"client_id": "upi_to_account_bmtmpdocilrlGuBTBScI",
"upi_id": "9999966666@axis",
"full_name": "AMBIGA DEVI",
"account_number": "159488920019",
"ifsc": "INDB0000148",
"amount": 0.01,
"payment_mode": "UPI"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}