Question

Webhooks Premium Control

  • 2 March 2022
  • 1 reply
  • 38 views

Badge +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

Userlevel 5
Badge +10

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