#connor11528
1 messages ยท Page 1 of 1 (latest)
Hey there
First, lets clarify a little bit. When you say "payment method" here, are you talking about adding an external account for payouts to that Connected Account?
we're working on "instant payout" functionality for our customers so we want them to be able to add a debit card that they can receive payouts to
so i think yes
Got it, thank you that helps. So in this case you wouldn't actually use stripe.createPaymentMethod, you want stripe.createToken() here: https://stripe.com/docs/js/tokens_sources/create_token?type=cardElement
You also want to ensure to pass currency in your data object when you call that method: https://stripe.com/docs/js/tokens_sources/create_token?type=cardElement#stripe_create_token-data-currency
You then create an external account using that card token: https://stripe.com/docs/api/external_account_cards/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.
Also, these are Custom accounts, correct?
they're "Connect" accounts
Sure, but there are different types of Connect accounts -- Standard, Express, and Custom.
The reason I ask is because you would only manage this yourself as the platform if you are using Custom Accounts
Okay yes Custom accounts. We're trying to allow them to add debit card for this: "you must add a supported debit card" https://stripe.com/docs/connect/instant-payouts
and they're going to manage this through their CommentSold (my company) dashboard
Yep that all makes sense then and you want to follow what I showed you above (create a Token instead of a Payment Method then create an External Account using that Card Token)
okay so we'll use that create a card method you shared thank you. What is the create payment method about?
The createPaymentMethod is to create PaymentMethods for customers to pay your platform.
okay we'll ignore that then ๐