Page 1 of 8
PAN Validation API Document
Prepared By: Webtel Electrosoft Pvt. Ltd.
Version: 1.9
Release Date: 15-Oct-2023
Page 2 of 8
Table of Contents:
1. Guidelines 3
2. Get PAN Captcha 4
3. Validate PAN 5
Page 3 of 8
Guidelines
APIs have been developed to integrate third party software to process Validating data. This Document
will technically help third party vendors to consume APIs and understand the validation process.
Some common features of the APIs are:
1. Platform independent APIs. HTTP request required to access APIs.
2. Request data should be in JSON format.
3. Response will be in JSON format.
4. Basic authentication is required to validate API call.
How to Use This Document: This document contains detailed section for each API. In each, section there
are certain sub section which have specific meaning. Here is the description of each sub section.
1. Points to Every API may have some pre or post requisites or it may have
Note some specific functional or technical conditions. User needs to
understand these points before making call to API.
2. Allowed This section defines all allowed request methods for a particular
Method API. Only use the method, defined in Allowed Method section, to
request any API.
Commonly used methods are GET, POST, PUT & OPTION
3. URI Full URL of API. In the URI section there is an expression
<Domain Name> which denotes the custom URL of client where
API is hosted.
4. URI This section defines the parameters which need to be supplied
Parameters with the URI. URI Parameter is commonly used in GET method.
5. Body This section contains the details of parameters which have to be
Parameters passed in body as Payload. If body parameter contains any
complex or user defined data type, you will get the detail of that
parameter in Body Parameter section itself.
6. Request This section further contains some sub sections :
Header -Authorization: Each API call requires authorization through valid
Username and Password which should be concatenated with
three colons (:::).
-Content-Type: It must be either application/json or text/json.
-Payload: Payload is the complete data required to push to API.
This data must in JSON format only.
7. Response This section contains information regarding the response. This
Information section also have further sub sections
Resource Description: Response will be in JSON formatted string
in most of the cases. You can check this section for detail of any
particular API.
Response Formats: text/plain, application/json, text/json
Sample: This section contains the response sample whichhelp
you to easily understand the response message.
Page 4 of 8
Page 4 of 8
Get PAN Captcha
Overview
This API is used to get the Captcha to Validate PAN.
Allowed Method: Get.
URI : http://services.webtel.in/integrationservice/getcaptchapan
Auth Type: Basic
Username: HHY&^$js15234GG
Password: $js15234GG&jnhdr22
Response Format:
{
"status": 1,
"id": "641f6dd2-dc4a-4950-bc1b-525700fd48ba",
"data": "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lQZ7xc21iJAqUjOrCHadscDG+tm7XH1NYA9YxwZHMHKBHbsCp7R0ENgNA7tEAqlMBDa
GrwyB3cCGpNJHsXXXmGvqOtnJKpLYOpLDghCzgUyhiuSAtdFclCQkbZN/AHPMifu3vAEPAAAAAElFTkSuQmCC",
"errorMessage": null
}
Page 5 of 8
Validate PAN
Overview
This API is used to validate the status of PAN.
Allowed Method: GET.
URI: http://services.webtel.in/integrationservice/ValidatePan
Parameters :
UserID : XXXXXXX
TAN : XXXXXXX
Password : XXXXXX
Captcha : XXXXXX
PAN : XXXXXXXXXX
ResponseID : XXXXXXXXXXXXXXXXXXX ( received in captcha response)
Auth Type: Basic
Username: HHY&^$js15234GG
Password: $js15234GG&jnhdr22
Response Format:
{
"Name": "",
"PanStatus": "",
"Status": 0,
"Message": "Error :Invalid TAN/UserId/Password/Captcha"
}