#xerusky_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.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ 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/1437883440149041172
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Yes, this can be done with Subscription Schedule: https://docs.stripe.com/billing/subscriptions/subscription-schedules#changing-subscriptions
You will need to make a two requests:
- Create a subscription schedule with
from_subscription - Update the subscription schedule in Step 1 with new phases
https://dashboard.stripe.com/acct_1QsPH42e959zAvZl/test/logs/req_szXsSevkpmktsX threw the error because you attempted do both operations in a single request
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
ohhhh i was thinking about that, so i saw that there is no schedule for my current subscription. First i need to create a schedule update the subscription with that schedule and then get it and update it with phases right ? Do i need to consider anything special in this new scheduler ?
I'd recommend checking the doc link I shared earlier. It provides the example on which API endpoints that you should use. Only after the schedule is created on the existing subscription, you can then update the new schedule with cancelling an item at the end of the cycle
Thank you very much, i will try to do that ๐