Mobile Number to UPI VPA Lookup
Find the primary UPI VPA linked to a mobile number. Useful for payment verification and account discovery workflows.
curl -X GET "https://production.deepvue.tech/v1/verification/mobile-to-vpa?mobile_number=example_string" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN (JWT)" \
-H "x-api-key: YOUR_API_KEY"
import requests
import json
url = "https://production.deepvue.tech/v1/verification/mobile-to-vpa?mobile_number=example_string"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_TOKEN (JWT)",
"x-api-key": "YOUR_API_KEY"
}
response = requests.get(url, headers=headers)
print(response.json())
const response = await fetch("https://production.deepvue.tech/v1/verification/mobile-to-vpa?mobile_number=example_string", {
method: "GET",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_TOKEN (JWT)",
"x-api-key": "YOUR_API_KEY"
}
});
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"net/http"
)
func main() {
req, err := http.NewRequest("GET", "https://production.deepvue.tech/v1/verification/mobile-to-vpa?mobile_number=example_string", nil)
if err != nil {
panic(err)
}
req.Header.Set("Content-Type", "application/json")
req.Header.Set("Authorization", "Bearer YOUR_API_TOKEN (JWT)")
req.Header.Set("x-api-key", "YOUR_API_KEY")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
fmt.Println("Response Status:", resp.Status)
}
require 'net/http'
require 'json'
uri = URI('https://production.deepvue.tech/v1/verification/mobile-to-vpa?mobile_number=example_string')
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Get.new(uri)
request['Content-Type'] = 'application/json'
request['Authorization'] = 'Bearer YOUR_API_TOKEN (JWT)'
request['x-api-key'] = 'YOUR_API_KEY'
response = http.request(request)
puts response.body
{
"code": 200,
"timestamp": 1737920868205,
"transaction_id": "6ad91a7b213e483f8e24f546750e5c38",
"sub_code": "SUCCESS",
"message": "Linked VPA Fetched Successfully.",
"data": {
"mobile_number": "8117182000",
"vpa": "81171827000@ptyes",
"name_at_bank": "MOSD NIHARIKA"
}
}
{
"code": 200,
"timestamp": 1738036065103,
"transaction_id": "85dd600e5d3549d2b48c7c7eb40aa4f4",
"sub_code": "NO_VPA_LINKED",
"message": "No VPA Linked to Mobile Number."
}
{
"detail": "Inactive client_id"
}
{
"detail": "Not authenticated"
}
{
"detail": "Not a valid token"
}
{
"code": 422,
"timestamp": 1738007863555,
"transaction_id": "88c52bae32eb45718cf355b4144eefa2",
"sub_code": "INVALID_INPUT",
"message": "Invalid Mobile Number Pattern."
}
{
"detail": "Internal Server Error"
}
{
"code": null,
"timestamp": null,
"transaction_id": "string",
"message": "Source Unavailable"
}
/v1/verification/mobile-to-vpa
ACCESS_TOKEN generated from the authorize endpoint. Should be included in the header as Bearer .
The CLIENT_SECRET provided to you. This header parameter is required for authentication purposes.
Request Preview
Response
Response will appear here after sending the request
Authentication
Bearer token (JWT). ACCESS_TOKEN generated from the authorize endpoint. Should be included in the header as Bearer .
API Key for authentication. The CLIENT_SECRET provided to you. This header parameter is required for authentication purposes.
Query Parameters
Responses
Overview
The Mobile to UPI API retrieves account holder names and UPI IDs by providing a phone number. This endpoint allows platforms to verify UPI account details linked to mobile numbers, supporting customer identity verification workflows in financial services and payment contexts.
Response outcomes
- Successful VPA retrieval — When a UPI ID is linked to the provided mobile number, the API returns the account holder's name at bank, mobile number, and associated VPA identifier.
- No VPA linked — The API handles cases where mobile numbers exist but have no associated UPI account, returning a specific response indicating this status.
Last updated 4 weeks ago
Built with Documentation.AI