Generate OTP
Generate OTP to authenticate tax payer.
POST
Authorizations
Sandbox access token returned by /authenticate.
Sandbox API key from your Sandbox account.
Headers
Source. Possible Values: primary (default) or secondary
Example:
"primary"
API version
Body
application/json
Response
GSTN success or business-error response. GSTN returns both variants with HTTP 200.
HTTP status code returned by Sandbox.
Example:
200
Generate OTP result. status_cd identifies success or failure. Failed operations also include error.
Unix timestamp in milliseconds when Sandbox processed the request.
Example:
1712926086000
Unique identifier for tracing the request.
Example:
"9a6ce7b9-de63-48a8-b45b-0c5420538b25"