Skip to content
Create account or Sign in
The Stripe Docs logo
/
Ask AI
Create accountSign in
Get started
Payments
Revenue
Platforms and marketplaces
Money management
Developer resources
APIs & SDKsHelp

Network cost passthrough reportPrivate preview

Show network cost passthrough data for connected accounts.

The network cost passthrough report component displays plan-level and transaction-level views of network costs that are passed through to connected accounts. That allows you to understand the breakdown of network costs associated with your connected accounts’ payment processing.

Create an AccountSession

When creating an Account Session, enable Network cost passthrough report by specifying network_cost_passthrough_report in the components parameter.

Note

The Network cost passthrough report 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
Ruby
Python
PHP
Java
Node.js
Go
.NET
No results
Stripe.api_key = '{{sk_INSERT_YOUR_SECRET_KEY}}' Stripe.api_version = '2023-10-16; embedded_connect_beta=v2;' account_session = Stripe::AccountSession.create({ account:
'{{CONNECTED_ACCOUNT_ID}}'
, components: { network_cost_passthrough_report: {enabled: true} } })

After creating the account session and initialising ConnectJS, you can render the Network cost passthrough report component in the front end:

Render the component

network-cost-passthrough-report.js
JavaScript
React
No results
// Include this element in your HTML const container = document.getElementById("container"); const networkCostPassthroughReport = stripeConnectInstance.create("network-cost-passthrough-report"); container.appendChild(networkCostPassthroughReport);

Supported parameters

This embedded component has no additional parameters.

Request access Private preview

Sign in to request access to this Connect embedded component in private preview.

If you don’t have a Stripe account, you can register here.

Was this page helpful?
YesNo
  • Need help? Contact Support.
  • Check out our changelog.
  • Questions? Contact Sales.
  • LLM? Read llms.txt.
  • Powered by Markdoc