Skip to main content
Use stripe.cancelPaymentIntent to cancel a Stripe PaymentIntent that is still cancelable.

Example

automations/stripe-cancel-payment-intent.automation.ts

Inputs

paymentIntentId is required. Stripe limits cancellation to supported PaymentIntent states. idempotencyKey is optional. Inputs use camel case and accept compatible signals. Automate.ax converts provider fields to Stripe’s wire format. Metadata keys remain unchanged.

Output

Returns the canceled Stripe PaymentIntent. Output fields use camel case.