StripeConnecteurStable

Ensure customer (Stripe)

Create or reuse the Stripe Customer associated with an Ormuz company or contact.

Vue d’ensemble

Objectif

Ensures that a company or contact has a reusable Stripe Customer without exposing a Stripe identifier as process configuration data.

The node relies on provider mappings to reread an existing Customer. It creates the Customer and its mapping only when no association exists.

Quand l’utiliser

  • Before creating bank-transfer instructions.
  • Before collecting a SEPA mandate.
  • When a journey must durably attach an Ormuz object to Stripe.

Parameters 2

extension_config_idRequisref(extension_config:stripe)
Active Stripe configuration used for the provider call. Merchant remains derived from process context.
subjectRequisCompany
Subject. Accepte platform.company ou platform.contact.

Outputs 3

stripe_customerStripe customer
Typed Stripe Customer carrying the reusable provider identity associated with an Ormuz company or contact.
createdboolean
Whether this execution created a new Stripe object or reused the one already correlated.
extension_object_mappingextension object mapping
Durable mapping between the produced Stripe object and the Ormuz object to which it is attached.

Behavior

Validate the subject

Accepts a persisted company or contact and extracts its identifier.

Look for the mapping

Looks for a Customer mapping for the active Stripe configuration and rejects ambiguous associations.

Create when needed

Creates the Customer with Ormuz metadata and a stable idempotency key, then persists the provider mapping.

Process example

Business object
Créer ou réutiliser le client Stripe (Stripe)
Activer le virement bancaire (Stripe)

Exemple de placement de `stripe.ensure_customer` dans un process avec des bindings typés.