You can add Twint to your existing integration. The following instructions show only what you must add to your integration specifically for Twint.
If an instruction on this page corresponds with a step in the main integration guide, it includes a link to corresponding step of the main integration guide.
The additions you must make depends on the server-side flow that your integration uses:
Recurring payments
To make recurring payments for TWINT, you need to:
Create a token
To create a token, include in your /payments request:
storePaymentMethod
: true- shopperReference: Your unique identifier for the shopper (minimum length three characters).
When the payment details have been stored, you receive a recurring.token.created webhook containing:
type
: recurring.token.createdshopperReference
: your unique identifier for the shopper.eventId
: thepspReference
of the initial payment.storedPaymentMethodId
: the token that you need to make recurring payments for this shopper.
Make sure that your server is able to receive the Recurring tokens life cycle events webhook. You can set up this webhook in your Customer Area.
Make a payment with a token
Recurring payments can be made with Sessions or Advanced flow.