• France
Back Office Marchand
boutiques de démo
assistance
FAQContacter le support
Rechercher
Catégories
Tags
Français
Français
Accueil
Cas d'usage
Créer un paiement
Créer un paiement en plusieurs fois
Créer un paiement par alias (token)
Créer un lien de paiement
Créer un abonnement
Gérer vos abonnements
Gérer vos transactions (rembourser,...)
Analyser vos journaux
Docs API
Formulaire embarqué
API REST
Formulaire en redirection
Intégration mobile
Échange de fichiers
Mandats SEPA COPS par API REST
Exemples de code
Moyens de paiement
Modules de paiement
Guides
Back Office Marchand
Guides fonctionnels

3DS2 - Authentification impossible

Pour tester ce scénario, utilisez un des numéros de carte ci-dessous :

Carte Date de validité Marque
4970110000000898 Au choix VISA
375900000030005 Au choix AMEX

Cinématique des échanges

  1. Appel au Web Service V4.1/PCI/Charge/CreatePayment avec une carte enrôlée 3DS2 et les données d'authentification en échec (status UNAVAILABLE).
    {
      "amount": "9990",
      "currency": "XPF",
      "paymentForms": [
        {
          "paymentMethodType": "CARD",
          "pan": "4970110000000898",
          "expiryMonth": "11",
          "expiryYear": "27",
          "securityCode": "123"
        }
      ],  
      "customer": {
        "email": "sample@example.com"
      },
      "authenticationDetails":{
        "protocol":{
          "name":"THREEDS",
          "version":"2.1.0",
          "directoryServer":"VISA",
          "challengePreference":"NO_PREFERENCE"
        },  
        "status":"UNAVAILABLE",
        "authenticationType":"CHALLENGE"
      }
    }
  2. Retour avec le refus du paiement.
    {
        "webService": "PCI/Charge/CreatePayment",
        "version": "V4",
        "applicationVersion": "6.5.3",
        "status": "SUCCESS",
        "answer": {
            "shopId": "91335531",
            "orderCycle": "CLOSED",
            "orderStatus": "UNPAID",
            "serverDate": "2023-07-24T10:13:01+00:00",
            "orderDetails": {
                "orderTotalAmount": 9990,
                "orderEffectiveAmount": 9990,
                "orderCurrency": "EUR",
                "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,
                    "identityType": null,
                    "language": "ES",
                    "lastName": null,
                    "phoneNumber": null,
                    "state": null,
                    "streetNumber": null,
                    "title": null,
                    "zipCode": null,
                    "legalName": null,
                    "_type": "V4/Customer/BillingDetails"
                },
                "email": "sample@example.com",
                "reference": null,
                "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.82",
                    "browserUserAgent": "PostmanRuntime/7.32.3",
                    "_type": "V4/Customer/ExtraDetails"
                },
                "shoppingCart": {
                    "insuranceAmount": null,
                    "shippingAmount": null,
                    "taxAmount": null,
                    "cartItemInfo": null,
                    "_type": "V4/Customer/ShoppingCart"
                },
                "_type": "V4/Customer/Customer"
            },
            "transactions": [
                {
                    "shopId": "91335531",
                    "uuid": "74d8a4b7b69e4c51b8745a971a4a70a1",
                    "amount": 9990,
                    "currency": "EUR",
                    "paymentMethodType": "CARD",
                    "paymentMethodToken": null,
                    "status": "UNPAID",
                    "detailedStatus": "REFUSED",
                    "operationType": "DEBIT",
                    "effectiveStrongAuthentication": "DISABLED",
                    "creationDate": "2023-07-24T10:13:00+00:00",
                    "errorCode": "PSP_708",
                    "errorMessage": "3D Secure refusal for the transaction",
                    "detailedErrorCode": "208",
                    "detailedErrorMessage": "3D Secure - Refusal because the emisor could not authenticate",
                    "metadata": null,
                    "transactionDetails": {
                        "liabilityShift": null,
                        "effectiveAmount": 9990,
                        "effectiveCurrency": "EUR",
                        "creationContext": "CHARGE",
                        "cardDetails": {
                            "paymentSource": "EC",
                            "manualValidation": "NO",
                            "expectedCaptureDate": "2023-07-24T10:13:00+00:00",
                            "effectiveBrand": "VISA",
                            "pan": "497011XXXXXX0898",
                            "expiryMonth": 11,
                            "expiryYear": 2027,
                            "country": "FR",
                            "issuerCode": 17807,
                            "issuerName": "Banque Populaire Occitane",
                            "effectiveProductCode": null,
                            "legacyTransId": "905461",
                            "legacyTransDate": "2023-07-24T10:13:00+00:00",
                            "paymentMethodSource": "NEW",
                            "authorizationResponse": {
                                "amount": null,
                                "currency": null,
                                "authorizationDate": null,
                                "authorizationNumber": null,
                                "authorizationResult": null,
                                "authorizationMode": "FULL",
                                "_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": {
                                "id": "a6b578cd-382a-44ba-9f28-94fed1f0d43d",
                                "operationSessionId": "b66f7b590f1745328e72ab9f105985f4",
                                "protocol": {
                                    "name": "THREEDS",
                                    "version": "2.1.0",
                                    "network": "VISA",
                                    "challengePreference": "NO_PREFERENCE",
                                    "simulation": false,
                                    "_type": "V4/Charge/Authenticate/Protocol"
                                },
                                "value": {
                                    "authenticationType": "CHALLENGE",
                                    "authenticationId": {
                                        "_type": "V4/Charge/Authenticate/AuthenticationId"
                                    },
                                    "status": "UNAVAILABLE",
                                    "extension": {
                                        "authenticationType": "THREEDS_V2",
                                        "paymentUseCase": "SINGLE_PAYMENT",
                                        "_type": "V4/Charge/Authenticate/AuthenticationResultExtensionThreedsV2"
                                    },
                                    "_type": "V4/Charge/Authenticate/AuthenticationResult"
                                },
                                "_type": "V4/AuthenticationResponseData"
                            },
                            "installmentNumber": null,
                            "installmentCode": null,
                            "markAuthorizationResponse": {
                                "amount": null,
                                "currency": null,
                                "authorizationDate": null,
                                "authorizationNumber": null,
                                "authorizationResult": null,
                                "_type": "V4/PaymentMethod/Details/Cards/MarkAuthorizationResponse"
                            },
                            "cardHolderName": null,
                            "identityDocumentNumber": null,
                            "identityDocumentType": null,
                            "initialIssuerTransactionIdentifier": null,
                            "productCategory": "DEBIT",
                            "nature": "CONSUMER_CARD",
                            "_type": "V4/PaymentMethod/Details/CardDetails"
                        },
                        "paymentMethodDetails": {
                            "id": "497011XXXXXX0898",
                            "paymentSource": "EC",
                            "manualValidation": "NO",
                            "expectedCaptureDate": "2023-07-24T10:13:00+00:00",
                            "effectiveBrand": "VISA",
                            "expiryMonth": 11,
                            "expiryYear": 2027,
                            "country": "FR",
                            "issuerCode": 17807,
                            "issuerName": "Banque Populaire Occitane",
                            "effectiveProductCode": null,
                            "legacyTransId": "905461",
                            "legacyTransDate": "2023-07-24T10:13:00+00:00",
                            "paymentMethodSource": "NEW",
                            "authorizationResponse": {
                                "amount": null,
                                "currency": null,
                                "authorizationDate": null,
                                "authorizationNumber": null,
                                "authorizationResult": null,
                                "authorizationMode": "FULL",
                                "_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"
                            },
                            "authenticationResponse": {
                                "id": "a6b578cd-382a-44ba-9f28-94fed1f0d43d",
                                "operationSessionId": "b66f7b590f1745328e72ab9f105985f4",
                                "protocol": {
                                    "name": "THREEDS",
                                    "version": "2.1.0",
                                    "network": "VISA",
                                    "challengePreference": "NO_PREFERENCE",
                                    "simulation": false,
                                    "_type": "V4/Charge/Authenticate/Protocol"
                                },
                                "value": {
                                    "authenticationType": "CHALLENGE",
                                    "authenticationId": {
                                        "_type": "V4/Charge/Authenticate/AuthenticationId"
                                    },
                                    "status": "UNAVAILABLE",
                                    "extension": {
                                        "authenticationType": "THREEDS_V2",
                                        "paymentUseCase": "SINGLE_PAYMENT",
                                        "_type": "V4/Charge/Authenticate/AuthenticationResultExtensionThreedsV2"
                                    },
                                    "_type": "V4/Charge/Authenticate/AuthenticationResult"
                                },
                                "_type": "V4/AuthenticationResponseData"
                            },
                            "installmentNumber": null,
                            "installmentCode": null,
                            "markAuthorizationResponse": {
                                "amount": null,
                                "currency": null,
                                "authorizationDate": null,
                                "authorizationNumber": null,
                                "authorizationResult": null,
                                "_type": "V4/PaymentMethod/Details/Cards/MarkAuthorizationResponse"
                            },
                            "cardHolderName": null,
                            "identityDocumentNumber": null,
                            "identityDocumentType": null,
                            "initialIssuerTransactionIdentifier": null,
                            "_type": "V4/PaymentMethod/Details/PaymentMethodDetails"
                        },
                        "acquirerDetails": null,
                        "fraudManagement": {
                            "riskControl": [],
                            "riskAnalysis": [],
                            "riskAssessments": {
                                "results": "INFORM",
                                "_type": "V4/PaymentMethod/Details/Risk/RiskAssessments"
                            },
                            "_type": "V4/PaymentMethod/Details/FraudManagement"
                        },
                        "subscriptionDetails": {
                            "subscriptionId": null,
                            "_type": "V4/PaymentMethod/Details/SubscriptionDetails"
                        },
                        "parentTransactionUuid": null,
                        "mid": "2883783",
                        "sequenceNumber": 1,
                        "taxAmount": null,
                        "preTaxAmount": null,
                        "taxRate": null,
                        "externalTransactionId": null,
                        "nsu": null,
                        "tid": "001",
                        "acquirerNetwork": "CB",
                        "taxRefundAmount": null,
                        "userInfo": null,
                        "paymentMethodTokenPreviouslyRegistered": null,
                        "occurrenceType": "UNITAIRE",
                        "archivalReferenceId": "L20590546101",
                        "useCase": null,
                        "wallet": null,
                        "_type": "V4/TransactionDetails"
                    },
                    "_type": "V4/PaymentTransaction"
                }
            ],
            "subMerchantDetails": null,
            "_type": "V4/Payment"
        },
        "ticket": "07fcfd0dbde242708b0b941236f37a99",
        "serverDate": "2023-07-24T10:13:01+00:00",
        "applicationProvider": "PAYZEN",
        "metadata": null,
        "mode": "TEST",
        "serverUrl": "<https://api.payzen.eu>",
        "_type": "V4/WebService/Response"
    }
© 2025 Tous droits réservés à Epaync
25.22-1.11