#Masud-Chart
1 messages · Page 1 of 1 (latest)
Hi there, you can use the report run API https://stripe.com/docs/api/reporting/report_run to generate the report and use the data to plot the chart.
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 did something like this
json.reports Stripe::Reporting::ReportRun.create({
report_type: 'connected_account_balance.summary.1',
parameters: {
interval_start: 1632787200,
interval_end: 1653264000,
},
})
But it doesn't seem to give me any sort of array of data.
it does give me this json response, but no data that i can plot.
the report file is downloadable at reports.result.url
oh so we can't get the api in array json format online? Instead we have to download the file?
Yes,you need to download the csv file first
Got it, thanks for that info. Will try to find another solution.