> ## Documentation Index
> Fetch the complete documentation index at: https://adyen-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Data-only Flow

> Implement 3D Secure 2 without sending an authentication request to the issuer.

**Adyen is no longer developing the Classic API integration**

This page is for the Classic API (`/authorise`) integration, which we no longer accept new integrations with.

We strongly recommend migrating to the newer [data-only integration on Checkout API](https://adyen-preview.mintlify.site/online-payments/3d-secure/data-only.md) integration. To use this newer integration, you must also [migrate to the Checkout API](https://adyen-preview.mintlify.site/online-payments/upgrade-your-integration/migrate-to-checkout-api).

In a regular 3D Secure 2 flow, the payment has to be authenticated by the issuer before it can be authorised. In a data-only flow, you send the same 3D Secure 2 data but the schemes directly handle the authentication request. The data-only request goes directly to the scheme, and then the scheme includes their own risk data in the authorisation message before sending it to the issuer.

Data-only is currently only available for Mastercard. Before using the data-only flow, make sure to check the regulations that apply to your country or region. Using the data-only flow in countries/regions where SCA is mandated (for example, within the EEA) can lead to an increased amount of authentication rejections.

## Using the data-only flow

The data-only flow allows you to use the scheme's 3D Secure-specific risk scoring models, which helps increase your authorisation rates in specific markets, without incurring additional fees.

You can also use the data-only flow when you integrate with Adyen as a standalone 3D Secure 2 provider with an [authentication-only implementation](https://adyen-preview.mintlify.site/online-payments/classic-integrations/classic-api-integration/3d-secure-authentication/native-3ds2/authentication-only-integration.md).

Because there is no authentication request sent to the issuer in a data-only flow, your shoppers will not be presented with a 3D Secure 2 challenge.

Because no strong customer authentication is applied to a data-only transaction, the chargeback liability stays with you and does not shift to the issuer.

## Before you begin

Before you can start accepting 3D Secure 2 authenticated transactions on browsers or in-app, make sure that you:

1. Sign up for an Adyen test account at [https://www.adyen.com/signup](https://www.adyen.com/signup). 
2. [Get your API Key](https://adyen-preview.mintlify.site/development-resources/api-credentials.md#generate-api-key). Save a copy as you'll need it for API calls you make to the Adyen payments platform.
3. Install one of our [Libraries](https://adyen-preview.mintlify.site/development-resources/libraries.md) to connect with the Adyen APIs. For more information on these steps, refer to [Get started with Adyen](https://adyen-preview.mintlify.site/get-started-with-adyen.md).

## Submit a data-only payment request

To indicate that you want to use the data-only flow, specify in your [/authorise](https://docs.adyen.com/api-explorer/Payment/authorise)  request:

* `additionalData.threeDS2DataOnly`: **true**

Other required fields and the response to your [/authorise](https://docs.adyen.com/api-explorer/Payment/authorise) request are the same as in case of a regular 3D Secure flow, depending on your integration.

For more information, refer to [Browser-based integration](https://adyen-preview.mintlify.site/online-payments/classic-integrations/classic-api-integration/3d-secure-authentication/native-3ds2/browser-based-integration#submit-a-payment-request), [iOS 3D Secure 2 SDK](https://adyen-preview.mintlify.site/online-payments/classic-integrations/classic-api-integration/3d-secure-authentication/native-3ds2/ios-sdk-integration.md), [Android 3D Secure 2 SDK](https://adyen-preview.mintlify.site/online-payments/classic-integrations/classic-api-integration/3d-secure-authentication/native-3ds2/android-sdk-integration.md), or [Authentication-only integration](https://adyen-preview.mintlify.site/online-payments/classic-integrations/classic-api-integration/3d-secure-authentication/native-3ds2/authentication-only-integration.md).

#### Request

```bash theme={null}
curl https://pal-test.adyen.com/pal/servlet/Payment/v50/authorise \
-H 'x-api-key: ADYEN_API_KEY' \
-H 'content-type: application/json' \
-d '{
    ...
    "additionalData": {
      "threeDS2DataOnly": true
    },
    ...
  }'
```

## Testing the data-only flow

Use the test card below to try the 3D Secure 2 data-only flow.

| Card Type | Card Number | Expiry Date | CVC/CVV |
| - | - | - | - |
| Mastercard | 5201 2818 2278 3116 | 10/2020 | 737 |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.