Verify OTP

21522152

About

  • Once the last two steps are successfully completed. That is - the user has enabled API access on his GST Portal and using Sandbox API an OTP has been sent. Then, this API is used to verify the OTP and enable access to GST Portal.
  • This API will start a session and provide access valid for 6 hours. Returns date timestamp of the expiry of the session.
  • The end result of Tax Payer authentication process is to establish an authorization token for the session
    which needs to be included in the header for all subsequent API calls

Endpoint

HTTP Method

Resource

Description

POST

/gsp/tax-payer/{gstin}/otp/verify?username={username}&otp={otp}

This API takes in the gstin, otp and username to start the session to access the gstin's GST Portal.

API EndpointAPI Endpoint

Path Parameter

Param

Type

Description

Example

gstin

string

15-character alphanumeric unique identifier assigned to business entities registering under the GST regime

AAAAA0000A

Query Parameter

Param

Type

Description

Example

username

string

Username same as used in GST portal.

[email protected]

otp

string

OTP Recieved from the previous step.

1231


Response

Param

Type

Description

Example

session_expiry

num

Time when the session expires for this GST Portal Access.

1623316504835


Did this page help you?