#Javier

1 messages ยท Page 1 of 1 (latest)

cursive gateBOT
twin surge
#

Hi ๐Ÿ‘‹

#

Can you share an event ID so I can review it?

trim lion
#

Hi Snufkin

#

evt_1M9L1KL8sBs30xetmGTXi37h

#

is this the event id?

twin surge
#

Bingo, thanks!

#

So by "renewal" you mean the customer pays their due invoice, right?

trim lion
#

yes

twin surge
#

So for these events, the properties I find most useful are the previous_attributes. In this case you can see the cancel_at and cancel_at_period_end as well as some others are what changed

#

So this indicates the customer has canceled this subscription

#

You can also look up the API request that triggered this event in the request property.

trim lion
#

cool thanks

twin surge
#

Happy to help ๐Ÿ™‚

trim lion
#

one more question...
how can I know if the event is for a plan upgrade?

twin surge
#

Same approach. You will see the that the plan attributes have been changed in the previous_attributes property

trim lion
#

I really appreciate your help