#adit_deepak-report-api

1 messages ยท Page 1 of 1 (latest)

celest axle
lyric totem
#

Stripe::Reporting::ReportType.retrieve('balance.summary.1')
This is not the link.!!

celest axle
#

That section is talking about determing date ranges of available data. Did you scroll down to the section on "Creating and accessing report runs"?

lyric totem
celest axle
#

It looks like you just copied that out of the sample code, so no.

You will first need to create a report run and let that complete:
https://stripe.com/docs/api/reporting/report_run/create

Once it's done you'll need to retrieve the run you created:
https://stripe.com/docs/api/reporting/report_run/retrieve

Then you can download the contents from the report run by accessing the URL provided in result.url:
https://stripe.com/docs/api/reporting/report_run/object#reporting_report_run_object-result-url

celest axle
#

I need to step away so Iโ€™m going to archive this thread. If you need help with anything else please ask in #dev-help or contact Stripe Support: https://support.stripe.com/contact