Generate OTP

POST {{sandbox_host}}/gst/compliance/tax-payer/otp

Generate OTP to authenticate tax payer.

Request Body

{"username"=>"{{username}}", "gstin"=>"{{gstin}}"}

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-source | string | | |

RESPONSES

status: OK

"{\n    \"transaction_id\": \"{{$randomUUID}}\",\n    \"code\": 200,\n    \"data\": {\n        \"status_cd\": \"0\",\n        \"error\": {\n            \"message\": \"Maximum session allowed for user with this GSP account exceeded.\",\n            \"error_cd\": \"AUTH403\"\n        }\n    },\n    \"timestamp\": {{$timestamp}}000\n}"