Skip to content

Stripe: Account sessions schemas

23 Stripe schemas with complete fields and constraints.

← Account sessions operations · All schemas

Create an Account Session — response body

FieldTypePresenceDescription and constraints
$objectRootAn AccountSession allows a Connect platform to grant access to a connected account in Connect embedded components.

We recommend that you create an AccountSession each time you need to display an embedded component
to your user. Do not save AccountSessions to your database as they expire relatively
quickly, and cannot be used more than once.

Related guide: [Connect embedded components](https://docs.stripe.com/connect/get-started-connect-embedded-components)
accountstringRequired within parentThe ID of the account the AccountSession was created for
Maximum length: 5000
client_secretstringRequired within parentThe client secret of this AccountSession. Used on the client to set up secure access to the given `account`.

The client secret can be used to provide access to `account` from your frontend. It should not be stored, logged, or exposed to anyone other than the connected account. Make sure that you have TLS enabled on any page that includes the client secret.

Refer to our docs to [setup Connect embedded components](https://docs.stripe.com/connect/get-started-connect-embedded-components) and learn about how `client_secret` should be handled.
Maximum length: 5000
componentsModelRequired within parentExpand Create an Account Session — response body — components
expires_atJSONRequired within parent
expires_at (anyOf 1)integerAlternativeThe timestamp at which this AccountSession will expire.
Format: unix-time
expires_at (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
livemodebooleanRequired within parentIf the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
objectstringRequired within parentString representing the object's type. Objects of the same type share the same value.
Known values: account_session

Referenced models: Create an Account Session — response body — components

Create an Account Session — response body — components

FieldTypePresenceDescription and constraints
$objectRoot
account_managementModelRequired within parentExpand Create an Account Session — response body — components account management
account_onboardingModelRequired within parentExpand Create an Account Session — response body — components account management
balance_reportModelRequired within parentExpand Create an Account Session — response body — components documents
balancesModelRequired within parentExpand Create an Account Session — response body — components payouts
disputes_listModelRequired within parentExpand Create an Account Session — response body — components payments
documentsModelRequired within parentExpand Create an Account Session — response body — components documents
financial_accountModelRequired within parentExpand Create an Account Session — response body — components financial account
financial_account_transactionsModelRequired within parentExpand Create an Account Session — response body — components financial account transactions
instant_payouts_promotionModelRequired within parentExpand Create an Account Session — response body — components instant payouts promotion
issuing_cardModelRequired within parentExpand Create an Account Session — response body — components issuing card
issuing_cards_listModelRequired within parentExpand Create an Account Session — response body — components issuing cards list
notification_bannerModelRequired within parentExpand Create an Account Session — response body — components account management
payment_detailsModelRequired within parentExpand Create an Account Session — response body — components payments
payment_disputesModelRequired within parentExpand Create an Account Session — response body — components payment disputes
payment_method_settingsModelRequired within parentExpand Create an Account Session — response body — components payment method settings
paymentsModelRequired within parentExpand Create an Account Session — response body — components payments
payout_detailsModelRequired within parentExpand Create an Account Session — response body — components documents
payout_reconciliation_reportModelRequired within parentExpand Create an Account Session — response body — components documents
payoutsModelRequired within parentExpand Create an Account Session — response body — components payouts
payouts_listModelRequired within parentExpand Create an Account Session — response body — components documents
tax_registrationsModelRequired within parentExpand Create an Account Session — response body — components documents
tax_settingsModelRequired within parentExpand Create an Account Session — response body — components documents

Referenced models: Create an Account Session — response body — components account management, Create an Account Session — response body — components documents, Create an Account Session — response body — components payments, Create an Account Session — response body — components financial account, Create an Account Session — response body — components financial account transactions, Create an Account Session — response body — components instant payouts promotion, Create an Account Session — response body — components issuing card, Create an Account Session — response body — components issuing cards list, Create an Account Session — response body — components payment disputes, Create an Account Session — response body — components payment method settings, Create an Account Session — response body — components payouts

Create an Account Session — response body — components account management

FieldTypePresenceDescription and constraints
$objectRoot
enabledbooleanRequired within parentWhether the embedded component is enabled.
featuresModelRequired within parentExpand Create an Account Session — response body — components account management features

Referenced models: Create an Account Session — response body — components account management features

Create an Account Session — response body — components account management features

FieldTypePresenceDescription and constraints
$objectRoot
disable_stripe_user_authenticationbooleanRequired within parentWhether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
external_account_collectionbooleanRequired within parentWhether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.

Create an Account Session — response body — components documents

FieldTypePresenceDescription and constraints
$objectRoot
enabledbooleanRequired within parentWhether the embedded component is enabled.
featuresModelRequired within parentExpand Create a Payment Method — response body — zip

Referenced models: Create a Payment Method — response body — zip

Create an Account Session — response body — components financial account

FieldTypePresenceDescription and constraints
$objectRoot
enabledbooleanRequired within parentWhether the embedded component is enabled.
featuresModelRequired within parentExpand Create an Account Session — response body — components financial account features

Referenced models: Create an Account Session — response body — components financial account features

Create an Account Session — response body — components financial account features

FieldTypePresenceDescription and constraints
$objectRoot
disable_stripe_user_authenticationbooleanRequired within parentWhether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
external_account_collectionbooleanRequired within parentWhether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
send_moneybooleanRequired within parentWhether to allow sending money.
transfer_balancebooleanRequired within parentWhether to allow transferring balance.

Create an Account Session — response body — components financial account transactions

FieldTypePresenceDescription and constraints
$objectRoot
enabledbooleanRequired within parentWhether the embedded component is enabled.
featuresModelRequired within parentExpand Create an Account Session — response body — components financial account transactions features

Referenced models: Create an Account Session — response body — components financial account transactions features

Create an Account Session — response body — components financial account transactions features

FieldTypePresenceDescription and constraints
$objectRoot
card_spend_dispute_managementbooleanRequired within parentWhether to allow card spend dispute management features.

Create an Account Session — response body — components instant payouts promotion

FieldTypePresenceDescription and constraints
$objectRoot
enabledbooleanRequired within parentWhether the embedded component is enabled.
featuresModelRequired within parentExpand Create an Account Session — response body — components instant payouts promotion features

Referenced models: Create an Account Session — response body — components instant payouts promotion features

Create an Account Session — response body — components instant payouts promotion features

FieldTypePresenceDescription and constraints
$objectRoot
disable_stripe_user_authenticationbooleanRequired within parentWhether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
external_account_collectionbooleanRequired within parentWhether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
instant_payoutsbooleanRequired within parentWhether to allow creation of instant payouts. The default value is `enabled` when Stripe is responsible for negative account balances, and `use_dashboard_rules` otherwise.

Create an Account Session — response body — components issuing card

FieldTypePresenceDescription and constraints
$objectRoot
enabledbooleanRequired within parentWhether the embedded component is enabled.
featuresModelRequired within parentExpand Create an Account Session — response body — components issuing card features

Referenced models: Create an Account Session — response body — components issuing card features

Create an Account Session — response body — components issuing card features

FieldTypePresenceDescription and constraints
$objectRoot
card_managementbooleanRequired within parentWhether to allow card management features.
card_spend_dispute_managementbooleanRequired within parentWhether to allow card spend dispute management features.
cardholder_managementbooleanRequired within parentWhether to allow cardholder management features.
spend_control_managementbooleanRequired within parentWhether to allow spend control management features.

Create an Account Session — response body — components issuing cards list

FieldTypePresenceDescription and constraints
$objectRoot
enabledbooleanRequired within parentWhether the embedded component is enabled.
featuresModelRequired within parentExpand Create an Account Session — response body — components issuing cards list features

Referenced models: Create an Account Session — response body — components issuing cards list features

Create an Account Session — response body — components issuing cards list features

FieldTypePresenceDescription and constraints
$objectRoot
card_managementbooleanRequired within parentWhether to allow card management features.
card_spend_dispute_managementbooleanRequired within parentWhether to allow card spend dispute management features.
cardholder_managementbooleanRequired within parentWhether to allow cardholder management features.
disable_stripe_user_authenticationbooleanRequired within parentWhether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
spend_control_managementbooleanRequired within parentWhether to allow spend control management features.

Create an Account Session — response body — components payment disputes

FieldTypePresenceDescription and constraints
$objectRoot
enabledbooleanRequired within parentWhether the embedded component is enabled.
featuresModelRequired within parentExpand Create an Account Session — response body — components payment disputes features

Referenced models: Create an Account Session — response body — components payment disputes features

Create an Account Session — response body — components payment disputes features

FieldTypePresenceDescription and constraints
$objectRoot
destination_on_behalf_of_charge_managementbooleanRequired within parentWhether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
dispute_managementbooleanRequired within parentWhether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
refund_managementbooleanRequired within parentWhether sending refunds is enabled. This is `true` by default.
smart_disputes_managementbooleanRequired within parentWhether to allow connected accounts to submit disputes using Smart Disputes. Defaults to the value of `dispute_management`.

Create an Account Session — response body — components payment method settings

FieldTypePresenceDescription and constraints
$objectRoot
enabledbooleanRequired within parentWhether the embedded component is enabled.
featuresModelRequired within parentExpand Create an Account Session — response body — components payment method settings features

Referenced models: Create an Account Session — response body — components payment method settings features

Create an Account Session — response body — components payment method settings features

FieldTypePresenceDescription and constraints
$objectRoot
disable_stripe_user_authenticationbooleanRequired within parentWhether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. This is `false` by default.

Create an Account Session — response body — components payments

FieldTypePresenceDescription and constraints
$objectRoot
enabledbooleanRequired within parentWhether the embedded component is enabled.
featuresModelRequired within parentExpand Create an Account Session — response body — components payments features

Referenced models: Create an Account Session — response body — components payments features

Create an Account Session — response body — components payments features

FieldTypePresenceDescription and constraints
$objectRoot
capture_paymentsbooleanRequired within parentWhether to allow capturing and cancelling payment intents. This is `true` by default.
destination_on_behalf_of_charge_managementbooleanRequired within parentWhether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
dispute_managementbooleanRequired within parentWhether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
refund_managementbooleanRequired within parentWhether sending refunds is enabled. This is `true` by default.
smart_disputes_managementbooleanRequired within parentWhether to allow connected accounts to submit disputes using Smart Disputes. Defaults to the value of `dispute_management`.

Create an Account Session — response body — components payouts

FieldTypePresenceDescription and constraints
$objectRoot
enabledbooleanRequired within parentWhether the embedded component is enabled.
featuresModelRequired within parentExpand Create an Account Session — response body — components payouts features

Referenced models: Create an Account Session — response body — components payouts features

Create an Account Session — response body — components payouts features

FieldTypePresenceDescription and constraints
$objectRoot
disable_stripe_user_authenticationbooleanRequired within parentWhether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
edit_payout_schedulebooleanRequired within parentWhether to allow payout schedule to be changed. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
external_account_collectionbooleanRequired within parentWhether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
instant_payoutsbooleanRequired within parentWhether to allow creation of instant payouts. The default value is `enabled` when Stripe is responsible for negative account balances, and `use_dashboard_rules` otherwise.
standard_payoutsbooleanRequired within parentWhether to allow creation of standard payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.