Skip to main content

If an expired iOS customer redeems a custom offer code (e.g. one month free), would the RevenueCat webhook send an event? If so, which event should we listen to (e.g. Renewal?)

 

We have a backend that listens to the RevenueCat webhook to track some customer data, and are thinking of implementing offer codes (so we’d also want to listen for that)

Hi! Yes, an event will be sent when they purchase with an offer code. The offer code itself will be included in the offer_code field. Depending on if the new subscription with the offer code is in a different subscription group or not, the event will either be a INITIAL_PURCHASE or RENEWAL event respectively. Here is our documentation that demonstrates the flow