#mlo300-standard-connect
1 messages ยท Page 1 of 1 (latest)
Hi ๐ I'm not sure I'm understanding the question. Let me know if my answer doesn't seem to fit what you're after.
The ID of the Connected Account is provided in the response when you make a request to create the Connected Account. If you'd like to associate those IDs with user credentials that exist on your site, then you will need to store those Account IDs and make the association on your end.
I would like to implement a button in my site that allows you to login via the standard connect, in my stripe and I can get the data to send payments
So you want to use Stripe Connect as an SSO into your site? Or are you talking about allowing people with existing Stripe accounts to connect to your Platform?
Using Connect as an SSO is not available. But there is a flow allowing existing Stripe users to connect their account to your Platform:
https://stripe.com/docs/connect/oauth-standard-accounts
That being said, this approach is no longer recommend as a production flow, and we typically recommend you create new Connected Accounts instead. Platform controls were introduced in the past, and if a Connected Account is controlled by a Platform it can't be connected to any others. If an account in this state tries to use the OAuth flow to connect to your platform, then a new Connected Account is created for them.
How do you create new connected accounts?
This is the endpoint you use for that:
https://stripe.com/docs/api/accounts/create
This document walks through our recommended flow for onboarding Standard Connected Accounts:
https://stripe.com/docs/connect/standard-accounts
mlo300-standard-connect
I don't understand redirect_url and refresh_url?
What about them are you unclear on? Did you look at the definitions of the fields available in our API reference?
https://stripe.com/docs/api/account_links/create#create_account_link-refresh_url
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.