1. Home
  2. APIs
  3. Bank & UPI

UPI ID verification API

Check a UPI ID is live and see whose it is.

Mode: Instant
Checked against: NPCI UPI

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

  1. You send the UPI ID (VPA).
  2. We validate it on the UPI network.
  3. You get whether it is live and the holder name.

Request

FieldDescription
vpaUPI 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"}'

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.

FieldTypeMeaning
vpastringUPI ID, lower-cased.
validbooleantrue if the VPA exists and can receive money.
namestringAccount holder name as shown by the PSP.
name_matchobjectScore 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.

ValueReturns
rohit@okhdfcbankValid, matches
nobody@yblInvalid VPA

Run these in the playground

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.

Often used with