/authorise) integration, which we no longer accept new integrations with.
We strongly recommend migrating to the newer 3D Secure authentication-only on Checkout API integration. To use this newer integration, you must also migrate to the Checkout API.
In an authentication-only flow, you perform the 3D Secure 2 authentication independent of the payment authorisation flow. The transaction can go through either a frictionless or a challenge authentication flow. If the 3D Secure authentication is successful, you will get the authentication data that you will need to authorise the payment with another PSP or acquirer.
If after the authentication you decide to process the payment with us, we also provide a way so that you can continue with the payment authorisation.
3D Secure 1 authentication-only fallback
It is possible that the authentication falls back to redirecting the shopper to the issuer’s site. Therefore, we recommend that your integration also supports the redirect flow.Before you begin
Before you begin to integrate, make sure you have followed the Get started with Adyen guide to:- Get an overview of the steps needed to accept live payments.
- Create your test account.
- Get your API Key. Save a copy as you’ll need it for API calls you make to the Adyen payments platform.
- Install one of our Libraries to connect with the Adyen APIs. For more information on these steps, refer to Get started with Adyen.
- Read and understand the full guides for web-based, iOS 3D Secure 2 SDK, or Android 3D Secure 2 SDK integration.
Web-based authentication only
In web-based authentication-only flow, you need to submit a payment authentication request. The response will indicate if the authentication follows a frictionless or challenge flow, depending on issuer logic.Submit a payment authentication request
If you are planning to authorize your transaction with another acquirer after a successful authentication, we strongly recommend that you include additional acquirer-related data to avoid authorisation refusals. Issuing banks can refuse transactions if there is a mismatch of acquirer data between the authentication and authorisation requests. Submit a payment request with a POST /authorise call. In addition to the required 3D Secure 2 objects, include thethreeDSAuthenticationOnly parameter.
threeDSAuthenticationOnly: true
Request
Response
You’ll receive a response containing:-
resultCode: Perform the following depending on the result code you receive:- IdentifyShopper: Perform the corresponding 3D Secure device fingerprinting.
- ChallengeShopper: Present the challenge flow.
- RedirectShopper: The payment is routed to 3D Secure 1, based on issuer performance.
-
AuthenticationNotRequired: You can already proceed to authorise the payment because the transaction does not require 3D Secure authentication. Check the
authenticationNotRequiredReasonparameter if you want to know why authentication was skipped. If after you receive the AuthenticationNotRequired result code you decide to continue the payment authorisation with Adyen, proceed to Authorise the payment with Adyen.
resultCode values and the actions that you need to do, see Result codes.
resultCode values and the actions that you need to do, see Result codes.
Get the 3D Secure 2 device fingerprint in a browser
If your server receives an IdentifyShopperresultCode, get the shopper’s 3D Secure 2 device fingerprint.
In the step where you make a POST /authorise3ds2 request, include the threeDSAuthenticationOnly parameter.
threeDSAuthenticationOnly: true
Request
Response
You’ll receive a response containing aresultCode:
- AuthenticationFinished: The authentication has been completed. Proceed to Get the authentication data.
- ChallengeShopper: The issuer has requested further verification of the shopper. See Challenge flow.
resultCode values and the actions that you need to take, see Result codes.
Present the challenge flow in a browser
If your server receives a ChallengeShopperresultCode, this means that the issuer would like to perform additional checks in order to verify that the shopper is indeed the cardholder. Present the challenge flow to the shopper.
If after performing the challenge you decide to continue the payment authorisation with Adyen, skip the step where you send the results in a POST request. Proceed to authorise the payment with Adyen instead.
After sending the challenge result with a POST /authorise3ds2 request and if the authentication was successful, you will get an AuthenticationFinished resultCode.
Request
Response
Android 3D Secure 2 SDK authentication only
This section outlines the steps for implementing an authentication only flow on your Android app. First you will need to install our Android SDK, submit a payment authentication request, get the 3D Secure 2 device fingerprint, and present a challenge if required by the issuer.Submit a payment authentication request
If you are planning to authorize your transaction with another acquirer after a successful authentication, we strongly recommend that you include additional acquirer-related data to avoid authorisation refusals. Issuing banks can refuse transactions if there is a mismatch of acquirer data between the authentication and authorisation requests. Submit a payment request with a POST /authorise call. In addition to the required 3D Secure 2 objects, include thethreeDSAuthenticationOnly parameter.
threeDSAuthenticationOnly: true
Request
Response
You’ll receive a response containing:-
resultCode: Perform the following depending on the result code you receive:- IdentifyShopper: Perform the 3D Secure 2 device fingerprinting process.
- RedirectShopper: The payment is routed to 3D Secure 1, based on issuer performance.
- AuthenticationNotRequired: You can already proceed to authorise the payment because the transaction does not require 3D Secure authentication. Check the
authenticationNotRequiredReasonparameter if you want to know why authentication was skipped.
resultCode values and the actions that you need to do, see Result codes.
Get the 3D Secure 2 device fingerprint with an Android app
If your server receives an IdentifyShopperresultCode, get the shopper’s 3D Secure 2 device fingerprint.
In the step where you make a POST /authorise3ds2 request, include the threeDSAuthenticationOnly parameter.
threeDSAuthenticationOnly: true
Request
Response
You’ll receive a response containing aresultCode:
- AuthenticationFinished: The authentication has been completed. Proceed to Get the authentication data.
- ChallengeShopper: The issuer has requested further shopper interaction. Perform the Challenge flow.
resultCode values, see Result codes.
Present the challenge flow within your Android app
If your server receives a ChallengeShopperresultCode, this means that the issuer would like to perform additional checks in order to verify that the shopper is indeed the cardholder. Present the challenge flow to the shopper.
If after performing the challenge you decide to continue the payment authorisation with Adyen, skip the step where you send the results in a POST request. Proceed to authorise the payment with Adyen instead.
After sending the challenge result with a POST /authorise3ds2 request and If the authentication was successful, you will get a AuthenticationFinished resultCode.
Request
Response
You’ll receive AuthenticationFinished as theresultCode if the transaction was successfully authenticated.
iOS 3D Secure 2 SDK authentication only
This section outlines the steps for implementing an authentication only flow on your iOS app. First you will need to install our iOS SDK, submit a payment authentication request, get the 3D Secure 2 device fingerprint, and present a challenge if required by the issuer.Submit a payment authentication request
If you are planning to authorize your transaction with another acquirer after a successful authentication, we strongly recommend that you include additional acquirer-related data to avoid authorisation refusals. Issuing banks can refuse transactions if there is a mismatch of acquirer data between the authentication and authorisation requests. Submit a payment request with a POST /authorise call. In addition to the required 3D Secure 2 objects, include thethreeDSAuthenticationOnly parameter.
threeDSAuthenticationOnly: true
Request
Response
You’ll receive a response containing:-
resultCode: Perform the following depending on the result code you receive:- IdentifyShopper. Perform the 3D Secure 2 device fingerprinting process.
- RedirectShopper: The payment is routed to 3D Secure 1, based on issuer performance.
- AuthenticationNotRequired: You can already proceed to authorise the payment because the transaction does not require 3D Secure authentication. Check the
authenticationNotRequiredReasonparameter if you want to know why authentication was skipped.
resultCode values and the actions that you need to take, see Result codes.
Get the 3D Secure 2 device fingerprint with an iOS app
If your server receives an IdentifyShopperresultCode, get the shopper’s 3D Secure 2 device fingerprint.
In the step where you make a POST /authorise3ds2 request, include the threeDSAuthenticationOnly parameter.
threeDSAuthenticationOnly: true
Request
Response
You’ll receive a response containing aresultCode:
- AuthenticationFinished: The authentication has been completed. Proceed to Get the authentication data.
- ChallengeShopper: The issuer has requested further verification of the shopper. Perform the Challenge flow.
resultCode values, see Result codes.
Present the challenge flow in your iOS app
If your server receives ChallengeShopperresultCode, this means that the issuer would like to perform additional checks in order to verify that the shopper is indeed the cardholder. Present the challenge flow to the shopper.
If after performing the challenge you decide to continue the payment authorisation with Adyen, skip the step where you send the results in a POST /authorise3ds2 request. Proceed to authorise the payment with Adyen instead.
After sending the challenge result with a POST /authorise3ds2 request and If the authentication was successful, you will get an AuthenticationFinished resultCode.
Request
Response
You’ll receive AuthenticationFinished as theresultCode if the transaction was successfully authenticated.
Get the 3D Secure 2 authenticated data
To authorise a payment with 3D Secure 2 authentication, you need the following data:
You can get this data from the last API response with AuthenticationFinished
resultCode, from one of the following endpoints:
- /getAuthenticationResult
- /retrieve3ds2Result: use this endpoint for Cartes Bancaires.
- /getAuthenticationResult
- /retrieve3ds2Result
If you want to use the /getAuthenticationResult endpoint, contact our Support Team. This feature requires additional configuration on Adyen’s end.In your /getAuthenticationResult request, specify:The /getAuthenticationResult response contains the required authentication data:/getAuthenticationResult response
- merchantAccount: The merchant account that was used to process the authentication.
- pspReference: The
pspReferencefrom the /payments/details response.