stripe.cancelRefund to cancel a Stripe refund that is still cancelable.
Example
automations/stripe-cancel-refund.automation.ts
Inputs
refundId is required and accepts any valid Stripe Refund ID. Stripe documents re_, rcb_, and pyr_ Refund ID families. Stripe only allows cancellation when the refund has a requires_action status. Customer-balance refunds enter that state while Stripe waits for the customer to provide payout details. 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.