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

Mobile to UPI ID API

Takes a mobile number (with consent) and returns the UPI IDs linked to it, the registered name and a suggested primary VPA for payouts.

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 mapper and PSP look-ups through a partner bank
Turnaround
Real time, a few seconds
Endpoint
POST /v1/upi/mobile-lookup
Who can use it
Businesses paying or refunding their own customers, with the mobile owner's consent.

Overview

Most people don't know their own UPI ID, but everyone knows their mobile number. With the user's consent, this API looks up the UPI IDs linked to that number and the name on them. Users get paid without typing a VPA, and you get an extra signal that the number belongs to the person you onboarded.

Good to know

Coverage depends on how people set up UPI. A missing result does not mean the person has no UPI ID.

What you get

  • No VPA typingAsk for the mobile number you already have, then show the UPI name for the user to confirm.
  • Name on the accountGet the registered name and compare it with your KYC record.
  • Primary VPA suggestedWhere several IDs are linked, we suggest one that is suitable for payouts.
  • Ownership signalIf the UPI name matches your KYC name, it's a good sign the number really belongs to the user.

Request

POST https://api.ampletrails.com/v1/upi/mobile-lookup

FieldTypeStatusDescription
mobilestringRequired10-digit Indian mobile number
consentstringRequiredY when the mobile owner has consented

Response

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

FieldMeaningExample
foundWhether any UPI ID is linked to the numbertrue
vpasList of linked UPI IDsravi@okbank, 9876543210@upi
nameRegistered name on the primary UPI IDRAVI KUMAR
primary_vpaUPI ID suggested for payoutsravi@okbank
pspUPI app or bank handle of the primary VPAokbank

Example

curl -X POST https://api.ampletrails.com/v1/upi/mobile-lookup \
  -H "Authorization: Bearer $AMPLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"mobile": "9876543210", "consent": "Y"}'
Response · 200 OK
{
  "status": "success",
  "request_id": "req_7f3a9c21e4",
  "data": {
    "found": true,
    "vpas": "ravi@okbank, 9876543210@upi",
    "name": "RAVI KUMAR",
    "primary_vpa": "ravi@okbank",
    "psp": "okbank"
  }
}

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

Use cases

Gig worker payouts

Pay delivery and field partners straight to the UPI linked to their registered number.

Insurance and lending refunds

Return excess EMIs or premiums without asking the customer for bank details again.

Mobile ownership check

Use the UPI name as a soft check that the mobile number used for OTP belongs to the applicant.

Questions about this API

Is this allowed without the user knowing?

No. Only look up numbers with the owner's consent and for a stated purpose, like paying them. Don't use it to profile people.

What if nothing is found?

Some people haven't set up UPI, or use a VPA that isn't based on their number. Fall back to asking for a VPA or bank account.

Can it return more than one VPA?

Yes. People often have UPI on two or three apps. We list them and mark one as the suggested primary.

Should I verify the VPA again before paying?

For large or delayed payouts, yes. Run UPI VPA verification just before you send the money.

Try the Mobile to UPI ID API

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