I spent the last two days pouring over the stripe documentation, but can't I find how to add a card to an "account" in stripe.
Q. How to attach a debit-card for payouts to stripe.accounts.create?
stripe.accounts.create({
type: 'standard',
business_type: 'individual',
default_currency:'USD',
country: 'US',
email: '[email protected]',
requested_capabilities: [ 'transfers' ],
// here ?
}).then(acc => {
// or maybe ?
}).catch(console.error)
Also, an example on how to select that payment method to payout to would be appreciated.
Thanks for any input