埋め込みアカウント登録
連結アカウントに、現地に適応したデータ検証可能なアカウント登録フォームを提供します。
埋め込みアカウント登録は、テーマを適用できるアカウント登録 UI であり、Stripe のブランディングは限定的にしか表示されません。プラットフォームアプリケーションにアカウント登録コンポーネントを埋め込むと、連結アカウントはアプリケーションから離れずに埋め込みコンポーネントを操作できます。
The component supports networked onboarding, which allows owners of multiple Stripe accounts to share business information between them. When they onboard an account, they can reuse that information from an existing account instead of resubmitting it.
埋め込みアカウント登録では、Accounts API を使用して要件を読み取り、Stripe がサポートするすべての国に合わせて調整された、データ検証機能を持つアカウント登録フォームを生成します。さらに、埋め込みアカウント登録は、次のすべてを処理します。
- ビジネスのタイプ
- 会社代表者の設定
- 確認書類のアップロード
- 本人確認とステータス
- 海外の銀行口座
- エラーの状態
This demo lets you explore the embedded onboarding component’s interface:
アカウントを作成し、情報を事前入力するサーバー側
デフォルトの controller (コントローラー) プロパティを使用して連結アカウントを作成します。コントローラープロパティについて、詳細はシステムの設計をご覧ください。または、アカウントの type (タイプ) を指定して、連結アカウントを作成することもできます。
If you specify the account’s country or request any capabilities for it, then the account owner can’t change its country. Otherwise, it depends on the account’s Dashboard access:
- Full Stripe Dashboard: During onboarding, the account owner can select any acquiring country, the same as when signing up for a normal Stripe account. Stripe automatically requests a set of capabilities for the account based on the selected country.
- Express Dashboard: During onboarding, the account owner can select from a list of countries that you configure in your platform Dashboard Onboarding options. You can also configure those options to specify the default capabilities to request for accounts in each country.
- No Stripe Dashboard: If Stripe is responsible for collecting requirements, then the onboarding flow lets the account owner select any acquiring country. Otherwise, your custom onboarding flow must set the country and request capabilities.
レスポンスには ID が含まれており、システム全体で Account
を参照する場合はこれを使用します。
ケイパビリティをリクエストする
You can request capabilities when creating an account by setting the desired capabilities’ requested
property to true. For accounts with access to the Express Dashboard, you can also configure your Onboarding options to automatically request certain capabilities when creating an account.
Stripe’s onboarding UIs automatically collect the requirements for requested capabilities. To reduce onboarding effort, request only the capabilities you need.
Prefill information
If you have information about the account holder (like their name, address, or other details), you can simplify onboarding by providing it when you create or update the account. The onboarding interface asks the account holder to confirm the pre-filled information before accepting the Connect service agreement.
If you onboard an account and your platform provides it with a URL, prefill the account’s business_profile.url. If the business doesn’t have a URL, you can prefill its business_profile.product_description instead.
実装内容をテストする際は、テストデータを使用して、本人確認、事業情報の確認、入金の失敗などのさまざまな結果をシミュレーションできます。
収集する情報を決定する
As the platform, you must decide if you want to collect the required information from your connected accounts up front or incrementally. Up-front onboarding collects the eventually_
requirements for the account, while incremental onboarding only collects the currently_
requirements.
Onboarding type | メリット |
---|---|
Up-front |
|
Incremental |
|
To determine whether to use up-front or incremental onboarding, review the requirements for your connected accounts’ locations and capabilities. 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 collection_
parameter. To collect the account’s future requirements, set collection_
to include
.
ユーザーに表示するポリシーをカスタマイズする
Stripe の利用規約とプライバシーポリシーは、オンラインのアカウント登録で連結アカウントに提示されます。Stripe の利用規約に同意していない連結アカウントは、アカウント登録の最後の画面で規約を受け入れるように求められます。また、オンラインのアカウント登録のフッターにも、Stripe の利用規約とプライバシーポリシーへのリンクが掲載されています。
プラットフォームが要件の収集を行う連結アカウントに対しては、アカウント登録フローをカスタマイズする追加オプションがあります。以下に概要を示します。
自社で利用規約への同意を管理する
プラットフォームとして、貴社が必要な情報を収集する責任を負う連結アカウントを登録している場合、Stripe のオンラインのアカウント登録コンポーネントではなく、自社のプロセスを使用して利用規約への同意を収集できます。自社のプロセスを使用する場合、アカウント登録の最終画面では、連結アカウントには入力した情報の確認のみが求められます。Stripe の利用規約への同意は貴社で確実に取得する必要があります。
ただし、オンラインのアカウント登録には (フッターなどに) 利用規約へのリンクが表示されます。このリンクを、自社の規約およびプライバシーポリシーへのリンクで置き換えることを選択できます。
利用規約およびプライバシーポリシーへのリンク
Stripe の利用規約とプライバシーポリシーはオンライン登録のいたるところで連結アカウントに提示されます。貴社が要件の収集に責任を負う連結アカウントの場合、これらのリンクを自社の規約とポリシーに置き換えることができます。以下の手順に従って Stripe 利用規約を組み込み、Stripe プライバシーポリシーにリンクします。
アカウント登録コンポーネントを実装するサーバー側クライアント側
連結アカウントの ID と、有効にするコンポーネントとして account_
を指定し、Account Session (アカウントセッション) を作成します。
アカウントセッションを作成する
アカウントセッションの作成時に、components
パラメーターで account_
を指定して、アカウント登録を有効にします。
アカウントセッションを作成して ConnectJS を初期化すると、フロントエンドにアカウント登録コンポーネントを表示できます。
The StepChange object
The StepChange
type is defined in connect.
. Every time the connected account navigates from one step to another in the onboarding process, the step change handler receives a StepChange
object with the following property:
Name | タイプ | Example value |
step | string (must be a valid step name) | business_ |
The unique reference to an onboarding step. |
Step Restrictions
- The
StepChange
object is only for analytics. - Steps can appear in any order and can repeat.
- The list of valid
step
names can change at any time, without notice.
Step Names
Each page in an onboarding flow has one of the following step names.
Step name | 説明 |
---|---|
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 business information from existing accounts with the same owner. |
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. |
proof_ | Collects documentation that verifies a company’s beneficial owners. |
proof_ | Collects documentation to verify that the account representative holds a position of sufficient authority within a company. |
confirm_ | Allows connected accounts to attest that the beneficial owner information provided to Stripe is both current and correct. |
risa_ | (Applies only to businesses in Japan.) Answers questions concerning the Revised Installment Sales Act. |
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 can 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_ | 連結アカウントは、サマリーステップから、ビジネスタイプに関連する情報を更新できます。 |
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 public-facing information related to their business. |
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. |
Identify and address requirement updatesサーバー側
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 trigger cards.
Send a connected account back through onboarding when it has any currently_
or eventually_
requirements. You don’t need to identify the specific requirements, because the onboarding interface knows what information it needs to collect. For example, if a typo is preventing verification of the account owner’s identity, onboarding prompts them to upload an identity document.
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.
For connected accounts where controller.requirement_collection is stripe
, stop receiving updates for identity information after creating an Account Link or Account Session.
Accounts store identity information in the company
and individual
hashes.
確認エラーを処理する
account.updated イベントをリッスンします。current_
が着信したときにアカウントに currently_
フィールドが含まれている場合は、対応する機能が無効になり、そのフィールドが past_
に追加されます。
アカウント登録コンポーネントにアカウントを誘導して、確認要件を修正できるようにします。
Stripe ユーザー認証を無効にする
埋め込みアカウント登録を使用する場合、Stripe ユーザー認証がデフォルトで有効になります。disable_
を使用して、この動作を削除できます。
ベストプラクティスとして、2 要素認証または同等のセキュリティ対策を導入することをお勧めします。Custom など、この機能をサポートするアカウント設定では、連結アカウントがマイナス残高を返済できない場合、貴社がそのアカウントに対する責任を負うことになります。