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 @@
fdbf5e05015131c7993d2b4017103f0d94561b6a
e65e48569f6dfad2d5f1b58018017856520c3ae6
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2160
v2186
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 = "2026-01-28.clover";
public static final String CURRENT = "2026-02-25.clover";
public static final String CURRENT_MAJOR = "clover";
}
28 changes: 28 additions & 0 deletions src/main/java/com/stripe/model/Charge.java
Original file line number Diff line number Diff line change
Expand Up @@ -2515,6 +2515,13 @@ public static class CardPresent extends StripeObject {
@SerializedName("last4")
String last4;

/**
* ID of the <a href="https://docs.stripe.com/api/terminal/locations">location</a> that this
* transaction's reader is assigned to.
*/
@SerializedName("location")
String location;

/**
* Identifies which network this charge was processed on. Can be {@code amex}, {@code
* cartes_bancaires}, {@code diners}, {@code discover}, {@code eftpos_au}, {@code interac},
Expand Down Expand Up @@ -2557,6 +2564,13 @@ public static class CardPresent extends StripeObject {
@SerializedName("read_method")
String readMethod;

/**
* ID of the <a href="https://docs.stripe.com/api/terminal/readers">reader</a> this
* transaction was made on.
*/
@SerializedName("reader")
String reader;

/**
* A collection of fields required to be displayed on receipts. Only required for EMV
* transactions.
Expand Down Expand Up @@ -3037,6 +3051,13 @@ public static class InteracPresent extends StripeObject {
@SerializedName("last4")
String last4;

/**
* ID of the <a href="https://docs.stripe.com/api/terminal/locations">location</a> that this
* transaction's reader is assigned to.
*/
@SerializedName("location")
String location;

/**
* Identifies which network this charge was processed on. Can be {@code amex}, {@code
* cartes_bancaires}, {@code diners}, {@code discover}, {@code eftpos_au}, {@code interac},
Expand Down Expand Up @@ -3071,6 +3092,13 @@ public static class InteracPresent extends StripeObject {
@SerializedName("read_method")
String readMethod;

/**
* ID of the <a href="https://docs.stripe.com/api/terminal/readers">reader</a> this
* transaction was made on.
*/
@SerializedName("reader")
String reader;

/**
* A collection of fields required to be displayed on receipts. Only required for EMV
* transactions.
Expand Down
14 changes: 14 additions & 0 deletions src/main/java/com/stripe/model/ConfirmationToken.java
Original file line number Diff line number Diff line change
Expand Up @@ -1011,6 +1011,13 @@ public static class CardPresent extends StripeObject {
@SerializedName("last4")
String last4;

/**
* ID of the <a href="https://docs.stripe.com/api/terminal/locations">location</a> that
* this transaction's reader is assigned to.
*/
@SerializedName("location")
String location;

/**
* Identifies which network this charge was processed on. Can be {@code amex}, {@code
* cartes_bancaires}, {@code diners}, {@code discover}, {@code eftpos_au}, {@code
Expand Down Expand Up @@ -1055,6 +1062,13 @@ public static class CardPresent extends StripeObject {
@SerializedName("read_method")
String readMethod;

/**
* ID of the <a href="https://docs.stripe.com/api/terminal/readers">reader</a> this
* transaction was made on.
*/
@SerializedName("reader")
String reader;

/**
* A collection of fields required to be displayed on receipts. Only required for EMV
* transactions.
Expand Down
76 changes: 40 additions & 36 deletions src/main/java/com/stripe/model/Event.java
Original file line number Diff line number Diff line change
Expand Up @@ -105,21 +105,22 @@ public class Event extends ApiResource implements HasId {
* account.external_account.updated}, {@code account.updated}, {@code application_fee.created},
* {@code application_fee.refund.updated}, {@code application_fee.refunded}, {@code
* balance.available}, {@code balance_settings.updated}, {@code billing.alert.triggered}, {@code
* billing_portal.configuration.created}, {@code billing_portal.configuration.updated}, {@code
* billing_portal.session.created}, {@code capability.updated}, {@code
* cash_balance.funds_available}, {@code charge.captured}, {@code charge.dispute.closed}, {@code
* charge.dispute.created}, {@code charge.dispute.funds_reinstated}, {@code
* charge.dispute.funds_withdrawn}, {@code charge.dispute.updated}, {@code charge.expired}, {@code
* charge.failed}, {@code charge.pending}, {@code charge.refund.updated}, {@code charge.refunded},
* {@code charge.succeeded}, {@code charge.updated}, {@code
* checkout.session.async_payment_failed}, {@code checkout.session.async_payment_succeeded},
* {@code checkout.session.completed}, {@code checkout.session.expired}, {@code
* climate.order.canceled}, {@code climate.order.created}, {@code climate.order.delayed}, {@code
* climate.order.delivered}, {@code climate.order.product_substituted}, {@code
* climate.product.created}, {@code climate.product.pricing_updated}, {@code coupon.created},
* {@code coupon.deleted}, {@code coupon.updated}, {@code credit_note.created}, {@code
* credit_note.updated}, {@code credit_note.voided}, {@code customer.created}, {@code
* customer.deleted}, {@code customer.discount.created}, {@code customer.discount.deleted}, {@code
* billing.credit_grant.created}, {@code billing_portal.configuration.created}, {@code
* billing_portal.configuration.updated}, {@code billing_portal.session.created}, {@code
* capability.updated}, {@code cash_balance.funds_available}, {@code charge.captured}, {@code
* charge.dispute.closed}, {@code charge.dispute.created}, {@code
* charge.dispute.funds_reinstated}, {@code charge.dispute.funds_withdrawn}, {@code
* charge.dispute.updated}, {@code charge.expired}, {@code charge.failed}, {@code charge.pending},
* {@code charge.refund.updated}, {@code charge.refunded}, {@code charge.succeeded}, {@code
* charge.updated}, {@code checkout.session.async_payment_failed}, {@code
* checkout.session.async_payment_succeeded}, {@code checkout.session.completed}, {@code
* checkout.session.expired}, {@code climate.order.canceled}, {@code climate.order.created},
* {@code climate.order.delayed}, {@code climate.order.delivered}, {@code
* climate.order.product_substituted}, {@code climate.product.created}, {@code
* climate.product.pricing_updated}, {@code coupon.created}, {@code coupon.deleted}, {@code
* coupon.updated}, {@code credit_note.created}, {@code credit_note.updated}, {@code
* credit_note.voided}, {@code customer.created}, {@code customer.deleted}, {@code
* customer.discount.created}, {@code customer.discount.deleted}, {@code
* customer.discount.updated}, {@code customer.source.created}, {@code customer.source.deleted},
* {@code customer.source.expiring}, {@code customer.source.updated}, {@code
* customer.subscription.created}, {@code customer.subscription.deleted}, {@code
Expand Down Expand Up @@ -176,24 +177,27 @@ public class Event extends ApiResource implements HasId {
* radar.early_fraud_warning.created}, {@code radar.early_fraud_warning.updated}, {@code
* refund.created}, {@code refund.failed}, {@code refund.updated}, {@code
* reporting.report_run.failed}, {@code reporting.report_run.succeeded}, {@code
* reporting.report_type.updated}, {@code review.closed}, {@code review.opened}, {@code
* setup_intent.canceled}, {@code setup_intent.created}, {@code setup_intent.requires_action},
* {@code setup_intent.setup_failed}, {@code setup_intent.succeeded}, {@code
* sigma.scheduled_query_run.created}, {@code source.canceled}, {@code source.chargeable}, {@code
* source.failed}, {@code source.mandate_notification}, {@code source.refund_attributes_required},
* {@code source.transaction.created}, {@code source.transaction.updated}, {@code
* subscription_schedule.aborted}, {@code subscription_schedule.canceled}, {@code
* subscription_schedule.completed}, {@code subscription_schedule.created}, {@code
* subscription_schedule.expiring}, {@code subscription_schedule.released}, {@code
* subscription_schedule.updated}, {@code tax.settings.updated}, {@code tax_rate.created}, {@code
* tax_rate.updated}, {@code terminal.reader.action_failed}, {@code
* terminal.reader.action_succeeded}, {@code terminal.reader.action_updated}, {@code
* test_helpers.test_clock.advancing}, {@code test_helpers.test_clock.created}, {@code
* test_helpers.test_clock.deleted}, {@code test_helpers.test_clock.internal_failure}, {@code
* test_helpers.test_clock.ready}, {@code topup.canceled}, {@code topup.created}, {@code
* topup.failed}, {@code topup.reversed}, {@code topup.succeeded}, {@code transfer.created},
* {@code transfer.reversed}, {@code transfer.updated}, {@code treasury.credit_reversal.created},
* {@code treasury.credit_reversal.posted}, {@code treasury.debit_reversal.completed}, {@code
* reporting.report_type.updated}, {@code reserve.hold.created}, {@code reserve.hold.updated},
* {@code reserve.plan.created}, {@code reserve.plan.disabled}, {@code reserve.plan.expired},
* {@code reserve.plan.updated}, {@code reserve.release.created}, {@code review.closed}, {@code
* review.opened}, {@code setup_intent.canceled}, {@code setup_intent.created}, {@code
* setup_intent.requires_action}, {@code setup_intent.setup_failed}, {@code
* setup_intent.succeeded}, {@code sigma.scheduled_query_run.created}, {@code source.canceled},
* {@code source.chargeable}, {@code source.failed}, {@code source.mandate_notification}, {@code
* source.refund_attributes_required}, {@code source.transaction.created}, {@code
* source.transaction.updated}, {@code subscription_schedule.aborted}, {@code
* subscription_schedule.canceled}, {@code subscription_schedule.completed}, {@code
* subscription_schedule.created}, {@code subscription_schedule.expiring}, {@code
* subscription_schedule.released}, {@code subscription_schedule.updated}, {@code
* tax.settings.updated}, {@code tax_rate.created}, {@code tax_rate.updated}, {@code
* terminal.reader.action_failed}, {@code terminal.reader.action_succeeded}, {@code
* terminal.reader.action_updated}, {@code test_helpers.test_clock.advancing}, {@code
* test_helpers.test_clock.created}, {@code test_helpers.test_clock.deleted}, {@code
* test_helpers.test_clock.internal_failure}, {@code test_helpers.test_clock.ready}, {@code
* topup.canceled}, {@code topup.created}, {@code topup.failed}, {@code topup.reversed}, {@code
* topup.succeeded}, {@code transfer.created}, {@code transfer.reversed}, {@code
* transfer.updated}, {@code treasury.credit_reversal.created}, {@code
* treasury.credit_reversal.posted}, {@code treasury.debit_reversal.completed}, {@code
* treasury.debit_reversal.created}, {@code treasury.debit_reversal.initial_credit_granted},
* {@code treasury.financial_account.closed}, {@code treasury.financial_account.created}, {@code
* treasury.financial_account.features_status_updated}, {@code
Expand All @@ -211,9 +215,9 @@ public class Event extends ApiResource implements HasId {
* treasury.outbound_transfer.tracking_details_updated}, {@code treasury.received_credit.created},
* {@code treasury.received_credit.failed}, {@code treasury.received_credit.succeeded}, {@code
* treasury.received_debit.created}, {@code billing.credit_balance_transaction.created}, {@code
* billing.credit_grant.created}, {@code billing.credit_grant.updated}, {@code
* billing.meter.created}, {@code billing.meter.deactivated}, {@code billing.meter.reactivated},
* or {@code billing.meter.updated}.
* billing.credit_grant.updated}, {@code billing.meter.created}, {@code
* billing.meter.deactivated}, {@code billing.meter.reactivated}, or {@code
* billing.meter.updated}.
*/
@SerializedName("type")
String type;
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/com/stripe/model/EventDataClassLookup.java
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,10 @@ public final class EventDataClassLookup {
classLookup.put("reporting.report_run", com.stripe.model.reporting.ReportRun.class);
classLookup.put("reporting.report_type", com.stripe.model.reporting.ReportType.class);

classLookup.put("reserve.hold", com.stripe.model.reserve.Hold.class);
classLookup.put("reserve.plan", com.stripe.model.reserve.Plan.class);
classLookup.put("reserve.release", com.stripe.model.reserve.Release.class);

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

classLookup.put("tax.association", com.stripe.model.tax.Association.class);
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/stripe/model/File.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ public class File extends ApiResource implements HasId {
* financial_account_statement}, {@code identity_document}, {@code
* identity_document_downloadable}, {@code issuing_regulatory_reporting}, {@code pci_document},
* {@code platform_terms_of_service}, {@code selfie}, {@code sigma_scheduled_query}, {@code
* tax_document_user_upload}, {@code terminal_android_apk}, or {@code
* terminal_reader_splashscreen}.
* tax_document_user_upload}, {@code terminal_android_apk}, {@code terminal_reader_splashscreen},
* {@code terminal_wifi_certificate}, or {@code terminal_wifi_private_key}.
*/
@SerializedName("purpose")
String purpose;
Expand Down
33 changes: 18 additions & 15 deletions src/main/java/com/stripe/model/Invoice.java
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,10 @@ public class Invoice extends ApiResource implements HasId, MetadataStore<Invoice
@SerializedName("payment_settings")
PaymentSettings paymentSettings;

/** Payments for this invoice. */
/**
* Payments for this invoice. Use <a href="https://stripe.com/api/invoice-payment">invoice
* payment</a> to get more details.
*/
@SerializedName("payments")
InvoicePaymentCollection payments;

Expand Down Expand Up @@ -2107,19 +2110,19 @@ public static class CustomerTaxId extends StripeObject {
* 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 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}.
* {@code li_vat}, {@code lk_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 Expand Up @@ -2532,7 +2535,7 @@ public static class BankTransfer extends StripeObject {
public static class EuBankTransfer extends StripeObject {
/**
* The desired country code of the bank account information. Permitted values include:
* {@code BE}, {@code DE}, {@code ES}, {@code FR}, {@code IE}, or {@code NL}.
* {@code DE}, {@code FR}, {@code IE}, or {@code NL}.
*
* <p>One of {@code BE}, {@code DE}, {@code ES}, {@code FR}, {@code IE}, or {@code NL}.
*/
Expand Down
8 changes: 8 additions & 0 deletions src/main/java/com/stripe/model/Mandate.java
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,10 @@ public static class AuBecsDebit extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class BacsDebit extends StripeObject {
/** The display name for the account on this mandate. */
@SerializedName("display_name")
String displayName;

/**
* The status of the mandate on the Bacs network. Can be one of {@code pending}, {@code
* revoked}, {@code refused}, or {@code accepted}.
Expand All @@ -355,6 +359,10 @@ public static class BacsDebit extends StripeObject {
@SerializedName("revocation_reason")
String revocationReason;

/** The service user number for the account on this mandate. */
@SerializedName("service_user_number")
String serviceUserNumber;

/** The URL that will contain the mandate that the customer has signed. */
@SerializedName("url")
String url;
Expand Down
Loading
Loading