Refund Quote API Reference
POST |
book/airoffer/reservationworkbench/{{workbenchID}/offers/canceloffer For {workbenchID} send the workbench identifier returned in ReservationResponse/Identifer/value in the workbench create response. Base path: Pre-production https://api.pp.travelport.com/11/air/ Production https://api.travelport.com/11/air/ |
Related Content: Exchange, Refund, and Void Guide
Use the Refund Quote API to determine what if any refund value may be available on a ticket. Establish a workbench session and send Refund Quote as detailed here. To cancel the ticket, next send Order Cancel to cancel the ticket and issue any refund.
For supporting NDC carriers only, you can cancel only specified segments in Refund Quote instead of the entire itinerary. In this case, the ticket value is retained at Order Cancel.
Request
Also see Authorization and Common Headers.
Query Parameters
None.
Request Body
Send the message payload per below.

Object |
Description |
Required/Optional |
---|---|---|
OfferQueryCancelOffer |
Top level object. |
Required |
BuildFromOffer |
Top level object. |
Required |
OfferIdentifier |
Top level object. |
Required |
Identifier |
Top level object for the offer identifier. |
Required |
|
Send the offer identifier for the offer to cancel and check refund status for. The offer identifier is returned in the Create Workbench response in Offer/Identifier/value. |
Required |
ProductIdentifier |
For supporting NDC carriers only, either within or after the void period for the ticket, to cancel segments on only one leg of the itinerary, send the product identifier for the leg to cancel. In the subsequent Order Cancel request, segments on products not sent in ProductIdentifier are not canceled, and the ticket value is retained. Includes Identifier object. For carrier support, see Retain Segments in NDC capabilities by airline through JSON API in the Travelport Knowledge Base.
|
Optional; supported only for select NDC carriers |
Identifier |
Top level object. |
Optional; supported only for select NDC carriers |
|
String. Send the product identifier for the leg to cancel, returned in the Create Workbench response in Offer/Product/Identifier/value. |
Optional; supported only for select NDC carriers |
Response

Object |
Description |
---|---|
OfferListResponse |
Top level object. Includes OfferID object. |
OfferID |
Returns details of any possible refund. Includes Identifier, Product, Price, and ModifyPrice objects. |
Identifier |
Offer identifier for the offer sent in request. In this case, authority is always the NDC carrier code. Key value pairs:
|
Product |
Standard Product object with flight details for the offer as ticketed. See Reservation Retrieve for details. |
Price |
Standard Price object with price details for the offer as ticketed. See Reservation Retrieve for details. |
ModifyPrice |
Details about any refund. Includes CurrencyCode and TotalPrice objects. |
CurrencyCode |
The currency of the fare. Key value pairs:
|
TotalPrice |
Number. A positive number here indicates the amount of the refund if the ticket is canceled with a subsequent Order Cancel request. A negative value indicates the amount of the ticket value that would be forfeited if the ticket is canceled with a subsequent Order Cancel request. |
Example Request
The following example sends an offer identifier. All segments on the itinerary will be canceled in a subsequent Order Cancel request.

{
"OfferQueryCancelOffer": {
"BuildFromOffer": {
"@type": "BuildFromOfferAir",
"OfferIdentifier": {
"Identifier": {
"value": "NUVJNUNCfFNRXzVFSTVDQl9BSVItMXxTUXxTUV81RUk1Q0J8cHJvZHVjdDFfczEtU0VHMXxBRFQ6UEFYMw=="
}
}
}
}
}
Example Response
In the response, ModifyPrice/TotalPrice returns the amount of any refund available. A positive number indicates the amount of the refund if the ticket is canceled with a subsequent Order Cancel request. A negative value indicates the amount of the ticket value that would be forfeited if the ticket is canceled.

In the following example response, ModifyPrice indicates that if this ticket is canceled an amount of 2,935 HKD will be refunded.
{
"OfferListResponse": {
"@type": "OfferListResponse",
"OfferID": [
{
"@type": "OfferModify",
"scheduleChangeInd": true,
"Identifier": {
"authority": "SQ",
"value": "NUVJNUNCfFNRXzVFSTVDQl9BSVItMXxTUXxTUV81RUk1Q0J8cHJvZHVjdDFfczEtU0VHMXxBRFQ6UEFYMw=="
},
"Product": [
{
"@type": "ProductAir",
"totalDuration": "PT4H",
"id": "product1",
"Identifier": {
"authority": "SQ",
"value": "762fe1dd-d4b5-4458-be4a-af74b79d9e02"
},
"FlightSegment": [
{
"@type": "FlightSegment",
"id": "s1",
"sequence": 1,
"Flight": {
"@type": "Flight",
"carrier": "SQ",
"number": "895",
"id": "seg1",
"Identifier": {
"authority": "SQ",
"value": "c4e81840-f2d5-4a61-80a8-b5b218a6e20f"
},
"Departure": {
"@type": "DepartureDetail",
"terminal": "1",
"location": "HKG",
"date": "2022-12-22",
"time": "18:50:00"
},
"Arrival": {
"@type": "ArrivalDetail",
"terminal": "0",
"location": "SIN",
"date": "2022-12-22",
"time": "22:50:00"
}
}
}
],
"PassengerFlight": [
{
"@type": "PassengerFlight",
"passengerQuantity": 1,
"passengerTypeCode": "ADT",
"FlightProduct": [
{
"@type": "FlightProduct",
"segmentSequence": [
1
],
"classOfService": "W",
"fareBasisCode": "W14HKO"
}
]
}
]
}
],
"Price": {
"@type": "PriceDetail",
"CurrencyCode": {
"decimalPlace": 0,
"value": "HKD"
},
"Base": 2670,
"TotalTaxes": 265,
"TotalFees": 0,
"TotalPrice": 2935,
"PriceBreakdown": [
{
"@type": "PriceBreakdownAir",
"quantity": 1,
"requestedPassengerType": "ADT",
"Amount": {
"@type": "Amount",
"CurrencyCode": {
"decimalPlace": 0,
"value": "HKD"
},
"Base": 2670,
"Taxes": {
"@type": "TaxesDetail",
"TotalTaxes": 265,
"Tax": [
{
"taxCode": "G3",
"value": 90
},
{
"taxCode": "HK",
"value": 120
},
{
"taxCode": "I5",
"value": 55
}
]
},
"Total": 2935
}
}
]
},
"ModifyPrice": {
"@type": "ModifyPriceDetail",
"CurrencyCode": {
"value": "HKD"
},
"TotalPrice": 2935
}
}
]
}
}