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

KeyDatatypeRequiredDescription
otpnumber

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