---
title: Verification API
slug: v2-apis/78Qm-verification-api
description: Learn how to verify PAN card details with the Verification API, using government recorded data. In this document, you will find information on accessing the API, including passing the access token in the authorization header. Discover the different verifi
createdAt: 2022-09-19T07:28:09.000Z
---

# Introduction

The Verification API is used to verify  the pan card details such as Name, Pan number with the government recorded Data.

## How to call the API

You will need to [login](https://docs.signzy.com/sandboxapis) before sending the request. You are required to pass the access token received from the login call, as authorization header in the Verification API request.

### Verification Result Scenarios

1. **Verification completed with positive result.** - When PAN Number and Name perfectly matches with the Government recorded data.
2. **Verification completed with negative result.** - when PAN Number and Name doesnot match with the Government recorded data.
3. **PAN not found.**
   - The PAN Number is wrong.
   - The PAN Number is not found in our database.

### Name Verification Result Scenarios

The below mentioned name matching scenarios are valid for fuzzy name checks for PAN.

| **Name Registered**                 | **User Input** | **Result** |
| ----------------------------------- | -------------- | ---------- |
| Ankur Pandey (As given in PAN card) | Ankur Pandey   | TRUE       |
| Ankur Pandey                        | Ankur P        | TRUE       |
| Ankur P                             | Ankur Pandey   | TRUE       |
| Ankur Pandey                        | Ankura Pandey  | FALSE      |
| Ankur Pandey                        | Ankur Panday   | FALSE      |
| Ankur Pandey                        | A Pandey       | TRUE       |
| Pandey Ankur                        | Ankur Pandey   | TRUE       |
| Pandey Ankur                        | A Pandey       | TRUE       |
| Pandey Ankur                        | Ankur P        | TRUE       |
| Ankur Pandey                        | AnkurPandey    | TRUE       |
| Ankur Pandey                        | AnkurPandey    | TRUE       |
| Pandey Ankur                        | AnkurPandey    | TRUE       |
| Pandey Ankur                        | AnkurPandey    | FALSE      |

## API Input Guidelines

Card details should be manually validated, preferably by the card owner, before sending it for verification.For verification of pan card details, card number and name on card are mandatory.

## Sample Curl

:::ApiMethodV2
```json
{
  "tab": "examples",
  "url": "https://preproduction.signzy.tech/api/v2/patrons/<patron ID>/businessPanV2",
  "name": "Pan Verification",
  "method": "POST",
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [
      {
        "kind": "required",
        "name": "Authorization",
        "type": "string",
        "children": [],
        "description": "Contains the id parameter returned from the login step"
      },
      {
        "kind": "required",
        "name": "content-type",
        "type": "string",
        "children": [],
        "description": "Application/JSON"
      }
    ],
    "bodyDataParameters": [
      {
        "kind": "required",
        "name": "task",
        "type": "string",
        "description": "Task- verification (Verifying PAN Data)"
      },
      {
        "kind": "required",
        "name": "essentials",
        "type": "Object",
        "children": [
          {
            "kind": "required",
            "name": "essentials.number",
            "type": "string",
            "description": "PAN Number"
          },
          {
            "kind": "required",
            "name": "essentials.name",
            "type": "string",
            "description": "Name of the PAN card holder"
          },
          {
            "kind": "optional",
            "name": "essentials.fuzzy",
            "type": "string",
            "description": "Strings that match a pattern approximately.\nidentifies similar, but not identical elements in data table sets.\n"
          }
        ],
        "description": "Essential part of the request"
      }
    ],
    "formDataParameters": []
  },
  "results": {
    "languages": [
      {
        "id": "tj_lQZE4qzMjha3FTk7cn",
        "code": "{\r\n    \"essentials\": {\r\n        \"number\": \"\",\r\n        \"name\": \" \",\r\n        \"fuzzy\": \"\"\r\n    },\r\n    \"id\": \"\",\r\n    \"patronId\": \"\",\r\n    \"task\": \"\",\r\n    \"result\": {\r\n        \"verified\": true,\r\n        \"message\": \"Verification completed with positive result\",\r\n        \"upstreamName\": \"\"\r\n    }\r\n}",
        "language": "200",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "tj_lQZE4qzMjha3FTk7cn"
  },
  "examples": {
    "languages": [
      {
        "id": "dAZlvZBEVt-FC45Ds3Wsl",
        "code": "curl --location --request POST 'https://preproduction.signzy.tech/api/v2/patrons/<patronID>/businessPanV2' \\\n\n--header 'Authorization: <token>' \\\n--header 'content-type: application/json' \\\n--data-raw '{\n    \"task\": \"verification\",\n    \"essentials\": {\n        \"number\": \"<Pan Number>\",\n        \"name\": \"<Name>\",\n        \"fuzzy\": \"<true/false>\"\n    }\n}'",
        "language": "curl",
        "customLabel": "Preproduction"
      },
      {
        "id": "riSopv2WdlfPaHkHDmfeA",
        "code": "curl --location --request POST 'https://signzy.tech/api/v2/patrons/<patronID>/businessPanV2' \\\r\n\r\n--header 'Authorization: <token>' \\\r\n--header 'content-type: application/json' \\\r\n--data-raw '{\r\n    \"task\": \"verification\",\r\n    \"essentials\": {\r\n        \"number\": \"<Pan Number>\",\r\n        \"name\": \"<Name>\",\r\n        \"fuzzy\": \"<true/false>\"\r\n    }\r\n}'",
        "language": "curl",
        "customLabel": "Production"
      }
    ],
    "selectedLanguageId": "riSopv2WdlfPaHkHDmfeA"
  },
  "description": "Verifying Bussiness Pan Data",
  "currentNewParameter": {
    "label": "Body Parameter",
    "value": "bodyDataParameters"
  }
}
```
:::

### Response Parameter

| **Parameter Name&#x20;** | **Description**                                                                                                               |
| ------------------------ | ----------------------------------------------------------------------------------------------------------------------------- |
| essentials               | Essentials part of request                                                                                                    |
| essentials.number        | PAN number                                                                                                                    |
| essentials.name          | Name of PAN Card holder                                                                                                       |
| essentials.fuzzy         | strings that match a pattern approximately.&#xD;<br />identifies similar, but not identical elements in data<br />table sets. |
| id                       | Unique user id                                                                                                                |
| patronId                 | Unique patronId                                                                                                               |
| task                     | The type of task performed - “verification”                                                                                   |
| result                   | Contains the result optained on hitting API                                                                                   |
| result.verified          | Status of verification (i.e. It is either true or false)                                                                      |
| result.message           | It is the message displayed corresponding to the verificatioon<br />status                                                    |
| result.upstreamName      | Name of the upstream                                                                                                          |

***

:::hint{type="info"}
### Getting help

Please feel free to contact us if you have any questions, require clarification, or have ideas for how to make the documents or any of our services better.


You can reach out to us at [help@signzy.com](mailto\:help@signzy.com).
:::
