#Dooing-subscription-period-length

1 messages · Page 1 of 1 (latest)

radiant abyss
#

Hello 👋
Not sure I fully grasp the question, can you rephrase or provide an example?

modern bramble
#

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()

#

?

radiant abyss
#

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?