v1

latestOpenAPI 3.1.02026-07-2418201.6 MB

PAN to GSTIN

post/v2/kyc/converter/pan/gstin

Headers

Authorizationstring required

The JWT token generated using your client ID and client secrets

Request body

reference_idstring required

Any unique ID assigned by you for this API request.

consentboolean required

true/false based on the consent given by the customer. Mandatory as per regulation.

purposestring required

The purpose of taking this consent from your customer. Mandatory as per regulation.

panstring required

The PAN (Permanent Account Number) that is to be converted into GSTIN.

Response

200

decentro_txn_idstring
statusstring
response_keystring
messagestring

Example response

{
  "decentro_txn_id": "XXXXX",
  "status": "SUCCESS",
  "response_key": "success_gstin_retrieval",
  "message": "GSTIN Data was successfully retrieved",
  "data": [
    {
      "gstin": "<GSTIN_NUMBER>",
      "status": "<STATUS>",
      "state": "<STATE>"
    }
  ]
}