#Dooing-subscription-period-length
1 messages · Page 1 of 1 (latest)
Hello 👋
Not sure I fully grasp the question, can you rephrase or provide an example?
I am retrieving the list of prices from the api
and I am expanded the products for each price
now I want to know for the price or the product (I guess price) the length of the subscription this will relate to
this is configured in the dashboard as Billing cycle
but I dont see any such attribute on price or product
stripePrice.getRecurring().getInterval()
?
do you mean interval?
https://stripe.com/docs/api/prices/object#price_object-recurring-interval
Price's recurring property will have the interval which specifies the billing frequency. Either day, week, month or year.
Is that what you're looking for?