provider POST /v1/accounts/{account}/bank_accounts
@utdk/stripe /v1/accounts/{account}/bank_accounts
Create an external account
<p>Create an external account for a given account.</p>
account 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.

postaccountsaccountbankaccounts
POST/v1/accounts/{account}/bank_accounts
<p>Create an external account for a given account.</p>

Parameters

required

Input

Either a token, like the ones returned by [Stripe.js](https://stripe.com/docs/js), or a dictionary containing a user's bank account details.

When set to true, or if this is the first external account added in this currency, this account becomes the default external account for its currency.

Specifies which fields in the response should be expanded.

A token, like the ones returned by [Stripe.js](https://docs.stripe.com/js) or a dictionary containing a user's external account details (with the options shown below). Please refer to full [documentation](https://stripe.com/docs/api/external_accounts) instead.

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

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.postaccountsaccountbankaccounts()