diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index d42b9191871..bbe0dc1c93c 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v602 \ No newline at end of file +v603 \ No newline at end of file diff --git a/src/main/java/com/stripe/ApiVersion.java b/src/main/java/com/stripe/ApiVersion.java index c2ee1e0944e..401ecf5f274 100644 --- a/src/main/java/com/stripe/ApiVersion.java +++ b/src/main/java/com/stripe/ApiVersion.java @@ -2,5 +2,5 @@ package com.stripe; final class ApiVersion { - public static final String CURRENT = "2023-08-16"; + public static final String CURRENT = "2023-10-16"; } diff --git a/src/main/java/com/stripe/model/Account.java b/src/main/java/com/stripe/model/Account.java index 925f704032f..796eb396446 100644 --- a/src/main/java/com/stripe/model/Account.java +++ b/src/main/java/com/stripe/model/Account.java @@ -1525,34 +1525,56 @@ public static class Errors extends StripeObject { /** * The code for the type of error. * - *
One of {@code invalid_address_city_state_postal_code}, {@code invalid_dob_age_under_18}, - * {@code invalid_representative_country}, {@code invalid_street_address}, {@code - * invalid_tos_acceptance}, {@code invalid_value_other}, {@code - * verification_directors_mismatch}, {@code verification_document_address_mismatch}, {@code - * verification_document_address_missing}, {@code verification_document_corrupt}, {@code - * verification_document_country_not_supported}, {@code - * verification_document_directors_mismatch}, {@code verification_document_dob_mismatch}, - * {@code verification_document_duplicate_type}, {@code verification_document_expired}, {@code - * verification_document_failed_copy}, {@code verification_document_failed_greyscale}, {@code - * verification_document_failed_other}, {@code verification_document_failed_test_mode}, {@code - * verification_document_fraudulent}, {@code verification_document_id_number_mismatch}, {@code - * verification_document_id_number_missing}, {@code verification_document_incomplete}, {@code - * verification_document_invalid}, {@code verification_document_issue_or_expiry_date_missing}, - * {@code verification_document_manipulated}, {@code verification_document_missing_back}, - * {@code verification_document_missing_front}, {@code verification_document_name_mismatch}, - * {@code verification_document_name_missing}, {@code - * verification_document_nationality_mismatch}, {@code verification_document_not_readable}, - * {@code verification_document_not_signed}, {@code verification_document_not_uploaded}, - * {@code verification_document_photo_mismatch}, {@code verification_document_too_large}, - * {@code verification_document_type_not_supported}, {@code - * verification_extraneous_directors}, {@code verification_failed_address_match}, {@code - * verification_failed_business_iec_number}, {@code verification_failed_document_match}, - * {@code verification_failed_id_number_match}, {@code verification_failed_keyed_identity}, - * {@code verification_failed_keyed_match}, {@code verification_failed_name_match}, {@code - * verification_failed_other}, {@code verification_failed_residential_address}, {@code - * verification_failed_tax_id_match}, {@code verification_failed_tax_id_not_issued}, {@code - * verification_missing_directors}, {@code verification_missing_executives}, {@code - * verification_missing_owners}, or {@code + *
One of {@code invalid_address_city_state_postal_code}, {@code + * invalid_address_highway_contract_box}, {@code invalid_address_private_mailbox}, {@code + * invalid_business_profile_name}, {@code invalid_business_profile_name_denylisted}, {@code + * invalid_company_name_denylisted}, {@code invalid_dob_age_over_maximum}, {@code + * invalid_dob_age_under_18}, {@code invalid_product_description_length}, {@code + * invalid_product_description_url_match}, {@code invalid_representative_country}, {@code + * invalid_statement_descriptor_business_mismatch}, {@code + * invalid_statement_descriptor_denylisted}, {@code invalid_statement_descriptor_length}, + * {@code invalid_statement_descriptor_prefix_denylisted}, {@code + * invalid_statement_descriptor_prefix_mismatch}, {@code invalid_street_address}, {@code + * invalid_tax_id}, {@code invalid_tax_id_format}, {@code invalid_tos_acceptance}, {@code + * invalid_url_denylisted}, {@code invalid_url_format}, {@code invalid_url_length}, {@code + * invalid_url_web_presence_detected}, {@code + * invalid_url_website_business_information_mismatch}, {@code invalid_url_website_empty}, + * {@code invalid_url_website_inaccessible}, {@code + * invalid_url_website_inaccessible_geoblocked}, {@code + * invalid_url_website_inaccessible_password_protected}, {@code + * invalid_url_website_incomplete}, {@code + * invalid_url_website_incomplete_cancellation_policy}, {@code + * invalid_url_website_incomplete_customer_service_details}, {@code + * invalid_url_website_incomplete_legal_restrictions}, {@code + * invalid_url_website_incomplete_refund_policy}, {@code + * invalid_url_website_incomplete_return_policy}, {@code + * invalid_url_website_incomplete_terms_and_conditions}, {@code + * invalid_url_website_incomplete_under_construction}, {@code invalid_url_website_other}, + * {@code invalid_value_other}, {@code verification_directors_mismatch}, {@code + * verification_document_address_mismatch}, {@code verification_document_address_missing}, + * {@code verification_document_corrupt}, {@code verification_document_country_not_supported}, + * {@code verification_document_directors_mismatch}, {@code + * verification_document_dob_mismatch}, {@code verification_document_duplicate_type}, {@code + * verification_document_expired}, {@code verification_document_failed_copy}, {@code + * verification_document_failed_greyscale}, {@code verification_document_failed_other}, {@code + * verification_document_failed_test_mode}, {@code verification_document_fraudulent}, {@code + * verification_document_id_number_mismatch}, {@code verification_document_id_number_missing}, + * {@code verification_document_incomplete}, {@code verification_document_invalid}, {@code + * verification_document_issue_or_expiry_date_missing}, {@code + * verification_document_manipulated}, {@code verification_document_missing_back}, {@code + * verification_document_missing_front}, {@code verification_document_name_mismatch}, {@code + * verification_document_name_missing}, {@code verification_document_nationality_mismatch}, + * {@code verification_document_not_readable}, {@code verification_document_not_signed}, + * {@code verification_document_not_uploaded}, {@code verification_document_photo_mismatch}, + * {@code verification_document_too_large}, {@code verification_document_type_not_supported}, + * {@code verification_extraneous_directors}, {@code verification_failed_address_match}, + * {@code verification_failed_business_iec_number}, {@code + * verification_failed_document_match}, {@code verification_failed_id_number_match}, {@code + * verification_failed_keyed_identity}, {@code verification_failed_keyed_match}, {@code + * verification_failed_name_match}, {@code verification_failed_other}, {@code + * verification_failed_residential_address}, {@code verification_failed_tax_id_match}, {@code + * verification_failed_tax_id_not_issued}, {@code verification_missing_directors}, {@code + * verification_missing_executives}, {@code verification_missing_owners}, or {@code * verification_requires_additional_memorandum_of_associations}. */ @SerializedName("code") @@ -1663,34 +1685,56 @@ public static class Errors extends StripeObject { /** * The code for the type of error. * - *
One of {@code invalid_address_city_state_postal_code}, {@code invalid_dob_age_under_18}, - * {@code invalid_representative_country}, {@code invalid_street_address}, {@code - * invalid_tos_acceptance}, {@code invalid_value_other}, {@code - * verification_directors_mismatch}, {@code verification_document_address_mismatch}, {@code - * verification_document_address_missing}, {@code verification_document_corrupt}, {@code - * verification_document_country_not_supported}, {@code - * verification_document_directors_mismatch}, {@code verification_document_dob_mismatch}, - * {@code verification_document_duplicate_type}, {@code verification_document_expired}, {@code - * verification_document_failed_copy}, {@code verification_document_failed_greyscale}, {@code - * verification_document_failed_other}, {@code verification_document_failed_test_mode}, {@code - * verification_document_fraudulent}, {@code verification_document_id_number_mismatch}, {@code - * verification_document_id_number_missing}, {@code verification_document_incomplete}, {@code - * verification_document_invalid}, {@code verification_document_issue_or_expiry_date_missing}, - * {@code verification_document_manipulated}, {@code verification_document_missing_back}, - * {@code verification_document_missing_front}, {@code verification_document_name_mismatch}, - * {@code verification_document_name_missing}, {@code - * verification_document_nationality_mismatch}, {@code verification_document_not_readable}, - * {@code verification_document_not_signed}, {@code verification_document_not_uploaded}, - * {@code verification_document_photo_mismatch}, {@code verification_document_too_large}, - * {@code verification_document_type_not_supported}, {@code - * verification_extraneous_directors}, {@code verification_failed_address_match}, {@code - * verification_failed_business_iec_number}, {@code verification_failed_document_match}, - * {@code verification_failed_id_number_match}, {@code verification_failed_keyed_identity}, - * {@code verification_failed_keyed_match}, {@code verification_failed_name_match}, {@code - * verification_failed_other}, {@code verification_failed_residential_address}, {@code - * verification_failed_tax_id_match}, {@code verification_failed_tax_id_not_issued}, {@code - * verification_missing_directors}, {@code verification_missing_executives}, {@code - * verification_missing_owners}, or {@code + *
One of {@code invalid_address_city_state_postal_code}, {@code + * invalid_address_highway_contract_box}, {@code invalid_address_private_mailbox}, {@code + * invalid_business_profile_name}, {@code invalid_business_profile_name_denylisted}, {@code + * invalid_company_name_denylisted}, {@code invalid_dob_age_over_maximum}, {@code + * invalid_dob_age_under_18}, {@code invalid_product_description_length}, {@code + * invalid_product_description_url_match}, {@code invalid_representative_country}, {@code + * invalid_statement_descriptor_business_mismatch}, {@code + * invalid_statement_descriptor_denylisted}, {@code invalid_statement_descriptor_length}, + * {@code invalid_statement_descriptor_prefix_denylisted}, {@code + * invalid_statement_descriptor_prefix_mismatch}, {@code invalid_street_address}, {@code + * invalid_tax_id}, {@code invalid_tax_id_format}, {@code invalid_tos_acceptance}, {@code + * invalid_url_denylisted}, {@code invalid_url_format}, {@code invalid_url_length}, {@code + * invalid_url_web_presence_detected}, {@code + * invalid_url_website_business_information_mismatch}, {@code invalid_url_website_empty}, + * {@code invalid_url_website_inaccessible}, {@code + * invalid_url_website_inaccessible_geoblocked}, {@code + * invalid_url_website_inaccessible_password_protected}, {@code + * invalid_url_website_incomplete}, {@code + * invalid_url_website_incomplete_cancellation_policy}, {@code + * invalid_url_website_incomplete_customer_service_details}, {@code + * invalid_url_website_incomplete_legal_restrictions}, {@code + * invalid_url_website_incomplete_refund_policy}, {@code + * invalid_url_website_incomplete_return_policy}, {@code + * invalid_url_website_incomplete_terms_and_conditions}, {@code + * invalid_url_website_incomplete_under_construction}, {@code invalid_url_website_other}, + * {@code invalid_value_other}, {@code verification_directors_mismatch}, {@code + * verification_document_address_mismatch}, {@code verification_document_address_missing}, + * {@code verification_document_corrupt}, {@code verification_document_country_not_supported}, + * {@code verification_document_directors_mismatch}, {@code + * verification_document_dob_mismatch}, {@code verification_document_duplicate_type}, {@code + * verification_document_expired}, {@code verification_document_failed_copy}, {@code + * verification_document_failed_greyscale}, {@code verification_document_failed_other}, {@code + * verification_document_failed_test_mode}, {@code verification_document_fraudulent}, {@code + * verification_document_id_number_mismatch}, {@code verification_document_id_number_missing}, + * {@code verification_document_incomplete}, {@code verification_document_invalid}, {@code + * verification_document_issue_or_expiry_date_missing}, {@code + * verification_document_manipulated}, {@code verification_document_missing_back}, {@code + * verification_document_missing_front}, {@code verification_document_name_mismatch}, {@code + * verification_document_name_missing}, {@code verification_document_nationality_mismatch}, + * {@code verification_document_not_readable}, {@code verification_document_not_signed}, + * {@code verification_document_not_uploaded}, {@code verification_document_photo_mismatch}, + * {@code verification_document_too_large}, {@code verification_document_type_not_supported}, + * {@code verification_extraneous_directors}, {@code verification_failed_address_match}, + * {@code verification_failed_business_iec_number}, {@code + * verification_failed_document_match}, {@code verification_failed_id_number_match}, {@code + * verification_failed_keyed_identity}, {@code verification_failed_keyed_match}, {@code + * verification_failed_name_match}, {@code verification_failed_other}, {@code + * verification_failed_residential_address}, {@code verification_failed_tax_id_match}, {@code + * verification_failed_tax_id_not_issued}, {@code verification_missing_directors}, {@code + * verification_missing_executives}, {@code verification_missing_owners}, or {@code * verification_requires_additional_memorandum_of_associations}. */ @SerializedName("code") diff --git a/src/main/java/com/stripe/model/BankAccount.java b/src/main/java/com/stripe/model/BankAccount.java index 344316d81eb..ee8f5a6ae84 100644 --- a/src/main/java/com/stripe/model/BankAccount.java +++ b/src/main/java/com/stripe/model/BankAccount.java @@ -554,34 +554,56 @@ public static class Errors extends StripeObject { /** * The code for the type of error. * - *
One of {@code invalid_address_city_state_postal_code}, {@code invalid_dob_age_under_18}, - * {@code invalid_representative_country}, {@code invalid_street_address}, {@code - * invalid_tos_acceptance}, {@code invalid_value_other}, {@code - * verification_directors_mismatch}, {@code verification_document_address_mismatch}, {@code - * verification_document_address_missing}, {@code verification_document_corrupt}, {@code - * verification_document_country_not_supported}, {@code - * verification_document_directors_mismatch}, {@code verification_document_dob_mismatch}, - * {@code verification_document_duplicate_type}, {@code verification_document_expired}, {@code - * verification_document_failed_copy}, {@code verification_document_failed_greyscale}, {@code - * verification_document_failed_other}, {@code verification_document_failed_test_mode}, {@code - * verification_document_fraudulent}, {@code verification_document_id_number_mismatch}, {@code - * verification_document_id_number_missing}, {@code verification_document_incomplete}, {@code - * verification_document_invalid}, {@code verification_document_issue_or_expiry_date_missing}, - * {@code verification_document_manipulated}, {@code verification_document_missing_back}, - * {@code verification_document_missing_front}, {@code verification_document_name_mismatch}, - * {@code verification_document_name_missing}, {@code - * verification_document_nationality_mismatch}, {@code verification_document_not_readable}, - * {@code verification_document_not_signed}, {@code verification_document_not_uploaded}, - * {@code verification_document_photo_mismatch}, {@code verification_document_too_large}, - * {@code verification_document_type_not_supported}, {@code - * verification_extraneous_directors}, {@code verification_failed_address_match}, {@code - * verification_failed_business_iec_number}, {@code verification_failed_document_match}, - * {@code verification_failed_id_number_match}, {@code verification_failed_keyed_identity}, - * {@code verification_failed_keyed_match}, {@code verification_failed_name_match}, {@code - * verification_failed_other}, {@code verification_failed_residential_address}, {@code - * verification_failed_tax_id_match}, {@code verification_failed_tax_id_not_issued}, {@code - * verification_missing_directors}, {@code verification_missing_executives}, {@code - * verification_missing_owners}, or {@code + *
One of {@code invalid_address_city_state_postal_code}, {@code + * invalid_address_highway_contract_box}, {@code invalid_address_private_mailbox}, {@code + * invalid_business_profile_name}, {@code invalid_business_profile_name_denylisted}, {@code + * invalid_company_name_denylisted}, {@code invalid_dob_age_over_maximum}, {@code + * invalid_dob_age_under_18}, {@code invalid_product_description_length}, {@code + * invalid_product_description_url_match}, {@code invalid_representative_country}, {@code + * invalid_statement_descriptor_business_mismatch}, {@code + * invalid_statement_descriptor_denylisted}, {@code invalid_statement_descriptor_length}, + * {@code invalid_statement_descriptor_prefix_denylisted}, {@code + * invalid_statement_descriptor_prefix_mismatch}, {@code invalid_street_address}, {@code + * invalid_tax_id}, {@code invalid_tax_id_format}, {@code invalid_tos_acceptance}, {@code + * invalid_url_denylisted}, {@code invalid_url_format}, {@code invalid_url_length}, {@code + * invalid_url_web_presence_detected}, {@code + * invalid_url_website_business_information_mismatch}, {@code invalid_url_website_empty}, + * {@code invalid_url_website_inaccessible}, {@code + * invalid_url_website_inaccessible_geoblocked}, {@code + * invalid_url_website_inaccessible_password_protected}, {@code + * invalid_url_website_incomplete}, {@code + * invalid_url_website_incomplete_cancellation_policy}, {@code + * invalid_url_website_incomplete_customer_service_details}, {@code + * invalid_url_website_incomplete_legal_restrictions}, {@code + * invalid_url_website_incomplete_refund_policy}, {@code + * invalid_url_website_incomplete_return_policy}, {@code + * invalid_url_website_incomplete_terms_and_conditions}, {@code + * invalid_url_website_incomplete_under_construction}, {@code invalid_url_website_other}, + * {@code invalid_value_other}, {@code verification_directors_mismatch}, {@code + * verification_document_address_mismatch}, {@code verification_document_address_missing}, + * {@code verification_document_corrupt}, {@code verification_document_country_not_supported}, + * {@code verification_document_directors_mismatch}, {@code + * verification_document_dob_mismatch}, {@code verification_document_duplicate_type}, {@code + * verification_document_expired}, {@code verification_document_failed_copy}, {@code + * verification_document_failed_greyscale}, {@code verification_document_failed_other}, {@code + * verification_document_failed_test_mode}, {@code verification_document_fraudulent}, {@code + * verification_document_id_number_mismatch}, {@code verification_document_id_number_missing}, + * {@code verification_document_incomplete}, {@code verification_document_invalid}, {@code + * verification_document_issue_or_expiry_date_missing}, {@code + * verification_document_manipulated}, {@code verification_document_missing_back}, {@code + * verification_document_missing_front}, {@code verification_document_name_mismatch}, {@code + * verification_document_name_missing}, {@code verification_document_nationality_mismatch}, + * {@code verification_document_not_readable}, {@code verification_document_not_signed}, + * {@code verification_document_not_uploaded}, {@code verification_document_photo_mismatch}, + * {@code verification_document_too_large}, {@code verification_document_type_not_supported}, + * {@code verification_extraneous_directors}, {@code verification_failed_address_match}, + * {@code verification_failed_business_iec_number}, {@code + * verification_failed_document_match}, {@code verification_failed_id_number_match}, {@code + * verification_failed_keyed_identity}, {@code verification_failed_keyed_match}, {@code + * verification_failed_name_match}, {@code verification_failed_other}, {@code + * verification_failed_residential_address}, {@code verification_failed_tax_id_match}, {@code + * verification_failed_tax_id_not_issued}, {@code verification_missing_directors}, {@code + * verification_missing_executives}, {@code verification_missing_owners}, or {@code * verification_requires_additional_memorandum_of_associations}. */ @SerializedName("code") @@ -644,34 +666,56 @@ public static class Errors extends StripeObject { /** * The code for the type of error. * - *
One of {@code invalid_address_city_state_postal_code}, {@code invalid_dob_age_under_18}, - * {@code invalid_representative_country}, {@code invalid_street_address}, {@code - * invalid_tos_acceptance}, {@code invalid_value_other}, {@code - * verification_directors_mismatch}, {@code verification_document_address_mismatch}, {@code - * verification_document_address_missing}, {@code verification_document_corrupt}, {@code - * verification_document_country_not_supported}, {@code - * verification_document_directors_mismatch}, {@code verification_document_dob_mismatch}, - * {@code verification_document_duplicate_type}, {@code verification_document_expired}, {@code - * verification_document_failed_copy}, {@code verification_document_failed_greyscale}, {@code - * verification_document_failed_other}, {@code verification_document_failed_test_mode}, {@code - * verification_document_fraudulent}, {@code verification_document_id_number_mismatch}, {@code - * verification_document_id_number_missing}, {@code verification_document_incomplete}, {@code - * verification_document_invalid}, {@code verification_document_issue_or_expiry_date_missing}, - * {@code verification_document_manipulated}, {@code verification_document_missing_back}, - * {@code verification_document_missing_front}, {@code verification_document_name_mismatch}, - * {@code verification_document_name_missing}, {@code - * verification_document_nationality_mismatch}, {@code verification_document_not_readable}, - * {@code verification_document_not_signed}, {@code verification_document_not_uploaded}, - * {@code verification_document_photo_mismatch}, {@code verification_document_too_large}, - * {@code verification_document_type_not_supported}, {@code - * verification_extraneous_directors}, {@code verification_failed_address_match}, {@code - * verification_failed_business_iec_number}, {@code verification_failed_document_match}, - * {@code verification_failed_id_number_match}, {@code verification_failed_keyed_identity}, - * {@code verification_failed_keyed_match}, {@code verification_failed_name_match}, {@code - * verification_failed_other}, {@code verification_failed_residential_address}, {@code - * verification_failed_tax_id_match}, {@code verification_failed_tax_id_not_issued}, {@code - * verification_missing_directors}, {@code verification_missing_executives}, {@code - * verification_missing_owners}, or {@code + *
One of {@code invalid_address_city_state_postal_code}, {@code + * invalid_address_highway_contract_box}, {@code invalid_address_private_mailbox}, {@code + * invalid_business_profile_name}, {@code invalid_business_profile_name_denylisted}, {@code + * invalid_company_name_denylisted}, {@code invalid_dob_age_over_maximum}, {@code + * invalid_dob_age_under_18}, {@code invalid_product_description_length}, {@code + * invalid_product_description_url_match}, {@code invalid_representative_country}, {@code + * invalid_statement_descriptor_business_mismatch}, {@code + * invalid_statement_descriptor_denylisted}, {@code invalid_statement_descriptor_length}, + * {@code invalid_statement_descriptor_prefix_denylisted}, {@code + * invalid_statement_descriptor_prefix_mismatch}, {@code invalid_street_address}, {@code + * invalid_tax_id}, {@code invalid_tax_id_format}, {@code invalid_tos_acceptance}, {@code + * invalid_url_denylisted}, {@code invalid_url_format}, {@code invalid_url_length}, {@code + * invalid_url_web_presence_detected}, {@code + * invalid_url_website_business_information_mismatch}, {@code invalid_url_website_empty}, + * {@code invalid_url_website_inaccessible}, {@code + * invalid_url_website_inaccessible_geoblocked}, {@code + * invalid_url_website_inaccessible_password_protected}, {@code + * invalid_url_website_incomplete}, {@code + * invalid_url_website_incomplete_cancellation_policy}, {@code + * invalid_url_website_incomplete_customer_service_details}, {@code + * invalid_url_website_incomplete_legal_restrictions}, {@code + * invalid_url_website_incomplete_refund_policy}, {@code + * invalid_url_website_incomplete_return_policy}, {@code + * invalid_url_website_incomplete_terms_and_conditions}, {@code + * invalid_url_website_incomplete_under_construction}, {@code invalid_url_website_other}, + * {@code invalid_value_other}, {@code verification_directors_mismatch}, {@code + * verification_document_address_mismatch}, {@code verification_document_address_missing}, + * {@code verification_document_corrupt}, {@code verification_document_country_not_supported}, + * {@code verification_document_directors_mismatch}, {@code + * verification_document_dob_mismatch}, {@code verification_document_duplicate_type}, {@code + * verification_document_expired}, {@code verification_document_failed_copy}, {@code + * verification_document_failed_greyscale}, {@code verification_document_failed_other}, {@code + * verification_document_failed_test_mode}, {@code verification_document_fraudulent}, {@code + * verification_document_id_number_mismatch}, {@code verification_document_id_number_missing}, + * {@code verification_document_incomplete}, {@code verification_document_invalid}, {@code + * verification_document_issue_or_expiry_date_missing}, {@code + * verification_document_manipulated}, {@code verification_document_missing_back}, {@code + * verification_document_missing_front}, {@code verification_document_name_mismatch}, {@code + * verification_document_name_missing}, {@code verification_document_nationality_mismatch}, + * {@code verification_document_not_readable}, {@code verification_document_not_signed}, + * {@code verification_document_not_uploaded}, {@code verification_document_photo_mismatch}, + * {@code verification_document_too_large}, {@code verification_document_type_not_supported}, + * {@code verification_extraneous_directors}, {@code verification_failed_address_match}, + * {@code verification_failed_business_iec_number}, {@code + * verification_failed_document_match}, {@code verification_failed_id_number_match}, {@code + * verification_failed_keyed_identity}, {@code verification_failed_keyed_match}, {@code + * verification_failed_name_match}, {@code verification_failed_other}, {@code + * verification_failed_residential_address}, {@code verification_failed_tax_id_match}, {@code + * verification_failed_tax_id_not_issued}, {@code verification_missing_directors}, {@code + * verification_missing_executives}, {@code verification_missing_owners}, or {@code * verification_requires_additional_memorandum_of_associations}. */ @SerializedName("code") diff --git a/src/main/java/com/stripe/model/Capability.java b/src/main/java/com/stripe/model/Capability.java index 3c182d9e1ab..949ee5ccac0 100644 --- a/src/main/java/com/stripe/model/Capability.java +++ b/src/main/java/com/stripe/model/Capability.java @@ -233,34 +233,56 @@ public static class Errors extends StripeObject { /** * The code for the type of error. * - *
One of {@code invalid_address_city_state_postal_code}, {@code invalid_dob_age_under_18}, - * {@code invalid_representative_country}, {@code invalid_street_address}, {@code - * invalid_tos_acceptance}, {@code invalid_value_other}, {@code - * verification_directors_mismatch}, {@code verification_document_address_mismatch}, {@code - * verification_document_address_missing}, {@code verification_document_corrupt}, {@code - * verification_document_country_not_supported}, {@code - * verification_document_directors_mismatch}, {@code verification_document_dob_mismatch}, - * {@code verification_document_duplicate_type}, {@code verification_document_expired}, {@code - * verification_document_failed_copy}, {@code verification_document_failed_greyscale}, {@code - * verification_document_failed_other}, {@code verification_document_failed_test_mode}, {@code - * verification_document_fraudulent}, {@code verification_document_id_number_mismatch}, {@code - * verification_document_id_number_missing}, {@code verification_document_incomplete}, {@code - * verification_document_invalid}, {@code verification_document_issue_or_expiry_date_missing}, - * {@code verification_document_manipulated}, {@code verification_document_missing_back}, - * {@code verification_document_missing_front}, {@code verification_document_name_mismatch}, - * {@code verification_document_name_missing}, {@code - * verification_document_nationality_mismatch}, {@code verification_document_not_readable}, - * {@code verification_document_not_signed}, {@code verification_document_not_uploaded}, - * {@code verification_document_photo_mismatch}, {@code verification_document_too_large}, - * {@code verification_document_type_not_supported}, {@code - * verification_extraneous_directors}, {@code verification_failed_address_match}, {@code - * verification_failed_business_iec_number}, {@code verification_failed_document_match}, - * {@code verification_failed_id_number_match}, {@code verification_failed_keyed_identity}, - * {@code verification_failed_keyed_match}, {@code verification_failed_name_match}, {@code - * verification_failed_other}, {@code verification_failed_residential_address}, {@code - * verification_failed_tax_id_match}, {@code verification_failed_tax_id_not_issued}, {@code - * verification_missing_directors}, {@code verification_missing_executives}, {@code - * verification_missing_owners}, or {@code + *
One of {@code invalid_address_city_state_postal_code}, {@code + * invalid_address_highway_contract_box}, {@code invalid_address_private_mailbox}, {@code + * invalid_business_profile_name}, {@code invalid_business_profile_name_denylisted}, {@code + * invalid_company_name_denylisted}, {@code invalid_dob_age_over_maximum}, {@code + * invalid_dob_age_under_18}, {@code invalid_product_description_length}, {@code + * invalid_product_description_url_match}, {@code invalid_representative_country}, {@code + * invalid_statement_descriptor_business_mismatch}, {@code + * invalid_statement_descriptor_denylisted}, {@code invalid_statement_descriptor_length}, + * {@code invalid_statement_descriptor_prefix_denylisted}, {@code + * invalid_statement_descriptor_prefix_mismatch}, {@code invalid_street_address}, {@code + * invalid_tax_id}, {@code invalid_tax_id_format}, {@code invalid_tos_acceptance}, {@code + * invalid_url_denylisted}, {@code invalid_url_format}, {@code invalid_url_length}, {@code + * invalid_url_web_presence_detected}, {@code + * invalid_url_website_business_information_mismatch}, {@code invalid_url_website_empty}, + * {@code invalid_url_website_inaccessible}, {@code + * invalid_url_website_inaccessible_geoblocked}, {@code + * invalid_url_website_inaccessible_password_protected}, {@code + * invalid_url_website_incomplete}, {@code + * invalid_url_website_incomplete_cancellation_policy}, {@code + * invalid_url_website_incomplete_customer_service_details}, {@code + * invalid_url_website_incomplete_legal_restrictions}, {@code + * invalid_url_website_incomplete_refund_policy}, {@code + * invalid_url_website_incomplete_return_policy}, {@code + * invalid_url_website_incomplete_terms_and_conditions}, {@code + * invalid_url_website_incomplete_under_construction}, {@code invalid_url_website_other}, + * {@code invalid_value_other}, {@code verification_directors_mismatch}, {@code + * verification_document_address_mismatch}, {@code verification_document_address_missing}, + * {@code verification_document_corrupt}, {@code verification_document_country_not_supported}, + * {@code verification_document_directors_mismatch}, {@code + * verification_document_dob_mismatch}, {@code verification_document_duplicate_type}, {@code + * verification_document_expired}, {@code verification_document_failed_copy}, {@code + * verification_document_failed_greyscale}, {@code verification_document_failed_other}, {@code + * verification_document_failed_test_mode}, {@code verification_document_fraudulent}, {@code + * verification_document_id_number_mismatch}, {@code verification_document_id_number_missing}, + * {@code verification_document_incomplete}, {@code verification_document_invalid}, {@code + * verification_document_issue_or_expiry_date_missing}, {@code + * verification_document_manipulated}, {@code verification_document_missing_back}, {@code + * verification_document_missing_front}, {@code verification_document_name_mismatch}, {@code + * verification_document_name_missing}, {@code verification_document_nationality_mismatch}, + * {@code verification_document_not_readable}, {@code verification_document_not_signed}, + * {@code verification_document_not_uploaded}, {@code verification_document_photo_mismatch}, + * {@code verification_document_too_large}, {@code verification_document_type_not_supported}, + * {@code verification_extraneous_directors}, {@code verification_failed_address_match}, + * {@code verification_failed_business_iec_number}, {@code + * verification_failed_document_match}, {@code verification_failed_id_number_match}, {@code + * verification_failed_keyed_identity}, {@code verification_failed_keyed_match}, {@code + * verification_failed_name_match}, {@code verification_failed_other}, {@code + * verification_failed_residential_address}, {@code verification_failed_tax_id_match}, {@code + * verification_failed_tax_id_not_issued}, {@code verification_missing_directors}, {@code + * verification_missing_executives}, {@code verification_missing_owners}, or {@code * verification_requires_additional_memorandum_of_associations}. */ @SerializedName("code") @@ -381,34 +403,56 @@ public static class Errors extends StripeObject { /** * The code for the type of error. * - *
One of {@code invalid_address_city_state_postal_code}, {@code invalid_dob_age_under_18}, - * {@code invalid_representative_country}, {@code invalid_street_address}, {@code - * invalid_tos_acceptance}, {@code invalid_value_other}, {@code - * verification_directors_mismatch}, {@code verification_document_address_mismatch}, {@code - * verification_document_address_missing}, {@code verification_document_corrupt}, {@code - * verification_document_country_not_supported}, {@code - * verification_document_directors_mismatch}, {@code verification_document_dob_mismatch}, - * {@code verification_document_duplicate_type}, {@code verification_document_expired}, {@code - * verification_document_failed_copy}, {@code verification_document_failed_greyscale}, {@code - * verification_document_failed_other}, {@code verification_document_failed_test_mode}, {@code - * verification_document_fraudulent}, {@code verification_document_id_number_mismatch}, {@code - * verification_document_id_number_missing}, {@code verification_document_incomplete}, {@code - * verification_document_invalid}, {@code verification_document_issue_or_expiry_date_missing}, - * {@code verification_document_manipulated}, {@code verification_document_missing_back}, - * {@code verification_document_missing_front}, {@code verification_document_name_mismatch}, - * {@code verification_document_name_missing}, {@code - * verification_document_nationality_mismatch}, {@code verification_document_not_readable}, - * {@code verification_document_not_signed}, {@code verification_document_not_uploaded}, - * {@code verification_document_photo_mismatch}, {@code verification_document_too_large}, - * {@code verification_document_type_not_supported}, {@code - * verification_extraneous_directors}, {@code verification_failed_address_match}, {@code - * verification_failed_business_iec_number}, {@code verification_failed_document_match}, - * {@code verification_failed_id_number_match}, {@code verification_failed_keyed_identity}, - * {@code verification_failed_keyed_match}, {@code verification_failed_name_match}, {@code - * verification_failed_other}, {@code verification_failed_residential_address}, {@code - * verification_failed_tax_id_match}, {@code verification_failed_tax_id_not_issued}, {@code - * verification_missing_directors}, {@code verification_missing_executives}, {@code - * verification_missing_owners}, or {@code + *
One of {@code invalid_address_city_state_postal_code}, {@code
+ * invalid_address_highway_contract_box}, {@code invalid_address_private_mailbox}, {@code
+ * invalid_business_profile_name}, {@code invalid_business_profile_name_denylisted}, {@code
+ * invalid_company_name_denylisted}, {@code invalid_dob_age_over_maximum}, {@code
+ * invalid_dob_age_under_18}, {@code invalid_product_description_length}, {@code
+ * invalid_product_description_url_match}, {@code invalid_representative_country}, {@code
+ * invalid_statement_descriptor_business_mismatch}, {@code
+ * invalid_statement_descriptor_denylisted}, {@code invalid_statement_descriptor_length},
+ * {@code invalid_statement_descriptor_prefix_denylisted}, {@code
+ * invalid_statement_descriptor_prefix_mismatch}, {@code invalid_street_address}, {@code
+ * invalid_tax_id}, {@code invalid_tax_id_format}, {@code invalid_tos_acceptance}, {@code
+ * invalid_url_denylisted}, {@code invalid_url_format}, {@code invalid_url_length}, {@code
+ * invalid_url_web_presence_detected}, {@code
+ * invalid_url_website_business_information_mismatch}, {@code invalid_url_website_empty},
+ * {@code invalid_url_website_inaccessible}, {@code
+ * invalid_url_website_inaccessible_geoblocked}, {@code
+ * invalid_url_website_inaccessible_password_protected}, {@code
+ * invalid_url_website_incomplete}, {@code
+ * invalid_url_website_incomplete_cancellation_policy}, {@code
+ * invalid_url_website_incomplete_customer_service_details}, {@code
+ * invalid_url_website_incomplete_legal_restrictions}, {@code
+ * invalid_url_website_incomplete_refund_policy}, {@code
+ * invalid_url_website_incomplete_return_policy}, {@code
+ * invalid_url_website_incomplete_terms_and_conditions}, {@code
+ * invalid_url_website_incomplete_under_construction}, {@code invalid_url_website_other},
+ * {@code invalid_value_other}, {@code verification_directors_mismatch}, {@code
+ * verification_document_address_mismatch}, {@code verification_document_address_missing},
+ * {@code verification_document_corrupt}, {@code verification_document_country_not_supported},
+ * {@code verification_document_directors_mismatch}, {@code
+ * verification_document_dob_mismatch}, {@code verification_document_duplicate_type}, {@code
+ * verification_document_expired}, {@code verification_document_failed_copy}, {@code
+ * verification_document_failed_greyscale}, {@code verification_document_failed_other}, {@code
+ * verification_document_failed_test_mode}, {@code verification_document_fraudulent}, {@code
+ * verification_document_id_number_mismatch}, {@code verification_document_id_number_missing},
+ * {@code verification_document_incomplete}, {@code verification_document_invalid}, {@code
+ * verification_document_issue_or_expiry_date_missing}, {@code
+ * verification_document_manipulated}, {@code verification_document_missing_back}, {@code
+ * verification_document_missing_front}, {@code verification_document_name_mismatch}, {@code
+ * verification_document_name_missing}, {@code verification_document_nationality_mismatch},
+ * {@code verification_document_not_readable}, {@code verification_document_not_signed},
+ * {@code verification_document_not_uploaded}, {@code verification_document_photo_mismatch},
+ * {@code verification_document_too_large}, {@code verification_document_type_not_supported},
+ * {@code verification_extraneous_directors}, {@code verification_failed_address_match},
+ * {@code verification_failed_business_iec_number}, {@code
+ * verification_failed_document_match}, {@code verification_failed_id_number_match}, {@code
+ * verification_failed_keyed_identity}, {@code verification_failed_keyed_match}, {@code
+ * verification_failed_name_match}, {@code verification_failed_other}, {@code
+ * verification_failed_residential_address}, {@code verification_failed_tax_id_match}, {@code
+ * verification_failed_tax_id_not_issued}, {@code verification_missing_directors}, {@code
+ * verification_missing_executives}, {@code verification_missing_owners}, or {@code
* verification_requires_additional_memorandum_of_associations}.
*/
@SerializedName("code")
diff --git a/src/main/java/com/stripe/model/Person.java b/src/main/java/com/stripe/model/Person.java
index 9652e9bcefc..da1aa523e6b 100644
--- a/src/main/java/com/stripe/model/Person.java
+++ b/src/main/java/com/stripe/model/Person.java
@@ -38,6 +38,9 @@ public class Person extends ApiResource implements HasId, MetadataStore One of {@code invalid_address_city_state_postal_code}, {@code invalid_dob_age_under_18},
- * {@code invalid_representative_country}, {@code invalid_street_address}, {@code
- * invalid_tos_acceptance}, {@code invalid_value_other}, {@code
- * verification_directors_mismatch}, {@code verification_document_address_mismatch}, {@code
- * verification_document_address_missing}, {@code verification_document_corrupt}, {@code
- * verification_document_country_not_supported}, {@code
- * verification_document_directors_mismatch}, {@code verification_document_dob_mismatch},
- * {@code verification_document_duplicate_type}, {@code verification_document_expired}, {@code
- * verification_document_failed_copy}, {@code verification_document_failed_greyscale}, {@code
- * verification_document_failed_other}, {@code verification_document_failed_test_mode}, {@code
- * verification_document_fraudulent}, {@code verification_document_id_number_mismatch}, {@code
- * verification_document_id_number_missing}, {@code verification_document_incomplete}, {@code
- * verification_document_invalid}, {@code verification_document_issue_or_expiry_date_missing},
- * {@code verification_document_manipulated}, {@code verification_document_missing_back},
- * {@code verification_document_missing_front}, {@code verification_document_name_mismatch},
- * {@code verification_document_name_missing}, {@code
- * verification_document_nationality_mismatch}, {@code verification_document_not_readable},
- * {@code verification_document_not_signed}, {@code verification_document_not_uploaded},
- * {@code verification_document_photo_mismatch}, {@code verification_document_too_large},
- * {@code verification_document_type_not_supported}, {@code
- * verification_extraneous_directors}, {@code verification_failed_address_match}, {@code
- * verification_failed_business_iec_number}, {@code verification_failed_document_match},
- * {@code verification_failed_id_number_match}, {@code verification_failed_keyed_identity},
- * {@code verification_failed_keyed_match}, {@code verification_failed_name_match}, {@code
- * verification_failed_other}, {@code verification_failed_residential_address}, {@code
- * verification_failed_tax_id_match}, {@code verification_failed_tax_id_not_issued}, {@code
- * verification_missing_directors}, {@code verification_missing_executives}, {@code
- * verification_missing_owners}, or {@code
+ * One of {@code invalid_address_city_state_postal_code}, {@code
+ * invalid_address_highway_contract_box}, {@code invalid_address_private_mailbox}, {@code
+ * invalid_business_profile_name}, {@code invalid_business_profile_name_denylisted}, {@code
+ * invalid_company_name_denylisted}, {@code invalid_dob_age_over_maximum}, {@code
+ * invalid_dob_age_under_18}, {@code invalid_product_description_length}, {@code
+ * invalid_product_description_url_match}, {@code invalid_representative_country}, {@code
+ * invalid_statement_descriptor_business_mismatch}, {@code
+ * invalid_statement_descriptor_denylisted}, {@code invalid_statement_descriptor_length},
+ * {@code invalid_statement_descriptor_prefix_denylisted}, {@code
+ * invalid_statement_descriptor_prefix_mismatch}, {@code invalid_street_address}, {@code
+ * invalid_tax_id}, {@code invalid_tax_id_format}, {@code invalid_tos_acceptance}, {@code
+ * invalid_url_denylisted}, {@code invalid_url_format}, {@code invalid_url_length}, {@code
+ * invalid_url_web_presence_detected}, {@code
+ * invalid_url_website_business_information_mismatch}, {@code invalid_url_website_empty},
+ * {@code invalid_url_website_inaccessible}, {@code
+ * invalid_url_website_inaccessible_geoblocked}, {@code
+ * invalid_url_website_inaccessible_password_protected}, {@code
+ * invalid_url_website_incomplete}, {@code
+ * invalid_url_website_incomplete_cancellation_policy}, {@code
+ * invalid_url_website_incomplete_customer_service_details}, {@code
+ * invalid_url_website_incomplete_legal_restrictions}, {@code
+ * invalid_url_website_incomplete_refund_policy}, {@code
+ * invalid_url_website_incomplete_return_policy}, {@code
+ * invalid_url_website_incomplete_terms_and_conditions}, {@code
+ * invalid_url_website_incomplete_under_construction}, {@code invalid_url_website_other},
+ * {@code invalid_value_other}, {@code verification_directors_mismatch}, {@code
+ * verification_document_address_mismatch}, {@code verification_document_address_missing},
+ * {@code verification_document_corrupt}, {@code verification_document_country_not_supported},
+ * {@code verification_document_directors_mismatch}, {@code
+ * verification_document_dob_mismatch}, {@code verification_document_duplicate_type}, {@code
+ * verification_document_expired}, {@code verification_document_failed_copy}, {@code
+ * verification_document_failed_greyscale}, {@code verification_document_failed_other}, {@code
+ * verification_document_failed_test_mode}, {@code verification_document_fraudulent}, {@code
+ * verification_document_id_number_mismatch}, {@code verification_document_id_number_missing},
+ * {@code verification_document_incomplete}, {@code verification_document_invalid}, {@code
+ * verification_document_issue_or_expiry_date_missing}, {@code
+ * verification_document_manipulated}, {@code verification_document_missing_back}, {@code
+ * verification_document_missing_front}, {@code verification_document_name_mismatch}, {@code
+ * verification_document_name_missing}, {@code verification_document_nationality_mismatch},
+ * {@code verification_document_not_readable}, {@code verification_document_not_signed},
+ * {@code verification_document_not_uploaded}, {@code verification_document_photo_mismatch},
+ * {@code verification_document_too_large}, {@code verification_document_type_not_supported},
+ * {@code verification_extraneous_directors}, {@code verification_failed_address_match},
+ * {@code verification_failed_business_iec_number}, {@code
+ * verification_failed_document_match}, {@code verification_failed_id_number_match}, {@code
+ * verification_failed_keyed_identity}, {@code verification_failed_keyed_match}, {@code
+ * verification_failed_name_match}, {@code verification_failed_other}, {@code
+ * verification_failed_residential_address}, {@code verification_failed_tax_id_match}, {@code
+ * verification_failed_tax_id_not_issued}, {@code verification_missing_directors}, {@code
+ * verification_missing_executives}, {@code verification_missing_owners}, or {@code
* verification_requires_additional_memorandum_of_associations}.
*/
@SerializedName("code")
@@ -519,6 +571,10 @@ public static class Relationship extends StripeObject {
@SerializedName("executive")
Boolean executive;
+ /** Whether the person is the legal guardian of the account's representative. */
+ @SerializedName("legal_guardian")
+ Boolean legalGuardian;
+
/** Whether the person is an owner of the account’s legal entity. */
@SerializedName("owner")
Boolean owner;
@@ -614,34 +670,56 @@ public static class Errors extends StripeObject {
/**
* The code for the type of error.
*
- * One of {@code invalid_address_city_state_postal_code}, {@code invalid_dob_age_under_18},
- * {@code invalid_representative_country}, {@code invalid_street_address}, {@code
- * invalid_tos_acceptance}, {@code invalid_value_other}, {@code
- * verification_directors_mismatch}, {@code verification_document_address_mismatch}, {@code
- * verification_document_address_missing}, {@code verification_document_corrupt}, {@code
- * verification_document_country_not_supported}, {@code
- * verification_document_directors_mismatch}, {@code verification_document_dob_mismatch},
- * {@code verification_document_duplicate_type}, {@code verification_document_expired}, {@code
- * verification_document_failed_copy}, {@code verification_document_failed_greyscale}, {@code
- * verification_document_failed_other}, {@code verification_document_failed_test_mode}, {@code
- * verification_document_fraudulent}, {@code verification_document_id_number_mismatch}, {@code
- * verification_document_id_number_missing}, {@code verification_document_incomplete}, {@code
- * verification_document_invalid}, {@code verification_document_issue_or_expiry_date_missing},
- * {@code verification_document_manipulated}, {@code verification_document_missing_back},
- * {@code verification_document_missing_front}, {@code verification_document_name_mismatch},
- * {@code verification_document_name_missing}, {@code
- * verification_document_nationality_mismatch}, {@code verification_document_not_readable},
- * {@code verification_document_not_signed}, {@code verification_document_not_uploaded},
- * {@code verification_document_photo_mismatch}, {@code verification_document_too_large},
- * {@code verification_document_type_not_supported}, {@code
- * verification_extraneous_directors}, {@code verification_failed_address_match}, {@code
- * verification_failed_business_iec_number}, {@code verification_failed_document_match},
- * {@code verification_failed_id_number_match}, {@code verification_failed_keyed_identity},
- * {@code verification_failed_keyed_match}, {@code verification_failed_name_match}, {@code
- * verification_failed_other}, {@code verification_failed_residential_address}, {@code
- * verification_failed_tax_id_match}, {@code verification_failed_tax_id_not_issued}, {@code
- * verification_missing_directors}, {@code verification_missing_executives}, {@code
- * verification_missing_owners}, or {@code
+ * One of {@code invalid_address_city_state_postal_code}, {@code
+ * invalid_address_highway_contract_box}, {@code invalid_address_private_mailbox}, {@code
+ * invalid_business_profile_name}, {@code invalid_business_profile_name_denylisted}, {@code
+ * invalid_company_name_denylisted}, {@code invalid_dob_age_over_maximum}, {@code
+ * invalid_dob_age_under_18}, {@code invalid_product_description_length}, {@code
+ * invalid_product_description_url_match}, {@code invalid_representative_country}, {@code
+ * invalid_statement_descriptor_business_mismatch}, {@code
+ * invalid_statement_descriptor_denylisted}, {@code invalid_statement_descriptor_length},
+ * {@code invalid_statement_descriptor_prefix_denylisted}, {@code
+ * invalid_statement_descriptor_prefix_mismatch}, {@code invalid_street_address}, {@code
+ * invalid_tax_id}, {@code invalid_tax_id_format}, {@code invalid_tos_acceptance}, {@code
+ * invalid_url_denylisted}, {@code invalid_url_format}, {@code invalid_url_length}, {@code
+ * invalid_url_web_presence_detected}, {@code
+ * invalid_url_website_business_information_mismatch}, {@code invalid_url_website_empty},
+ * {@code invalid_url_website_inaccessible}, {@code
+ * invalid_url_website_inaccessible_geoblocked}, {@code
+ * invalid_url_website_inaccessible_password_protected}, {@code
+ * invalid_url_website_incomplete}, {@code
+ * invalid_url_website_incomplete_cancellation_policy}, {@code
+ * invalid_url_website_incomplete_customer_service_details}, {@code
+ * invalid_url_website_incomplete_legal_restrictions}, {@code
+ * invalid_url_website_incomplete_refund_policy}, {@code
+ * invalid_url_website_incomplete_return_policy}, {@code
+ * invalid_url_website_incomplete_terms_and_conditions}, {@code
+ * invalid_url_website_incomplete_under_construction}, {@code invalid_url_website_other},
+ * {@code invalid_value_other}, {@code verification_directors_mismatch}, {@code
+ * verification_document_address_mismatch}, {@code verification_document_address_missing},
+ * {@code verification_document_corrupt}, {@code verification_document_country_not_supported},
+ * {@code verification_document_directors_mismatch}, {@code
+ * verification_document_dob_mismatch}, {@code verification_document_duplicate_type}, {@code
+ * verification_document_expired}, {@code verification_document_failed_copy}, {@code
+ * verification_document_failed_greyscale}, {@code verification_document_failed_other}, {@code
+ * verification_document_failed_test_mode}, {@code verification_document_fraudulent}, {@code
+ * verification_document_id_number_mismatch}, {@code verification_document_id_number_missing},
+ * {@code verification_document_incomplete}, {@code verification_document_invalid}, {@code
+ * verification_document_issue_or_expiry_date_missing}, {@code
+ * verification_document_manipulated}, {@code verification_document_missing_back}, {@code
+ * verification_document_missing_front}, {@code verification_document_name_mismatch}, {@code
+ * verification_document_name_missing}, {@code verification_document_nationality_mismatch},
+ * {@code verification_document_not_readable}, {@code verification_document_not_signed},
+ * {@code verification_document_not_uploaded}, {@code verification_document_photo_mismatch},
+ * {@code verification_document_too_large}, {@code verification_document_type_not_supported},
+ * {@code verification_extraneous_directors}, {@code verification_failed_address_match},
+ * {@code verification_failed_business_iec_number}, {@code
+ * verification_failed_document_match}, {@code verification_failed_id_number_match}, {@code
+ * verification_failed_keyed_identity}, {@code verification_failed_keyed_match}, {@code
+ * verification_failed_name_match}, {@code verification_failed_other}, {@code
+ * verification_failed_residential_address}, {@code verification_failed_tax_id_match}, {@code
+ * verification_failed_tax_id_not_issued}, {@code verification_missing_directors}, {@code
+ * verification_missing_executives}, {@code verification_missing_owners}, or {@code
* verification_requires_additional_memorandum_of_associations}.
*/
@SerializedName("code")
@@ -865,6 +943,7 @@ public void setFrontObject(File expandableObject) {
@Override
public void setResponseGetter(StripeResponseGetter responseGetter) {
super.setResponseGetter(responseGetter);
+ trySetResponseGetter(additionalTosAcceptances, responseGetter);
trySetResponseGetter(address, responseGetter);
trySetResponseGetter(addressKana, responseGetter);
trySetResponseGetter(addressKanji, responseGetter);
diff --git a/src/main/java/com/stripe/param/AccountPersonsParams.java b/src/main/java/com/stripe/param/AccountPersonsParams.java
index efec8597369..054e8347ad5 100644
--- a/src/main/java/com/stripe/param/AccountPersonsParams.java
+++ b/src/main/java/com/stripe/param/AccountPersonsParams.java
@@ -217,6 +217,13 @@ public static class Relationship {
@SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
Map