Skip to content

Bump com.stripe:stripe-java from 21.15.0 to 32.1.0#138

Open
dependabot[bot] wants to merge 1 commit into
work-for-release-0.23.xfrom
dependabot/maven/work-for-release-0.23.x/com.stripe-stripe-java-32.1.0
Open

Bump com.stripe:stripe-java from 21.15.0 to 32.1.0#138
dependabot[bot] wants to merge 1 commit into
work-for-release-0.23.xfrom
dependabot/maven/work-for-release-0.23.x/com.stripe-stripe-java-32.1.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 11, 2026

Bumps com.stripe:stripe-java from 21.15.0 to 32.1.0.

Release notes

Sourced from com.stripe:stripe-java's releases.

v32.1.0

This release changes the pinned API version to 2026-04-22.dahlia.

  • #2203 Update generated code
    • Add support for balanceReport and payoutReconciliationReport on AccountSession.components and AccountSessionCreateParams.components
    • Add support for appDistribution and sunbitPayments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
    • Add support for sunbit on Charge.payment_method_details, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.payment_method_data, PaymentAttemptRecord.payment_method_details, PaymentIntentConfirmParams.payment_method_data, PaymentIntentCreateParams.payment_method_data, PaymentIntentUpdateParams.payment_method_data, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, PaymentMethodConfiguration, PaymentMethodCreateParams, PaymentMethod, PaymentRecord.payment_method_details, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
    • Add support for location and reader on Charge.payment_method_details.klarna, PaymentAttemptRecord.payment_method_details.klarna, and PaymentRecord.payment_method_details.klarna
    • Add support for mandate on Charge.payment_method_details.pix, PaymentAttemptRecord.payment_method_details.pix, and PaymentRecord.payment_method_details.pix
    • Add support for managedPayments on PaymentIntent, PaymentLinkCreateParams, PaymentLink, SetupIntent, Subscription, checkout.SessionCreateParams, and checkout.Session
    • Add support for new value sunbit on enums PaymentIntentConfirmParams.excludedPaymentMethodTypes, PaymentIntentCreateParams.excludedPaymentMethodTypes, PaymentIntentUpdateParams.excludedPaymentMethodTypes, SetupIntentCreateParams.excludedPaymentMethodTypes, SetupIntentUpdateParams.excludedPaymentMethodTypes, and checkout.SessionCreateParams.excludedPaymentMethodTypes
    • Add support for mandateOptions on PaymentIntent.payment_method_options.pix, PaymentIntentConfirmParams.payment_method_options.pix, PaymentIntentCreateParams.payment_method_options.pix, PaymentIntentUpdateParams.payment_method_options.pix, checkout.Session.payment_method_options.pix, and checkout.SessionCreateParams.payment_method_options.pix
    • Change type of PaymentIntentConfirmParams.payment_method_options.pix.setupFutureUsage, PaymentIntentCreateParams.payment_method_options.pix.setupFutureUsage, PaymentIntentUpdateParams.payment_method_options.pix.setupFutureUsage, and checkout.SessionCreateParams.payment_method_options.pix.setupFutureUsage from literal('none') to enum('none'|'off_session')
    • Add support for new value sunbit on enum checkout.SessionCreateParams.paymentMethodTypes
    • ⚠️ Change type of PaymentIntent.payment_method_options.pix.setupFutureUsage and checkout.Session.payment_method_options.pix.setupFutureUsage from literal('none') to enum('none'|'off_session')
    • Add support for new value sunbit on enums ConfirmationTokenCreateParams.payment_method_data.type, PaymentIntentConfirmParams.payment_method_data.type, PaymentIntentCreateParams.payment_method_data.type, PaymentIntentUpdateParams.payment_method_data.type, SetupIntentConfirmParams.payment_method_data.type, SetupIntentCreateParams.payment_method_data.type, and SetupIntentUpdateParams.payment_method_data.type
    • Add support for new values fo_vat, gi_tin, it_cf, and py_ruc on enums CustomerCreateParams.tax_id_data[].type, InvoiceCreatePreviewParams.customer_details.tax_ids[].type, TaxIdCreateParams.type, and tax.CalculationCreateParams.customer_details.tax_ids[].type
    • Add support for new value sunbit on enums CustomerListPaymentMethodsParams.type, PaymentMethodCreateParams.type, and PaymentMethodListParams.type
    • Add support for pix on Invoice.payment_settings.payment_method_options, InvoiceCreateParams.payment_settings.payment_method_options, InvoiceUpdateParams.payment_settings.payment_method_options, Mandate.payment_method_details, SetupAttempt.payment_method_details, SetupIntent.payment_method_options, SetupIntentConfirmParams.payment_method_options, SetupIntentCreateParams.payment_method_options, SetupIntentUpdateParams.payment_method_options, Subscription.payment_settings.payment_method_options, SubscriptionCreateParams.payment_settings.payment_method_options, and SubscriptionUpdateParams.payment_settings.payment_method_options
    • Add support for upi on Invoice.payment_settings.payment_method_options, InvoiceCreateParams.payment_settings.payment_method_options, InvoiceUpdateParams.payment_settings.payment_method_options, Subscription.payment_settings.payment_method_options, SubscriptionCreateParams.payment_settings.payment_method_options, and SubscriptionUpdateParams.payment_settings.payment_method_options
    • Add support for new values pix and upi on enums InvoiceCreateParams.payment_settings.paymentMethodTypes, InvoiceUpdateParams.payment_settings.paymentMethodTypes, SubscriptionCreateParams.payment_settings.paymentMethodTypes, and SubscriptionUpdateParams.payment_settings.paymentMethodTypes
    • Add support for cardPresence on issuing.Authorization
    • Add support for allowedCardPresences and blockedCardPresences on issuing.Card.spending_controls, issuing.CardCreateParams.spending_controls, issuing.CardUpdateParams.spending_controls, issuing.Cardholder.spending_controls, issuing.CardholderCreateParams.spending_controls, and issuing.CardholderUpdateParams.spending_controls
    • Add support for amount and currency on Mandate.multi_use
    • Add support for amountToConfirm on PaymentIntentConfirmParams
    • Add support for klarnaDisplayQrCode on PaymentIntent.next_action
    • Add support for new value sunbit on enums PaymentLinkCreateParams.paymentMethodTypes and PaymentLinkUpdateParams.paymentMethodTypes
    • Add support for new value account on enum radar.ValueListCreateParams.itemType
    • Add support for moto on SetupAttempt.payment_method_details.card
    • Add support for pixDisplayQrCode on SetupIntent.next_action
    • Add support for new value 2026-04-22.dahlia on enum WebhookEndpointCreateParams.apiVersion
  • #2208 Fix missing stripeContext in RequestOptions.toBuilderFullCopy()
    • Fixes a bug where an existing stripeContext was being reset to null when calling RequestOptions#toBuilderFullCopy()

See the changelog for more details.

v32.1.0-beta.1

This release changes the pinned API version to 2026-03-25.preview. It is built on top of SDK version 32.0.0 which contains breaking changes. Please review the changelog for 32.0.0 if upgrading from older SDK versions.

  • #2194 Update generated code for beta
  • #2192 Update generated code for beta
    • Release specs are identical.
  • #2164 Update generated code for beta
    • Add support for new resources productcatalog.TrialOffer, tax.Location, and v2.core.BatchJob
    • Add support for create method on resource productcatalog.TrialOffer
    • Add support for create, list, and retrieve methods on resource tax.Location
    • Add support for cancel, create, and retrieve methods on resource v2.core.BatchJob
    • Add support for performanceLocation on tax.CalculationCreateParams.line_items[] and tax.CalculationLineItem
    • Add support for trialOffer on InvoiceCreatePreviewParams.schedule_details.amendments[].item_actions[].add, InvoiceCreatePreviewParams.schedule_details.amendments[].item_actions[].set, InvoiceCreatePreviewParams.schedule_details.phases[].items[], QuoteCreateParams.lines[].actions[].add_item, QuoteCreateParams.lines[].actions[].set_items[], QuoteLine.actions[].add_item, QuoteLine.actions[].set_items[], QuotePreviewSubscriptionSchedule.phases[].items[], QuoteUpdateParams.lines[].actions[].add_item, QuoteUpdateParams.lines[].actions[].set_items[], SubscriptionSchedule.phases[].items[], SubscriptionScheduleAmendParams.amendments[].item_actions[].add, SubscriptionScheduleAmendParams.amendments[].item_actions[].set, SubscriptionScheduleCreateParams.phases[].items[], and SubscriptionScheduleUpdateParams.phases[].items[]
    • Add support for riskReserved on Balance

... (truncated)

Changelog

Sourced from com.stripe:stripe-java's changelog.

32.1.0 - 2026-04-23

This release changes the pinned API version to 2026-04-22.dahlia.

  • #2203 Update generated code
    • Add support for balanceReport and payoutReconciliationReport on AccountSession.components and AccountSessionCreateParams.components
    • Add support for appDistribution and sunbitPayments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
    • Add support for sunbit on Charge.payment_method_details, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.payment_method_data, PaymentAttemptRecord.payment_method_details, PaymentIntentConfirmParams.payment_method_data, PaymentIntentCreateParams.payment_method_data, PaymentIntentUpdateParams.payment_method_data, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, PaymentMethodConfiguration, PaymentMethodCreateParams, PaymentMethod, PaymentRecord.payment_method_details, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
    • Add support for location and reader on Charge.payment_method_details.klarna, PaymentAttemptRecord.payment_method_details.klarna, and PaymentRecord.payment_method_details.klarna
    • Add support for mandate on Charge.payment_method_details.pix, PaymentAttemptRecord.payment_method_details.pix, and PaymentRecord.payment_method_details.pix
    • Add support for managedPayments on PaymentIntent, PaymentLinkCreateParams, PaymentLink, SetupIntent, Subscription, checkout.SessionCreateParams, and checkout.Session
    • Add support for new value sunbit on enums PaymentIntentConfirmParams.excludedPaymentMethodTypes, PaymentIntentCreateParams.excludedPaymentMethodTypes, PaymentIntentUpdateParams.excludedPaymentMethodTypes, SetupIntentCreateParams.excludedPaymentMethodTypes, SetupIntentUpdateParams.excludedPaymentMethodTypes, and checkout.SessionCreateParams.excludedPaymentMethodTypes
    • Add support for mandateOptions on PaymentIntent.payment_method_options.pix, PaymentIntentConfirmParams.payment_method_options.pix, PaymentIntentCreateParams.payment_method_options.pix, PaymentIntentUpdateParams.payment_method_options.pix, checkout.Session.payment_method_options.pix, and checkout.SessionCreateParams.payment_method_options.pix
    • Change type of PaymentIntentConfirmParams.payment_method_options.pix.setupFutureUsage, PaymentIntentCreateParams.payment_method_options.pix.setupFutureUsage, PaymentIntentUpdateParams.payment_method_options.pix.setupFutureUsage, and checkout.SessionCreateParams.payment_method_options.pix.setupFutureUsage from literal('none') to enum('none'|'off_session')
    • Add support for new value sunbit on enum checkout.SessionCreateParams.paymentMethodTypes
    • ⚠️ Change type of PaymentIntent.payment_method_options.pix.setupFutureUsage and checkout.Session.payment_method_options.pix.setupFutureUsage from literal('none') to enum('none'|'off_session')
    • Add support for new value sunbit on enums ConfirmationTokenCreateParams.payment_method_data.type, PaymentIntentConfirmParams.payment_method_data.type, PaymentIntentCreateParams.payment_method_data.type, PaymentIntentUpdateParams.payment_method_data.type, SetupIntentConfirmParams.payment_method_data.type, SetupIntentCreateParams.payment_method_data.type, and SetupIntentUpdateParams.payment_method_data.type
    • Add support for new values fo_vat, gi_tin, it_cf, and py_ruc on enums CustomerCreateParams.tax_id_data[].type, InvoiceCreatePreviewParams.customer_details.tax_ids[].type, TaxIdCreateParams.type, and tax.CalculationCreateParams.customer_details.tax_ids[].type
    • Add support for new value sunbit on enums CustomerListPaymentMethodsParams.type, PaymentMethodCreateParams.type, and PaymentMethodListParams.type
    • Add support for pix on Invoice.payment_settings.payment_method_options, InvoiceCreateParams.payment_settings.payment_method_options, InvoiceUpdateParams.payment_settings.payment_method_options, Mandate.payment_method_details, SetupAttempt.payment_method_details, SetupIntent.payment_method_options, SetupIntentConfirmParams.payment_method_options, SetupIntentCreateParams.payment_method_options, SetupIntentUpdateParams.payment_method_options, Subscription.payment_settings.payment_method_options, SubscriptionCreateParams.payment_settings.payment_method_options, and SubscriptionUpdateParams.payment_settings.payment_method_options
    • Add support for upi on Invoice.payment_settings.payment_method_options, InvoiceCreateParams.payment_settings.payment_method_options, InvoiceUpdateParams.payment_settings.payment_method_options, Subscription.payment_settings.payment_method_options, SubscriptionCreateParams.payment_settings.payment_method_options, and SubscriptionUpdateParams.payment_settings.payment_method_options
    • Add support for new values pix and upi on enums InvoiceCreateParams.payment_settings.paymentMethodTypes, InvoiceUpdateParams.payment_settings.paymentMethodTypes, SubscriptionCreateParams.payment_settings.paymentMethodTypes, and SubscriptionUpdateParams.payment_settings.paymentMethodTypes
    • Add support for cardPresence on issuing.Authorization
    • Add support for allowedCardPresences and blockedCardPresences on issuing.Card.spending_controls, issuing.CardCreateParams.spending_controls, issuing.CardUpdateParams.spending_controls, issuing.Cardholder.spending_controls, issuing.CardholderCreateParams.spending_controls, and issuing.CardholderUpdateParams.spending_controls
    • Add support for amount and currency on Mandate.multi_use
    • Add support for amountToConfirm on PaymentIntentConfirmParams
    • Add support for klarnaDisplayQrCode on PaymentIntent.next_action
    • Add support for new value sunbit on enums PaymentLinkCreateParams.paymentMethodTypes and PaymentLinkUpdateParams.paymentMethodTypes
    • Add support for new value account on enum radar.ValueListCreateParams.itemType
    • Add support for moto on SetupAttempt.payment_method_details.card
    • Add support for pixDisplayQrCode on SetupIntent.next_action
    • Add support for new value 2026-04-22.dahlia on enum WebhookEndpointCreateParams.apiVersion
  • #2208 Fix missing stripeContext in RequestOptions.toBuilderFullCopy()
    • Fixes a bug where an existing stripeContext was being reset to null when calling RequestOptions#toBuilderFullCopy()

32.0.0 - 2026-03-25

This release changes the pinned API version to 2026-03-25.dahlia and contains breaking changes (prefixed with ⚠️ below). There's also a detailed migration guide to simplify your upgrade process.

Please review details for the breaking changes and alternatives in the Stripe API changelog before upgrading.

  • ⚠️ Breaking change: #2182 Add setHttpClient to StripeClientBuilder; clean up apiKey/authenticator coupling
    • ⚠️ Removed RequestOptions.getApiKey(), RequestOptions.RequestOptionsBuilder.getApiKey(), and StripeClient.StripeClientBuilder.getApiKey(). Use getAuthenticator() instead.
    • Added StripeClient.StripeClientBuilder.setHttpClient(HttpClient) to allow injecting a custom HTTP client.
  • ⚠️ Breaking change: #2187 Regenerate with decimal_string enabled for v2 APIs
    • V2 API decimal fields changed type from String to BigDecimal. Code that reads or writes these fields as String will need to use BigDecimal instead. Affected fields:
      • V2.Core.Account / V2.Core.AccountPerson: percentOwnership
      • PaymentEvaluation.Signals.FraudulentPayment: score
      • Params: AccountCreateParams, PersonCreateParams, AccountTokenCreateParams, PersonTokenCreateParams (all: percentOwnership)
      • Params: InvoiceItemCreateParams, InvoiceAddLinesParams, InvoiceUpdateLinesParams, InvoiceCreatePreviewParams (all: quantityDecimal)
  • ⚠️ Breaking change: #2131 Use HTTP status code in V2 errors

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [com.stripe:stripe-java](https://github.com/stripe/stripe-java) from 21.15.0 to 32.1.0.
- [Release notes](https://github.com/stripe/stripe-java/releases)
- [Changelog](https://github.com/stripe/stripe-java/blob/master/CHANGELOG.md)
- [Commits](stripe/stripe-java@v21.15.0...v32.1.0)

---
updated-dependencies:
- dependency-name: com.stripe:stripe-java
  dependency-version: 32.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update Java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants