Skip to content

Commit 099ffc3

Browse files
Update generated code (#2126)
* Update generated code for v2134 and * Update generated code for v2137 and * Update generated code for v2140 and --------- Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
1 parent ddc5736 commit 099ffc3

File tree

347 files changed

+76601
-3433
lines changed

Some content is hidden

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

347 files changed

+76601
-3433
lines changed

API_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
e62524b587909bee231a15ce0dc618f1d04f69a4
1+
88aa59022b32620f4d66d6196e3b42d5a0f86bbb

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2124
1+
v2140

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

Lines changed: 1 addition & 1 deletion
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-11-17.clover";
5+
public static final String CURRENT = "2025-12-15.clover";
66
public static final String CURRENT_MAJOR = "clover";
77
}

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

Lines changed: 61 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public class Account extends ApiResource implements MetadataStore<Account>, Paym
143143
Person individual;
144144

145145
/**
146-
* Set of <a href="https://stripe.com/docs/api/metadata">key-value pairs</a> that you can attach
146+
* Set of <a href="https://docs.stripe.com/api/metadata">key-value pairs</a> that you can attach
147147
* to an object. This can be useful for storing additional information about the object in a
148148
* structured format.
149149
*/
@@ -1243,6 +1243,15 @@ public static class Capabilities extends StripeObject {
12431243
@SerializedName("paynow_payments")
12441244
String paynowPayments;
12451245

1246+
/**
1247+
* The status of the PayTo capability of the account, or whether the account can directly
1248+
* process PayTo charges.
1249+
*
1250+
* <p>One of {@code active}, {@code inactive}, or {@code pending}.
1251+
*/
1252+
@SerializedName("payto_payments")
1253+
String paytoPayments;
1254+
12461255
/**
12471256
* The status of the pix payments capability of the account, or whether the account can directly
12481257
* process pix charges.
@@ -1416,7 +1425,7 @@ public static class Company extends StripeObject {
14161425
/**
14171426
* Whether the company's directors have been provided. This Boolean will be {@code true} if
14181427
* you've manually indicated that all directors are provided via <a
1419-
* href="https://stripe.com/docs/api/accounts/update#update_account-company-directors_provided">the
1428+
* href="https://docs.stripe.com/api/accounts/update#update_account-company-directors_provided">the
14201429
* {@code directors_provided} parameter</a>.
14211430
*/
14221431
@SerializedName("directors_provided")
@@ -1432,7 +1441,7 @@ public static class Company extends StripeObject {
14321441
/**
14331442
* Whether the company's executives have been provided. This Boolean will be {@code true} if
14341443
* you've manually indicated that all executives are provided via <a
1435-
* href="https://stripe.com/docs/api/accounts/update#update_account-company-executives_provided">the
1444+
* href="https://docs.stripe.com/api/accounts/update#update_account-company-executives_provided">the
14361445
* {@code executives_provided} parameter</a>, or if Stripe determined that sufficient executives
14371446
* were provided.
14381447
*/
@@ -1479,7 +1488,7 @@ public static class Company extends StripeObject {
14791488
/**
14801489
* Whether the company's owners have been provided. This Boolean will be {@code true} if you've
14811490
* manually indicated that all owners are provided via <a
1482-
* href="https://stripe.com/docs/api/accounts/update#update_account-company-owners_provided">the
1491+
* href="https://docs.stripe.com/api/accounts/update#update_account-company-owners_provided">the
14831492
* {@code owners_provided} parameter</a>, or if Stripe determined that sufficient owners were
14841493
* provided. Stripe determines ownership requirements using both the number of owners provided
14851494
* and their total percent ownership (calculated by adding the {@code percent_ownership} of each
@@ -1528,7 +1537,7 @@ public static class Company extends StripeObject {
15281537
* for accounts where <a
15291538
* href="https://stripe.com/api/accounts/object#account_object-controller-requirement_collection">controller.requirement_collection</a>
15301539
* is {@code stripe}. See <a
1531-
* href="https://stripe.com/docs/connect/identity-verification#business-structure">Business
1540+
* href="https://docs.stripe.com/connect/identity-verification#business-structure">Business
15321541
* structure</a> for more details.
15331542
*
15341543
* <p>One of {@code free_zone_establishment}, {@code free_zone_llc}, {@code
@@ -1752,10 +1761,10 @@ public static class Verification extends StripeObject {
17521761
@EqualsAndHashCode(callSuper = false)
17531762
public static class Document extends StripeObject {
17541763
/**
1755-
* The back of a document returned by a <a
1756-
* href="https://stripe.com/docs/api#create_file">file upload</a> with a {@code purpose}
1757-
* value of {@code additional_verification}. Note that {@code additional_verification} files
1758-
* are <a href="https://stripe.com/file-upload#uploading-a-file">not downloadable</a>.
1764+
* The back of a document returned by a <a href="https://api.stripe.com#create_file">file
1765+
* upload</a> with a {@code purpose} value of {@code additional_verification}. Note that
1766+
* {@code additional_verification} files are <a
1767+
* href="https://stripe.com/file-upload#uploading-a-file">not downloadable</a>.
17591768
*/
17601769
@SerializedName("back")
17611770
@Getter(lombok.AccessLevel.NONE)
@@ -1779,10 +1788,10 @@ public static class Document extends StripeObject {
17791788
String detailsCode;
17801789

17811790
/**
1782-
* The front of a document returned by a <a
1783-
* href="https://stripe.com/docs/api#create_file">file upload</a> with a {@code purpose}
1784-
* value of {@code additional_verification}. Note that {@code additional_verification} files
1785-
* are <a href="https://stripe.com/file-upload#uploading-a-file">not downloadable</a>.
1791+
* The front of a document returned by a <a href="https://api.stripe.com#create_file">file
1792+
* upload</a> with a {@code purpose} value of {@code additional_verification}. Note that
1793+
* {@code additional_verification} files are <a
1794+
* href="https://stripe.com/file-upload#uploading-a-file">not downloadable</a>.
17861795
*/
17871796
@SerializedName("front")
17881797
@Getter(lombok.AccessLevel.NONE)
@@ -1842,7 +1851,7 @@ public static class Controller extends StripeObject {
18421851
/**
18431852
* {@code true} if the Connect application retrieving the resource controls the account and can
18441853
* therefore exercise <a
1845-
* href="https://stripe.com/docs/connect/platform-controls-for-standard-accounts">platform
1854+
* href="https://docs.stripe.com/connect/platform-controls-for-standard-accounts">platform
18461855
* controls</a>. Otherwise, this field is null.
18471856
*/
18481857
@SerializedName("is_controller")
@@ -1937,8 +1946,11 @@ public static class StripeDashboard extends StripeObject {
19371946
@EqualsAndHashCode(callSuper = false)
19381947
public static class FutureRequirements extends StripeObject {
19391948
/**
1940-
* Fields that are due and can be satisfied by providing the corresponding alternative fields
1941-
* instead.
1949+
* Fields that are due and can be resolved by providing the corresponding alternative fields
1950+
* instead. Many alternatives can list the same {@code original_fields_due}, and any of these
1951+
* alternatives can serve as a pathway for attempting to resolve the fields again. Re-providing
1952+
* {@code original_fields_due} also serves as a pathway for attempting to resolve the fields
1953+
* again.
19421954
*/
19431955
@SerializedName("alternatives")
19441956
List<Account.FutureRequirements.Alternative> alternatives;
@@ -1953,7 +1965,7 @@ public static class FutureRequirements extends StripeObject {
19531965
Long currentDeadline;
19541966

19551967
/**
1956-
* Fields that need to be collected to keep the account enabled. If not collected by {@code
1968+
* Fields that need to be resolved to keep the account enabled. If not resolved by {@code
19571969
* future_requirements[current_deadline]}, these fields will transition to the main {@code
19581970
* requirements} hash.
19591971
*/
@@ -1974,8 +1986,8 @@ public static class FutureRequirements extends StripeObject {
19741986
String disabledReason;
19751987

19761988
/**
1977-
* Fields that are {@code currently_due} and need to be collected again because validation or
1978-
* verification failed.
1989+
* Details about validation and verification failures for {@code due} requirements that must be
1990+
* resolved.
19791991
*/
19801992
@SerializedName("errors")
19811993
List<Account.FutureRequirements.Errors> errors;
@@ -1988,20 +2000,19 @@ public static class FutureRequirements extends StripeObject {
19882000
List<String> eventuallyDue;
19892001

19902002
/**
1991-
* Fields that weren't collected by {@code requirements.current_deadline}. These fields need to
1992-
* be collected to enable the capability on the account. New fields will never appear here;
1993-
* {@code future_requirements.past_due} will always be a subset of {@code
1994-
* requirements.past_due}.
2003+
* Fields that haven't been resolved by {@code requirements.current_deadline}. These fields need
2004+
* to be resolved to enable the capability on the account. {@code future_requirements.past_due}
2005+
* is a subset of {@code requirements.past_due}.
19952006
*/
19962007
@SerializedName("past_due")
19972008
List<String> pastDue;
19982009

19992010
/**
2000-
* Fields that might become required depending on the results of verification or review. It's an
2001-
* empty array unless an asynchronous verification is pending. If verification fails, these
2002-
* fields move to {@code eventually_due} or {@code currently_due}. Fields might appear in {@code
2003-
* eventually_due} or {@code currently_due} and in {@code pending_verification} if verification
2004-
* fails but another verification is still pending.
2011+
* Fields that are being reviewed, or might become required depending on the results of a
2012+
* review. If the review fails, these fields can move to {@code eventually_due}, {@code
2013+
* currently_due}, {@code past_due} or {@code alternatives}. Fields might appear in {@code
2014+
* eventually_due}, {@code currently_due}, {@code past_due} or {@code alternatives} and in
2015+
* {@code pending_verification} if one verification fails but another is still pending.
20052016
*/
20062017
@SerializedName("pending_verification")
20072018
List<String> pendingVerification;
@@ -2014,12 +2025,12 @@ public static class FutureRequirements extends StripeObject {
20142025
@Setter
20152026
@EqualsAndHashCode(callSuper = false)
20162027
public static class Alternative extends StripeObject {
2017-
/** Fields that can be provided to satisfy all fields in {@code original_fields_due}. */
2028+
/** Fields that can be provided to resolve all fields in {@code original_fields_due}. */
20182029
@SerializedName("alternative_fields_due")
20192030
List<String> alternativeFieldsDue;
20202031

20212032
/**
2022-
* Fields that are due and can be satisfied by providing all fields in {@code
2033+
* Fields that are due and can be resolved by providing all fields in {@code
20232034
* alternative_fields_due}.
20242035
*/
20252036
@SerializedName("original_fields_due")
@@ -2125,7 +2136,7 @@ public static class Errors extends StripeObject {
21252136
public static class Groups extends StripeObject {
21262137
/**
21272138
* The group the account is in to determine their payments pricing, and null if the account is
2128-
* on customized pricing. <a href="https://stripe.com/docs/connect/platform-pricing-tools">See
2139+
* on customized pricing. <a href="https://docs.stripe.com/connect/platform-pricing-tools">See
21292140
* the Platform pricing tool documentation</a> for details.
21302141
*/
21312142
@SerializedName("payments_pricing")
@@ -2141,8 +2152,11 @@ public static class Groups extends StripeObject {
21412152
@EqualsAndHashCode(callSuper = false)
21422153
public static class Requirements extends StripeObject {
21432154
/**
2144-
* Fields that are due and can be satisfied by providing the corresponding alternative fields
2145-
* instead.
2155+
* Fields that are due and can be resolved by providing the corresponding alternative fields
2156+
* instead. Many alternatives can list the same {@code original_fields_due}, and any of these
2157+
* alternatives can serve as a pathway for attempting to resolve the fields again. Re-providing
2158+
* {@code original_fields_due} also serves as a pathway for attempting to resolve the fields
2159+
* again.
21462160
*/
21472161
@SerializedName("alternatives")
21482162
List<Account.Requirements.Alternative> alternatives;
@@ -2156,16 +2170,16 @@ public static class Requirements extends StripeObject {
21562170
Long currentDeadline;
21572171

21582172
/**
2159-
* Fields that need to be collected to keep the account enabled. If not collected by {@code
2160-
* current_deadline}, these fields appear in {@code past_due} as well, and the account is
2173+
* Fields that need to be resolved to keep the account enabled. If not resolved by {@code
2174+
* current_deadline}, these fields will appear in {@code past_due} as well, and the account is
21612175
* disabled.
21622176
*/
21632177
@SerializedName("currently_due")
21642178
List<String> currentlyDue;
21652179

21662180
/**
21672181
* If the account is disabled, this enum describes why. <a
2168-
* href="https://stripe.com/docs/connect/handling-api-verification">Learn more about handling
2182+
* href="https://docs.stripe.com/connect/handling-api-verification">Learn more about handling
21692183
* verification issues</a>.
21702184
*
21712185
* <p>One of {@code action_required.requested_capabilities}, {@code listed}, {@code other},
@@ -2179,8 +2193,8 @@ public static class Requirements extends StripeObject {
21792193
String disabledReason;
21802194

21812195
/**
2182-
* Fields that are {@code currently_due} and need to be collected again because validation or
2183-
* verification failed.
2196+
* Details about validation and verification failures for {@code due} requirements that must be
2197+
* resolved.
21842198
*/
21852199
@SerializedName("errors")
21862200
List<Account.Requirements.Errors> errors;
@@ -2193,18 +2207,18 @@ public static class Requirements extends StripeObject {
21932207
List<String> eventuallyDue;
21942208

21952209
/**
2196-
* Fields that weren't collected by {@code current_deadline}. These fields need to be collected
2197-
* to enable the account.
2210+
* Fields that haven't been resolved by {@code current_deadline}. These fields need to be
2211+
* resolved to enable the account.
21982212
*/
21992213
@SerializedName("past_due")
22002214
List<String> pastDue;
22012215

22022216
/**
2203-
* Fields that might become required depending on the results of verification or review. It's an
2204-
* empty array unless an asynchronous verification is pending. If verification fails, these
2205-
* fields move to {@code eventually_due}, {@code currently_due}, or {@code past_due}. Fields
2206-
* might appear in {@code eventually_due}, {@code currently_due}, or {@code past_due} and in
2207-
* {@code pending_verification} if verification fails but another verification is still pending.
2217+
* Fields that are being reviewed, or might become required depending on the results of a
2218+
* review. If the review fails, these fields can move to {@code eventually_due}, {@code
2219+
* currently_due}, {@code past_due} or {@code alternatives}. Fields might appear in {@code
2220+
* eventually_due}, {@code currently_due}, {@code past_due} or {@code alternatives} and in
2221+
* {@code pending_verification} if one verification fails but another is still pending.
22082222
*/
22092223
@SerializedName("pending_verification")
22102224
List<String> pendingVerification;
@@ -2217,12 +2231,12 @@ public static class Requirements extends StripeObject {
22172231
@Setter
22182232
@EqualsAndHashCode(callSuper = false)
22192233
public static class Alternative extends StripeObject {
2220-
/** Fields that can be provided to satisfy all fields in {@code original_fields_due}. */
2234+
/** Fields that can be provided to resolve all fields in {@code original_fields_due}. */
22212235
@SerializedName("alternative_fields_due")
22222236
List<String> alternativeFieldsDue;
22232237

22242238
/**
2225-
* Fields that are due and can be satisfied by providing all fields in {@code
2239+
* Fields that are due and can be resolved by providing all fields in {@code
22262240
* alternative_fields_due}.
22272241
*/
22282242
@SerializedName("original_fields_due")

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* Account Links are the means by which a Connect platform grants a connected account permission to
1919
* access Stripe-hosted applications, such as Connect Onboarding.
2020
*
21-
* <p>Related guide: <a href="https://stripe.com/docs/connect/custom/hosted-onboarding">Connect
21+
* <p>Related guide: <a href="https://docs.stripe.com/connect/custom/hosted-onboarding">Connect
2222
* Onboarding</a>
2323
*/
2424
@Getter

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* quickly, and cannot be used more than once.
2525
*
2626
* <p>Related guide: <a
27-
* href="https://stripe.com/docs/connect/get-started-connect-embedded-components">Connect embedded
27+
* href="https://docs.stripe.com/connect/get-started-connect-embedded-components">Connect embedded
2828
* components</a>
2929
*/
3030
@Getter
@@ -44,7 +44,7 @@ public class AccountSession extends ApiResource {
4444
* that you have TLS enabled on any page that includes the client secret.
4545
*
4646
* <p>Refer to our docs to <a
47-
* href="https://stripe.com/docs/connect/get-started-connect-embedded-components">setup Connect
47+
* href="https://docs.stripe.com/connect/get-started-connect-embedded-components">setup Connect
4848
* embedded components</a> and learn about how {@code client_secret} should be handled.
4949
*/
5050
@SerializedName("client_secret")

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ public class Address extends StripeObject {
3333
@SerializedName("postal_code")
3434
String postalCode;
3535

36-
/** State, county, province, or region. */
36+
/**
37+
* State, county, province, or region (<a href="https://en.wikipedia.org/wiki/ISO_3166-2">ISO
38+
* 3166-2</a>).
39+
*/
3740
@SerializedName("state")
3841
String state;
3942
}

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
* <p>The top-level {@code available} and {@code pending} comprise your &quot;payments
2424
* balance.&quot;
2525
*
26-
* <p>Related guide: <a href="https://stripe.com/docs/payments/balances">Balances and settlement
27-
* time</a>, <a href="https://stripe.com/docs/connect/account-balances">Understanding Connect
26+
* <p>Related guide: <a href="https://docs.stripe.com/payments/balances">Balances and settlement
27+
* time</a>, <a href="https://docs.stripe.com/connect/account-balances">Understanding Connect
2828
* account balances</a>
2929
*/
3030
@Getter
@@ -33,9 +33,9 @@
3333
public class Balance extends ApiResource {
3434
/**
3535
* Available funds that you can transfer or pay out automatically by Stripe or explicitly through
36-
* the <a href="https://stripe.com/docs/api#transfers">Transfers API</a> or <a
37-
* href="https://stripe.com/docs/api#payouts">Payouts API</a>. You can find the available balance
38-
* for each currency and payment type in the {@code source_types} property.
36+
* the <a href="https://api.stripe.com#transfers">Transfers API</a> or <a
37+
* href="https://api.stripe.com#payouts">Payouts API</a>. You can find the available balance for
38+
* each currency and payment type in the {@code source_types} property.
3939
*/
4040
@SerializedName("available")
4141
List<Balance.Available> available;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public static class Payouts extends StripeObject {
173173
/**
174174
* Details on when funds from charges are available, and when they are paid out to an external
175175
* account. See our <a
176-
* href="https://stripe.com/docs/connect/bank-transfers#payout-information">Setting Bank and
176+
* href="https://docs.stripe.com/connect/bank-transfers#payout-information">Setting Bank and
177177
* Debit Card Payouts</a> documentation for details.
178178
*/
179179
@SerializedName("schedule")

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* Balance transactions represent funds moving through your Stripe account. Stripe creates them for
2323
* every type of transaction that enters or leaves your Stripe account balance.
2424
*
25-
* <p>Related guide: <a href="https://stripe.com/docs/reports/balance-transaction-types">Balance
25+
* <p>Related guide: <a href="https://docs.stripe.com/reports/balance-transaction-types">Balance
2626
* transaction types</a>
2727
*/
2828
@Getter

0 commit comments

Comments
 (0)