Accéder directement au contenu
Créez un compte
ou
connecter-vous
Logo de la documentation Stripe
/
Demander à l'assistant IA
Créez un compte
Connectez-vous
Démarrer
Paiements
Revenus
Plateformes et places de marché
Gestion de fonds
Ressources pour les développeurs
Aperçu
Démarrer une intégration
Financement et trésorerie
Treasury
Capital
    Présentation
    Fonctionnement de Capital
    Admissibilité à Capital
    Démarrer
    Comment ça marche
    Configurer Capital
    Tester Capital
    Comment faire la promotion de Capital
    Personnaliser votre intégration
    Rapports et rapprochement
    Remplacements
    Gérez votre programme
    Conformité réglementaire
    Gestion
    Indicateurs
    Développer votre programme
    Intégrer une vignette promotionnelle
    Importer des données externes à Stripe dans l’évaluation des risques Capital
Gestion des paiements
Émission de cartes
Global Payouts
Gérer vos fonds
AccueilGestion de fondsCapital

Remarque

Cette page n'est pas encore disponible dans cette langue. Nous faisons tout notre possible pour proposer notre documentation dans davantage de langues et nous vous fournirons la version traduite dès qu'elle sera disponible.

Embed a promotional tile

Increase adoption for your Capital program by more prominently displaying offers.

A promotional tile highlights available financing offers to your users, which can both increase the visibility of financing options and lead to higher application rates as compared to email-only marketing. This guide describes how to embed a smaller tile version of the Capital financing promotion component as a white-labeled promotion in your website or app.

You can use promotion tiles to:

  • Increase visibility: Highlight available financing options in the same place connected accounts make business decisions so that financing options are part of their decision-making process.
  • Fill gaps: Address the limitations of email-only marketing and offers buried on secondary pages by providing a visible, in-context promotional tile with pre-qualified financing, including the exact offer amount.
  • Reduce friction: Allow users to click directly into the application flow from within your website or your platform’s dashboard flow.
  • Drive adoption: Present timely offers with clear terms that motivate action.
  • Maintain brand consistency: Customize the look and feel of the promotional tile to match your platform’s design language.
Promo tile in Furever, the Stripe embedded components demo

Promo tile in Furever, the Stripe embedded components demo

Placement

Our analysis of successful implementations shows that placing the promotional tile on your main home page or the sidebar of that page yields the highest marketing impact.

By positioning the tile where users frequently navigate, you can maximize visibility and engagement. This strategic placement ensures that users see financing offers at the most opportune moments, which can lead to higher application rates and adoption.

Additionally, evaluate how your customer interacts with your platform to find the places that make the most sense for your specific use case.

You can display the promotional tile with general eligibility information to all your connected accounts, or optionally hide the tile if there’s no available financing offer for a connected account.

If multiple types of users from each connected account access your platform’s website or dashboard, consider only showing the promotional tile when an owner or an admin of the account is logged in, because those are the types of users that need to review and apply for financing offers.

Get started

Follow these steps to embed a promotional tile that presents Capital financing offers to your users:

Set up Connect.js

If you don’t already use Stripe embedded components in your application, run through the Initialize Connect.js step of the Get started with Connect embedded components guide.

That guide covers:

  1. Establishing a back-end route to use the Create Account Session API
  2. Setting up Connect.js
  3. Loading and initializing Connect.js

After completing that guide, you can proceed with the promotional tile implementation.

Create an Account Session

When creating an Account Session, enable the Capital financing promotion component by specifying capital_financing_promotion in the components parameter.

Command Line
curl
# Set your secret key. Remember to switch to your live secret key in production. # See your keys here: https://dashboard.stripe.com/apikeys # This example uses the beta SDK. curl https://api.stripe.com/v1/account_sessions \ -u sk_test_26PHem9AhJZvU623DfE1x4sd: \ -d "account"="{{CONNECTED_ACCOUNT_ID}}" \ -d "components"='{"capital_financing_promotion": {"enabled": true}}' \ -H "Stripe-Version: 2025-04-30.basil; embedded_connect_beta=v2;"

Render the promotional tile

After creating the account session and initializing ConnectJS, you can render the Capital financing promotion component in the front end.

The setLayout method controls whether to display the full embedded component or the smaller banner, which greatly reduces the vertical size of the component to stack it along with other content on your website or your platform’s dashboard.

promo-tile.js
JavaScript
// Include this element in your HTML const capitalFinancingPromotion = stripeConnectInstance.create('capital-financing-promotion'); capitalFinancingPromotion.setLayout('banner'); container.appendChild(capitalFinancingPromotion);

Customize the component's appearance

You can customize the look and feel of embedded components. The Capital financing promotion component supports a set of styling options to match your design system. This ensures the promotional tile feels like a native part of your platform rather than a third-party element.

You can customize colors, typography, border radius, and other visual elements through the Connect.js configuration. You can also try out different options before implementation using the embedded component appearance preview tool.

For more granular control, you can initialize multiple Connect.js instances if your promotional tile requires different styling from other embedded components. This approach allows you to maintain distinct appearance configurations for different components throughout your platform.

For more information on additional configuration options for this component, see the Capital financing promotion documentation.

Set the display state

The component adapts its display based on the connected account’s financing status:

  • With active offer: Shows full offer details with a Start application button
  • Active financing in progress: The component doesn’t render (returns null)
  • No active financing: Displays generic eligibility information about the lending program

As described above, consider implementing the promotional tile on your main homepage or other high-visibility pages where users make business decisions.

Additionally, you can hide the promotional tile component entirely if there’s no eligible financing offer. To accomplish this you can use the available onEligibleFinancingOfferLoaded callback:

promo-tile.js
JavaScript
// Include this element in your HTML const capitalFinancingPromotion = stripeConnectInstance.create('capital-financing-promotion'); capitalFinancingPromotion.setLayout('banner'); container.appendChild(capitalFinancingPromotion); capitalFinancingPromotion.setOnEligibleFinancingOfferLoaded(({productType}) => { switch (productType) { case 'none': capitalFinancingPromotion.parentElement.style.display = 'none'; break; case 'standard': case 'refill': capitalFinancingPromotion.parentElement.style.display = 'block'; break; } });

Testing

You can create an offer in a sandbox and set the offer status to delivered. Use this test offer to preview the promotional tile within your platform’s website or dashboard.

FacultatifAdditional embedded components

FacultatifPost-implementation steps

Cette page vous a-t-elle été utile ?
OuiNon
Besoin d'aide ? Contactez le service Support.
Rejoignez notre programme d'accès anticipé.
Consultez notre log des modifications.
Des questions ? Contactez l'équipe commerciale.
LLM ? Lire llms.txt.
Propulsé par Markdoc