Update an account
Updates a connected account by setting the values of the parameters passed. Any parameters not provided are left unchanged.
For Custom accounts, you can update any information on the account. For other accounts, you can update all information until that account has started to go through Connect Onboarding. Once you create an Account Link or Account Session, some properties can only be changed or updated for Custom accounts.
To update your own account, use the Dashboard. Refer to our Connect documentation to learn more about updating accounts.
Parameters
- business_
typeenum The business type. Once you create an Account Link or Account Session, this property can only be updated for Custom accounts.
- capabilitiesdictionary
Each key of the dictionary represents a capability, and each capability maps to its settings (e.g. whether it has been requested or not). Each capability will be inactive until you have provided its specific requirements and Stripe has verified them. An account may have some of its requested capabilities be active and some be inactive.
- companydictionary
Information about the company or business. This field is available for any
business_type
. Once you create an Account Link or Account Session, this property can only be updated for Custom accounts. - emailstring
The email address of the account holder. This is only to make the account easier to identify to you. Stripe only emails Custom accounts with your consent.
- individualdictionary
Information about the person represented by the account. This field is null unless
business_type
is set toindividual
. Once you create an Account Link or Account Session, this property can only be updated for Custom accounts. - metadatadictionary
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to
metadata
. - tos_
acceptancedictionary Details on the account’s acceptance of the Stripe Services Agreement This property can only be updated for Custom accounts.
More parameters
- account_
tokenstring - business_
profiledictionary - default_
currencyenum - documentsdictionary
- external_
accountstring - settingsdictionary
Retrieve account
List all connected accounts
Returns a list of accounts connected to your platform via Connect. If you’re not a platform, the list is empty.
Parameters
No parameters.
More parameters
- createddictionary
- ending_
beforestring - limitinteger
- starting_
afterstring
Returns
A dictionary with a data
property that contains an array of up to limit
accounts, starting after account starting_after
. Each entry in the array is a separate Account
object. If no more accounts are available, the resulting array is empty.
Delete an account
With Connect, you can delete accounts you manage.
Accounts created using test-mode keys can be deleted at any time. Standard accounts created using live-mode keys cannot be deleted. Custom or Express accounts created using live-mode keys can only be deleted once all balances are zero.
If you want to delete your own account, use the account information tab in your account settings instead.
Parameters
No parameters.
Returns
Returns an object with a deleted parameter if the call succeeds. If the account ID does not exist, this call returns an error.
Reject an account
With Connect, you may flag accounts as suspicious.
Test-mode Custom and Express accounts can be rejected at any time. Accounts created using live-mode keys may only be rejected once all balances are zero.
Parameters
- reasonstringRequired
The reason for rejecting the account. Can be
fraud
,terms_of_service
, orother
.
Returns
Returns an account with payouts_enabled
and charges_enabled
set to false on success. If the account ID does not exist, this call returns an error.