Flight Policy Display Mock Server

Retrieve structured fare rule information for travel itineraries and tickets.

Flight Policy Display allows you to request specific fare rule information and have it returned in a structured format. This is a standalone API that can be used after pricing, shopping and ticketing, or even after the ticket has been used or exchanged.

Use this hosted mock server to simulate Flight Policy Display APIs without authentication, API keys, or extra dependencies. Point your code or SDK to the Beeceptor base URL, preferably through an environment variable or feature flag, and switch back to the production API when ready. This keeps your integration code consistent across local development, QA, demos, and production.

Use cases:

Use this sandbox to validate fare rule parsing, display logic for complex ticket conditions, structured policy mapping, and error handling for invalid or expired ticket references within your travel booking workflows.

Flight Policy Display mock server is up and running!

Use this mock URL as the API base in your code to simulate Flight Policy Display responses instantly.

https://sabre-flight-policy.mock.beeceptor.com



Itinerary

{
  "fares": [
    {
      "passenger": {
        "passengerTypeCode": "ADT",
        "quantity": 1
      },
      "fareComponents": [
        {
          "fareBasisCode": "GNA5A0TG",
          "segmentDetails": [
            {
              "departureAirportCode": "YYC",
              "departureDate": "2026-12-30",
              "departureTime": "12:45",
              "arrivalAirportCode": "EWR",
              "operatingAirlineCode": "AC",
              "marketingAirlineCode": "AC",
              "bookingDateTime": "2026-10-08T12:25:07",
              "bookingClassCode": "G"
            }
          ]
        },
        {
          "fareBasisCode": "GNA4A2TG",
          "segmentDetails": [
            {
              "departureAirportCode": "EWR",
              "departureDate": "2026-12-31",
              "departureTime": "12:45",
              "arrivalAirportCode": "YYC",
              "operatingAirlineCode": "AC",
              "marketingAirlineCode": "AC",
              "bookingDateTime": "2026-10-08T12:25:07",
              "bookingClassCode": "G"
            }
          ]
        }
      ]
    }
  ],
  "priceOptions": {
    "returnFareComponentPenalties": true
  }
}
{
  "totalPrice": {
    "amount": "398.99",
    "currencyCode": "CAD"
  },
  "purchaseSummary": {
    "isSimultaneousReservation": false,
    "salesLocation": "HNL"
  },
  "validatingAirlineCode": "AC",
  "isPrivateFare": false,
  "isAncillariesGuaranteed": false,
  "passengerBreakdowns": [
    {
      "exchangeRate": {
        "numberOfDecimalPlaces": 8,
        "value": "1.39588300"
      },
      "passengerTypeCode": "ADT",
      "endorsements": [
        "AC ONLY/CHG FEE/NON REF"
      ],
      "pricingWarnings": [
        "VALIDATING CARRIER - AC",
        "CAT 15 SALES RESTRICTIONS FREE TEXT FOUND - VERIFY RULES"
      ],
      "passengerFare": {
        "baseFare": {
          "amount": "398.99",
          "currencyCode": "CAD"
        },
        "equivalentFare": {
          "amount": "283.00",
          "currencyCode": "USD"
        },
        "commission": {
          "percentage": "0.00",
          "amount": "0.00"
        }
      },
      "isNegotiatedFare": false,
      "isEligibleForTicketing": true,
      "flexibility": {
        "before": {
          "isChangeable": true,
          "isConditionsApply": true,
          "maxPenalty": {
            "amount": "142.00",
            "currencyCode": "USD"
          },
          "minPenalty": {
            "amount": "0.00",
            "currencyCode": "USD"
          }
        },
        "after": {
          "isChangeable": true,
          "isConditionsApply": true,
          "maxPenalty": {
            "amount": "142.00",
            "currencyCode": "USD"
          },
          "minPenalty": {
            "amount": "0.00",
            "currencyCode": "USD"
          }
        },
        "beforeNoShow": {
          "isChangeable": true,
          "isConditionsApply": true,
          "maxPenalty": {
            "amount": "142.00",
            "currencyCode": "USD"
          },
          "minPenalty": {
            "amount": "0.00",
            "currencyCode": "USD"
          }
        },
        "afterNoShow": {
          "isChangeable": true,
          "isConditionsApply": true,
          "maxPenalty": {
            "amount": "142.00",
            "currencyCode": "USD"
          },
          "minPenalty": {
            "amount": "0.00",
            "currencyCode": "USD"
          }
        }
      },
      "refundability": {
        "before": {
          "isRefundable": false
        },
        "after": {
          "isRefundable": false
        },
        "beforeNoShow": {
          "isRefundable": false
        },
        "afterNoShow": {
          "isRefundable": false
        }
      },
      "fareComponents": [
        {
          "fareComponentNumber": 1,
          "pricingUnitNumber": 1,
          "flexibility": {
            "before": {
              "breakdowns": [
                {
                  "isChangeable": false
                }
              ]
            },
            "after": {
              "breakdowns": [
                {
                  "isChangeable": false
                }
              ]
            },
            "beforeNoShow": {
              "breakdowns": [
                {
                  "isChangeable": true,
                  "maxPenalty": {
                    "amount": "0.00",
                    "currencyCode": "USD"
                  },
                  "isConditionsApply": true
                },
                {
                  "isChangeable": true,
                  "maxPenalty": {
                    "amount": "71.00",
                    "currencyCode": "USD"
                  },
                  "isConditionsApply": true
                }
              ]
            },
            "afterNoShow": {
              "breakdowns": [
                {
                  "isChangeable": true,
                  "maxPenalty": {
                    "amount": "0.00",
                    "currencyCode": "USD"
                  },
                  "isConditionsApply": true
                },
                {
                  "isChangeable": true,
                  "maxPenalty": {
                    "amount": "71.00",
                    "currencyCode": "USD"
                  },
                  "isConditionsApply": true
                }
              ]
            }
          },
          "refundability": {
            "before": {
              "breakdowns": [
                {
                  "isRefundable": false
                }
              ]
            },
            "after": {
              "breakdowns": [
                {
                  "isRefundable": false
                }
              ]
            },
            "beforeNoShow": {
              "breakdowns": [
                {
                  "isRefundable": false
                }
              ]
            },
            "afterNoShow": {
              "breakdowns": [
                {
                  "isRefundable": false
                }
              ]
            }
          }
        },
        {
          "fareComponentNumber": 2,
          "pricingUnitNumber": 2,
          "flexibility": {
            "before": {
              "breakdowns": [
                {
                  "isChangeable": false
                }
              ]
            },
            "after": {
              "breakdowns": [
                {
                  "isChangeable": false
                }
              ]
            },
            "beforeNoShow": {
              "breakdowns": [
                {
                  "isChangeable": true,
                  "maxPenalty": {
                    "amount": "0.00",
                    "currencyCode": "USD"
                  },
                  "isConditionsApply": true
                },
                {
                  "isChangeable": true,
                  "maxPenalty": {
                    "amount": "71.00",
                    "currencyCode": "USD"
                  },
                  "isConditionsApply": true
                }
              ]
            },
            "afterNoShow": {
              "breakdowns": [
                {
                  "isChangeable": true,
                  "maxPenalty": {
                    "amount": "0.00",
                    "currencyCode": "USD"
                  },
                  "isConditionsApply": true
                },
                {
                  "isChangeable": true,
                  "maxPenalty": {
                    "amount": "71.00",
                    "currencyCode": "USD"
                  },
                  "isConditionsApply": true
                }
              ]
            }
          },
          "refundability": {
            "before": {
              "breakdowns": [
                {
                  "isRefundable": false
                }
              ]
            },
            "after": {
              "breakdowns": [
                {
                  "isRefundable": false
                }
              ]
            },
            "beforeNoShow": {
              "breakdowns": [
                {
                  "isRefundable": false
                }
              ]
            },
            "afterNoShow": {
              "breakdowns": [
                {
                  "isRefundable": false
                }
              ]
            }
          },
          "maximumStay": {
            "lastCommencementDateTime": "2026-02-28T23:59:00",
            "restrictedLocation": "EWR"
          },
          "advancedPurchase": {
            "lastDateTimeToPurchase": "2026-11-30T23:59:00"
          }
        }
      ]
    }
  ]
}

Tickets

{
  "passengerTickets": [
    {
      "ticketNumber": "2307281423629"
    }
  ]
}
{
  "passengerTickets": [
    {
      "ticketNumber": "2307281423629",
      "totalPrice": {
        "amount": "499.00",
        "currencyCode": "USD"
      },
      "purchaseSummary": {
        "isSimultaneousReservation": false,
        "salesLocation": "HNL"
      },
      "validatingAirlineCode": "CM",
      "isPrivateFare": false,
      "isAncillariesGuaranteed": false,
      "passengerBreakdowns": [
        {
          "exchangeRate": {
            "numberOfDecimalPlaces": 8,
            "value": "1.00000000"
          },
          "passengerTypeCode": "ADT",
          "endorsements": [
            "NON REF/NONEND/NONTRANS/PENALTY APPLIES/"
          ],
          "pricingWarnings": [
            "VALIDATING CARRIER SPECIFIED - CM",
            "CAT 15 SALES RESTRICTIONS FREE TEXT FOUND - VERIFY RULES"
          ],
          "passengerFare": {
            "baseFare": {
              "amount": "499.00",
              "currencyCode": "USD"
            },
            "commission": {
              "percentage": "0.00",
              "amount": "0.00"
            }
          },
          "isNegotiatedFare": false,
          "isEligibleForTicketing": true,
          "flexibility": {
            "before": {
              "isChangeable": true,
              "maxPenalty": {
                "amount": "100.00",
                "currencyCode": "USD"
              },
              "minPenalty": {
                "amount": "0.00",
                "currencyCode": "USD"
              }
            },
            "after": {
              "isChangeable": true,
              "maxPenalty": {
                "amount": "100.00",
                "currencyCode": "USD"
              },
              "minPenalty": {
                "amount": "0.00",
                "currencyCode": "USD"
              }
            },
            "beforeNoShow": {
              "isChangeable": true,
              "maxPenalty": {
                "amount": "300.00",
                "currencyCode": "USD"
              },
              "minPenalty": {
                "amount": "300.00",
                "currencyCode": "USD"
              }
            },
            "afterNoShow": {
              "isChangeable": true,
              "maxPenalty": {
                "amount": "300.00",
                "currencyCode": "USD"
              },
              "minPenalty": {
                "amount": "300.00",
                "currencyCode": "USD"
              }
            }
          },
          "refundability": {
            "before": {
              "isRefundable": false
            },
            "after": {
              "isRefundable": false
            },
            "beforeNoShow": {
              "isRefundable": false
            },
            "afterNoShow": {
              "isRefundable": false
            }
          },
          "fareComponents": [
            {
              "fareComponentNumber": 1,
              "pricingUnitNumber": 1,
              "maximumStay": {
                "lastCommencementDateTime": "2026-05-10T23:59:00",
                "restrictedLocation": "NYC"
              },
              "advancedPurchase": {
                "lastDateTimeToPurchase": "2026-11-27T23:59:00",
                "lastDateTimeToBook": "2026-03-21T23:59:00"
              }
            },
            {
              "fareComponentNumber": 2,
              "pricingUnitNumber": 1,
              "maximumStay": {
                "lastCommencementDateTime": "2026-05-10T23:59:00",
                "restrictedLocation": "NYC"
              },
              "advancedPurchase": {
                "lastDateTimeToPurchase": "2026-11-27T23:59:00",
                "lastDateTimeToBook": "2026-03-21T23:59:00"
              }
            }
          ],
          "carrierImposedFees": {
            "before": [
              {
                "code": "YQF",
                "isRefundable": false,
                "amount": "24.00",
                "currencyCode": "USD",
                "feeApplicationIndicator": "Direction",
                "boardPoint": "PTY",
                "offPoint": "JFK"
              },
              {
                "code": "YQF",
                "isRefundable": false,
                "amount": "24.00",
                "currencyCode": "USD",
                "feeApplicationIndicator": "Direction",
                "boardPoint": "JFK",
                "offPoint": "PTY"
              }
            ],
            "after": [
              {
                "code": "YQF",
                "isRefundable": false,
                "amount": "24.00",
                "currencyCode": "USD",
                "feeApplicationIndicator": "Direction",
                "boardPoint": "PTY",
                "offPoint": "JFK"
              },
              {
                "code": "YQF",
                "isRefundable": false,
                "amount": "24.00",
                "currencyCode": "USD",
                "feeApplicationIndicator": "Direction",
                "boardPoint": "JFK",
                "offPoint": "PTY"
              }
            ]
          }
        }
      ]
    }
  ]
}
sabretravelitineraryticketsfare-rules