alt

Important information

Please be advised that there will be a scheduled downtime across our API network on November 05 and November 07, 2024. For more information, visit our platform status portal.:
- Scheduled maintenance on November 5, 2024
- Scheduled maintenance on November 7, 2024

Unzer

TWINT

Learn more about TWINT and its payment workflow.

With TWINT, you can make convenient and secure payments with your smartphone – at the cash register in a supermarket, in an online shop, when shopping at a farm shop, on public transport, when parking, or when transferring money to your friends. With more than 5 million active users, TWINT is the leading payment app in Switzerland.


Payment typeAvailable inSupported currenciesFeaturesIntegrationsAPI endpointAPI prefix
RedirectSwitzerlandCHF
No support Authorize
Supports Charge
No support Reversal
Supports Refund
Supports Partial Refund
No support Chargeback
No support Recurring
No support Payout
No support Pay later
No support Unzer Secured
Supports B2C customer
Supports B2B customer
Supports Payment Pages
Supports UI Components
Supports Direct API
Supports PHP SDK
Supports Java SDK
Supports Plugins
/types/twint
twt

Advantages

  • Payment security: The customer authenticates on their TWINT app, so there is no confidential data shared between the merchant and the customer.
  • Increased customer confidence: The TWINT brand is recognized and trusted by customers in Switzerland.
  • Supported by most banks in Switzerland

Assets

twint-logo

Payment workflow

The following diagram explains the workflow for TWINT payments.

TWINT workflow

Step 1: Create a twint payment type resource. A resource ID is generated in the response and is used in the workflow to complete the payment.

Step 2: Make a charge transaction with the twint resource that you created.

Step 3: Forward the customer to the redirectUrl that is displayed in the charge response.

Step 4: Once the customer makes the payment on their bank portal, redirect the customer to the returnURL specified in the initial charge call.

Step 5: After the transaction, display the result to the customer in the front end of the online shop.

Integration options

Quickly integrate with Unzer without any programming knowledge

Use pre-built, configurable all-in-one pages with your own mix of payment methods

Use pre-built forms and quickly integrate with minimum work on the client side

Integrate with Unzer using your own payment form