StripeRouteurStable

Resolve SEPA mandate (Stripe)

Find active reusable Stripe SEPA mandates for a Customer and route on whether none, one, or several are eligible.

Overview

Objectif

Searches without interaction for active, reusable SEPA mandates for a Stripe Customer, then routes according to the result.

When to use

  • To separate mandate resolution from collection.
  • When a branch without interaction is needed.
  • Before triggering a recurring debit.

Parameters 2

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.

Outputs 7

selected_routeenum
Business route chosen from the normalized Stripe result; the process must explicitly handle every declared branch.
sepa_mandateOptionalStripe mandate
Active, reusable Stripe SEPA mandate associated with the Customer and debit PaymentMethod.
payment_methodOptionalStripe 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.
sepa_mandatesOptionalStripe mandate[]
Candidate Stripe SEPA mandates found for the Customer during resolution.
payment_methodsOptionalStripe payment method[]
Stripe PaymentMethods associated with candidate mandates and useful for understanding or reusing the payment method.
setup_intentsOptionalStripe setup intent[]
Stripe SetupIntents associated with candidate mandates when they can be resolved.

Behavior

Validate the context

Loads the Customer and active Stripe configuration.

Search mandates

Lists usable payment methods and identifies active SEPA mandates.

Router

Explicitly routes according to whether zero, one, or several eligible mandates are found, so the process handles ambiguity instead of silently choosing one.

Process example

Client Stripe
Resolve SEPA mandate (Stripe)
Mandate found
Multiple mandates found
No mandate found
Handle “Mandate found”
Handle “Multiple mandates found”
Handle “No mandate found”

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