Skip to content
Open
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
8989becedb2153519066ec2233cbf5880b938188
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2152
v2154
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-12-15.clover";
public static final String CURRENT = "2026-01-28.clover";
public static final String CURRENT_MAJOR = "clover";
}
18 changes: 9 additions & 9 deletions src/main/java/com/stripe/model/AccountSession.java
Original file line number Diff line number Diff line change
Expand Up @@ -322,9 +322,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 @@ -538,9 +538,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 @@ -902,9 +902,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
23 changes: 12 additions & 11 deletions src/main/java/com/stripe/model/BalanceTransaction.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ public class BalanceTransaction extends ApiResource implements HasId {
/**
* The balance that this transaction impacts.
*
* <p>One of {@code issuing}, {@code payments}, or {@code refund_and_dispute_prefunding}.
* <p>One of {@code issuing}, {@code payments}, {@code refund_and_dispute_prefunding}, or {@code
* risk_reserved}.
*/
@SerializedName("balance_type")
String balanceType;
Expand Down Expand Up @@ -137,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 @@ -156,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 @@ -2218,7 +2218,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 @@ -2851,23 +2851,23 @@ public static class Grabpay 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 @@ -1670,23 +1670,23 @@ public static class Grabpay 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
1 change: 1 addition & 0 deletions src/main/java/com/stripe/model/EventDataClassLookup.java
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ public final class EventDataClassLookup {
classLookup.put("issuing.transaction", com.stripe.model.issuing.Transaction.class);

classLookup.put("radar.early_fraud_warning", com.stripe.model.radar.EarlyFraudWarning.class);
classLookup.put("radar.payment_evaluation", com.stripe.model.radar.PaymentEvaluation.class);
classLookup.put("radar.value_list", com.stripe.model.radar.ValueList.class);
classLookup.put("radar.value_list_item", com.stripe.model.radar.ValueListItem.class);

Expand Down
46 changes: 23 additions & 23 deletions src/main/java/com/stripe/model/Invoice.java
Original file line number Diff line number Diff line change
Expand Up @@ -975,8 +975,8 @@ public Invoice attachPayment(InvoiceAttachPaymentParams params, RequestOptions o
/**
* This endpoint creates a draft invoice for a given customer. The invoice remains a draft until
* you <a href="https://stripe.com/docs/api#finalize_invoice">finalize</a> the invoice, which
* allows you to <a href="https://stripe.com/docs/api#pay_invoice">pay</a> or <a
* href="https://stripe.com/docs/api#send_invoice">send</a> the invoice to your customers.
* allows you to <a href="https://stripe.com/api/invoices/pay">pay</a> or <a
* href="https://stripe.com/api/invoices/send">send</a> the invoice to your customers.
*/
public static Invoice create(Map<String, Object> params) throws StripeException {
return create(params, (RequestOptions) null);
Expand All @@ -985,8 +985,8 @@ public static Invoice create(Map<String, Object> params) throws StripeException
/**
* This endpoint creates a draft invoice for a given customer. The invoice remains a draft until
* you <a href="https://stripe.com/docs/api#finalize_invoice">finalize</a> the invoice, which
* allows you to <a href="https://stripe.com/docs/api#pay_invoice">pay</a> or <a
* href="https://stripe.com/docs/api#send_invoice">send</a> the invoice to your customers.
* allows you to <a href="https://stripe.com/api/invoices/pay">pay</a> or <a
* href="https://stripe.com/api/invoices/send">send</a> the invoice to your customers.
*/
public static Invoice create(Map<String, Object> params, RequestOptions options)
throws StripeException {
Expand All @@ -999,8 +999,8 @@ public static Invoice create(Map<String, Object> params, RequestOptions options)
/**
* This endpoint creates a draft invoice for a given customer. The invoice remains a draft until
* you <a href="https://stripe.com/docs/api#finalize_invoice">finalize</a> the invoice, which
* allows you to <a href="https://stripe.com/docs/api#pay_invoice">pay</a> or <a
* href="https://stripe.com/docs/api#send_invoice">send</a> the invoice to your customers.
* allows you to <a href="https://stripe.com/api/invoices/pay">pay</a> or <a
* href="https://stripe.com/api/invoices/send">send</a> the invoice to your customers.
*/
public static Invoice create(InvoiceCreateParams params) throws StripeException {
return create(params, (RequestOptions) null);
Expand All @@ -1009,8 +1009,8 @@ public static Invoice create(InvoiceCreateParams params) throws StripeException
/**
* This endpoint creates a draft invoice for a given customer. The invoice remains a draft until
* you <a href="https://stripe.com/docs/api#finalize_invoice">finalize</a> the invoice, which
* allows you to <a href="https://stripe.com/docs/api#pay_invoice">pay</a> or <a
* href="https://stripe.com/docs/api#send_invoice">send</a> the invoice to your customers.
* allows you to <a href="https://stripe.com/api/invoices/pay">pay</a> or <a
* href="https://stripe.com/api/invoices/send">send</a> the invoice to your customers.
*/
public static Invoice create(InvoiceCreateParams params, RequestOptions options)
throws StripeException {
Expand Down Expand Up @@ -2105,21 +2105,21 @@ public static class CustomerTaxId extends StripeObject {
* ro_tin}, {@code rs_pib}, {@code sv_nit}, {@code uy_ruc}, {@code ve_rif}, {@code vn_tin},
* {@code gb_vat}, {@code nz_gst}, {@code au_abn}, {@code au_arn}, {@code in_gst}, {@code
* no_vat}, {@code no_voec}, {@code za_vat}, {@code ch_vat}, {@code mx_rfc}, {@code sg_uen},
* {@code ru_inn}, {@code ru_kpp}, {@code ca_bn}, {@code hk_br}, {@code es_cif}, {@code tw_vat},
* {@code th_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn}, {@code li_uid}, {@code li_vat},
* {@code my_itn}, {@code us_ein}, {@code kr_brn}, {@code ca_qst}, {@code ca_gst_hst}, {@code
* ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code my_sst}, {@code sg_gst}, {@code
* ae_trn}, {@code cl_tin}, {@code sa_vat}, {@code id_npwp}, {@code my_frp}, {@code il_vat},
* {@code ge_vat}, {@code ua_vat}, {@code is_vat}, {@code bg_uic}, {@code hu_tin}, {@code
* si_tin}, {@code ke_pin}, {@code tr_tin}, {@code eg_tin}, {@code ph_tin}, {@code al_tin},
* {@code bh_vat}, {@code kz_bin}, {@code ng_tin}, {@code om_vat}, {@code de_stn}, {@code
* ch_uid}, {@code tz_vat}, {@code uz_vat}, {@code uz_tin}, {@code md_vat}, {@code ma_vat},
* {@code by_tin}, {@code ao_tin}, {@code bs_tin}, {@code bb_tin}, {@code cd_nif}, {@code
* mr_nif}, {@code me_pib}, {@code zw_tin}, {@code ba_tin}, {@code gn_nif}, {@code mk_vat},
* {@code sr_fin}, {@code sn_ninea}, {@code am_tin}, {@code np_pan}, {@code tj_tin}, {@code
* ug_tin}, {@code zm_tin}, {@code kh_tin}, {@code aw_tin}, {@code az_tin}, {@code bd_bin},
* {@code bj_ifu}, {@code et_tin}, {@code kg_tin}, {@code la_tin}, {@code cm_niu}, {@code
* cv_nif}, {@code bf_ifu}, or {@code unknown}.
* {@code ru_inn}, {@code ru_kpp}, {@code ca_bn}, {@code hk_br}, {@code es_cif}, {@code pl_nip},
* {@code tw_vat}, {@code th_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn}, {@code li_uid},
* {@code li_vat}, {@code my_itn}, {@code us_ein}, {@code kr_brn}, {@code ca_qst}, {@code
* ca_gst_hst}, {@code ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code my_sst}, {@code
* sg_gst}, {@code ae_trn}, {@code cl_tin}, {@code sa_vat}, {@code id_npwp}, {@code my_frp},
* {@code il_vat}, {@code ge_vat}, {@code ua_vat}, {@code is_vat}, {@code bg_uic}, {@code
* hu_tin}, {@code si_tin}, {@code ke_pin}, {@code tr_tin}, {@code eg_tin}, {@code ph_tin},
* {@code al_tin}, {@code bh_vat}, {@code kz_bin}, {@code ng_tin}, {@code om_vat}, {@code
* de_stn}, {@code ch_uid}, {@code tz_vat}, {@code uz_vat}, {@code uz_tin}, {@code md_vat},
* {@code ma_vat}, {@code by_tin}, {@code ao_tin}, {@code bs_tin}, {@code bb_tin}, {@code
* cd_nif}, {@code mr_nif}, {@code me_pib}, {@code zw_tin}, {@code ba_tin}, {@code gn_nif},
* {@code mk_vat}, {@code sr_fin}, {@code sn_ninea}, {@code am_tin}, {@code np_pan}, {@code
* tj_tin}, {@code ug_tin}, {@code zm_tin}, {@code kh_tin}, {@code aw_tin}, {@code az_tin},
* {@code bd_bin}, {@code bj_ifu}, {@code et_tin}, {@code kg_tin}, {@code la_tin}, {@code
* cm_niu}, {@code cv_nif}, {@code bf_ifu}, or {@code unknown}.
*/
@SerializedName("type")
String type;
Expand Down
20 changes: 10 additions & 10 deletions src/main/java/com/stripe/model/PaymentAttemptRecord.java
Original file line number Diff line number Diff line change
Expand Up @@ -1894,23 +1894,23 @@ public static class Grabpay 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
Loading
Loading