Autorização Visa ECommerce

Introdução

Demonstra um exemplo de autorização da Visa por Ecommerce.

Request

<?xml version="1.0" encoding="utf-8"?>
<Document xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:AcceptorAuthorisationRequestV02.1">
  <AccptrAuthstnReq>
    <Hdr>
      <MsgFctn>AUTQ</MsgFctn>
      <PrtcolVrsn>2.0</PrtcolVrsn>
    </Hdr>
    <AuthstnReq>
      <Envt>
        <Mrchnt>
          <Id>
            <Id>****************************</Id> <!-------SAK------->
            <Tp>OPOI</Tp>
            <Issr>MERC</Issr>
          </Id>
        </Mrchnt>
        <Card>
          <PlainCardData>
            <PAN>****************</PAN>   <!-------PAN do cartão------>
            <XpryDt>****-**</XpryDt> <!-----Data de expiração do cartão----->
          </PlainCardData>
        </Card>
      </Envt>
      <Cntxt>
        <PmtCntxt>
          <TxEnvt>MERC</TxEnvt>
          <TxChanl>ECOM</TxChanl>
        </PmtCntxt>
      </Cntxt>
      <Tx>
      	<!--TxTp>DEFR</TxTp-->
        <TxCaptr>false</TxCaptr>
        <TxId>
          <TxDtTm>2014-03-12T15:11:06</TxDtTm> <!-------Data e Hora------->
          <TxRef>***</TxRef>
        </TxId>
        <TxDtls>
          <Ccy>986</Ccy>
          <TtlAmt>400</TtlAmt> <!-------Valor Total------>
          <AcctTp>CRDT</AcctTp>
          <RcrngTx>
            <InstlmtTp>NONE</InstlmtTp>
            <TtlNbOfPmts>0</TtlNbOfPmts>
          </RcrngTx>
        </TxDtls>
      </Tx>
    </AuthstnReq>
  </AccptrAuthstnReq>
</Document>