PAN Validation
IMPORTANT POINTS
1) Now if IsSamePANForAllAllowed = true then will see the noOfPANRequired
2) noOfPANRequired is the no of unique pan required per booking, and this is for normal booking.
3) For corporate IsSamePANForAllowed works as it is before.
4) If IsCorporateBookingAllowed = true API will be allowed to make corporate booking else not.
5) If IsAgencyOwnPANAllowed = true API will be allowed to use their your own pan else not
Refer to the attached hotelblockresponse and Getbookingdetails for the above details.
Client need to refer the below nodes in Hotel Block Method response to check whether PAN/Passport is required at Hotel Book method.
If value is 'True' then it is mandatory to pass the details--
Below additional node need to be passed in Book/voucher request-
Hotel Block Method Response Below Two Array:
"ValidationInfo": {
"ValidationAtConfirm": {
"IsPANMandatory": false,
"IsPassportMandatory": false,
"IsSamePANForAllAllowed": true,
"IsCrpPANMandatory": false,
"IsCrpPassportMandatory": false,
"IsCrpSamePANForAllAllowed": true,
"IsEmailMandatory": false,
"IsCorporateBookingAllowed": true,
"IsAgencyOwnPANAllowed": true,
"NoOfPANRequired": 4,
"IsPANCopyPANMandatory": true,
"IsPassportCopyMandatory": true,
"IsCrpPassportCopyMandatory": false
},
"ValidationAtVoucher": {
"IsPANMandatory": true,
"IsPassportMandatory": true,
"IsSamePANForAllAllowed": true,
"IsCrpPANMandatory": true,
"IsCrpPassportMandatory": true,
"IsCrpSamePANForAllAllowed": true,
"IsEmailMandatory": false,
"IsCorporateBookingAllowed": true,
"IsAgencyOwnPANAllowed": true,
"NoOfPANRequired": 4
"IsPANCopyPANMandatory": true,
"IsPassportCopyMandatory": true,
"IsCrpPassportCopyMandatory": false
Document Max Size - 200 kb
ENUMS
public enum TypeOfDocument
{
NotSet = 0,
PassportFront1 = 1,
PassportFront2 = 2,
PassportAdressPage1 = 3,
PassportBack2 = 4,
BTQForm = 5,
TravellerCheque = 6,
PassportRenew = 7,
PAN = 8,
IndentityForm = 9
}
FORMAT
{
JPG = 0,
PNG = 1,
JPEG = 2,
PDF = 3,
BMP = 4
}