3DS2 - Authentication "Data Only"
To test this scenario, use one of the card numbers below:
CARD | Expiry date | Label |
---|---|---|
5100010000000114 | To be chosen | mastercard |
5100010000002045 | To be chosen | mastercard |
4970110000001029 | To be chosen | Visa |
4970110000000013 | To be chosen | Visa |
Exchange flow
1. Initial call to the PCI/Charge/Authenticate service with a 3D Secure preference set to "DATA_ONLY".
{ "amount": "9990", "currency": "XPF", "transactionCategory": "PAYMENT", "productType": "GOODS_OR_SERVICE_PURCHASE", "merchant": { "mid": "9876357" }, "paymentForm": { "expiryMonth": "09", "expiryYear": "23", "networkPreference": "MASTERCARD", "pan": "5100010000002045" }, "device": { "acceptHeader": "text/html", "colorDepth": "32", "deviceType": "BROWSER", "ip": "69.89.31.226", "javaEnabled": true, "language": "FR", "screenHeight": "768", "screenWidth": "1258", "timeZoneOffset": "-120", "userAgent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0) Gecko/20100101" }, "protocolRequest": { "name": "THREEDS", "version": "2", "challengePreference": "DATA_ONLY" } }
2. Return from the payment gateway server with the result of the risk analysis.
{ "webService":"PCI/Charge/Authenticate", "version":"V4", "applicationVersion":"5.35.0", "serverDate":"2022-03-25T16:00:06+00:00", "ticket":"e0358d6bf2334917bf56ec119c98b4b9", "applicationProvider":"", "metadata":null, "status":"SUCCESS", "mode":"TEST", "serverUrl":"https://api.secure.osb.pf", "_type":"V4/WebService/Response", "answer":{ "id":"9b0cf8e3-1f59-47c1-b61e-2864bf8d6b61", "protocol":{ "name":"THREEDS", "version":"2.1.0", "network":"MASTERCARD", "challengePreference":"DATA_ONLY", "simulation":true, "_type":"V4/Charge/Authenticate/Protocol" } ,"value":{ "authenticationType":"DATA_ONLY", "authenticationId":{ "authenticationIdType":"dsTransId", "value":"b32bad9c-5a6d-40ca-94cc-3d26d2cfdc84", "_type":"V4/Charge/Authenticate/AuthenticationId" }, "authenticationValue":{ "authenticationValueType":"AAV", "value":"2bDsUnu7Y6B7Qx1Jjg63PTpWqbg=", "_type":"V4/Charge/Authenticate/AuthenticationValue" }, "status":"SUCCESS", "commerceIndicator":"04", "extension":{ "authenticationType":"THREEDS_V2", "threeDSServerTransID":"9b0cf8e3-1f59-47c1-b61e-2864bf8d6b61", "dsTransID":"b32bad9c-5a6d-40ca-94cc-3d26d2cfdc84", "acsTransID":"2bafb004-edf7-4cf4-979c-5aeecf2542f4", "transStatusReason":"80", "requestorName":"Lyra Authentication Server_ShopName", "dataOnlyStatus":"Success", "dataOnlyDecision":"Good", "dataOnlyScore":"42" "_type":"V4/Charge/Authenticate/AuthenticationResultExtensionThreedsV2" }, "reason":{ "code":"DS_SPECIFIC_VALUE_80", "_type":"V4/Charge/Authenticate/AuthenticationResultReason" }, "_type":"V4/Charge/Authenticate/AuthenticationResult" }, "_type":"V4/AuthenticationResponseData" } }