Skip to main content

Automated Refunds

1.9.0
Air
Ticketing
SOAP API
Travel Agency

Not Signed In.

Looks like you may not have access to all of the resources and documentation for this page.
Please log-in or contact your support desk team if you believe you should have access.

The Automated Refunds (TKT_RefundRQ) API is used to price and process air ticket refunds. This product is marketed to Sabre Travel Network customers.

Target Audience
Travel Agency
API Version
1.9.0
Authentication
Session Token
Service Action Code
TKT_RefundRQ

In order to use TKT_RefundRQ to process ticket refunds, Automated Refunds must be active in the agency TJR (AUTOMATED REFUND CAT33 ACTIVE). The order must be placed through Sabre Central.

Sample Request
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 <SOAP-ENV:Header>
  <ns1:MessageHeader
  SOAP-ENV:mustUnderstand="1" ns1:version="1.0"
  xmlns:ns1="http://www.ebxml.org/namespaces/messageHeader">
   <ns1:From>
    <ns1:PartyId/>
   </ns1:From>
   <ns1:To>
    <ns1:PartyId/>
   </ns1:To>
   <ns1:CPAId>7TZA</ns1:CPAId>
   <ns1:ConversationId>ABC123</ns1:ConversationId>
   <ns1:Service>TKT_RefundRQ</ns1:Service>
   <ns1:Action>TKT_RefundRQ</ns1:Action>
   <ns1:MessageData>
    <ns1:MessageId>soatest</ns1:MessageId>
    <ns1:Timestamp>2017-04-28T19:23:56.907Z</ns1:Timestamp>
    <ns1:TimeToLive>2017-04-28T19:23:56.907Z</ns1:TimeToLive>
   </ns1:MessageData>
  </ns1:MessageHeader>
  <ns1:Security
  xmlns:ns1="http://schemas.xmlsoap.org/ws/2002/12/secext">
   <ns1:BinarySecurityToken>Shared/IDL:IceSess\/SessMgr:1\.0.IDL/Common/!ICESMS\/STSA!ICESMSLB\/STS.LB!1692908954545!4925!517</ns1:BinarySecurityToken>
  </ns1:Security>
 </SOAP-ENV:Header>
 <SOAP-ENV:Body>
  <ns2:RefundRQ
  version="1.9.0" xmlns="http://www.sabre.com/ns/Ticketing/TTL/1.0"
   xmlns:ns2="http://www.sabre.com/ns/Ticketing/ExchangeRefund/1.0">
   <ns2:Header>
    <DiagnosticData>WFRA0019728183907$STBR$T2-HDR</DiagnosticData>
   </ns2:Header>
   <ns2:POS>
    <Company>1S</Company>
    <Pseudo>Y261</Pseudo>
   </ns2:POS>
   <ns2:TransactionInfo requestType="Price">
    <ns2:TicketingDocument>
     <ns2:Number>0019728183907</ns2:Number>
    </ns2:TicketingDocument>
    <ns2:Options>
     <ns2:Fulfillment>
      <ns2:StockType>BR</ns2:StockType>
     </ns2:Fulfillment>
    </ns2:Options>
   </ns2:TransactionInfo>
  </ns2:RefundRQ>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Sample Response
<?xml version="1.0" encoding="UTF-8"?>
<soap-env:Envelope
  xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
 <soap-env:Header>
  <eb:MessageHeader
  eb:version="1.0" soap-env:mustUnderstand="1"
    xmlns:eb="http://www.ebxml.org/namespaces/messageHeader">
   <eb:From>
    <eb:PartyId
    eb:type="URI"/>
   </eb:From>
   <eb:To>
    <eb:PartyId
  eb:type="URI"/>
   </eb:To>
   <eb:CPAId>7TZA</eb:CPAId>
   <eb:ConversationId>ABC123</eb:ConversationId>
   <eb:Service>TKT_RefundRQ</eb:Service>
   <eb:Action>TKT_RefundRS</eb:Action>
   <eb:MessageData>
    <eb:MessageId>592925564329191920</eb:MessageId>
    <eb:Timestamp>2023-08-25T15:40:38</eb:Timestamp>
    <eb:RefToMessageId>soatest</eb:RefToMessageId>
   </eb:MessageData>
  </eb:MessageHeader>
  <wsse:Security
   xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext">
   <wsse:BinarySecurityToken
   EncodingType="wsse:Base64Binary"
  valueType="String">Shared/IDL:IceSess\/SessMgr:1\.0.IDL/Common/!ICESMS\/STSB!ICESMSLB\/STS.LB!1692978027541!2917!521</wsse:BinarySecurityToken>
  </wsse:Security>
 </soap-env:Header>
 <soap-env:Body>
  <ns2:RefundRS
  version="1.9.0" xmlns="http://www.sabre.com/ns/Ticketing/TTL/1.0"
   xmlns:ns2="http://www.sabre.com/ns/Ticketing/ExchangeRefund/1.0">
   <ns2:Header
   messageID="messageId">
    <OrchestrationID>orchestrationId</OrchestrationID>
    <Results>
     <Success>
      <System>TKT-WS</System>
      <Source>AREX</Source>
     </Success>
    </Results>
   </ns2:Header>
   <ns2:Ticket
   number="0019728183907"
     type="TKT">
    <ns2:Details>
     <ns2:LocalIssueDate>2023-08-23T00:00:00.000Z</ns2:LocalIssueDate>
     <ns2:IssueLocation>Y261</ns2:IssueLocation>
     <ns2:Reservation>HCVHFK</ns2:Reservation>
     <ns2:AgencyIdentifier>57551163</ns2:AgencyIdentifier>
     <ns2:ValidatingCarrier
     xmlns:xs="http://www.w3.org/2001/XMLSchema"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:type="xs:string">AA</ns2:ValidatingCarrier>
    </ns2:Details>
    <ns2:Traveler
    firstName="ARTI" lastName="MOHAN"/>
    <ns2:ServiceCoupon
    number="1"
     status="OPEN">
     <ns2:StartLocation>DFW</ns2:StartLocation>
     <ns2:EndLocation>GRU</ns2:EndLocation>
     <ns2:StartDate>2023-09-18</ns2:StartDate>
     <ns2:StartTime>19:20:00</ns2:StartTime>
     <ns2:MarketingFlightNumber
    carrierCode="AA">963</ns2:MarketingFlightNumber>
     <ns2:BookingClass>J</ns2:BookingClass>
     <ns2:FareBasis>J1NFFBF5</ns2:FareBasis>
    </ns2:ServiceCoupon>
    <ns2:ServiceCoupon
    number="2"
     status="OPEN">
     <ns2:StartLocation>GRU</ns2:StartLocation>
     <ns2:EndLocation>DFW</ns2:EndLocation>
     <ns2:StartDate>2023-09-22</ns2:StartDate>
     <ns2:StartTime>22:25:00</ns2:StartTime>
     <ns2:MarketingFlightNumber
    carrierCode="AA">962</ns2:MarketingFlightNumber>
     <ns2:BookingClass>J</ns2:BookingClass>
     <ns2:FareBasis>J1NFFBF5</ns2:FareBasis>
    </ns2:ServiceCoupon>
    <ns2:Payment
    type="CA"/>
   </ns2:Ticket>
   <ns2:PriceInfo>
    <ns2:Refund
    fareNonRefundable="false" priceType="System"
     taxesNonRefundable="false">
     <ns2:BaseFareInfo
     currencyCode="USD"
     decimalPlaces="0">
      <ns2:DocumentAmount>18238.00</ns2:DocumentAmount>
      <ns2:UsedAmount>0.00</ns2:UsedAmount>
     </ns2:BaseFareInfo>
     <ns2:FareInfo
     currencyCode="BRL"
     decimalPlaces="2">
      <ns2:DocumentAmount>90152.25</ns2:DocumentAmount>
      <ns2:NonRefundableAmount>0.00</ns2:NonRefundableAmount>
      <ns2:UsedAmount>0.00</ns2:UsedAmount>
      <ns2:TotalFeesAmount>0.00</ns2:TotalFeesAmount>
      <ns2:CalculatedAmount>90152.25</ns2:CalculatedAmount>
      <ns2:RefundAmount>90152.25</ns2:RefundAmount>
     </ns2:FareInfo>
     <ns2:TaxInfo
     currencyCode="BRL" decimalPlaces="2">
      <ns2:Tax
      code="BR">
       <ns2:DocumentAmount>54.24</ns2:DocumentAmount>
       <ns2:NonRefundableAmount>0.00</ns2:NonRefundableAmount>
       <ns2:UsedAmount>0.00</ns2:UsedAmount>
       <ns2:CalculatedAmount>54.24</ns2:CalculatedAmount>
       <ns2:RefundAmount>54.24</ns2:RefundAmount>
      </ns2:Tax>
      <ns2:Tax
      code="US">
       <ns2:DocumentAmount>208.58</ns2:DocumentAmount>
       <ns2:NonRefundableAmount>208.58</ns2:NonRefundableAmount>
       <ns2:UsedAmount>0.00</ns2:UsedAmount>
       <ns2:CalculatedAmount>0.00</ns2:CalculatedAmount>
       <ns2:RefundAmount>0.00</ns2:RefundAmount>
      </ns2:Tax>
      <ns2:Tax
      code="YC">
       <ns2:DocumentAmount>32.22</ns2:DocumentAmount>
       <ns2:NonRefundableAmount>0.00</ns2:NonRefundableAmount>
       <ns2:UsedAmount>0.00</ns2:UsedAmount>
       <ns2:CalculatedAmount>32.22</ns2:CalculatedAmount>
       <ns2:RefundAmount>32.22</ns2:RefundAmount>
      </ns2:Tax>
      <ns2:Tax
      code="XY">
       <ns2:DocumentAmount>34.60</ns2:DocumentAmount>
       <ns2:NonRefundableAmount>0.00</ns2:NonRefundableAmount>
       <ns2:UsedAmount>0.00</ns2:UsedAmount>
       <ns2:CalculatedAmount>34.60</ns2:CalculatedAmount>
       <ns2:RefundAmount>34.60</ns2:RefundAmount>
      </ns2:Tax>
      <ns2:Tax
      code="XA">
       <ns2:DocumentAmount>18.93</ns2:DocumentAmount>
       <ns2:NonRefundableAmount>0.00</ns2:NonRefundableAmount>
       <ns2:UsedAmount>0.00</ns2:UsedAmount>
       <ns2:CalculatedAmount>18.93</ns2:CalculatedAmount>
       <ns2:RefundAmount>18.93</ns2:RefundAmount>
      </ns2:Tax>
      <ns2:Tax
      code="AY">
       <ns2:DocumentAmount>27.68</ns2:DocumentAmount>
       <ns2:NonRefundableAmount>0.00</ns2:NonRefundableAmount>
       <ns2:UsedAmount>0.00</ns2:UsedAmount>
       <ns2:CalculatedAmount>27.68</ns2:CalculatedAmount>
       <ns2:RefundAmount>27.68</ns2:RefundAmount>
      </ns2:Tax>
      <ns2:Tax
    code="XF">
       <ns2:DocumentAmount>22.24</ns2:DocumentAmount>
       <ns2:NonRefundableAmount>0.00</ns2:NonRefundableAmount>
       <ns2:UsedAmount>0.00</ns2:UsedAmount>
       <ns2:CalculatedAmount>22.24</ns2:CalculatedAmount>
       <ns2:RefundAmount>22.24</ns2:RefundAmount>
      </ns2:Tax>
      <ns2:TotalTaxRefundAmount>189.91</ns2:TotalTaxRefundAmount>
     </ns2:TaxInfo>
    </ns2:Refund>
    <ns2:GrandTotal
    currencyCode="BRL"
   decimalPlaces="2">90342.16</ns2:GrandTotal>
   </ns2:PriceInfo>
   <ns2:TransactionInfo fulfilled="false"/>
  </ns2:RefundRS>
 </soap-env:Body>
</soap-env:Envelope>