#testDeveloper
1 messages · Page 1 of 1 (latest)
What is it you're trying to achieve? Generally you shouldn't be using the Sources API at all (its mostly deprecated): https://stripe.com/docs/sources
how to make an account default
Can you elaborate on the question? What account? Default for what?
Payments, or payouts?
payouts
You mark it as default_for_currency: https://stripe.com/docs/api/external_account_bank_accounts/update#account_update_bank_account-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.
so it needs to be passed inside meta data object?
no, it's a top level parameter, not inside metadata. Passing things in metadata has no impact on API behaviour as it's just for your own tracking.
what is the difference between an account & bank account?
can you share a link to what you call an "account" and what you call a "bank account" in the API?
ok or in other words account or external account?
can you share a link to what you call an "account" exactly? a link to the specific API object
https://stripe.com/docs/api/accounts/create
https://stripe.com/docs/api/external_account_bank_accounts/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.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
an Account is a Stripe account. It's like your own Stripe account, it's something you create/manage for the user of your marketplace so they have a representation in Stripe and a way to verify their identity.
an ExternalAccount is a bank account or debit card, which is where payouts for the Stripe Account that owns that ExternalAccount, are sent to.
ok
what will happen if we create a connect account everytime instead of external accounts can we handle payouts?
Hi! I'm taking over this thread.
Can you clarify your question? What do you mean by "instead of"? a connect account and an external account are two completely different things as mentioned earlier.
suppose if we have an owner who has the stripe connect account, in his marketplace he has users and service providers, users have cards and payouts need to be performed from users to service providers , so if i add connect accounts for every service provider in the marketplace will that work out or they need to have external accounts. Please suggest according the use case.
If you want to send money from your Stripe account, then you need to use Connect:
- Each service provider will need a Stripe account connected to your main Stripe account
- Then the main account can send money to the connected account
- And if the connected account has an external account setup, they will receive the payouts
Can you please elaborate point no 1 and the function used for the same ?
you would start with https://stripe.com/docs/connect/explore-connect-guide to understand how Connect works and how accounts can be created and connected.