Stripe: External accounts schemas
2 Stripe schemas with complete fields and constraints.
← External accounts operations · All schemas
Update a bank account — external Accounts post External Accounts Id — request body — body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: not allowed |
account_holder_name | string | Optional | The name of the person or business that owns the bank account. Maximum length: 5000 |
account_holder_type | string | Optional | The type of entity that holds the account. This can be either `individual` or `company`. One of: , company, individual Maximum length: 5000 |
account_type | string | Optional | The bank account type. This can only be `checking` or `savings` in most countries. In Japan, this can only be `futsu` or `toza`. One of: checking, futsu, savings, toza Maximum length: 5000 |
address_city | string | Optional | City/District/Suburb/Town/Village. Maximum length: 5000 |
address_country | string | Optional | Billing address country, if provided when creating card. Maximum length: 5000 |
address_line1 | string | Optional | Address line 1 (Street address/PO Box/Company name). Maximum length: 5000 |
address_line2 | string | Optional | Address line 2 (Apartment/Suite/Unit/Building). Maximum length: 5000 |
address_state | string | Optional | State/County/Province/Region. Maximum length: 5000 |
address_zip | string | Optional | ZIP or postal code. Maximum length: 5000 |
default_for_currency | boolean | Optional | When set to true, this becomes the default external account for its currency. |
documents | object | Optional | Documents that may be submitted to satisfy various informational requests. |
documents.bank_account_ownership_verification | object | Optional | |
documents.bank_account_ownership_verification.files | array | Optional | |
documents.bank_account_ownership_verification.files[] | string | Each item | Maximum length: 500 |
exp_month | string | Optional | Two digit number representing the card’s expiration month. Maximum length: 5000 |
exp_year | string | Optional | Four digit number representing the card’s expiration year. Maximum length: 5000 |
expand | array | Optional | Specifies which fields in the response should be expanded. |
expand[] | string | Each item | Maximum length: 5000 |
metadata | JSON | Optional | Set of [key-value pairs](https://docs.stripe.com/api/metadata) 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`. |
metadata (anyOf 1) | object | Alternative | Additional keys: see wildcard field |
metadata (anyOf 1).* | string | Additional keys | |
metadata (anyOf 2) | string | Alternative | One of: |
name | string | Optional | Cardholder name. Maximum length: 5000 |
Update a bank account — external Accounts post External Accounts Id — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | JSON | Root | |
$ (anyOf 1) | Model | Alternative | Expand Retrieve a bank account — response body |
$ (anyOf 2) | Model | Alternative | Expand Retrieve a card — customers get Customers Customer Cards Id — response body |
Referenced models: Retrieve a bank account — response body, Retrieve a card — customers get Customers Customer Cards Id — response body