#pablo_connect-financial-connections

1 messages ยท Page 1 of 1 (latest)

ruby kiteBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1235958639307653201

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

coral sageBOT
thorny swallow
#

Hi there ๐Ÿ‘‹ can you clarify whether you're referring to working with Financial Accounts (part of Stripe Treasury) or Financial Connections (what you seem to have linked to documentation about)?

chilly lily
#

Hi Toby, financial connections

#

sry, my bad with the first sentence

thorny swallow
#

All good, just wanted to make sure we were aligned!

#

The portion for creating the Token is here:
https://docs.stripe.com/connect/payouts-bank-accounts?bank-account-collection-method=financial-connections&bank-account-collection-integration=direct-api#create-an-external-payouts-account

You'll use the ID of the Payment Method, that was generated from the Setup Intent was used previously, in that request to create the Token.

Learn how to manage external bank accounts and debit cards for connected accounts

chilly lily
#

yeah but it asks for a connected account id as well:
curl https://api.stripe.com/v1/tokens
-u "sk_test_51HCQMyIudlrw5tcZOKQLs5AMCNutV38fq40t1jSUmpcObxLneNe00ppxY5difIMlul887KvYyY44YObNpHae5fE300zH91Zkyc:"
-H "Stripe-Account: {{CONNECTED_ACCOUNT_ID}}"
-d "bank_account[payment_method]"={{PAYMENT_METHOD_ID}}
-d customer={{CUSTOMER_ID}}

thorny swallow
#

I would strongly recommend rolling that secret key now that it's been shared publicly, even if it is just a testmode key.

#

What Connected Account are you trying to create an External Account for? That's the ID that you need to provide.

chilly lily
#

I might be looking up into another workflow, let me tell you what im looking for, you might suggest me another way to do it:

I want to use Stripe's financial connections to collect the user bank account and save it so i can make payouts to that account in the future.

thorny swallow
#

Yup, that's right, so you'd provide the ID of the Connected Account that you want to use the newly associated bank account for Payouts for.

chilly lily
#

wait so that id must be generated by me right?

#

because i don't understand where do i get it

thorny swallow
#

Let's take a step back.

#

Are you expecting to be able to use these bank accounts to make Payouts to your Customers?

chilly lily
#

no, i want to use our stripe account for that

#

i will use my company stripe account to payout them

thorny swallow
#

Sorry, I'm not sure I'm following.

#

Let's set aside Stripe terms for a moment, what is the business flow you're trying to build?

chilly lily
#

step by step:
The user enters his bank account details using stripe's financial connections feature.
We receive the information from stripe and save those details.
We will make payments to those accounts using payouts

thorny swallow
#

That's not supported.

chilly lily
#

so financial connections are not supported for this?

#

okey

thorny swallow
#

Financial Connections are supported for a Connected Account's External Accounts, that's the guide that you linked to, but you have to first onboard your user/customer as a Connected Account.

chilly lily
#

oh okey, my bad, so once the user is onboarded as a connected account i can then use financial accounts to gather other bank accounts from them and make payouts

thorny swallow
#

Yup. You would onboard them as a Connected Account, which will create a Stripe Account for them. You can then use that Account ID when creating the Token, and use it to create an External Account for that Connected Account.

Then you can make Transfers from your Platform Account to send funds to your Connected Accounts, if you aren't going to route funds to them automatically as part of processing payments. The funds in the Connected Account's Stripe balances can then be paid out to their associated External Account.