provider POST /v1/accounts/{account}/bank_accounts/{id}
@utdk/stripe /v1/accounts/{account}/bank_accounts/{id}
PostAccountsAccountBankAccountsId
<p>Updates the metadata, account holder name, account holder type of a bank account belonging to a connected account and optionally sets it as the default for its currency. Other bank account details are not editable by design.</p> <p>You can only update bank accounts when <a href="/api/accounts/object#account_object-controller-requirement_collection">account.controller.requirement_collection</a> is <code>application</code>, which includes <a href="/connect/custom-accounts">Custom accounts</a>.</p> <p>You can re-enable a disabled bank account by performing an update call without providing any arguments or changes.</p>
account path required
string
id path required
string

Try it

Authentication
Configure credentials for Stripe API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

postaccountsaccountbankaccountsid
POST/v1/accounts/{account}/bank_accounts/{id}
<p>Updates the metadata, account holder name, account holder type of a bank account belonging to a connected account and optionally sets it as the default for its currency. Other bank account details are not editable by design.</p> <p>You can only update bank accounts when <a href="/api/accounts/object#account_object-controller-requirement_collection">account.controller.requirement_collection</a> is <code>application</code>, which includes <a href="/connect/custom-accounts">Custom accounts</a>.</p> <p>You can re-enable a disabled bank account by performing an update call without providing any arguments or changes.</p>

Parameters

required
required

Input

The name of the person or business that owns the bank account.

The type of entity that holds the account. This can be either `individual` or `company`.

The bank account type. This can only be `checking` or `savings` in most countries. In Japan, this can only be `futsu` or `toza`.

City/District/Suburb/Town/Village.

Billing address country, if provided when creating card.

Address line 1 (Street address/PO Box/Company name).

Address line 2 (Apartment/Suite/Unit/Building).

State/County/Province/Region.

ZIP or postal code.

When set to true, this becomes the default external account for its currency.

Documents that may be submitted to satisfy various informational requests.

Two digit number representing the card’s expiration month.

Four digit number representing the card’s expiration year.

Specifies which fields in the response should be expanded.

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`.

Cardholder name.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import stripe from '@utdk/stripe';

await stripe.postaccountsaccountbankaccountsid()