Closed zintegy closed 4 months ago
@zintegy the additional_verifications
parameter is not a publicly documented parameter in our Create Account API. You are using a beta feature that is likely enabled specifically for your Stripe account but it's not publicly available to most users.
Our stripe-python SDK only has types for public APIs and parameters and not for any of our beta features at the moment so the type error is expected in that case.
I'm going to close as this is expected behaviour at the moment until the day this feature becomes public!
Describe the bug
additional_verifications
isn't defined inCreateParams
. This poses issues with typing when creating an account withadditional_verifications
likeus_w8_or_w9
,tax_id
, oraddress
:To Reproduce
pyanalyze
.additional_verifications
is not a valid parameter.Expected behavior
By adding
additional_verifications
intostripe.Account.CreateParams
, this typing error should no longer occur.Code snippets
No response
OS
macOS
Language version
3.9.14
Library version
stripe-python 9.4.0
API version
2024-04-10
Additional context
No response