wsReservation


Click here for a complete list of operations.

GetPaymentInfo

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /ResService/wsReservation.asmx HTTP/1.1
Host: tsuiteservice.it.ws.travelexplorer.com.br
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ws.travelsuite.com.br/GetPaymentInfo"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetPaymentInfo xmlns="http://ws.travelsuite.com.br">
      <pnrItemId>long</pnrItemId>
      <targetPayment>Emission or PaymentSuite</targetPayment>
    </GetPaymentInfo>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetPaymentInfoResponse xmlns="http://ws.travelsuite.com.br">
      <GetPaymentInfoResult>
        <PaymentInfoId>long</PaymentInfoId>
        <Broker>Direct or Idea or Paypal or VerySign or BV or Gol or ViajaNet or Tcn or PaymentSuite</Broker>
        <SourceType>Reservation or RAV</SourceType>
        <Type>None or DirectBank or CreditCard or ReservationOnly or Ticket or DebitCard or OnlineTransfer or Billet or CreditCardLink or ManualCard or Pix or CouponDiscount</Type>
        <CreditCardInfo>
          <CreditCardInfoTCN>
            <CreditCardInfo xsi:nil="true" />
            <CreditCardInfoIdTCN>long</CreditCardInfoIdTCN>
            <CreditCardInfoId>long</CreditCardInfoId>
            <IdTransacao>string</IdTransacao>
            <CodRetorno>int</CodRetorno>
            <MensagemRet>string</MensagemRet>
            <NrReferencia>string</NrReferencia>
            <NrAutorizacao>string</NrAutorizacao>
            <Data>dateTime</Data>
            <NRCV>string</NRCV>
            <NRNSU>string</NRNSU>
            <CodRetAdm>int</CodRetAdm>
            <MensagemAdm>string</MensagemAdm>
          </CreditCardInfoTCN>
          <CreditCardInfoId>long</CreditCardInfoId>
          <Type>Visa or Master or Amex or Hypercard or Dinner or Elo or UATP</Type>
          <FirstName>string</FirstName>
          <LastName>string</LastName>
          <ValidThru>string</ValidThru>
          <SecCode>string</SecCode>
          <CardNumber>string</CardNumber>
          <PrefixCardNumber>string</PrefixCardNumber>
          <AuthorizationCode>string</AuthorizationCode>
          <ErrorCode>string</ErrorCode>
          <AuthenticationCode>string</AuthenticationCode>
          <PaymentInfoId>long</PaymentInfoId>
          <ParcelsNumber>short</ParcelsNumber>
          <AccountHolderName>string</AccountHolderName>
          <VerificationCode>string</VerificationCode>
          <ExpirationDate>dateTime</ExpirationDate>
          <WithoutInterest>boolean</WithoutInterest>
          <Interest>decimal</Interest>
          <IsCodeSecRead>boolean</IsCodeSecRead>
          <HostCodeSecRead>string</HostCodeSecRead>
          <DateCodeSecRead>dateTime</DateCodeSecRead>
          <Parcels>
            <anyType />
            <anyType />
          </Parcels>
          <CustomerBillingData>
            <CustomerBillingDataId>long</CustomerBillingDataId>
            <CreditCardInfo xsi:nil="true" />
            <DocNumber>string</DocNumber>
            <Address>string</Address>
            <Number>int</Number>
            <Completion>string</Completion>
            <District>string</District>
            <State>string</State>
            <City>string</City>
            <Zip>string</Zip>
            <Country>string</Country>
            <EmissionBank>string</EmissionBank>
            <County>string</County>
            <Email>string</Email>
          </CustomerBillingData>
          <CreditCardInfoParcels>
            <CreditCardInfoParcels xsi:nil="true" />
            <CreditCardInfoParcels xsi:nil="true" />
          </CreditCardInfoParcels>
          <CardNumberEncrypted>string</CardNumberEncrypted>
        </CreditCardInfo>
        <Notes>string</Notes>
        <Status>Processing or Confirmed or Rejected or Canceled or Pending or Waiting or Error or None or FailComunication or GatewayErrorComunication</Status>
        <PNR_Id>long</PNR_Id>
        <PNRGroup>string</PNRGroup>
        <Currency>string</Currency>
        <PaymentAmount>decimal</PaymentAmount>
        <SendingConfirmed>boolean</SendingConfirmed>
        <Target>Emission or PaymentSuite</Target>
        <PnrItem_Id>int</PnrItem_Id>
        <PaymentMethod>short</PaymentMethod>
        <TicketPayment>string</TicketPayment>
        <IsInvoice>boolean</IsInvoice>
        <Taxes>
          <PaymentInfoTaxes>
            <PaymentInfoTaxId>int</PaymentInfoTaxId>
            <PaymentInfoId>int</PaymentInfoId>
            <Type>BrasPag or AdmFeeCard or Custom</Type>
            <Amount>decimal</Amount>
            <DescriptionTax>string</DescriptionTax>
          </PaymentInfoTaxes>
          <PaymentInfoTaxes>
            <PaymentInfoTaxId>int</PaymentInfoTaxId>
            <PaymentInfoId>int</PaymentInfoId>
            <Type>BrasPag or AdmFeeCard or Custom</Type>
            <Amount>decimal</Amount>
            <DescriptionTax>string</DescriptionTax>
          </PaymentInfoTaxes>
        </Taxes>
        <CreateDate>dateTime</CreateDate>
        <AntiFraudStatus>None or Waiting or Aproved or Rejected</AntiFraudStatus>
        <RejectedManual>boolean</RejectedManual>
        <IsExternalPayment>boolean</IsExternalPayment>
        <Capture>boolean</Capture>
        <BankSlipInfo>
          <BankSlipInfoId>long</BankSlipInfoId>
          <PaymentInfoId>long</PaymentInfoId>
          <Instructions>string</Instructions>
          <ExpirationDate>dateTime</ExpirationDate>
          <Demostrative>string</Demostrative>
          <BankSlipNumber>string</BankSlipNumber>
          <BarCodeNumber>string</BarCodeNumber>
          <DigitableLine>string</DigitableLine>
          <Assignor>string</Assignor>
          <Identification>string</Identification>
          <Provider>Bradesco2 or BancoDoBrasil2 or ItauShopline or Itau2 or Santander2 or Caixa2 or CitiBank2 or BankOfAmerica or Simulado</Provider>
          <Url>string</Url>
        </BankSlipInfo>
        <BankTransferInfo>
          <BankTransferInfoId>long</BankTransferInfoId>
          <PaymentInfoId>long</PaymentInfoId>
          <Provider>Bradesco or BancoDoBrasil or SafetyPay or Itau or Simulado</Provider>
          <RequestUrl>string</RequestUrl>
        </BankTransferInfo>
        <CreditCardLink>
          <CreditCardLinkId>long</CreditCardLinkId>
          <PaymentInfoId>long</PaymentInfoId>
          <LinkPayment>string</LinkPayment>
        </CreditCardLink>
        <ManualCardPayment>
          <CreditCardManualPaymentId>long</CreditCardManualPaymentId>
          <PaymentInfoId>long</PaymentInfoId>
          <Brand>string</Brand>
          <Installments>int</Installments>
          <PaymentType>int</PaymentType>
          <AffiliationCode>string</AffiliationCode>
          <Nsu>string</Nsu>
          <AuthorizationCode>string</AuthorizationCode>
          <TerminalLogicNumber>string</TerminalLogicNumber>
          <AuthorizationDate>dateTime</AuthorizationDate>
          <CaptureDate>dateTime</CaptureDate>
          <Timestamp>dateTime</Timestamp>
          <LastCardDigits>string</LastCardDigits>
        </ManualCardPayment>
        <Pix>
          <PixPaymentId>long</PixPaymentId>
          <PaymentInfoId>long</PaymentInfoId>
          <EmvPayload>string</EmvPayload>
          <QrCodeImageBase64>string</QrCodeImageBase64>
          <AuthorizationCode>string</AuthorizationCode>
        </Pix>
      </GetPaymentInfoResult>
    </GetPaymentInfoResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /ResService/wsReservation.asmx HTTP/1.1
Host: tsuiteservice.it.ws.travelexplorer.com.br
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetPaymentInfo xmlns="http://ws.travelsuite.com.br">
      <pnrItemId>long</pnrItemId>
      <targetPayment>Emission or PaymentSuite</targetPayment>
    </GetPaymentInfo>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetPaymentInfoResponse xmlns="http://ws.travelsuite.com.br">
      <GetPaymentInfoResult>
        <PaymentInfoId>long</PaymentInfoId>
        <Broker>Direct or Idea or Paypal or VerySign or BV or Gol or ViajaNet or Tcn or PaymentSuite</Broker>
        <SourceType>Reservation or RAV</SourceType>
        <Type>None or DirectBank or CreditCard or ReservationOnly or Ticket or DebitCard or OnlineTransfer or Billet or CreditCardLink or ManualCard or Pix or CouponDiscount</Type>
        <CreditCardInfo>
          <CreditCardInfoTCN>
            <CreditCardInfo xsi:nil="true" />
            <CreditCardInfoIdTCN>long</CreditCardInfoIdTCN>
            <CreditCardInfoId>long</CreditCardInfoId>
            <IdTransacao>string</IdTransacao>
            <CodRetorno>int</CodRetorno>
            <MensagemRet>string</MensagemRet>
            <NrReferencia>string</NrReferencia>
            <NrAutorizacao>string</NrAutorizacao>
            <Data>dateTime</Data>
            <NRCV>string</NRCV>
            <NRNSU>string</NRNSU>
            <CodRetAdm>int</CodRetAdm>
            <MensagemAdm>string</MensagemAdm>
          </CreditCardInfoTCN>
          <CreditCardInfoId>long</CreditCardInfoId>
          <Type>Visa or Master or Amex or Hypercard or Dinner or Elo or UATP</Type>
          <FirstName>string</FirstName>
          <LastName>string</LastName>
          <ValidThru>string</ValidThru>
          <SecCode>string</SecCode>
          <CardNumber>string</CardNumber>
          <PrefixCardNumber>string</PrefixCardNumber>
          <AuthorizationCode>string</AuthorizationCode>
          <ErrorCode>string</ErrorCode>
          <AuthenticationCode>string</AuthenticationCode>
          <PaymentInfoId>long</PaymentInfoId>
          <ParcelsNumber>short</ParcelsNumber>
          <AccountHolderName>string</AccountHolderName>
          <VerificationCode>string</VerificationCode>
          <ExpirationDate>dateTime</ExpirationDate>
          <WithoutInterest>boolean</WithoutInterest>
          <Interest>decimal</Interest>
          <IsCodeSecRead>boolean</IsCodeSecRead>
          <HostCodeSecRead>string</HostCodeSecRead>
          <DateCodeSecRead>dateTime</DateCodeSecRead>
          <Parcels>
            <anyType />
            <anyType />
          </Parcels>
          <CustomerBillingData>
            <CustomerBillingDataId>long</CustomerBillingDataId>
            <CreditCardInfo xsi:nil="true" />
            <DocNumber>string</DocNumber>
            <Address>string</Address>
            <Number>int</Number>
            <Completion>string</Completion>
            <District>string</District>
            <State>string</State>
            <City>string</City>
            <Zip>string</Zip>
            <Country>string</Country>
            <EmissionBank>string</EmissionBank>
            <County>string</County>
            <Email>string</Email>
          </CustomerBillingData>
          <CreditCardInfoParcels>
            <CreditCardInfoParcels xsi:nil="true" />
            <CreditCardInfoParcels xsi:nil="true" />
          </CreditCardInfoParcels>
          <CardNumberEncrypted>string</CardNumberEncrypted>
        </CreditCardInfo>
        <Notes>string</Notes>
        <Status>Processing or Confirmed or Rejected or Canceled or Pending or Waiting or Error or None or FailComunication or GatewayErrorComunication</Status>
        <PNR_Id>long</PNR_Id>
        <PNRGroup>string</PNRGroup>
        <Currency>string</Currency>
        <PaymentAmount>decimal</PaymentAmount>
        <SendingConfirmed>boolean</SendingConfirmed>
        <Target>Emission or PaymentSuite</Target>
        <PnrItem_Id>int</PnrItem_Id>
        <PaymentMethod>short</PaymentMethod>
        <TicketPayment>string</TicketPayment>
        <IsInvoice>boolean</IsInvoice>
        <Taxes>
          <PaymentInfoTaxes>
            <PaymentInfoTaxId>int</PaymentInfoTaxId>
            <PaymentInfoId>int</PaymentInfoId>
            <Type>BrasPag or AdmFeeCard or Custom</Type>
            <Amount>decimal</Amount>
            <DescriptionTax>string</DescriptionTax>
          </PaymentInfoTaxes>
          <PaymentInfoTaxes>
            <PaymentInfoTaxId>int</PaymentInfoTaxId>
            <PaymentInfoId>int</PaymentInfoId>
            <Type>BrasPag or AdmFeeCard or Custom</Type>
            <Amount>decimal</Amount>
            <DescriptionTax>string</DescriptionTax>
          </PaymentInfoTaxes>
        </Taxes>
        <CreateDate>dateTime</CreateDate>
        <AntiFraudStatus>None or Waiting or Aproved or Rejected</AntiFraudStatus>
        <RejectedManual>boolean</RejectedManual>
        <IsExternalPayment>boolean</IsExternalPayment>
        <Capture>boolean</Capture>
        <BankSlipInfo>
          <BankSlipInfoId>long</BankSlipInfoId>
          <PaymentInfoId>long</PaymentInfoId>
          <Instructions>string</Instructions>
          <ExpirationDate>dateTime</ExpirationDate>
          <Demostrative>string</Demostrative>
          <BankSlipNumber>string</BankSlipNumber>
          <BarCodeNumber>string</BarCodeNumber>
          <DigitableLine>string</DigitableLine>
          <Assignor>string</Assignor>
          <Identification>string</Identification>
          <Provider>Bradesco2 or BancoDoBrasil2 or ItauShopline or Itau2 or Santander2 or Caixa2 or CitiBank2 or BankOfAmerica or Simulado</Provider>
          <Url>string</Url>
        </BankSlipInfo>
        <BankTransferInfo>
          <BankTransferInfoId>long</BankTransferInfoId>
          <PaymentInfoId>long</PaymentInfoId>
          <Provider>Bradesco or BancoDoBrasil or SafetyPay or Itau or Simulado</Provider>
          <RequestUrl>string</RequestUrl>
        </BankTransferInfo>
        <CreditCardLink>
          <CreditCardLinkId>long</CreditCardLinkId>
          <PaymentInfoId>long</PaymentInfoId>
          <LinkPayment>string</LinkPayment>
        </CreditCardLink>
        <ManualCardPayment>
          <CreditCardManualPaymentId>long</CreditCardManualPaymentId>
          <PaymentInfoId>long</PaymentInfoId>
          <Brand>string</Brand>
          <Installments>int</Installments>
          <PaymentType>int</PaymentType>
          <AffiliationCode>string</AffiliationCode>
          <Nsu>string</Nsu>
          <AuthorizationCode>string</AuthorizationCode>
          <TerminalLogicNumber>string</TerminalLogicNumber>
          <AuthorizationDate>dateTime</AuthorizationDate>
          <CaptureDate>dateTime</CaptureDate>
          <Timestamp>dateTime</Timestamp>
          <LastCardDigits>string</LastCardDigits>
        </ManualCardPayment>
        <Pix>
          <PixPaymentId>long</PixPaymentId>
          <PaymentInfoId>long</PaymentInfoId>
          <EmvPayload>string</EmvPayload>
          <QrCodeImageBase64>string</QrCodeImageBase64>
          <AuthorizationCode>string</AuthorizationCode>
        </Pix>
      </GetPaymentInfoResult>
    </GetPaymentInfoResponse>
  </soap12:Body>
</soap12:Envelope>