Resolve customer company (Stripe)
Resolve the mapping from a Stripe Customer to its Ormuz Company, directly or through a Contact.
Vue d’ensemble
Objectif
Resolves a Stripe Customer to the corresponding Ormuz company from provider mappings, directly or through a contact.
Quand l’utiliser
- At entry to a process triggered by a Stripe webhook.
- To recover business context from a Customer.
- To explicitly route unmapped Customers.
Parameters 2
extension_config_id
Active Stripe configuration used for the provider call. Merchant remains derived from process context.
stripe_customer
Typed Stripe Customer carrying the reusable provider identity associated with an Ormuz company or contact.
Outputs 4
selected_route
Business route chosen from the normalized Stripe result; the process must explicitly handle every declared branch.
company
Ormuz Company resolved from the Stripe Customer through a durable provider mapping.
contact
Ormuz Contact resolved when the Stripe Customer is mapped to a contact rather than directly to the company.
extension_object_mapping
Durable mapping between the produced Stripe object and the Ormuz object to which it is attached.
Behavior
Validate configuration
Uses only the Stripe configuration explicitly wired to the node.
Look for the mapping
Searches for the unique Customer mapping to a company or contact.
Hydrate objects
Loads the full company and, when applicable, contact.
Router
Routes to resolved or unmapped without exposing a partial object.
Process example
Exemple de placement de `stripe.resolve_customer_company` dans un process avec des bindings typés.