#adit_deepak-report-api
1 messages ยท Page 1 of 1 (latest)
Hi there ๐ the section below the one you linked to has a guide on how to leverage our Reporting APIs. Does this address your question?
https://stripe.com/docs/reports/api
Stripe::Reporting::ReportType.retrieve('balance.summary.1')
This is not the link.!!
That section is talking about determing date ranges of available data. Did you scroll down to the section on "Creating and accessing report runs"?
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
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
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
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.