#nitin4465
1 messages · Page 1 of 1 (latest)
Hi 👋 what is the issue/concern you're facing?
we are getting the error "ArgumentError (Cannot update protected field: legal_entity)"
Can you share the ID of the request where you're seeing that error returned?
we are passing the code
....
Stripe::Account.update(
'acct_1NWNWXPvmEcyscrr',
{
leagal_intity:
{
tax_id: '111-11-1111'
}
}
)
..........
we are getting the error "ArgumentError (Cannot update protected field: legal_entity)"
That doesn't align with the code you shared initially, and that error is expected because leagal_intity (I think you meant legal_entity) is not a valid field on the Account object for you to update:
https://stripe.com/docs/api/accounts/update
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Oh, you're still using an API version from before the name of those fields were changed. Do you continue to encounter that error you spell legal_entity correctly?
how to update the e_in for business_type "individual" , please suggest