#rzhang139-retrieve-account
1 messages · Page 1 of 1 (latest)
Hi there, you would retrieve the account (https://stripe.com/docs/api/accounts/retrieve) to inspect the information on the account object or listen for account.updated webhooks.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
ok thanks! Where can I get the account information (e.g company name, website, bio, industry) from the onboarding when the account_updated is fired?
That stuff will show up either in the business_profile hash, the company hash, or the individual hash, depending on the specifics of the account. I recommend just testing this out yourself!
ok i see this object
"business_profile": {
"mcc": null,
"name": null,
"product_description": null,
"support_address": null,
"support_email": null,
"support_phone": null,
"support_url": null,
"url": null
},
Is url the company webiste, name the company name, and product description the bio?
The API reference has a description for each property: https://stripe.com/docs/api/accounts/object#account_object-business_profile
i see thanks! Is there also a way to only allow certain business onboard? For example, must be from US, or can only be a company NOT individual?
Yep, you should be using Standard Connect Onboarding: https://stripe.com/docs/connect/standard-accounts which allows you to control the type of accounts created
right, I am using Standard, but where can I ensure only business accounts can be onboarded? Is it through stripe account create api?
Yes see the above, https://stripe.com/docs/connect/standard-accounts#create-account specifically. You create the account so you determine what business type by prefilling that information.
but if we prefill the info, can they still change it during stripe onboarding?
No, did you read the doc above?
"If you’ve already collected information for your connected accounts, you can prefill that information on the account object for the user and it won’t be collected again in the Connect Onboarding flow."
i see, thanks!