StripeConnecteurStable

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_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.
cancellation_reasonOptionalenum
Normalized Stripe reason explaining why the PaymentIntent should be canceled. Default value: requested_by_customer.

Outputs 1

payment_intentStripe 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

Payment intent Stripe
Cancel PaymentIntent (Stripe)
Sync PSP payment (Stripe)

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