Skip to main content
POST
This endpoint is in development. The request and response can change before release.
Use the tax payment APIs to create and track income tax challans through the Income Tax Department’s e-Pay Tax service:
  1. Generate an OTP for the taxpayer’s PAN and a mobile number.
  2. Verify the OTP to get a taxpayer access token.
  3. Create a challan with the taxpayer access token and pay it by RTGS or NEFT before it expires.
  4. Get the challan or get its payment status to confirm the payment.
This endpoint uses your Sandbox access token in the Authorization header. See the Quickstart guide for Sandbox authentication. Save data.reference_id from the response. You need it, with the same PAN and mobile number, to verify the 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.request
pan
string
required

PAN of the taxpayer making the payment.

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

"ABCPS1234K"

mobile_number
string
required

10-digit Indian mobile number to send the OTP to, without the country code. It does not have to be the mobile number registered on the e-Filing portal.

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

"9876543210"

Consent of the taxpayer to process their information for this request.

Available options:
Y,
y
reason
string
required

Purpose of the request. Minimum 20 characters.

Minimum string length: 20

Response

The OTP is sent. Use data.reference_id with the OTP to verify it.

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