Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion API_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
e62524b587909bee231a15ce0dc618f1d04f69a4
88aa59022b32620f4d66d6196e3b42d5a0f86bbb
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2124
v2140
2 changes: 1 addition & 1 deletion src/main/java/com/stripe/ApiVersion.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
package com.stripe;

final class ApiVersion {
public static final String CURRENT = "2025-11-17.clover";
public static final String CURRENT = "2025-12-15.clover";
public static final String CURRENT_MAJOR = "clover";
}
108 changes: 61 additions & 47 deletions src/main/java/com/stripe/model/Account.java
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public class Account extends ApiResource implements MetadataStore<Account>, Paym
Person individual;

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

/**
* The status of the PayTo capability of the account, or whether the account can directly
* process PayTo charges.
*
* <p>One of {@code active}, {@code inactive}, or {@code pending}.
*/
@SerializedName("payto_payments")
String paytoPayments;

/**
* The status of the pix payments capability of the account, or whether the account can directly
* process pix charges.
Expand Down Expand Up @@ -1416,7 +1425,7 @@ public static class Company extends StripeObject {
/**
* Whether the company's directors have been provided. This Boolean will be {@code true} if
* you've manually indicated that all directors are provided via <a
* href="https://stripe.com/docs/api/accounts/update#update_account-company-directors_provided">the
* href="https://docs.stripe.com/api/accounts/update#update_account-company-directors_provided">the
* {@code directors_provided} parameter</a>.
*/
@SerializedName("directors_provided")
Expand All @@ -1432,7 +1441,7 @@ public static class Company extends StripeObject {
/**
* Whether the company's executives have been provided. This Boolean will be {@code true} if
* you've manually indicated that all executives are provided via <a
* href="https://stripe.com/docs/api/accounts/update#update_account-company-executives_provided">the
* href="https://docs.stripe.com/api/accounts/update#update_account-company-executives_provided">the
* {@code executives_provided} parameter</a>, or if Stripe determined that sufficient executives
* were provided.
*/
Expand Down Expand Up @@ -1479,7 +1488,7 @@ public static class Company extends StripeObject {
/**
* Whether the company's owners have been provided. This Boolean will be {@code true} if you've
* manually indicated that all owners are provided via <a
* href="https://stripe.com/docs/api/accounts/update#update_account-company-owners_provided">the
* href="https://docs.stripe.com/api/accounts/update#update_account-company-owners_provided">the
* {@code owners_provided} parameter</a>, or if Stripe determined that sufficient owners were
* provided. Stripe determines ownership requirements using both the number of owners provided
* and their total percent ownership (calculated by adding the {@code percent_ownership} of each
Expand Down Expand Up @@ -1528,7 +1537,7 @@ public static class Company extends StripeObject {
* for accounts where <a
* href="https://stripe.com/api/accounts/object#account_object-controller-requirement_collection">controller.requirement_collection</a>
* is {@code stripe}. See <a
* href="https://stripe.com/docs/connect/identity-verification#business-structure">Business
* href="https://docs.stripe.com/connect/identity-verification#business-structure">Business
* structure</a> for more details.
*
* <p>One of {@code free_zone_establishment}, {@code free_zone_llc}, {@code
Expand Down Expand Up @@ -1752,10 +1761,10 @@ public static class Verification extends StripeObject {
@EqualsAndHashCode(callSuper = false)
public static class Document extends StripeObject {
/**
* The back of a document returned by a <a
* href="https://stripe.com/docs/api#create_file">file upload</a> with a {@code purpose}
* value of {@code additional_verification}. Note that {@code additional_verification} files
* are <a href="https://stripe.com/file-upload#uploading-a-file">not downloadable</a>.
* The back of a document returned by a <a href="https://api.stripe.com#create_file">file
* upload</a> with a {@code purpose} value of {@code additional_verification}. Note that
* {@code additional_verification} files are <a
* href="https://stripe.com/file-upload#uploading-a-file">not downloadable</a>.
*/
@SerializedName("back")
@Getter(lombok.AccessLevel.NONE)
Expand All @@ -1779,10 +1788,10 @@ public static class Document extends StripeObject {
String detailsCode;

/**
* The front of a document returned by a <a
* href="https://stripe.com/docs/api#create_file">file upload</a> with a {@code purpose}
* value of {@code additional_verification}. Note that {@code additional_verification} files
* are <a href="https://stripe.com/file-upload#uploading-a-file">not downloadable</a>.
* The front of a document returned by a <a href="https://api.stripe.com#create_file">file
* upload</a> with a {@code purpose} value of {@code additional_verification}. Note that
* {@code additional_verification} files are <a
* href="https://stripe.com/file-upload#uploading-a-file">not downloadable</a>.
*/
@SerializedName("front")
@Getter(lombok.AccessLevel.NONE)
Expand Down Expand Up @@ -1842,7 +1851,7 @@ public static class Controller extends StripeObject {
/**
* {@code true} if the Connect application retrieving the resource controls the account and can
* therefore exercise <a
* href="https://stripe.com/docs/connect/platform-controls-for-standard-accounts">platform
* href="https://docs.stripe.com/connect/platform-controls-for-standard-accounts">platform
* controls</a>. Otherwise, this field is null.
*/
@SerializedName("is_controller")
Expand Down Expand Up @@ -1937,8 +1946,11 @@ public static class StripeDashboard extends StripeObject {
@EqualsAndHashCode(callSuper = false)
public static class FutureRequirements extends StripeObject {
/**
* Fields that are due and can be satisfied by providing the corresponding alternative fields
* instead.
* Fields that are due and can be resolved by providing the corresponding alternative fields
* instead. Many alternatives can list the same {@code original_fields_due}, and any of these
* alternatives can serve as a pathway for attempting to resolve the fields again. Re-providing
* {@code original_fields_due} also serves as a pathway for attempting to resolve the fields
* again.
*/
@SerializedName("alternatives")
List<Account.FutureRequirements.Alternative> alternatives;
Expand All @@ -1953,7 +1965,7 @@ public static class FutureRequirements extends StripeObject {
Long currentDeadline;

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

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

/**
* Fields that weren't collected by {@code requirements.current_deadline}. These fields need to
* be collected to enable the capability on the account. New fields will never appear here;
* {@code future_requirements.past_due} will always be a subset of {@code
* requirements.past_due}.
* Fields that haven't been resolved by {@code requirements.current_deadline}. These fields need
* to be resolved to enable the capability on the account. {@code future_requirements.past_due}
* is a subset of {@code requirements.past_due}.
*/
@SerializedName("past_due")
List<String> pastDue;

/**
* Fields that might become required depending on the results of verification or review. It's an
* empty array unless an asynchronous verification is pending. If verification fails, these
* fields move to {@code eventually_due} or {@code currently_due}. Fields might appear in {@code
* eventually_due} or {@code currently_due} and in {@code pending_verification} if verification
* fails but another verification is still pending.
* Fields that are being reviewed, or might become required depending on the results of a
* review. If the review fails, these fields can move to {@code eventually_due}, {@code
* currently_due}, {@code past_due} or {@code alternatives}. Fields might appear in {@code
* eventually_due}, {@code currently_due}, {@code past_due} or {@code alternatives} and in
* {@code pending_verification} if one verification fails but another is still pending.
*/
@SerializedName("pending_verification")
List<String> pendingVerification;
Expand All @@ -2014,12 +2025,12 @@ public static class FutureRequirements extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Alternative extends StripeObject {
/** Fields that can be provided to satisfy all fields in {@code original_fields_due}. */
/** Fields that can be provided to resolve all fields in {@code original_fields_due}. */
@SerializedName("alternative_fields_due")
List<String> alternativeFieldsDue;

/**
* Fields that are due and can be satisfied by providing all fields in {@code
* Fields that are due and can be resolved by providing all fields in {@code
* alternative_fields_due}.
*/
@SerializedName("original_fields_due")
Expand Down Expand Up @@ -2125,7 +2136,7 @@ public static class Errors extends StripeObject {
public static class Groups extends StripeObject {
/**
* The group the account is in to determine their payments pricing, and null if the account is
* on customized pricing. <a href="https://stripe.com/docs/connect/platform-pricing-tools">See
* on customized pricing. <a href="https://docs.stripe.com/connect/platform-pricing-tools">See
* the Platform pricing tool documentation</a> for details.
*/
@SerializedName("payments_pricing")
Expand All @@ -2141,8 +2152,11 @@ public static class Groups extends StripeObject {
@EqualsAndHashCode(callSuper = false)
public static class Requirements extends StripeObject {
/**
* Fields that are due and can be satisfied by providing the corresponding alternative fields
* instead.
* Fields that are due and can be resolved by providing the corresponding alternative fields
* instead. Many alternatives can list the same {@code original_fields_due}, and any of these
* alternatives can serve as a pathway for attempting to resolve the fields again. Re-providing
* {@code original_fields_due} also serves as a pathway for attempting to resolve the fields
* again.
*/
@SerializedName("alternatives")
List<Account.Requirements.Alternative> alternatives;
Expand All @@ -2156,16 +2170,16 @@ public static class Requirements extends StripeObject {
Long currentDeadline;

/**
* Fields that need to be collected to keep the account enabled. If not collected by {@code
* current_deadline}, these fields appear in {@code past_due} as well, and the account is
* Fields that need to be resolved to keep the account enabled. If not resolved by {@code
* current_deadline}, these fields will appear in {@code past_due} as well, and the account is
* disabled.
*/
@SerializedName("currently_due")
List<String> currentlyDue;

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

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

/**
* Fields that weren't collected by {@code current_deadline}. These fields need to be collected
* to enable the account.
* Fields that haven't been resolved by {@code current_deadline}. These fields need to be
* resolved to enable the account.
*/
@SerializedName("past_due")
List<String> pastDue;

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

/**
* Fields that are due and can be satisfied by providing all fields in {@code
* Fields that are due and can be resolved by providing all fields in {@code
* alternative_fields_due}.
*/
@SerializedName("original_fields_due")
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/stripe/model/AccountLink.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* Account Links are the means by which a Connect platform grants a connected account permission to
* access Stripe-hosted applications, such as Connect Onboarding.
*
* <p>Related guide: <a href="https://stripe.com/docs/connect/custom/hosted-onboarding">Connect
* <p>Related guide: <a href="https://docs.stripe.com/connect/custom/hosted-onboarding">Connect
* Onboarding</a>
*/
@Getter
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/stripe/model/AccountSession.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* quickly, and cannot be used more than once.
*
* <p>Related guide: <a
* href="https://stripe.com/docs/connect/get-started-connect-embedded-components">Connect embedded
* href="https://docs.stripe.com/connect/get-started-connect-embedded-components">Connect embedded
* components</a>
*/
@Getter
Expand All @@ -44,7 +44,7 @@ public class AccountSession extends ApiResource {
* that you have TLS enabled on any page that includes the client secret.
*
* <p>Refer to our docs to <a
* href="https://stripe.com/docs/connect/get-started-connect-embedded-components">setup Connect
* href="https://docs.stripe.com/connect/get-started-connect-embedded-components">setup Connect
* embedded components</a> and learn about how {@code client_secret} should be handled.
*/
@SerializedName("client_secret")
Expand Down
5 changes: 4 additions & 1 deletion src/main/java/com/stripe/model/Address.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ public class Address extends StripeObject {
@SerializedName("postal_code")
String postalCode;

/** State, county, province, or region. */
/**
* State, county, province, or region (<a href="https://en.wikipedia.org/wiki/ISO_3166-2">ISO
* 3166-2</a>).
*/
@SerializedName("state")
String state;
}
10 changes: 5 additions & 5 deletions src/main/java/com/stripe/model/Balance.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
* <p>The top-level {@code available} and {@code pending} comprise your &quot;payments
* balance.&quot;
*
* <p>Related guide: <a href="https://stripe.com/docs/payments/balances">Balances and settlement
* time</a>, <a href="https://stripe.com/docs/connect/account-balances">Understanding Connect
* <p>Related guide: <a href="https://docs.stripe.com/payments/balances">Balances and settlement
* time</a>, <a href="https://docs.stripe.com/connect/account-balances">Understanding Connect
* account balances</a>
*/
@Getter
Expand All @@ -33,9 +33,9 @@
public class Balance extends ApiResource {
/**
* Available funds that you can transfer or pay out automatically by Stripe or explicitly through
* the <a href="https://stripe.com/docs/api#transfers">Transfers API</a> or <a
* href="https://stripe.com/docs/api#payouts">Payouts API</a>. You can find the available balance
* for each currency and payment type in the {@code source_types} property.
* the <a href="https://api.stripe.com#transfers">Transfers API</a> or <a
* href="https://api.stripe.com#payouts">Payouts API</a>. You can find the available balance for
* each currency and payment type in the {@code source_types} property.
*/
@SerializedName("available")
List<Balance.Available> available;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/stripe/model/BalanceSettings.java
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public static class Payouts extends StripeObject {
/**
* Details on when funds from charges are available, and when they are paid out to an external
* account. See our <a
* href="https://stripe.com/docs/connect/bank-transfers#payout-information">Setting Bank and
* href="https://docs.stripe.com/connect/bank-transfers#payout-information">Setting Bank and
* Debit Card Payouts</a> documentation for details.
*/
@SerializedName("schedule")
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/stripe/model/BalanceTransaction.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* Balance transactions represent funds moving through your Stripe account. Stripe creates them for
* every type of transaction that enters or leaves your Stripe account balance.
*
* <p>Related guide: <a href="https://stripe.com/docs/reports/balance-transaction-types">Balance
* <p>Related guide: <a href="https://docs.stripe.com/reports/balance-transaction-types">Balance
* transaction types</a>
*/
@Getter
Expand Down
Loading
Loading