Autorização com captura automática

Introdução

Em uma tentativa de autorização com captura automática, a transação deve ser enviada com o valor true na tag <TxCaptr>.

Com isso a transação será capturada automaticamente e não precisará ser capturada através de um evento de captura.

Request

Abaixo está um exemplo de uma transação utilizando captura automática e suas respostas.

<Document xmlns="urn:AcceptorAuthorisationRequestV02.1">
    <AccptrAuthstnReq>
        <Hdr>
            <MsgFctn>AUTQ</MsgFctn>
            <PrtcolVrsn>2.0</PrtcolVrsn>
        </Hdr>
        <AuthstnReq>
            <Envt>
                <Mrchnt>
                    <Id>
                        <Id>ABCDE123456789ABCDE123456789ABCD</Id>
                        <ShrtNm>Nome na fatura</ShrtNm>
                    </Id>
                </Mrchnt>
                <POI>
                    <Id>
                        <Id>2FB4C89A</Id>
                    </Id>
                    <SysNm>Nome do Gateway</SysNm>
                </POI>
                <Card>
                    <PlainCardData>
                        <PAN>4000000000000010</PAN>
                        <XpryDt>2027-10</XpryDt>
                        <CardSctyCd>
                            <CSCVal>123</CSCVal>
                        </CardSctyCd>
                    </PlainCardData>
                </Card>
                <Crdhldr>
                  <Nm>Bruce Banner</Nm>
                </Crdhldr>
            </Envt>
            <Cntxt>
                <PmtCntxt>
                    <CardDataNtryMd>PHYS</CardDataNtryMd>
                    <TxChanl>ECOM</TxChanl>
                </PmtCntxt>
            </Cntxt>
            <Tx>
                <InitrTxId>123123123</InitrTxId>
                <TxCaptr>true</TxCaptr>
                <TxId>
                    <TxDtTm>2020-06-01T15:11:06</TxDtTm>
                    <TxRef>ABCDEF-123456</TxRef>
                </TxId>
                <TxDtls>
                    <Ccy>986</Ccy>
                    <TtlAmt>100</TtlAmt>
                    <AcctTp>CRDT</AcctTp>
                    <RcrngTx>
                        <InstlmtTp>NONE</InstlmtTp>
                        <TtlNbOfPmts>0</TtlNbOfPmts>
                    </RcrngTx>
                </TxDtls>
            </Tx>
        </AuthstnReq>
    </AccptrAuthstnReq>
</Document>
<Document xmlns="urn:AcceptorAuthorisationResponseV02.1">
    <AccptrAuthstnRspn>
        <Hdr>
            <MsgFctn>AUTP</MsgFctn>
            <PrtcolVrsn>2.0</PrtcolVrsn>
            <CreDtTm>2020-06-01T15:11:09</CreDtTm>
        </Hdr>
        <AuthstnRspn>
            <Envt>
                <Card>
                    <CardBrnd>Visa</CardBrnd>
                </Card>
                <MrchntId>
                    <Id>ABCDE123456789ABCDE123456789ABCD</Id>
                    <ShrtNm>Nome na fatura</ShrtNm>
                </MrchntId>
            </Envt>
            <Tx>
                <TxId>
                    <TxDtTm>2020-06-01T15:11:09</TxDtTm>
                    <TxRef>ABCDEF-123456</TxRef>
                </TxId>
                <RcptTxId>26770052347033</RcptTxId>
                <RcptOprId>2470000054384716</RcptOprId>
                <TxDtls>
                    <Ccy>986</Ccy>
                    <TtlAmt>100</TtlAmt>
                    <AcctTp>CRDT</AcctTp>
                </TxDtls>
            </Tx>
            <TxRspn>
                <AuthstnRslt>
                    <RspnToAuthstn>
                        <Rspn>APPR</Rspn>
                        <RspnRsn>0000</RspnRsn>
                    </RspnToAuthstn>
                    <AuthstnCd>347033</AuthstnCd>
                    <CmpltnReqrd>true</CmpltnReqrd>
                </AuthstnRslt>
                <Actn>
                    <ActnTp>DISP</ActnTp>
                    <MsgToPres>
                        <MsgDstn>MDSP</MsgDstn>
                        <MsgCntt>Aprovado</MsgCntt>
                    </MsgToPres>
                </Actn>
            </TxRspn>
        </AuthstnRspn>
    </AccptrAuthstnRspn>
</Document>
<Document xmlns="urn:AcceptorAuthorisationResponseV02.1">
    <AccptrAuthstnRspn>
        <Hdr>
            <MsgFctn>AUTP</MsgFctn>
            <PrtcolVrsn>2.0</PrtcolVrsn>
            <CreDtTm>2020-05-25T21:00:56</CreDtTm>
        </Hdr>
        <AuthstnRspn>
            <Envt>
                <Card>
                    <CardBrnd>Visa</CardBrnd>
                </Card>
                <MrchntId>
                    <Id>ABCDE123456789ABCDE123456789ABCD</Id>
                    <ShrtNm>Nome na fatura</ShrtNm>
                </MrchntId>
            </Envt>
            <Tx>
                <TxId>
                    <TxDtTm>2020-06-01T15:11:09</TxDtTm>
                    <TxRef>ABCDEF-123456</TxRef>
                </TxId>
                <RcptTxId>26770052347033</RcptTxId>
                <RcptOprId>2470000054384716</RcptOprId>
                <TxDtls>
                    <Ccy>986</Ccy>
                    <TtlAmt>100</TtlAmt>
                    <AcctTp>CRDT</AcctTp>
                </TxDtls>
            </Tx>
            <TxRspn>
                <AuthstnRslt>
                    <RspnToAuthstn>
                        <Rspn>DECL</Rspn>
                        <RspnRsn>1016</RspnRsn>
                    </RspnToAuthstn>
                    <AuthstnCd>384716</AuthstnCd>
                    <CmpltnReqrd>false</CmpltnReqrd>
                </AuthstnRslt>
                <Actn>
                    <ActnTp>DISP</ActnTp>
                    <MsgToPres>
                        <MsgDstn>MDSP</MsgDstn>
                        <MsgCntt>Saldo insuficiente</MsgCntt>
                    </MsgToPres>
                </Actn>
            </TxRspn>
        </AuthstnRspn>
    </AccptrAuthstnRspn>
</Document>