provider POST
/v1/customers/{customer}/subscriptions/{subscription_exposed_id} @utdk/stripe
/v1/customers/{customer}/subscriptions/{subscription_exposed_id} Update a subscription on a customer
<p>Updates an existing subscription on a customer to match the specified parameters. When changing plans or quantities, we will optionally prorate the price we charge next month to make up for any price changes. To preview how the proration will be calculated, use the <a href="#upcoming_invoice">upcoming invoice</a> endpoint.</p>
- customer path required
- string
- subscription_exposed_id path required
- string
Try it
Authentication
Configure credentials for Stripe API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import stripe from '@utdk/stripe';
await stripe.postcustomerscustomersubscriptionssubscriptionexposedid()