#sqarf-batch-cancel-sub
1 messages · Page 1 of 1 (latest)
Hey, there's no one endpoint for that I'm afraid. What you'll need to do:
- List all subscriptions for the customer (pass the
customerparam: https://stripe.com/docs/api/subscriptions/list) - Loop through the array and call the cancel endpoint when required (https://stripe.com/docs/api/subscriptions/cancel)
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
ok, thanks
Np!