@@ -21,7 +21,7 @@ This documentation describes the validation API. The postman collection can be f
21
21
- [Bank Account Verification](#bank-account-verification)
22
22
- [Passport Verification](#passport-verification)
23
23
- [Aadhaar Pan Link Status](#aadhaar-pan-link-status)
24
- - [Match Fields](#match-fields)
24
+ - [Match Fields-Name ](#match-fields-Name )
25
25
- [Response Structure](#response-structure)
26
26
- [Verify PAN](#verify-pan-1)
27
27
- [PAN Name Fetch](#pan-name-fetch-1)
@@ -30,7 +30,7 @@ This documentation describes the validation API. The postman collection can be f
30
30
- [Bank Account Verification](#bank-account-verification-1)
31
31
- [Passport Verification](#passport-verification-1)
32
32
- [Aadhaar Pan Link Status](#aadhaar-pan-link-status-1)
33
- - [Match Fields](#match-fields-1)
33
+ - [Match Fields-Name- ](#match-fields-Name -1)
34
34
- [Status Codes](#status-codes)
35
35
36
36
@@ -176,7 +176,7 @@ Please do not expose the appid and appkey on browser applications. In case of a
176
176
* *aadhaarNumber* : Aadhaar Number
177
177
* *panNumber* : Pan Number
178
178
179
- 8 ) ** Match Fields**
179
+ 8 ) ** Match Fields-Name **
180
180
* ** URL**
181
181
- /api/matchFields
182
182
@@ -249,13 +249,14 @@ Please do not expose the appid and appkey on browser applications. In case of a
249
249
}
250
250
```
251
251
252
- ### Match Fields
252
+ ### Match Fields-Name
253
253
```
254
254
{
255
- name: <required, Object>,
256
- value1: <required, String>,
257
- value2: <required, String>,
258
- leniency: <String>
255
+ name: <required, Object> {
256
+ value1: <required, String>,
257
+ value2: <required, String>,
258
+ leniency: <String>
259
+ }
259
260
}
260
261
261
262
```
@@ -491,7 +492,7 @@ Please do not expose the appid and appkey on browser applications. In case of a
491
492
* Incase of a successful validation, the response would have the following schema.
492
493
493
494
```
494
- {
495
+ {
495
496
"status": "success",
496
497
"statusCode": "200",
497
498
"result": {
@@ -511,20 +512,20 @@ Please do not expose the appid and appkey on browser applications. In case of a
511
512
"nameFromPassport": "SAMPLE SAMPLE"
512
513
},
513
514
"typeOfApplication": "SAMPLE"
514
- }
515
- }
515
+ }
516
+ }
516
517
```
517
518
518
519
* Error Responses:
519
520
520
521
* Incase the file Number or dob are incorrect, then following response will be sent with status code `422` and **result.status** `failure`
521
- ```
522
- {
522
+ ```
523
+ {
523
524
"status": "failure",
524
525
"statusCode": "422",
525
526
"error": "Entered id is not found in any database"
526
- }
527
- ```
527
+ }
528
+ ```
528
529
529
530
### Aadhaar Pan Link Status
530
531
@@ -534,42 +535,42 @@ Please do not expose the appid and appkey on browser applications. In case of a
534
535
* Incase the Aadhaar and Pan are linked, the response would have the following schema.
535
536
536
537
```
537
- {
538
+ {
538
539
"status": "success",
539
540
"statusCode": "200",
540
541
"result": {
541
542
"message": "Your PAN is linked to Aadhaar Number XXXX XXXX 2071."
543
+ }
542
544
}
543
- }
544
545
```
545
546
* Success Response:
546
547
547
548
* Code: **200**
548
549
* Incase the Aadhar and Pan are not linked, the response would have the following schema.
549
550
550
551
```
551
- {
552
+ {
552
553
"status": "success",
553
554
"statusCode": "200",
554
555
"result": {
555
556
"code": 535,
556
557
"message": "Aadhar and Pan are not linked"
557
558
}
558
- }
559
+ }
559
560
```
560
561
561
562
* Error Responses:
562
563
563
564
* Incase the aadhaar number and pan number are incorrect, then following response will be sent with status code `422` and **result.status** `failure`
564
- ```
565
- {
565
+ ```
566
+ {
566
567
"status": "failure",
567
568
"statusCode": "422",
568
569
"error": "Invalid Pan or Aadhaar"
569
- }
570
- ```
570
+ }
571
+ ```
571
572
572
- ### Match Fields
573
+ ### Match Fields-Name
573
574
574
575
* Success Response:
575
576
@@ -578,31 +579,29 @@ Please do not expose the appid and appkey on browser applications. In case of a
578
579
579
580
580
581
```
581
- {
582
+ {
582
583
"status": "success",
583
584
"statusCode": "200",
584
585
"result": {
585
586
"name": true,
586
- "all": true
587
- }
588
- }
589
-
587
+ "all": true
588
+ }
589
+ }
590
590
```
591
591
* Success Response:
592
592
593
593
* Code: **200**
594
594
* Incase the two values are have low similiarity.
595
595
596
596
```
597
- {
597
+ {
598
598
"status": "success",
599
599
"statusCode": "200",
600
600
"result": {
601
601
"name": false,
602
- "all": false
602
+ "all": false
603
603
}
604
- }
605
-
604
+ }
606
605
```
607
606
608
607
0 commit comments