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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion API_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6d15a7f20cb77c2c22091a30e499cb89d7e3248c
a4d4c803dcbf205368dc65179c7eca4748aadaf7
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2111
v2123
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-10-29.clover";
public static final String CURRENT = "2025-11-17.clover";
public static final String CURRENT_MAJOR = "clover";
}
26 changes: 15 additions & 11 deletions src/main/java/com/stripe/model/BankAccount.java
Original file line number Diff line number Diff line change
Expand Up @@ -156,20 +156,24 @@ public class BankAccount extends ApiResource

/**
* For bank accounts, possible values are {@code new}, {@code validated}, {@code verified}, {@code
* verification_failed}, or {@code errored}. A bank account that hasn't had any activity or
* validation performed is {@code new}. If Stripe can determine that the bank account exists, its
* status will be {@code validated}. Note that there often isn’t enough information to know (e.g.,
* for smaller credit unions), and the validation is not always run. If customer bank account
* verification has succeeded, the bank account status will be {@code verified}. If the
* verification failed for any reason, such as microdeposit failure, the status will be {@code
* verification_failed}. If a payout sent to this bank account fails, we'll set the status to
* {@code errored} and will not continue to send <a
* verification_failed}, {@code tokenized_account_number_deactivated} or {@code errored}. A bank
* account that hasn't had any activity or validation performed is {@code new}. If Stripe can
* determine that the bank account exists, its status will be {@code validated}. Note that there
* often isn’t enough information to know (e.g., for smaller credit unions), and the validation is
* not always run. If customer bank account verification has succeeded, the bank account status
* will be {@code verified}. If the verification failed for any reason, such as microdeposit
* failure, the status will be {@code verification_failed}. If the status is {@code
* tokenized_account_number_deactivated}, the account utilizes a tokenized account number which
* has been deactivated due to expiration or revocation. This account will need to be reverified
* to continue using it for money movement. If a payout sent to this bank account fails, we'll set
* the status to {@code errored} and will not continue to send <a
* href="https://stripe.com/docs/payouts#payout-schedule">scheduled payouts</a> until the bank
* details are updated.
*
* <p>For external accounts, possible values are {@code new}, {@code errored} and {@code
* verification_failed}. If a payout fails, the status is set to {@code errored} and scheduled
* payouts are stopped until account details are updated. In the US and India, if we can't <a
* <p>For external accounts, possible values are {@code new}, {@code errored}, {@code
* verification_failed}, and {@code tokenized_account_number_deactivated}. If a payout fails, the
* status is set to {@code errored} and scheduled payouts are stopped until account details are
* updated. In the US and India, if we can't <a
* href="https://support.stripe.com/questions/bank-account-ownership-verification">verify the
* owner of the bank account</a>, we'll set the status to {@code verification_failed}. Other
* validations aren't run against external accounts because they're only used for payouts. This
Expand Down
16 changes: 10 additions & 6 deletions src/main/java/com/stripe/model/Charge.java
Original file line number Diff line number Diff line change
Expand Up @@ -2831,9 +2831,9 @@ public static class Grabpay extends StripeObject {
public static class Ideal extends StripeObject {
/**
* The customer's bank. Can be one of {@code abn_amro}, {@code asn_bank}, {@code bunq}, {@code
* buut}, {@code handelsbanken}, {@code ing}, {@code knab}, {@code moneyou}, {@code n26},
* {@code nn}, {@code rabobank}, {@code regiobank}, {@code revolut}, {@code sns_bank}, {@code
* triodos_bank}, {@code van_lanschot}, or {@code yoursafe}.
* buut}, {@code finom}, {@code handelsbanken}, {@code ing}, {@code knab}, {@code moneyou},
* {@code n26}, {@code nn}, {@code rabobank}, {@code regiobank}, {@code revolut}, {@code
* sns_bank}, {@code triodos_bank}, {@code van_lanschot}, or {@code yoursafe}.
*/
@SerializedName("bank")
String bank;
Expand All @@ -2842,9 +2842,9 @@ public static class Ideal extends StripeObject {
* The Bank Identifier Code of the customer's bank.
*
* <p>One of {@code ABNANL2A}, {@code ASNBNL21}, {@code BITSNL2A}, {@code BUNQNL2A}, {@code
* BUUTNL2A}, {@code FVLBNL22}, {@code HANDNL2A}, {@code INGBNL2A}, {@code KNABNL2H}, {@code
* MOYONL21}, {@code NNBANL2G}, {@code NTSBDEB1}, {@code RABONL2U}, {@code RBRBNL21}, {@code
* REVOIE23}, {@code REVOLT21}, {@code SNSBNL2A}, or {@code TRIONL2U}.
* BUUTNL2A}, {@code FNOMNL22}, {@code FVLBNL22}, {@code HANDNL2A}, {@code INGBNL2A}, {@code
* KNABNL2H}, {@code MOYONL21}, {@code NNBANL2G}, {@code NTSBDEB1}, {@code RABONL2U}, {@code
* RBRBNL21}, {@code REVOIE23}, {@code REVOLT21}, {@code SNSBNL2A}, or {@code TRIONL2U}.
*/
@SerializedName("bic")
String bic;
Expand All @@ -2865,6 +2865,10 @@ public static class Ideal extends StripeObject {
@SerializedName("iban_last4")
String ibanLast4;

/** Unique transaction ID generated by iDEAL. */
@SerializedName("transaction_id")
String transactionId;

/**
* Owner's verified full name. Values are verified or provided by iDEAL directly (if
* supported) at the time of authorization or settlement. They cannot be set or mutated.
Expand Down
16 changes: 9 additions & 7 deletions src/main/java/com/stripe/model/ConfirmationToken.java
Original file line number Diff line number Diff line change
Expand Up @@ -1665,9 +1665,10 @@ public static class Grabpay extends StripeObject {}
public static class Ideal extends StripeObject {
/**
* The customer's bank, if provided. Can be one of {@code abn_amro}, {@code asn_bank}, {@code
* bunq}, {@code buut}, {@code handelsbanken}, {@code ing}, {@code knab}, {@code moneyou},
* {@code n26}, {@code nn}, {@code rabobank}, {@code regiobank}, {@code revolut}, {@code
* sns_bank}, {@code triodos_bank}, {@code van_lanschot}, or {@code yoursafe}.
* bunq}, {@code buut}, {@code finom}, {@code handelsbanken}, {@code ing}, {@code knab},
* {@code moneyou}, {@code n26}, {@code nn}, {@code rabobank}, {@code regiobank}, {@code
* revolut}, {@code sns_bank}, {@code triodos_bank}, {@code van_lanschot}, or {@code
* yoursafe}.
*/
@SerializedName("bank")
String bank;
Expand All @@ -1676,9 +1677,9 @@ public static class Ideal extends StripeObject {
* The Bank Identifier Code of the customer's bank, if the bank was provided.
*
* <p>One of {@code ABNANL2A}, {@code ASNBNL21}, {@code BITSNL2A}, {@code BUNQNL2A}, {@code
* BUUTNL2A}, {@code FVLBNL22}, {@code HANDNL2A}, {@code INGBNL2A}, {@code KNABNL2H}, {@code
* MOYONL21}, {@code NNBANL2G}, {@code NTSBDEB1}, {@code RABONL2U}, {@code RBRBNL21}, {@code
* REVOIE23}, {@code REVOLT21}, {@code SNSBNL2A}, or {@code TRIONL2U}.
* BUUTNL2A}, {@code FNOMNL22}, {@code FVLBNL22}, {@code HANDNL2A}, {@code INGBNL2A}, {@code
* KNABNL2H}, {@code MOYONL21}, {@code NNBANL2G}, {@code NTSBDEB1}, {@code RABONL2U}, {@code
* RBRBNL21}, {@code REVOIE23}, {@code REVOLT21}, {@code SNSBNL2A}, or {@code TRIONL2U}.
*/
@SerializedName("bic")
String bic;
Expand Down Expand Up @@ -2351,7 +2352,8 @@ public static class Blocked extends StripeObject {
*
* <p>One of {@code bank_account_closed}, {@code bank_account_frozen}, {@code
* bank_account_invalid_details}, {@code bank_account_restricted}, {@code
* bank_account_unusable}, or {@code debit_not_authorized}.
* bank_account_unusable}, {@code debit_not_authorized}, or {@code
* tokenized_account_number_deactivated}.
*/
@SerializedName("reason")
String reason;
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/com/stripe/model/Event.java
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,14 @@ public class Event extends ApiResource implements HasId {
* customer.tax_id.created}, {@code customer.tax_id.deleted}, {@code customer.tax_id.updated},
* {@code customer.updated}, {@code customer_cash_balance_transaction.created}, {@code
* entitlements.active_entitlement_summary.updated}, {@code file.created}, {@code
* financial_connections.account.account_numbers_updated}, {@code
* financial_connections.account.created}, {@code financial_connections.account.deactivated},
* {@code financial_connections.account.disconnected}, {@code
* financial_connections.account.reactivated}, {@code
* financial_connections.account.refreshed_balance}, {@code
* financial_connections.account.refreshed_ownership}, {@code
* financial_connections.account.refreshed_transactions}, {@code
* financial_connections.account.upcoming_account_number_expiry}, {@code
* identity.verification_session.canceled}, {@code identity.verification_session.created}, {@code
* identity.verification_session.processing}, {@code identity.verification_session.redacted},
* {@code identity.verification_session.requires_input}, {@code
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/com/stripe/model/EventDataClassLookup.java
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ public final class EventDataClassLookup {

classLookup.put("scheduled_query_run", com.stripe.model.sigma.ScheduledQueryRun.class);

classLookup.put("tax.association", com.stripe.model.tax.Association.class);
classLookup.put("tax.calculation", com.stripe.model.tax.Calculation.class);
classLookup.put("tax.calculation_line_item", com.stripe.model.tax.CalculationLineItem.class);
classLookup.put("tax.registration", com.stripe.model.tax.Registration.class);
Expand All @@ -184,6 +185,7 @@ public final class EventDataClassLookup {
classLookup.put("terminal.configuration", com.stripe.model.terminal.Configuration.class);
classLookup.put("terminal.connection_token", com.stripe.model.terminal.ConnectionToken.class);
classLookup.put("terminal.location", com.stripe.model.terminal.Location.class);
classLookup.put("terminal.onboarding_link", com.stripe.model.terminal.OnboardingLink.class);
classLookup.put("terminal.reader", com.stripe.model.terminal.Reader.class);

classLookup.put("test_helpers.test_clock", com.stripe.model.testhelpers.TestClock.class);
Expand Down
36 changes: 26 additions & 10 deletions src/main/java/com/stripe/model/PaymentAttemptRecord.java
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,6 @@ public static class PaymentMethodDetails extends StripeObject {
@SerializedName("type")
String type;

/** Details of the US Bank Account used for this payment attempt. */
@SerializedName("us_bank_account")
UsBankAccount usBankAccount;

Expand Down Expand Up @@ -1795,9 +1794,9 @@ public static class Grabpay extends StripeObject {
public static class Ideal extends StripeObject {
/**
* The customer's bank. Can be one of {@code abn_amro}, {@code asn_bank}, {@code bunq}, {@code
* buut}, {@code handelsbanken}, {@code ing}, {@code knab}, {@code moneyou}, {@code n26},
* {@code nn}, {@code rabobank}, {@code regiobank}, {@code revolut}, {@code sns_bank}, {@code
* triodos_bank}, {@code van_lanschot}, or {@code yoursafe}.
* buut}, {@code finom}, {@code handelsbanken}, {@code ing}, {@code knab}, {@code moneyou},
* {@code n26}, {@code nn}, {@code rabobank}, {@code regiobank}, {@code revolut}, {@code
* sns_bank}, {@code triodos_bank}, {@code van_lanschot}, or {@code yoursafe}.
*/
@SerializedName("bank")
String bank;
Expand All @@ -1806,9 +1805,9 @@ public static class Ideal extends StripeObject {
* The Bank Identifier Code of the customer's bank.
*
* <p>One of {@code ABNANL2A}, {@code ASNBNL21}, {@code BITSNL2A}, {@code BUNQNL2A}, {@code
* BUUTNL2A}, {@code FVLBNL22}, {@code HANDNL2A}, {@code INGBNL2A}, {@code KNABNL2H}, {@code
* MOYONL21}, {@code NNBANL2G}, {@code NTSBDEB1}, {@code RABONL2U}, {@code RBRBNL21}, {@code
* REVOIE23}, {@code REVOLT21}, {@code SNSBNL2A}, or {@code TRIONL2U}.
* BUUTNL2A}, {@code FNOMNL22}, {@code FVLBNL22}, {@code HANDNL2A}, {@code INGBNL2A}, {@code
* KNABNL2H}, {@code MOYONL21}, {@code NNBANL2G}, {@code NTSBDEB1}, {@code RABONL2U}, {@code
* RBRBNL21}, {@code REVOIE23}, {@code REVOLT21}, {@code SNSBNL2A}, or {@code TRIONL2U}.
*/
@SerializedName("bic")
String bic;
Expand All @@ -1829,6 +1828,10 @@ public static class Ideal extends StripeObject {
@SerializedName("iban_last4")
String ibanLast4;

/** Unique transaction ID generated by iDEAL. */
@SerializedName("transaction_id")
String transactionId;

/**
* Owner's verified full name. Values are verified or provided by iDEAL directly (if
* supported) at the time of authorization or settlement. They cannot be set or mutated.
Expand Down Expand Up @@ -2871,14 +2874,27 @@ public static class Swish extends StripeObject {
@EqualsAndHashCode(callSuper = false)
public static class Twint extends StripeObject {}

/** Details of the US Bank Account used for this payment attempt. */
/**
* For more details about UsBankAccount, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class UsBankAccount extends StripeObject {
/**
* The type of entity that holds the account. This can be either 'individual' or 'company'.
*
* <p>One of {@code company}, or {@code individual}.
*/
@SerializedName("account_holder_type")
String accountHolderType;

/**
* The type of the bank account. This can be either 'checking' or 'savings'.
*
* <p>One of {@code checking}, or {@code savings}.
*/
@SerializedName("account_type")
String accountType;

Expand All @@ -2903,11 +2919,11 @@ public static class UsBankAccount extends StripeObject {
@Setter(lombok.AccessLevel.NONE)
ExpandableField<Mandate> mandate;

/** Reference number to locate ACH payments with customer’s bank. */
/** The ACH payment reference for this transaction. */
@SerializedName("payment_reference")
String paymentReference;

/** Routing number of the bank account. */
/** The routing number for the bank account. */
@SerializedName("routing_number")
String routingNumber;

Expand Down
41 changes: 41 additions & 0 deletions src/main/java/com/stripe/model/PaymentIntent.java
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,9 @@ public class PaymentIntent extends ApiResource implements HasId, MetadataStore<P
@SerializedName("excluded_payment_method_types")
List<String> excludedPaymentMethodTypes;

@SerializedName("hooks")
Hooks hooks;

/** Unique identifier for the object. */
@Getter(onMethod_ = {@Override})
@SerializedName("id")
Expand Down Expand Up @@ -1638,6 +1641,43 @@ public static class AutomaticPaymentMethods extends StripeObject {
Boolean enabled;
}

/**
* For more details about Hooks, please refer to the <a href="https://docs.stripe.com/api">API
* Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Hooks extends StripeObject {
@SerializedName("inputs")
Inputs inputs;

/**
* For more details about Inputs, please refer to the <a href="https://docs.stripe.com/api">API
* Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Inputs extends StripeObject {
@SerializedName("tax")
Tax tax;

/**
* For more details about Tax, please refer to the <a href="https://docs.stripe.com/api">API
* Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Tax extends StripeObject {
/** The <a href="https://stripe.com/docs/api/tax/calculations">TaxCalculation</a> id */
@SerializedName("calculation")
String calculation;
}
}
}

/**
* For more details about NextAction, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
Expand Down Expand Up @@ -5254,6 +5294,7 @@ public void setResponseGetter(StripeResponseGetter responseGetter) {
trySetResponseGetter(application, responseGetter);
trySetResponseGetter(automaticPaymentMethods, responseGetter);
trySetResponseGetter(customer, responseGetter);
trySetResponseGetter(hooks, responseGetter);
trySetResponseGetter(lastPaymentError, responseGetter);
trySetResponseGetter(latestCharge, responseGetter);
trySetResponseGetter(nextAction, responseGetter);
Expand Down
15 changes: 8 additions & 7 deletions src/main/java/com/stripe/model/PaymentMethod.java
Original file line number Diff line number Diff line change
Expand Up @@ -1897,9 +1897,9 @@ public static class Grabpay extends StripeObject {}
public static class Ideal extends StripeObject {
/**
* The customer's bank, if provided. Can be one of {@code abn_amro}, {@code asn_bank}, {@code
* bunq}, {@code buut}, {@code handelsbanken}, {@code ing}, {@code knab}, {@code moneyou},
* {@code n26}, {@code nn}, {@code rabobank}, {@code regiobank}, {@code revolut}, {@code
* sns_bank}, {@code triodos_bank}, {@code van_lanschot}, or {@code yoursafe}.
* bunq}, {@code buut}, {@code finom}, {@code handelsbanken}, {@code ing}, {@code knab}, {@code
* moneyou}, {@code n26}, {@code nn}, {@code rabobank}, {@code regiobank}, {@code revolut},
* {@code sns_bank}, {@code triodos_bank}, {@code van_lanschot}, or {@code yoursafe}.
*/
@SerializedName("bank")
String bank;
Expand All @@ -1908,9 +1908,9 @@ public static class Ideal extends StripeObject {
* The Bank Identifier Code of the customer's bank, if the bank was provided.
*
* <p>One of {@code ABNANL2A}, {@code ASNBNL21}, {@code BITSNL2A}, {@code BUNQNL2A}, {@code
* BUUTNL2A}, {@code FVLBNL22}, {@code HANDNL2A}, {@code INGBNL2A}, {@code KNABNL2H}, {@code
* MOYONL21}, {@code NNBANL2G}, {@code NTSBDEB1}, {@code RABONL2U}, {@code RBRBNL21}, {@code
* REVOIE23}, {@code REVOLT21}, {@code SNSBNL2A}, or {@code TRIONL2U}.
* BUUTNL2A}, {@code FNOMNL22}, {@code FVLBNL22}, {@code HANDNL2A}, {@code INGBNL2A}, {@code
* KNABNL2H}, {@code MOYONL21}, {@code NNBANL2G}, {@code NTSBDEB1}, {@code RABONL2U}, {@code
* RBRBNL21}, {@code REVOIE23}, {@code REVOLT21}, {@code SNSBNL2A}, or {@code TRIONL2U}.
*/
@SerializedName("bic")
String bic;
Expand Down Expand Up @@ -2598,7 +2598,8 @@ public static class Blocked extends StripeObject {
*
* <p>One of {@code bank_account_closed}, {@code bank_account_frozen}, {@code
* bank_account_invalid_details}, {@code bank_account_restricted}, {@code
* bank_account_unusable}, or {@code debit_not_authorized}.
* bank_account_unusable}, {@code debit_not_authorized}, or {@code
* tokenized_account_number_deactivated}.
*/
@SerializedName("reason")
String reason;
Expand Down
Loading
Loading