Hooking up webhooks with our application. I have created a REST endpoint that is able to receive the events from Chargebee. It works, I can see the JSON string coming through.
My question is, can I use the Java API and the model objects to convert the JSON string into say a Subscription? Or do I have to traverse the JSON object by hand looking for the values I need?
Thanks!
1 Comment
Vaishnavi C
said
almost 5 years ago
Hello Henrik
You can refer to this Solution Article that elucidates how you can retrieve the required details from a webhook response.
HenrikEngert
Hi,
Hooking up webhooks with our application. I have created a REST endpoint that is able to receive the events from Chargebee. It works, I can see the JSON string coming through.
My question is, can I use the Java API and the model objects to convert the JSON string into say a Subscription? Or do I have to traverse the JSON object by hand looking for the values I need?
Thanks!