#ryan-subscription-billingtime
1 messages · Page 1 of 1 (latest)
Hello! When you create a Subscription you can set the billing_cycle_anchor (https://stripe.com/docs/api/subscriptions/create#create_subscription-billing_cycle_anchor), which accepts a UTC timestamp. We'll use that time to calculate when the next renewal should be.
As an example - if you set the anchor to 12 pm Dec 1st for a monthly subscription, it'll renew on at 12 pm Jan 1st next month
Hello, How about if the subscription was created with Trials? Do I need to reset the billing_cycle_anchor after the trial expires? Or can I set the trial period and billing_cycle_anchor upon creating the subscription
The billing cycle anchor will be automatically reset once the trial period ends - so if you're trial ended on Dec 1st, that's the anchor that would be used moving forward