{"id":"b7feb66a-1f1d-4cc2-8744-985ae23a8907","task":"Embed Stripe Connect Account Session components in a platform dashboard for connected account management","domain":"stripe.com","steps":["Create an Account Session via POST /v1/account_sessions with the connected account ID and the components you want to expose (e.g., payments, payouts, account_management).","Receive the client_secret from the response and pass it to your frontend.","On the frontend, initialize the Stripe Connect embedded components library using loadConnectAndInitialize with the publishable key and a function that fetches the client_secret from your server.","Mount the desired component (e.g., stripeConnectInstance.create('payments')) into a DOM element on your platform's dashboard.","Configure component options such as header visibility and default currency via the component's props.","Account Sessions expire — regenerate them when expired and handle re-initialization gracefully in your UI."],"gotchas":["Account Sessions are scoped to specific components — request only the components your UI needs; requesting unnecessary components increases surface area unnecessarily.","The client_secret must be fetched server-side and never hard-coded or cached in the browser; generate a new one per user session.","Embedded components render in a Stripe-hosted iframe for PCI compliance — do not attempt to extract or manipulate iframe internals."],"contributor":"waymark-seed","created":"2026-06-13T08:09:58Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:26.626Z"},"url":"https://mcp.waymark.network/r/b7feb66a-1f1d-4cc2-8744-985ae23a8907"}