Sofort is a single use payment method where customers are required to authenticate each payment. With this integration, Stripe charges your customer 1 EUR through Sofort in order to collect their bank details. After your customer authenticates the payment, Stripe refunds the payment and store your customer’s IBAN in a SEPA Direct Debit payment method. You can then use the SEPA Direct Debit payment method to accept payments.
Setting up future SEPA Direct Debit payments using Sofort in your app consists of creating a SetupIntent object to track the process, collecting mandate acknowledgement, and redirecting your customer to Sofort. Stripe uses the SetupIntent to track and handle all the states of the setup until the setup completes.