Skip to navigation

Pay and issue tickets

View as Markdown

Pay from the pre-funded wallet with paymentType 4 and issue the tickets. Reference the booking by its W1 record locator. The response returns a ticket number, totalAmount, and netAmount for each passenger. For named passengers, each passengerName also carries tpaextensions.links, one download link per ticket PDF; the older urls string is deprecated.

Headers

x-api-keystringRequired
local-nameenumRequiredDefaults to OTA_AirDemandTicketRQ
Routes the request to the ticketing operation.
Allowed values:

Request

This endpoint expects an object.
posobjectRequired
Point of sale. Identifies the agent and channel behind the request.
versionstringRequired
demandTicketDetailobjectRequired

Response

Issued tickets with amounts per passenger.
successobjectOptional
bookingReferenceIDmap from strings to anyOptional
ticketItemInfolist of objectsOptional
One entry per passenger, with the ticket number and amounts.
timeStampstringOptional
versiondoubleOptional
retransmissionIndicatorbooleanOptional