StripeRouteurStable

Resolve customer company (Stripe)

Resolve the mapping from a Stripe Customer to its Ormuz Company, directly or through a Contact.

Overview

Objectif

Resolves a Stripe Customer to the corresponding Ormuz company from provider mappings, directly or through a contact.

When to use

  • 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_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 4

selected_routeenum
Business route chosen from the normalized Stripe result; the process must explicitly handle every declared branch.
companyOptionalCompany
Ormuz Company resolved from the Stripe Customer through a durable provider mapping.
contactOptionalContact
Ormuz Contact resolved when the Stripe Customer is mapped to a contact rather than directly to the company.
extension_object_mappingOptionalextension 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

Client Stripe
Resolve customer company (Stripe)
Resolved
Unmapped
Handle “Resolved”
Handle “Unmapped”

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