Chargebee Help Center

How can we help you today?

chargebee web-hook and calling api endpoint not retrieveing data

T

TheoG

started a topic
20 days ago

I have a question around the potential of data not being available between the time a webhook is fired and an api call to obtain data. When a Chargebee webhook is fired to our backend, for example an invoice_generated, we use that to trigger an invoice sync, by calling your api to retrieve all invoices. The issue we are experiencing is the call to return all invoices returns an empty array.