3DS1 - Disengaged authentication
To test this scenario, use one of the card numbers below:
CARD | Expiry date | Label |
---|---|---|
4970100000000022 | To be chosen | VISA |
5970100300000026 | To be chosen | MASTERCARD |
378283000000002 | To be chosen | AMEX |
Exchange flow
1. Initial call to the PCI/Charge/CreatePayment service with a 3D Secure preference set to "DISABLED".
{ "currency": "XPF", "orderId": "myOrderId-448631", "strongAuthentication":"DISABLED", "paymentForm": { "expiryMonth": "11", "expiryYear": "2027", "pan": "4970100000000022", "securityCode":"123" }, "customer":{ "email":"sample@example.com", "reference":"myCustomerRef-123456" }, "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" } }
2. Return from the payment gateway server with the final result.
{ "webService":"PCI/Charge/CreateToken", "version":"V4", "applicationVersion":"5.30.0", "status":"SUCCESS", "answer":{ "shopId":"12345678", "orderCycle":"CLOSED", "orderStatus":"PAID", "serverDate":"2021-12-08T13:36:26+00:00", "orderDetails":{ "orderTotalAmount":0, "orderEffectiveAmount":0, "orderCurrency":"XPF", "mode":"TEST", "orderId":null, "metadata":null, "_type":"V4/OrderDetails" }, "customer":{ "billingDetails":{ "address":null, "category":null, "cellPhoneNumber":null, "city":null, "country":null, "district":null, "firstName":null, "identityCode":null, "language":"FR", "lastName":null, "phoneNumber":null, "state":null, "streetNumber":null, "title":null, "zipCode":null, "legalName":null, "_type":"V4/Customer/BillingDetails" }, "email":"sample@example.com", "reference":"myCustomerRef-123456", "shippingDetails":{ "address":null, "address2":null, "category":null, "city":null, "country":null, "deliveryCompanyName":null, "district":null, "firstName":null, "identityCode":null, "lastName":null, "legalName":null, "phoneNumber":null, "shippingMethod":null, "shippingSpeed":null, "state":null, "streetNumber":null, "zipCode":null, "_type":"V4/Customer/ShippingDetails" }, "extraDetails":{ "browserAccept":null, "fingerPrintId":null, "ipAddress":"185.244.73.2", "browserUserAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36", "_type":"V4/Customer/ExtraDetails" }, "shoppingCart":{ "insuranceAmount":null, "shippingAmount":null, "taxAmount":null, "cartItemInfo":null, "_type":"V4/Customer/ShoppingCart" }, "_type":"V4/Customer/Customer" }, "transactions":[ { "shopId":"12345678", "uuid":"06640918d7b94510bc5d7d2e2e434ef2", "amount":0, "currency":"XPF", "paymentMethodType":"CARD", "paymentMethodToken":"00f4c66982f24e91887f96b650b6a841", "status":"PAID", "detailedStatus":"ACCEPTED", "operationType":"VERIFICATION", "effectiveStrongAuthentication":"DISABLED", "creationDate":"2021-12-08T13:36:23+00:00", "errorCode":null, "errorMessage":null, "detailedErrorCode":null, "detailedErrorMessage":null, "metadata":null, "transactionDetails":{ "liabilityShift":"NO", "effectiveAmount":0, "effectiveCurrency":"XPF", "creationContext":"VERIFICATION", "cardDetails":{ "paymentSource":"EC", "manualValidation":"NO", "expectedCaptureDate":null, "effectiveBrand":"VISA", "pan":"497010XXXXXX0022", "expiryMonth":11, "expiryYear":2027, "country":"FR", "issuerCode":null, "issuerName":"Banque de démo et de l'innovation", "effectiveProductCode":"F", "legacyTransId":"927305", "legacyTransDate":"2021-12-08T13:36:23+00:00", "paymentMethodSource":"TOKEN", "authorizationResponse":{ "amount":null, "currency":null, "authorizationDate":null, "authorizationNumber":null, "authorizationResult":null, "authorizationMode":"MARK", "_type":"V4/PaymentMethod/Details/Cards/CardAuthorizationResponse" }, "captureResponse":{ "refundAmount":null, "refundCurrency":null, "captureDate":null, "captureFileNumber":null, "effectiveRefundAmount":null, "effectiveRefundCurrency":null, "_type":"V4/PaymentMethod/Details/Cards/CardCaptureResponse" }, "threeDSResponse":{ "authenticationResultData":{ "transactionCondition":null, "enrolled":null, "status":null, "eci":null, "xid":null, "cavvAlgorithm":null, "cavv":null, "signValid":null, "brand":null, "_type":"V4/PaymentMethod/Details/Cards/CardAuthenticationResponse" }, "_type":"V4/PaymentMethod/Details/Cards/ThreeDSResponse" }, "authenticationResponse":null, "installmentNumber":null, "installmentCode":null, "markAuthorizationResponse":{ "amount":0, "currency":"XPF", "authorizationDate":"2021-12-08T13:36:23+00:00", "authorizationNumber":"3fd200", "authorizationResult":"0", "_type":"V4/PaymentMethod/Details/Cards/MarkAuthorizationResponse" }, "cardHolderName":null, "identityDocumentNumber":null, "identityDocumentType":null, "_type":"V4/PaymentMethod/Details/CardDetails" }, "fraudManagement":{ "riskControl":[], "riskAnalysis":[], "_type":"V4/PaymentMethod/Details/FraudManagement" }, "subscriptionDetails":{ "subscriptionId":null, "_type":"V4/PaymentMethod/Details/SubscriptionDetails" }, "parentTransactionUuid":null, "mid":"9876357", "sequenceNumber":1, "taxAmount":null, "preTaxAmount":null, "taxRate":null, "externalTransactionId":null, "nsu":null, "tid":"001", "acquirerNetwork":"CB", "taxRefundAmount":null, "userInfo":"API REST", "paymentMethodTokenPreviouslyRegistered":null, "occurrenceType":"RECURRENT_INITIAL", "_type":"V4/TransactionDetails" }, "_type":"V4/PaymentTransaction" } ], "subMerchantDetails":null, "_type":"V4/Payment" }, "ticket":"1f22d7dad97f42b9bb522d594a046592", "serverDate":"2021-12-08T13:36:26+00:00", "applicationProvider":"", "metadata":null, "mode":"TEST", "serverUrl":"https://api.secure.osb.pf", "_type":"V4/WebService/Response" }