#cargodev_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1261402282617213142
đ Have more to share? Add details, code, screenshots, videos, etc. below.
Yeah there is no such thing as a billing_cycle_anchor_config param. The error message tells you what's wrong
Param is really called billing_cycle_anchor
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
This is what we were looking at previously
does it not work for phases?
Do we have to calculate the 1st of each month ourselves and pass in?
Or is there a way stripe can handle that for us?
You're looking at subscription docs
Not subscription schedule docs
Subscription schedules don't support that param
Look at this: https://docs.stripe.com/billing/subscriptions/subscription-schedules/use-cases#resetting-anchor
We understand that the subscription schedule docs are different
can you help us understand how we can calculate the first of each month using a subscription schedule?
You'd need to calculate the timestamp in your code unfortunately
Since with subscription schedules you need to pass a timestamp to us for phase start and end
Can you help us understand why Stripe doesn't want to calculate the start date for their users? It would be a really helpful feature for the future if you all added it
Thanks for feedback
It's just how it was built
We can add a feature request for this
But doesn't currently work like that
You need to pass in a timestamp explicitly
10-4