---
title: TAN
slug: v2/sXfU-tan
description: Learn how to verify your Tax Deduction and Collection Account Number (TAN) through our easy-to-use API. Simply pass your access token and provide the companyName and tan in the request body. Our comprehensive document includes sample curl command, input g
createdAt: 2023-06-08T05:34:52.000Z
---

## Introduction

This API allows users to verify their TAN(**Tax Deduction and Collection Account Number).**

## How to call the API

You are required to pass the access token received from the login call to the authorization header of the request.

## API Input Guidelines

You need to pass the companyName and tan in the request body and access token received from login in the respective authorization header.

## API details

### Endpoint

:::CodeblockTabs
Production Endpoint

```none
POST https://api.signzy.app/api/v3
```
:::

:::CodeblockTabs
UAT Endpoint

```none
POST https://api-preproduction.signzy.app/api/v3
```
:::

### Request Headers

| **Name&#x20;** | **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. |

### Input Parameters &#x20;

| **PARAMETER NAME** | **DESCRIPTION**                      |
| ------------------ | ------------------------------------ |
| companyName        | Name of comapany associated with tan |
| tan                | Tan to be verified                   |

## Sample Curl

:::CodeblockTabs
Preproduction

```curl
curl --location --request POST 'https://preproduction.signzy.tech/api/v2/patrons/...patronId.../tans' \
--header 'Content-Type: application/json' \
--header 'Authorization: ...Authorization token...' \
--data '{
    "essentials": {
        "companyName": "...companyName...",
        "tan": "...tan..."
    }
}'
```

Production

```curl
curl --location --request POST 'https://signzy.tech/api/v2/patrons/...patronId.../tans' \
--header 'Content-Type: application/json' \
--header 'Authorization: ...Authorization token...' \
--data '{
    "essentials": {
        "companyName": "...companyName...",
        "tan": "...tan..."
    }
}'
```
:::

### Response body parameters

:::CodeblockTabs
200

```json
{
    "essentials": {
        "companyName": "...companyName...",
        "tan": "...tan..."
    },
    "id": "...id...",
    "patronId": "...patronId...",
    "result": {
        "verified": true,
        "message": "Verification completed with positive result"
    }
}
```

```none
```
:::

### Output Parameters

| **PARAMETER NAME**     | **DESCRIPTION**                                                                                                  |
| ---------------------- | ---------------------------------------------------------------------------------------------------------------- |
| essentials             | Contains "essentials" key of the request body                                                                    |
| essentials.companyName | Name of comapany associated with tan                                                                             |
| essentials.tan         | Tan to be verified                                                                                               |
| id                     | Unique id of user                                                                                                |
| patronId               | Unique patronId of user                                                                                          |
| result                 | The resulting json object containing search results                                                              |
| result.verified        | Status of verification - true / false                                                                            |
| result.message         | Verification message - "Verification completed with positive result/Verification completed with negative result" |

## Status Codes

| CODE | MESSAGE           |
| ---- | ----------------- |
| 200  | OK                |
| 404  | Company not found |
| 409  | Company not found |
| 400  | Invalid Data      |



:::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](#).
:::

