Trigger SEPA debit (Stripe)
Trigger an off-session Stripe SEPA debit from an Ormuz PSP payment intent and an active mandate.
Vue d’ensemble
Objectif
Triggers an off-session SEPA direct debit for an already-created Ormuz platform.psp_payment, using a Stripe Customer and reusable mandate.
The psp_payment remains the source of truth for amount, currency, and business attachments; the node creates or reuses the corresponding PaymentIntent and durable mapping.
Quand l’utiliser
- After creating a
psp_paymentindraftstatus. - To debit an invoice using an existing mandate.
- After
stripe.ensure_sepa_debit_mandateorstripe.resolve_sepa_debit_mandate.
Parameters 6
Outputs 3
Behavior
Validate the Ormuz payment
Checks that the psp_payment is a merchant draft payment intent with a positive EUR amount.
Validate the mandate
Rereads the mandate and Stripe PaymentMethod, then checks their status, SEPA type, and Customer.
Create or reuse the PaymentIntent
Uses the amount and currency of the psp_payment, with stable idempotency tied to its identifier.
Create the mapping
Durably associates the Stripe PaymentIntent with the same Ormuz psp_payment.
Process example
Exemple de placement de `stripe.trigger_sepa_debit` dans un process avec des bindings typés.