#gearoid_api
1 messages ¡ Page 1 of 1 (latest)
đ 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/1245744429428379830
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Asking a colleague. Will get back to you
Can you link the doc you're looking at
Learn how to work with account controller properties instead of specifying account types.
Where you set:
type: "none",
},```
So you can't use account links
then select at the bottom
Ok
can you help provide guidance then? Out current setup is account type: 'custom'
but need to have controller.losses.payments: 'stripe'
is this possible without having stripe_dashboard.type: 'full'
Yep
DId you see #1245744429428379830 message ?
The issue is you have bothj:
controller.requirement_collection = stripe```
You don't explicitly specify requirement_collection in your code
But it defaults to stripe: https://docs.stripe.com/api/accounts/create#create_account-controller-requirement_collection
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 you'd have to set it to application if you want to maintain dashboard type as none
ahh ok
I have not specified requirement_collection in the accounts.create
is stripe the default?
sorry sorry
no worries
Ahh yes, now i remember how i got here
when specifying controller.requirement_collection = application i get this error "When controlling requirement collection, the Connect application must also control losses, fees, and specify a dashboard type of none."
My controller config for reference
Ah ok
fees: { payer: 'application' },
losses: { payments: 'stripe' },
stripe_dashboard: { type: 'none' },
requirement_collection: 'application',
}
Yep yep
"When controlling requirement collection, the Connect application must also control losses, fees, and specify a dashboard type of none." is accurate
So if you need losses to be stripe, dashboard to be none, and requirement_collection to be stripe you just can't use account links
I think you'd need to either do: https://docs.stripe.com/connect/embedded-onboarding or https://docs.stripe.com/connect/api-onboarding
Show a localized onboarding form that validates data.
Build your own onboarding flow using Stripe's APIs.
Will api-onboarding work with requirement_collection = stripe ?
I think so, but not sure offhand
Ok thanks. I was wrong with the assumption then that requirement_collection = stripe only allows for a "Stripe-hosted onboarding" then?
Correct