#smc-treasury-tokens
1 messages ยท Page 1 of 1 (latest)
Are you talking about for this step here?
https://stripe.com/docs/treasury/examples/moving-money#adding-an-external-bank-account
ah yes, exactly right
Hmmm, I'm not sure. This is a fairly new product for me. What all have you tried so far?
no worries
well, we can successfully create the setup intent by passing those details over the wire, but just feel a bit skittish about doing so ๐ everywhere else in our app (for non-treasury-related payment/setup intents) we use Elements or stripe.js to create card tokens.
we haven't tried to use the token just because there didn't seem to be any docs around its support (and treasury being new to us too ๐ )
so I just figured I'd ask here. any chance you could ping a treasury person on your end?
๐ stepping in here as two-shoes needs to step away.
no worries! hello!
Hmm yeah I'm pretty sure you can't pass a token for Treasury and you do need to pass the bank account information.
I'll double check though
many thanks
Okay yeah so you can't use a token. The other option here would be to attach a financial connections account (https://stripe.com/docs/api/setup_intents/create#create_setup_intent-payment_method_data-us_bank_account-financial_connections_account) instead of submitting the bank details server side.
oh interesting
tbh I'm not familiar with a financial connections account - how does that get set up?
would it be the same as this? https://stripe.com/docs/financial-connections/connect-payouts?platform=web#collect-a-financial-connections-account
https://stripe.com/docs/financial-connections is the overall docs
Yep
What you linked is where you would create the financial connection account
okay cool
so in the flow, either I can create a financial connection account as an intermediate step, then throw that in the setup intent to move funds to a treasury account
I believe so, yes. I haven't tested this myself so I would recommend testing, but that is my understanding.