How a TWINT payment works
TWINT is a redirect payment method that the customer completes in the TWINT app:- The customer selects TWINT at checkout.
- Payrails creates the payment at Checkout.com and returns a redirect URL.
- The customer follows the redirect and confirms the payment in the TWINT app. The customer needs the TWINT mobile app to complete the payment.
- The customer returns to your
returnInfoURL. - Payrails receives the final result from Checkout.com and updates the payment.
Supported currencies and countries
TWINT supports CHF (Swiss franc) as its only presentment currency.Supported workflows
Before you begin
Complete these steps before you send your first TWINT payment through Checkout.com:- Set up a Checkout.com integration in your workspace. Follow the Checkout.com integration setup guide if you don’t have one yet.
- Ask Checkout.com support to enable TWINT on your Checkout.com account.
- In the Payrails Portal, go to Settings → Integrations, open your Checkout.com integration, select TWINT under Payment methods, and save.
- Add TWINT as a payment option in your workflow.
Request fields for Checkout.com
TWINT needs no method-specific fields. Send the standard authorize fields, including thereturnInfo URLs for the redirect. Payrails also sends these fields to Checkout.com when they’re present:
Authorize a TWINT payment
Call authorize a payment withtwint as the paymentMethodCode. The response includes the redirect for the customer.
Authorize request
success or error URL. Confirm the result through webhook notifications or the execution status before you fulfill the order.
How Checkout.com handles TWINT
- Payrails creates the TWINT payment through the Checkout.com Payment Setup API. Checkout.com needs no payment token for TWINT.
- Payrails rejects a partial capture request for TWINT, and sends every TWINT capture to Checkout.com as a final capture.
- If Checkout.com doesn’t return a redirect for a pending TWINT payment, Payrails fails the payment, because the customer can’t complete it.
- Payrails doesn’t save the TWINT payment method at Checkout.com, so Save Instruments and MIT aren’t available.