#yolan - account prefill

1 messages · Page 1 of 1 (latest)

shut swan
#

Yes, you can prefill required info via the API

heady grove
#

I use the stripe account create API: https://stripe.com/docs/api/accounts/create, but when I enter information on "business_profile" or in "company" parameters, the informations does not appear to be prefill when I go on the account setup page of stripe. Do you know how can I do it ?

shut swan
#

Well the form you showed is asking for an address for the company. Did you set this address? What are the requirements on the account before you send to onboarding?

#

Similarly, the other view is for Person data, which you did not show that you had set

heady grove
#

Here is the full payload I send in the accounts.create function: .accounts.create({ country: CountryISOCode[organization.country], type: "custom", business_type: "non_profit", email: user.email || undefined, capabilities: { transfers: { requested: true }, }, settings: { payouts: { schedule: { monthly_anchor: StripeMonthlyAnchor, interval: "monthly" } } }, company: { name: organization.name, phone: user.phone || undefined, address: { city: organization.city || undefined, country: CountryISOCode[organization.country], line1: organization.address || undefined, postal_code: organization.postalCode || undefined, state: organization.region || undefined, }, }, business_profile: { name: organization.name, support_address: { city: organization.city || undefined, country: CountryISOCode[organization.country], line1: organization.address || undefined, postal_code: organization.postalCode || undefined, state: organization.region || undefined, }, support_email: user.email || undefined, support_phone: user.phone || undefined, }, }) This is why I expected that at least, the address of the company would be prefill

serene adder
#

Hello! Taking over and catching up, hang on...

#

Can you provide english versions of the screenshots you shared above?

serene adder
lilac wedge
#

Parlez-vous des activités de "gros cus" 😄
@heady grove Un choix intéressant pour faire des tests xD

serene adder
#

English please? 🙂

lilac wedge
#

Ah sorry, out of context I just noticed the test name of the account in french, that i will not tanslate and that made me laugh 😄

heady grove
#

Hello, thank you for the support. Here is the screenshot in english, and the requestId I made is req_x1YlLVOeuaVXJB

serene adder
#

Thank you! Looking...

heady grove
serene adder
#

You can see there you didn't supply any of the information shown in the screenshots above, so the behavior you're seeing is expected.

heady grove
#

Ha sorry, you'r right

lilac wedge
heady grove