# How to ensure SCA compliance

For your integration to access our [Strong Customer Authentication (SCA)](/digital-river-api/payments/psd2-and-sca.md) solution, you must be using [payment sessions](/digital-river-api/integration-options/checkouts/creating-checkouts/payment-sessions.md). These are embedded in both [Drop-in payments](/digital-river-api/payments/payment-integrations-1/drop-in.md) and [DigitalRiver.js with elements](/digital-river-api/developer-resources/reference/elements.md).

Use the following flowchart to find your appropriate SCA integration scenario:

![](/files/-Mbbh2JPbL-MS5fwJSnl)

| Integration scenario                     | Next steps                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ---------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| I'm using Drop-in payments               | You're already using our recommended, out-of-the-box solution for complying with SCA. To make sure you're using the tool correctly, review the [Drop-in payments ](/digital-river-api/payments/payment-integrations-1/drop-in.md)documentation and then [build your workflow](/digital-river-api/integration-options/checkouts/building-you-workflows.md).                                                                                                                                                                                                                                                                                                                       |
| I'm using payment sessions with elements | You're currently using DigitalRiver.js in a way that gives you access to SCA flow handling. Your next steps involve [building your SCA workflow](/digital-river-api/integration-options/checkouts/building-you-workflows.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| I need to migrate to payment sessions    | You'll need to use [payment sessions](/digital-river-api/integration-options/checkouts/creating-checkouts/payment-sessions.md) to access SCA handling and compliance. [Drop-in payments](/digital-river-api/payments/payment-integrations-1/drop-in.md) are the preferred method for performing this migration, but you can also migrate [directly to payment sessions](/digital-river-api/integration-options/checkouts/creating-checkouts/payment-sessions.md#migrating-to-payment-sessions) using DigitalRiver.js. Once you're done with the migration, you'll need to [build your SCA workflow](/digital-river-api/integration-options/checkouts/building-you-workflows.md). |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.digitalriver.com/digital-river-api/payments/psd2-and-sca/how-to-ensure-sca-compliance.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
