---
title: PAN KYC ID link status
slug: api-marketplace/pan-kyc-id-link-status
description: Check the linking status of a PAN and Aadhaar number with the Business PAN Aadhaar Link Status API. Seamlessly integrate this API into your systems to verify identities, comply with regulations, and enhance customer experience. Ideal for KYC verification,
createdAt: 2023-04-20T20:00:01.000Z
---

## Introduction

Our PAN-KYC ID Linking Status Check API offers a quick and reliable way to check whether a Permanent Account Number (PAN) is linked to an KYC ID. Essential for adhering to regulatory requirements, this API provides a simple method for users to verify linking status, ensuring compliance with Indian tax regulations. It's an invaluable tool for individuals and organizations needing to confirm the association between PAN and KYC ID efficiently.

***

## API details

### Endpoint

:::CodeblockTabs
Production Endpoint

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

:::CodeblockTabs
UAT/Testing Endpoint

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

***

### 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    | The PAN (Permanent Account Number) to be verified.  | Mandatory |
| kycId     | string    | The KYC Id Number                                   | Mandatory |

```json
{
    "panNumber": "",
    "kycId": ""
}
```

***

### Code samples

:::CodeblockTabs
```curl
curl --location 'https://api-preproduction.signzy.app/api/v3/pan/kycIdLinkStatus' \
--header 'Content-Type: application/json' \
--header 'Authorization: <Auth Key>' \
--data '{
    "panNumber": "ABCDE0989A",
    "kycId": "XXXXXXXX1889"
}'
```

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

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

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

```

```python
var request = require('request');
var options = {
  'method': 'POST',
  'url': 'https://api-preproduction.signzy.app/api/v3/pan/kycIdLinkStatus',
  'headers': {
    'Content-Type': 'application/json',
    'Authorization': '<your Auth Key>'
  },
  body: JSON.stringify({
    "panNumber": "XXXXX0000X",
    "kycId": "000000000000"
  })

};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});

```

```go
package main

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

func main() {

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

  payload := strings.NewReader(`{
    "panNumber": "XXXXX0000X",
    "kycId": "000000000000"
}`)

  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", "<your Auth Key>")

  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         | Object    |  Contains the linking status result.                                                                                                                                                                                                    |
| result.linked  | Boolean   | Indicates if the PAN is linked to the given KYC ID.<br />**true** if provided PAN and KYC ID is linked else **false.**                                                                                                                  |
| result.kycId   | String    | The masked KYC ID linked to the PAN in the format "**XXXX-XXXX-0000**"                                                                                                                                                                  |
| result.message | String    | A message describing the verification result.<br />Possible responses are:<br />"Linked" and "Not Linked".                                                                                                                              |
| result.code    | String    | A code representing the verification status.<br />The possible values are:<br />**Empty String&#x20;**&#x77;hen PAN - KYC ID is invalid<br />**EF40124** when PAN - KYC ID is linked,<br />**EF40125** when PAN - KYC ID is not linked. |

:::CodeblockTabs
200

```json
// When pan and aadhaar is linked.
{
    "result": {
        "message": "Linked",
        "linked": true,
        "kycId": "XXXX-XXXX-1234",
        "code": "EF40124"
    },
    "reason": "REQUEST_SUCCESSFUL",
    "code": "S001"
}
// When pan and aadhaar is not linked.
{
    "result": {
        "message": "Not Linked",
        "linked": false,
        "kycId": "",
        "code": "EF40125"
    },
    "reason": "REQUEST_SUCCESSFUL",
    "code": "S001"
}
```

400

```json
// If Regex of PAN is incorrect
{
    "result": {
        "message": "Incorrect PAN format",
        "linked": null,
        "kycId": "",
        "code": ""
    },
    "reason": "BAD_REQUEST",
    "code": "E001"
}
// If Regex of Aadhaar is incorrect (Aadhaar is not in 12 digit, last 4 digit or xxxxxxxx1234 format)
{
    "result": {
        "message": "Incorrect KYC ID format",
        "linked": null,
        "kycId": "",
        "code": ""
    },
    "reason": "BAD_REQUEST",
    "code": "E001"
}
```

401

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

// If Authorization token is invalid
{
    "message": "Invalid authentication credentials"
}
```

404

```json
{
    "result": {
        "message": "Not Linked",
        "linked": false,
        "kycId": "",
        "code": "EF40125"
    },
    "code": "E301",
    "reason": "DATA_NOT_FOUND"
}
```

409

```json
{
    "result": {},
    "code": "E401",
    "reason": "CONFLICT"
}
```
:::

***

**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!
