Pan Verification

PAN verification service which returns the details of a PAN and status by inputting the Permanent Account Number of an individual or a business. Usage is restricted to the guidelines and use-cases defined by the competent authority and subletting it not allowed.

📘

Header Request

Accept : application/json
Content-Type: application/json
secret : Unique secret key (Provided by Pay2New)

Request Parameters

ParametersTypeMandatory (M) , Optional (O)Description
numberStringMPAN number of End User
latitudeStringMCurrent location latitude
longitudeStringMCurrent location longitude
request_idStringMUnique Reference number
optional1StringODepends on Operator
optional2StringODepends on Operator
optional3StringODepends on Operator
optional4StringODepends on Operator
customer_numberStringMUser Mobile Number
pincodeStringMUser Pin Code
ipStringMOnboard User IP Address
outletIdNumberMUnique Outlet Id of Customer

Sample Request

curl --location 'https://pay2new.in/apis/v1/verification/pan' \
--header 'secret: qwertyuQWERTY12345asdf' \
--header 'Content-Type: application/json' \
--data '{
    "number": "ABCDE1234F",
    "request_id": P2N54544444545,
    "optional1": "",
    "optional2": "",
    "optional3": "",
    "optional4": "",
    "customer_number": "9876543210",
    "pincode": "414002",
    "latitude": "19.1258",
    "longitude": "74.7453",
    "ip": "30.169.159.167",
    "outletId": 2
}'
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://pay2new.in/apis/v1/verification/pan',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'POST',
  CURLOPT_POSTFIELDS =>'{
    "number": "ABCDE1234F",
    "request_id": P2N54544444545,
    "optional1": "",
    "optional2": "",
    "optional3": "",
    "optional4": "",
    "customer_number": "9876543210",
    "pincode": "123456",
    "latitude": "19.1258",
    "longitude": "74.7453",
    "ip": "30.169.159.167",
    "outletId": 2
}',
  CURLOPT_HTTPHEADER => array(
    'secret: qwertyuQWERTY12345asdf',
    'Content-Type: application/json'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

Response Parameters

NameTypeDescription
statusIntegerPay2New Transaction Status
messageStringMessage from API
dataArrayResponse Data (If Present)
data.pan_numberStringPan Holders Pan Number
data.registered_nameStringPan Holders Name
data.father_nameStringPan Holders Father Name
data.pan_typeStringType of Pan Card Holder
order_idStringTransaction Id ( If transaction otherwise it is null )

Sample Response

{
    "status": 1,
    "message": "Transaction Successful",
    "data": {
        "pan_number": "ABCDE1234F",
        "registered_name": "TEST",
        "father_name": "",
        "pan_type": ""
    },
    "order_id": "P2N5452534158DFOLASDF"
}

🚧

Note:

  • Latitude and Longitude must be represented in degrees with 4 digits after decimal.
Language
Click Try It! to start a request and see the response here!