Skip to main content
Use stripe.cancelSetupIntent to abandon a setup flow in a cancelable state.
automations/stripe-cancel-setup-intent.automation.ts

Inputs

setupIntentId is required. Stripe accepts abandoned, duplicate, or requested_by_customer as the cancellation reason when applicable.

Output

Returns the canceled SetupIntent.