#leo_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question. Thank you for your patience!
âąď¸ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime! If this thread is closed and you have another question you'll need to start a new thread.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1214764129651269652
đ Have more to share? You can add more detail below, including code, screenshots, videos, etc.
hello! Do you mean you want to simulate a subscription being cancelled after all retries fail?
Hello @buoyant seal yes - and also want to understand the possible values of cancellation_details.reason
in case you haven't seen this yet, you can use test clocks to mimic the passing of time : https://stripe.com/docs/billing/testing/test-clocks - so you can probably set the number of retries to 1 and then use test clocks to mimic the passing of time
the possible values are https://docs.stripe.com/api/subscriptions/object#subscription_object-cancellation_details-reason
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.