Skip to content

chore(deps): bump com.stripe:stripe-java from 31.2.0 to 32.0.0 in /custom-payment-flow/server/java#3068

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/maven/custom-payment-flow/server/java/com.stripe-stripe-java-32.0.0
Open

chore(deps): bump com.stripe:stripe-java from 31.2.0 to 32.0.0 in /custom-payment-flow/server/java#3068
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/maven/custom-payment-flow/server/java/com.stripe-stripe-java-32.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 2, 2026

Bumps com.stripe:stripe-java from 31.2.0 to 32.0.0.

Release notes

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

v32.0.0

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
    • RateLimitException now extends StripeException rather than ApiException
    • Non-200 status codes from V2 endpoints will throw a StripeException (e.g. RateLimitException, InvalidRequestException, etc.) like in V1 instead of a generic ApiException
  • ⚠️ Breaking change: #2190 Throw an error when using the wrong webhook parsing method
  • ⚠️ Breaking change: #2172 Make RequestOptions & RawRequestOptions constructors private and add Stripe-Request-Trigger header
  • ⚠️ Breaking change: #2181 Change Automatic-Module-Name to com.stripe
    • Changes Automatic-Module-Name from stripe.java to com.stripe. Users with requires stripe.java; in their module-info.java will need to update to requires com.stripe;.
  • #2179 Add runtime support for V2 int64 string-encoded fields

See the changelog for more details.

v31.5.0-beta.1

This release changes the pinned API version to 2026-02-25.preview.

  • #2150 Update generated code for beta
    • Add support for smartDisputes on Account.settings, AccountCreateParams.settings, AccountUpdateParams.settings, v2.core.Account.configuration.merchant, v2.core.AccountCreateParams.configuration.merchant, and v2.core.AccountUpdateParams.configuration.merchant
    • Add support for emailCustomersOnSuccessfulPayment on Account.settings.payments, AccountCreateParams.settings.payments, and AccountUpdateParams.settings.payments
    • Add support for managedPayments on PaymentIntent, SetupIntent, Subscription, checkout.SessionCreateParams, and checkout.Session
    • Add support for new value lk_vat on enums OrderCreateParams.tax_details.tax_ids[].type and OrderUpdateParams.tax_details.tax_ids[].type
    • Add support for purpose on v2.moneymanagement.OutboundPaymentCreateParams and v2.moneymanagement.OutboundPayment
    • Add support for branchNumber and swiftCode on v2.moneymanagement.PayoutMethod.bank_account

See the changelog for more details.

v31.5.0-alpha.4

  • #2183 Update generated code for private-preview
    • Add support for simulate_crypto_deposit test helper method on resource PaymentIntent
    • Add support for depositOptions and mode on PaymentIntent.payment_method_options.crypto, PaymentIntentConfirmParams.payment_method_options.crypto, PaymentIntentCreateParams.payment_method_options.crypto, and PaymentIntentUpdateParams.payment_method_options.crypto
    • Add support for cryptoDisplayDetails on PaymentIntent.next_action
  • #2177 Update generated code for private-preview
    • Add support for new resources orchestration.PaymentAttempt and radar.CustomerEvaluation
    • Add support for retrieve method on resource orchestration.PaymentAttempt
    • Add support for create and update methods on resource radar.CustomerEvaluation
    • Add support for approve method on resource checkout.Session
    • Add support for report_authenticated, report_canceled, report_failed, report_guaranteed, report_informational, and report_refund methods on resource PaymentAttemptRecord
    • Add support for createUsPaperCheckOnApplication on AccountSessionCreateParams.components.check_scanning.features

... (truncated)

Changelog

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

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
    • RateLimitException now extends StripeException rather than ApiException
    • Non-200 status codes from V2 endpoints will throw a StripeException (e.g. RateLimitException, InvalidRequestException, etc.) like in V1 instead of a generic ApiException
  • ⚠️ Breaking change: #2190 Throw an error when using the wrong webhook parsing method
  • ⚠️ Breaking change: #2172 Make RequestOptions & RawRequestOptions constructors private and add Stripe-Request-Trigger header
  • ⚠️ Breaking change: #2181 Change Automatic-Module-Name to com.stripe
    • Changes Automatic-Module-Name from stripe.java to com.stripe. Users with requires stripe.java; in their module-info.java will need to update to requires com.stripe;.
  • #2179 Add runtime support for V2 int64 string-encoded fields

⚠️ Breaking changes due to changes in the Stripe API

  • Generated changes from #2170, #2193, #2191
    • Add support for upiPayments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
    • Add support for upi on Charge.payment_method_details, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.payment_method_data, Mandate.payment_method_details, PaymentAttemptRecord.payment_method_details, PaymentIntent.payment_method_options, PaymentIntentConfirmParams.payment_method_data, PaymentIntentConfirmParams.payment_method_options, PaymentIntentCreateParams.payment_method_data, PaymentIntentCreateParams.payment_method_options, PaymentIntentUpdateParams.payment_method_data, PaymentIntentUpdateParams.payment_method_options, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, PaymentMethodConfiguration, PaymentMethodCreateParams, PaymentMethod, PaymentRecord.payment_method_details, SetupAttempt.payment_method_details, SetupIntent.payment_method_options, SetupIntentConfirmParams.payment_method_data, SetupIntentConfirmParams.payment_method_options, SetupIntentCreateParams.payment_method_data, SetupIntentCreateParams.payment_method_options, SetupIntentUpdateParams.payment_method_data, SetupIntentUpdateParams.payment_method_options, checkout.Session.payment_method_options, and checkout.SessionCreateParams.payment_method_options
    • Add support for integrationIdentifier on checkout.SessionCreateParams and checkout.Session
    • Add support for new value upi on enums PaymentIntentConfirmParams.excludedPaymentMethodTypes, PaymentIntentCreateParams.excludedPaymentMethodTypes, PaymentIntentUpdateParams.excludedPaymentMethodTypes, SetupIntentCreateParams.excludedPaymentMethodTypes, SetupIntentUpdateParams.excludedPaymentMethodTypes, and checkout.SessionCreateParams.excludedPaymentMethodTypes
    • Add support for crypto on checkout.SessionCreateParams.payment_method_options
    • Add support for new value upi on enum checkout.SessionCreateParams.paymentMethodTypes
    • Add support for pendingInvoiceItemInterval on checkout.SessionCreateParams.subscription_data
    • Add support for new values elements, embedded_page, form, and hosted_page on enum checkout.SessionCreateParams.uiMode
    • Add support for new value upi 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 metadata on CreditNoteCreateParams.lines[], CreditNoteLineItem, CreditNotePreviewLinesParams.lines[], and CreditNotePreviewParams.lines[]
    • Add support for new value upi on enums CustomerListPaymentMethodsParams.type, PaymentMethodCreateParams.type, and PaymentMethodListParams.type
    • Add support for quantityDecimal on InvoiceAddLinesParams.lines[], InvoiceCreatePreviewParams.invoice_items[], InvoiceItemCreateParams, InvoiceItemUpdateParams, InvoiceItem, InvoiceLineItemUpdateParams, InvoiceLineItem, and InvoiceUpdateLinesParams.lines[]
    • ⚠️ Add support for level on issuing.AuthorizationCreateParams.risk_assessment.card_testing_risk and issuing.AuthorizationCreateParams.risk_assessment.merchant_dispute_risk
    • ⚠️ Remove support for riskLevel on issuing.AuthorizationCreateParams.risk_assessment.card_testing_risk and issuing.AuthorizationCreateParams.risk_assessment.merchant_dispute_risk
    • Add support for lifecycleControls on issuing.CardCreateParams and issuing.Card
    • Add support for cryptogram, electronicCommerceIndicator, exemptionIndicatorApplied, and exemptionIndicator on PaymentAttemptRecord.payment_method_details.card.three_d_secure and PaymentRecord.payment_method_details.card.three_d_secure
    • Add support for upiHandleRedirectOrDisplayQrCode on PaymentIntent.next_action and SetupIntent.next_action
    • Add support for new value upi on enums PaymentLinkCreateParams.paymentMethodTypes and PaymentLinkUpdateParams.paymentMethodTypes
    • Add support for recommendedAction and signals on radar.PaymentEvaluation
    • ⚠️ Remove support for insights on radar.PaymentEvaluation
    • Add support for new value crypto_fingerprint on enum radar.ValueListCreateParams.itemType
    • Add support for new value 2026-03-25.dahlia on enum WebhookEndpointCreateParams.apiVersion

... (truncated)

Commits
  • 3ae83bb Bump version to 32.0.0
  • c1e7f1b ⚠️ Use HTTP status code in V2 errors (#2131)
  • a2bc4be Update generated code for v2205 and (#2193)
  • fc13c71 Update generated code for v2205 and (#2191)
  • 28de1d0 Regenerate with decimal_string enabled for v2 APIs (#2187)
  • 150d985 ⚠️ Throw an error when using the wrong webhook parsing method (#2190)
  • 0085a0d Update generated code (#2170)
  • 608ca74 tweak CI (#2186)
  • 0b7d4c4 Add setHttpClient to StripeClientBuilder; clean up apiKey/authenticator coupl...
  • 2bdec26 ⚠️ Make RequestOptions & RawRequestOptions constructors private and add S...
  • Additional commits viewable in compare view

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 31.2.0 to 32.0.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@v31.2.0...v32.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Apr 2, 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