Show promotional content about a connected account's Capital financing offer and launch a Capital application.
Render a UI component for connected accounts to view their Capital Financing Offer, along with educational and promotional content explaining the program’s functionality. They can open the application flow in a dialog by clicking Start application.
No-offer states
If the connected account doesn’t have a current financing offer, the component renders differently depending on their financing status:
If the account has active financing in progress or under review, the component renders as null.
If the connected account doesn’t have active financing, the component displays generic information about eligibility and the lending program.
Create an Account Session
When creating an Account Session, enable the Capital financing promotion component by specifying capital_financing_promotion in the components parameter.
// Include this element in your HTMLconst capitalFinancingPromotion = stripeConnectInstance.create('capital-financing-promotion');
container.appendChild(capitalFinancingPromotion);
Method
Type
Description
Default
setOnApplicationSubmitted
() => void
The connected account has successfully submitted their application for financing.
setLayout
full | banner
Controls the layout of the component. banner mode greatly reduces the vertical size of the component, which is useful when stacking the component with other content on the page.
full
setOnEligibleFinancingOfferLoaded
({productType: standard | refill | none}) => void
The connected account’s financing offer has been loaded. The productType field corresponds to the product_type field on the Financing Offer object.
setPrivacyPolicyUrl
string
Absolute URL of a page containing your privacy policy.
https://stripe.com/privacy
setHowCapitalWorksUrl
string
Absolute URL of a page with information about the Capital program.