Several account fields have been refactored to better describe legal entity, verification status and requirements, and configurable settingsBreaking changes
What’s new
Includes multiple changes:
- Replaces the legal_property on the Account API resource withentity individual,company, andbusiness_.type 
- Replaces the verificationhash with arequirementshash.
- Replaces the verification[fields_array with three arrays to better represent when information is required:needed] requirements[eventually_,due] requirements[currently_, anddue] requirements[past_.due] 
- Renames verification[due_toby] requirements[current_.deadline] 
- Renames the disabled_enum value ofreason fields_toneeded requirements..past_ due 
- Moves properties on the Accountobject that configure behavior within Stripe into the newsettingshash.
- Moves the payout_,schedule payout_andstatement_ descriptor debit_fields tonegative_ balances settings[payouts], renaming them toschedule,statement_anddescriptor debit_.negative_ balances 
- Moves the statement_field todescriptor settings[payments][statement_.descriptor] 
- Moves decline_fields tocharge_ on settings[card_, renaming it topayments] decline_.on 
- Moves the business_,logo business_andlogo_ large business_fields toprimary_ color settings[branding], renaming them toicon,logoandprimary_. Additionally, thecolor iconfield requires the image file you upload to be a square.
- Moves the display_andname timezonefields tosettings[dashboard].
Impact
This change significantly restructures the Account API resource, providing a more structured and detailed approach to account information and settings. You need to extensively update your code that interacts with the Account API.