#bhaskar8781
1 messages · Page 1 of 1 (latest)
Hi there, https://stripe.com/docs/connect/payouts-bank-accounts?bank-account-collection-integration=prebuilt-web-form this doc only tells about creating a new external account, so I'm not sure if it allows user to update an existing one.
Even if it does. The information that user can update is quite limited (https://stripe.com/docs/api/external_account_bank_accounts/update?lang=node#account_update_bank_account). So you might want to create a new exteranal account and set it as default.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
stripe.accounts.updateExternalAccount. is there anyway that i could get the user to select the bank account instead of manually taking in the info?
You mean to update the default_for_currency property (https://stripe.com/docs/api/external_account_bank_accounts/object?lang=node#account_bank_account_object-default_for_currency) ?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
i am talking about web component for the user to select and update the bank.
I don't think it does. Did you test it out?
i will try it out. just found there is custom_account_update in AccountLinkCreateParams. will try it out
will this work? https://stripe.com/docs/api/account_links/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Please try it out, note that option is for custom account only.
we are not using custom. i see 4 options though
namespace AccountLinkCreateParams {
type Collect = 'currently_due' | 'eventually_due';
type Type =
| 'account_onboarding'
| 'account_update'
| 'custom_account_update'
| 'custom_account_verification';
}