TWINT via Checkout.com is Switzerland’s leading mobile payment wallet, supported by all major Swiss banks. Payments are redirect-based, completed via QR code or in-app link. CHF only; minimum 0.01 CHF, maximum 5,000 CHF.
TWINT via Checkout.com is in beta. Contact your Checkout.com account manager to enable it.
Get started with TWINT via Checkout.com
Before you begin
If this is your first payment method, follow the Get started guide to begin processing payments with Primer.
-
Add Checkout.com to your Dashboard
Go to Integrations, click New Integration, and search for Checkout.com. Enter your Checkout.com credentials.
-
Activate on the Checkout
Go to Checkout and activate TWINT.
-
Configure a Workflow
Ensure a Workflow with an Authorization action is set up to process APMs.
Prepare the client session
No additional fields are required beyond the standard orderId, currencyCode, amount, and customer fields.
Prepare the SDK for payments
Use the payment method type CHECKOUT_TWINT wherever the code below references YOUR_PAYMENT_METHOD_TYPE.
Primer Checkout (recommended)
Universal Checkout (legacy)
Headless Universal Checkout (legacy)
Primer Checkout is our latest web SDK, built around declarative web components. Once TWINT is enabled in your Dashboard, the default <primer-checkout> layout renders it automatically alongside your other methods — no payment-method-specific markup is required.Custom layouts
Only reach for primer-payment-method if you’re building a custom layout and need to place TWINT at a specific position. The element only renders when the type is enabled in your Dashboard and returned by the server for this checkout.For dynamic rendering based on what the server returns, listen to primer:methods-update or use primer-payment-method-container for declarative filtering. Set up redirects
If TWINT can’t be shown in a popup, Universal Checkout redirects the customer back to your site using the returnUrl passed in the redirect options. See Handle redirects & deep links for the full flow.Show Universal Checkout
TWINT is automatically presented when calling Primer.showUniversalCheckout.Check the customization guide to learn how to customize payment method buttons.Create a RedirectPaymentMethodManager for TWINT using createPaymentMethodManager, then call start() to begin the redirect flow.Refer to the full guide for handling payment methods with redirect. Use the payment method type CHECKOUT_TWINT wherever the code below references YOUR_PAYMENT_METHOD_TYPE.
Set up redirects
Redirect-based payment methods present a webpage or open a third-party app for the customer to authorize the payment. To return to your app once the customer has authorized the payment, include the urlScheme parameter when configuring PrimerPaymentMethodOptions.When the customer is redirected back to your app, iOS calls application(_:continue:restorationHandler:). Forward the call to the Primer SDK so the checkout can continue the flow.Show the payment method
Use the payment method type CHECKOUT_TWINT wherever the code below references YOUR_PAYMENT_METHOD_TYPE.
Go live
Use production Checkout.com credentials. TWINT is available in Switzerland with CHF only, with amounts between 0.01 and 5,000 CHF.