#NewtReyes-connect-OAuth
1 messages ยท Page 1 of 1 (latest)
Hey there ๐ have you seen our other approach for connected accounts? This is our recommended approach rather than the OAuth flow:
https://stripe.com/docs/connect/standard-accounts
Is this for new accounts only?
It will create new accounts, yes.
Is there a way to connect an already created account?
Or is there a migration path for old accounts to the newly created account?
The OAuth flow lets you try to connect to an existing account, but there is a possibility of that flow creating a new account instead. If the connected account is already controlled by another platform then you won't be able to connect to it and a new account will be created.
There is a way to can try to connect to an existing account, but there is a possibility of that flow creating a new account instead.
Are there any docs detailing this?
Apologies, realized that was vague and updated. The OAuth flow is the one that tries to connect to existing accounts.
If the connected account is already controlled by another platform then you won't be able to connect to it and a new account will be created.****
Makes sense
Apologies, realized that was vague and updated. The OAuth flow is the one that tries to connect to existing accounts.
No prob
If you're going that way then it sounds like you want the read_write scope, but there is a note at the top of the OAuth doc about that not working for existing accounts.
Yeah
we noticed the "small detail"
๐
Please correct me if wrong, but that means that even if we allow the client to oauth, the token we receive will only be allowed to read data from their account. Any inserts, updates or deletes won't be allowed.
correct?
if that is the case, is there a way for customers to migrate their old accounts to the new accounts?
Apologies for the delay while I was confirming some details. If you try to connect to an existing standard account, and specify a read_write scope, then this will create a new account and you wouldn't be able to write in the intended one.
Also we no longer recommend using OAuth tokens for interacting with objects on a connected account, instead we recommend using our Stripe-Account header:
https://stripe.com/docs/api/connected_accounts
Can you elaborate on what you mean by migrate their old account?