Skip to main content
Question

How to implement limited functionality subscription?


Forum|alt.badge.img+2

I have an app that user can use to create new videos. I want to offer two plans, Lite and Pro. Lite subscription allows to create 5 videos / week. Pro version allows unlimited videos per week. How to implement this kind of subscription model? The main challenge seems to be checking how many videos are created during a billing cycle. Is there a way to get the current billing cycle information from the API?

This post has been closed for comments

2 replies

kaitlin
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 342 replies
  • April 3, 2024

Hey @sol21,

You can get the latest customerInfo from the GET /subscribers API, so you could pull up the user’s current entitlement, including when it was purchased or last renewed and when this billing cycle is set to end: https://www.revenuecat.com/docs/api-v1#tag/customer_info_model


Forum|alt.badge.img+2
  • Author
  • New Member
  • 3 replies
  • April 3, 2024

I don’t see any field related to the last purchase and the date related to end of billing cycle. Can you tell me the field names?


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings