Register PAN for ITR Data Access
Register a PAN with Income Tax credentials to enable ITR, 26AS, and AIS data retrieval. First step in the income verification flow.
curl -X POST "https://production.deepvue.tech/v1/verification/itr/create-client" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN (JWT)" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"username": "John Doe",
"password": "example_string"
}'
import requests
import json
url = "https://production.deepvue.tech/v1/verification/itr/create-client"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_TOKEN (JWT)",
"x-api-key": "YOUR_API_KEY"
}
data = {
"username": "John Doe",
"password": "example_string"
}
response = requests.post(url, headers=headers, json=data)
print(response.json())
const response = await fetch("https://production.deepvue.tech/v1/verification/itr/create-client", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_TOKEN (JWT)",
"x-api-key": "YOUR_API_KEY"
},
body: JSON.stringify({
"username": "John Doe",
"password": "example_string"
})
});
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"net/http"
"bytes"
"encoding/json"
)
func main() {
data := []byte(`{
"username": "John Doe",
"password": "example_string"
}`)
req, err := http.NewRequest("POST", "https://production.deepvue.tech/v1/verification/itr/create-client", bytes.NewBuffer(data))
if err != nil {
panic(err)
}
req.Header.Set("Content-Type", "application/json")
req.Header.Set("Authorization", "Bearer YOUR_API_TOKEN (JWT)")
req.Header.Set("x-api-key", "YOUR_API_KEY")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
fmt.Println("Response Status:", resp.Status)
}
require 'net/http'
require 'json'
uri = URI('https://production.deepvue.tech/v1/verification/itr/create-client')
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Post.new(uri)
request['Content-Type'] = 'application/json'
request['Authorization'] = 'Bearer YOUR_API_TOKEN (JWT)'
request['x-api-key'] = 'YOUR_API_KEY'
request.body = '{
"username": "John Doe",
"password": "example_string"
}'
response = http.request(request)
puts response.body
{
"code": 42,
"timestamp": 42,
"transaction_id": "example_string",
"sub_code": "example_string",
"message": "example_string",
"data": {}
}
{
"detail": "example_string"
}
{
"detail": "example_string"
}
{
"detail": "example_string"
}
{
"error": "Unprocessable Entity",
"message": "The request was well-formed but contains semantic errors",
"code": 422,
"details": [
{
"field": "password",
"message": "Password must be at least 8 characters long"
}
]
}
{
"error": "Internal Server Error",
"message": "An unexpected error occurred on the server",
"code": 500,
"requestId": "req_1234567890"
}
/v1/verification/itr/create-client
ACCESS_TOKEN generated from the authorize endpoint. Should be included in the header as Bearer .
The CLIENT_SECRET provided to you. This header parameter is required for authentication purposes.
The media type of the request body
This body parameter specifies the username of the client being created for the verification process.
This body parameter represents the password of the client being created for the verification process.
Request Preview
Response
Response will appear here after sending the request
Authentication
Bearer token (JWT). ACCESS_TOKEN generated from the authorize endpoint. Should be included in the header as Bearer .
API Key for authentication. The CLIENT_SECRET provided to you. This header parameter is required for authentication purposes.
Body
This body parameter specifies the username of the client being created for the verification process.
This body parameter represents the password of the client being created for the verification process.
Responses
Overview
The ITR APIs enable businesses to download Income Tax Return information, such as ITR ID, Filing Year, Acknowledgement Number, ITR Form, Filing Date, ITR status, and more. The Create Client endpoint accepts username and password credentials to generate a unique client ID required for all subsequent ITR API operations.
You need an authorized access token to access any of the Platform APIs. One access token is valid for only 24 hours. After expiration, you can renew the token by using the Authorize endpoint to receive a fresh access token.
Last updated 4 weeks ago
Built with Documentation.AI