Embedded onboarding
Show a localized onboarding form that validates data.
Embedded onboarding is a highly themeable onboarding UI with limited Stripe branding. Your platform embeds the Account onboarding component in your application, and your connected accounts interact with the embedded component without ever leaving your application. Embedded onboarding uses the Accounts API to read the requirements and generate an onboarding form with robust data validation and is localized for all Stripe-supported countries. In addition, embedded onboarding handles all:
- Business types
- Configurations of company representatives
- Verification document uploading
- Identify verification and statuses
- International bank accounts
- Error states
Create an account and prefill informationServer-side
Create a connected account with the default controller properties. See design an integration to learn more about controller properties. Alternatively, you can create a connected account by specifying an account type.
If you know the country for your connected account, you can provide that information when you create the account. The country defaults to the same country as your platform if not provided.
To request capabilities for your connected account, you can provide that information when you create the account. Stripe’s onboarding UIs automatically collect the requirements for those capabilities. To reduce onboarding effort, request only the capabilities you need. If you omit capabilities, and your connected account has access to the full Stripe Dashboard or the Express Dashboard, capabilities are automatically requested. For accounts with access to the Express dashboard, Stripe-hosted onboarding uses the Configuration settings to request capabilities based on the account’s country.
If you have information about the account holder (like their name, address, or other details), you can proactively provide this when you create or update the account. Stripe-hosted onboarding asks the account holder to confirm the pre-filled information before accepting the Connect service agreement. Providing more information through the API reduces the number of prompts and enhances the onboarding flow for your connected account.
Additionally, if you onboard an account without its own website and your platform provides the account with a URL, prefill the account’s business_profile.url. If the account doesn’t have a URL, you can prefill its business_profile.product_description instead.
When testing your integration, use test data to simulate different outcomes including identity verification, business information verification, payout failures, and more.
Determine the information to collect
As the platform, you must decide if you want to collect the required information from your connected accounts upfront or incrementally. Upfront onboarding collects the eventually_
requirements for the account, while incremental onboarding only collects the currently_
requirements.
Upfront onboarding | Incremental onboarding | |
---|---|---|
Advantages |
|
|
Disadvantages |
|
|
To determine whether to use upfront or incremental onboarding, review the required information for the countries where your connected accounts are located to understand the requirements that are eventually due. While Stripe tries to minimize any impact to connected accounts, requirements might change over time.
For connected accounts where you’re responsible for requirement collection, you can customize the behavior of future requirements using the collectionOptions
attribute when integrating the Account onboarding component.
Customize the policies shown to your users
Connected accounts see Stripe’s service agreement and Privacy Policy during embedded onboarding. Connected account users who haven’t accepted Stripe’s services agreement must accept it on the final onboarding screen. Embedded onboarding also has a footer with links to Stripe’s service agreement and Privacy Policy.
For connected accounts where the platform is responsible for requirement collection, you have additional options to customize the onboarding flow, as outlined below.
Handle service agreement acceptance on your own
If you’re a platform onboarding connected accounts where you’re responsible for requirement collection, you can collect Terms of Service acceptance using your own process instead of using the embedded account onboarding component. If using your own process, the final onboarding screen only asks your connected accounts to confirm the information they entered, and you must secure their acceptance of Stripe’s service agreement.
Embedded onboarding still has links to the terms of service (for example, in the footer) that you can replace by linking to your own agreements and privacy policy.
Link to your agreements and privacy policy
Connected accounts see the Stripe service agreement and Privacy Policy throughout embedded onboarding. For the connected accounts where you’re responsible for requirement collection, you can replace the links with your own agreements and policy. Follow the instructions to incorporate the Stripe services agreement and link to the Stripe Privacy Policy.
Integrate the account onboarding componentServer-sideClient-side
Create an Account Session by specifying the ID of the connected account and account_
as the component to enable.
Create an Account Session
When creating an Account Session, enable account onboarding by specifying account_
in the components
parameter.
After creating the Account Session and initializing ConnectJS, you can render the Account onboarding component in the front end:
The stepchange
object
Every time the connected account navigates from one step to another in the onboarding process, a stepchange
object is passed to the step change handler with the following properties.
Name | Type | Example value |
step | string See the possible step values | business_ |
The unique reference to an onboarding step. |
Restrictions
- The
stepchange
object is only for analytics. - Steps can appear in any order and can be repeated.
- Possible
step
values can change at any time.
Step Values
Each page in onboarding has a unique step name. This step
is an exhaustive list of pages the user could see in the onboarding process. These values can change at any time without notice.
Steps | Description |
---|---|
stripe_ | User authentication includes a popup to a Stripe-owned window. The connected account must authenticate before they can continue their workflow. |
risk_ | Guides the connected account to resolve risk-related requirements. |
legal_ | Connected accounts can optionally reuse existing information when onboarding new accounts. |
business_ | Sets the business type of the connected account. In certain cases the connected account can also set their country. |
business_ | Collects information related to the connected account’s business. |
business_ | Collects a proof of entity document establishing the business’ entity ID number, such as the company’s articles of incorporation. Or allows users to correct wrongly entered information related to the entity. |
business_ | Collects documents needed to verify that bank account information, such as the legal owner’s name and account number, match the information on the user’s Stripe account. |
business_ | Collects other documents and verification requirements related to the business. |
representative_ | Collects information about the account representative. |
representative_ | Collects a government-issued ID verifying the existence of the account representative. |
representative_ | Collects an additional document to verifying the details of the account representative. |
legal_ | Collects the legal guardians consent for accounts opened by minors. |
owners | Collects information about the beneficial owners of a company. |
directors | Collects information about the directors of a company. |
executives | Collects information about the executives of a company. |
confirm_ | Allows connected accounts to attest that the beneficial owner information provided to Stripe is both current and correct. |
risa_ | Answers questions concerning the Revised Installment Sales Act. (only for Japan) |
treasury_ | Collects Treasury and Card Issuing terms of service when requesting those capabilities. |
external_ | Collects the external account of the connected account. |
support_ | Collects information that helps customers recognize the connected accounts business. This support information may be visible in payment statements, invoices, and receipts. |
climate | Allows a connected account to opt into Stripe Climate. |
tax | Allows a connected account to opt into Stripe Tax. |
summary | Final review step of onboarding. The connected account can update entered information from this step. The terms of service and privacy URL is displayed in this screen. |
summary_ | From the summary step, a connected account can update information related to risk requirements. |
summary_ | From the summary step, a connected account can update information related to their business. |
summary_ | From the summary step, a connected account can update information related to their businesses public facing information. |
summary_ | From the summary step, a connected account can update information about each person on their account. |
summary_ | From the summary step, a connected account can update information related to their external account. |
summary_ | From the summary step, a connected account can update information related to their Stripe Tax integration. |
summary_ | From the summary step, a connected account can update information related to their W8/W9 certified tax information. This is shown when Stripe must collect W8/W9 information. |
summary_ | From the summary step, a connected account can update information related to their Stripe Climate integration. |
Handle new requirements becoming dueServer-side
Set up your integration to listen for changes to account requirements. You can test handling new requirements (and how they might disable charges and payouts) with the test mode trigger cards.
Based on your application’s verification requirements, send the connected account back through onboarding when it has currently_
or eventually_
requirements. Use these signals to determine when it’s necessary to re-initiate onboarding for a connected account.
You don’t need to worry about determining which requirements are missing. Onboarding collects the necessary information. For example, if there’s a typo preventing verification, onboarding prompts the connected account to upload an identity document (such as a Driver’s License in the United States). If any information is missing, onboarding requests it.
Stripe notifies you about any upcoming requirements updates that affect your connected accounts. You can proactively collect this information by reviewing the future requirements for your accounts.
Handle verification errors
Listen to the account.updated event. If the account contains any currently_
fields when the current_
arrives, the corresponding functionality is disabled and those fields are added to past_
.
Let your accounts remediate their verification requirements by directing them to the Account onboarding component.