Ingesloten Stripe Apps
Ingesloten Stripe Apps stellen platforms gebouwd op Stripe Connect in staat om app-functionaliteit van derden rechtstreeks in hun eigen dashboards te tonen.
Account Sessions API instellen
const accountSession = await stripe.accountSessions.create({ account: 'acct_connected_account_id', components: { app_install: { enabled: true, features: { allowed_apps: ['com.tajo.brevo-integration'], }, }, app_viewport: { enabled: true, features: { allowed_apps: ['com.tajo.brevo-integration'], }, }, },});App Install-component
const appInstall = stripeConnect.create('app-install');appInstall.setApp('com.tajo.brevo-integration');appInstall.mount(document.getElementById('app-install-container'));appInstall.on('app_installed', (event) => { console.log('App geïnstalleerd:', event.app_id);});Caution
Ingesloten app-componenten vereisen een Connect-integratie met Account Sessions API-toegang.