Verify OTP

POST {{sandbox_host}}/gst/compliance/tax-payer/otp/verify?otp=575757

Verify OTP to authenticate tax payer. This API will start a session and provide access valid for 6 hrs. Returns date timestamp of expiry of session.

Request Params

| Key | Datatype | Required | Description | | otp | number | | |

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\": \"Invalid Session\",\n            \"error_cd\": \"AUTH4033\"\n        }\n    },\n    \"timestamp\": {{$timestamp}}000\n}"