StripeConnecteurStable

Update PaymentIntent amount (Stripe)

Update the target amount on a Stripe PaymentIntent.

Overview

Objectif

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

When to use

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

Parameters 3

extension_config_idRequiredref(extension_config:stripe)
Active Stripe configuration used for the provider call. Merchant remains derived from process context.
payment_intentRequiredStripe payment intent
Typed Stripe PaymentIntent materializing provider execution of the relevant Ormuz payment.
amountRequiredamount
Amount in minor monetary units used by the Stripe operation; its currency is that of the PaymentIntent or associated parameter. Default value: 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
Update PaymentIntent amount (Stripe)
Retrieve PaymentIntent (Stripe)

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