Skip to main content
POST
This endpoint is in development. The request and response can change before release.
Send the data.reference_id returned by Generate OTP, the same PAN and mobile number, and the OTP received on the mobile number. This endpoint uses your Sandbox access token in the Authorization header.

Use the taxpayer access token

Save data.access_token. Send it in the Authorization header of Create challan and Get challan in place of your Sandbox access token. Keep sending your API key in x-api-key. The token expires at data.access_token_expiry. After it expires, generate and verify a new OTP.

Headers

Authorization
string
required

Sandbox access token. Send the token without the Bearer prefix. For token-generation steps, see the Quickstart guide.

x-api-key
string
required

Sandbox API key.

x-api-version
string

API version, such as 1.0. If you omit it, the latest version is used.

Content-Type
string
required

Request body format.

Body

application/json
@entity
enum<string>
required
Available options:
in.co.sandbox.it.compliance.tax_payment.otp.verify.request
reference_id
string
required

Reference ID of the OTP request, returned as data.reference_id by Generate OTP.

Example:

"FOS007123456789"

pan
string
required

PAN sent to Generate OTP.

Pattern: ^[A-Z]{5}[0-9]{4}[A-Z]$
Example:

"ABCPS1234K"

mobile_number
string
required

Mobile number sent to Generate OTP.

Pattern: ^[6-9][0-9]{9}$
Example:

"9876543210"

otp
string
required

6-digit OTP sent to the mobile number.

Pattern: ^[0-9]{6}$
Example:

"482913"

Response

The OTP is verified. Use data.access_token as the taxpayer access token.

code
integer
required

HTTP status code.

timestamp
integer<int64>
required

Response timestamp in epoch milliseconds.

transaction_id
string
required

Unique identifier for this API request.

data
object
required