UPI ID verification API
Check a UPI ID is live and see whose it is.
Overview
Validates a VPA such as name@okbank and returns the account holder’s name, so a payout or collect request goes to the right person.
POST/v1/verify/upi
Where it’s used
- Instant UPI payouts
- Cashback and rewards
- Marketplace settlements
How the check runs
- You send the UPI ID (VPA).
- We validate it on the UPI network.
- You get whether it is live and the holder name.
Request
| Field | Description |
|---|---|
vpa | UPI ID, e.g. rohit@okhdfcbank |
curl -X POST https://api.yetlix.com/v1/verify/upi \
-H "x-client-id: $YETLIX_CLIENT_ID" \
-H "x-client-secret: $YETLIX_CLIENT_SECRET" \
-H "Content-Type: application/json" \
-d '{"vpa":"rohit@okhdfcbank","name":"Rohit Verma"}'
{
"status": "success",
"request_id": "req_7Hq2kD91",
"data": {
"vpa": "rohit@okhdfcbank",
"valid": true,
"name": "ROHIT KUMAR VERMA",
"name_match": {
"score": 88,
"result": "MATCH"
}
}
}
Response fields
Inside the data object. The envelope (status, request_id, billable, timestamp) is the same for every API and is described in the docs.
| Field | Type | Meaning |
|---|---|---|
vpa | string | UPI ID, lower-cased. |
valid | boolean | true if the VPA exists and can receive money. |
name | string | Account holder name as shown by the PSP. |
name_match | object | Score against the name you sent. |
Outcomes and what to do
Every check can end in a handful of ways. Decide up front what your product does in each case, so nothing falls through to a support ticket.
valid + MATCH
Pay out safely.
Do this: Save as verified.
valid: false
Mistyped or deleted VPA.
Do this: Ask the user to check the ID in their UPI app.
Sandbox test values
Send these values in vpa with your sandbox key to get each result. Anything else returns INVALID_INPUT in sandbox.
| Value | Returns |
|---|---|
rohit@okhdfcbank | Valid, matches |
nobody@ybl | Invalid VPA |
Best practices
- Merchant VPAs return the business name, not a person’s name. Account for that in your name rules.
Compliance note. Same beneficiary-verification purpose as bank account checks.
Frequently asked
Does it return the bank account number?
No. UPI shares the name only. Use Reverse penny drop if you need account number and IFSC.