Skip to main content
Use stripe.updateSubscription to update items, billing behavior, trials, or cancellation settings on a Stripe subscription.

Example

automations/stripe-update-subscription.automation.ts

Inputs

subscriptionId is required. Review Stripe’s proration and payment behavior when changing prices or quantities. 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 updated Stripe Subscription. Output fields use camel case. Nested Stripe decimal fields such as unitAmountDecimal are lossless strings.