Professional Documents
Culture Documents
Digitap KYC & Asset Validation API Suite- API Doc_v1.73_29Feb2024
Digitap KYC & Asset Validation API Suite- API Doc_v1.73_29Feb2024
Digitap KYC & Asset Validation API Suite- API Doc_v1.73_29Feb2024
1
Table of Contents
1 Introduction 6
1.1 Validation API Suite Introduction 6
2 API Documentation 6
2.1 Introduction 6
2.2 Authentication 7
2.3 API Request & Response Format 7
2.4 HTTP Status/Response Codes and its response body format 7
2.4.1 Error Messages 8
2.5 API Result 9
2.6 Additional Notes 9
3 KYC - PAN Basic Validation API (V1) [DEPRECATED] 10
3.1 API Introduction 10
3.2 API URL 10
3.3 API Request 10
3.4 API Success Response 12
3.4.1 Successful Validation (result_code 101) Case 12
3.4.2 Unsuccessful Validation Cases 13
3.5 API Error Response 14
4 KYC - PAN Basic Validation API (V2) 14
4.1 API Introduction 14
4.2 API URL 14
4.3 API Request 15
4.4 API Success Response 16
4.4.1 Successful Validation (result_code 101) Case 16
4.4.2 Unsuccessful Validation Cases 18
4.5 API Error Response 19
5 KYC - PAN Advanced Validation API [DEPRECATED] 19
5.1 API Introduction 19
5.2 API URL 20
5.3 API Request 20
5.4 API Success Response 21
5.4.1 Successful Validation (result_code 101) Case 21
5.4.2 Unsuccessful Validation Cases 23
5.5 API Error Response 24
6 KYC - PAN Details Validation API 24
6.1 API Introduction 24
6.2 API URL 24
6.3 API Request 24
6.4 API Success Response 26
2
6.4.1 Successful Validation (result_code 101) Case 26
6.4.2 Unsuccessful Validation Cases 33
6.5 API Error Response 36
7 KYC - Form 206AB Compliance Status Validation API 37
7.1 API Introduction 37
7.2 API URL 37
7.3 API Request 37
7.4 API Success Response 38
7.4.1 Successful Validation (result_code 101) Case 38
7.4.2 Unsuccessful Validation Cases 39
7.5 API Error Response 39
8 KYC - PAN to F’Name Validation API 39
8.1 API Introduction 39
8.2 API URL 40
8.3 API Request 40
8.4 API Success Response 40
8.4.1 Successful Validation (result_code 101) Case 40
8.4.2 Unsuccessful Validation Cases 41
8.5 API Error Response 42
9 KYC - VoterID Validation API 42
9.1 API Introduction 42
9.2 API URL 42
9.3 API Request 42
9.4 API Success Response 43
9.4.1 Successful Validation (result_code 101) Case 43
9.4.2 Unsuccessful Validation Case 46
9.5 API Error Response 46
10 KYC - Passport Validation API 46
10.1 API Introduction 46
10.2 API URL 47
10.3 API Request 47
10.4 API Success Response 48
10.4.1 Successful Validation (result_code 101) Case & Application Rejected (result_code
108) Case 48
10.4.2 Unsuccessful Validation Cases 49
10.5 API Error Response 49
11 KYC - Aadhaar Advanced Validation API 50
11.1 API Introduction 50
11.2 API URL 50
11.3 API Request 50
11.4 API Success Response 51
11.4.1 Successful Validation (result_code 101) Case 51
3
11.4.2 Unsuccessful Validation Cases 51
11.5 API Error Response 52
12 KYC - Aadhaar Basic Validation API 53
12.1 API Introduction 53
12.2 API URL 53
12.3 API Request 54
12.4 API Success Response 54
12.4.1 Successful Validation (result_code 101) Case 54
12.4.2 Unsuccessful Validation Cases 54
12.5 API Error Response 55
13 KYC - PAN AADHAAR Link Validation API 56
13.1 API Introduction 56
13.2 API URL 56
13.3 API Request 56
13.4 API Success Response 57
13.4.1 Successful Validation (result_code 101) Case 57
13.4.2 Unsuccessful Validation Cases 58
13.5 API Error Response 59
14 KYC - PAN to Masked AADHAAR Validation API 60
14.1 API Introduction 60
14.2 API URL 60
14.3 API Request 60
14.4 API Success Response 61
14.4.1 Successful Validation (result_code 101) Case 61
14.4.2 Unsuccessful Validation Cases 62
14.5 API Error Response 62
15 KYC - AADHAAR to Masked PAN Validation API 62
15.1 API Introduction 62
15.2 API URL 62
15.3 API Request 63
15.4 API Success Response 63
15.4.1 Successful Validation (result_code 101) Case 63
15.4.2 Unsuccessful Validation Cases 64
15.5 API Error Response 65
16 KYC - Driving License Validation API 66
16.1 API Introduction 66
16.2 API URL 66
16.3 API Request 66
16.4 API Success Response 67
16.4.1 Successful Validation (result_code 101) Case 67
16.4.2 Unsuccessful Validation Cases 71
16.5 API Error Response 71
4
17 ASSET - Vehicle RC Validation API 71
17.1 API Introduction 71
17.2 API URL 71
17.3 API Request 72
17.4 API Success Response 72
17.4.1 Successful Validation (result_code 101) Case 72
17.4.2 Unsuccessful Validation Cases 77
17.5 API Error Response 78
5
1 Introduction
This document is intended for our enterprise partners who can easily integrate the services they
have chosen with Digitap.ai. Using this document they can jumpstart their business processes
and start using the Digitap.ai services as early as possible and also align their own business
processes seamlessly by integrating and making changes to their backend.
Note: Digitap.ai reserves the right to modify this API documentation from time-to-time. If you are
a business using this Service, you will be notified well in advance, prior to any impactful change
being made.
2 API Documentation
2.1 Introduction
Digitap.ai Validation Suite provides RESTFul/standard HTTP Web APIs which help to validate a
specific data point by providing the response synchronously in the same API Call. The API uses
the standard HTTP status/response codes to indicate the success or API errors.
6
2.2 Authentication
To use API, one needs to register with Digitap and get a client id & client secret key. The client
ID & secret key are different for the UAT & production environment.
400 One or more parameters format Input parameter passed by the customer is
is wrong missing or invalid
7
503 Website is in maintenance The source for authentication is down for
maintenance or inaccessible.
504 Endpoint request Timed out The response latency from the source for
authentication is >30sec.
Format of the response body for successful request case (http Status code 200) is like below:
{
"http_response_code": 200,
"client _ref_num": “abcd123”,
"request_id": "97a9f2ce-cd70-11ea-ba26-4ef9447da577",
“result_code”:nnn,
Format of the response body for failure cases (http Status code other than 200) is like below:
{
"http_response_code": nnn,
"client _ref_num": “abcd123”,
"request_id": "97a9f2ce-cd70-11ea-ba26-4ef9447da577",
"error": “xxxx
}
8
Please see the respective APIs for any additional details.
result_code Description
Please see the respective APIs for details of which result code occurs in the specific API.
9
3 KYC - PAN Basic Validation API (V1)
[DEPRECATED]
Note: This API will be deprecated by March 31st
Note: Because of the source level changes, this API is being deprecated.
● Header:
content-type M JSON/application
● Request Body:
client_ref_num M Unique ID for the OCR request from the Client side
[Max of 45 chars]
10
pan M PAN Number to be authenticated
minLength: 10
maxLength: 10
Pattern:
^([a-zA-Z]{3})([abcfghljpteABCFGHLJPTE]{1})([a-z
A-Z]{1})([0-9]{4})([a-zA-Z]{1})$
minLength: 1
maxLength: 150
Default: `fuzzy`
Note:
● exact name match method:
○ Exact Name match method gives name_match as true and name_match_score
as 100 if it satisfies one of the below condition:
■ Input Name = PAN NAME
■ Input Name = PAN DISPLAY NAME
■ if there are two words in Input Name, Input Name (Words Reversed) =
PAN NAME
○ Otherwise, it gives name_match as false and name_match_score as 0
● fuzzy name match method:
○ Fuzzy name method uses fuzzy name matching techniques on both PAN name
and display name (like full & partial token sort & set ratios) combined with a rule
engine to give a better name match.
● dg_name_match name match method:
○ Digitap Name Matching utility is a separate utility provided by Digitap for name
match purposes. It is similar to that of the “fuzzy” name method, but with more
capabilities (like handling abbreviations like Mohd, MD, Salutations like Mr, ) and
enhancements (like handling missing common surnames like bhai, rao).
○ dg_name_match method uses the Digitap’s Name Matching Utility on both the
PAN Name and Display Name, and gives the best result among them.
11
3.4 API Success Response
{
"http_response_code": 200,
"client _ref_num": “abcd123”
"request_id": "97a9f2ce-cd70-11ea-ba26-4ef9447da577",
"result_code": 101,
"result": {
"pan":"DQEPJ7722Q",
"status":"Active",
"name":"JOHN DOE",
"pan_display_name":"JOHN DOE",
"name_match":true,
"name_match_score":100
}
}
name string Name of PAN card holder (as per NSDL database)
pan_display_name string Name Printed on the PAN Card. (See the note below
to understand more about pan_display_name)
12
For the exact method, the score will be either 0 or
100.
Note:
● pan_display_name:
○ PAN provides the customization option of printing the PAN card with a small
change (like changing the order of the words in the name, abbreviating the name
with initials,etc). For e.g. for one person, the full name is “DEVARAJAN
CHANDRA PRAKASH” and the name that is printed on the PAN card is
“CHANDRA PRAKASH D”.
○ Display name comes only for a few PAN numbers from the source and not for all
PAN cards even if the printed name is customised.
1. If the given PAN number is Invalid (Deactivated, Deleted, Fake, Inoperative, etc), then the below
response would be provided.
{
"http_response_code": 200,
"client _ref_num": “abcd123”
"request_id": "97a9f2ce-cd70-11ea-ba26-4ef9447da577",
"result_code": 102,
"message": "Invalid ID number or combination of inputs",
"result": {
"pan":"DQEPJ7722Q",
"status":"Invalid",
"name":"",
"pan_display_name":"",
"name_match":false,
"name_match_score":0
}
}
2. If the given PAN number is Invalid (Not Allocated), then the below response would be provided.
13
{
"http_response_code": 200,
"client _ref_num": “abcd123”
"request_id": "97a9f2ce-cd70-11ea-ba26-4ef9447da577",
"result_code": 103,
"message": "No record found for the given input",
"result": {
"pan":"DQEPJ7722Q",
"status":"Invalid",
"name":"",
"pan_display_name":"",
"name_match":false,
"name_match_score":0
}
}
{
"http_response_code": 400,
"client _ref_num": “abcd123”
"request_id": "97a9f2ce-cd70-11ea-ba26-4ef9447da577",
"error": "One or more parameters format is wrong or missing"
}
In case of Error, the response as explained in the Section 2.5 and error messages as defined in
the Section 2.5.1 Error Messages would be returned.
14
4.3 API Request
● Method: POST
● Header:
content-type M JSON/application
● Request Body:
client_ref_num M Unique ID for the OCR request from the Client side
[Max of 45 chars]
Pattern:
^([a-zA-Z]{3})([abcfghljpteABCFGHLJPTE]{1})([a-z
A-Z]{1})([0-9]{4})([a-zA-Z]{1})$
Length: 10
15
Please note that format of D/M/YYYY is not
accepted (like 2/9/1992 is not accepted, it should
be 02/09/1992).
{
"http_response_code": 200,
"client _ref_num": “abcd123”
"request_id": "97a9f2ce-cd70-11ea-ba26-4ef9447da577",
"result_code": 101,
"result": {
"pan":"DQEPJ7722Q",
"status":"Active",
"status_code":"E",
"name":"Y",
"pan_display_name":"Y",
"dob":"Y",
"aadhaar_seeding_status":"Y"
}
}
16
“Amalgamation” in ITD database
"EC" - Existing and Valid but event marked as
“Acquisition” in ITD database
"ED" - Existing and Valid but event marked as
“Death” in ITD database
"EI" - Existing and Valid but event marked as
“Dissolution” in ITD database
"EL" - Existing and Valid but event marked as
“Liquidated” in ITD database
"EM" - Existing and Valid but event marked as
“Merger” in ITD database
"EP" - Existing and Valid but event marked as
“Partition” in ITD database
"ES" - Existing and Valid but event marked as
“Split” in ITD database
"EU" - Existing and Valid but event marked as
“Under Liquidation” in ITD database
17
dob string Date of Birth Match Status.(match between the Input
dob and Government Database dob value).
Y – Operative PAN
R - Inoperative PAN
NA -For all non-Individual PANs
1. If the given PAN number has become Invalid (like Deactivated, Deleted, Fake,
Inoperative, Existing but marked as Death, etc), then the below response would be
provided.
{
"http_response_code": 200,
"client _ref_num": “abcd123”
"request_id": "97a9f2ce-cd70-11ea-ba26-4ef9447da577",
"result_code": 102,
"message": "Invalid ID number or combination of inputs",
"result": {
"pan":"DQEPJ7722Q",
"status":"Invalid",
"status_code":"D",
"name":"",
"pan_display_name":"",
"dob":"",
"aadhaar_seeding_status":""
}
18
}
Note: Above is the result for an deleted PAN. status_code would change for other cases.
2. If the given PAN number is Not Allotted PAN Number, then the below response would be
provided.
{
"http_response_code": 200,
"client _ref_num": “abcd123”
"request_id": "97a9f2ce-cd70-11ea-ba26-4ef9447da577",
"result_code": 103,
"message": "No record found for the given input",
"result": {
"pan":"DQEPJ7722Q",
"status":"Invalid",
"status_code":"N",
"name":"",
"pan_display_name":"",
"dob":"",
"aadhaar_seeding_status":""
}
}
{
"http_response_code": 400,
"client _ref_num": “abcd123”
"request_id": "97a9f2ce-cd70-11ea-ba26-4ef9447da577",
"error": "One or more parameters format is wrong.<Error Message>"
}
In case of Error, the response as explained in the Section 2.5 and error messages as defined in
the Section 2.5.1 Error Messages would be returned.
19
PAN (Active/Inactive/Duplicate) and the name is matched as per input or not and also the
detailed information like pan display name, first name, middle name, last name, PAN status
code,PAN aadhaar seeding status etc(Ref 4.3.1).
Note: Currently, this API validates only the Individual PAN Details (i.e. the fourth letter of PAN
Number is ‘P’). If any other type of PAN needs to be validated, please discuss with the Business
Team.
Note: Because of the source level changes, this API is being deprecated.
● Header:
content-type M JSON/application
● Request Body:
client_ref_num M Unique ID for the OCR request from the Client side
[Max of 45 chars]
20
Pattern:
^[A-Za-z]{3}[pP]{1}[A-Za-z]{1}\d{4}[A-Za-z]{1}$
{
"http_response_code": 200,
"client _ref_num": “abcd123”
"request_id": "97a9f2ce-cd70-11ea-ba26-4ef9447da577",
"result_code": "101",
"result": {
"status": "Active",
"name_match": true,
"dob_match": true,
"first_name":”XXX”,
"middle_name":”YYY”,
"last_name":”ZZZ”,
"display_name":”XXX YYY ZZZ”,
"pan_status_code": E,
"pan_title":”abc”,
"pan_last_update_date":”DD/MM/YYYY”,
“name_match_score” : 0.8,
"pan_aadhaar_seeding_status": Y
},
}
Key Value
21
name_match Whether the given name matches with the ITD Records. It
would have one of the following values:
true - name is exactly matching with ITD Records
false - name is NOT exactly matching with ITD Records
null - name match not done (See Note 1 Below)
dob_match Whether the given date of birth matches with the ITD
Records:
pan_title Salutation
name_match_score Fuzzy score match for input name and name as per ITD
records(float)
22
Existing and Valid but event marked as Under Liquidation in ITD EU
database
Inoperative I
Note 1: Digitap validates the PAN, DOB & Name from various sources and chooses the best
source available at that time. Some sources validate the name details, some sources validate
DOB, some sources do not. If the source used for validation does not match any field, null value
is returned. Individual field (name/dob) match is also done based on the client agreement.
1. If there is no record found for the given PAN number, then the below response would be provided.
{
"http_response_code": 200,
"result_code": "103",
"request_id": "97a9f2ce-cd70-11ea-ba26-4ef9447da577",
"message": “No record found for the given input”,
"client _ref_num": “abcd123”
}
2. If the chosen source validates both the PAN & DOB together and no record found for the given
combination of PAN & DOB, then the response will be in the below format with result_code as
102 and message as “invalid id number or combination of inputs”
{
"http_response_code": 200,
"result_code": "102",
"request_id": "97a9f2ce-cd70-11ea-ba26-4ef9447da577",
"message":“Invalid ID number or combination of inputs”,
"client _ref_num": “abcd123”
}
23
5.5 API Error Response
In case of Failure, the response as explained in the Section 2.5 and error messages as defined
in the Section 2.5.1 Error Messages would be returned.
Note:
● The “father_name” feature has additional commercial implications and please discuss
with RM for details.
● “pan_status_check” feature can be enabled at client ID level. When the
“pan_status_check” feature has been enabled, this API calls the PAN Basic API (V1 or
V2) and gets the authentic status of the PAN number and provides the same in the
Output. The “pan_status_check” feature has additional commercial implications. Please
discuss with RM for details.
For the clients who want the response to be compatible with PAN Basic V1 API, please use the
following URL.
UAT/DEMO Env https://svcdemo.digitap.work/validation/kyc/v1/pan_details_bc
24
● Header:
content-type M JSON/application
● Request Body:
client_ref_num M Unique ID for the OCR request from the Client side
[Max of 45 chars]
Pattern:
^([a-zA-Z]{3})([abcfghljpteABCFGHLJPTE]{1})([a-z
A-Z]{1})([0-9]{4})([a-zA-Z]{1})$
Default: `false`
minLength: 1
maxLength: 150
Default: `fuzzy`
25
`exact` - Exact Word Name Match (See Notes for
more details)
{
"http_response_code": 200,
"result_code": 101,
"request_id": "97a9f2ce-cd70-11ea-ba26-4ef9447da577",
"client_ref_num": "abcd123",
"result": {
"pan": "DQEPJ7722Q",
"pan_type": "Individual",
"fullname": “JOHN DOE”,
"first_name": "JOHN",
"middle_name": "",
"last_name": "DOE",
"gender": "male",
"aadhaar_number": "XXXXXXXX1234",
"aadhaar_linked": true,
"dob": "11/08/1970",
"address": {
"building_name": "A-703 IVORY TOWER APARTMENT",
"locality": "VASUNDHARA",
"street_name": "INDIRA NAGAR",
"pincode": "201012",
"city": "GHAZIABAD",
"state": "UTTAR PRADESH",
"country": "INDIA"
},
"mobile": "9876543210",
"email": "john.deo@gmail.com"
}
}
26
{
"http_response_code": 200,
"result_code": 101,
"request_id": "97a9f2ce-cd70-11ea-ba26-4ef9447da577",
"client_ref_num": "abcd123",
"result": {
"pan": "DQEPJ7722Q",
"pan_status": "Active",
"pan_type": "Individual",
"fullname": “JOHN DOE”,
"first_name": "JOHN",
"middle_name": "",
"last_name": "DOE",
"gender": "male",
"aadhaar_number": "XXXXXXXX1234",
"aadhaar_linked": true,
"dob": "11/08/1970",
"address": {
"building_name": "A-703 IVORY TOWER APARTMENT",
"locality": "VASUNDHARA",
"street_name": "INDIRA NAGAR",
"pincode": "201012",
"city": "GHAZIABAD",
"state": "UTTAR PRADESH",
"country": "INDIA"
},
"mobile": "9876543210",
"email": "john.deo@gmail.com"
}
}
{
"http_response_code": 200,
"result_code": 101,
"request_id": "97a9f2ce-cd70-11ea-ba26-4ef9447da577",
"client_ref_num": "abcd123",
"result": {
"pan": "DQEPJ7722Q",
"pan_type": "Individual",
"fullname": “JOHN DOE”,
"first_name": "JOHN",
"middle_name": "",
"last_name": "DOE",
"father_name": "RICHARD JOHN"
"gender": "male",
"aadhaar_number": "XXXXXXXX1234",
"aadhaar_linked": true,
"dob": "11/08/1970",
"address": {
"building_name": "A-703 IVORY TOWER APARTMENT",
"locality": "VASUNDHARA",
"street_name": "INDIRA NAGAR",
"pincode": "201012",
27
"city": "GHAZIABAD",
"state": "UTTAR PRADESH",
"country": "INDIA"
},
"mobile": "9876543210",
"email": "john.deo@gmail.com",
}
}
{
"client_ref_num": 200,
"pan": “DQEPJ7722Q”,
"name": "Arun Kumar K",
}
}
}
28
Note: In the above example, input name - Arun Kumar K has been fuzzy matched with “ARUN
KUMAR KULTHIA” and match results are given.
{
"http_response_code": 200,
"result_code": 101,
"request_id": "97a9f2ce-cd70-11ea-ba26-4ef9447da577",
"client_ref_num": "abcd123",
"result": {
"pan": "DQEPJ7722Q",
"pan_status": "Active",
"status": "Active",
"pan_type": "Individual",
"fullname": “JOHN DOE”,
"name": “JOHN DOE”,
"pan_display_name": “”,
"first_name": "JOHN",
"middle_name": "",
"last_name": "DOE",
"gender": "male",
"aadhaar_number": "XXXXXXXX1234",
"aadhaar_linked": true,
"dob": "11/08/1970",
"address": {
"building_name": "A-703 IVORY TOWER APARTMENT",
"locality": "VASUNDHARA",
"street_name": "INDIRA NAGAR",
"pincode": "201012",
"city": "GHAZIABAD",
"state": "UTTAR PRADESH",
"country": "INDIA"
},
"mobile": "9876543210",
"email": "john.deo@gmail.com",
"name_match": false,
"name_match_score": 0,
}
}
29
Keys of Response Object are explained below:
http_response_code int Internal Status Code that denotes the status of the
request
result_code String Internal Status Code that denotes the status of the
request
|- pan_type String Type of PAN (Refer the table below to know various
PAN types)
|- fullname String Full name of the Applicant / Entity as per ITD records,
including first name, middle name & last name.
Note:
● This field is given only when the
“father_name” argument is set to “true”
during input
● For non-individual PAN types, this field
would be empty string.
● male
● female
● transgender
30
(for other PAN types, this field would be empty string)
31
|- name_match_score integer Name matching score based on the
name_match_method.
.
Values range from 0 - 100 (integer data type)
Following additional keys are provided in the response when pan_details_bc endpoint is used
(which is provided for easier compatibility with PAN Basic V1 response for the clients migrating
from PAN Basic V1 to PAN Details API).
|- name String Same as fullname.
32
For the exact method, the score will be either 0 or 100.
Individual
Company
Government Agency
Local Authority
Trust
If the given PAN number is found to be Invalid / Inactive through internal source, then the below response
would be provided (result code - 102).
{
"http_response_code": 200,
"result_code": 102,
"message": Invalid ID number or combination of inputs,
"request_id": "10f66706-77b2-11ee-9c0c-f359806a26c7",
"client_ref_num": "dg-test-2dfe7ca3-5e33-48f8-b1ed-97398b868d05",
"result": {
"pan": "LJKPK2266E",
"pan_type": "",
"fullname": "",
"first_name": "",
"middle_name": "",
"last_name": "",
33
"gender": "",
"dob": "",
"aadhaar_number": "",
"aadhaar_linked": "",
"address": {
"building_name": "",
"locality": "",
"street_name": "",
"pincode": "",
"city": "",
"state": "",
"country": ""
},
"mobile": "",
"email": ""
}
}
If the given PAN number is found to be Not Alloted through internal source, then the below response
would be provided (result code - 103).
{
"http_response_code": 200,
"result_code": 103,
"message": "No record found for the given input",
"request_id": "10f66706-77b2-11ee-9c0c-f359806a26c7",
"client_ref_num": "dg-test-2dfe7ca3-5e33-48f8-b1ed-97398b868d05",
"result": {
"pan": "LJKPK2266E",
"pan_type": "",
"fullname": "",
"first_name": "",
"middle_name": "",
"last_name": "",
"gender": "",
"dob": "",
"aadhaar_number": "",
"aadhaar_linked": "",
"address": {
"building_name": "",
"locality": "",
"street_name": "",
"pincode": "",
"city": "",
"state": "",
"country": ""
},
"mobile": "",
"email": ""
}
}
34
If the given PAN number is found to be Invalid / Inactive / Deactivated / Deleted through PAN Basic API,
then the below response would be provided (result code - 102).
{
"http_response_code": 200,
"result_code": 102,
"message": Invalid ID number or combination of inputs,
"request_id": "10f66706-77b2-11ee-9c0c-f359806a26c7",
"client_ref_num": "dg-test-2dfe7ca3-5e33-48f8-b1ed-97398b868d05",
"result": {
"pan": "LJKPK2266E",
"pan_status": "Invalid",
"pan_type": "",
"fullname": "",
"first_name": "",
"middle_name": "",
"last_name": "",
"gender": "",
"dob": "",
"aadhaar_number": "",
"aadhaar_linked": "",
"address": {
"building_name": "",
"locality": "",
"street_name": "",
"pincode": "",
"city": "",
"state": "",
"country": ""
},
"mobile": "",
"email": ""
}
}
If the given PAN number is found to be Not Alloted through PAN Basic API, then the below response
would be provided (result code - 103).
{
"http_response_code": 200,
"result_code": 103,
"message": "No record found for the given input",
"request_id": "10f66706-77b2-11ee-9c0c-f359806a26c7",
"client_ref_num": "dg-test-2dfe7ca3-5e33-48f8-b1ed-97398b868d05",
"result": {
"pan": "LJKPK2266E",
"pan_status": "Invalid",
"pan_type": "",
"fullname": "",
"first_name": "",
"middle_name": "",
"last_name": "",
"gender": "",
35
"dob": "",
"aadhaar_number": "",
"aadhaar_linked": "",
"address": {
"building_name": "",
"locality": "",
"street_name": "",
"pincode": "",
"city": "",
"state": "",
"country": ""
},
"mobile": "",
"email": ""
}
}
If the given PAN number is Invalid (does not meet the input parameter criteria), then the below response
would be provided.
{
"http_response_code": 400,
"client _ref_num": “abcd123”
"request_id": "97a9f2ce-cd70-11ea-ba26-4ef9447da577",
"error": "Invalid ID number or combination of inputs"
}
If digitap is not able fetch the response for the given PAN number, then the below response would be
provided.
{
"http_response_code": 422,
"client _ref_num": “abcd123”
"request_id": "97a9f2ce-cd70-11ea-ba26-4ef9447da577",
"error": "Digitap is unable to fetch the response at this moment"
}
In case of other errors, the response as explained in the Section 2.5 and error messages as
defined in the Section 2.5.1 Error Messages would be returned.
36
7 KYC - Form 206AB Compliance Status
Validation API
Note: Specified Person as per Section 206AB and 206CCA is the one who, Has not filed the
income tax return (ITR) for the preceding FY, and the income tax return (not belated return) filing
due date has expired and the Total amount of tax deducted or collected (TDS and TCS) in the
last FY is Rs.50,000 or more. (Please refer to the Income Tax website for more details on
Specified persons under Section 206AB & 206CCA).
● Header:
content-type M JSON/application
● Request Body:
37
Key Mandatory/ Value
Optional
(M/O)
client_ref_num M Unique ID for the OCR request from the Client side
[Max of 45 chars]
Pattern: ^[A-Za-z]{4}[A-Za-z]{1}\d{4}[A-Za-z]{1}$
{
"http_response_code": 200,
"result_code": 101,
"request_id": "97a9f2ce-cd70-11ea-ba26-4ef9447da577",
"client_ref_num": "abcd123",
"result": {
"pan": "BRMPK*****",
"pan_name": "NXXXXT KXXXU",
"specified_person": "N",
"fin_year": "2023-24",
"checked_date": "2023-07-04",
"pan_allotment_date": "2010-07-20"
}
}
http_response_code int Internal Status Code that denotes the status of the request
result_code String Internal Status Code that denotes the status of the request
38
|- pan String PAN of the Individual / Entity
|- pan_name String Full name of the Applicant / Entity as per ITD records,
including your first name, middle name.
{
"http_response_code": 200,
"result_code": "102",
"request_id": "97a9f2ce-cd70-11ea-ba26-4ef9447da577",
"client _ref_num": “abcd123”,
"message": “Invalid ID number or combination of inputs”,
}
Note: This API validates Individual PAN Details (i.e. the fourth letter of PAN Number is ‘P’).
39
8.2 API URL
Following are the URLs for UAT & production Environment.
UAT/DEMO Env https://svcdemo.digitap.work/validation/kyc/v1/pan_to_fname
● Header:
content-type M JSON/application
● Request Body:
client_ref_num M Unique ID for the OCR request from the Client side
[Max of 45 chars]
Pattern: ^[A-Za-z]{4}[A-Za-z]{1}\d{4}[A-Za-z]{1}$
40
{
"http_response_code": 200,
"result_code": 101,
"request_id": "97a9f2ce-cd70-11ea-ba26-4ef9447da577",
"client_ref_num": "abcd123",
"result": {
"pan": "BRMPK*****",
"father_name": "NXXXXT KXXXU"
}
}
http_response_code int Internal Status Code that denotes the status of the request
result_code String Internal Status Code that denotes the status of the request
{
"http_response_code": 200,
"result_code": "102",
"request_id": "97a9f2ce-cd70-11ea-ba26-4ef9447da577",
"client _ref_num": “abcd123”,
"message": “Invalid ID number or combination of inputs”,
}
2. If the given PAN number is found to be Not Alloted through internal source, then the below
response would be provided (result code - 103).
{
"http_response_code": 200,
"result_code": "103",
"request_id": "97a9f2ce-cd70-11ea-ba26-4ef9447da577",
"client _ref_num": “abcd123”,
41
"message": “No record found for the given input”,
}
{
"http_response_code": 403,
"client _ref_num": “abcd123”
"request_id": "97a9f2ce-cd70-11ea-ba26-4ef9447da577",
"error": "Father Name not supported for Input PAN type."
}
In case of error, the response as explained in the Section 2.5 and error messages as defined in
the Section 2.5.1 Error Messages would be returned.
Note: Please note that this API validates only the Active Voter / EPIC Cards. The Old EPIC
cards which have been invalidated due to issue of new card (due to new card format issuance)
or Constituency Change/Transposition cannot be validated through this API.
42
● Header:
content-type M JSON/application
● Request Body:
client_ref_num M Unique ID for the OCR request from the Client side
[Max of 45 chars]
{
"http_response_code": 200,
"client _ref_num": “abcd123”,
"request_id": "1e1ea598-cd12-11ea-8513-7a889cb4768d",
"result_code": 101,
"result": {
"epic_no": "Sxxxxxxxxx",
"name": "XYZ",
"name_v1": "XYZ ",
"name_v2": "",
"name_v3": "",
43
"gender": "M",
"age": 23,
"rln_name": "XYZ",
"rln_name_v1": "XYZ ",
"rln_name_v2": "",
"rln_name_v3": "",
"rln_type": "F",
"dist_name": "B.B.M.P(NORTH)",
"dist_name_v1": "ಬಿ.ಬಿ.ಎಂ.ಪಿ ( ಉತ್ತರ )",
"dist_no": "32",
"st_code": "S10",
"st_name": "Karnataka",
"ac_name": "Hebbal",
"ac_name_v1": "XYZ",
"ac_no": "158",
"part_name": "YYY"
"part_name_v1": "YYY, ನಾಗಶೇಟ್ಟಿಹಳ್ಳಿ",
"part_no": "82",
"section_no": "4",
"slno_inpart": "428",
"id": "Sxxxxxxxxxxxxxxx",
"last_update": "26/12/2019",
},
}
Key Value
44
name_v3 Name of the card holder in Vernacular Language
part_name Number of the part (location) in the constituency applicable to the card
holder
part_name_v1 Number of the part (location) in the constituency applicable to the card
holder in Vernacular Language
section_no Section of the Electoral Book where the Card Holder name is present
slno_inpart Serial Number in the Book where the Card Holder name is present
45
ps_lat_long Lat Long for the Polling Station (Polling Booth) applicable to the card
holder
ps_lat_long_0_coordinate Lat Long for the Polling Station (Polling Booth) applicable to the card
holder
ps_lat_long_1_coordinate Lat Long for the Polling Station (Polling Booth) applicable to the card
holder
last_update Last date of update to the records against the given epic_no in
Government Records.
If there is no record found for the given EPIC number, then the below response would be
provided.
{
"http_response_code": 200,
"client _ref_num": “abcd123”
"request_id": "97a9f2ce-cd70-11ea-ba26-4ef9447da577",
"result_code": "103",
"message": “No record found for the given input”,
}
When the file number related to a passport & DOB is matched, this API provides the matching
passport number, name (given name & surname), date of application and date of dispatch. This
API also helps to identify rejected passport application file numbers by giving a different
result_code 108.
46
From the response, once can match with the passport number, name, date of issuance of the
passport present in the Passport.
● Header:
content-type M JSON/application
● Request Body:
client_ref_num M Unique ID for the OCR request from the Client side
[Max of 45 chars]
minLength:10
maxLength:14
Regex:
^[a-zA-Z]{2}\d{2}[A-Z0-9]\d{10}$|^[a-zA-Z]{4}\d{8}$
Format: DD/MM/YYYY
47
10.4 API Success Response
{
"http_response_code": 200,
"client_ref_num": "1234",
"request_id": "76287f9c-cdae-11ea-85c0-e60fc8f818f8",
"result_code": 101,
"result": {
"file_number": "GZ10xxxxxxxxxxx",
"dob": "06/04/1993",
"passport_number": "Pxxxxxxx",
"given_name": "XYZ",
"surname": "XYZ",
"application_type": "Normal",
"application_date": "09/09/2016",
"date_of_dispatch": "31/10/2016"
}
}
When the given input is validated successfully but the application has been rejected, then the
below response would be provided with result_code as 108.
{
"http_response_code": 200,
"client_ref_num": "1234",
"request_id": "06e7613c-cce8-11ea-822b-5ef05b03730e",
"result_code": 108,
"result": {
"file_number": "Bxxxxxxxxxxxxxx",
"dob": "11/04/1990",
"given_name": "XYZ",
"surname": "XYZ",
"application_type": "Normal",
"application_date": "18/11/2017"
}
}
Key Value
48
file_number Individual’s Passport file number
If the file number is an invalid file number, then the response will be in the below format with
result_code as 102 and message as “invalid id number or combination of inputs”
{
"http_response_code": 200,
"client _ref_num": “abcd1234”,
"request_id": "97a9f2ce-cd70-11ea-ba26-4ef9447da577",
"result_code": 102,
"message":“Invalid id number or combination of inputs”,
}
If there is no record found for the requested File Number with specific DOB, then the below
response would be provided.
{
"http_response_code": 200,
"client _ref_num": “abcd1234”,
"request_id": "97a9f2ce-cd70-11ea-ba26-4ef9447da577",
"result_code": 103,
"message":“No record found for the given input ”,
}
49
11 KYC - Aadhaar Advanced Validation API
● Header:
content-type M JSON/application
● Request Body:
client_ref_num M Unique ID for the OCR request from the Client side
[Max of 45 chars]
50
11.4 API Success Response
{
"http_response_code": 200,
"client_ref_num": "abcd1234",
"request_id": "aaf7f324-cd45-11ea-8517-ea8eca8158c7",
"result_code": 101,
"result": {
"aadhaar_result": "Aadhaar Number xxxxxxxx1234 Exists!"
"aadhaar_age_band": "30-40",
"aadhaar_gender": "MALE",
"aadhaar_phone": "xxxxxxx577",
"aadhaar_state": "Maharashtra",
},
}
Key Value
When the given aadhaar number is not found, the below response will be provided
{
"http_response_code": 200,
"client _ref_num": “abcd123”,
"request_id": "97a9f2ce-cd70-11ea-ba26-4ef9447da577",
"result_code": 103,
"message":“No records found for the given Input”
51
}
When the given aadhaar number starts with zero 1, the below response will be provided
{
"http_response_code": 200,
"client_ref_num": "test989",
"request_id": "ac529358-5c47-11ed-a8f9-46ea22d4d73e",
"result_code": 102,
"message": "Invalid Aadhaar"
}
{
"http_response_code": 200,
"client _ref_num": “abcd123”,
"request_id": "8dbc6e56-11a9-11ee-815e-da5dd771cab3",
"result_code": 103,
"message":“Aadhaar Number xxxxxxxx1234 has been deactivated”,
}
{
"http_response_code": 200,
"client _ref_num": “abcd123”,
"request_id": "d0600808-1244-11ee-af67-cebe3ef87f86",
"result_code": 103,
"message":“Aadhaar Number xxxxxxxx1234 has been cancelled”,
}
{
"http_response_code": 200,
"client _ref_num": “abcd123”,
"request_id": "d0600808-1244-11ee-af67-cebe3ef87f86",
"result_code": 103,
"message":“Aadhaar Number xxxxxxxx1234 is not active”,
}
52
{
"http_response_code": 400,
"client_ref_num": "test989",
"request_id": "ac529358-5c47-11ed-a8f9-46ea22d4d73e",
"error": "One or more parameters format is wrong"
}
When the given aadhaar number starts with zero 0, the below response will be provided
{
"http_response_code": 400,
"client_ref_num": "test989",
"request_id": "ac529358-5c47-11ed-a8f9-46ea22d4d73e",
"error": "Invalid Aadhaar. Aadhaar number cannot start with zero"
}
When the given aadhaar number failed in Verhoeff Check, the below response will be provided
{
"http_response_code": 400,
"client_ref_num": "test989",
"request_id": "ac529358-5c47-11ed-a8f9-46ea22d4d73e",
"error": "Invalid Aadhaar. Vernhoeff Check failed"
}
In case of Error, the response as explained in the Section 2.5 and error messages as defined in
the Section 2.5.1 Error Messages would be returned.
53
12.3 API Request
● Method: POST
● Header:
content-type M JSON/application
● Request Body:
client_ref_num M Unique ID for the OCR request from the Client side
[Max of 45 chars]
{
"http_response_code": 200,
"client_ref_num": "test999",
"request_id": "1d345e96-5c41-11ed-8eca-0eade9b31ca9",
"result_code": 101,
"result": {
"aadhaar_result": "Aadhaar Number xxxxxxxx8672 Exists!"
},
}
54
When the given aadhaar number is not found, the below response will be provided
{
"http_response_code": 200,
"client _ref_num": “abcd123”,
"request_id": "97a9f2ce-cd70-11ea-ba26-4ef9447da577",
"result_code": 103,
"message":“No records found for the given Input”
}
When the given aadhaar number is not active, the below response will be provided
{
"http_response_code": 200,
"client_ref_num": "test9889",
"request_id": "367fcd52-5c48-11ed-a8f9-46ea22d4d73e",
"result_code": 103,
"message": "Aadhaar Not Active",
}
When the given aadhaar number starts with zero 1, the below response will be provided
{
"http_response_code": 200,
"client_ref_num": "test989",
"request_id": "ac529358-5c47-11ed-a8f9-46ea22d4d73e",
"result_code": 102,
"message": "Invalid Aadhaar"
}
{
"http_response_code": 400,
"client_ref_num": "test989",
"request_id": "ac529358-5c47-11ed-a8f9-46ea22d4d73e",
"error": "One or more parameters format is wrong"
}
When the given aadhaar number starts with zero 0, the below response will be provided
{
"http_response_code": 400,
"client_ref_num": "test989",
"request_id": "ac529358-5c47-11ed-a8f9-46ea22d4d73e",
"error": "Invalid Aadhaar. Aadhaar number cannot start with zero"
55
}
When the given aadhaar number failed in Verhoeff Check, the below response will be provided
{
"http_response_code": 400,
"client_ref_num": "test989",
"request_id": "ac529358-5c47-11ed-a8f9-46ea22d4d73e",
"error": "Invalid Aadhaar. Vernhoeff Check failed"
}
In case of Eror, the response as explained in the Section 2.5 and error messages as defined in
the Section 2.5.1 Error Messages would be returned.
● Header:
content-type M JSON/application
56
● Request Body:
client_ref_num M Unique ID for the OCR request from the Client side
[Max of 45 chars]
Pattern: ^[A-Za-z]{4}[A-Za-z]{1}\d{4}[A-Za-z]{1}$
{
"result": {
"message": "PAN is linked to Aadhaar number",
"code": "LINK-001"
},
"http_response_code": 200,
"request_id": "880dd801-46cf-11ec-b85c-15746d739503",
"client_ref_num": "dbe90be9-1597-47d4-b151-8157d1f9bf64",
"result_code": 101
}
Key Value
57
code message result_code
LINK-012 Link Aadhaar request is not found for the given PAN and 108
Aadhaar Number
LINK-013 Kindly visit the nearest UIDAI enrollment center to update 103
bio-metric details for activation of Aadhaar number
{
"result": {
"message": "PAN not linked with Aadhaar",
"code": "LINK-003"
},
"http_response_code": 200,
"request_id": "c6587117-46bd-11ec-960e-ffa682131796",
"client_ref_num": "bd7b5d0a-fa14-43cd-bffc-0862f216415c",
"result_code": 103
}
58
{
"result": {
"message": "PAN does not exist",
"code": "LINK-005"
},
"http_response_code": 200,
"request_id": "c6587117-46bd-11ec-960e-ffa682131796",
"client_ref_num": "bd7b5d0a-fa14-43cd-bffc-0862f216415c",
"result_code": 103
}
{
"result": {
"message": "This PAN is linked to some other Aadhaar",
"code": "LINK-004"
},
"http_response_code": 200,
"request_id": "c6587117-46bd-11ec-960e-ffa682131796",
"client_ref_num": "bd7b5d0a-fa14-43cd-bffc-0862f216415c",
"result_code": 103
}
{
"result": {
"message": "Invalid PAN or Aadhaar Number",
"code": "LINK-006"
},
"http_response_code": 200,
"request_id": "c6587117-46bd-11ec-960e-ffa682131796",
"client_ref_num": "bd7b5d0a-fa14-43cd-bffc-0862f216415c",
"result_code": 103
}
59
14 KYC - PAN to Masked AADHAAR Validation
API
● Header:
content-type M JSON/application
● Request Body:
client_ref_num M Unique ID for the OCR request from the Client side
[Max of 45 chars]
Pattern: ^[A-Za-z]{4}[A-Za-z]{1}\d{4}[A-Za-z]{1}$
60
14.4 API Success Response
If aadhaar is linked with the given PAN number, then the below response would be provided.
{
"http_response_code":200,
"request_id":"f5c7f180-1caa-11ee-9143-922d4621dab8",
"client_ref_num":"abc123",
"result_code": 101,
"result":{
"linked": "y",
"aadhaar_number": "98XXXXXXXX72"
}
}
If aadhaar is not linked with the given PAN number, then the below response would be provided.
{
"http_response_code":200,
"request_id":"f5c7f180-1caa-11ee-9143-922d4621dab8",
"client_ref_num":"abc123",
"result_code": 101,
"result":{
"linked": "n",
"aadhaar_number": ""
}
}
http_response_code int Internal Status Code that denotes the status of the
request
result_code String Internal Status Code that denotes the status of the
request
61
result Dict Response object for the given inputs.
{
"http_response_code": 200,
"request_id": "eaded2f0-1cac-11ee-8d3a-720730d77877",
"client_ref_num": "abc123",
"result_code": 102,
"message": "Invalid ID Number or Combination of Inputs"
}
62
15.3 API Request
● Method: POST
● Header:
content-type M JSON/application
● Request Body:
client_ref_num M Unique ID for the OCR request from the Client side
[Max of 45 chars]
If pan is linked with the given Aadhaar number, then the below response would be provided.
{
"http_response_code": 200,
"request_id":"f5c7f180-1caa-11ee-9143-922d4621dab8",
"client_ref_num":"abc123",
"result_code": 101,
63
"result": {
"linked": "y",
"pan": "DQXXXXXX2Q"
}
}
If pan is not linked with the given Aadhaar number, then the below response would be provided.
{
"http_response_code": 200,
"request_id":"f5c7f180-1caa-11ee-9143-922d4621dab8",
"client_ref_num":"abc123",
"result_code": 101,
"result":{
"linked": "n",
"pan": ""
}
}
http_response_code int Internal Status Code that denotes the status of the
request
result_code String Internal Status Code that denotes the status of the
request
When the given aadhaar number is not found, the below response will be provided
64
{
"http_response_code": 200,
"client _ref_num": “abcd123”,
"request_id": "97a9f2ce-cd70-11ea-ba26-4ef9447da577",
"result_code": 103,
"message":“No records found for the given Input”
}
When the given aadhaar number is not active, the below response will be provided
{
"http_response_code": 200,
"client_ref_num": "test9889",
"request_id": "367fcd52-5c48-11ed-a8f9-46ea22d4d73e",
"result_code": 105,
"message": "Aadhaar Not Active",
}
When the given aadhaar number starts with zero 1, the below response will be provided
{
"http_response_code": 200,
"client_ref_num": "test989",
"request_id": "ac529358-5c47-11ed-a8f9-46ea22d4d73e",
"result_code": 102,
"message": "Invalid Aadhaar"
}
{
"http_response_code": 400,
"client_ref_num": "test989",
"request_id": "ac529358-5c47-11ed-a8f9-46ea22d4d73e",
"error": "One or more parameters format is wrong"
}
When the given aadhaar number starts with zero 0, the below response will be provided
{
"http_response_code": 400,
"client_ref_num": "test989",
"request_id": "ac529358-5c47-11ed-a8f9-46ea22d4d73e",
"error": "Invalid Aadhaar. Aadhaar number cannot start with zero"
}
65
When the given aadhaar number failed in Verhoeff Check, the below response will be provided
{
"http_response_code": 400,
"client_ref_num": "test989",
"request_id": "ac529358-5c47-11ed-a8f9-46ea22d4d73e",
"error": "Invalid Aadhaar. Vernhoeff Check failed"
}
In case of Error, the response as explained in the Section 2.5 and error messages as defined in
the Section 2.5.1 Error Messages would be returned.
● Header:
content-type M JSON/application
66
● Request Body:
client_ref_num M Unique ID for the OCR request from the Client side
[Max of 45 chars]
Format: DD/MM/YYYY
{
"http_response_code": 200,
"request_id": "d44d769c-09a0-11ed-8f2f-962d5f2b2369",
"client_ref_num": "1234",
"result_code": 101,
"result": {
"dob": "26-02-1999",
"dl_number": "TN302017000XXXX",
"dl_validity": {
"transport": {
"to": "",
"from": ""
},
"non_transport": {
"to": "16-07-2037",
"from": "17-07-2017"
},
"hill_valid_till": "",
"hazardous_valid_till": ""
},
"badge_details": [
{
"badge_no": "",
"badge_issue_date": "",
"class_of_vehicle": [
67
"LMV",
"MCWG"
]
}
],
"details_of_driving_licence": {
"name": "CHANDRA KUMAR",
"photo": "",
"status": "",
"address": "SEKAR DRIVING SCHOOL, 6 DR SUBBARAYAN ROAD,
SALEM,TN SEKAR DRIVING SCHOOL, 6 DR SUBBARAYAN ROAD, SALEM,TN",
"address_list": [
{
"type": "permanent",
"split_address": {
"city": [
"SALEM"
],
"state": [
[
"TAMIL NADU",
"TN"
]
],
"country": [
"IN",
"IND",
"INDIA"
],
"pincode": "636001",
"district": [
"SALEM"
],
"address_line": "SEKAR DRIVING SCHOOL,6 DR SUBBARAYAN
ROAD"
},
"complete_address": "SEKAR DRIVING SCHOOL, 6 DR SUBBARAYAN
ROAD, SALEM,TN 636001"
},
{
"type": "temporary",
"split_address": {
"city": [
"DR. THOTTAM"
],
"state": [
[
"TAMIL NADU",
"TN"
]
],
"country": [
"IN",
"IND",
"INDIA"
],
"pincode": "636010",
68
"district": [
"SALEM"
],
"address_line": "SEKAR DRIVING SCHOOL,6 DR SUBBARAYAN
ROAD TN SEKAR DRIVING SCHOOL,6 DR SUBBARAYAN ROAD,SALEM"
},
"complete_address": "SEKAR DRIVING SCHOOL, 6 DR SUBBARAYAN
ROAD, SALEM,TN SEKAR DRIVING SCHOOL, 6 DR SUBBARAYAN ROAD,
SALEM,TN"
}
],
"date_of_issue": "17-07-2017",
"split_address": {
"city": [
"DR. THOTTAM"
],
"state": [
[
"TAMIL NADU",
"TN"
]
],
"country": [
"IN",
"IND",
"INDIA"
],
"pincode": "636010",
"district": [
"SALEM"
],
"address_line": "SEKAR DRIVING SCHOOL,6 DR SUBBARAYAN ROAD
TN SEKAR DRIVING SCHOOL,6 DR SUBBARAYAN ROAD,SALEM"
},
"last_transacted_at": "",
"father_or_husband_name": "DEVARAJAN K",
"date_of_last_transaction": ""
}
},
}
Key Value
69
|- dob Date of birth registered with DL number
|-|- transport |- from Validity of DL number for transport vehicle start date
|-|- hill_valid_till
|-|- hazardous_valid_till
70
16.4.2 Unsuccessful Validation Cases
When the DL number could not be validated with the given inputs then the following response
will be provided.
If the DL number is an invalid number, then the response will be in the below format
{
"http_response_code": 200,
"client _ref_num": “abcd1234”,
"request_id": "97a9f2ce-cd70-11ea-ba26-4ef9447da577",
"result_code": 102,
"message":“Invalid ID number or combination of inputs”,
}
If there is no record found for the DL Number, then the below response would be provided.
{
"http_response_code": 200,
"client _ref_num": “abcd1234”,
"request_id": "97a9f2ce-cd70-11ea-ba26-4ef9447da577",
"result_code": 103,
"message":“No record found for the given input ”,
}
71
17.3 API Request
● Method: POST
● Header:
content-type M JSON/application
● Request Body:
client_ref_num M Unique ID for the OCR request from the Client side
[Max of 45 chars]
Pattern:
“^[A-Z]{2}\d[A-Z]{2}\d{4}$|^[A-Z]{2}\d{2}[A-Z0-9]{2}\
d{3,4}$|^[A-Z]{2}\d{2}[A-Z]\d{4}$|^[A-Z]{2}\d{6}$|^[A
-Z]{3}\d{4}|^[A-Z]{2}\d{1}[A-Z]{3}\d{3,4}$|^[A-Z]{2}\d
{1}[A-Z]{1}\d{4}|^[A-Z]{2}\d{2}[A-Z]{1}\d{3}$|^[A-Z]{
2}\d[A-Z]{3}\d{4}$|^[A-Z]{2}\d{2}[A-Z]{1,2}\d{2}$|^[0
-9]{2}[B,H]{2}[0-9]{4}[A-Z]{1,2}$
72
{
"http_response_code": 200,
"request_id": "c3e02028-0be6-11ed-a523-5ab8b3ec914a",
"client_ref_num": "716",
"result_code": 101,
"result": {
"reg_no": "WB26AX1234",
"class": "Motor Car(LMV)",
"chassis": "MA3EUA61S00B61234",
"engine": "F8DN5911234",
"vehicle_manufacturer_name": "MARUTI SUZUKI INDIA LTD",
"model": "MARUTI ALTO 800 VXI",
"vehicle_colour": "BLAZING RED",
"type": "PETROL",
"norms_type": "BHARAT STAGE IV",
"body_type": "SALOON",
"owner_count": "1",
"owner_name": "PRODYUT KUMAR DATTA",
"owner_father_name": "LAKSHMI KANTA",
"mobile_number": "",
"status": "ACTIVE",
"status_as_on": "21-07-2022",
"reg_authority": "BARASAT RTO, WEST BENGAL",
"reg_date": "31-01-2018",
"vehicle_manufacturing_month_year": "10-2017",
"rc_expiry_date": "30-01-2033",
"vehicle_tax_upto": "15-01-2023",
"vehicle_insurance_company_name": "SHRIRAM GENERAL INSURANCE CO.
LTD.",
"vehicle_insurance_upto": "25-01-2023",
"vehicle_insurance_policy_number": "10019/31/22/079351",
"rc_financer": "INDUSIND BANK",
"present_address": "FLAT NO 123,GEETANJALI APPARTMENT,20 NO
JESSORE ROAD WEST,BARASAT M)KOLKATA-700123",
"split_present_address": {
"district": [
"NORTH 24 PARGANAS"
],
"state": [
[
"WEST BENGAL",
"WB"
]
],
"city": [
"BARASAT - I"
],
"pincode": "700124",
"country": [
"IN",
"IND",
"INDIA"
],
"address_line": "FLAT NO 123,GEETANJALI APPARTMENT,20 NO
JESSORE ROAD WEST,BARASAT M)KOLKATA"
},
73
"permanent_address": "FLAT NO 123,GEETANJALI APPARTMENT,20 NO
JESSORE ROAD WEST,BARASAT M)KOLKATA-700123",
"split_permanent_address": {
"district": [
"NORTH 24 PARGANAS"
],
"state": [
[
"WEST BENGAL",
"WB"
]
],
"city": [
"BARASAT - I"
],
"pincode": "700124",
"country": [
"IN",
"IND",
"INDIA"
],
"address_line": "FLAT NO 123,GEETANJALI APPARTMENT,20 NO
JESSORE ROAD WEST,BARASAT M)KOLKATA"
},
"vehicle_cubic_capacity": "796",
"gross_vehicle_weight": "1185",
"unladen_weight": "725",
"vehicle_category": "LMV",
"rc_standard_cap": "0",
"vehicle_cylinders_no": "3",
"vehicle_seat_capacity": "5",
"vehicle_sleeper_capacity": "0",
"vehicle_standing_capacity": "0",
"wheelbase": "2360",
"vehicle_number": "WB26AX1234",
"pucc_number": "WB02500990023123",
"pucc_upto": "29-08-2022",
"blacklist_status": "",
"permit_issue_date": "NA",
"permit_number": "",
"permit_type": "",
"permit_valid_from": "NA",
"permit_valid_upto": "NA",
"non_use_status": "",
"non_use_from": "NA",
"non_use_to": "NA",
"national_permit_number": "",
"national_permit_upto": "NA",
"national_permit_issued_by": "",
"noc_details": ""
}
}
74
Key Value
|- owner_count
|- vehicle_tax_upto Duration till the Tax on the Vehicle has been paid
(Life time / One time)
75
|-vehicle_insurance_company_n Insurer Name of the Vehicle
ame
|-rc_standard_cap
76
|-permit_number State Permit Number of the vehicle
1. If the Vehicle RC is an invalid number, then the response will be in the below format with
result_code as 102 and message as “invalid id number or combination of inputs”.
{
"http_response_code": 200,
"client _ref_num": “abcd1234”,
"request_id": "97a9f2ce-cd70-11ea-ba26-4ef9447da577",
"result_code": 102,
"message":“Invalid ID number or combination of inputs”,
}
2. If there is no record found for the RC Number, then the below response would be provided.
{
"http_response_code": 200,
"client _ref_num": “abcd1234”,
"request_id": "97a9f2ce-cd70-11ea-ba26-4ef9447da577",
"result_code": 103,
"message":“No record found for the given input ”,
}
3. If more than one record is found (records found in different offices) for the given registration
number, then the below response would be provided.
77
{
"http_response_code": 200,
"client _ref_num": “abcd1234”,
"request_id": "97a9f2ce-cd70-11ea-ba26-4ef9447da577",
"result_code": 104,
"message":“Multiple records exist”,
}
78