curl --request POST \
--url https://api.sandbox.co.in/gst/compliance/tax-payer/otp \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"username": "acme.com",
"gstin": "29AAACQ3770E000"
}
'{
"code": 200,
"data": {
"status_cd": "1"
},
"timestamp": 1712926086000,
"transaction_id": "9a6ce7b9-de63-48a8-b45b-0c5420538b25"
}Generate OTP to authenticate tax payer.
curl --request POST \
--url https://api.sandbox.co.in/gst/compliance/tax-payer/otp \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"username": "acme.com",
"gstin": "29AAACQ3770E000"
}
'{
"code": 200,
"data": {
"status_cd": "1"
},
"timestamp": 1712926086000,
"transaction_id": "9a6ce7b9-de63-48a8-b45b-0c5420538b25"
}JWT access token
Source. Possible Values: primary (default) or secondary
"primary"
API key for identification
API version
Was this page helpful?