Verify a buyer's PAN
curl --request POST \
--url https://api-pacb-uat.eximpe.com/pg/pan/verify/ \
--header 'Content-Type: application/json' \
--header 'X-Client-ID: <api-key>' \
--header 'X-Client-Secret: <api-key>' \
--header 'X-Merchant-ID: <api-key>' \
--data '
{
"pan": "ABCDE1234F",
"name": "John Doe",
"dob": "1990-01-01"
}
'import requests
url = "https://api-pacb-uat.eximpe.com/pg/pan/verify/"
payload = {
"pan": "ABCDE1234F",
"name": "John Doe",
"dob": "1990-01-01"
}
headers = {
"X-Client-ID": "<api-key>",
"X-Client-Secret": "<api-key>",
"X-Merchant-ID": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'X-Client-ID': '<api-key>',
'X-Client-Secret': '<api-key>',
'X-Merchant-ID': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({pan: 'ABCDE1234F', name: 'John Doe', dob: '1990-01-01'})
};
fetch('https://api-pacb-uat.eximpe.com/pg/pan/verify/', 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://api-pacb-uat.eximpe.com/pg/pan/verify/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'pan' => 'ABCDE1234F',
'name' => 'John Doe',
'dob' => '1990-01-01'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Client-ID: <api-key>",
"X-Client-Secret: <api-key>",
"X-Merchant-ID: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-pacb-uat.eximpe.com/pg/pan/verify/"
payload := strings.NewReader("{\n \"pan\": \"ABCDE1234F\",\n \"name\": \"John Doe\",\n \"dob\": \"1990-01-01\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Client-ID", "<api-key>")
req.Header.Add("X-Client-Secret", "<api-key>")
req.Header.Add("X-Merchant-ID", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api-pacb-uat.eximpe.com/pg/pan/verify/")
.header("X-Client-ID", "<api-key>")
.header("X-Client-Secret", "<api-key>")
.header("X-Merchant-ID", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"pan\": \"ABCDE1234F\",\n \"name\": \"John Doe\",\n \"dob\": \"1990-01-01\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-pacb-uat.eximpe.com/pg/pan/verify/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Client-ID"] = '<api-key>'
request["X-Client-Secret"] = '<api-key>'
request["X-Merchant-ID"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"pan\": \"ABCDE1234F\",\n \"name\": \"John Doe\",\n \"dob\": \"1990-01-01\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "PAN verified",
"data": {
"pan_id": "PAN_8f3a2b1c9d",
"verified": true,
"pan_status": "VALID",
"entity_type": "INDIVIDUAL",
"reason": null
}
}
LRS
Verify PAN
Verify a buyer’s PAN against income-tax records. A verified PAN is the gateway to the LRS buyer flow.
POST
/
pg
/
pan
/
verify
/
Verify a buyer's PAN
curl --request POST \
--url https://api-pacb-uat.eximpe.com/pg/pan/verify/ \
--header 'Content-Type: application/json' \
--header 'X-Client-ID: <api-key>' \
--header 'X-Client-Secret: <api-key>' \
--header 'X-Merchant-ID: <api-key>' \
--data '
{
"pan": "ABCDE1234F",
"name": "John Doe",
"dob": "1990-01-01"
}
'import requests
url = "https://api-pacb-uat.eximpe.com/pg/pan/verify/"
payload = {
"pan": "ABCDE1234F",
"name": "John Doe",
"dob": "1990-01-01"
}
headers = {
"X-Client-ID": "<api-key>",
"X-Client-Secret": "<api-key>",
"X-Merchant-ID": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'X-Client-ID': '<api-key>',
'X-Client-Secret': '<api-key>',
'X-Merchant-ID': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({pan: 'ABCDE1234F', name: 'John Doe', dob: '1990-01-01'})
};
fetch('https://api-pacb-uat.eximpe.com/pg/pan/verify/', 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://api-pacb-uat.eximpe.com/pg/pan/verify/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'pan' => 'ABCDE1234F',
'name' => 'John Doe',
'dob' => '1990-01-01'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Client-ID: <api-key>",
"X-Client-Secret: <api-key>",
"X-Merchant-ID: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-pacb-uat.eximpe.com/pg/pan/verify/"
payload := strings.NewReader("{\n \"pan\": \"ABCDE1234F\",\n \"name\": \"John Doe\",\n \"dob\": \"1990-01-01\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Client-ID", "<api-key>")
req.Header.Add("X-Client-Secret", "<api-key>")
req.Header.Add("X-Merchant-ID", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api-pacb-uat.eximpe.com/pg/pan/verify/")
.header("X-Client-ID", "<api-key>")
.header("X-Client-Secret", "<api-key>")
.header("X-Merchant-ID", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"pan\": \"ABCDE1234F\",\n \"name\": \"John Doe\",\n \"dob\": \"1990-01-01\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-pacb-uat.eximpe.com/pg/pan/verify/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Client-ID"] = '<api-key>'
request["X-Client-Secret"] = '<api-key>'
request["X-Merchant-ID"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"pan\": \"ABCDE1234F\",\n \"name\": \"John Doe\",\n \"dob\": \"1990-01-01\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "PAN verified",
"data": {
"pan_id": "PAN_8f3a2b1c9d",
"verified": true,
"pan_status": "VALID",
"entity_type": "INDIVIDUAL",
"reason": null
}
}
Authorizations
Headers
Body
application/json