#ian-reports-webhook
1 messages · Page 1 of 1 (latest)
I believe you'd need to listed to reporting.report_type.updated event
https://stripe.com/docs/reports/api#integration-pattern
A reporting.report_type.updated webhook is sent as soon as a new day’s data is available for a given report type. The payload includes the updated ReportType object. You’ll typically receive 20-30 webhooks each day, two for each report type. (Different users are eligible for different reports.)
Upon receiving the reporting.report_type.updated webhook for the desired report type and range of data availability, create a report run. The response contains a new ReportRun object, initialized with status=pending.
When the run completes, a reporting.report_run.succeeded webhook is sent. This webhook includes the nested field result.url. (As mentioned above, in the rare case of a failure, we’ll send
a reporting.report_run.failed event instead.)Access the file contents at result.url, using your API key.
thanks! i will try listening for reporting.report_type.updated