#banyman-connect-testing

1 messages · Page 1 of 1 (latest)

weak girder
supple wing
#

"You can test your OAuth integration for Express or Standard account creation with the development client_id." Where can I look my type account?

weak girder
supple wing
#

I thought that accounts are created at the moment when the user goes through the procedure of connecting to my platform, and this is done automatically. Or do I need to create accounts for some user myself?
Can I create an express account for each user?

mystic ingot
#

you should never use OAuth for Express as there's no reason to and it just makes the integration more error-prone. So you should use the second link, which is, you call the API to create the account(it's already connected to your account immediately), then you redirect the user to an onboarding where they claim the account and fill in the required info.

supple wing
mystic ingot
#

it's returned in step 2

#

e.g. const account = await stripe.accounts.create({type: 'express'}); in Node;
the ID would be account.id

supple wing
#

Which is a structure and method request?

mystic ingot
#

I don't understand what you're asking

supple wing
#

I use PHP

mystic ingot
#

there's a PHP tab in the docs

#

the ID would be $account->id;