#holm-connect
1 messages · Page 1 of 1 (latest)
@nova sphinx it's https://stripe.com/docs/api/payouts/list and you combine it with the Stripe-Account option (https://stripe.com/docs/connect/authentication) to run the API request on the specific Standard account
Nice!
Thanks
Actually I have another question too, I dont know if you can answer it. When we connect the account, we fail in setting the redirect url domain.com/admin/stripe/connect/retrieve/token
what kind of error are you getting exactly?
Hmm, we are not getting any error, only that we cannot connect the account because the url i not created. But the call with creating of the url is there.
I don't really follow you unfortunately. "cannot connect the account because the url i not created" you must be getting some kind of error. What exactly do you do in terms of code, what do you expect to see, what do you see instead?
can you show me this "call with creating of the url" that you're looking at as well?
seems sensible enough! What kind of issue are you running into?
If I have created the redirect url manuel in stripe beforehand, it works perfect. But when I have not, they get an error that the redirect url is missing. So I would like the url to be added on the connect call
well you have to set the redirect URL in your platform account's dashboard before doing any of this yes https://stripe.com/docs/connect/oauth-standard-accounts#integrating-oauth
you only have to do it once though, so I'm quite confused as to why you'd ever be in a situation where it's not set. It's a one-time thing, you configure this when first setting up your platform, it doesn't change each time you onboard a new Standard account to your platform.
But every connected account have their own subdomain
So right now I had added a url for every account
not sure what the subdomain has to do with each account
that seems like not a good way to integrate in my opinion! just use a single redirect_uri and use other things to identify the accounts
for example you can add &state parameter (https://stripe.com/docs/connect/oauth-reference) to the URL to identify accounts