Examples of responses to a payment with 3D Secure authentication

Examples of responses: payment with 3D Secure authentication

  • Case 1: card is enrolled
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
    <env:Header xmlns:env="http://www.w3.org/2003/05/soap-envelope">
        <shopId xmlns="http://v5.ws.vads.lyra.com/Header/">12345678</shopId>
        <requestId xmlns="http://v5.ws.vads.lyra.com/Header/">09016abd-2869-40cc-b32f-a467bd541e42</requestId>
        <timestamp xmlns="http://v5.ws.vads.lyra.com/Header/">2015-04-01T12:09:44Z</timestamp>
        <mode xmlns="http://v5.ws.vads.lyra.com/Header/">TEST</mode>
        <authToken xmlns="http://v5.ws.vads.lyra.com/Header/">3fRs8IRBhkPvomIoILJmP/4sdfWg4V5AbppfGEN7PW0=</authToken>
    </env:Header>
    <soap:Body>
        <ns2:createPaymentResponse xmlns:ns2="http://v5.ws.vads.lyra.com/">
            <createPaymentResult>
                <requestId>09016abd-2869-40cc-b32f-a467bd541e42</requestId>
                <commonResponse>
                    <responseCode>0</responseCode>
                    <responseCodeDetail>Action successfully completed</responseCodeDetail>
                </commonResponse>
                <paymentResponse/>
                <orderResponse/>
                <cardResponse/>
                <authorizationResponse/>
                <captureResponse/>
                <customerResponse/>
                <markResponse/>
                <threeDSResponse>
                    <authenticationRequestData>
                        <threeDSAcctId>98b7b83c590d4aaabab3667b4ec2</threeDSAcctId>
                        <threeDSAcsUrl>https://[ACS-URL]</threeDSAcsUrl>
                        <threeDSBrand>VISA</threeDSBrand>
                        <threeDSEncodedPareq>eJxVUstu2zAQ/BVBd5kPiaZkrBgkNYqka[...]</threeDSEncodedPareq>
                        <threeDSEnrolled>Y</threeDSEnrolled>
                        <threeDSRequestId>_a7c5c935-24d1-4d6c-873e-7e29f4e5dec1</threeDSRequestId>
                    </authenticationRequestData>
                </threeDSResponse>
                <extraResponse/>
                <fraudManagementResponse/>
            </createPaymentResult>
        </ns2:createPaymentResponse>
    </soap:Body>
</soap:Envelope>
  • Case 2: card is not enrolled
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
        <shopId xmlns="http://v5.ws.vads.lyra.com/Header/">12345678</shopId>
        <requestId xmlns="http://v5.ws.vads.lyra.com/Header/">c63b5e8e-e6b9-47f1-8890-98ff62f4d018</requestId>
        <timestamp xmlns="http://v5.ws.vads.lyra.com/Header/">2015-09-17T09:19:44Z</timestamp>
        <mode xmlns="http://v5.ws.vads.lyra.com/Header/">TEST</mode>
        <authToken xmlns="http://v5.ws.vads.lyra.com/Header/">BKlVnOafVsEJTtdQRvYgHvHVTjlt68CFKefT0s8sikk=</authToken>
    </SOAP-ENV:Header>
    <soap:Body>
    <ns2:createPaymentResponse xmlns:ns2="http://v5.ws.vads.lyra.com/">
        <createPaymentResult><requestId>c63b5e8e-e6b9-47f1-8890-98ff62f4d018</requestId>
        <commonResponse>
            <responseCode>0</responseCode>
            <responseCodeDetail>Action successfully completed</responseCodeDetail>
            <transactionStatusLabel>AUTHORISED</transactionStatusLabel>
            <shopId>12345678</shopId>
            <paymentSource>EC</paymentSource>
            <submissionDate>2015-09-17T11:19:44+02:00</submissionDate>
            <contractNumber>5555555</contractNumber>
        </commonResponse>
        <paymentResponse>
            <transactionId>962003</transactionId>
            <amount>2990</amount>
            <currency>978953756986840952356</currency>
            <expectedCaptureDate>2015-09-17T11:19:44.732+02:00</expectedCaptureDate>
            <operationType>0</operationType>
            <creationDate>2015-09-17T11:19:44.702+02:00</creationDate>
           
            <transactionUuid>04474adae6c24b688d4892a1a80833c3</transactionUuid>
            <sequenceNumber>1</sequenceNumber>
            <paymentType>SINGLE</paymentType>
        </paymentResponse>
        <orderResponse>
            <orderId>myOder</orderId>
        </orderResponse>
        <cardResponse>
            <number>497010XXXXXX0001</number>
            <scheme>CB</scheme>
            <brand>CB</brand>
            <country>FR</country>
            <productCode>F</productCode>
            <expiryMonth>12</expiryMonth>
            <expiryYear>2023</expiryYear>
        </cardResponse>
        <authorizationResponse>
            <mode>FULL</mode>
            <amount>2990</amount>
            <currency>978953756986840952356</currency>
            <date>2015-09-17T11:19:44.702+02:00</date>
            <number>3fc075</number>
            <result>0</result>
        </authorizationResponse>
        <captureResponse/>
        <customerResponse>
            <billingDetails>
                <email>test@exemple.com</email>
                <language>fr_FR</language>
            </billingDetails>
            <shippingDetails/>
            <extraDetails/>
        </customerResponse>
        <markResponse/>
        <threeDSResponse>
            <authenticationRequestData/>
            <authenticationResultData>
                <brand>VISA</brand>
                <enrolled>N</enrolled>
                <transactionCondition>COND_3D_NOTENROLLED</transactionCondition>
            </authenticationResultData>
        </threeDSResponse>
        <extraResponse/>
        <fraudManagementResponse>
            <riskControl>
                <name>COMMERCIAL_CARD</name>
                <result>OK</result>
            </riskControl>
            <riskControl>
                <name>SYSTEMATIC_AUTO</name>
                <result>OK</result>
            </riskControl>
            <riskAssesments/>
        </fraudManagementResponse>
    </createPaymentResult>
</ns2:createPaymentResponse>
</soap:Body>
</soap:Envelope>