Authorize Transaction

 

This service allows to authorize or transaction on account.

API Information

Target Audience
Sabre Airline Solutions
Current Version
3.1.0
Authentication
Session Token
Service Action Code
CentivaSearchRQ

Sample request

<CentivaServiceRQ Version="1.1" AgentIdentifier="SSW" 
xmlns:xs="http://www.w3.org/2001/XMLSchema" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <!-- M -->
  <AccountNumber>8036003100000011</AccountNumber>
  <!-- M -->
  <AccountAuthentication UserName="bobix" PasswordHashed="VXNlclBhc3N3b3JkS2V5U2VlZC9uL26v3B5HoxjjthiDdPhcYLkV28OPzQ==" />
  <!-- M(username), O(password) -->
  <Request Name="CentivaAuthorizeRQ">
    <!-- M -->
    <CentivaAuthorizeRQ>
      <!-- M -->
      <PreviousAuthorizationCodeToRelease>US1111</PreviousAuthorizationCodeToRelease>
      <!-- o -->
      <AccountCurrency>MXN</AccountCurrency>
      <!-- o -->
      <TransactionCurrency>MXN</TransactionCurrency>
      <!-- M -->
      <TransactionRate>1.0</TransactionRate>
      <!-- o -->
      <TransactionType>SALE</TransactionType>
      <!-- M -->
      <PerPassengerDetail>
        <Passenger LastName="Bierkow" FirstName="Bobix"/>
        <!-- M -->
        <Document DocumentType="TKT">
          <!-- M -->
          <FareBreak BaseFare="80.00" TotalTax="20.00" TotalFee="10.00"/>
          <!-- M -->
          <BTAmounts>
            <Amount>70.0</Amount>
            <!-- M -->
            <AmountDetail BaseFare="45.00" TotalTax="20.00" TotalFee="5"/>
            <!-- M -->
          </BTAmounts>
        </Document>
        <Document DocumentType="TKT">
          <FareBreak BaseFare="90.00" TotalTax="21.00" TotalFee="9.00"/>
          <BTAmounts>
            <Amount>60.0</Amount>
            <AmountDetail BaseFare="60.00" TotalTax="0.00" TotalFee="0.00"/>
          </BTAmounts>
        </Document>
      </PerPassengerDetail>
    </CentivaAuthorizeRQ>
  </Request>
</CentivaServiceRQ>

Sample response

<CentivaServiceRS AgentIdentifier="SSW" Version="1.1">
  <AccountNumber>8036003100000011</AccountNumber>
  <StatusCode>000000</StatusCode>
  <Response Name="CentivaAuthorizeRS">
    <CentivaAuthorizeRS>
      <AccountCurrency>MXN</AccountCurrency>
      <TransactionCurrency>MXN</TransactionCurrency>
      <TransactionType>SALE</TransactionType>
      <AuthorizationCode>MX3150</AuthorizationCode>
      <TotalBTAmounts>
        <Amount>130.00</Amount>
        <AmountDetail BaseFare="105.00" NetFare="0" NetReportingIndicator="false" TotalFee="5.00" TotalTax="20.00"/>
      </TotalBTAmounts>
      <PerPassengerDetail>
        <Passenger FirstName="Bobix" LastName="Bierkow"/>
        <Document DocumentType="TKT" ETicketIndicator="false">
          <FareBreak BaseFare="80.00" NetFare="0" TotalFee="10.00" TotalTax="20.00"/>
          <BTAmounts>
            <Amount>70.00</Amount>
            <AmountDetail BaseFare="45.00" NetFare="0" TotalFee="5" TotalTax="20.00"/>
          </BTAmounts>
          <BTAmountsInAccountCurrency>
            <Amount>70.00</Amount>
            <AmountDetail BaseFare="45.00" NetFare="0" TotalFee="5" TotalTax="20.00"/>
          </BTAmountsInAccountCurrency>
          <MiscellaneousList/>
        </Document>
        <Document DocumentType="TKT" ETicketIndicator="false">
          <FareBreak BaseFare="90.00" NetFare="0" TotalFee="9.00" TotalTax="21.00"/>
          <BTAmounts>
            <Amount>60.00</Amount>
            <AmountDetail BaseFare="60.00" NetFare="0" TotalFee="0.00" TotalTax="0.00"/>
          </BTAmounts>
          <BTAmountsInAccountCurrency>
            <Amount>60.00</Amount>
            <AmountDetail BaseFare="60.00" NetFare="0" TotalFee="0.00" TotalTax="0.00"/>
          </BTAmountsInAccountCurrency>
          <MiscellaneousList/>
        </Document>
      </PerPassengerDetail>
    </CentivaAuthorizeRS>
  </Response>
</CentivaServiceRS>

If you are a Sabre customer currently using Sabre APIs in production, access Resources 

Docs Navigation