#kamal-singh_api

1 messages ¡ Page 1 of 1 (latest)

cursive kernelBOT
#

👋 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/1410861965575852085

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

thin cave
lyric cove
#

So, does it matter if I pass the start_date parameter for every phase?

thin cave
#

it's not going to work, you'll get an error

lyric cove
#

So you mean documentation is wrong and I should follow these examples

thin cave
#

sorry, but what documentation is wrong specifically?

lyric cove
#

I'm following this documentation: https://docs.stripe.com/api/subscription_schedules/create
. In the request body, there is a start_date, but I cannot find any phases.start_date. It seems there is no start_date inside a phase, although I can see it in the request body generated by the Stripe dashboard.

thin cave
#

yeah, like I mentioned there are differences between a Dashboard initiated request and what is supported via the Stripe API. You should refer to our API specs / documentation for what is supported for a specific request that you can make

lyric cove
#

ok got it

#

Can you also tell me what does now means, as i can see them being used in the request body created by stripe

thin cave
#

now refers to immediately, which is the time which the request is received

lyric cove
#

If I want to update a subscription in the middle of the billing period and have the update take effect from the next billing cycle, is using a subscription schedule the only option?

#

Like just downgrading the quantity

thin cave
#

yes, that's correct.

lyric cove
#

So going with Subscription schedule is the only option in this scenario?

thin cave
#

yep, that's right, you can only do this with a Subscription Schedule