How to distinguish callbacks for different apis

I created a REST endpoint that is able to receive the callbacks from Chargebee. The question I have is that how do I distinguish that the callback I am getting from chargebee is for which particular event and which api call our system made.

example: JSON body sent by chargebee for a subscription created and subscription renewal is very similar, so when we receive these callbacks, how do I make out that the call back sent was for a subscription create or renewed for a particular event?

1 Comment

Hi Sidharth,

We have replied to your query and have the conversation going on the ticket ID: 86009. 

Write to us on the same thread to keep the conversation in a single thread. 



Login or Signup to post a comment