cURL
curl --request GET \
--url https://bgv.konnectnxt.com/api/lookup/mobile-to-pan \
--header 'Authorization: Bearer <token>'import requests
url = "https://bgv.konnectnxt.com/api/lookup/mobile-to-pan"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://bgv.konnectnxt.com/api/lookup/mobile-to-pan', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://bgv.konnectnxt.com/api/lookup/mobile-to-pan",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://bgv.konnectnxt.com/api/lookup/mobile-to-pan"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://bgv.konnectnxt.com/api/lookup/mobile-to-pan")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://bgv.konnectnxt.com/api/lookup/mobile-to-pan")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"status": "success",
"code": 200,
"message": "string",
"data": {
"mobile_number": "9087654321",
"full_name": "John Doe",
"id_number": "CX892I8Q0W"
},
"credits_used": 3,
"credits_left": 34
}Lookup APIs
Mobile to PAN
Returns the PAN Number from Mobile Number
GET
/
lookup
/
mobile-to-pan
cURL
curl --request GET \
--url https://bgv.konnectnxt.com/api/lookup/mobile-to-pan \
--header 'Authorization: Bearer <token>'import requests
url = "https://bgv.konnectnxt.com/api/lookup/mobile-to-pan"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://bgv.konnectnxt.com/api/lookup/mobile-to-pan', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://bgv.konnectnxt.com/api/lookup/mobile-to-pan",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://bgv.konnectnxt.com/api/lookup/mobile-to-pan"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://bgv.konnectnxt.com/api/lookup/mobile-to-pan")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://bgv.konnectnxt.com/api/lookup/mobile-to-pan")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"status": "success",
"code": 200,
"message": "string",
"data": {
"mobile_number": "9087654321",
"full_name": "John Doe",
"id_number": "CX892I8Q0W"
},
"credits_used": 3,
"credits_left": 34
}This API allows you to verify a PAN (Permanent Account Number) and fetch related details using a mobile number as input.
The Mobile to PAN API can retrieve the PAN only if the mobile number is linked to a credit or loan record. If no such record exists, the PAN will not be available. Please handle this limitation accordingly.
Authorizations
API key issued by KonnectNXT. Pass as Authorization: Bearer <your_api_key>.
Query Parameters
10 Digit Mobile Number
Response
Success
Overall status of the API
Available options:
success, error HTTP status code
Example:
400
Description of the response or error
Example:
"Invalid request parameters"
Show child attributes
Show child attributes
Represents the total number of credits used in this request.
Example:
3
Represents the remaining credits available for use.
Example:
4040
Was this page helpful?

