StripeUser actionStable

Ensure SEPA mandate (Stripe)

Reuse the single active Stripe SEPA mandate, collect a new signature when none exists, and fail on ambiguity.

Overview

Objectif

Ensures a reusable SEPA mandate: the node completes immediately when an active mandate exists, otherwise it opens a Stripe Elements user action.

When to use

  • For a journey that must work with or without an existing mandate.
  • Before a first SEPA debit.
  • To avoid requesting an unnecessary new signature.

Parameters 9

extension_config_idRequiredref(extension_config:stripe)
Active Stripe configuration used for the provider call. Merchant remains derived from process context.
stripe_customerRequiredStripe customer
Typed Stripe Customer carrying the reusable provider identity associated with an Ormuz company or contact.
titleOptionalstring
Title displayed in the Stripe User Journey to explain the expected action. Default value: Set up SEPA Direct Debit.
descriptionOptionalstring
Supporting text shown to the user during Stripe collection. Default value: Enter the bank account to use for future direct debits..
billing_contactOptionalContact
Ormuz billing contact whose identity and email address are used to prepare the SEPA mandate.
billing_addressOptionaladdress
Structured billing address sent to Stripe when required by the mandate or local requirements.
hide_termsOptionalboolean
Hides SEPA-consent information rendered by Ormuz when the journey already presents it in another compliant block. Leave disabled by default so the terms remain visible in the user action. Default value: false.
allow_replay_from_hereOptionalboolean
Explicitly allows process replay to restart from this interaction when repeating the Stripe action remains safe. Default value: false.
replay_boundaryOptionalboolean
Marks the interaction as a replay boundary when effects already produced upstream must not be replayed automatically. Default value: false.

Outputs 4

sepa_mandateStripe mandate
Active, reusable Stripe SEPA mandate associated with the Customer and debit PaymentMethod.
payment_methodStripe payment method
Typed Stripe PaymentMethod associated with the Customer and payment method concerned by the mandate or collection.
setup_intentOptionalStripe setup intent
Stripe SetupIntent used to configure and confirm the reusable payment method without immediate collection.
reused_existingboolean
Whether an existing active SEPA mandate was reused and no new user collection was required.

Behavior

Search for an active mandate

Queries Stripe for the supplied Customer.

Reuse when found

Completes immediately with reused_existing: true.

Otherwise collect

Creates an idempotent SetupIntent and places the process in waiting for the user action.

Return the objects

After confirmation, exposes typed mandate, PaymentMethod, and SetupIntent.

Process example

Client Stripe
Ensure SEPA mandate (Stripe)
Trigger SEPA debit (Stripe)

Example placement of `stripe.ensure_sepa_debit_mandate` in a process with typed bindings.