O antifraude da Konduto oferece Inovação, performance e agilidade. A melhor tecnologia
contra fraudes.

Konduto – URL de envio dos dados

SANDBOX: https://testapi.maxipago.net/UniversalAPI/postXML

PRODUÇÃO: https://api.maxipago.net/UniversalAPI/postXML

Cenários de Teste

Importante:

É preciso considerar que os parâmetros: <captureOnLowRisk> e <voidOnHighRisk> devem estar com a opção “Y“; somente com a opção flag “Y” as capturas e estornos serão feito de maneira automática. Caso estejam com a opção “N”, capturas e estornos somente serão realizamos por ação manual do lojista.

Exemplo de Requisição:

<?xml version="1.0" encoding="UTF-8"?>
<transaction-request>
	<version>3.1.1.15</version>
	<verification>
		<merchantId>storeID</merchantId>
		<merchantKey>merchantID</merchantKey>
	</verification>
	<order>
		<auth>
			<processorID>1</processorID>
			<fraudCheck>Y</fraudCheck>
			<referenceNum>********</referenceNum>
			<billing>
				<name>Cliente Gateway</name>
				<address>R. Volkswagen 1</address>
				<address2>11º Andar</address2>
				<district>Jabaquara</district>
				<city>Sao Paulo</city>
				<state>SP</state>
				<postalcode>04344902</postalcode>
				<country>BR</country>
				<phone>1140044828</phone>
				<email>clientegateway@clientegateway.com.br</email>
				<id>2546582</id>
				<type>Individual</type>
				<gender>F</gender>
				<birthDate>1982-03-08</birthDate>
				<phones>
					<phone>
						<phoneType>Commercial</phoneType>
						<phoneCountryCode>55</phoneCountryCode>
						<phoneAreaCode>11</phoneAreaCode>
						<phoneNumber>55554444</phoneNumber>
						<phoneExtension>B101</phoneExtension>
					</phone>
					<phone>
						<phoneType>Residential</phoneType>
						<phoneCountryCode>55</phoneCountryCode>
						<phoneAreaCode>11</phoneAreaCode>
						<phoneNumber>55554444</phoneNumber>
						<phoneExtension>B101</phoneExtension>
					</phone>
				</phones>
				<documents>
					<document>
						<documentType>CPF</documentType>
						<documentValue>08648885205</documentValue>
					</document>
					<document>
						<documentType>RG</documentType>
						<documentValue>125465874-2Y</documentValue>
					</document>
				</documents>
			</billing>
			<shipping>
				<name>Cliente Gateway</name>
				<address>R. Volkswagen 1</address>
				<address2>11º Andar</address2>
				<district>Jabaquara</district>
				<city>Sao Paulo</city>
				<state>SP</state>
				<postalcode>04344902</postalcode>
				<country>BR</country>
				<id>5557</id>
				<type>Individual</type>
				<gender>F</gender>
				<phones>
					<phone>
						<phoneType>Commercial</phoneType>
						<phoneCountryCode>55</phoneCountryCode>
						<phoneAreaCode>11</phoneAreaCode>
						<phoneNumber>55554444</phoneNumber>
						<phoneExtension>B101</phoneExtension>
					</phone>
					<phone>
						<phoneType>Residential</phoneType>
						<phoneCountryCode>55</phoneCountryCode>
						<phoneAreaCode>11</phoneAreaCode>
						<phoneNumber>55554444</phoneNumber>
						<phoneExtension>B101</phoneExtension>
					</phone>
				</phones>
				<documents>
					<document>
						<documentType>CPF</documentType>
						<documentValue>08635595220</documentValue>
					</document>
					<document>
						<documentType>CTPS</documentType>
						<documentValue>123456789-60Z</documentValue>
					</document>
				</documents>
			</shipping>
			<fraudDetails>
				<fraudProcessorID>100</fraudProcessorID>
				<captureOnLowRisk>Y</captureOnLowRisk>
				<voidOnHighRisk>Y</voidOnHighRisk>
				<fraudToken>q1234564987981alksf43549138</fraudToken>
			</fraudDetails>
			<transactionDetail>
				<payType>
					<creditCard>
						<number>4111111111111111</number>
						<expMonth>12</expMonth>
						<expYear>2030</expYear>
						<cvvNumber>123</cvvNumber>
					</creditCard>
				</payType>
			</transactionDetail>
			<payment>
				<chargeTotal>1.00</chargeTotal>
				<shippingTotal>0.00</shippingTotal>
			</payment>
			<itemList itemCount="1">
				<item>
					<itemIndex>1</itemIndex>
					<itemProductCode>881287212</itemProductCode>
					<itemDescription>Vendas de E-commerce</itemDescription>
					<itemQuantity>1</itemQuantity>
					<itemTotalAmount>1.00</itemTotalAmount>
					<itemUnitCost>1.00</itemUnitCost>
				</item>
			</itemList>
		</auth>
	</order>
</transaction-request>

Exemplo de Requisição – Retorno “em análise”


Observar que sempre que for <responseMessage>FRAUD</responseMessage>, significa que o pedido está em análise.

<?xml version="1.0" encoding="UTF-8"?>
<transaction-response>
	<authCode>123456</authCode>
	<orderID>0A01048A:018D1E47649C:87BD:58F2A562</orderID>
	<referenceNum>********</referenceNum>
	<transactionID>15709751</transactionID>
	<transactionTimestamp>1705610011</transactionTimestamp>
	<responseCode>0</responseCode>
	<responseMessage>FRAUD</responseMessage>
	<avsResponseCode>YYY</avsResponseCode>
	<cvvResponseCode>M</cvvResponseCode>
	<processorCode>A</processorCode>
	<processorMessage>APPROVED</processorMessage>
	<processorName>SIMULATOR</processorName>
	<creditCardBin>550209</creditCardBin>
	<creditCardLast4>1322</creditCardLast4>
	<errorMessage/>
	<processorTransactionID>15709752</processorTransactionID>
	<processorReferenceNumber>191328</processorReferenceNumber>
	<fraudScore>0.38</fraudScore>
	<creditCardCountry>US</creditCardCountry>
	<creditCardScheme>Mastercard</creditCardScheme>
	<brandCode>0</brandCode>
	<brandMessage>BRAND MESSAGE</brandMessage>
	<brandTransactionID>123456</brandTransactionID>
</transaction-response>

Exemplo de Requisição – Retorno “Aprovado”

Observar que sempre que for <responseMessage>CAPTURE</responseMessage>, significa que o pedido está capturado ou seja, a operação foi concluída com sucesso.

<?xml version="1.0" encoding="UTF-8"?>
<transaction-response>
	<authCode>123456</authCode>
	<orderID>0A01048A:018D1E72A664:7978:14A9D302</orderID>
	<referenceNum>********</referenceNum>
	<transactionID>15709829</transactionID>
	<transactionTimestamp>1705612846</transactionTimestamp>
	<responseCode>0</responseCode>
	<responseMessage>CAPTURED</responseMessage>
	<avsResponseCode>YYY</avsResponseCode>
	<cvvResponseCode>M</cvvResponseCode>
	<processorCode>A</processorCode>
	<processorMessage>APPROVED</processorMessage>
	<processorName>SIMULATOR</processorName>
	<creditCardBin>550209</creditCardBin>
	<creditCardLast4>1322</creditCardLast4>
	<errorMessage/>
	<processorTransactionID>1070525</processorTransactionID>
	<processorReferenceNumber>396798</processorReferenceNumber>
	<fraudScore>0.0</fraudScore>
	<creditCardCountry>US</creditCardCountry>
	<creditCardScheme>Mastercard</creditCardScheme>
	<brandCode>0</brandCode>
	<brandMessage>BRAND MESSAGE</brandMessage>
	<brandTransactionID>123456</brandTransactionID>
</transaction-response>

Exemplo de Requisição – Retorno “Negado”

Observar que sempre que no parâmetro <responseMessage>VOIDED</responseMessage>, significa que o pedido foi negado e por este motivo, a autorização foi cancelada e o valor retornou ao limite do cliente.

<?xml version="1.0" encoding="UTF-8"?>
<transaction-response>
	<authCode>123456</authCode>
	<orderID>0A01048A:018D1E7DD42C:5FA1:42B6885E</orderID>
	<referenceNum>********</referenceNum>
	<transactionID>15709833</transactionID>
	<transactionTimestamp>1705613579</transactionTimestamp>
	<responseCode>2</responseCode>
	<responseMessage>VOIDED</responseMessage>
	<avsResponseCode>YYY</avsResponseCode>
	<cvvResponseCode>M</cvvResponseCode>
	<processorCode>declined</processorCode>
	<processorMessage>declined</processorMessage>
	<processorName>SIMULATOR</processorName>
	<creditCardBin>550209</creditCardBin>
	<creditCardLast4>1322</creditCardLast4>
	<errorMessage/>
	<processorTransactionID>15709834</processorTransactionID>
	<processorReferenceNumber>300476</processorReferenceNumber>
	<fraudScore>0.98</fraudScore>
	<creditCardCountry>US</creditCardCountry>
	<creditCardScheme>Mastercard</creditCardScheme>
	<brandCode>0</brandCode>
	<brandMessage>BRAND MESSAGE</brandMessage>
	<brandTransactionID>123456</brandTransactionID>
</transaction-response>

Tabela de Parâmetros