Ticket as FOP API Reference

Get

book/airoffer/reservationworkbench/{LocatorCode}/offers/buildfromoffer

For {LocatorCode} send the locator code of the reservation to retrieve.

Send the locator code of the held booking to ticket, not the locator code of the unused ticket.

Base path:

Pre-production https://api.pp.travelport.com/11/air/

Production https://api.travelport.com/11/air/

Related Content: Booking Guide, Ticketing Guide

NDC only; not supported for GDS.

For supporting NDC carriers only, the JSON APIs support using the value on an unused ticket as form of payment (FOP) when ticketing a separate, held booking.

For carrier support, see the section Deferred Payment in NDC capabilities by airline through JSON API in the Travelport Knowledge Base.

Ticket as FOP Workflow

The following must be in place to use a ticket as FOP: 

  • The passenger has a held booking made with the JSON APIs that is separate from the ticketed itinerary.

  • The passenger has a separate, ticketed itinerary that is either fully unflown or partially flown with no active itineraries and that has not been voided, refunded, or exchanged.

Supported Options

When applying an unused ticket as FOP:

  • Only one ticket per passenger can be exchanged.

  • Tickets are non-transferable; the name on the ticket must match the name on the held booking.

  • If a held booking has multiple passengers, a ticket must be submitted for every passenger on that held booking.

  • When using multiple tickets as FOP, each ticket must have the same itinerary and coupon status.

  • Tickets cannot have segments with an active itinerary.

Workflow

Use the following workflow to apply an unused ticket to a held booking:

  1. Create post-commit workbench.

  2. Send the OfferQueryBuildFromOffer request payload below to the endpoint above. The response returns the value of the ticket that can be applied to any new booking.

  3. Form of Payment and Payment may be required in this workbench, depending on the price of the held booking compared to the available ticket value. If the total price of the held booking:

    • exceeds or is the exact same as the value of the unused ticket, before commit, you must send Form of Payment and Payment for either the balance due or in the amount of zero for an even exchange.

    • is less than the value of the unused ticket, at commit, the residual balance on the ticket is issued as a refund in the form of an EMD coupon. Do not send FOP or Payment.

  4. Commit the workbench to issue the new ticket. If payment was made for balance due, the commit issues an EMD for that payment. If a balance remains from the unused ticket, the passive PNR is updated with DI lines referencing the EMD and the amount on it.

Request

Query Parameters

None.

Request Body

Response

Pending.

Example Request

For additional examples and scenarios, download the developer toolkits and see Using Postman and Developer Toolkits.

The example Ticket as FOP request below sends the ticket number for the unused ticket in DocumentNumber.

Example Response

For additional examples and scenarios, download the developer toolkits and see Using Postman and Developer Toolkits.

In the following example excerpt from the commit response, the value of the unused ticket exceeded the cost of the held booking. In this case, an instance of Document with @type DocumentTicket returns the ticket number and an amount of 0, while the instance of Document with @type DocumentEMD has a positive amount of 118.2, indicating that a residual value of 118.2 remained on the ticket and has been issued as an EMD.