StripeConnecteurStable

Update PaymentIntent amount (Stripe)

Update the target amount on a Stripe PaymentIntent.

Vue d’ensemble

Objectif

Changes the target amount of a Stripe PaymentIntent before it reaches a state that forbids this mutation.

Quand l’utiliser

  • When the final amount changes before payment.
  • After recalculating an invoice or order.
  • Before applying the available cash balance.

Parameters 3

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.
amountRequisamount
Amount in minor monetary units used by the Stripe operation; its currency is that of the PaymentIntent or associated parameter. Valeur par défaut : 1.

Outputs 1

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

Behavior

Validate the amount

Requires a strictly positive integer expressed in the currency's minor unit.

Update Stripe

Updates the PaymentIntent identified by the typed object.

Expose the result

Returns the updated and sanitized PaymentIntent.

Process example

Payment intent Stripe
Modifier le montant du intention de paiement Stripe (Stripe)
Récupérer le intention de paiement Stripe (Stripe)

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