Skip to content

Commit 44487bf

Browse files
Update generated code (#2040)
* Update generated code for v1946 and 2025-09-30.clover * Update generated code for v1949 and 2025-09-30.clover * Update generated code for v1968 and 2025-09-30.clover * Update generated code for v2020 and 2025-09-30.clover * Update generated code for v2021 and 2025-09-30.clover --------- Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Co-authored-by: Ramya Rao <[email protected]>
1 parent ea0da3a commit 44487bf

File tree

106 files changed

+11950
-1599
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+11950
-1599
lines changed

API_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-08-27.basil
1+
2025-09-30.clover

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1932
1+
v2021

src/main/java/com/stripe/ApiVersion.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
package com.stripe;
33

44
final class ApiVersion {
5-
public static final String CURRENT = "2025-08-27.basil";
6-
public static final String CURRENT_MAJOR = "basil";
5+
public static final String CURRENT = "2025-09-30.clover";
6+
public static final String CURRENT_MAJOR = "clover";
77
}

src/main/java/com/stripe/StripeClient.java

Lines changed: 389 additions & 290 deletions
Large diffs are not rendered by default.

src/main/java/com/stripe/model/Account.java

Lines changed: 82 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1144,6 +1144,15 @@ public static class Capabilities extends StripeObject {
11441144
@SerializedName("link_payments")
11451145
String linkPayments;
11461146

1147+
/**
1148+
* The status of the MB WAY payments capability of the account, or whether the account can
1149+
* directly process MB WAY charges.
1150+
*
1151+
* <p>One of {@code active}, {@code inactive}, or {@code pending}.
1152+
*/
1153+
@SerializedName("mb_way_payments")
1154+
String mbWayPayments;
1155+
11471156
/**
11481157
* The status of the MobilePay capability of the account, or whether the account can directly
11491158
* process MobilePay charges.
@@ -1234,6 +1243,15 @@ public static class Capabilities extends StripeObject {
12341243
@SerializedName("paynow_payments")
12351244
String paynowPayments;
12361245

1246+
/**
1247+
* The status of the Paypay capability of the account, or whether the account can directly
1248+
* process Paypay payments.
1249+
*
1250+
* <p>One of {@code active}, {@code inactive}, or {@code pending}.
1251+
*/
1252+
@SerializedName("paypay_payments")
1253+
String paypayPayments;
1254+
12371255
/**
12381256
* The status of the pix payments capability of the account, or whether the account can directly
12391257
* process pix charges.
@@ -1997,14 +2015,14 @@ public static class Errors extends StripeObject {
19972015
/**
19982016
* The code for the type of error.
19992017
*
2000-
* <p>One of {@code information_missing}, {@code invalid_address_city_state_postal_code},
2001-
* {@code invalid_address_highway_contract_box}, {@code invalid_address_private_mailbox},
2002-
* {@code invalid_business_profile_name}, {@code invalid_business_profile_name_denylisted},
2003-
* {@code invalid_company_name_denylisted}, {@code invalid_dob_age_over_maximum}, {@code
2004-
* invalid_dob_age_under_18}, {@code invalid_dob_age_under_minimum}, {@code
2005-
* invalid_product_description_length}, {@code invalid_product_description_url_match}, {@code
2006-
* invalid_representative_country}, {@code invalid_signator}, {@code
2007-
* invalid_statement_descriptor_business_mismatch}, {@code
2018+
* <p>One of {@code external_request}, {@code information_missing}, {@code
2019+
* invalid_address_city_state_postal_code}, {@code invalid_address_highway_contract_box},
2020+
* {@code invalid_address_private_mailbox}, {@code invalid_business_profile_name}, {@code
2021+
* invalid_business_profile_name_denylisted}, {@code invalid_company_name_denylisted}, {@code
2022+
* invalid_dob_age_over_maximum}, {@code invalid_dob_age_under_18}, {@code
2023+
* invalid_dob_age_under_minimum}, {@code invalid_product_description_length}, {@code
2024+
* invalid_product_description_url_match}, {@code invalid_representative_country}, {@code
2025+
* invalid_signator}, {@code invalid_statement_descriptor_business_mismatch}, {@code
20082026
* invalid_statement_descriptor_denylisted}, {@code invalid_statement_descriptor_length},
20092027
* {@code invalid_statement_descriptor_prefix_denylisted}, {@code
20102028
* invalid_statement_descriptor_prefix_mismatch}, {@code invalid_street_address}, {@code
@@ -2023,29 +2041,30 @@ public static class Errors extends StripeObject {
20232041
* invalid_url_website_incomplete_return_policy}, {@code
20242042
* invalid_url_website_incomplete_terms_and_conditions}, {@code
20252043
* invalid_url_website_incomplete_under_construction}, {@code invalid_url_website_other},
2026-
* {@code invalid_value_other}, {@code verification_directors_mismatch}, {@code
2027-
* verification_document_address_mismatch}, {@code verification_document_address_missing},
2028-
* {@code verification_document_corrupt}, {@code verification_document_country_not_supported},
2029-
* {@code verification_document_directors_mismatch}, {@code
2030-
* verification_document_dob_mismatch}, {@code verification_document_duplicate_type}, {@code
2031-
* verification_document_expired}, {@code verification_document_failed_copy}, {@code
2032-
* verification_document_failed_greyscale}, {@code verification_document_failed_other}, {@code
2033-
* verification_document_failed_test_mode}, {@code verification_document_fraudulent}, {@code
2034-
* verification_document_id_number_mismatch}, {@code verification_document_id_number_missing},
2035-
* {@code verification_document_incomplete}, {@code verification_document_invalid}, {@code
2036-
* verification_document_issue_or_expiry_date_missing}, {@code
2037-
* verification_document_manipulated}, {@code verification_document_missing_back}, {@code
2038-
* verification_document_missing_front}, {@code verification_document_name_mismatch}, {@code
2039-
* verification_document_name_missing}, {@code verification_document_nationality_mismatch},
2040-
* {@code verification_document_not_readable}, {@code verification_document_not_signed},
2041-
* {@code verification_document_not_uploaded}, {@code verification_document_photo_mismatch},
2042-
* {@code verification_document_too_large}, {@code verification_document_type_not_supported},
2043-
* {@code verification_extraneous_directors}, {@code verification_failed_address_match},
2044-
* {@code verification_failed_authorizer_authority}, {@code
2045-
* verification_failed_business_iec_number}, {@code verification_failed_document_match},
2046-
* {@code verification_failed_id_number_match}, {@code verification_failed_keyed_identity},
2047-
* {@code verification_failed_keyed_match}, {@code verification_failed_name_match}, {@code
2048-
* verification_failed_other}, {@code verification_failed_representative_authority}, {@code
2044+
* {@code invalid_value_other}, {@code unsupported_business_type}, {@code
2045+
* verification_directors_mismatch}, {@code verification_document_address_mismatch}, {@code
2046+
* verification_document_address_missing}, {@code verification_document_corrupt}, {@code
2047+
* verification_document_country_not_supported}, {@code
2048+
* verification_document_directors_mismatch}, {@code verification_document_dob_mismatch},
2049+
* {@code verification_document_duplicate_type}, {@code verification_document_expired}, {@code
2050+
* verification_document_failed_copy}, {@code verification_document_failed_greyscale}, {@code
2051+
* verification_document_failed_other}, {@code verification_document_failed_test_mode}, {@code
2052+
* verification_document_fraudulent}, {@code verification_document_id_number_mismatch}, {@code
2053+
* verification_document_id_number_missing}, {@code verification_document_incomplete}, {@code
2054+
* verification_document_invalid}, {@code verification_document_issue_or_expiry_date_missing},
2055+
* {@code verification_document_manipulated}, {@code verification_document_missing_back},
2056+
* {@code verification_document_missing_front}, {@code verification_document_name_mismatch},
2057+
* {@code verification_document_name_missing}, {@code
2058+
* verification_document_nationality_mismatch}, {@code verification_document_not_readable},
2059+
* {@code verification_document_not_signed}, {@code verification_document_not_uploaded},
2060+
* {@code verification_document_photo_mismatch}, {@code verification_document_too_large},
2061+
* {@code verification_document_type_not_supported}, {@code
2062+
* verification_extraneous_directors}, {@code verification_failed_address_match}, {@code
2063+
* verification_failed_authorizer_authority}, {@code verification_failed_business_iec_number},
2064+
* {@code verification_failed_document_match}, {@code verification_failed_id_number_match},
2065+
* {@code verification_failed_keyed_identity}, {@code verification_failed_keyed_match}, {@code
2066+
* verification_failed_name_match}, {@code verification_failed_other}, {@code
2067+
* verification_failed_representative_authority}, {@code
20492068
* verification_failed_residential_address}, {@code verification_failed_tax_id_match}, {@code
20502069
* verification_failed_tax_id_not_issued}, {@code
20512070
* verification_legal_entity_structure_mismatch}, {@code verification_missing_directors},
@@ -2199,14 +2218,14 @@ public static class Errors extends StripeObject {
21992218
/**
22002219
* The code for the type of error.
22012220
*
2202-
* <p>One of {@code information_missing}, {@code invalid_address_city_state_postal_code},
2203-
* {@code invalid_address_highway_contract_box}, {@code invalid_address_private_mailbox},
2204-
* {@code invalid_business_profile_name}, {@code invalid_business_profile_name_denylisted},
2205-
* {@code invalid_company_name_denylisted}, {@code invalid_dob_age_over_maximum}, {@code
2206-
* invalid_dob_age_under_18}, {@code invalid_dob_age_under_minimum}, {@code
2207-
* invalid_product_description_length}, {@code invalid_product_description_url_match}, {@code
2208-
* invalid_representative_country}, {@code invalid_signator}, {@code
2209-
* invalid_statement_descriptor_business_mismatch}, {@code
2221+
* <p>One of {@code external_request}, {@code information_missing}, {@code
2222+
* invalid_address_city_state_postal_code}, {@code invalid_address_highway_contract_box},
2223+
* {@code invalid_address_private_mailbox}, {@code invalid_business_profile_name}, {@code
2224+
* invalid_business_profile_name_denylisted}, {@code invalid_company_name_denylisted}, {@code
2225+
* invalid_dob_age_over_maximum}, {@code invalid_dob_age_under_18}, {@code
2226+
* invalid_dob_age_under_minimum}, {@code invalid_product_description_length}, {@code
2227+
* invalid_product_description_url_match}, {@code invalid_representative_country}, {@code
2228+
* invalid_signator}, {@code invalid_statement_descriptor_business_mismatch}, {@code
22102229
* invalid_statement_descriptor_denylisted}, {@code invalid_statement_descriptor_length},
22112230
* {@code invalid_statement_descriptor_prefix_denylisted}, {@code
22122231
* invalid_statement_descriptor_prefix_mismatch}, {@code invalid_street_address}, {@code
@@ -2225,29 +2244,30 @@ public static class Errors extends StripeObject {
22252244
* invalid_url_website_incomplete_return_policy}, {@code
22262245
* invalid_url_website_incomplete_terms_and_conditions}, {@code
22272246
* invalid_url_website_incomplete_under_construction}, {@code invalid_url_website_other},
2228-
* {@code invalid_value_other}, {@code verification_directors_mismatch}, {@code
2229-
* verification_document_address_mismatch}, {@code verification_document_address_missing},
2230-
* {@code verification_document_corrupt}, {@code verification_document_country_not_supported},
2231-
* {@code verification_document_directors_mismatch}, {@code
2232-
* verification_document_dob_mismatch}, {@code verification_document_duplicate_type}, {@code
2233-
* verification_document_expired}, {@code verification_document_failed_copy}, {@code
2234-
* verification_document_failed_greyscale}, {@code verification_document_failed_other}, {@code
2235-
* verification_document_failed_test_mode}, {@code verification_document_fraudulent}, {@code
2236-
* verification_document_id_number_mismatch}, {@code verification_document_id_number_missing},
2237-
* {@code verification_document_incomplete}, {@code verification_document_invalid}, {@code
2238-
* verification_document_issue_or_expiry_date_missing}, {@code
2239-
* verification_document_manipulated}, {@code verification_document_missing_back}, {@code
2240-
* verification_document_missing_front}, {@code verification_document_name_mismatch}, {@code
2241-
* verification_document_name_missing}, {@code verification_document_nationality_mismatch},
2242-
* {@code verification_document_not_readable}, {@code verification_document_not_signed},
2243-
* {@code verification_document_not_uploaded}, {@code verification_document_photo_mismatch},
2244-
* {@code verification_document_too_large}, {@code verification_document_type_not_supported},
2245-
* {@code verification_extraneous_directors}, {@code verification_failed_address_match},
2246-
* {@code verification_failed_authorizer_authority}, {@code
2247-
* verification_failed_business_iec_number}, {@code verification_failed_document_match},
2248-
* {@code verification_failed_id_number_match}, {@code verification_failed_keyed_identity},
2249-
* {@code verification_failed_keyed_match}, {@code verification_failed_name_match}, {@code
2250-
* verification_failed_other}, {@code verification_failed_representative_authority}, {@code
2247+
* {@code invalid_value_other}, {@code unsupported_business_type}, {@code
2248+
* verification_directors_mismatch}, {@code verification_document_address_mismatch}, {@code
2249+
* verification_document_address_missing}, {@code verification_document_corrupt}, {@code
2250+
* verification_document_country_not_supported}, {@code
2251+
* verification_document_directors_mismatch}, {@code verification_document_dob_mismatch},
2252+
* {@code verification_document_duplicate_type}, {@code verification_document_expired}, {@code
2253+
* verification_document_failed_copy}, {@code verification_document_failed_greyscale}, {@code
2254+
* verification_document_failed_other}, {@code verification_document_failed_test_mode}, {@code
2255+
* verification_document_fraudulent}, {@code verification_document_id_number_mismatch}, {@code
2256+
* verification_document_id_number_missing}, {@code verification_document_incomplete}, {@code
2257+
* verification_document_invalid}, {@code verification_document_issue_or_expiry_date_missing},
2258+
* {@code verification_document_manipulated}, {@code verification_document_missing_back},
2259+
* {@code verification_document_missing_front}, {@code verification_document_name_mismatch},
2260+
* {@code verification_document_name_missing}, {@code
2261+
* verification_document_nationality_mismatch}, {@code verification_document_not_readable},
2262+
* {@code verification_document_not_signed}, {@code verification_document_not_uploaded},
2263+
* {@code verification_document_photo_mismatch}, {@code verification_document_too_large},
2264+
* {@code verification_document_type_not_supported}, {@code
2265+
* verification_extraneous_directors}, {@code verification_failed_address_match}, {@code
2266+
* verification_failed_authorizer_authority}, {@code verification_failed_business_iec_number},
2267+
* {@code verification_failed_document_match}, {@code verification_failed_id_number_match},
2268+
* {@code verification_failed_keyed_identity}, {@code verification_failed_keyed_match}, {@code
2269+
* verification_failed_name_match}, {@code verification_failed_other}, {@code
2270+
* verification_failed_representative_authority}, {@code
22512271
* verification_failed_residential_address}, {@code verification_failed_tax_id_match}, {@code
22522272
* verification_failed_tax_id_not_issued}, {@code
22532273
* verification_legal_entity_structure_mismatch}, {@code verification_missing_directors},

src/main/java/com/stripe/model/Address.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ public class Address extends StripeObject {
2121
@SerializedName("country")
2222
String country;
2323

24-
/** Address line 1 (e.g., street, PO Box, or company name). */
24+
/** Address line 1, such as the street, PO Box, or company name. */
2525
@SerializedName("line1")
2626
String line1;
2727

28-
/** Address line 2 (e.g., apartment, suite, unit, or building). */
28+
/** Address line 2, such as the apartment, suite, unit, or building. */
2929
@SerializedName("line2")
3030
String line2;
3131

0 commit comments

Comments
 (0)