On this page, you can find additional configuration for adding Swish to your Drop-in integration.
Before you begin
This page assumes you have already:
To go live with Swish you need an agreement with one of these banks supporting Swish:
- Swedbank
- Handelsbanken
- Nordea
- SEB Bank
- Danske bank
Make sure that your Swish bank has connected your Swish number with Adyen's technical supplier certificate - 9875158603.
API reference
You don't need to send additional fields for Swish. To see optional fields that you can send for all payment methods, choose the endpoint you integrated:
- /sessions: This is the default with Drop-in v5.0.0 or later.
- /payments: If you implemented an additional use case.
Drop-in configuration
v5.0.0 or later
If your integration uses iOS Components v5.0.0 or later, configure and create an instance of the Swish Component:
v4.x.x
There is no Swish-specific integration for Drop-in.
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, 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 in your live Customer Area.