#bmizerany
1 messages ยท Page 1 of 1 (latest)
Thanks for waiting, discord is busy today
I saw you are still the end_date to now. The now here = the timestamp when the request is made.
If you want to set the end_date to a future date, use the timestamp of the future date accordingly.
I'm attempting the opposite. I want the schedule to end now
The subscription started with a start_date and no end_date, and then I attempted to set the end_date later, and it caused the error I'm getting
https://stripe.com/docs/api/subscription_schedules/cancel?lang=ruby#cancel_subscription_schedule then you should use this API to cancel the schedule
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
It would be nice to avoid introducing yet another Stripe API endpoint for something as simple as "please cancel at this time" except if it's "now" then go to the other API clerk named POST .../cancel and ask them to do it for you
any chance that existS?
๐
not that I'm aware of
oh well. thank you for your help