Skip to main content

Hello! I am trying to verify a user’s subscription on my backend, and it seems like there’s a lot of event types from the revenuecat webhook to consider.

https://www.revenuecat.com/docs/integrations/webhooks/event-types-and-fields

I want to know if i want to ensure my user’s subscription status on my backend matches with the revenuecat source of truth, do i need to necessarily implement a handler for each of these event types? It feels like alot of effort, and I am wondering if there is usually a need to implement handling for all event cases, or do most apps just need to implement for a few event types?

Hi @richard-0c15ac! There are a number of events you’ll want to catch if you’re trying to ensure subscription status is matched in your backend. One thing I’ll mention is, are you sure you need to mirror all these events? We have a REST API that you can call if you need to verify subscription status or perform subscriber operations server-side.

If you want to go down this path, I’d suggest you look at our Firebase integration. This integration does exactly what you’re looking to do, and if you’re not using Firebase, you can review our implementation here to see exactly what we’re doing. We also list the supported events here, so if you’re going to create a custom implementation, this is a great place to start.