---
title: "PAN to DIN"
method: POST
path: "/pan/din"
---

# PAN to DIN

`POST /pan/din`

The PAN to DIN API enables users to fetch the Director Identification Number (DIN) associated with a given Permanent Account Number (PAN). This API is primarily used for verifying and mapping individuals to their directorship roles in companies registered under the Ministry of Corporate Affairs.

## Headers

- `X-Ipay-Auth-Code` string
- `X-Ipay-Client-Id` string
- `X-Ipay-Client-Secret` string
- `X-Ipay-Endpoint-Ip` string

## Request body

- object
  - `pan` string — PAN number of End User
  - `latitude` string — End Customer Latitude.
  - `longitude` string — End Customer Longitude.
  - `externalRef` string — Your Unique Transaction id
  - `consent` string — Consent should be accepted by customer

## Response `200`

200

- object
  - `statuscode` string
  - `actcode` unknown
  - `status` string
  - `data` object
    - `gstByPan` object[]
      - `gstin` string
      - `status` string
      - `stateCode` string
      - `stateName` string
    - `pool` object
      - `referenceId` string
      - `openingBalance` string
      - `paymentAmount` string
      - `mode` string
      - `closingBalance` string
  - `timestamp` string
  - `ipay_uuid` string
  - `orderid` string
  - `environment` string
  - `internalCode` unknown

## Other responses

- `400` — 400

---

[API](https://skmtc.net/instantpay/apis/identity.md) · [All operations](https://skmtc.net/instantpay/apis/identity/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/instantpay/identity/revisions/1d0672797b14/schema)
