• France
Back Office Marchand
assistance
FAQContacter le support
Rechercher
Catégories
Tags
Français
Français
Anglais
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
Exemples de code
Moyens de paiement
Modules de paiement
Guides
Back Office Marchand
Guides fonctionnels

3DS2 - Authentification Challenge réussie

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

Carte Date de validité Marque
4970110000000021 Au choix VISA
5100010000000049 Au choix MASTERCARD
375900000000016 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 (status SUCCESS).
    {
      "amount": "9990",
      "currency": "XPF",
      "paymentForms": [
        {
          "paymentMethodType": "CARD",
          "pan": "4970110000000021",
          "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":"SUCCESS",
        "authenticationType":"CHALLENGE",
        "commerceIndicator":"05",  
        "authenticationValue":"gW43QlyN5VveX7fwSNkPBP2tSGw=",
        "dsTransID":"95a1d5a5-9e9e-4059-b4f4-77dca9241dd6"
      }
    }
  2. Retour avec le résultat du paiement.
    {
      "webService": "PCI/Charge/CreatePayment",
      "version": "V4",
      "applicationVersion": "6.3.0",
      "status": "SUCCESS",
      "answer": {
        "shopId": "12345678",
        "orderCycle": "CLOSED",
        "orderStatus": "PAID",
        "serverDate": "2023-06-01T15:36:13+00:00",
        "orderDetails": {
          "orderTotalAmount": 9990,
          "orderEffectiveAmount": 9990,
          "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,
            "identityType": null,
            "language": "FR",
            "lastName": null,
            "phoneNumber": null,
            "state": null,
            "streetNumber": null,
            "title": null,
            "zipCode": null,
            "legalName": null,
            "_type": "V4/Customer/BillingDetails"
          },
          "email": "",
          "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": "163.116.174.20",
            "browserUserAgent": null,
            "_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": "e977ec24fcd14ad3b5134987e99e5620",
            "amount": 9990,
            "currency": "XPF",
            "paymentMethodType": "CARD",
            "paymentMethodToken": null,
            "status": "PAID",
            "detailedStatus": "AUTHORISED",
            "operationType": "DEBIT",
            "effectiveStrongAuthentication": "ENABLED",
            "creationDate": "2023-06-01T15:36:12+00:00",
            "errorCode": null,
            "errorMessage": null,
            "detailedErrorCode": null,
            "detailedErrorMessage": null,
            "metadata": null,
            "transactionDetails": {
              "liabilityShift": "YES",
              "effectiveAmount": 9990,
              "effectiveCurrency": "XPF",
              "creationContext": "CHARGE",
              "cardDetails": {
                "paymentSource": "EC",
                "manualValidation": "NO",
                "expectedCaptureDate": "2022-06-01T15:36:12+00:00",
                "effectiveBrand": "VISA",
                "pan": "497011XXXXXX0021",
                "expiryMonth": 9,
                "expiryYear": 2027,
                "country": "FR",
                "issuerCode": 17807,
                "issuerName": "Banque Populaire Occitane",
                "effectiveProductCode": null,
                "legacyTransId": "924507",
                "legacyTransDate": "2022-06-01T15:36:12+00:00",
                "paymentMethodSource": "NEW",
                "authorizationResponse": {
                  "amount": 9990,
                  "currency": "XPF",
                  "authorizationDate": "2022-06-01T15:36:12+00:00",
                  "authorizationNumber": "3fe786",
                  "authorizationResult": "0",
                  "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": "659922a0-46c6-438b-b3de-860b3c66f10b",
                  "operationSessionId": "c8926da1e4124bb9896affa64cb8114f",
                  "protocol": {
                    "name": "THREEDS",
                    "version": "2.1.0",
                    "network": "VISA",
                    "challengePreference": "NO_PREFERENCE",
                    "simulation": false,
                    "_type": "V4/Charge/Authenticate/Protocol"
                  },
                  "value": {
                    "authenticationType": "CHALLENGE",
                    "authenticationId": {
                      "authenticationIdType": "dsTransId",
                      "value": "95a1d5a5-9e9e-4059-b4f4-77dca9241dd6",
                      "_type": "V4/Charge/Authenticate/AuthenticationId"
                    },
                    "authenticationValue": {
                      "authenticationValueType": "CAVV",
                      "value": "gW43QlyN5VveX7fwSNkPBP2tSGw=",
                      "_type": "V4/Charge/Authenticate/AuthenticationValue"
                    },
                    "status": "SUCCESS",
                    "commerceIndicator": "05",
                    "extension": {
                      "authenticationType": "THREEDS_V2",
                      "paymentUseCase": "SINGLE_PAYMENT",
                      "dsTransID": "95a1d5a5-9e9e-4059-b4f4-77dca9241dd6",
                      "_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": null,
                "nature": null,
                "_type": "V4/PaymentMethod/Details/CardDetails"
              },
              "paymentMethodDetails": {
                "id": "497011XXXXXX0021",
                "paymentSource": "EC",
                "manualValidation": "NO",
                "expectedCaptureDate": "2023-06-01T15:36:12+00:00",
                "effectiveBrand": "VISA",
                "expiryMonth": 9,
                "expiryYear": 2027,
                "country": "FR",
                "issuerCode": 17807,
                "issuerName": "Banque Populaire Occitane",
                "effectiveProductCode": null,
                "legacyTransId": "924507",
                "legacyTransDate": "2022-06-01T15:36:12+00:00",
                "paymentMethodSource": "NEW",
                "authorizationResponse": {
                  "amount": 9990,
                  "currency": "XPF",
                  "authorizationDate": "2022-06-01T15:36:12+00:00",
                  "authorizationNumber": "3fe786",
                  "authorizationResult": "0",
                  "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": "659922a0-46c6-438b-b3de-860b3c66f10b",
                  "operationSessionId": "c8926da1e4124bb9896affa64cb8114f",
                  "protocol": {
                    "name": "THREEDS",
                    "version": "2.1.0",
                    "network": "VISA",
                    "challengePreference": "NO_PREFERENCE",
                    "simulation": false,
                    "_type": "V4/Charge/Authenticate/Protocol"
                  },
                  "value": {
                    "authenticationType": "CHALLENGE",
                    "authenticationId": {
                      "authenticationIdType": "dsTransId",
                      "value": "95a1d5a5-9e9e-4059-b4f4-77dca9241dd6",
                      "_type": "V4/Charge/Authenticate/AuthenticationId"
                    },
                    "authenticationValue": {
                      "authenticationValueType": "CAVV",
                      "value": "gW43QlyN5VveX7fwSNkPBP2tSGw=",
                      "_type": "V4/Charge/Authenticate/AuthenticationValue"
                    },
                    "status": "SUCCESS",
                    "commerceIndicator": "05",
                    "extension": {
                      "authenticationType": "THREEDS_V2",
                      "paymentUseCase": "SINGLE_PAYMENT",
                      "dsTransID": "95a1d5a5-9e9e-4059-b4f4-77dca9241dd6",
                      "_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": [],
                "_type": "V4/PaymentMethod/Details/FraudManagement"
              },
              "subscriptionDetails": {
                "subscriptionId": null,
                "_type": "V4/PaymentMethod/Details/SubscriptionDetails"
              },
              "parentTransactionUuid": null,
              "mid": "9876543",
              "sequenceNumber": 1,
              "taxAmount": null,
              "preTaxAmount": null,
              "taxRate": null,
              "externalTransactionId": null,
              "nsu": null,
              "tid": "001",
              "acquirerNetwork": "CB",
              "taxRefundAmount": null,
              "userInfo": null,
              "paymentMethodTokenPreviouslyRegistered": null,
              "occurrenceType": "UNITAIRE",
              "_type": "V4/TransactionDetails"
            },
            "_type": "V4/PaymentTransaction"
          }
        ],
        "subMerchantDetails": null,
        "_type": "V4/Payment"
      },
      "ticket": "0ec89f63bdcc46aa9830ef10b8e4a26b",
      "serverDate": "2022-06-01T15:36:13+00:00",
      "applicationProvider": "",
      "metadata": null,
      "mode": "TEST",
      "serverUrl": "https://api.secure.osb.pf",
      "_type": "V4/WebService/Response"
    }
© 2025 Tous droits réservés à PayZen by OSB
25.22-1.11