You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The official stripe documentation mentions external_account accepts token as string and object. Your type expects String only. It should be flexible to accept both types.
The official stripe documentation mentions external_account accepts token as string and object. Your type expects String only. It should be flexible to accept both types.
` const params: Stripe.AccountCreateParams = {
type: 'custom',
country: data.country,
email: data.email,
requested_capabilities: ['card_payments', 'transfers'],
business_type: data.businessType,
tos_acceptance: {
date: Math.floor(Date.now() / 1000),
ip: context.rawRequest.ip,
},
external_account: {
object: 'bank_account',
account_number: data.bankAccount,
}
}`
The text was updated successfully, but these errors were encountered: