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_id
Active Stripe configuration used for the provider call. Merchant remains derived from process context.
payment_intent
Typed Stripe PaymentIntent materializing provider execution of the relevant Ormuz payment.
amount
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_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
Example placement of `stripe.update_payment_intent_amount` in a process with typed bindings.