post
https://uatapis.paynearby.in/flight-booking
To initiate a booking request
Parameter Description
| Parameter Name | Mandatory/Optional | Description |
|---|---|---|
| pnb_search_ref_id | Mandatory | PNB Search Ref Id from search response |
| pnb_transaction_ref_id | Mandatory | PNB Transaction Id from pricing response |
| return_pnb_transaction_ref_id | Mandatory (for round trip) | PNB Transaction Id from pricing response |
| onward_pricing_id | Mandatory | Onward Pricing Id from pricing response |
| return_pricing_id | Return Pricing Id from pricing response | |
| onward_search_id | Onward Search Id from pricing response | |
| return_search_id | Return Search Id from pricing response | |
| super_pnr | Super PNR from pricing response | |
| ebs_account_id | EBS account id from pricing response | |
| ebs_session_id | EBS session id from pricing response | |
| onward_airline_code | Onward airline code of first segment | |
| onward_airline_name | Onward airline name of first segment. | |
| return_airline_code | Return airline code of first segment. | |
| return_airline_name | Return airline code of first segment. |
Types of Booking:
- One Way Domestic
- Round Trip Domestic
- One Way International
- Round Trip International
| 100 | PNB Search Ref ID cannot be empty |
| 101 | Invalid PNB Transaction Ref ID |
| 102 | Invalid Pricing Id |
| 103 | Customer First Name Cannot Be Empty. |
| 104 | Customer First Name Must Be Minimum 1 Character and Maximum 32 Characters |
| 105 | Customer Last Name Must Be Minimum 2 Character and Maximum 32 Characters |
| 106 | Special Characters Not Allowed In Customer First Name |
| 107 | Final Booking Amount cannot be 0 |
| 108 | Enter valid GST number |
| 200 | Try after sometime |
| 201 | Previous Booking Is Pending. Please Contact Support Center. |
| 202 | Insufficient funds |
| 300 | Booking is in pending stage |
| 501 | It occurs while fare gets changed during repricing. |
