cURL
curl --request POST \ --url https://api.example.com/gst/compliance/tax-payer/otp \ --header 'Content-Type: application/json' \ --header 'authorization: <authorization>' \ --header 'x-api-key: <x-api-key>' \ --header 'x-api-version: <x-api-version>' \ --header 'x-source: <x-source>' \ --data ' { "username": "{{username}}", "gstin": "{{gstin}}" } '
{ "transaction_id": "{{$randomUUID}}", "code": 200, "data": { "status_cd": "1" }, "timestamp": 1712926086000 }
Generate OTP to authenticate tax payer.
JWT Authorization token
Public key required to authorize API access.
Show child attributes
Was this page helpful?