#zintegy-express-type
1 messages · Page 1 of 1 (latest)
to clarify, I know these are company/individual because I created these test accounts
Hi 👋
hello 🫡
You can check the business_type property on the Account object: https://stripe.com/docs/api/accounts/object#account_object-business_type
The documentation says this is for "custom only" though, and as far as I can tell from stripe.Account.retrieve, I don't see this information for these two accounts
Can you share the output you are seeing?
<Account account id=acct_1NuHmPRgrUBy9aEO at 0x7f6a20bea9a0> JSON: {
"additional_verifications": {
"tax_id": {
"requested": true,
"requested_at": 1695659826,
"requirements": {
"alternatives": [],
"current_deadline": null,
"currently_due": [],
"disabled_reason": null,
"errors": [],
"eventually_due": [],
"past_due": [],
"pending_verification": []
},
"status": "verified",
"upfront": [
{
"disables": "payouts_and_payments"
}
]
}
},
"business_profile": {
"mcc": null,
"name": null,
"support_address": null,
"support_email": null,
"support_phone": null,
"support_url": null,
"url": "~~~~~~"
},
"capabilities": {
"tax_reporting_us_1099_misc": "active",
"transfers": "active"
},
"charges_enabled": true,
"country": "US",
"created": 1695659826,
"default_currency": "usd",
"details_submitted": true,
"email": "~~~~~",
"external_accounts": {...}
[more elements in this dictionary, but unrelated]
acct_1NuHmPRgrUBy9aEO is a newly created company (specifically, 'sole proprietor') express account
Looking at the creation request here: https://dashboard.stripe.com/logs/req_61yVkLVBVYpMCA, you didn't provide us any information about that. I recommend you set the business_type property on the account creation. https://stripe.com/docs/api/accounts/create#create_account-business_type
This information is provided to Stripe via each user's express account creation, via this menu. Is this information accessible to us?
(this information does not go through us at all; this is directly given to Stripe)
Right. However, business_type isn't accessible via the API for express accounts. Is there something else I can use, or is it possible business_type can be opened up to express accounts in the future?
zintegy-express-type
@sick pumice are you sure business_type isn't available for Express accounts? I just tried on one of my accounts and I get it back in the API. I wonder if the docs are just wrong here
Hmmm, stripe.Account.retrieve('acct_1NuHmPRgrUBy9aEO')['business_type'] gives me a KeyError for business type. could it be that this is Python specific?
Can you try retrieving the account and just dumping what you got back first?
here's the full text response:
Gotcha, thanks for confirming. So yeah looks like this isn't available in the API and the docs are correct for now so you really just can't access this
ahh, so this just entirely isn't possible. got it, thanks