Stripe | Financial Infrastructure to Grow Your Revenue

Stripe | Financial Infrastructure to Grow Your Revenue

4466 articles

Reporting chart


Private preview

Reporting chart Private preview

Show charts to your connected accounts.

Reporting chart renders a UI component for connected accounts to view charts similar to those on the Stripe Dashboard, such as the Net Volume and Gross Volume charts.

Create an Account Session

When creating an Account Session, enable Reporting chart by specifying reporting_chart in the components parameter.

Note

The Reporting chart component is in private preview, so the Stripe SDKs don’t include it yet. To enable it when creating an account session, use this code snippet with the Stripe beta SDK:

main.rb

Select a language

Ruby

Python

PHP

Java

Node.js

Go

.NET

No results

client = Stripe::StripeClient.new('{{sk_INSERT_YOUR_SECRET_KEY}}', stripe_version: '2023-10-16; embedded_connect_beta=v2;')
account_session = client.v1.account_sessions.create({
 account: '{{CONNECTED_ACCOUNT_ID}}',
 components: {
 reporting_chart: {enabled: true}
 }
})

After creating the account session and initializing ConnectJS, you can render the Reporting chart component in the frontend:

Render the component

reporting-chart.js

Select a language

JavaScript

React

No results

// Include this element in your HTML
const container = document.getElementById("container");
const reportingChart = stripeConnectInstance.create("reporting-chart");
reportingChart.setReportName("net_volume");
reportingChart.setIntervalStart(new Date(Date.UTC(2023, 11, 17)));
reportingChart.setIntervalEnd(new Date(Date.UTC(2024, 08, 18)));
reportingChart.setIntervalType("day");
container.appendChild(reportingChart);
MethodTypeDescriptionDefaultRequired or Optional
setReportName'net_volume' | 'gross_volume'The name of the report to render as a chart.required
setIntervalStartDateThe start time to query data. Returned data might start later than this timestamp if data is sparse.The time of the connected account’s first data point for the report specified.optional
setIntervalEndDateThe end time to query data. Returned data might end earlier than this timestamp if data is sparse.The time of the connected account’s last data point for the report specified.optional
setIntervalType'day' | 'month' | 'quarter' | 'year'Used to determine granularity of the data.Based on the duration between intervalStart and intervalEnd. A longer time frame defaults to showing less granular data.optional

Request access Private preview

Interested in the preview of the Connect embedded reporting chart component?

Enter your email to request access.

Last verified 2026-09-24

Is this helpful?