Search GSTIN by PAN
POST {{sandbox_host}}/gst/compliance/public/pan/search?state_code={{state_code}}
Returns GSTIN entity for given GSTIN
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
state_code | string |
Request Body
{"pan"=>"{{pan}}"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
authorization | string | JWT Authorization token | |
x-api-key | string | Public key required to authorize API access. | |
x-api-version | string | ||
x-accept-cache | boolean | Pass true to get cached response |
RESPONSES
status: OK
"{\n \"code\": 200,\n \"timestamp\": {{$timestamp}}000,\n \"transaction_id\": \"{{$randomUUID}}\",\n \"data\": {\n \"error_code\": \"NOGSTIN\",\n \"message\": \"No records found\"\n }\n}"