#vamsi_api

1 messages ¡ Page 1 of 1 (latest)

deep caveBOT
#

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

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

scarlet flameBOT
carmine compass
#

Hi there, how can I help?

leaden dagger
#

Hello

#

I would like to understand if the subscription works on a dialy basis, how to set billing_cycle_anchor/billing_cycle_anchor_config values

carmine compass
#

You should set the price recurring's interval to day, that's the paramter that control the billing interval.

leaden dagger
#

Get that how about billing_cycle_anchor ?

carmine compass
#

You don't need to use this param for daily billing.

leaden dagger
#

what about for weekly and bi-weekly

carmine compass
#

For bi-weekly, you can set interval to week and interval_count to 2

leaden dagger
#

how about billing_cycle_anchor and billing_cycle_anchor_config

#

?

carmine compass
#

Can you tell me what make you think you need to use these params to configure the interval or recurring billings?

leaden dagger
#

recurring billings

scarlet flameBOT
bronze sun
#

billing_cycle_anchor or billing_cycle_anchor_config is only used to set when you would like the cycle to be billed, e.g. every Monday

If you only want to bill at weekly or bi-weekly, creating price with the interval and interval_count should be sufficient

leaden dagger
#

so both serve the same purpose ?

#

but billing_cycle_anchor_config is to specify a specific day

#

how to control the end of interval bill ?

#

through price or subscription

#

?

carmine compass
#

No, they are for different purpose. I'd highly recommend you to read the API reference for a better understanding.

leaden dagger
#

Sure will do that

#

how to control the end of interval bill ?
through price or subscription
?

carmine compass
#

I'm not sure what you mean by "control the end of interval bill ", can you elaborate?

leaden dagger
#

end of recurring bill

#

suppose if i want 12 recurriing bills on month interval

#

after end of 12 months subscription should end

carmine compass
#

OK, so you want to schedule an end for the subscription?