#yolan - account prefill
1 messages · Page 1 of 1 (latest)
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 ?
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
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
Hello! Taking over and catching up, hang on...
Can you provide english versions of the screenshots you shared above?
Also, can you provide the request ID for the account creation request the code above made? Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Parlez-vous des activités de "gros cus" 😄
@heady grove Un choix intéressant pour faire des tests xD
English please? 🙂
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 😄
Hello, thank you for the support. Here is the screenshot in english, and the requestId I made is req_x1YlLVOeuaVXJB
Thank you! Looking...
Yes, I wrote to fast "gros custom", as I test stripe custom. This is why "cus" and not "cul"😂
That doesn't appear to be the correct request ID, that's you fetching the account, not creating it. However, I was able to find the correct request, which is here: https://dashboard.stripe.com/test/logs/req_KbVCPCNTskTANI
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.
Ha sorry, you'r right
Ohh, i see :D, i'll leave you to debug, best of luck !
Thank you very much, I didn't know I can reach the request like that. It is strange that the information are not filled in the request, I was sure I provided its. I will deeper look at that. Great support, thanks again