Skip to main content
Each time your cardholder makes a transaction that requires 3D Secure, you need to authenticate the cardholder. The authentication time frame is valid for 10 minutes. The following are the steps you need to do to authenticate the cardholder.
  1. Set up a webhook endpoint.
  2. Get data from the relayed authentication webhook.
  3. Authenticate the cardholder using the information from the relayed authentication webhook.
  4. Finalize the cardholder authentication using the 3D secure challenge ID from the webhook and the SDK output from the authentication step.
  5. Get updates on the outcome of the authentication using the cardholder authenticated webhook.

Set up and accept relayed authentication webhooks

Your integration must be able to receive and process webhooks for relayed authentication requests. The flow to set up relayed authentication webhooks is as follows:
  1. You create an endpoint on your server that:
    • Can receive a JSON object.
    • Has an open TCP port for HTTPS traffic on port 443, 8443, or 8843.
    • Can handle basic authentication.
  2. You send the endpoint URL to your Adyen contact.
  3. Adyen does the following:
    1. If necessary, we enroll your balance platform into ACS.
    2. We subscribe your balance platform to the relayed authentication webhook.
    3. Based on your preference, we prioritize either the out of band (OOB) flow, or the one-time password (OTP) flow.
  4. Adyen creates a ws user for your balance platform, and shares its basic auth credentials with you. You can use these credentials to access ACS. If you want to change your basic auth credentials, you must reach out to your Adyen contact.
When we send an authentication webhook, your server must respond to the webhook within 2 seconds. Otherwise, the authentication process fails. To learn more about setting up webhooks, see Set up webhooks.

Get data from the authentication webhooks

When the cardholder makes a transaction that requires authentication, we send a webhook to your server. When you receive the webhook: The webhook contains the following parameters:
  1. From the header and body of the webhook, gather the data that you will need in the following steps of the authentication process. The following table shows the header parameter. Authentication webhook header
    The following table shows the request body parameters. Authentication webhook body
  2. Acknowledge the webhook with the HTTP 200 response that you previously set up.
    The following example shows an HTTP 200 response.
    Acknowledge the webhook
If we do not receive the response message within 2 seconds or receive status set to refused, the authentication process will stop. For more information about webhook setup and best practices, see Set up webhooks.

Authenticate cardholder

Your application must display the data from the previous step to the cardholder during the authentication. We recommend that you implement a push notification and use the data from the webhook to inform the cardholder about the details of the transaction they are authenticating for. After being prompted on the merchant interface, the cardholder proceeds to the application. Authenticate your cardholder using the SDK. To do so:
  1. Trigger the SDK to start cardholder authentication and pass the sdkInput value from the previous step.
Authenticate cardholder using the SDK