# 残高 残高情報を表示して、連結アカウントが入金を実行できるようにします。 残高は、連結アカウントの残高のサマリーと、今後の入金に関する情報を表示します。残高コンポーネントを有効にすると、連結アカウントは、即時入金または手動入金を実行したり、入金スケジュールや[外部銀行口座](https://docs.stripe.com/api/external_accounts.md)を編集したりできます。Stripe が連結アカウントのマイナス残高に対する責任を負う場合、連結アカウントは事前に残高に資金を追加してマイナス残高を回避し事業の中断を防ぐこともできます。 > このコンポーネントは、[入金コンポーネント](https://docs.stripe.com/connect/supported-embedded-components/payouts.md)に含まれる UI のサブセットを描画します。 Note: The following is a preview/demo component that behaves differently than live mode usage with real connected accounts. The actual component has more functionality than what might appear in this demo component. For example, for connected accounts without Stripe dashboard access (custom accounts), no user authentication is required in production. [アカウントセッションの作成](https://docs.stripe.com/api/account_sessions/create.md)時に、 `components` パラメーターで `balances` を指定して、残高を有効にします。残高コンポーネントの各機能は、`balances` にある `features` パラメーターを指定することで、有効または無効にすることができます。 ```curl curl https://api.stripe.com/v1/account_sessions \ -u "<>:" \ -d "account={{CONNECTEDACCOUNT_ID}}" \ -d "components[balances][enabled]=true" \ -d "components[balances][features][instant_payouts]=true" \ -d "components[balances][features][standard_payouts]=true" \ -d "components[balances][features][edit_payout_schedule]=true" \ -d "components[balances][features][external_account_collection]=true" ``` アカウントセッションを作成して、[ConnectJS を初期化](https://docs.stripe.com/connect/get-started-connect-embedded-components.md#account-sessions)すると、フロントエンドで残高コンポーネントを表示できます。 #### JavaScript ```js // Include this element in your HTML const balances = stripeConnectInstance.create('balances'); container.appendChild(balances); ``` `instant_Payouts` 機能に加えて、Instant Payouts を有効にするには、追加の手順が必要になる場合があります: - プラットフォームが連結アカウントから手数料を徴収する場合は、[ダッシュボード](https://dashboard.stripe.com/settings/connect/payouts/instant-payouts)で Instant Payout の収益化を設定する必要があります。 - 連結アカウントのマイナス残高に対してプラットフォームが責任を負う場合、プラットフォームと連結アカウントは Instant Payouts が利用可能なサポート対象国に所在している必要があり、さらにアカウントは[適格基準](https://docs.stripe.com/connect/instant-payouts.md#eligible-connected-accounts)を満たしている必要があります。 - Stripe が連結アカウントのマイナス残高に対する責任を負う場合、アカウントの[利用資格は Stripe が管理します](https://docs.stripe.com/payouts/instant-payouts.md#eligibility-and-daily-volume-limits)。 > 標準の手動入金を使用するには、連結アカウントの[入金スケジュール](https://docs.stripe.com/connect/manage-payout-schedule.md)が `manual` に設定されている必要があります。 `edit_payout_schedule` 機能を `true` に設定することで、入金コンポーネントで入金スケジュールの編集を有効にできます。