StripeConnecteurStable

Apply customer balance (Stripe)

Apply a cash balance amount to a Stripe PaymentIntent.

Vue d’ensemble

Objectif

Applies all or part of a Customer cash balance to a compatible Stripe PaymentIntent.

Quand l’utiliser

  • When a bank transfer credited the Customer.
  • To apply a precise amount in one currency.
  • After checking the available cash balance.

Parameters 4

extension_config_idRequisref(extension_config:stripe)
Active Stripe configuration used for the provider call. Merchant remains derived from process context.
payment_intentRequisStripe payment intent
Typed Stripe PaymentIntent materializing provider execution of the relevant Ormuz payment.
amountOptionnelamount
Amount in minor monetary units used by the Stripe operation; its currency is that of the PaymentIntent or associated parameter.
currencyOptionnelcurrency code
ISO 4217 currency used by the Stripe operation; associated Ormuz amounts remain expressed in the minor unit of this currency.

Outputs 1

payment_intentStripe payment intent
Typed Stripe PaymentIntent materializing provider execution of the relevant Ormuz payment.

Behavior

Validate the PaymentIntent

Extracts the identifier from the typed object received as input.

Prepare the amount

Passes amount and currency only when supplied.

Apply the balance

Calls Stripe, then returns the updated and sanitized PaymentIntent.

Process example

Payment intent Stripe
Appliquer le solde client (Stripe)
Synchroniser le paiement PSP (Stripe)

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