Process FOP

Process FOP API is used to make payment for the booking via Invoice [Agency credit] payment.

Ensure that the correct IATA# and User Id are set in this call. Provide PaymentMethod=INVC for agency account debit payment.

ProcessFOP API should be called after the following APIs are invoked (in order)

  1. Authentication
  2. Retrieve Fare
  3. Add to Cart
  4. Summary PNR

Case 1 : If your booking is in AED and payment is also in AED, then, in ProcessPNRPayment request you’ll need to input the below :

  1. BaseAmount = OriginalAmount = PaymentAmount = ReservationBalance from SummaryPNR response

  2. BaseCurrency = OriginalCurrency = CurrencyPaid = AED

Case 2 : If your booking is in USD and the payment is in AED, then ,

  1. Call the currencyConverter and get the AED equivalent for the USD fare and then in ProcessPNRPayment request,input as below:

  2. BaseAmount = OriginalAmount = ReservationBalance from SummaryPNR response

  3. PaymentAmount = AED Equivalent which you received from CurrencyConverter

  4. BaseCurrency = Original Currency = USD and CurrencyPaid = AED

URL: https://devapi.flydubai.com/res/v3/order/payment/processFOP

Method: POST

Headers:

      • Content-Type                    : application/json
      • Authorization                    : bearer<space> JWTToken

Body:

{
    "CheckPNRStatus": false,
    "ApplyDiscounts": true,
    "TransactionInfo": {
        "SecurityGUID": "",
        "CarrierCodes": [{
            "AccessibleCarrierCode": "FZ"
        }],
        "ClientIPAddress": "10.1.110.144",
        "HistoricUserName": "rishiapi"
    },
    "ReservationInfo": {
        "SeriesNumber": "299",
        "ConfirmationNumber": "CWXWMH"
    },
    "PNRPayments": [{
        "AccountNumber": "",
        "AccountPin": "",
        "CardHolder": "",
        "CurrencyPaid": "AED",
        "CVCode": "",
        "DatePaid": "2018-05-27T00:00:00Z",
        "ExpirationDate": "2018-05-27T00:00:00Z",
        "ExchangeRate": 1.0,
        "ExchangeRateDate": "2018-05-27T00:00:00Z",
        "OriginalAmount": 365,
        "PaymentAmount": 365,
        "BalanceAmount": 0.0,
        "PaymentMethod": "INVC",
        "UserID": "support.fzh",
        "IataNumber": "05091989",
        "ReservationCurrency": "AED",
        "ReservationAmount": 365,
        "TransactionStatus": "NOTYETPROCESSED",
        "BaseAmount": 6600.0,
        "PaymentComment": "",
        "AuthorizationCode": "",
        "PaymentReference": "",
        "CardCurrency": "",
        "MerchantID": "",
        "ProcessorID": "",
        "ProcessorName": "",
        "FingerPrintingSessionID": "",
        "GcxID": "1",
        "GcxOptOption": "1",
        "TerminalID": 0,
        "ResponseMessage": "",
        "Payor": {
            "PersonOrgID": 0,
            "FirstName": "",
            "LastName": "",
            "Age": -2147483648,
            "DOB": "0001-01-01T00:00:00",
            "Gender": "Unknown",
            "NationalityLaguageID": 1,
            "RelationType": "Self",
            "WBCID": 1,
            "PTCID": 1,
            "PTC": "1",
            "TravelsWithPersonOrgID": -2147483648,
            "MarketingOptIn": false,
            "UseInventory": false,
            "Address": {
                "Address1": "FLYDUBAI",
                "Address2": "FLYDUBAI",
                "City": "AHB",
                "Country": "AZ",
                "AreaCode": "353",
                "PhoneNumber": ""
            },
            "ProfileId": 0,
            "IsPrimaryPassenger": true,
            "passportExpiryDate": "0001-01-01T00:00:00"
        }
    }]
}

Response:

{
    "ViewPNR": {
        "Key": "299:CWXWMH",
        "SeriesNumber": "299",
        "ConfirmationNumber": "CWXWMH",
        "BookingAgent": "apirishi",
        "CRSCode": "",
        "TravelGroupID": 0,
        "IATANumber": "05091989",
        "ExternalAppID": "",
        "WebBookingID": "e06486dh1eb5d3k4y4v6g0i901taoa371a943f5d87ec",
        "PromotionalID": -2147483648,
        "PromotionalCode": "",
        "RecieptLanguageID": -2147483648,
        "ReservationCurrency": "AED",
        "ProfileID": -9223372036854775808,
        "PNRPin": 39802481,
        "BookDate": "2019-04-09T06:17:38",
        "ReservationType": "TPAPI",
        "LastModified": "2019-04-09T06:19:58",
        "CorporationID": "",
        "SecurityGuid": "e06486dh1eb5d3k4y4v6g0i901taoa371a943f5d87ec",
        "HasTickets": false,
        "ValuePackageData": null,
        "UserIPAddress": null,
        "ManageBookingAgent": null,
        "HistoricConfirmationNum": null,
        "Cabin": "ECONOMY",
        "ReservationBalance": 0,
        "ChangeFee": 0,
        "LogicalFlightCount": 1,
        "ActivePassengerCount": 1,
        "BalancedReservation": true,
        "ReservationFulfillmentRequiredByGMT": "2019-04-10T06:17:38",
        "ReservationFulfillmentRequiredByODT": "2019-04-10T10:17:38",
        "IsInterline": false,
        "IsCodeShare": false,
        "GroupName": "",
        "Airlines": [
            {
                "Key": "",
                "LogicalFlight": [
                    {
                        "Key": "11267455:11267455:7/11/2019 3:30:00 PM",
                        "FlightGroupId": "11267455",
                        "FareGroupId": "UXBxcIU4L2lCF7H9s42gkA==",
                        "RecordNumber": 0,
                        "LogicalFlightID": 11267455,
                        "DepartureDate": "2019-07-11T00:00:00",
                        "Origin": "DXB",
                        "OriginName": "Dubai International Airport",
                        "OriginDefaultTerminal": "",
                        "Destination": "KWI",
                        "DestinationName": "Kuwait Sheikh Saad Terminal 3",
                        "DestinationDefaultTerminal": "",
                        "OriginMetroGroup": "DXB",
                        "DestinationMetroGroup": "KWI",
                        "FlightNumber": "051",
                        "SellingCarrier": "FZ ",
                        "OperatingCarrier": "FZ ",
                        "OperatingFlightNumber": "051",
                        "SellingFlightNumber": "051",
                        "DepartureTime": "2019-07-11T15:30:00",
                        "Arrivaltime": "2019-07-11T16:20:00",
                        "PackageItemID": -2147483648,
                        "PackageItemName": "",
                        "PackageItemDescription": "",
                        "VendorId": -2147483648,
                        "VendorName": "",
                        "Active": true,
                        "VendorDescription": "",
                        "UIDisplayValue": -2147483648,
                        "PhysicalFlights": [
                            {
                                "Key": "11267455:118865:7/11/2019 3:30:00 PM",
                                "RecordNumber": 0,
                                "DestinationDefaultTerminal": "",
                                "PhysicalFlightID": 118865,
                                "LogicalFlightID": 11267455,
                                "CarrierCode": "FZ",
                                "CarrierName": "",
                                "FlightNumber": "051",
                                "FlightOrder": 0,
                                "DepartureDate": "2019-07-11T15:30:00",
                                "Origin": "DXB",
                                "OriginDefaultTerminal": "",
                                "OriginName": "Dubai International Airport",
                                "Destination": "KWI",
                                "DestinationName": "Kuwait Sheikh Saad Terminal 3",
                                "OriginMetroGroup": "DXB",
                                "DestinationMetroGroup": "KWI",
                                "SellingCarrier": "FZ ",
                                "OperatingCarrier": "FZ ",
                                "OperatingFlightNumber": "051",
                                "SellingFlightNumber": "051",
                                "DepartureTime": "2019-07-11T15:30:00",
                                "Arrivaltime": "2019-07-11T16:20:00",
                                "FlightDuration": 6600,
                                "Trip": -2147483648,
                                "Gate": "",
                                "TotalWeight": -7.9228162514264337593543950335e+28,
                                "UIDisplayValue": -2147483648,
                                "Active": true,
                                "FlightStatus": "OPEN",
                                "Customers": [
                                    {
                                        "Key": "6e2cf0c3-f610-419d-8f82-e94c9e676b32",
                                        "AirlinePersons": [
                                            {
                                                "Weight": -7.9228162514264337593543950335e+28,
                                                "Key": "106134260:1",
                                                "PersonOrgID": 106134260,
                                                "FFNum": "",
                                                "PaxActive": true,
                                                "FirstName": "TESTADULT",
                                                "RecordNumber": 1,
                                                "LastName": "TESTLASTNAME",
                                                "RecordLocator": "",
                                                "MiddleName": "",
                                                "OriginalRecordNumber": 0,
                                                "Age": 25,
                                                "ContactInfo": "",
                                                "DOB": "1994-01-01T00:00:00",
                                                "DropoffID": -2147483648,
                                                "Gender": "M",
                                                "PickupID": -2147483648,
                                                "Title": "MR",
                                                "LapChildID": -2147483648,
                                                "NationalityLaguageID": -2147483648,
                                                "FareClassCode": "K ",
                                                "RelationType": "",
                                                "FareBasisCode": "KO6AE2",
                                                "WBCID": -2147483648,
                                                "WebFareType": "No Change",
                                                "PTCID": 1,
                                                "FareBasisSched": "",
                                                "UseInventory": false,
                                                "FareAmount": -7.9228162514264337593543950335e+28,
                                                "Address": "ASDAD",
                                                "ResSegStatus": 1,
                                                "Address2": "ASDASD",
                                                "SegSubStatus": 0,
                                                "City": "ASDASD",
                                                "SelecteeStatus": 0,
                                                "State": "ASDASD",
                                                "CheckinStatus": false,
                                                "Postal": "12123233",
                                                "Cabin": "ECONOMY",
                                                "Country": "",
                                                "TicketNumber": "",
                                                "Company": "",
                                                "HasTickets": false,
                                                "Comments": "<![CDATA[]]>",
                                                "UIDisplayValue": -2147483648,
                                                "Passport": "J4868UT",
                                                "InterlinedSegment": 0,
                                                "Nationality": "784",
                                                "InterlinedCarrierCode": "",
                                                "PassportIssueCountry": "AE  ",
                                                "ManualFare": 0,
                                                "PassportExpiryDate": "2020-01-01T00:00:00",
                                                "InventoryOverbooked": 0,
                                                "ProfileId": -9223372036854775808,
                                                "TicketCouponNumber": "",
                                                "NameLineID": "",
                                                "NVB": "",
                                                "NameElementID": "-2147483648",
                                                "NVA": "",
                                                "NamePositionID": "",
                                                "TicketControl": 0,
                                                "StaffId": "",
                                                "TicketControlOwner": "",
                                                "PriorityCode": "",
                                                "MarketingCode": "NA",
                                                "ReservationChannel": "2",
                                                "MarketingOptIn": false,
                                                "EmergencyContactID": -2147483648,
                                                "DisclosedEmergencyContact": -2147483648,
                                                "CappsStatus": -2147483648,
                                                "ToRecordNumber": -2147483648,
                                                "FromRecordNumber": -2147483648,
                                                "ChangeConsent": -2147483648,
                                                "StoreFrontID": "NA",
                                                "InsuranceConfNum": "",
                                                "InsuranceTransID": "",
                                                "RedressNum": "",
                                                "KnownTravNum": "",
                                                "PrimaryPassenger": true,
                                                "NameChangeCount": -2147483648,
                                                "CrsCode": "",
                                                "FareCalcString": null,
                                                "Endorsement": null,
                                                "FareTypeID": 3,
                                                "FareCarrier": "FZ ",
                                                "TicketDesignator": "",
                                                "SeatAssignments": [
                                                    {
                                                        "Key": "118865:106134260",
                                                        "PhysicalFlightID": 118865,
                                                        "ActualDepartureDate": "2019-07-11T00:00:00",
                                                        "FlightNumber": "",
                                                        "ScheduledDeparturetime": "2019-07-11T15:30:00",
                                                        "ScheduledArrivaltime": "2019-07-11T16:20:00",
                                                        "BoardingPassNumber": -2147483648,
                                                        "Seat": "",
                                                        "RowNumber": -2147483648,
                                                        "Gate": "",
                                                        "OldSeat": "",
                                                        "OldRowNumber": -2147483648,
                                                        "Boarded": false,
                                                        "CheckInAgent": "",
                                                        "CouponStatusIndicator": "NC",
                                                        "BoardingSequence": "",
                                                        "BoardingPassPrinted": 0,
                                                        "FrequentFlyerCarrierCode": "",
                                                        "FrequentFlyerNumber": "",
                                                        "FrequentFlyerSSRCode": "",
                                                        "FrequentFlyerMemberTierLevel": "",
                                                        "FrequentFlyerMemberRating": "",
                                                        "FrequentFlyerNumberActionTracker": 0,
                                                        "ReservationChannelID": -2147483648,
                                                        "FrequentFlyerInfoReservationChannelID": 0,
                                                        "PaxJourneyID": 49283989
                                                    }
                                                ],
                                                "SecondaryCRSCode": "",
                                                "Charges": [
                                                    {
                                                        "Key": "1228853961",
                                                        "CodeType": "TAX",
                                                        "RefundType": "OriginalCharge",
                                                        "CurrencyCode": "AED",
                                                        "OriginalCurrency": "AED",
                                                        "RecordNumber": 1,
                                                        "VoucherNumber": -2147483648,
                                                        "BillDate": "2019-04-09T06:17:38",
                                                        "TaxID": 4844,
                                                        "ChargeComment": "<![CDATA[Passengers Security  Safety Service Fees]]>",
                                                        "Amount": 5,
                                                        "ChargeStatus": 1,
                                                        "OriginalAmount": 5,
                                                        "Description": "Passengers Security & Safety Service Fees",
                                                        "StatusReasonID": 0,
                                                        "IsSSR": false,
                                                        "PaymentNumber": -2147483648,
                                                        "TaxChargeID": 1228853958,
                                                        "ResChannelId": 2,
                                                        "OriginalChargeID": -2147483648,
                                                        "TaxIsRefundable": true,
                                                        "ServiceIsRefundable": true,
                                                        "ReservationPaymentMaps": [
                                                            {
                                                                "Key": "1228853961:55183779",
                                                                "ReservationPaymentID": 55183779,
                                                                "AmountApplied": 5,
                                                                "ReservationChargeID": 1228853961,
                                                                "OriginalReferencePaymentID": 0,
                                                                "RefundAmount": 0,
                                                                "PaymentCurrencyAmount": 0,
                                                                "ApprovalCode": "0"
                                                            }
                                                        ],
                                                        "PhysicalFlightID": 0,
                                                        "TaxCode": "TP  ",
                                                        "IsNew": false,
                                                        "IsModify": false,
                                                        "ChargeSequence": null,
                                                        "PaymentRefStatus": -2147483648
                                                    },
                                                    {
                                                        "Key": "1228853959",
                                                        "CodeType": "TAX",
                                                        "RefundType": "OriginalCharge",
                                                        "CurrencyCode": "AED",
                                                        "OriginalCurrency": "AED",
                                                        "RecordNumber": 1,
                                                        "VoucherNumber": -2147483648,
                                                        "BillDate": "2019-04-09T06:17:38",
                                                        "TaxID": 8745,
                                                        "ChargeComment": "<![CDATA[Passenger Facilities Charge.]]>",
                                                        "Amount": 35,
                                                        "ChargeStatus": 1,
                                                        "OriginalAmount": 35,
                                                        "Description": "Passenger Facilities Charge.",
                                                        "StatusReasonID": 0,
                                                        "IsSSR": false,
                                                        "PaymentNumber": -2147483648,
                                                        "TaxChargeID": 1228853958,
                                                        "ResChannelId": 2,
                                                        "OriginalChargeID": -2147483648,
                                                        "TaxIsRefundable": true,
                                                        "ServiceIsRefundable": true,
                                                        "ReservationPaymentMaps": [
                                                            {
                                                                "Key": "1228853959:55183779",
                                                                "ReservationPaymentID": 55183779,
                                                                "AmountApplied": 35,
                                                                "ReservationChargeID": 1228853959,
                                                                "OriginalReferencePaymentID": 0,
                                                                "RefundAmount": 0,
                                                                "PaymentCurrencyAmount": 0,
                                                                "ApprovalCode": "0"
                                                            }
                                                        ],
                                                        "PhysicalFlightID": 0,
                                                        "TaxCode": "F6  ",
                                                        "IsNew": false,
                                                        "IsModify": false,
                                                        "ChargeSequence": null,
                                                        "PaymentRefStatus": -2147483648
                                                    },
                                                    {
                                                        "Key": "1228853962",
                                                        "CodeType": "TAX",
                                                        "RefundType": "OriginalCharge",
                                                        "CurrencyCode": "AED",
                                                        "OriginalCurrency": "AED",
                                                        "RecordNumber": 1,
                                                        "VoucherNumber": -2147483648,
                                                        "BillDate": "2019-04-09T06:17:38",
                                                        "TaxID": 10386,
                                                        "ChargeComment": "<![CDATA[Advanced passenger information fee]]>",
                                                        "Amount": 5,
                                                        "ChargeStatus": 1,
                                                        "OriginalAmount": 5,
                                                        "Description": "Advanced passenger information fee",
                                                        "StatusReasonID": 0,
                                                        "IsSSR": false,
                                                        "PaymentNumber": -2147483648,
                                                        "TaxChargeID": 1228853958,
                                                        "ResChannelId": 2,
                                                        "OriginalChargeID": -2147483648,
                                                        "TaxIsRefundable": true,
                                                        "ServiceIsRefundable": true,
                                                        "ReservationPaymentMaps": [
                                                            {
                                                                "Key": "1228853962:55183779",
                                                                "ReservationPaymentID": 55183779,
                                                                "AmountApplied": 5,
                                                                "ReservationChargeID": 1228853962,
                                                                "OriginalReferencePaymentID": 0,
                                                                "RefundAmount": 0,
                                                                "PaymentCurrencyAmount": 0,
                                                                "ApprovalCode": "0"
                                                            }
                                                        ],
                                                        "PhysicalFlightID": 0,
                                                        "TaxCode": "ZR  ",
                                                        "IsNew": false,
                                                        "IsModify": false,
                                                        "ChargeSequence": null,
                                                        "PaymentRefStatus": -2147483648
                                                    },
                                                    {
                                                        "Key": "1228853958",
                                                        "CodeType": "AIR",
                                                        "RefundType": "OriginalCharge",
                                                        "CurrencyCode": "AED",
                                                        "OriginalCurrency": "AED",
                                                        "RecordNumber": 1,
                                                        "VoucherNumber": -2147483648,
                                                        "BillDate": "2019-04-09T06:17:38",
                                                        "TaxID": -2147483648,
                                                        "ChargeComment": "<![CDATA[WEB:AIR]]>",
                                                        "Amount": 190,
                                                        "ChargeStatus": 1,
                                                        "ExchangeRate": -7.9228162514264337593543950335e+28,
                                                        "OriginalAmount": 190,
                                                        "Description": "WEB:AIR",
                                                        "StatusReasonID": 0,
                                                        "IsSSR": false,
                                                        "PaymentNumber": -2147483648,
                                                        "TaxChargeID": -2147483648,
                                                        "ResChannelId": 2,
                                                        "OriginalChargeID": -2147483648,
                                                        "ServiceIsRefundable": true,
                                                        "ReservationPaymentMaps": [
                                                            {
                                                                "Key": "1228853958:55183779",
                                                                "ReservationPaymentID": 55183779,
                                                                "AmountApplied": 190,
                                                                "ReservationChargeID": 1228853958,
                                                                "OriginalReferencePaymentID": 0,
                                                                "RefundAmount": 0,
                                                                "PaymentCurrencyAmount": 0,
                                                                "ApprovalCode": "0"
                                                            }
                                                        ],
                                                        "PhysicalFlightID": 0,
                                                        "TaxCode": "",
                                                        "IsNew": false,
                                                        "IsModify": false,
                                                        "ChargeSequence": null,
                                                        "PaymentRefStatus": -2147483648
                                                    },
                                                    {
                                                        "Key": "1228853963",
                                                        "CodeType": "TAX",
                                                        "RefundType": "OriginalCharge",
                                                        "CurrencyCode": "AED",
                                                        "OriginalCurrency": "AED",
                                                        "RecordNumber": 1,
                                                        "VoucherNumber": -2147483648,
                                                        "BillDate": "2019-04-09T06:17:38",
                                                        "TaxID": 4246,
                                                        "ChargeComment": "<![CDATA[YQ - DUMMY]]>",
                                                        "Amount": 55,
                                                        "ChargeStatus": 1,
                                                        "OriginalAmount": 55,
                                                        "Description": "YQ - DUMMY",
                                                        "StatusReasonID": 0,
                                                        "IsSSR": false,
                                                        "PaymentNumber": -2147483648,
                                                        "TaxChargeID": 1228853958,
                                                        "ResChannelId": 2,
                                                        "OriginalChargeID": -2147483648,
                                                        "Bundled": true,
                                                        "TaxIsRefundable": true,
                                                        "ServiceIsRefundable": true,
                                                        "ReservationPaymentMaps": [
                                                            {
                                                                "Key": "1228853963:55183779",
                                                                "ReservationPaymentID": 55183779,
                                                                "AmountApplied": 55,
                                                                "ReservationChargeID": 1228853963,
                                                                "OriginalReferencePaymentID": 0,
                                                                "RefundAmount": 0,
                                                                "PaymentCurrencyAmount": 0,
                                                                "ApprovalCode": "0"
                                                            }
                                                        ],
                                                        "PhysicalFlightID": 0,
                                                        "TaxCode": "YQ  ",
                                                        "IsNew": false,
                                                        "IsModify": false,
                                                        "ChargeSequence": null,
                                                        "PaymentRefStatus": -2147483648
                                                    },
                                                    {
                                                        "Key": "1228853960",
                                                        "CodeType": "TAX",
                                                        "RefundType": "OriginalCharge",
                                                        "CurrencyCode": "AED",
                                                        "OriginalCurrency": "AED",
                                                        "RecordNumber": 1,
                                                        "VoucherNumber": -2147483648,
                                                        "BillDate": "2019-04-09T06:17:38",
                                                        "TaxID": 1624,
                                                        "ChargeComment": "<![CDATA[Passenger Service Charge (Intl)]]>",
                                                        "Amount": 75,
                                                        "ChargeStatus": 1,
                                                        "OriginalAmount": 75,
                                                        "Description": "Passenger Service Charge (Intl)",
                                                        "StatusReasonID": 0,
                                                        "IsSSR": false,
                                                        "PaymentNumber": -2147483648,
                                                        "TaxChargeID": 1228853958,
                                                        "ResChannelId": 2,
                                                        "OriginalChargeID": -2147483648,
                                                        "TaxIsRefundable": true,
                                                        "ServiceIsRefundable": true,
                                                        "ReservationPaymentMaps": [
                                                            {
                                                                "Key": "1228853960:55183779",
                                                                "ReservationPaymentID": 55183779,
                                                                "AmountApplied": 75,
                                                                "ReservationChargeID": 1228853960,
                                                                "OriginalReferencePaymentID": 0,
                                                                "RefundAmount": 0,
                                                                "PaymentCurrencyAmount": 0,
                                                                "ApprovalCode": "0"
                                                            }
                                                        ],
                                                        "PhysicalFlightID": 0,
                                                        "TaxCode": "AE  ",
                                                        "IsNew": false,
                                                        "IsModify": false,
                                                        "ChargeSequence": null,
                                                        "PaymentRefStatus": -2147483648
                                                    },
                                                    {
                                                        "Key": "1228854024",
                                                        "CodeType": "TFEE",
                                                        "RefundType": "OriginalCharge",
                                                        "CurrencyCode": "AED",
                                                        "OriginalCurrency": "AED",
                                                        "RecordNumber": 1,
                                                        "VoucherNumber": -2147483648,
                                                        "BillDate": "2019-04-09T06:19:58",
                                                        "TaxID": -2147483648,
                                                        "ChargeComment": "<![CDATA[Transaction Fee]]>",
                                                        "Amount": 30,
                                                        "ChargeStatus": 1,
                                                        "ExchangeRate": 1,
                                                        "ExchangeRateDate": "2019-04-09T06:19:18",
                                                        "OriginalAmount": 30,
                                                        "Description": "Transaction Fee",
                                                        "StatusReasonID": 0,
                                                        "IsSSR": false,
                                                        "PaymentNumber": -2147483648,
                                                        "TaxChargeID": 4247,
                                                        "ResChannelId": 2,
                                                        "OriginalChargeID": -2147483648,
                                                        "ReservationPaymentMaps": [
                                                            {
                                                                "Key": "1228854024:55183779",
                                                                "ReservationPaymentID": 55183779,
                                                                "AmountApplied": 30,
                                                                "ReservationChargeID": 1228854024,
                                                                "OriginalReferencePaymentID": 0,
                                                                "RefundAmount": 0,
                                                                "PaymentCurrencyAmount": 0,
                                                                "ApprovalCode": "0"
                                                            }
                                                        ],
                                                        "PhysicalFlightID": 0,
                                                        "TaxCode": "",
                                                        "IsNew": false,
                                                        "IsModify": false,
                                                        "ChargeSequence": null,
                                                        "PaymentRefStatus": -2147483648
                                                    }
                                                ],
                                                "RecordSubType": 0,
                                                "Bags": [],
                                                "IsNew": false,
                                                "IsModify": false,
                                                "TierID": 0,
                                                "TierName": "",
                                                "LastGDSStatus": "",
                                                "OperatingRBD": "K ",
                                                "SecondaryRecordLocator": "",
                                                "PosOfficeOrCityCode": "",
                                                "PosUserIdentificationNumber": "",
                                                "PosAirportCode": "",
                                                "PosCrsCode": "",
                                                "PosUserType": "",
                                                "PosIsoCountryCode": "",
                                                "PosIsoCurrency": "",
                                                "PosDutyCode": "",
                                                "PosErspIdNumber": "",
                                                "PosPointOfFirstDeparture": "",
                                                "POSOffice": ""
                                            }
                                        ]
                                    }
                                ],
                                "FromTerminal": null,
                                "ToTerminal": null,
                                "AirCraftType": "73B",
                                "AirCraftDescription": "J12Y162 BOEING J AND Y AI",
                                "ReaccomChangeAlert": false
                            }
                        ]
                    }
                ],
                "OAFlights": []
            }
        ],
        "Payments": [
            {
                "Key": "55183779",
                "ReservationPaymentID": 55183779,
                "CardHolder": "",
                "PaymentAmount": 395,
                "ExpirationDate": "2018-05-27T00:00:00",
                "CardNumber": "",
                "CVCode": "",
                "Authorizationcode": "",
                "TerminalID": -2147483648,
                "CurrencyPaid": "AED",
                "CheckNumber": -2147483648,
                "Reference": "",
                "Result": "",
                "TransactionID": "1",
                "ValueCode": "",
                "TransactionIndicator": -2147483648,
                "SettlementBatch": "",
                "AuthorizedAmount": 0,
                "VoucherNumber": -2147483648,
                "FFNumber": "",
                "Miles": 0,
                "PaymentComment": "<![CDATA[]]>",
                "BaseCurrency": "AED",
                "BaseAmount": 395,
                "ExchangeRate": 1,
                "ExchangeRateDate": "2019-04-09T06:19:19",
                "DocumentReceivedBy": "",
                "BatchProcessExtracted": 0,
                "TicketCouponNumber": null,
                "TicketType": null,
                "GcxID": "",
                "GcxOptOption": "1",
                "GcxExported": -2147483648,
                "OriginalCurrency": "AED",
                "OriginalAmount": 395,
                "IATANum": "05091989",
                "ProcessorID": "",
                "MerchantID": "",
                "ProcessorName": "",
                "OriginalPaymentMethod": null,
                "TransactionStatus": 1,
                "ResponseMessage": "",
                "ResponseCode": "",
                "PersonOrgID": 106008238,
                "FirstName": "",
                "LastName": "",
                "CompanyName": "TEST RISHI",
                "Address": "",
                "Address2": "",
                "City": "",
                "State": "",
                "Postal": "",
                "Country": "IN",
                "PaymentMethod": "INVC",
                "DatePaid": "2019-04-09T06:19:58",
                "UserData": "",
                "CardVerification": null,
                "GrossAmtResCurrency": 0,
                "GrossAmtPayCurrency": 0,
                "NetAmtResCurrency": 0,
                "CommissionDeductedResCurrency": 0,
                "CommissionDeductedPayCurrency": 0,
                "RptNetFrmResCurrency": 0,
                "RptCommissionFromResCurrency": 0,
                "RptCommissionFromPayCurrency": 0,
                "TotalRefundResCurrency": 0,
                "TotalRefundRptCurrency": 0,
                "TotalRefundPayCurrency": 0,
                "RedeemedVoucherAmount": 0,
                "UserID": null,
                "OriginalPaymentID": -2147483648,
                "PaymentReservationChannelID": 2,
                "AncillaryData01": "",
                "AncillaryData02": "",
                "AncillaryData03": "",
                "AncillaryData04": "",
                "AncillaryData05": "",
                "AuthenticationByPassed": false,
                "CostCenter": -2147483648
            }
        ],
        "FlightGroups": [],
        "FareGroups": [],
        "Comments": [],
        "ReservationContacts": [
            {
                "VendorID": -2147483648,
                "Key": "106008238",
                "PersonOrgID": 106008238,
                "MarketingOptIn": false,
                "RedressNum": "",
                "FirstName": "",
                "KnownTravNum": "",
                "LastName": "",
                "ContactInfos": [],
                "MiddleName": "",
                "Age": 0,
                "Gender": "",
                "Title": "",
                "NationalityLaguageID": -2147483648,
                "RelationType": "",
                "WBCID": 0,
                "PTCID": 1,
                "UseInventory": false,
                "Address": "",
                "Address2": "",
                "City": "",
                "State": "",
                "Postal": "",
                "Country": "IN",
                "Company": "TEST RISHI",
                "Comments": "<![CDATA[]]>",
                "Passport": null,
                "Nationality": null,
                "PassportIssueCountry": null,
                "ProfileId": 0,
                "NameLineID": null,
                "NameElementID": null,
                "NamePositionID": null,
                "StaffId": null,
                "PriorityCode": null,
                "ReservationChannel": null
            },
            {
                "VendorID": -2147483648,
                "Key": "106134260",
                "PersonOrgID": 106134260,
                "MarketingOptIn": false,
                "RedressNum": "",
                "FirstName": "TESTADULT",
                "KnownTravNum": "",
                "LastName": "TESTLASTNAME",
                "ContactInfos": [],
                "MiddleName": "",
                "Age": 25,
                "DOB": "1994-01-01T00:00:00",
                "Gender": "M",
                "Title": "MR",
                "NationalityLaguageID": -2147483648,
                "RelationType": "",
                "WBCID": 0,
                "PTCID": 1,
                "UseInventory": false,
                "Address": "ASDAD",
                "Address2": "ASDASD",
                "City": "ASDASD",
                "State": "ASDASD",
                "Postal": "12123233",
                "Country": "",
                "Company": "",
                "Comments": "<![CDATA[]]>",
                "Passport": null,
                "Nationality": null,
                "PassportIssueCountry": null,
                "ProfileId": 0,
                "NameLineID": null,
                "NameElementID": null,
                "NamePositionID": null,
                "StaffId": null,
                "PriorityCode": null,
                "ReservationChannel": null
            }
        ],
        "ContactInfos": [
            {
                "ContactID": 172234571,
                "Key": "172234571",
                "PersonOrgID": 106008238,
                "ContactField": "TEST@RISHI.COM",
                "ContactType": 4,
                "Extension": "",
                "CountryCode": "",
                "AreaCode": "",
                "PhoneNumber": "",
                "Display": null,
                "PreferredContactMethod": false,
                "ValidatedContact": false
            },
            {
                "ContactID": 172234570,
                "Key": "172234570",
                "PersonOrgID": 106008238,
                "ContactField": "3761234567890",
                "ContactType": 1,
                "Extension": "376",
                "CountryCode": "AD",
                "AreaCode": "",
                "PhoneNumber": "1234567890",
                "Display": null,
                "PreferredContactMethod": true,
                "ValidatedContact": false
            },
            {
                "ContactID": 172345507,
                "Key": "172345507",
                "PersonOrgID": 106134260,
                "ContactField": "91123456789",
                "ContactType": 0,
                "Extension": "",
                "CountryCode": "91",
                "AreaCode": "",
                "PhoneNumber": "123456789",
                "Display": null,
                "PreferredContactMethod": true,
                "ValidatedContact": false
            }
        ],
        "DocumentInfos": [
            {
                "Key": "44265808:118865:J4868UT:1",
                "PersonOrgID": 106134260,
                "PhysicalFlightID": "118865",
                "OAFlightID": "",
                "DepartureDate": "7/11/2019 12:00:00 AM",
                "DocType": "PASSPORT",
                "DocNumber": "J4868UT",
                "ExpiryDate": "1/1/2020 12:00:00 AM",
                "IssuingCountry": "AE",
                "Nationality": "784"
            }
        ],
        "Vouchers": [],
        "Cars": [],
        "Hotels": [],
        "Packages": [],
        "Exceptions": [
            {
                "ExceptionCode": 0,
                "ExceptionDescription": "[INVC - ] : Successful Transaction",
                "ExceptionSource": "AddPNRPayment",
                "ExceptionLevel": 0
            },
            {
                "ExceptionCode": 0,
                "ExceptionDescription": "[INVC - ] : Invoice deduction successful",
                "ExceptionSource": null,
                "ExceptionLevel": 0
            },
            {
                "ExceptionCode": 0,
                "ExceptionDescription": "Successful Transaction",
                "ExceptionSource": "RetrievePNR",
                "ExceptionLevel": 0
            }
        ],
        "StaffCarrierCode": null
    }
}