AmpleTrails, Gurugram · since 2012 +91 93154 41053 WhatsApp info@ampletrails.com Developer guide · Guides
Products
Identity verificationBusiness verification (KYB)Bank, income & creditFace match & OCRVideo KYC, eSign & flowsCompliance & riskPayouts & messagingAll 52 APIs
Use cases
Customer onboarding (KYC)Merchant & seller onboarding (KYB)Vendor & supplier verificationEmployee background checksGig and field worker onboardingLoan underwritingPayout and refund validationDuplicate and synthetic identity detection
Industries
Fintech & Digital LendingBanks & NBFCsInsuranceBroking, Mutual Funds & WealthCrypto & VDA PlatformsReal-money GamingE-commerce & MarketplacesStaffing, Gig & HRTelecomMobility & LogisticsReal Estate & RentalsB2B & Procurement
Resources
GuidesGlossaryFAQSecurity & data
DevelopersPricingAbout
Theme
Get API keysCall +91 93154 41053

UPI VPA Verification API

Checks that a UPI ID exists and is active, and returns the name registered against it with a match score. It also tells you if the VPA belongs to a merchant.

Details you hold Account no.XXXXXX4521 IFSCBANK0001234 ₹1 IMPS Bank returns Account holderRAVI KUMAR StatusActive Name match 94 Safe to send the first payout to this account
Source
NPCI UPI network through a partner bank
Turnaround
Real time, usually under a few seconds
Endpoint
POST /v1/upi/verify
Who can use it
Any business with the VPA holder's consent, for payouts, refunds and onboarding.

Overview

Customers mistype UPI IDs all the time, and a payout to the wrong VPA is hard to recover. This API checks the UPI ID on the NPCI network and returns the registered name, so you can show it back to the user ('Paying RAVI KUMAR, is that you?') before any money moves.

Good to know

It confirms the VPA and its name today. It does not tell you which bank account sits behind it, and VPAs can be unlinked later.

What you get

  • Name before money movesShow the registered name for the user to confirm, the same way UPI apps do.
  • Merchant VPAs flaggedKnow when a VPA belongs to a merchant, which matters when you expect a personal account.
  • Name match scoreCompare the UPI name with your KYC name and keep a score for your records.
  • Works with any handleBank handles and app handles (okaxis, ybl, paytm and so on) are all checked the same way.

Request

POST https://api.ampletrails.com/v1/upi/verify

FieldTypeStatusDescription
vpastringRequiredUPI ID to verify
namestringOptionalName to match against the UPI-registered name
consentstringRequiredY when the UPI ID holder has consented

Response

Fields inside data. Every response also carries status, request_id and, on errors, message. See error codes.

FieldMeaningExample
vpa_validWhether the UPI ID exists and is activetrue
name_at_pspName registered against the UPI IDRAVI KUMAR
name_matchWhether the supplied name matchestrue
name_match_scoreSimilarity score from 0 to 10091
pspUPI app or bank handle that issued the VPAokbank
is_merchantWhether the VPA belongs to a merchantfalse

Example

curl -X POST https://api.ampletrails.com/v1/upi/verify \
  -H "Authorization: Bearer $AMPLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"vpa": "ravi@okbank", "name": "Ravi Kumar", "consent": "Y"}'
Response · 200 OK
{
  "status": "success",
  "request_id": "req_7f3a9c21e4",
  "data": {
    "vpa_valid": true,
    "name_at_psp": "RAVI KUMAR",
    "name_match": true,
    "name_match_score": 91,
    "psp": "okbank",
    "is_merchant": false
  }
}

Example data. The exact field list for your account comes with your sandbox documentation.

Use cases

Refunds

Confirm the refund VPA belongs to the customer before you send money back.

Gig and creator payouts

Verify the UPI ID a delivery partner or creator gives you before their first weekly payout.

Cash-back and rewards

Stop reward payouts going to a handful of VPAs shared across many accounts.

Questions about this API

Does this send any money?

No. It is a lookup on the NPCI network. Nothing is debited or credited.

Why is the name sometimes shorter than the KYC name?

UPI shows the name from the linked bank account, which may use initials. Use the match score, not an exact match.

Can a VPA be valid today and fail tomorrow?

Yes. People delete UPI IDs, change apps and unlink accounts. Check again before large or infrequent payouts.

Do you need the customer's consent?

Yes. Collect it as part of your payout or refund flow and send consent: Y with the request.

Try the UPI VPA Verification API

Sandbox keys, the full field reference and a Postman collection, usually within a working day.