#ohura

1 messages · Page 1 of 1 (latest)

shy crestBOT
wanton ice
#

Hi there, we can only support your in English

covert bronze
#

Create a linked account with API (https://stripe.com/docs/api/accounts/create)
You are about to enter information such as account information using account link (https://stripe.com/docs/api/account_links/create)
I want to log in by SMS authentication on the page created by account link, but password authentication will be required if the email address is other than Gmail.
Is there a way around this?

wanton ice
#

What do you mean by but password authentication will be required if the email address is other than Gmail. ? You want to accept non-Gmail email address only?

covert bronze
#

https://api.stripe.com/v1/accounts
, you can also create an email other than Gmail when creating a custom account.
Is it possible to set the password in that case with a parameter?

wanton ice
#

No, there's no param to set a password during account creation.

covert bronze
#

Then
v1/account_links
What will be the password when it is created with

wanton ice
#

I'm afraid that I don't quite understand your question.

covert bronze
#

Create users with API in connect's custom.
After that, we are trying to retrieve user information with account_links.
At that time, if the email address is Gmail, the user will be authenticated by SMS, and if the email address is not Gmail, the user will be asked for a password.
However, the password is unknown as it cannot be set.
I would like to know the solution to this problem.

wanton ice
#

As I explained earlier, there's no way to programmatically set a password for a connected account.

covert bronze
#

Does this mean that account_links cannot be used outside of Gmail for the newly created integrated account?

wanton ice
#

Your users can use any email during the connect onboarding, there's no restriction on what email addresses they should use, as long as these email addresses are valid.

covert bronze
#

How do I enter the password for account_links?
Or can I use SMS authentication for all addresses?
v1/account_links
When using

wanton ice
#

By password do you mean the SMS OTP?

covert bronze
final wigeon
#

👋 taking over and gimme a few mins to catchup

#

We can't test the URL because it can only be accessed once (when you pasted here it's already consumed)

#

Let's take a step back

#

Which account type are you creating? (standard/custom/express)

covert bronze
#

custom

final wigeon
covert bronze
#

req_7EylK8Ag5TOkAk

final wigeon
#

Okie I am trying a similar request to you.

#

It doesn't require me to input password

#

probably you entered an email associated with an existing account?

covert bronze
#

Yes, we have done this multiple times in testing.

#

OK, I understood when I set the phone number to a non-registered number.

#

Thank you so much