--- title: "Swish Web Drop-in" description: "Add Swish to your Drop-in integration." url: "https://docs.adyen.com/payment-methods/swish/web-drop-in" source_url: "https://docs.adyen.com/payment-methods/swish/web-drop-in.md" canonical: "https://docs.adyen.com/payment-methods/swish/web-drop-in" last_modified: "2026-05-24T12:54:31+02:00" language: "en" --- # Swish Web Drop-in Add Swish to your Drop-in integration. [View source](/payment-methods/swish/web-drop-in.md) You can add Swish to your existing integration. The following instructions show only what you must add to your integration specifically for Swish. If an instruction on this page corresponds with a step in the main integration guide, it includes a link to that corresponding step of the main integration guide. What you must add to your integration depends on the [server-side flow](/online-payments/build-your-integration) that your integration uses: ## Sessions flow Drop-in ### Drop-In-Before-You-Begin ## Requirements | Requirement | Description | | | -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | - | | **Integration type** | Make sure that you have an existing Sessions flow [Web Drop-in integration](/online-payments/build-your-integration/sessions-flow?platform=Web\&integration=Drop-in). | | | **Checkout API** | Make sure that you use Checkout API v68 or later. | | | **Setup steps** | Before you begin, [add Swish in your Customer Area](/payment-methods/add-payment-methods). | | ### Drop-In-Add-Parameters-Sessions-Request ## Add additional parameters to your /sessions request You do not need to add any parameters when you [create a payment session](/online-payments/build-your-integration/sessions-flow?platform=Web\&integration=Drop-in#create-a-payment-session). ### Drop-In-Import-Optional ## Import Swish (optional) When you [import Adyen Web](/online-payments/build-your-integration/sessions-flow?platform=Web\&integration=Drop-in#get-adyen-web), you can optionally import individual payment methods to optimize performance by using [tree shaking](https://developer.mozilla.org/en-US/docs/Glossary/Tree_shaking). To do this, include `Swish`. **Import** ```javascript import { AdyenCheckout, Dropin, Swish } from '@adyen/adyen-web'; ``` ### Drop-In-Test-And-Go-Live ## Test and go live When you make a Swish payment in the test environment, the payment is authorised within 15 seconds. You can simulate different refusal scenarios, as outlined in the [Merchant Swish Simulator](https://developer.swish.nu/api/mss/v1), by adding the error code to the `shopperStatement` property. For example, `"shopperStatement": "FF08"`. Check the status of Swish test payments in your **Customer Area** > **Transactions** > **Payments**. To accept live Swish payments, you must [submit a request for Swish](/payment-methods/add-payment-methods) in your [live Customer Area](https://ca-live.adyen.com/). ## Advanced flow Drop-in ### Drop-In-Before-You-Begin ## Requirements | Requirement | Description | | | -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | - | | **Integration type** | Make sure that you have an existing Advanced flow [Web Drop-in integration](/online-payments/build-your-integration/advanced-flow?platform=%7B%7BgetParameter%28%27platform%27%29%7D%7D\&integration=Drop-in). | | | **Action handling** | Make sure that your existing integration is set up to [handle the additional action](/online-payments/build-your-integration/advanced-flow/?platform=Web\&integration=Drop-in#handle-the-redirect). `action.type`: **qr**. | | | **Setup steps** | Before you begin, [add Swish in your Customer Area](/payment-methods/add-payment-methods). | | ### Drop-In-Import-Optional ## Import Swish (optional) When you [import Adyen Web](/online-payments/build-your-integration/advanced-flow/?platform=Web\&integration=Drop-in#get-adyen-web), you can optionally import individual payment methods to optimize performance by using [tree shaking](https://developer.mozilla.org/en-US/docs/Glossary/Tree_shaking). To do this, include `Swish`. **Import** ```javascript import { AdyenCheckout, Dropin, Swish } from '@adyen/adyen-web'; ``` ### Drop-In-Add-Parameters-Payments-Request ## Add additional parameters to your /payments request You do not need to add any parameters to the [/payments](https://docs.adyen.com/api-explorer/Checkout/latest/post/payments) request. ### Drop-In-Test-And-Go-Live ## Test and go live When you make a Swish payment in the test environment, the payment is authorised within 15 seconds. You can simulate different refusal scenarios, as outlined in the [Merchant Swish Simulator](https://developer.swish.nu/api/mss/v1), by adding the error code to the `shopperStatement` property. For example, `"shopperStatement": "FF08"`. Check the status of Swish test payments in your **Customer Area** > **Transactions** > **Payments**. To accept live Swish payments, you must [submit a request for Swish](/payment-methods/add-payment-methods) in your [live Customer Area](https://ca-live.adyen.com/).