#hazelnutgelato-Treasury-ToS
1 messages ยท Page 1 of 1 (latest)
Haha of course, fwiw all the other required steps of setting up a custom connect w/ treasury can be done via the dashboard. In any case, have any doc links to where I can find that curl?
Or, you can send them through Custom Onboarding
You can't accept the normal ToS via the Dashboard either, no?
Yea I just manually made this one because I want to link it to a demo instance in production
so where can I find the API side way of accepting those ToS?
Gotcha. If I remember correctly you just pass the tos_acceptance again
I'm assuming in this case you added the Treasury capability after you had already accepted ToS initially
So cURL should be: curl https://api.stripe.com/v1/accounts/{{CONNECTED_ACCOUNT_ID}} \ -u sk_test_123: \ -d "tos_acceptance[date]"=timestamp \ -d "tos_acceptance[ip]"="ip" \
No I just hit "create" in the dashboard and followed the steps there, so I think they just never surfaced the ToS for treasury in the dashboard-side create process.
Oh sweet thanks for the curl!
was just looking at the docs
Sure. Other way is to use an Account Link and go to the hosted onboarding page where it should also prompt you for acceptance.
Ooo I didn't know about Account Links, seeing that now
thanks a ton this was all very informative!
Sure thing!
All of the above worked, I'm all set ๐
๐
Any chance there's a Treasury channel, or do you all prefer everything goes in #dev-help ?
Everything in #dev-help
You said: Me again! I'm getting the error that I need to add an account to support Payouts. But, treasury is Active and enabled. Isn't Treasury supposed to act as the payouts account?
(and sorry for not clarifying that you can just post followups in the same thread)
No worries, sorry for being the guy on the question spree, I promise this is my last one
So the Treasury capability by itself doesn't act as an external account.
No need to apologize! We are here 24/5 to help with any questions.
So now that you have the Connected Account active you still need to attach a Financial Account
I'd recommend starting by reading through https://stripe.com/docs/treasury/moving-money/payouts
Got it, is that a recent update? What started me on this journey actually is that we had a customer in prod complete the setup flow for custom connect and treasury, but their treasury account isn't being treated as the payout account. For previous customers it has been though. We're an alpha user of Treasury though so things may have changed
Appreciate those docs
Hmmm I wasn't very familiar with Treasury during the alpha stage so I'm not sure if something changed. If you give me specific IDs then I can take a look at what might be going on?
Yea of course, that'd be really helpful. Just trying to figure out if we need to add a set in our code after they complete custom connect setup
Do you want the prod example or test example?
Both would be great
One sec, thanks again
also seeing here in the docs, it does look like it should be auto-setting the Treasury account as the External/Financial account
Stripe Treasury introduces another type of account to the Stripe ecosystem: financial accounts. When you onboard your platform to Treasury, Stripe automatically creates and assigns a FinancialAccount object to your platform account.
Here's prod: acct_1LT8MdQ6X8ccLzAa
here's test: acct_1LcbaxQ3ZQWyEzfm
Yeah it assigns a financial account to your platform, but not the Connected Account as far as I know
Give me a few minutes to look at the above accounts
No problem, thank you! And yea I do see that on the prod one that it says "financial account active"
Okay sorry server got busy. Taking an actual look now
All good, I really appreciate the help
If I can understand this well enough we may be able to configure our onboarding to let folks choose between using their existing bank account for payouts or Treasury
So looking at the prod account you do create a financial account: https://dashboard.stripe.com/logs/req_tb9ibwDtgW6213
No worries
Yup, I see that. If I'm understanding correctly, that only happens because we're using Treasury yea? If we were doing normal custom connect there would be no need for that financial account creation? And, that created financial account should be being automatically set as the account to send payouts too, correct?
Yep that's correct.
You can just create an External Account as normal for payouts without Treasury
So if that financial account is being created on the prod one, why isn't it being auto-set as the external account?
Hi ๐
I"m stepping in for @radiant magnet . Give me a minute to catch up
Okay so I'm looking at the recent events on the Prod account (acct_1LT8MdQ6X8ccLzAa). I see a banking account is created. Then financial account status is updated and features are added. Finally the treasure.financial_account.features-status_updated event fires:
https://dashboard.stripe.com/events/evt_1LaS1cQ6X8ccLzAakrO3w4VN
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
That link isn't working for me, but that all sounds correct
but I'm not seeing why it doesn't have the financial/treasury account set as the account to send payouts to
Oh, that event is on the Connect Account
got it, see that now
but yea, before this month that process would result in the treasury account being auto-set as the External Account to send payouts too
but now it's coming as "Restricted" because there's no external account
Okay, do you have any example accounts where it did set the new treasury.financial_account as the default for payouts?
Okay but looking at the first one, I see the most recent request was to simply create an external account:
https://dashboard.stripe.com/logs/req_zHjmcPHXCoGZzt
I see the request for a financial account but then about 2 hours later there's an API request that makes a standard External Account for that Connect Account
Yea but I'm quite sure that's not us, it's Stripe. Because the account created is a Treasury account. It's Evolve Bank, that's the Treasury partner. So our customer didn't make that bank account and neither did we. It was generated by Stripe
That API request was not made by Stripe. It was made the the secret API key belonging to this account (acct_1EulNtLSbxUgPeeE) and it was made using the Stripe NodeJS client library.
Hmm ok that does sound like us haha, apologies for that. And that request set the existing Financial account as the external account?
It provided all the details for an entirely separate External Account.
external_account: {
object: "bank_account",
currency: "usd",
country: "US",
routing_number: "0******8",
account_number: "*********4",
account_holder_name: "PracticeProtection Insurance Company (a Risk Retention Group)"
}
this was the payload (with numbers obscured).
Same situation with the second. A separate POST request was made to /v1/accounts/acct_XXXXXX to create an external account with all the details for the bank (routing and account numbers)
Sorry for the delay, had to hop to another call, but I'm certain those are both Treasury accounts. Are you able to see if those are the same as the Financial Accounts?
Nope they are not. The details may be the same but they are created as separate and independent records from your servers
Ok, I don't think I can be productive with your time without looking at our own code more. I'm very confident that those Treasury accounts were being set up automatically by Stripe, but let me dig into it more on my side. Thanks for all the help so far!