#vamsi_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/1255039677229174845
đ Have more to share? Add details, code, screenshots, videos, etc. below.
Hi, you need to pass a unix timestamp: https://dashboard.stripe.com/test/logs/req_9F89VwbXkyUNvE instead of '7'. What date are you looking to set this date to?
7 th day of every week
pay shall kickin every 7th day of week as part of subscription
Hi @astral perch I think you should use this param https://docs.stripe.com/api/subscriptions/create#create_subscription-billing_cycle_anchor_config-day_of_month
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
No according to the documentation - Mutually exclusive with billing_cycle_anchor and only valid with monthly and yearly price intervals. When provided, the billing_cycle_anchor is set to the next occurence of the day_of_month at the hour, minute, and second UTC.
billing_cycle_anchor_config-day_of_month - this seems to be only for monthly and yearly
which i have taken care using the same but I'm looking for DAILY/WEEKLY/BIWEEKLY subscriptions with a specific billing day
I'm afraid thre's no param for day_of_week, you need to calculate the epoch timestamp for the next 7th day of the week, and set it to billing_cycle_anchor.
calculation of timestamp for next 7th day of the week => how would this translate after 1 cycle
i want this tobe a recurrent payment on 7th day of week
You can use https://www.epochconverter.com/
i got that but the question is on creation of subscription if we set the timestamp for next 7 th day, would that be carry forwarded to next payments as part of the subscription ?
You mean will the subscription automatically renew 1 week after the billing_cycle_anchor ? Yes
You should use test clocks to test it out
if my scubescription is for 10 weeks
then every 7th day the payment shall take place
is that the right understanding
?
It sounds right to me.