---
title: Pan Persona
slug: api-marketplace/pan-persona
createdAt: 2024-08-29T22:50:23.238Z
---

## Introduction

The PAN Persona API is an essential tool for businesses requiring reliable and comprehensive KYC verification. By taking a PAN number as input, it delivers detailed personal and financial information, including name, gender, Aadhaar linkage, employment status, Directorship status, sole proprietorship status.

***

## API details

### Endpoint

:::CodeblockTabs
Production Endpoint

```text
POST https://api.signzy.app/api/v3/pan/persona
```
:::

:::CodeblockTabs
UAT/Testing  Endpoint

```text
POST https://api-preproduction.signzy.app/api/v3/pan/persona
```
:::

***

### Request Headers

| Name          | Value            | Required  | Description                                                                                                |
| ------------- | ---------------- | --------- | ---------------------------------------------------------------------------------------------------------- |
| Content-Type  | application/json | Mandatory | The type of content that the request body contains.                                                        |
| Authorization | XXXXXXXXXXXXXXX  | Mandatory | An authentication token to authorize the request. Reach out to the Signzy support team to get one created. |

***

### Request body parameters

| Parameter | Data Type | Description            | Required  |
| --------- | --------- | ---------------------- | --------- |
| panNumber | String    | pan number of consumer | Mandatory |

### Request body

```json
{
    "panNumber": "string"
}
```

***

### Code  samples

:::CodeblockTabs
```curl
curl --location 'https://api-preproduction.signzy.app/api/v3/pan/persona' \
--header 'Content-Type: application/json' \
--header 'Authorization: <auth token>' \
--data '{
    "panNumber": "<pan Number>"
}'
```

```nodejs
const axios = require('axios');
let data = JSON.stringify({
  "panNumber": "<panNumber>"
});

let config = {
  method: 'post',
  maxBodyLength: Infinity,
  url: 'https://api-preproduction.signzy.app/api/v3/pan/persona',
  headers: { 
    'Content-Type': 'application/json', 
    'Authorization': '<auth token>'
  },
  data : data
};

axios.request(config)
.then((response) => {
  console.log(JSON.stringify(response.data));
})
.catch((error) => {
  console.log(error);
});

```

```python
import requests
import json

url = "https://api-preproduction.signzy.app/api/v3/pan/persona"

payload = json.dumps({
  "panNumber": "<panNumber>"
})
headers = {
  'Content-Type': 'application/json',
  'Authorization': '<auth token>'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)

```

```go
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "https://api-preproduction.signzy.app/api/v3/pan/persona"
  method := "POST"

  payload := strings.NewReader(`{
    "panNumber": "<panNumber>"
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "<auth token>")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
```
:::

***

### Response body parameters

| **Parameter**                     | **Data Type** | **Description**                                                             |
| --------------------------------- | ------------- | --------------------------------------------------------------------------- |
| result.name                       | String        | Full name of the individual                                                 |
| result.number                     | String        | Unique identification number (e.g., Aadhaar)                                |
| result.firstName                  | String        | First name of the individual<br />(Will be blank for non-Individual PANs)   |
| result.middleName                 | String        | Middle name of the individual <br />(Will be blank for non-Individual PANs) |
| result.lastName                   | String        | Last name of the individual<br />(Will be blank for non-Individual PANs)    |
| result.typeOfHolder               | String        | Type of holder (e.g., Individual or Person)                                 |
| result.gender                     | String        | Gender of the individual                                                    |
| result.isIndividual               | Boolean       | Indicates if the holder is an individual                                    |
| result.category                   | String        | Category of the holder (e.g., person)                                       |
| result.dateOfBirth                | String        | Date of birth of the individual                                             |
| result.maskedAadhaarNumber        | String        | Masked Aadhaar number                                                       |
| result.emailId                    | String        | Email address of the individual<br />**\[Deprecated]**                      |
| result.mobileNumber               | String        | Mobile number of the individual<br />**\[Deprecated]**                      |
| result.aadhaarLinked              | Boolean       | Indicates if Aadhaar is linked                                              |
| result.address                    | Object        | Full address of the individual<br />**\[Deprecated]**                       |
| result.address.fullAddress        | String        | Complete address including all components                                   |
| result.address.addressLineOne     | String        | Address line 1                                                              |
| result.address.addressLineTwo     | String        | Address line 2 (if any)                                                     |
| result.address.street             | String        | Street name                                                                 |
| result.address.city               | String        | City name                                                                   |
| result.address.state              | String        | State name                                                                  |
| result.address.pincode            | String        | Pincode of the address                                                      |
| result.address.country            | String        | Country name                                                                |
| result.isValid                    | Boolean       | Indicates if the data is valid                                              |
| result.panStatus                  | String        | PAN status (e.g., VALID)                                                    |
| result.panStatusCode              | String        | PAN status code (e.g., E for valid)                                         |
| result.isDirector                 | String        | Indicates if the individual is a director                                   |
| result.soleProprietorStatus<br /> | String        | Indicates if the individual is sole proprietership                          |
| result.isSalaried                 | String        | Indicates if the individual is salaried                                     |

:::CodeblockTabs
200

```json
{
    "result": {
        "name": "RAM SINGH",
        "number": "ABCPE1234L",
        "firstName": "RAM",
        "middleName": "",
        "lastName": "SINGH",
        "typeOfHolder": "Individual or Person",
        "gender": "Male",
        "isIndividual": true,
        "category": "person",
        "dateOfBirth": "01-01-2000",
        "maskedAadhaarNumber": "XXXXXXXX3445",
        "emailId": "",
        "mobileNumber": "",
        "aadhaarLinked": true,
        "address": {
            "fullAddress": "",
            "addressLineOne": "",
            "addressLineTwo": "",
            "street": "",
            "city": "",
            "state": "",
            "pincode": "",
            "country": ""
        },
        "isValid": true,
        "panStatus": "VALID",
        "panStatusCode": "E",
        "isDirector": "No",
        "soleProprietorStatus": "No",
        "isSalaried": "Yes"
    }
}
```

400

```json
// When request for invalid pan number.
{
    "error": {
        "reason": "PAN number is not valid",
        "status": 400,
        "type": "BAD_REQUEST",
        "message": "Bad Request",
        "statusCode": 400,
        "name": "error"
    }
}
```

401

```json
// When API key is not passed
{
    "message": "No API key found in request"
}

// when wrong API Key is passed
{
    "message": "Invalid authentication credentials"
}
```

404

```json
// When request for valid and wrong pan number.
{
    "error": {
        "name": "error",
        "message": "Pan Number Not Found",
        "status": 404,
        "reason": "NOT_FOUND",
        "type": "Not Found",
        "statusCode": 404
    }
}
```

409

```json
{
    "error": {
        "reason": "Error From upstream",
        "status": 409,
        "type": "Conflict",
        "message": "Upstream Down",
        "statusCode": 409,
        "name": "error"
    }
}

```
:::

### Status codes

**PAN Status codes**

| Status Code | Description                                              |
| ----------- | -------------------------------------------------------- |
| E           | Existing and Valid                                       |
| F           | Marked as Fake                                           |
| X           | Marked as Deactivated                                    |
| D           | Deleted                                                  |
| N           | Record (PAN) Not Found in ITD Database/Invalid PAN       |
| EA          | Existing and Valid but event marked as Amalgamation      |
| EC          | Existing and Valid but event marked as Acquisition       |
| ED          | Existing and Valid but event marked as Death             |
| EI          | Existing and Valid but event marked as Dissolution       |
| EL          | Existing and Valid but event marked as Liquidated        |
| EM          | Existing and Valid but event marked as Merger            |
| EP          | Existing and Valid but event marked as Partition         |
| ES          | Existing and Valid but event marked as Split             |
| EU          | Existing and Valid but event marked as Under Liquidation |

**Contact Us for Any Assistance**

If you have any questions or need assistance, please reach out to our customer support team. You can contact us via email at <font color="#2166ae">**help\@signzy.com**</font>. We strive to provide prompt and reliable assistance, ensuring your queries are addressed effectively.

We value your feedback and are committed to making your experience smooth and enjoyable. Our team is dedicated to assisting you with any needs you may have. Thank you for choosing our services. We look forward to helping you!
