Skip to main content
Question

Webhooks Premium Control

  • 2 March 2022
  • 1 reply
  • 56 views

Forum|alt.badge.img+3

Hello, I want to delete the users whose premium period has expired completely from the database. I found out that I need webhooks for this.

I read the webhooks document but don't understand, is the premium control on the mobile side? What should be in the endpoint section? It would be great if we could see it as an example.

We thank you.

1 reply

tina
RevenueCat Staff
Forum|alt.badge.img+10
  • RevenueCat Staff
  • 338 replies
  • March 3, 2022

Hey @Ugrcn 

For webhooks, you’ll have to react to this server side. Can you clarify on what you’re referring to when you say “premium control”? Are you handling subscription statuses in your own database and reacting to it within the app? Or are you using RevenueCat’s CustomerInfo (previously called PurchaserInfo if you’re on an older version of the SDK) to determine subscription status? 

 

The endpoint should be pointing to your servers, which is where the webhook notifications will be delivered to.


Reply


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