---
title: PAN to GST List
slug: v3-gateway/pan-to-gst-list
description: Signzy's API allows users to easily retrieve the active or inactive status of any PAN linked to a GSTIN. This document provides step-by-step instructions on using the API, including logging in and passing the necessary access token. With the business PAN 
createdAt: 2023-03-21T09:34:30.000Z
---

# Introduction

This API by Signzy helps us to fetch active or inactive status of any PAN linked to GSTIN.

## How to call the API

You will need to [login](https://docs.signzy.com/sandboxapis) before sending GST request. You are required to pass the access token received from the login call, as authorization header in the PAN to GST List request along with other parameters.

## API Input Guidelines

A bussiness PAN number needs to be given as input.

## Sample Curl

:::CodeblockTabs
Preproduction

```curl
curl --location --request POST 'https://api-preproduction.signzy.app/api/v3/pan/togstn' \
--header 'Authorization: <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "panNumber": "<Pan Number>"
  }'
```

Production

```curl
curl --location --request POST 'https://api.signzy.app/api/v3/pan/togstn' \
--header 'Authorization: <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "task" : "panToGstList",
    "essentials": {
      "panNumber": "<Pan Number> "
    }
  }'
```
:::

### Input Parameters

| **PARAMETER NAME** | **DESCRIPTION**                                                         | **REQUIRED/OPTIONAL** |
| ------------------ | ----------------------------------------------------------------------- | --------------------- |
| Authorization      | Contains the id parameter returned from the login step                  | Required              |
| Content-Type       | application/json                                                        | Required              |
| panNumber          | Pan number of the organization for which the details have to be fetched | Required              |

## Sample Response

:::CodeblockTabs
JSON

```curl
{
    "result": {
        "pan_number": "<Pan Number>",
        "client_id": "<Client Id>",
        "gstin_list": [
            {
                "gstin": "<Gstin number>",
                "state": "Tamil Nadu",
                "state_code": "33",
                "active_status": "Active"
            }
        ]
    }
}
```
:::

### Response Parameters

| ***Parameter Name&#x20;***        | **Description**                                                    |
| --------------------------------- | ------------------------------------------------------------------ |
| result                            | The object contains actual result                                  |
| result.pan\_number                | PAN number of the bussiness                                        |
| result.client\_id                 | Unique id of client                                                |
| result.gstin\_list                | An array that holds the objects of <br />list of all gstin numbers |
| result.gstin\_list.gstin          | GSTIN number of the entity                                         |
| result.gstin\_list.status         | Status of the gstin number                                         |
| result.gstin\_list.state\_code    | State in which the entity is registered                            |
| result.gstin\_list.active\_status | Displays if pan number is active or now                            |

## State Codes

| CODE | MESSAGE                             |
| ---- | ----------------------------------- |
| 404  | GSTIN not found                     |
| 400  | PAN number is not valid             |
| 409  | Error in getting Data from Upstream |
| 409  | Error in fetching 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](#).
:::

