curl --request POST \
--url https://api.sandbox.co.in/gst/compliance/tax-payer/otp/verify \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"username": "acme.com",
"gstin": "29AAACQ3770E000"
}
'{
"code": 200,
"data": {
"access_token": "{{$headers 'authorization'}}",
"session_expiry": 1712947711000,
"status_cd": "1",
"token_expiry": 1712947711000
},
"timestamp": 1712926110000,
"transaction_id": "f6a85bd7-6d53-4e60-b4a7-480d3738ff0c"
}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.
curl --request POST \
--url https://api.sandbox.co.in/gst/compliance/tax-payer/otp/verify \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"username": "acme.com",
"gstin": "29AAACQ3770E000"
}
'{
"code": 200,
"data": {
"access_token": "{{$headers 'authorization'}}",
"session_expiry": 1712947711000,
"status_cd": "1",
"token_expiry": 1712947711000
},
"timestamp": 1712926110000,
"transaction_id": "f6a85bd7-6d53-4e60-b4a7-480d3738ff0c"
}JWT access token
Source. Possible Values: primary (default) or secondary
"primary"
API key for identification
API version
One time password
"575757"
Was this page helpful?