Generate OTP

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

Generate OTP to authenticate tax payer.

Request Body

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

HEADERS

KeyDatatypeRequiredDescription
authorizationstringJWT Authorization token
x-api-keystringPublic key required to authorize API access.
x-api-versionstring
x-sourcestring

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}"