简体   繁体   中英

How to cancel All subscriptions on a plan in Stripe?

I read on Stripe docs:

Deleting a plan does not affect any existing subscribers of that plan, but new customers cannot be subscribed to it

I want to delete a plan and Cancel all subscriptions on it on Stripe. Is there anyway do it?

You can use the List Subscriptions API and pass the plan parameter to find all subscriptions on that plan. For each one, you can then call the Cancel Subscription API .

There is no call or automated way to cancel all those subscriptions and you need to write a script to cancel them sequentially in the API.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM