Cancel PaymentIntent (Stripe)
Cancel a Stripe PaymentIntent.
Overview
Objectif
Explicitly cancels a Stripe PaymentIntent with a Stripe-supported business reason.
When to use
- When the customer abandons payment.
- When a duplicate is detected.
- When a fraud check requires payment cancellation.
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.
cancellation_reason
Normalized Stripe reason explaining why the PaymentIntent should be canceled. Default value:
requested_by_customer.Outputs 1
payment_intent
Typed Stripe PaymentIntent materializing provider execution of the relevant Ormuz payment.
Behavior
Validate the object
Uses the typed PaymentIntent rather than a raw identifier.
Apply the reason
Normalizes the reason among values accepted by Stripe.
Cancel and return
Cancels the PaymentIntent and exposes its new sanitized representation.
Process example
Example placement of `stripe.cancel_payment_intent` in a process with typed bindings.