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 CODEGEN_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
c250368ba89214c80bc8de3e4fc5d2094c5502cc
529796460735eb8ef64a29787291f1b4d4b29f1c
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2153
v2160
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,5 +2,5 @@
package com.stripe;

final class ApiVersion {
public static final String CURRENT = "2025-12-15.preview";
public static final String CURRENT = "2026-01-28.preview";
}
23 changes: 23 additions & 0 deletions src/main/java/com/stripe/StripeClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,18 @@ public com.stripe.service.ForwardingService forwarding() {
return new com.stripe.service.ForwardingService(this.getResponseGetter());
}

/**
* @deprecated StripeClient.frMealVouchersOnboardings() is deprecated, use
* StripeClient.v1().frMealVouchersOnboardings() instead. All functionality under it has been
* copied over to StripeClient.v1().frMealVouchersOnboardings(). See <a
* href="https://github.com/stripe/stripe-java/wiki/v1-namespace-in-StripeClient">migration
* guide</a> for more on this and tips on migrating to the new v1 namespace.
*/
@Deprecated
public com.stripe.service.FrMealVouchersOnboardingService frMealVouchersOnboardings() {
return new com.stripe.service.FrMealVouchersOnboardingService(this.getResponseGetter());
}

/**
* @deprecated StripeClient.fxQuotes() is deprecated, use StripeClient.v1().fxQuotes() instead.
* All functionality under it has been copied over to StripeClient.v1().fxQuotes(). See <a
Expand Down Expand Up @@ -840,6 +852,17 @@ public com.stripe.service.ReportingService reporting() {
return new com.stripe.service.ReportingService(this.getResponseGetter());
}

/**
* @deprecated StripeClient.reserve() is deprecated, use StripeClient.v1().reserve() instead. All
* functionality under it has been copied over to StripeClient.v1().reserve(). See <a
* href="https://github.com/stripe/stripe-java/wiki/v1-namespace-in-StripeClient">migration
* guide</a> for more on this and tips on migrating to the new v1 namespace.
*/
@Deprecated
public com.stripe.service.ReserveService reserve() {
return new com.stripe.service.ReserveService(this.getResponseGetter());
}

/**
* @deprecated StripeClient.reviews() is deprecated, use StripeClient.v1().reviews() instead. All
* functionality under it has been copied over to StripeClient.v1().reviews(). See <a
Expand Down
92 changes: 72 additions & 20 deletions src/main/java/com/stripe/model/Account.java
Original file line number Diff line number Diff line change
Expand Up @@ -2575,9 +2575,6 @@ public static class Settings extends StripeObject {
@SerializedName("branding")
Branding branding;

@SerializedName("capital")
Capital capital;

@SerializedName("card_issuing")
CardIssuing cardIssuing;

Expand Down Expand Up @@ -2725,23 +2722,6 @@ public void setLogoObject(File expandableObject) {
}
}

/**
* For more details about Capital, please refer to the <a href="https://docs.stripe.com/api">API
* Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Capital extends StripeObject {
/** Per-currency mapping of user-selected destination accounts used to pay out loans. */
@SerializedName("payout_destination")
Map<String, String> payoutDestination;

/** Per-currency mapping of all destination accounts eligible to receive loan payouts. */
@SerializedName("payout_destination_selector")
Map<String, List<String>> payoutDestinationSelector;
}

/**
* For more details about CardIssuing, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
Expand Down Expand Up @@ -3081,13 +3061,85 @@ public static class Schedule extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class PaypayPayments extends StripeObject {
/** Additional files that are required to support the onboarding process of your business. */
@SerializedName("additional_files")
List<String> additionalFiles;

/**
* Whether your business sells digital content or not.
*
* <p>One of {@code digital_content}, or {@code other}.
*/
@SerializedName("goods_type")
String goodsType;

@SerializedName("site")
Site site;

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

@SerializedName("in_development")
InDevelopment inDevelopment;

@SerializedName("restricted")
Restricted restricted;

/**
* The status of your business's website.
*
* <p>One of {@code accessible}, {@code in_development}, or {@code restricted}.
*/
@SerializedName("type")
String type;

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

/**
* For more details about InDevelopment, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class InDevelopment extends StripeObject {
/** Field to indicate that the website password has been provided. */
@SerializedName("password_provided")
Boolean passwordProvided;

/** The username needed to access your business's website. */
@SerializedName("username")
String username;
}

/**
* For more details about Restricted, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Restricted extends StripeObject {
/** File explaining the payment flow for your business. */
@SerializedName("payment_flow_file")
String paymentFlowFile;
}
}
}

/**
Expand Down
51 changes: 42 additions & 9 deletions src/main/java/com/stripe/model/AccountSession.java
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,14 @@ public static class Components extends StripeObject {
@SerializedName("account_onboarding")
AccountOnboarding accountOnboarding;

/**
* Configuration for the <a
* href="https://stripe.com/connect/supported-embedded-components/agentic-commerce-settings/">agentic
* commerce settings</a> embedded component.
*/
@SerializedName("agentic_commerce_settings")
AgenticCommerceSettings agenticCommerceSettings;

@SerializedName("balances")
Balances balances;

Expand Down Expand Up @@ -288,6 +296,31 @@ public static class Features extends StripeObject {
}
}

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

@SerializedName("features")
Features features;

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

/**
* For more details about Balances, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
Expand Down Expand Up @@ -339,9 +372,9 @@ public static class Features extends StripeObject {
Boolean externalAccountCollection;

/**
* Whether to allow creation of instant payouts. Defaults to {@code true} when {@code
* controller.losses.payments} is set to {@code stripe} for the account, otherwise {@code
* false}.
* Whether to allow creation of instant payouts. The default value is {@code enabled} when
* Stripe is responsible for negative account balances, and {@code use_dashboard_rules}
* otherwise.
*/
@SerializedName("instant_payouts")
Boolean instantPayouts;
Expand Down Expand Up @@ -655,9 +688,9 @@ public static class Features extends StripeObject {
Boolean externalAccountCollection;

/**
* Whether to allow creation of instant payouts. Defaults to {@code true} when {@code
* controller.losses.payments} is set to {@code stripe} for the account, otherwise {@code
* false}.
* Whether to allow creation of instant payouts. The default value is {@code enabled} when
* Stripe is responsible for negative account balances, and {@code use_dashboard_rules}
* otherwise.
*/
@SerializedName("instant_payouts")
Boolean instantPayouts;
Expand Down Expand Up @@ -1019,9 +1052,9 @@ public static class Features extends StripeObject {
Boolean externalAccountCollection;

/**
* Whether to allow creation of instant payouts. Defaults to {@code true} when {@code
* controller.losses.payments} is set to {@code stripe} for the account, otherwise {@code
* false}.
* Whether to allow creation of instant payouts. The default value is {@code enabled} when
* Stripe is responsible for negative account balances, and {@code use_dashboard_rules}
* otherwise.
*/
@SerializedName("instant_payouts")
Boolean instantPayouts;
Expand Down
24 changes: 12 additions & 12 deletions src/main/java/com/stripe/model/BalanceTransaction.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ public class BalanceTransaction extends ApiResource implements HasId {
/**
* The balance that this transaction impacts.
*
* <p>One of {@code issuing}, {@code payments}, {@code refund_and_dispute_prefunding}, or {@code
* transit}.
* <p>One of {@code issuing}, {@code payments}, {@code refund_and_dispute_prefunding}, {@code
* risk_reserved}, or {@code transit}.
*/
@SerializedName("balance_type")
String balanceType;
Expand Down Expand Up @@ -138,11 +138,11 @@ public class BalanceTransaction extends ApiResource implements HasId {
* payment_network_reserve_release}, {@code payment_refund}, {@code payment_reversal}, {@code
* payment_unreconciled}, {@code payout}, {@code payout_cancel}, {@code payout_failure}, {@code
* payout_minimum_balance_hold}, {@code payout_minimum_balance_release}, {@code refund}, {@code
* refund_failure}, {@code reserve_transaction}, {@code reserved_funds}, {@code stripe_fee},
* {@code stripe_fx_fee}, {@code stripe_balance_payment_debit}, {@code
* stripe_balance_payment_debit_reversal}, {@code tax_fee}, {@code topup}, {@code topup_reversal},
* {@code transfer}, {@code transfer_cancel}, {@code transfer_failure}, or {@code
* transfer_refund}. Learn more about <a
* refund_failure}, {@code reserve_transaction}, {@code reserved_funds}, {@code reserve_hold},
* {@code reserve_release}, {@code stripe_fee}, {@code stripe_fx_fee}, {@code
* stripe_balance_payment_debit}, {@code stripe_balance_payment_debit_reversal}, {@code tax_fee},
* {@code topup}, {@code topup_reversal}, {@code transfer}, {@code transfer_cancel}, {@code
* transfer_failure}, or {@code transfer_refund}. Learn more about <a
* href="https://stripe.com/docs/reports/balance-transaction-types">balance transaction types and
* what they represent</a>. To classify transactions for accounting purposes, consider {@code
* reporting_category} instead.
Expand All @@ -157,11 +157,11 @@ public class BalanceTransaction extends ApiResource implements HasId {
* payment_network_reserve_release}, {@code payment_refund}, {@code payment_reversal}, {@code
* payment_unreconciled}, {@code payout}, {@code payout_cancel}, {@code payout_failure}, {@code
* payout_minimum_balance_hold}, {@code payout_minimum_balance_release}, {@code refund}, {@code
* refund_failure}, {@code reserve_transaction}, {@code reserved_funds}, {@code
* stripe_balance_payment_debit}, {@code stripe_balance_payment_debit_reversal}, {@code
* stripe_fee}, {@code stripe_fx_fee}, {@code tax_fee}, {@code topup}, {@code topup_reversal},
* {@code transfer}, {@code transfer_cancel}, {@code transfer_failure}, or {@code
* transfer_refund}.
* refund_failure}, {@code reserve_hold}, {@code reserve_release}, {@code reserve_transaction},
* {@code reserved_funds}, {@code stripe_balance_payment_debit}, {@code
* stripe_balance_payment_debit_reversal}, {@code stripe_fee}, {@code stripe_fx_fee}, {@code
* tax_fee}, {@code topup}, {@code topup_reversal}, {@code transfer}, {@code transfer_cancel},
* {@code transfer_failure}, or {@code transfer_refund}.
*/
@SerializedName("type")
String type;
Expand Down
22 changes: 11 additions & 11 deletions src/main/java/com/stripe/model/Charge.java
Original file line number Diff line number Diff line change
Expand Up @@ -2313,7 +2313,7 @@ public static class ThreeDSecure extends StripeObject {
/**
* The version of 3D Secure that was used.
*
* <p>One of {@code 1.0.2}, {@code 2.1.0}, or {@code 2.2.0}.
* <p>One of {@code 1.0.2}, {@code 2.1.0}, {@code 2.2.0}, {@code 2.3.0}, or {@code 2.3.1}.
*/
@SerializedName("version")
String version;
Expand Down Expand Up @@ -2991,23 +2991,23 @@ public static class IdBankTransfer extends StripeObject {
@EqualsAndHashCode(callSuper = false)
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 finom}, {@code handelsbanken}, {@code ing}, {@code knab}, {@code mollie},
* {@code moneyou}, {@code n26}, {@code nn}, {@code rabobank}, {@code regiobank}, {@code
* revolut}, {@code sns_bank}, {@code triodos_bank}, {@code van_lanschot}, or {@code
* yoursafe}.
* The customer's bank. Can be one of {@code abn_amro}, {@code adyen}, {@code asn_bank},
* {@code bunq}, {@code buut}, {@code finom}, {@code handelsbanken}, {@code ing}, {@code
* knab}, {@code mollie}, {@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;

/**
* The Bank Identifier Code of the customer's bank.
*
* <p>One of {@code ABNANL2A}, {@code ASNBNL21}, {@code BITSNL2A}, {@code BUNQNL2A}, {@code
* BUUTNL2A}, {@code FNOMNL22}, {@code FVLBNL22}, {@code HANDNL2A}, {@code INGBNL2A}, {@code
* KNABNL2H}, {@code MLLENL2A}, {@code MOYONL21}, {@code NNBANL2G}, {@code NTSBDEB1}, {@code
* RABONL2U}, {@code RBRBNL21}, {@code REVOIE23}, {@code REVOLT21}, {@code SNSBNL2A}, or
* {@code TRIONL2U}.
* <p>One of {@code ABNANL2A}, {@code ADYBNL2A}, {@code ASNBNL21}, {@code BITSNL2A}, {@code
* BUNQNL2A}, {@code BUUTNL2A}, {@code FNOMNL22}, {@code FVLBNL22}, {@code HANDNL2A}, {@code
* INGBNL2A}, {@code KNABNL2H}, {@code MLLENL2A}, {@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
20 changes: 10 additions & 10 deletions src/main/java/com/stripe/model/ConfirmationToken.java
Original file line number Diff line number Diff line change
Expand Up @@ -1747,23 +1747,23 @@ public static class IdBankTransfer extends StripeObject {
@EqualsAndHashCode(callSuper = false)
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 finom}, {@code handelsbanken}, {@code ing}, {@code knab},
* {@code mollie}, {@code moneyou}, {@code n26}, {@code nn}, {@code rabobank}, {@code
* regiobank}, {@code revolut}, {@code sns_bank}, {@code triodos_bank}, {@code van_lanschot},
* or {@code yoursafe}.
* The customer's bank, if provided. Can be one of {@code abn_amro}, {@code adyen}, {@code
* asn_bank}, {@code bunq}, {@code buut}, {@code finom}, {@code handelsbanken}, {@code ing},
* {@code knab}, {@code mollie}, {@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;

/**
* 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 FNOMNL22}, {@code FVLBNL22}, {@code HANDNL2A}, {@code INGBNL2A}, {@code
* KNABNL2H}, {@code MLLENL2A}, {@code MOYONL21}, {@code NNBANL2G}, {@code NTSBDEB1}, {@code
* RABONL2U}, {@code RBRBNL21}, {@code REVOIE23}, {@code REVOLT21}, {@code SNSBNL2A}, or
* {@code TRIONL2U}.
* <p>One of {@code ABNANL2A}, {@code ADYBNL2A}, {@code ASNBNL21}, {@code BITSNL2A}, {@code
* BUNQNL2A}, {@code BUUTNL2A}, {@code FNOMNL22}, {@code FVLBNL22}, {@code HANDNL2A}, {@code
* INGBNL2A}, {@code KNABNL2H}, {@code MLLENL2A}, {@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
Loading
Loading