provider POST
/v1/customers/{customer}/bank_accounts @utdk/stripe
/v1/customers/{customer}/bank_accounts Create a card
<p>When you create a new credit card, you must specify a customer or recipient on which to create it.</p>
<p>If the card’s owner has no default card, then the new card will become the default.
However, if the owner already has a default, then it will not change.
To change the default, you should <a href="/api/customers/update">update the customer</a> to have a new <code>default_source</code>.</p>
- customer 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.
Code snippet
Updates live as you fill in the form above.
TypeScript
import stripe from '@utdk/stripe';
await stripe.postcustomerscustomerbankaccounts()