worldline Direct
Sign up

TWINT

Intro

TWINT is a Swiss real-time banking/prepaid payment system.

With over 3.5 million active users, TWINT is the most popular payment method in Switzerland. By linking their bank accounts, credit cards or prepaid cards with the TWINT app, your customers can pay low amount transactions easily (i.e. pay-by-phone parking, food ordering or invoicing).

You send a standard request to our platform to redirect your customers to the TWINT portal to open the app.
The integration is very easy, as you only need to send one additional parameter along with your request.

Überblick

Kategorie:
Payment Product-ID:
5407
Wichtigste Vorteile
  • Low PCI requirements (no sensitive or personal data shared)
  • Easy integration
  • Very popular in Switzerland
  • Allows
    • Authorisations
    • Partial/full captures
    • Partial/multiple/full refunds
    • Full cancellations

Länder & Währungen

Unterstützte Länder

Unterstützte Währungen

  • Schweizer Franken

Integration

Redirect your customers to the TWINT app via our Hosted Checkout Page. Find a high level overview in the "Zahlungsablauf" chapter.

Add the following properties to a standard CreateHostedCheckout request:

{
   "order":{
      "amountOfMoney":{
         "currencyCode":"CHF",
         "amount":1700
      },
      "redirectPaymentMethodSpecificInput":{
         "paymentProductId":5407,
         "requiresApproval":false
      }
   }
}
Properties Remarks

order.amountOfMoney
     amount
     currencyCode

amount: The gross amount you want to charge for this order.
currencyCode: The ISO 4217 currency code for this amount.

redirectPaymentMethodSpecificInput
      paymentProductId
      requiresApproval

paymentProductId: The numeric identifier of the payment method on our platform. Find this id in the "Überblick" chapter. It instructs our platform to send your customers directly to the TWINT-branded version of our Hosted Checkout Page. If left out, our platform sends your customers to the Hosted Checkout Page instead, allowing them to choose this or any other payment method in your account.

requiresApproval: Set to either "true" or "false" depending on whether you want to process payments in authorisation/direct sale mode.

Ausführliche Informationen über dieses Objekt und seine Eigenschaften finden Sie in unserer CreateHostedCheckoutAPI

Zahlungsablauf

Depending on your customers' device(s) used, differences apply:

With a desktop and a mobile device

This flow involves both your customers' mobile/tablet and desktop device interacting with each other.

  1. Your customers finalise an order on their desktop device in your shop and select TWINT.
  2. You send this CreateHostedCheckout request to our platform.
  3. You redirect your customers on their desktop device via the redirectUrl   to our Hosted Checkout Page. Your customers scan the displayed QR code with their mobile/tablet device or type in displayed the code manually in their TWINT app.
  4. The mobile/tablet device opens the TWINT app. Your customers confirm the payment in the app.
  5. We receive the transaction result.
  6. The mobile/tablet device opens the standard browser and redirects your customers to your returnURL. We redirect your customers to your returnURL on their desktop device.
  7. You request the transaction result from our platform via GetHostedCheckout or receive the result via webhooks.
  8. If the transaction was successful, you can deliver the goods / service.

With a mobile device

  1. Your customers finalise an order in your shop and select TWINT.
  2. You send this CreateHostedCheckout request to our platform.
  3. You redirect your customers via the redirectUrl to our Hosted Checkout Page where they click on the "Switch to app" button.
  4. The mobile device opens the TWINT app. Your customers confirm the payment in the app.
  5. We receive the transaction result. 
  6. The app redirects your customers to your returnURL
  7. You request the transaction result from our platform via GetHostedCheckout or receive the result via webhooks.
  8. If the transaction was successful, you can deliver the goods / service.

Testdaten

In unseren Testszenarios finden Sie Testdaten und detaillierte Instruktionen. 

Stellen Sie sicher, den korrekten Endpunkt anzusteuern und zurück zum Live-Endpunkt zu wechseln, sobald Sie Ihre Tests abgeschlossen haben

Was this page helpful?

Do you have any comments?

Thank you for your response.