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
verification
hash with arequirements
hash. - 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
Account
object that configure behavior within Stripe into the newsettings
hash. - 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
,logo
andprimary_
. Additionally, thecolor icon
field requires the image file you upload to be a square. - Moves the
display_
andname timezone
fields 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.