fix(deps): update dependencies (major and minor) (major) #118

Closed
Renovate wants to merge 0 commits from renovate/major-dependencies-(major-and-minor) into main
Collaborator

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ajv-formats 2.1.1 -> 3.0.1 age adoption passing confidence
com.stripe:stripe-java 20.136.0 -> 29.0.0 age adoption passing confidence

Release Notes

ajv-validator/ajv-formats (ajv-formats)

v3.0.1

Compare Source

v3.0.0

Compare Source

stripe/stripe-java (com.stripe:stripe-java)

v29.0.0

  • #​1950 Support for APIs in the new API version 2025-03-31.basil

    This release changes the pinned API version to 2025-03-31.basil.

⚠️ Breaking changes due to changes in the Stripe API

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

  • Remove support for resources SubscriptionItemUsageRecordSummary and SubscriptionItemUsageRecord
  • Remove support for create method on resource SubscriptionItemUsageRecord
  • Remove support for list method on resource SubscriptionItemUsageRecordSummary
  • Remove support for upcomingLines and upcoming methods on resource Invoice
  • Remove support for invoice on Charge and PaymentIntent
  • Remove support for shippingDetails on Checkout.Session
  • Remove support for carrier, phone, and trackingNumber on Checkout.Session.collected_information.shipping_details
  • Remove support for refund on CreditNoteCreateParams, CreditNotePreviewLinesListParams, CreditNotePreviewParams, and CreditNote
  • Remove support for taxAmounts on CreditNoteLineItem, CreditNote, and InvoiceLineItem
  • Remove support for amountExcludingTax and unitAmountExcludingTax on CreditNoteLineItem and InvoiceLineItem
  • Remove support for coupon on CustomerCreateParams, CustomerUpdateParams, InvoiceCreatePreviewParams.schedule_details.phases[], InvoiceCreatePreviewParams, SubscriptionCreateParams, SubscriptionSchedule.phases[], SubscriptionScheduleCreateParams.phases[], SubscriptionScheduleUpdateParams.phases[], and SubscriptionUpdateParams
  • Remove support for promotionCode on CustomerCreateParams, CustomerUpdateParams, SubscriptionCreateParams, and SubscriptionUpdateParams
  • Remove support for price on InvoiceAddLinesParams.lines[], InvoiceItemCreateParams, InvoiceItemUpdateParams, InvoiceItem, InvoiceLineItemUpdateParams, InvoiceLineItem, and InvoiceUpdateLinesParams.lines[]
  • Remove support for billingThresholds on InvoiceCreatePreviewParams.schedule_details.phases[].items[], InvoiceCreatePreviewParams.schedule_details.phases[], InvoiceCreatePreviewParams.subscription_details.items[], SubscriptionCreateParams.items[], SubscriptionCreateParams, SubscriptionItemCreateParams, SubscriptionItemUpdateParams, SubscriptionItem, SubscriptionSchedule.default_settings, SubscriptionSchedule.phases[].items[], SubscriptionSchedule.phases[], SubscriptionScheduleCreateParams.default_settings, SubscriptionScheduleCreateParams.phases[].items[], SubscriptionScheduleCreateParams.phases[], SubscriptionScheduleUpdateParams.default_settings, SubscriptionScheduleUpdateParams.phases[].items[], SubscriptionScheduleUpdateParams.phases[], SubscriptionUpdateParams.items[], SubscriptionUpdateParams, and Subscription
  • Remove support for applicationFeeAmount, charge, paidOutOfBand, paid, paymentIntent, quote, subscription, subscriptionDetails, subscriptionProrationDate, tax, totalTaxAmounts, and transferData on Invoice
  • Remove support for discount on Invoice and Subscription
  • Remove support for invoiceItem, prorationDetails, proration, taxRates, and type on InvoiceLineItem
  • Remove support for plan and subscriptionItem on InvoiceItem and InvoiceLineItem
  • Remove support for unitAmount on InvoiceItemCreateParams, InvoiceItemUpdateParams, and InvoiceItem
  • Remove support for subscription and unitAmountDecimal on InvoiceItem
  • Remove support for naverPay on PaymentMethodUpdateParams
  • Remove support for aggregateUsage on PlanCreateParams, Plan, Price.recurring, and PriceCreateParams.recurring
  • Remove support for currentPeriodEnd and currentPeriodStart on Subscription
  • Remove support for page on V2.EventDestinationListParams and V2.EventListParams
Changes to the Stripe API
  • Change PaymentIntentConfirmParams.payment_method_options.wechat_pay.client, PaymentIntentCreateParams.payment_method_options.wechat_pay.client, and PaymentIntentUpdateParams.payment_method_options.wechat_pay.client to be optional
  • Change politicalExposure on AccountPersonUpdateParams, AccountPersonCreateParams from string to PoliticalExposure enum.
Additions to the Stripe API
  • Add support for new resource InvoicePayment

  • Add support for list and retrieve methods on resource InvoicePayment

  • Add support for billiePayments, nzBankAccountBecsDebitPayments, and satispayPayments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities

  • Add support for hostedPaymentMethodSave on Account.settings.invoices and AccountUpdateParams.settings.invoices

  • Add support for invoices on AccountCreateParams.settings

  • Add support for new value last on enum billing.MeterCreateParams.default_aggregation.formula

  • Add support for presentmentDetails on Charge, Checkout.Session, PaymentIntent, and Refund

  • Add support for billie and satispay on Charge.payment_method_details, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.payment_method_data, CustomerPaymentMethod, PaymentIntentConfirmParams.payment_method_data, PaymentIntentCreateParams.payment_method_data, PaymentIntentUpdateParams.payment_method_data, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, PaymentMethodConfiguration, PaymentMethodCreateParams, PaymentMethod, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data

  • Add support for nzBankAccount on Charge.payment_method_details, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.payment_method_data, CustomerPaymentMethod, Mandate.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, SetupAttempt.payment_method_details, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data

  • Add support for optionalItems on Checkout.Session, PaymentLinkCreateParams, PaymentLink, and checkout.SessionCreateParams

  • Add support for permissions on Checkout.Session and checkout.SessionCreateParams

  • Add support for new values billie and satispay on enum checkout.SessionCreateParams.paymentMethodTypes

  • Add support for new value custom on enum checkout.SessionCreateParams.uiMode

  • Add support for shippingOptions on checkout.SessionUpdateParams

  • Add support for new values billie, nz_bank_account, and satispay 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 buyerId on ConfirmationToken.payment_method_preview.naver_pay, CustomerPaymentMethod.naver_pay, and PaymentMethod.naver_pay

  • Add support for refunds on CreditNoteCreateParams, CreditNotePreviewLinesListParams, CreditNotePreviewParams, and CreditNote

  • Add support for totalTaxes on CreditNote and Invoice

  • Add support for taxes on CreditNoteLineItem and InvoiceLineItem

  • Add support for taxabilityReason on InvoiceAddLinesParams.lines[].tax_amounts[], InvoiceLineItemUpdateParams.tax_amounts[], and InvoiceUpdateLinesParams.lines[].tax_amounts[]

  • Add support for jurisdictionLevel on InvoiceAddLinesParams.lines[].tax_amounts[].tax_rate_data, InvoiceLineItemUpdateParams.tax_amounts[].tax_rate_data, and InvoiceUpdateLinesParams.lines[].tax_amounts[].tax_rate_data

  • Add support for amountOverpaid, confirmationSecret, and payments on Invoice

  • Add support for parent on InvoiceItem, InvoiceLineItem, and Invoice

  • Add support for new values klarna and nz_bank_account on enums InvoiceCreateParams.payment_settings.paymentMethodTypes, InvoiceUpdateParams.payment_settings.paymentMethodTypes, SubscriptionCreateParams.payment_settings.paymentMethodTypes, and SubscriptionUpdateParams.payment_settings.paymentMethodTypes

  • Add support for pricing on InvoiceAddLinesParams.lines[], InvoiceItemCreateParams, InvoiceItemUpdateParams, InvoiceItem, InvoiceLineItemUpdateParams, InvoiceLineItem, and InvoiceUpdateLinesParams.lines[]

  • Add support for taxabilityReason on InvoiceAddLinesParams.lines[].tax_amounts[], InvoiceLineItemUpdateParams.tax_amounts[], and InvoiceUpdateLinesParams.lines[].tax_amounts[]

  • Add support for defaultValue on PaymentLink.custom_fields[].dropdown, PaymentLink.custom_fields[].numeric, PaymentLink.custom_fields[].text, PaymentLinkCreateParams.custom_fields[].dropdown, PaymentLinkCreateParams.custom_fields[].numeric, PaymentLinkCreateParams.custom_fields[].text, PaymentLinkUpdateParams.custom_fields[].dropdown, PaymentLinkUpdateParams.custom_fields[].numeric, and PaymentLinkUpdateParams.custom_fields[].text

  • Add support for new values billie and satispay on enums PaymentLinkCreateParams.paymentMethodTypes and PaymentLinkUpdateParams.paymentMethodTypes

  • Add support for nzBankTransfer on Refund.destination_details

  • Add support for currentPeriodEnd and currentPeriodStart on SubscriptionItem

  • Add support for wifi on Terminal.Configuration, terminal.ConfigurationCreateParams, and terminal.ConfigurationUpdateParams

  • Add support for new value invoice.overpaid on enums WebhookEndpointCreateParams.enabledEvents and WebhookEndpointUpdateParams.enabledEvents

  • Add support for new values 2025-03-01.dashboard and 2025-03-31.basil on enum WebhookEndpointCreateParams.apiVersion

  • #​1958 Support for StripeAccount in StripeClient, and StripeContext on V1

    • ⚠️ Adds getStripeAccount to StripeResponseGetterOptions. If you have a class that extends StripeResponseGetterOptions you will need to implement this method.
    • Adds setStripeAccount to StripeClientBuilder, so you can specify the Stripe-Account header at the client (instead of the individual request) level.
  • #​1955 Add @​EqualsAndHashCode annotations

    • Adds @EqualsAndHashCode(callSuper = false) to all Params objects which is useful for unit test assertions and caching scenarios.

v28.4.0

  • #​1943 Update generated code
    • Add support for prices on Billing.CreditGrant.applicability_config.scope, billing.CreditBalanceSummaryRetrieveParams.filter.applicability_scope, and billing.CreditGrantCreateParams.applicability_config.scope
    • Change billing.CreditBalanceSummaryRetrieveParams.filter.applicability_scope.price_type and billing.CreditGrantCreateParams.applicability_config.scope.price_type to be optional
    • Add support for priority on Billing.CreditGrant and billing.CreditGrantCreateParams
    • Add support for target_date on Checkout.Session.payment_method_options.acss_debit, Checkout.Session.payment_method_options.au_becs_debit, Checkout.Session.payment_method_options.bacs_debit, Checkout.Session.payment_method_options.sepa_debit, Checkout.Session.payment_method_options.us_bank_account, PaymentIntent.payment_method_options.acss_debit, PaymentIntent.payment_method_options.au_becs_debit, PaymentIntent.payment_method_options.bacs_debit, PaymentIntent.payment_method_options.sepa_debit, PaymentIntent.payment_method_options.us_bank_account, PaymentIntentConfirmParams.payment_method_options.acss_debit, PaymentIntentConfirmParams.payment_method_options.au_becs_debit, PaymentIntentConfirmParams.payment_method_options.bacs_debit, PaymentIntentConfirmParams.payment_method_options.sepa_debit, PaymentIntentConfirmParams.payment_method_options.us_bank_account, PaymentIntentCreateParams.payment_method_options.acss_debit, PaymentIntentCreateParams.payment_method_options.au_becs_debit, PaymentIntentCreateParams.payment_method_options.bacs_debit, PaymentIntentCreateParams.payment_method_options.sepa_debit, PaymentIntentCreateParams.payment_method_options.us_bank_account, PaymentIntentUpdateParams.payment_method_options.acss_debit, PaymentIntentUpdateParams.payment_method_options.au_becs_debit, PaymentIntentUpdateParams.payment_method_options.bacs_debit, PaymentIntentUpdateParams.payment_method_options.sepa_debit, PaymentIntentUpdateParams.payment_method_options.us_bank_account, checkout.SessionCreateParams.payment_method_options.acss_debit, checkout.SessionCreateParams.payment_method_options.au_becs_debit, checkout.SessionCreateParams.payment_method_options.bacs_debit, checkout.SessionCreateParams.payment_method_options.sepa_debit, and checkout.SessionCreateParams.payment_method_options.us_bank_account
    • Add support for restrictions on Checkout.Session.payment_method_options.card and checkout.SessionCreateParams.payment_method_options.card
    • Add support for collected_information on Checkout.Session and checkout.SessionUpdateParams
    • Add support for metadata on ProductCreateParams.default_price_data
    • Change type of TokenCreateParams.person.political_exposure from string to enum('existing'|'none')
    • Add support for new value 2025-02-24.acacia on enum WebhookEndpointCreateParams.api_version
  • #​1948 add codeowners file

v28.3.1

  • #​1946 Ensure getRawJsonObject returns data for constructed webhooks

v28.3.0

  • #​1936 Update generated code
    • Add support for close method on resource Treasury.FinancialAccount
    • Add support for pay_by_bank_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
    • Add support for directorship_declaration and ownership_exemption_reason on Account.company, AccountCreateParams.company, AccountUpdateParams.company, and TokenCreateParams.account.company
    • Add support for proof_of_ultimate_beneficial_ownership on AccountCreateParams.documents and AccountUpdateParams.documents
    • Add support for financial_account on AccountSession.components, AccountSessionCreateParams.components, and Treasury.OutboundTransfer.destination_payment_method_details
    • Add support for financial_account_transactions, issuing_card, and issuing_cards_list on AccountSession.components and AccountSessionCreateParams.components
    • Add support for advice_code on Charge.outcome, Invoice.last_finalization_error, PaymentIntent.last_payment_error, SetupAttempt.setup_error, SetupIntent.last_setup_error, and StripeError
    • Add support for pay_by_bank on Charge.payment_method_details, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.payment_method_data, 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, PaymentMethodUpdateParams, PaymentMethod, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, SetupIntentUpdateParams.payment_method_data, and checkout.SessionCreateParams.payment_method_options
    • Add support for country on Charge.payment_method_details.paypal, ConfirmationToken.payment_method_preview.paypal, and PaymentMethod.paypal
    • Add support for new value pay_by_bank on enums CustomerListPaymentMethodsParams.type, PaymentMethodCreateParams.type, PaymentMethodListParams.type, and checkout.SessionCreateParams.payment_method_types[]
    • Add support for new value SD on enums PaymentLinkCreateParams.shipping_address_collection.allowed_countries[], PaymentLinkUpdateParams.shipping_address_collection.allowed_countries[], and checkout.SessionCreateParams.shipping_address_collection.allowed_countries[]
    • Add support for discounts on Checkout.Session
    • Add support for new value pay_by_bank 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 value pay_by_bank on enums PaymentLinkCreateParams.payment_method_types[] and PaymentLinkUpdateParams.payment_method_types[]
    • Add support for phone_number_collection on PaymentLinkUpdateParams
    • Add support for jpy on Terminal.Configuration.tipping, terminal.ConfigurationCreateParams.tipping, and terminal.ConfigurationUpdateParams.tipping
    • Add support for nickname on Treasury.FinancialAccount, treasury.FinancialAccountCreateParams, and treasury.FinancialAccountUpdateParams
    • Add support for forwarding_settings on treasury.FinancialAccountUpdateParams
    • Add support for is_default on Treasury.FinancialAccount
    • Add support for destination_payment_method_data on treasury.OutboundTransferCreateParams
    • Change type of Treasury.OutboundTransfer.destination_payment_method_details.type from literal('us_bank_account') to enum('financial_account'|'us_bank_account')
    • Add support for new value outbound_transfer on enum treasury.ReceivedCreditListParams.linked_flows.source_flow_type
    • Add support for outbound_transfer on Treasury.ReceivedCredit.linked_flows.source_flow_details
    • Add support for new value 2025-01-27.acacia on enum WebhookEndpointCreateParams.api_version
  • #​1941 Updated upload artifact ci action
  • #​1938 update justfile import & pin CI ubuntu
  • #​1937 Added CONTRIBUTING.md file
  • #​1934 add justfile tweak readme, remove coveralls
  • #​1933 Added pull request template

v28.2.0

  • #​1931 This release changes the pinned API version to 2024-12-18.acacia.
    • Add support for network_advice_code and network_decline_code on Charge.outcome, Invoice.last_finalization_error, PaymentIntent.last_payment_error, SetupAttempt.setup_error, SetupIntent.last_setup_error, and StripeError
    • Add support for credits_application_invoice_voided on Billing.CreditBalanceTransaction.credit
    • Change type of Billing.CreditBalanceTransaction.credit.type from literal('credits_granted') to enum('credits_application_invoice_voided'|'credits_granted')
    • Add support for allow_redisplay on Card and Source
    • Add support for regulated_status on Card, Charge.payment_method_details.card, ConfirmationToken.payment_method_preview.card, and PaymentMethod.card
    • Add support for funding on Charge.payment_method_details.amazon_pay and Charge.payment_method_details.revolut_pay
    • Add support for network_transaction_id on Charge.payment_method_details.card
    • Add support for reference_prefix on Checkout.Session.payment_method_options.bacs_debit.mandate_options, Checkout.Session.payment_method_options.sepa_debit.mandate_options, PaymentIntent.payment_method_options.bacs_debit.mandate_options, PaymentIntent.payment_method_options.sepa_debit.mandate_options, PaymentIntentConfirmParams.payment_method_options.bacs_debit.mandate_options, PaymentIntentConfirmParams.payment_method_options.sepa_debit.mandate_options, PaymentIntentCreateParams.payment_method_options.bacs_debit.mandate_options, PaymentIntentCreateParams.payment_method_options.sepa_debit.mandate_options, PaymentIntentUpdateParams.payment_method_options.bacs_debit.mandate_options, PaymentIntentUpdateParams.payment_method_options.sepa_debit.mandate_options, SetupIntent.payment_method_options.bacs_debit.mandate_options, SetupIntent.payment_method_options.sepa_debit.mandate_options, SetupIntentConfirmParams.payment_method_options.bacs_debit.mandate_options, SetupIntentConfirmParams.payment_method_options.sepa_debit.mandate_options, SetupIntentCreateParams.payment_method_options.bacs_debit.mandate_options, SetupIntentCreateParams.payment_method_options.sepa_debit.mandate_options, SetupIntentUpdateParams.payment_method_options.bacs_debit.mandate_options, SetupIntentUpdateParams.payment_method_options.sepa_debit.mandate_options, checkout.SessionCreateParams.payment_method_options.bacs_debit.mandate_options, and checkout.SessionCreateParams.payment_method_options.sepa_debit.mandate_options
    • Add support for new values al_tin, am_tin, ao_tin, ba_tin, bb_tin, bs_tin, cd_nif, gn_nif, kh_tin, me_pib, mk_vat, mr_nif, np_pan, sn_ninea, sr_fin, tj_tin, ug_tin, zm_tin, and zw_tin on enums CustomerCreateParams.tax_id_data[].type, InvoiceCreatePreviewParams.customer_details.tax_ids[].type, InvoiceUpcomingLinesParams.customer_details.tax_ids[].type, InvoiceUpcomingParams.customer_details.tax_ids[].type, TaxIdCreateParams.type, and tax.CalculationCreateParams.customer_details.tax_ids[].type
    • Add support for visa_compliance on Dispute.evidence.enhanced_evidence, Dispute.evidence_details.enhanced_eligibility, and DisputeUpdateParams.evidence.enhanced_evidence
    • Add support for new value request_signature on enum forwarding.RequestCreateParams.replacements[]
    • Add support for account_holder_address and bank_address on FundingInstructions.bank_transfer.financial_addresses[].iban, FundingInstructions.bank_transfer.financial_addresses[].sort_code, FundingInstructions.bank_transfer.financial_addresses[].spei, FundingInstructions.bank_transfer.financial_addresses[].zengin, PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].iban, PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].sort_code, PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].spei, and PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].zengin
    • Add support for account_holder_name on FundingInstructions.bank_transfer.financial_addresses[].spei and PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].spei
    • Add support for disabled_reason on Invoice.automatic_tax, Subscription.automatic_tax, SubscriptionSchedule.default_settings.automatic_tax, and SubscriptionSchedule.phases[].automatic_tax
    • Add support for tax_id on Issuing.Authorization.merchant_data and Issuing.Transaction.merchant_data
    • Add support for trial_period_days on PaymentLinkUpdateParams.subscription_data
    • Add support for al, am, ao, ba, bb, bs, cd, gn, kh, me, mk, mr, np, pe, sn, sr, tj, ug, uy, zm, and zw on Tax.Registration.country_options and tax.RegistrationCreateParams.country_options
    • Add support for new value 2024-12-18.acacia on enum WebhookEndpointCreateParams.api_version

v28.1.0

  • #​1923 This release changes the pinned API version to 2024-11-20.acacia.
    • Add support for respond test helper method on resource Issuing.Authorization
    • Add support for authorizer on AccountPersonsParams.relationship and TokenCreateParams.person.relationship
    • Add support for adaptive_pricing on Checkout.Session and checkout.SessionCreateParams
    • Add support for mandate_options on Checkout.Session.payment_method_options.bacs_debit, Checkout.Session.payment_method_options.sepa_debit, checkout.SessionCreateParams.payment_method_options.bacs_debit, and checkout.SessionCreateParams.payment_method_options.sepa_debit
    • Add support for request_extended_authorization, request_incremental_authorization, request_multicapture, and request_overcapture on Checkout.Session.payment_method_options.card and checkout.SessionCreateParams.payment_method_options.card
    • Add support for capture_method on checkout.SessionCreateParams.payment_method_options.kakao_pay, checkout.SessionCreateParams.payment_method_options.kr_card, checkout.SessionCreateParams.payment_method_options.naver_pay, checkout.SessionCreateParams.payment_method_options.payco, and checkout.SessionCreateParams.payment_method_options.samsung_pay
    • Add support for new value subscribe on enums PaymentLinkCreateParams.submit_type and checkout.SessionCreateParams.submit_type
    • Add support for new value li_vat on enums CustomerCreateParams.tax_id_data[].type, InvoiceCreatePreviewParams.customer_details.tax_ids[].type, InvoiceUpcomingLinesParams.customer_details.tax_ids[].type, InvoiceUpcomingParams.customer_details.tax_ids[].type, TaxIdCreateParams.type, and tax.CalculationCreateParams.customer_details.tax_ids[].type
    • Add support for new value financial_account_statement on enum FileListParams.purpose
    • Add support for account_holder_address, account_holder_name, account_type, and bank_address on FundingInstructions.bank_transfer.financial_addresses[].aba, FundingInstructions.bank_transfer.financial_addresses[].swift, PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].aba, and PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].swift
    • Add support for new value service_tax on enums InvoiceAddLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type, InvoiceUpdateLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type, TaxRateCreateParams.tax_type, and TaxRateUpdateParams.tax_type
    • Add support for merchant_amount and merchant_currency on issuing.AuthorizationCreateParams
    • Change issuing.AuthorizationCreateParams.amount to be optional
    • Add support for fraud_challenges and verified_by_fraud_challenge on Issuing.Authorization
    • Add support for new value link on enums PaymentIntentConfirmParams.payment_method_options.card.network, PaymentIntentCreateParams.payment_method_options.card.network, PaymentIntentUpdateParams.payment_method_options.card.network, SetupIntentConfirmParams.payment_method_options.card.network, SetupIntentCreateParams.payment_method_options.card.network, SetupIntentUpdateParams.payment_method_options.card.network, SubscriptionCreateParams.payment_settings.payment_method_options.card.network, and SubscriptionUpdateParams.payment_settings.payment_method_options.card.network
    • Add support for submit_type on PaymentLinkUpdateParams
    • Add support for trace_id on Payout
    • Add support for network_decline_code on Refund.destination_details.blik and Refund.destination_details.swish
    • Add support for new value 2024-11-20.acacia on enum WebhookEndpointCreateParams.api_version

v28.0.1

  • #​1919 Catch JsonSyntaxException when processing all errors

v28.0.0

Historically, when upgrading webhooks to a new API version, you also had to upgrade your SDK version. Your webhook's API version needed to match the API version pinned by the SDK you were using to ensure successful deserialization of events. With the 2024-09-30.acacia release, Stripe follows a new API release process. As a result, you can safely upgrade your webhook endpoints to any API version within a biannual release (like acacia) without upgrading the SDK.

However, a bug in the 27.x.y SDK releases meant that webhook version upgrades from the SDK's pinned 2024-09-30.acacia version to the new 2024-10-28.acacia version would fail. Therefore, we are shipping SDK support for 2024-10-28.acacia as a major version to enforce the idea that an SDK upgrade is also required. Future API versions in the acacia line will be released as minor versions.

  • #​1896 This release changes the pinned API version to 2024-10-28.acacia.
    • Add support for new resource V2.EventDestinations
    • Add support for create, retrieve, update, list, delete, disable, enable and ping methods on resource V2.EventDestinations
    • Add support for submit_card test helper method on resource Issuing.Card
    • Add support for groups on AccountCreateParams, AccountUpdateParams, and Account
    • Add support for alma_payments, kakao_pay_payments, kr_card_payments, naver_pay_payments, payco_payments, and samsung_pay_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
    • Add support for disable_stripe_user_authentication on AccountSession.components.account_management.features, AccountSession.components.account_onboarding.features, AccountSession.components.balances.features, AccountSession.components.notification_banner.features, AccountSession.components.payouts.features, AccountSessionCreateParams.components.account_management.features, AccountSessionCreateParams.components.account_onboarding.features, AccountSessionCreateParams.components.balances.features, AccountSessionCreateParams.components.notification_banner.features, and AccountSessionCreateParams.components.payouts.features
    • Add support for schedule_at_period_end on BillingPortal.Configuration.features.subscription_update, billingportal.ConfigurationCreateParams.features.subscription_update, and billingportal.ConfigurationUpdateParams.features.subscription_update
    • Change billingportal.ConfigurationCreateParams.business_profile to be optional
    • Add support for alma on Charge.payment_method_details, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.payment_method_data, 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, Refund.destination_details, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
    • Add support for kakao_pay and kr_card on Charge.payment_method_details, Checkout.Session.payment_method_options, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.payment_method_data, Mandate.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, PaymentMethodCreateParams, PaymentMethod, SetupAttempt.payment_method_details, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, SetupIntentUpdateParams.payment_method_data, and checkout.SessionCreateParams.payment_method_options
    • Add support for naver_pay on Charge.payment_method_details, Checkout.Session.payment_method_options, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.payment_method_data, 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, PaymentMethodCreateParams, PaymentMethodUpdateParams, PaymentMethod, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, SetupIntentUpdateParams.payment_method_data, and checkout.SessionCreateParams.payment_method_options
    • Add support for payco and samsung_pay on Charge.payment_method_details, Checkout.Session.payment_method_options, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.payment_method_data, 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, PaymentMethodCreateParams, PaymentMethod, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, SetupIntentUpdateParams.payment_method_data, and checkout.SessionCreateParams.payment_method_options
    • Add support for new values alma, kakao_pay, kr_card, naver_pay, payco, and samsung_pay on enums CustomerListPaymentMethodsParams.type, PaymentMethodCreateParams.type, PaymentMethodListParams.type, and checkout.SessionCreateParams.payment_method_types[]
    • Add support for new values alma, kakao_pay, kr_card, naver_pay, payco, and samsung_pay 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 value auto on enum CustomerUpdateParams.tax.validate_location
    • Add support for new values by_tin, ma_vat, md_vat, tz_vat, uz_tin, and uz_vat on enums CustomerCreateParams.tax_id_data[].type, InvoiceCreatePreviewParams.customer_details.tax_ids[].type, InvoiceUpcomingLinesParams.customer_details.tax_ids[].type, InvoiceUpcomingParams.customer_details.tax_ids[].type, TaxIdCreateParams.type, and tax.CalculationCreateParams.customer_details.tax_ids[].type
    • Add support for enhanced_evidence on Dispute.evidence and DisputeUpdateParams.evidence
    • Add support for enhanced_eligibility_types on Dispute
    • Add support for enhanced_eligibility on Dispute.evidence_details
    • Add support for metadata on Forwarding.Request and forwarding.RequestCreateParams
    • Add support for automatically_finalizes_at on InvoiceCreateParams and InvoiceUpdateParams
    • Add support for new values jp_credit_transfer, kakao_pay, kr_card, naver_pay, and payco on enums InvoiceCreateParams.payment_settings.payment_method_types[], InvoiceUpdateParams.payment_settings.payment_method_types[], SubscriptionCreateParams.payment_settings.payment_method_types[], and SubscriptionUpdateParams.payment_settings.payment_method_types[]
    • Add support for new value retail_delivery_fee on enums InvoiceAddLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type, InvoiceUpdateLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type, TaxRateCreateParams.tax_type, and TaxRateUpdateParams.tax_type
    • Add support for new value alma on enums PaymentLinkCreateParams.payment_method_types[] and PaymentLinkUpdateParams.payment_method_types[]
    • Add support for amazon_pay on PaymentMethodDomain
    • Add support for flat_amount and rate_type on Tax.Calculation.tax_breakdown[].tax_rate_details and TaxRate
    • Add support for by, cr, ec, ma, md, rs, ru, tz, and uz on Tax.Registration.country_options and tax.RegistrationCreateParams.country_options
    • Add support for new value state_retail_delivery_fee on enum tax.RegistrationCreateParams.country_options.us.type
    • Add support for pln on Terminal.Configuration.tipping, terminal.ConfigurationCreateParams.tipping, and terminal.ConfigurationUpdateParams.tipping
    • Add support for new values issuing_transaction.purchase_details_receipt_updated and refund.failed on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]
    • Add support for new value 2024-10-28.acacia on enum WebhookEndpointCreateParams.api_version

v27.1.2

  • #​1912 add tolerance argument to parseThinEvent
    • The default tolerance value is still what most users will want, but this fixes an oversight where it wasn't possible to set tolerance at all when parsing thin events
  • #​1911 Fixes bug #​1899
    • Fixes the bug introduced in v27 where StripeException#getUserMessage on v1 API errors would return null instead of the error message.
  • #​1906 Update webhook API version validation
    • Update webhook event processing to accept events from any API version within the supported major release

v27.1.1

  • #​1901 update object tags for meter-related classes

    • fixes a bug where the object property of the MeterEvent, MeterEventAdjustment, and MeterEventSession didn't match the server.
  • #​1898 Clean up examples

  • #​1894 Fixed example for raw request in readme file

v27.1.0

  • #​1890 Update the class for ThinEvent to include livemode and reason
  • #​1891 Removed the class RequestSigningAuthenticator that was added in the previous release. Request Signing is not supported yet.
  • #​1889 Update generated code
    • Remove the support for resource Margin that was accidentally made public in the last release

v27.0.0

  • #​1880 Support for APIs in the new API version 2024-09-30.acacia

    This release changes the pinned API version to 2024-09-30.acacia. Please read the API Upgrade Guide and carefully review the API changes before upgrading.

⚠️ Breaking changes due to changes in the API
  • Rename usage_threshold_config to usage_threshold on Billing.Alert and billing.AlertCreateParams
  • Remove support for filter on Billing.Alert and billing.AlertCreateParams. Use the filters on the usage_threshold instead
  • Remove support for customer_consent_collected on terminal.ReaderProcessSetupIntentParams
⚠️ Other Breaking changes in the SDK
  • Adjusted default values for HTTP requests. You can use the old defaults by setting them explicitly. New values are:
    • max retries: 0 -> 2
  • Add method parseThinEvent() on the StripeClient class to parse thin events. Rename constructEvent() method on the same class to parseSnapshotEvent() to clearly distinguish between the two kinds of events.
  • Breaking changes to public classes that are meant for internal use only and should not affect you
    • Renamed setStripeResponseGetter on ApiResource to `setGlobalResponseGetter
    • Added another parameter to FormEncoder.flattenParams()
    • Removed the deprecated constructor overload on APIRequest
    • Removed GlobalStripeResponseGetterOptions.getAPiKey & StripeResponseGetterOptions.getApiKey. We now use a higher abstraction called Authenticator instead of passing around api keys
    • Changed return type of RequestOptions.RequestOptionsBuilder.getConnectTimeout from int to java.lang.Integer.
    • Removed the public constructor on StripeRequest in favor of a static StripeRequest.create()
    • The unused field partnerId on class Stripe is removed
Additions
  • Add support for usage_threshold on Billing.Alert and billing.AlertCreateParams
  • Add support for custom_unit_amount on ProductCreateParams.default_price_data
  • Add support for allow_redisplay on terminal.ReaderProcessPaymentIntentParams.process_config and terminal.ReaderProcessSetupIntentParams
  • Add support for new value 2024-09-30.acacia on enum WebhookEndpointCreateParams.api_version
  • Add support for new Usage Billing APIs Billing.MeterEvent, Billing.MeterEventAdjustments, Billing.MeterEventSession, Billing.MeterEventStream and the new Events API Core.Events under the v2 namespace
  • Add methods rawRequest() on the StripeClient class that takes a HTTP method type, url and relevant parameters to make requests to the Stripe API that are not yet supported in the SDK.
Changes
  • Change billingportal.ConfigurationCreateParams.features.subscription_update.default_allowed_updates and billingportal.ConfigurationCreateParams.features.subscription_update.products to be optional

v26.12.0

  • #​1866 Update generated code
    • Add support for payer_details on Charge.payment_method_details.klarna
    • Add support for amazon_pay on Dispute.payment_method_details
    • Add support for automatically_finalizes_at on Invoice
    • Add support for state_sales_tax on Tax.Registration.country_options.us and tax.RegistrationCreateParams.country_options.us

v26.11.0

  • #​1864 Update generated code
    • Add support for new resource InvoiceRenderingTemplate
    • Add support for archive, list, retrieve, and unarchive methods on resource InvoiceRenderingTemplate
    • Add support for required on Checkout.Session.tax_id_collection, PaymentLink.tax_id_collection, PaymentLinkCreateParams.tax_id_collection, PaymentLinkUpdateParams.tax_id_collection, and checkout.SessionCreateParams.tax_id_collection
    • Add support for template on Customer.invoice_settings.rendering_options, CustomerCreateParams.invoice_settings.rendering_options, CustomerUpdateParams.invoice_settings.rendering_options, Invoice.rendering, InvoiceCreateParams.rendering, and InvoiceUpdateParams.rendering
    • Add support for template_version on Invoice.rendering, InvoiceCreateParams.rendering, and InvoiceUpdateParams.rendering

v26.10.0

  • #​1850 Update generated code
    • Add support for subscription_item and subscription on billing.AlertCreateParams.filter
    • Change terminal.ReaderProcessSetupIntentParams.customer_consent_collected to be optional

v26.9.0

  • #​1856 Generate SDK for OpenAPI spec version 1230
    • Change AccountLinkCreateParams.collection_options.fields to be optional
    • Add support for new value hr_oib on enums CustomerCreateParams.tax_id_data[].type, InvoiceCreatePreviewParams.customer_details.tax_ids[].type, InvoiceUpcomingLinesParams.customer_details.tax_ids[].type, InvoiceUpcomingParams.customer_details.tax_ids[].type, TaxIdCreateParams.type, and tax.CalculationCreateParams.customer_details.tax_ids[].type
    • Add support for new value issuing_regulatory_reporting on enum FileListParams.purpose
    • Add support for new value issuing_regulatory_reporting on enum FileCreateParams.purpose
    • Add support for status_details on TestHelpers.TestClock

v26.8.0

  • #​1847 Update generated code
    • Add support for authorization_code on Charge.payment_method_details.card
    • Add support for wallet on Charge.payment_method_details.card_present, ConfirmationToken.payment_method_preview.card.generated_from.payment_method_details.card_present, ConfirmationToken.payment_method_preview.card_present, PaymentMethod.card.generated_from.payment_method_details.card_present, and PaymentMethod.card_present
    • Add support for mandate_options on PaymentIntent.payment_method_options.bacs_debit, PaymentIntentConfirmParams.payment_method_options.bacs_debit, PaymentIntentCreateParams.payment_method_options.bacs_debit, and PaymentIntentUpdateParams.payment_method_options.bacs_debit
    • Add support for bacs_debit on SetupIntent.payment_method_options, SetupIntentConfirmParams.payment_method_options, SetupIntentCreateParams.payment_method_options, and SetupIntentUpdateParams.payment_method_options
    • Add support for chips on Treasury.OutboundPayment.tracking_details.us_domestic_wire, Treasury.OutboundTransfer.tracking_details.us_domestic_wire, treasury.OutboundPaymentUpdateParams.tracking_details.us_domestic_wire, and treasury.OutboundTransferUpdateParams.tracking_details.us_domestic_wire
  • #​1849 Update recommended VSCode extensions

v26.7.0

  • #​1843 Update generated code
    • Add support for activate, archive, create, deactivate, list, and retrieve methods on resource Billing.Alert
    • Add support for retrieve method on resource Tax.Calculation
    • Add support for type on Charge.payment_method_details.card_present.offline, ConfirmationToken.payment_method_preview.card.generated_from.payment_method_details.card_present.offline, PaymentMethod.card.generated_from.payment_method_details.card_present.offline, and SetupAttempt.payment_method_details.card_present.offline
    • Add support for offline on ConfirmationToken.payment_method_preview.card_present and PaymentMethod.card_present
    • Add support for related_customer on Identity.VerificationSession, identity.VerificationSessionCreateParams, and identity.VerificationSessionListParams
    • Change InvoiceCreateParams.payment_settings.payment_method_options.card.installments.plan.count, InvoiceCreateParams.payment_settings.payment_method_options.card.installments.plan.interval, InvoiceUpdateParams.payment_settings.payment_method_options.card.installments.plan.count, InvoiceUpdateParams.payment_settings.payment_method_options.card.installments.plan.interval, PaymentIntentConfirmParams.payment_method_options.card.installments.plan.count, PaymentIntentConfirmParams.payment_method_options.card.installments.plan.interval, PaymentIntentCreateParams.payment_method_options.card.installments.plan.count, PaymentIntentCreateParams.payment_method_options.card.installments.plan.interval, PaymentIntentUpdateParams.payment_method_options.card.installments.plan.count, and PaymentIntentUpdateParams.payment_method_options.card.installments.plan.interval to be optional
    • Add support for new value girocard on enums PaymentIntentConfirmParams.payment_method_options.card.network, PaymentIntentCreateParams.payment_method_options.card.network, PaymentIntentUpdateParams.payment_method_options.card.network, SetupIntentConfirmParams.payment_method_options.card.network, SetupIntentCreateParams.payment_method_options.card.network, SetupIntentUpdateParams.payment_method_options.card.network, SubscriptionCreateParams.payment_settings.payment_method_options.card.network, and SubscriptionUpdateParams.payment_settings.payment_method_options.card.network

v26.6.0

  • #​1841 Update generated code
    • Add support for new resources Billing.AlertTriggered and Billing.Alert
    • ⚠️ Remove support for authorization_code on Charge.payment_method_details.card. This was accidentally released last week.
    • Add support for new value billing.alert.triggered on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]

v26.5.1

  • #​1840 Update generated code
    • Add support for tax_registrations and tax_settings on AccountSession.components and AccountSessionCreateParams.components

v26.4.0

  • #​1836 Update generated code
    • Add support for customer on ConfirmationToken.payment_method_preview
    • Add support for new value multibanco on enums InvoiceCreateParams.payment_settings.payment_method_types[], InvoiceUpdateParams.payment_settings.payment_method_types[], SubscriptionCreateParams.payment_settings.payment_method_types[], and SubscriptionUpdateParams.payment_settings.payment_method_types[]
    • Add support for new value stripe_s700 on enum terminal.ReaderListParams.device_type
    • Add support for new value issuing_dispute.funds_rescinded on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]
  • #​1805 Added missing log to changelog

v26.3.0

  • #​1835 Update generated code
    • Add support for payment_method_options on ConfirmationToken
    • Add support for payment_element on CustomerSession.components and CustomerSessionCreateParams.components
    • Add support for address_validation on Issuing.Card.shipping and issuing.CardCreateParams.shipping
    • Add support for shipping on issuing.CardUpdateParams

v26.2.0

  • #​1831 Update generated code
    • Add support for add_lines, remove_lines, and update_lines methods on resource Invoice
    • Add support for posted_at on Tax.Transaction and tax.TransactionCreateFromCalculationParams
  • #​1833 Update formatting settings for VSCode

v26.1.0

  • #​1829 Update generated code
    • Add support for filters on Checkout.Session.payment_method_options.us_bank_account.financial_connections, Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections, InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections, InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections, PaymentIntent.payment_method_options.us_bank_account.financial_connections, PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections, PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections, PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections, SetupIntent.payment_method_options.us_bank_account.financial_connections, SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections, SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections, SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections, Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections, SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections, and SubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections
    • Add support for email_type on CreditNoteCreateParams, CreditNotePreviewLinesParams, and CreditNotePreviewParams
    • Add support for account_subcategories on FinancialConnections.Session.filters and financialconnections.SessionCreateParams.filters
    • Add support for new values multibanco, twint, and zip on enums PaymentLinkCreateParams.payment_method_types[] and PaymentLinkUpdateParams.payment_method_types[]
    • Add support for reboot_window on Terminal.Configuration, terminal.ConfigurationCreateParams, and terminal.ConfigurationUpdateParams

v26.0.0

  • #​1825

    This release changes the pinned API version to 2024-06-20. Please read the API Upgrade Guide and carefully review the API changes before upgrading.

⚠️ Breaking changes
* Remove the unused resource `PlatformTaxFee`
* Rename `volume_decimal` to `quantity_decimal` on
   * `Issuing.Transaction.purchase_details.fuel`,
   * `issuing.AuthorizationCaptureParams.purchase_details.fuel`,
   *  `issuing.TransactionCreateForceCaptureParams.purchase_details.fuel`, and
   *  `issuing.TransactionCreateUnlinkedRefundParams.purchase_details.fuel`
Additions
  • Add support for finalize_amount test helper method on resource Issuing.Authorization
  • Add support for new values platform_disabled, paused.inactivity and other on enums Capability.Requirements.disabledReason and Capability.FutureRequirements.disabledReason
  • Add support for new value ch_uid on enums CustomerCreateParams.tax_id_data[].type, InvoiceCreatePreviewParams.customer_details.tax_ids[].type, InvoiceUpcomingLinesParams.customer_details.tax_ids[].type, InvoiceUpcomingParams.customer_details.tax_ids[].type, TaxIdCreateParams.type, and tax.CalculationCreateParams.customer_details.tax_ids[].type
  • Add support for fleet on Issuing.Authorization, Issuing.Transaction.purchase_details, issuing.AuthorizationCaptureParams.purchase_details, issuing.AuthorizationCreateParams, issuing.TransactionCreateForceCaptureParams.purchase_details, and issuing.TransactionCreateUnlinkedRefundParams.purchase_details
  • Add support for fuel on Issuing.Authorization and issuing.AuthorizationCreateParams
  • Add support for industry_product_code and quantity_decimal on Issuing.Transaction.purchase_details.fuel, issuing.AuthorizationCaptureParams.purchase_details.fuel, issuing.TransactionCreateForceCaptureParams.purchase_details.fuel, and issuing.TransactionCreateUnlinkedRefundParams.purchase_details.fuel
  • Add support for new values charging_minute, imperial_gallon, kilogram, kilowatt_hour, and pound on enums issuing.AuthorizationCaptureParams.purchase_details.fuel.unit, issuing.TransactionCreateForceCaptureParams.purchase_details.fuel.unit, and issuing.TransactionCreateUnlinkedRefundParams.purchase_details.fuel.unit
  • Add support for new value 2024-06-20 on enum WebhookEndpointCreateParams.api_version

v25.13.0

  • #​1823 Update generated code
    • Add support for new value mobilepay on enums PaymentLinkCreateParams.payment_method_types[] and PaymentLinkUpdateParams.payment_method_types[]
    • Add support for tax_id_collection on PaymentLinkUpdateParams

v25.12.0

  • #​1818 Update generated code
    • Add support for multibanco_payments and twint_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
    • Add support for twint on Charge.payment_method_details, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.payment_method_data, 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, PaymentMethodCreateParams, PaymentMethod, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
    • Add support for multibanco on Checkout.Session.payment_method_options, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.payment_method_data, 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, Refund.destination_details, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, SetupIntentUpdateParams.payment_method_data, and checkout.SessionCreateParams.payment_method_options
    • Add support for new values multibanco and twint on enums CustomerListPaymentMethodsParams.type, PaymentMethodCreateParams.type, PaymentMethodListParams.type, and checkout.SessionCreateParams.payment_method_types[]
    • Add support for new values multibanco and twint 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 value de_stn on enums CustomerCreateParams.tax_id_data[].type, InvoiceCreatePreviewParams.customer_details.tax_ids[].type, InvoiceUpcomingLinesParams.customer_details.tax_ids[].type, InvoiceUpcomingParams.customer_details.tax_ids[].type, TaxIdCreateParams.type, and tax.CalculationCreateParams.customer_details.tax_ids[].type
    • Add support for multibanco_display_details on PaymentIntent.next_action
    • Add support for invoice_settings on Subscription

v25.11.0

  • #​1817 Update generated code
    • Add support for gb_bank_transfer_payments, jp_bank_transfer_payments, mx_bank_transfer_payments, sepa_bank_transfer_payments, and us_bank_transfer_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
    • Add support for new value swish on enums InvoiceCreateParams.payment_settings.payment_method_types[], InvoiceUpdateParams.payment_settings.payment_method_types[], SubscriptionCreateParams.payment_settings.payment_method_types[], and SubscriptionUpdateParams.payment_settings.payment_method_types[]

v25.10.0

  • #​1815 Update generated code
    • Add support for default_value on Checkout.Session.custom_fields[].dropdown, Checkout.Session.custom_fields[].numeric, Checkout.Session.custom_fields[].text, checkout.SessionCreateParams.custom_fields[].dropdown, checkout.SessionCreateParams.custom_fields[].numeric, and checkout.SessionCreateParams.custom_fields[].text
    • Add support for generated_from on ConfirmationToken.payment_method_preview.card and PaymentMethod.card
    • Add support for new values en-RO and ro-RO on enums PaymentIntentConfirmParams.payment_method_options.klarna.preferred_locale, PaymentIntentCreateParams.payment_method_options.klarna.preferred_locale, and PaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale
    • Add support for new values issuing_personalization_design.activated, issuing_personalization_design.deactivated, issuing_personalization_design.rejected, and issuing_personalization_design.updated on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]

v25.9.0

  • #​1806 Update generated code
    • Add support for external_account_collection on AccountSession.components.balances.features, AccountSession.components.payouts.features, AccountSessionCreateParams.components.balances.features, and AccountSessionCreateParams.components.payouts.features
    • Add support for payment_method_remove on Checkout.Session.saved_payment_method_options
  • #​1808 Track usage for unsafeSetStripeVersionOverride

v25.8.0

  • #​1803 Update generated code
    • Add support for fee_source on ApplicationFee
    • Add support for net_available on Balance.instant_available[]
    • Add support for preferred_locales on Charge.payment_method_details.card_present, ConfirmationToken.payment_method_preview.card_present, and PaymentMethod.card_present
    • Add support for klarna on Dispute.payment_method_details
    • Add support for archived and lookup_key on entitlements.FeatureListParams
    • Change financialconnections.SessionCreateParams.filters.countries to be optional
    • Add support for no_valid_authorization on Issuing.Dispute.evidence, issuing.DisputeCreateParams.evidence, and issuing.DisputeUpdateParams.evidence
    • Add support for new value no_valid_authorization on enums issuing.DisputeCreateParams.evidence.reason and issuing.DisputeUpdateParams.evidence.reason
    • Add support for loss_reason on Issuing.Dispute
    • Add support for routing on PaymentIntent.payment_method_options.card_present, PaymentIntentConfirmParams.payment_method_options.card_present, PaymentIntentCreateParams.payment_method_options.card_present, and PaymentIntentUpdateParams.payment_method_options.card_present
    • Add support for application_fee_amount and application_fee on Payout
    • Add support for stripe_s700 on Terminal.Configuration, terminal.ConfigurationCreateParams, and terminal.ConfigurationUpdateParams
  • #​1804 Added deprecated annotation to builder methods
    • Deprecate Java builder params based on OpenAPI spec
      • Mark as deprecated the setters for persistent_token property on PaymentIntentConfirmParams, PaymentIntentCreateParams, PaymentIntentUpdateParams, SetupIntentConfirmParams, SetupIntentCreateParams, SetupIntentUpdateParams. This is a legacy parameter that no longer has any function.

v25.7.0

  • #​1801 Update generated code
    • Remove support for pending_invoice_items_behavior on SubscriptionCreateParams that was prematurely added in the previous release on the same day

v25.6.0

  • #​1797 Update generated code
    • Add support for update test helper method on resources Treasury.OutboundPayment and Treasury.OutboundTransfer
    • Add support for allow_redisplay on ConfirmationToken.payment_method_preview and PaymentMethod
    • Add support for preview_mode on InvoiceCreatePreviewParams, InvoiceUpcomingLinesParams, and InvoiceUpcomingParams
    • Add support for tracking_details on Treasury.OutboundPayment and Treasury.OutboundTransfer
    • Add support for new values treasury.outbound_payment.tracking_details_updated and treasury.outbound_transfer.tracking_details_updated on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]

v25.5.0

  • #​1785 Update generated code
    • Add support for paypal on Dispute.payment_method_details
    • Change type of Dispute.payment_method_details.type from literal('card') to enum('card'|'paypal')
    • Change type of entitlements.FeatureUpdateParams.metadata from map(string: string) to emptyable(map(string: string))
    • Add support for payment_method_types on PaymentIntentConfirmParams
    • Add support for ship_from_details on Tax.Calculation, Tax.Transaction, and tax.CalculationCreateParams
    • Add support for bh, eg, ge, ke, kz, ng, and om on Tax.Registration.country_options and tax.RegistrationCreateParams.country_options
  • #​1787 Deprecate Java params based on OpenAPI spec
    • Mark as deprecated the persistent_token property on ConfirmationToken.Link.persistentToken, PaymentIntent.Link.persistentToken, PaymentMethod.Link.persistentToken, SetupIntent.Link.persistentToken, PaymentIntentConfirmParams.Link.persistentToken, PaymentIntentCreateParams.Link.persistentToken, PaymentIntentUpdateParams.Link.persistentToken, SetupIntentConfirmParams.Link.persistentToken, SetupIntentCreateParams.Link.persistentToken, SetupIntentUpdateParams.Link.persistentToken. This is a legacy parameter that no longer has any function.

v25.4.0

  • #​1784 Update generated code
    • Add support for setup_future_usage on Checkout.Session.payment_method_options.amazon_pay, Checkout.Session.payment_method_options.revolut_pay, PaymentIntent.payment_method_options.amazon_pay, and PaymentIntent.payment_method_options.revolut_pay
    • Change type of Entitlements.ActiveEntitlement.feature from string to expandable($Entitlements.Feature)
    • Remove support for inadvertently released identity verification features email and phone on identity.VerificationSessionCreateParams.options and identity.VerificationSessionUpdateParams.options
    • Add support for new values amazon_pay and revolut_pay on enums InvoiceCreateParams.payment_settings.payment_method_types[], InvoiceUpdateParams.payment_settings.payment_method_types[], SubscriptionCreateParams.payment_settings.payment_method_types[], and SubscriptionUpdateParams.payment_settings.payment_method_types[]
    • Add support for amazon_pay and revolut_pay on Mandate.payment_method_details and SetupAttempt.payment_method_details
    • Add support for ending_before, limit, and starting_after on PaymentMethodConfigurationListParams
    • Add support for mobilepay on PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, and PaymentMethodConfiguration
  • Deprecate Java methods based on OpenAPI spec

v25.3.0

  • #​1782 Update generated code
    • Add support for create_preview method on resource Invoice
    • Add support for payment_method_data on checkout.SessionCreateParams
    • Add support for saved_payment_method_options on Checkout.Session and checkout.SessionCreateParams
    • Add support for mobilepay on Checkout.Session.payment_method_options and checkout.SessionCreateParams.payment_method_options
    • Add support for new value mobilepay on enum checkout.SessionCreateParams.payment_method_types[]
    • Add support for allow_redisplay on ConfirmationTokenCreateParams.payment_method_data, CustomerListPaymentMethodsParams, PaymentIntentConfirmParams.payment_method_data, PaymentIntentCreateParams.payment_method_data, PaymentIntentUpdateParams.payment_method_data, PaymentMethodCreateParams, PaymentMethodUpdateParams, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
    • Add support for schedule_details and subscription_details on InvoiceUpcomingLinesParams and InvoiceUpcomingParams
    • Add support for new value other on enums issuing.AuthorizationCaptureParams.purchase_details.fuel.unit, issuing.TransactionCreateForceCaptureParams.purchase_details.fuel.unit, and issuing.TransactionCreateUnlinkedRefundParams.purchase_details.fuel.unit

v25.2.0

  • #​1780 Update generated code
    • Add support for new resource Entitlements.ActiveEntitlementSummary
    • Add support for balances and payouts_list on AccountSession.components and AccountSessionCreateParams.components
    • Change billing.MeterEventCreateParams.timestamp to be optional
    • Remove support for config on Forwarding.Request and forwarding.RequestCreateParams. This field is no longer used by the Forwarding Request API.
    • Add support for capture_method on PaymentIntent.payment_method_options.revolut_pay, PaymentIntentConfirmParams.payment_method_options.revolut_pay, PaymentIntentCreateParams.payment_method_options.revolut_pay, and PaymentIntentUpdateParams.payment_method_options.revolut_pay
    • Add support for swish on PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, and PaymentMethodConfiguration
    • Add support for new value entitlements.active_entitlement_summary.updated on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]

v25.1.0

  • #​1779 Update generated code
    • Add support for account_management and notification_banner on AccountSession.components and AccountSessionCreateParams.components
    • Add support for external_account_collection on AccountSession.components.account_onboarding.features and AccountSessionCreateParams.components.account_onboarding.features
    • Change billing.MeterEventAdjustmentCreateParams.cancel.identifier and billing.MeterEventAdjustmentCreateParams.cancel to be optional
    • Change billing.MeterEventAdjustmentCreateParams.type to be required
    • Change type of Billing.MeterEventAdjustment.cancel from BillingMeterResourceBillingMeterEventAdjustmentCancel to nullable(BillingMeterResourceBillingMeterEventAdjustmentCancel)
    • Add support for amazon_pay on Charge.payment_method_details, Checkout.Session.payment_method_options, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.payment_method_data, 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, Refund.destination_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, and checkout.SessionCreateParams.payment_method_options
    • Add support for new value ownership on enums InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[], InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[], PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.prefetch[], PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[], PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.prefetch[], SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.prefetch[], SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[], SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.prefetch[], SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[], SubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[], and checkout.SessionCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]
    • Add support for new value amazon_pay on enum checkout.SessionCreateParams.payment_method_types[]
    • Add support for new value amazon_pay 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 bh_vat, kz_bin, ng_tin, and om_vat on enums CustomerCreateParams.tax_id_data[].type, InvoiceUpcomingLinesParams.customer_details.tax_ids[].type, InvoiceUpcomingParams.customer_details.tax_ids[].type, TaxIdCreateParams.type, and tax.CalculationCreateParams.customer_details.tax_ids[].type
    • Add support for new value amazon_pay on enums CustomerListPaymentMethodsParams.type, PaymentMethodCreateParams.type, and PaymentMethodListParams.type
    • Add support for next_refresh_available_at on FinancialConnections.Account.ownership_refresh

v25.0.0

  • #​1776

    • This release changes the pinned API version to 2024-04-10. Please read the API Upgrade Guide and carefully review the API changes before upgrading.

    • Add a new TaxIdService for operations on /v1/tax_ids endpoints.

⚠️ Breaking changes
  • Rename features to marketing_features on ProductCreateParams, ProductUpdateParams, and Product
  • Rename "child" services to be prefixed with the associated parent service to allow for the same resource to be exposed at top level (e.g., /v1/tax_ids via client.taxIds()) and as a child (e.g., /v1/customers/{}/tax_ids via client.customers().taxIds()).
    • Rename CapabilityService -> AccountCapabilityService
    • Rename ExternalAccountService -> AccountExternalAccountService
    • Rename LoginLinkService -> AccountLoginLinkService
    • Rename PersonService -> AccountPersonService
    • Rename FeeRefundService -> ApplicationFeeRefundService
    • Rename CashBalanceService -> CustomerCashBalanceService
    • Rename PaymentSourceService -> CustomerPaymentSourceService
    • Rename UsageRecordService -> SubscriptionItemUsageRecordService
    • Rename UsageRecordSummaryService -> SubscriptionItemUsageRecordSummaryService
    • Rename TaxIdService -> CustomerTaxIdService.
  • Remove support for verify method on BankAccountService.
    • Please use the verify method on CustomerPaymentSourceService instead
    // BEFORE
    client.bankAccounts().verify("cus_...", "ba_...");
    
    // AFTER
    client.customers().paymentSources().verify("cus_...", "ba_...");
    
  • Remove support for list and create methods on treasury.FinancialAccountFeaturesService. These methods were incorrectly named.
    • Please migrate list -> retrieve and create -> update.
  • Update setPageTypeToken method on StripeCollectionInterface to be required and remove default implementation.
  • Remove deprecated setUsage method on BaseApiRequest.
  • Update usage on BaseApiRequest class to be final.
  • Remove deprecated maybeEnqueueMetrics method on RequestTelemetry.
⚠️ Removal of enum values, properties and events that are no longer part of the publicly documented Stripe API
  • Remove Configuration.SubscriptionPause for Billing Portal as the feature to pause subscription on the portal has been deprecated.
  • Remove the support for the below deprecated values in BalanceTransaction.Type
    • obligation_inbound
    • obligation_payout
    • obligation_payout_failure
    • obligation_reversal_outbound
  • Remove the below deprecated events from Event.Type, WebhookEndpointCreateOptions.EnabledEvent, WebhookEndpointUpdateOptions.EnabledEvent
    • invoiceitem.updated
    • order.created
    • recipient.created
    • recipient.deleted
    • recipient.updated
    • sku.created
    • sku.deleted
    • sku.updated
  • Remove support for id_bank_transfer, multibanco, netbanking, pay_by_bank, and upi on PaymentMethodConfiguration by removing the below classes
    • PaymentMethodConfiguration.IdBankTransfer
    • PaymentMethodConfiguration.Multibanco
    • PaymentMethodConfiguration.Netbanking
    • PaymentMethodConfiguration.PayByBank
    • PaymentMethodConfiguration.Upi
  • Remove the support for challenge_only in SetupIntent.PaymentMethodOptions.Card.RequestThreeDSecure
  • Remove the support for deprecated value service_tax in TaxRate.TaxType, InvoiceLinetItemUpdateParams.TaxAmount.TaxRateData.TaxType,pwebTaxRateCreateParams.TaxType, TaxRateUpdateParams.TaxType
  • Remove the support for various in Climate.Supplier.removalPathway
  • Remove the deprecated value INCLUDE_AND_REQUIRE on the enum InvoiceCreateParams.PendingInvoiceItemsBehavior
  • Remove the property RequestIncrementalAuthorization on PaymentIntentConfirmParams.PaymentMethodOptions.CardPresent, PaymentIntentCreateParams.PaymentMethodOptions.CardPresent and PaymentIntentUpdateParams.PaymentMethodOptions.CardPresent. This was shipped by mistake.
  • Remove the support for deprecated value obligation on ReportRunCreateParams.ReportingCategory
  • Remove the legacy field rendering_options on InvoiceCreateParams, InvoiceUpdateParams, and Invoice. Use rendering instead.

v24.24.0

  • #​1778 Update generated code
    • Add support for new resources Entitlements.ActiveEntitlement and Entitlements.Feature
    • Add support for list and retrieve methods on resource ActiveEntitlement
    • Add support for create, list, retrieve, and update methods on resource Feature
    • Add support for controller on AccountCreateParams
    • Add support for fees, losses, requirement_collection, and stripe_dashboard on Account.controller
    • Add support for event_name on Billing.MeterEventAdjustment and billing.MeterEventAdjustmentCreateParams
    • Add support for cancel and type on Billing.MeterEventAdjustment

v24.23.0

  • #​1774 Update generated code
    • Change type of checkout.SessionCreateParams.payment_method_options.swish.reference from emptyable(string) to string
    • Add support for subscription_item on Discount
    • Add support for email and phone on Identity.VerificationReport, Identity.VerificationSession.options, Identity.VerificationSession.verified_outputs, identity.VerificationSessionCreateParams.options, and identity.VerificationSessionUpdateParams.options
    • Add support for verification_flow on Identity.VerificationReport, Identity.VerificationSession, and identity.VerificationSessionCreateParams
    • Add support for provided_details on Identity.VerificationSession, identity.VerificationSessionCreateParams, and identity.VerificationSessionUpdateParams
    • Change identity.VerificationSessionCreateParams.type to be optional
    • Add support for promotion_code on InvoiceCreateParams.discounts[], InvoiceItemCreateParams.discounts[], InvoiceItemUpdateParams.discounts[], InvoiceUpdateParams.discounts[], QuoteCreateParams.discounts[], and QuoteUpdateParams.discounts[]
    • Add support for discounts on InvoiceUpcomingLinesParams.subscription_items[], InvoiceUpcomingParams.subscription_items[], QuoteCreateParams.line_items[], QuoteUpdateParams.line_items[], SubscriptionCreateParams.add_invoice_items[], SubscriptionCreateParams.items[], SubscriptionCreateParams, SubscriptionItemCreateParams, SubscriptionItemUpdateParams, SubscriptionItem, SubscriptionSchedule.phases[].add_invoice_items[], SubscriptionSchedule.phases[].items[], SubscriptionSchedule.phases[], SubscriptionScheduleCreateParams.phases[].add_invoice_items[], SubscriptionScheduleCreateParams.phases[].items[], SubscriptionScheduleCreateParams.phases[], SubscriptionScheduleUpdateParams.phases[].add_invoice_items[], SubscriptionScheduleUpdateParams.phases[].items[], SubscriptionScheduleUpdateParams.phases[], SubscriptionUpdateParams.add_invoice_items[], SubscriptionUpdateParams.items[], SubscriptionUpdateParams, and Subscription
    • Add support for allowed_merchant_countries and blocked_merchant_countries on Issuing.Card.spending_controls, Issuing.Cardholder.spending_controls, issuing.CardCreateParams.spending_controls, issuing.CardUpdateParams.spending_controls, issuing.CardholderCreateParams.spending_controls, and issuing.CardholderUpdateParams.spending_controls
    • Add support for zip on PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, and PaymentMethodConfiguration
    • Add support for offline on SetupAttempt.payment_method_details.card_present
    • Add support for card_present on SetupIntent.payment_method_options, SetupIntentConfirmParams.payment_method_options, SetupIntentCreateParams.payment_method_options, and SetupIntentUpdateParams.payment_method_options
    • Add support for new value mobile_phone_reader on enum terminal.ReaderListParams.device_type

v24.22.0

  • #​1770 Update generated code
    • Add support for new resources Billing.MeterEventAdjustment, Billing.MeterEvent, and Billing.Meter
    • Add support for create, deactivate, list, reactivate, retrieve, and update methods on resource Meter
    • Add support for create method on resources MeterEventAdjustment and MeterEvent
    • Add support for amazon_pay_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
    • Add support for destination_on_behalf_of_charge_management on AccountSession.components.payment_details.features, AccountSession.components.payments.features, AccountSessionCreateParams.components.payment_details.features, and AccountSessionCreateParams.components.payments.features
    • Add support for mandate on Charge.payment_method_details.us_bank_account, Treasury.InboundTransfer.origin_payment_method_details.us_bank_account, Treasury.OutboundPayment.destination_payment_method_details.us_bank_account, and Treasury.OutboundTransfer.destination_payment_method_details.us_bank_account
    • Add support for second_line on issuing.CardCreateParams
    • Add support for meter on PlanCreateParams, Plan, Price.recurring, PriceCreateParams.recurring, and PriceListParams.recurring

v24.21.0

  • #​1768 Update generated code
    • Add support for new resources ConfirmationToken and Forwarding.Request
    • Add support for retrieve method on resource ConfirmationToken
    • Add support for create, list, and retrieve methods on resource Request
    • Add support for mobilepay_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
    • Add support for mobilepay on Charge.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, PaymentMethodCreateParams, PaymentMethod, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
    • Add support for payment_reference on Charge.payment_method_details.us_bank_account
    • Add support for new value mobilepay on enums CustomerListPaymentMethodsParams.type, PaymentMethodCreateParams.type, and PaymentMethodListParams.type
    • Add support for confirmation_token on PaymentIntentConfirmParams, PaymentIntentCreateParams, SetupIntentConfirmParams, and SetupIntentCreateParams
    • Add support for new value mobilepay on enums 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 name on Terminal.Configuration, terminal.ConfigurationCreateParams, and terminal.ConfigurationUpdateParams
    • Add support for payout on Treasury.ReceivedDebit.linked_flows

v24.20.0

  • #​1763 Update generated code
    • Add support for new resources Issuing.PersonalizationDesign and Issuing.PhysicalBundle
    • Add support for create, list, retrieve, and update methods on resource PersonalizationDesign
    • Add support for list and retrieve methods on resource PhysicalBundle
    • Add support for personalization_design on Issuing.Card, issuing.CardCreateParams, issuing.CardListParams, and issuing.CardUpdateParams
    • Change type of SubscriptionCreateParams.application_fee_percent and SubscriptionUpdateParams.application_fee_percent from number to emptyStringable(number)
    • Add support for sepa_debit on Subscription.payment_settings.payment_method_options, SubscriptionCreateParams.payment_settings.payment_method_options, and SubscriptionUpdateParams.payment_settings.payment_method_options

v24.19.0

  • #​1758 Update generated code
    • Add support for documents on AccountSession.components and AccountSessionCreateParams.components
    • Add support for request_three_d_secure on Checkout.Session.payment_method_options.card and checkout.SessionCreateParams.payment_method_options.card
    • Add support for created on CreditNoteListParams
    • Add support for sepa_debit on Invoice.payment_settings.payment_method_options, InvoiceCreateParams.payment_settings.payment_method_options, and InvoiceUpdateParams.payment_settings.payment_method_options

v24.18.0

  • #​1750 Update generated code
    • Add support for number on InvoiceCreateParams and InvoiceUpdateParams
    • Add support for enable_customer_cancellation on Terminal.Reader.action.process_payment_intent.process_config, Terminal.Reader.action.process_setup_intent.process_config, terminal.ReaderProcessPaymentIntentParams.process_config, and terminal.ReaderProcessSetupIntentParams.process_config
    • Add support for refund_payment_config on Terminal.Reader.action.refund_payment and terminal.ReaderRefundPaymentParams
    • Add support for payment_method on TokenCreateParams.bank_account
  • #​1753 Update README to reference addBetaVersion helper

v24.17.0

  • #​1748 Update generated code
    • Add support for client_reference_id on Identity.VerificationReport, Identity.VerificationSession, identity.VerificationReportListParams, identity.VerificationSessionCreateParams, and identity.VerificationSessionListParams
    • Remove support for value include_and_require from enum InvoiceCreateParams.pending_invoice_items_behavior
    • Remove support for value service_tax from enums TaxRateCreateParams.tax_type and TaxRateUpdateParams.tax_type
    • Add support for created on treasury.OutboundPaymentListParams
    • Add InvoiceLineItem.update method.

v24.16.0

  • #​1745 Update generated code
    • Add support for networks on Card, PaymentMethodCreateParams.CardDetails, PaymentMethodUpdateParams.Card, and TokenCreateParams.Card
    • Add support for new value no_voec on enums CustomerCreateParams.tax_id_data[].type, InvoiceUpcomingLinesParams.customer_details.tax_ids[].type, InvoiceUpcomingParams.customer_details.tax_ids[].type, TaxIdCreateParams.type, and tax.CalculationCreateParams.customer_details.tax_ids[].type
    • Add support for display_brand on PaymentMethod.card
    • Add support for new value financial_connections.account.refreshed_ownership on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]

v24.15.0

  • #​1742 Update generated code
    • Add support for invoices on Account.settings and AccountUpdateParams.settings
    • Add support for new value velobank on enums PaymentIntentConfirmParams.payment_method_data.p24.bank, PaymentIntentCreateParams.payment_method_data.p24.bank, PaymentIntentUpdateParams.payment_method_data.p24.bank, PaymentMethodCreateParams.p24.bank, SetupIntentConfirmParams.payment_method_data.p24.bank, SetupIntentCreateParams.payment_method_data.p24.bank, and SetupIntentUpdateParams.payment_method_data.p24.bank
    • Add support for setup_future_usage on PaymentIntent.payment_method_options.blik, PaymentIntentConfirmParams.payment_method_options.blik, PaymentIntentCreateParams.payment_method_options.blik, and PaymentIntentUpdateParams.payment_method_options.blik
    • Add support for require_cvc_recollection on PaymentIntent.payment_method_options.card, PaymentIntentConfirmParams.payment_method_options.card, PaymentIntentCreateParams.payment_method_options.card, and PaymentIntentUpdateParams.payment_method_options.card
    • Add support for account_tax_ids on SubscriptionCreateParams.invoice_settings, SubscriptionSchedule.default_settings.invoice_settings, SubscriptionSchedule.phases[].invoice_settings, SubscriptionScheduleCreateParams.default_settings.invoice_settings, SubscriptionScheduleCreateParams.phases[].invoice_settings, SubscriptionScheduleUpdateParams.default_settings.invoice_settings, SubscriptionScheduleUpdateParams.phases[].invoice_settings, and SubscriptionUpdateParams.invoice_settings
  • #​1744 Define StripeClient "usage" in a single place

v24.14.0

  • #​1740 Update generated code
    • Add support for swish payment method throughout the API
    • Add support for relationship on AccountCreateParams.individual, AccountUpdateParams.individual, and TokenCreateParams.account.individual
    • Add support for jurisdiction_level on TaxRate
    • ⚠️ Fix broken reference to com.stripe.model.Discount from checkout.Session.TotalDetails.Breakdown.Discount (this represents a bugfix as this class would never have worked, but might be a breaking type change)
  • #​1739 Add clock instance on webhook

v24.13.0

  • #​1736 Update generated code
    • Add support for annual_revenue and estimated_worker_count on Account.business_profile, Account.CreateParams.business_profile, and Account.UpdateParams.business_profile
    • Add support for new value registered_charity on enums Account.CreateParams.company.structure, Account.UpdateParams.company.structure, and Token.CreateParams.account.company.structure
    • Add support for collection_options on AccountLink.CreateParams
    • Add support for liability on Checkout.Session.automatic_tax, PaymentLink.automatic_tax, PaymentLink.CreateParams.automatic_tax, PaymentLink.UpdateParams.automatic_tax, Quote.automatic_tax, Quote.CreateParams.automatic_tax, Quote.UpdateParams.automatic_tax, SubscriptionSchedule.default_settings.automatic_tax, SubscriptionSchedule.phases[].automatic_tax, SubscriptionSchedule.CreateParams.default_settings.automatic_tax, SubscriptionSchedule.CreateParams.phases[].automatic_tax, SubscriptionSchedule.UpdateParams.default_settings.automatic_tax, SubscriptionSchedule.UpdateParams.phases[].automatic_tax, and checkout.Session.CreateParams.automatic_tax
    • Add support for issuer on Checkout.Session.invoice_creation.invoice_data, PaymentLink.invoice_creation.invoice_data, PaymentLink.CreateParams.invoice_creation.invoice_data, PaymentLink.UpdateParams.invoice_creation.invoice_data, Quote.invoice_settings, Quote.CreateParams.invoice_settings, Quote.UpdateParams.invoice_settings, SubscriptionSchedule.default_settings.invoice_settings, SubscriptionSchedule.phases[].invoice_settings, SubscriptionSchedule.CreateParams.default_settings.invoice_settings, SubscriptionSchedule.CreateParams.phases[].invoice_settings, SubscriptionSchedule.UpdateParams.default_settings.invoice_settings, SubscriptionSchedule.UpdateParams.phases[].invoice_settings, and checkout.Session.CreateParams.invoice_creation.invoice_data
    • Add support for invoice_settings on PaymentLink.subscription_data, PaymentLink.CreateParams.subscription_data, PaymentLink.UpdateParams.subscription_data, and checkout.Session.CreateParams.subscription_data
    • Add support for new value challenge on enums Invoice.CreateParams.payment_settings.payment_method_options.card.request_three_d_secure, Invoice.UpdateParams.payment_settings.payment_method_options.card.request_three_d_secure, Subscription.CreateParams.payment_settings.payment_method_options.card.request_three_d_secure, and Subscription.UpdateParams.payment_settings.payment_method_options.card.request_three_d_secure
    • Add support for promotion_code on Invoice.UpcomingLinesParams.discounts[], Invoice.UpcomingLinesParams.invoice_items[].discounts[], Invoice.UpcomingParams.discounts[], and Invoice.UpcomingParams.invoice_items[].discounts[]
    • Add support for account_type on PaymentMethod.UpdateParams.us_bank_account

v24.12.0

  • #​1732 Update generated code
  • #​1723 Update generated code
    • Add support for issuer on InvoiceCreateParams, InvoiceUpcomingLinesParams, InvoiceUpcomingParams, InvoiceUpdateParams, and Invoice
    • Add support for liability on Invoice.automatic_tax, InvoiceCreateParams.automatic_tax, InvoiceUpcomingLinesParams.automatic_tax, InvoiceUpcomingParams.automatic_tax, InvoiceUpdateParams.automatic_tax, Subscription.automatic_tax, SubscriptionCreateParams.automatic_tax, and SubscriptionUpdateParams.automatic_tax
    • Add support for on_behalf_of on InvoiceUpcomingLinesParams and InvoiceUpcomingParams
    • Add support for pin on issuing.CardCreateParams
    • Add support for revocation_reason on Mandate.payment_method_details.bacs_debit
    • Add support for new value nn on enums PaymentIntentConfirmParams.payment_method_data.ideal.bank, PaymentIntentCreateParams.payment_method_data.ideal.bank, PaymentIntentUpdateParams.payment_method_data.ideal.bank, PaymentMethodCreateParams.ideal.bank, SetupIntentConfirmParams.payment_method_data.ideal.bank, SetupIntentCreateParams.payment_method_data.ideal.bank, and SetupIntentUpdateParams.payment_method_data.ideal.bank
    • Add support for customer_balance on PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, and PaymentMethodConfiguration
    • Add support for invoice_settings on SubscriptionCreateParams and SubscriptionUpdateParams
  • #​1724 Add webhook parsing method on StripeClient
    • Add support for constructEvent() instance method on StripeClient that parses Webhook events and uses the settings inherited from the StripeClient instance to make further requests.
  • #​1721 Report usage of stripe_client
    • Reports use of the new StripeClient in X-Stripe-Client-Telemetry. (You can disable telemetry via Stripe.enableTelemetry = false;, see the README.)

v24.11.0

  • #​1715 Update generated code
    • Add support for new resource CustomerSession
    • Add support for create method on resource CustomerSession
    • Remove support for expand on BankAccountDeleteParams and CardDeleteParams
    • Add support for account_type, default_for_currency, and documents on BankAccountUpdateParams and CardUpdateParams
    • Remove support for owner on BankAccountUpdateParams and CardUpdateParams
    • Change type of BankAccountUpdateParams.account_holder_type and CardUpdateParams.account_holder_type from enum('company'|'individual') to emptyStringable(enum('company'|'individual'))
    • Add support for new values eps and p24 on enums InvoiceCreateParams.payment_settings.payment_method_types[], InvoiceUpdateParams.payment_settings.payment_method_types[], SubscriptionCreateParams.payment_settings.payment_method_types[], and SubscriptionUpdateParams.payment_settings.payment_method_types[]
    • Remove support for value obligation from enum reporting.ReportRunCreateParams.parameters.reporting_category
    • Add support for billing_cycle_anchor_config on SubscriptionCreateParams and Subscription
  • #​1702 Change StripeResponseGetter to take a single APIRequest object
  • #​1716 Add missing method overloads

v24.10.0

  • #​1712 Update generated code
    • Add support for retrieve method on resource Tax.Registration

v24.9.0

  • #​1709 Update generated code
  • #​1707 Update generated code
    • Add support for new resource FinancialConnections.Transaction
    • Add support for list and retrieve methods on resource Transaction
    • Add support for subscribe and unsubscribe methods on resource FinancialConnections.Account
    • Add support for features on AccountSessionCreateParams.components.payouts
    • Add support for edit_payout_schedule, instant_payouts, and standard_payouts on AccountSession.components.payouts.features
    • Change type of Checkout.Session.payment_method_options.us_bank_account.financial_connections.prefetch[], Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[], InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[], InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[], PaymentIntent.payment_method_options.us_bank_account.financial_connections.prefetch[], PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.prefetch[], PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[], PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.prefetch[], SetupIntent.payment_method_options.us_bank_account.financial_connections.prefetch[], SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.prefetch[], SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[], SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.prefetch[], Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[], SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[], SubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[], and checkout.SessionCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[] from literal('balances') to enum('balances'|'transactions')
    • Add support for new value transactions on enum financialconnections.AccountRefreshParams.features[]
    • Add support for subscriptions and transaction_refresh on FinancialConnections.Account
    • Add support for next_refresh_available_at on FinancialConnections.Account.balance_refresh
    • Add support for new value transactions on enum financialconnections.SessionCreateParams.prefetch[]
    • Add support for new value unknown on enum issuing.AuthorizationCreateParams.verification_data.authentication_exemption.type
    • Add support for collection_method on Mandate.payment_method_details.us_bank_account
    • Add support for new value challenge on enums PaymentIntentConfirmParams.payment_method_options.card.request_three_d_secure, PaymentIntentCreateParams.payment_method_options.card.request_three_d_secure, PaymentIntentUpdateParams.payment_method_options.card.request_three_d_secure, SetupIntentConfirmParams.payment_method_options.card.request_three_d_secure, SetupIntentCreateParams.payment_method_options.card.request_three_d_secure, and SetupIntentUpdateParams.payment_method_options.card.request_three_d_secure
    • Add support for mandate_options on PaymentIntent.payment_method_options.us_bank_account, PaymentIntentConfirmParams.payment_method_options.us_bank_account, PaymentIntentCreateParams.payment_method_options.us_bank_account, PaymentIntentUpdateParams.payment_method_options.us_bank_account, SetupIntent.payment_method_options.us_bank_account, SetupIntentConfirmParams.payment_method_options.us_bank_account, SetupIntentCreateParams.payment_method_options.us_bank_account, and SetupIntentUpdateParams.payment_method_options.us_bank_account
    • Add support for revolut_pay on PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, and PaymentMethodConfiguration
    • Add support for destination_details on Refund
    • Add support for new value financial_connections.account.refreshed_transactions on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]

v24.8.0

  • #​1704 Update generated code
    • Add support for payment_method_reuse_agreement on Checkout.Session.consent_collection, PaymentLink.consent_collection, PaymentLinkCreateParams.consent_collection, and checkout.SessionCreateParams.consent_collection
    • Add support for after_submit on Checkout.Session.custom_text, PaymentLink.custom_text, PaymentLinkCreateParams.custom_text, PaymentLinkUpdateParams.custom_text, and
    • Add support for created on radar.EarlyFraudWarningListParams

v24.7.0

  • #​1700 Update generated code
    • Add support for payment_details, payments, and payouts on AccountSession.components and AccountSessionCreateParams.components
    • Add support for features on AccountSession.components.account_onboarding and AccountSessionCreateParams.components.account_onboarding
    • Add support for inactive_message and restrictions on PaymentLinkCreateParams, PaymentLinkUpdateParams, and PaymentLink
    • Add support for transfer_group on PaymentLink.payment_intent_data, PaymentLinkCreateParams.payment_intent_data, and PaymentLinkUpdateParams.payment_intent_data
    • Add support for trial_settings on PaymentLink.subscription_data, PaymentLinkCreateParams.subscription_data, and PaymentLinkUpdateParams.subscription_data

v24.6.0

  • #​1694 Update generated code
    • Add support for new resources Climate.Order, Climate.Product, and Climate.Supplier
    • Add support for cancel, create, list, retrieve, and update methods on resource Order
    • Add support for list and retrieve methods on resources Product and Supplier
    • Add support for created on checkout.SessionListParams
    • Add support for validate_location on CustomerCreateParams.tax and CustomerUpdateParams.tax
    • Add support for new values climate_order_purchase and climate_order_refund on enum reporting.ReportRunCreateParams.parameters.reporting_category
    • Add support for new values climate.order.canceled, climate.order.created, climate.order.delayed, climate.order.delivered, climate.order.product_substituted, climate.product.created, and climate.product.pricing_updated on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]

v24.5.0

  • #​1693 Update generated code
    • Add support for electronic_commerce_indicator and transaction_id on Charge.payment_method_details.card.three_d_secure and SetupAttempt.payment_method_details.card.three_d_secure
    • Add support for exemption_indicator_applied and exemption_indicator on Charge.payment_method_details.card.three_d_secure
    • Add support for three_d_secure on PaymentIntentConfirmParams.payment_method_options.card, PaymentIntentCreateParams.payment_method_options.card, PaymentIntentUpdateParams.payment_method_options.card, SetupIntentConfirmParams.payment_method_options.card, SetupIntentCreateParams.payment_method_options.card, and SetupIntentUpdateParams.payment_method_options.card

v24.4.0

  • #​1690 Update generated code
    • Add support for offline on Charge.payment_method_details.card_present
    • Add support for system_trace_audit_number on Issuing.Authorization.network_data
    • Add support for transaction_id on Issuing.Authorization.network_data and Issuing.Transaction.network_data
    • Add support for network_risk_score on Issuing.Authorization.pending_request and Issuing.Authorization.request_history[]
    • Add support for requested_at on Issuing.Authorization.request_history[]
    • Add support for authorization_code on Issuing.Transaction.network_data

v24.3.0

  • #​1685 Update generated code
    • Add support for status on checkout.SessionListParams
  • #​1683 Update generated code
    • Add support for bacs_debit_payments on AccountCreateParams.settings and AccountUpdateParams.settings
    • Add support for service_user_number on Account.settings.bacs_debit_payments
    • Add support for capture_before on Charge.payment_method_details.card
    • Add support for paypal on Checkout.Session.payment_method_options
    • Add support for tax_amounts on CreditNoteCreateParams.lines[], CreditNotePreviewLinesParams.lines[], and CreditNotePreviewParams.lines[]
    • Add support for network_data on Issuing.Transaction

v24.2.0

  • #​1679 Update generated code
    • Add support for metadata on Quote.subscription_data, QuoteCreateParams.subscription_data, and QuoteUpdateParams.subscription_data

v24.1.0

  • #​1677 Update generated code
    • Add support for new resource Tax.Registration
    • Add support for revolut_pay throughout the API.
    • Add support for aba and swift on FundingInstructions.bank_transfer.financial_addresses[] and PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[]
    • Add support for url on Issuing.Authorization.merchant_data, Issuing.Transaction.merchant_data, issuing.AuthorizationCreateParams.merchant_data, issuing.TransactionCreateForceCaptureParams.merchant_data, and issuing.TransactionCreateUnlinkedRefundParams.merchant_data
    • Add support for authentication_exemption and three_d_secure on Issuing.Authorization.verification_data and issuing.AuthorizationCreateParams.verification_data
    • Add support for description on PaymentLink.payment_intent_data, PaymentLinkCreateParams.payment_intent_data, and PaymentLinkUpdateParams.payment_intent_data
    • Add support for new value unreconciled_customer_funds on enum reporting.ReportRunCreateParams.parameters.reporting_category

v24.0.0

  • This release changes the pinned API version to 2023-10-16. Please read the API Upgrade Guide and carefully review the API changes before upgrading stripe-java.
  • #​1672 Update generated code
    • Add support for legal_guardian on AccountPersonsParams.relationship and TokenCreateParams.person.relationship
    • Add support for additional_tos_acceptances on TokenCreateParams.person
    • Add support for new value 2023-10-16 on enum WebhookEndpointCreateParams.api_version

v23.10.0

  • #​1670 Update generated code
    • Add support for new values issuing_token.created and issuing_token.updated on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]
  • #​1671 Disallow falback to global response getter only in tests

v23.9.0

  • #​1668 Update generated code
    • Add support for redirect_on_completion, return_url, and ui_mode on Checkout.Session and checkout.SessionCreateParams
    • Change checkout.SessionCreateParams.success_url to be optional
    • Add support for client_secret on Checkout.Session
    • Add support for postal_code on Issuing.Authorization.verification_data
    • Add support for offline on Terminal.Configuration, terminal.ConfigurationCreateParams, and terminal.ConfigurationUpdateParams

v23.8.0

  • #​1663 Flow type information further into autopagination requests
  • #​1662 Update generated code
    • Add support for new resource Issuing.Token
    • Add support for list, retrieve, and update methods on resource Token
    • Add support for amount_authorized, extended_authorization, incremental_authorization, multicapture, and overcapture on Charge.payment_method_details.card
    • Add support for token on Issuing.Authorization and Issuing.Transaction
    • Add support for authorization_code on Issuing.Authorization.request_history[]
    • Add support for request_extended_authorization, request_multicapture, and request_overcapture on PaymentIntent.payment_method_options.card, PaymentIntentConfirmParams.payment_method_options.card, PaymentIntentCreateParams.payment_method_options.card, and PaymentIntentUpdateParams.payment_method_options.card
    • Add support for request_incremental_authorization on PaymentIntent.payment_method_options.card, PaymentIntentConfirmParams.payment_method_options.card_present, PaymentIntentConfirmParams.payment_method_options.card, PaymentIntentCreateParams.payment_method_options.card_present, PaymentIntentCreateParams.payment_method_options.card, PaymentIntentUpdateParams.payment_method_options.card_present, and PaymentIntentUpdateParams.payment_method_options.card
    • Add support for final_capture on PaymentIntentCaptureParams
    • Add support for metadata on PaymentLink.payment_intent_data, PaymentLink.subscription_data, PaymentLinkCreateParams.payment_intent_data, and PaymentLinkCreateParams.subscription_data
    • Add support for statement_descriptor_suffix and statement_descriptor on PaymentLink.payment_intent_data and PaymentLinkCreateParams.payment_intent_data
    • Add support for payment_intent_data and subscription_data on PaymentLinkUpdateParams

v23.7.0

  • #​1657 Update generated code
    • Add support for rendering on InvoiceCreateParams, InvoiceUpdateParams, and Invoice

v23.6.0

  • #​1654 Update generated code
    • Add support for terms_of_service_acceptance on Checkout.Session.custom_text, PaymentLink.custom_text, PaymentLinkCreateParams.custom_text, PaymentLinkUpdateParams.custom_text, and checkout.SessionCreateParams.custom_text
  • #​1655 CI: Drop testing for 9, 10, 12-16

v23.5.0

  • #​1647 Update generated code
    • Add support for new resource PaymentMethodConfiguration
    • Add support for create, list, retrieve, and update methods on resource PaymentMethodConfiguration
    • Add support for capture, create, expire, increment, and reverse test helper methods on resource Issuing.Authorization
    • Add support for create_force_capture, create_unlinked_refund, and refund test helper methods on resource Issuing.Transaction
    • Add support for payment_method_configuration on PaymentIntentCreateParams, PaymentIntentUpdateParams, SetupIntentCreateParams, SetupIntentUpdateParams, and checkout.SessionCreateParams
    • Add support for payment_method_configuration_details on Checkout.Session, PaymentIntent, and SetupIntent
    • Add support for nonce on EphemeralKeyCreateParams
    • Add support for cashback_amount on Issuing.Authorization.amount_details, Issuing.Authorization.pending_request.amount_details, Issuing.Authorization.request_history[].amount_details, and Issuing.Transaction.amount_details
    • Add support for serial_number on terminal.ReaderListParams
  • #​1650 Flow response getters into Event.data.object and models deserialized via ApiResource.GSON

v23.4.0

  • #​1643 Update generated code
    • Add support for new resource PaymentMethodDomain
    • Add support for create, list, retrieve, update, and validate methods on resource PaymentMethodDomain
    • Add support for new value n26 on enums PaymentIntentConfirmParams.payment_method_data.ideal.bank, PaymentIntentCreateParams.payment_method_data.ideal.bank, PaymentIntentUpdateParams.payment_method_data.ideal.bank, PaymentMethodCreateParams.ideal.bank, SetupIntentConfirmParams.payment_method_data.ideal.bank, SetupIntentCreateParams.payment_method_data.ideal.bank, and SetupIntentUpdateParams.payment_method_data.ideal.bank
    • Add support for features on ProductCreateParams, ProductUpdateParams, and Product
    • Remove support for value invoiceitem.updated from enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]
  • #​1646 Fix EphemeralKeyService.create

v23.3.0

  • #​1640 Update generated code
    • Add support for new resource AccountSession
    • Add support for create method on resource AccountSession
    • Add support for application on PaymentLink
    • Add support for new value obligation on enum reporting.ReportRunCreateParams.parameters.reporting_category

v23.2.0

  • #​1635 Update generated code
    • Add support for retention on BillingPortal.Session.flow.subscription_cancel and billingportal.SessionCreateParams.flow_data.subscription_cancel
    • Add support for prefetch on Checkout.Session.payment_method_options.us_bank_account.financial_connections, FinancialConnections.Session, Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections, InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections, InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections, PaymentIntent.payment_method_options.us_bank_account.financial_connections, PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections, PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections, PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections, SetupIntent.payment_method_options.us_bank_account.financial_connections, SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections, SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections, SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections, Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections, SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections, SubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections, checkout.SessionCreateParams.payment_method_options.us_bank_account.financial_connections, and financialconnections.SessionCreateParams
    • Add support for payment_method_details on Dispute
    • Change type of PaymentIntentCreateParams.mandate_data and SetupIntentCreateParams.mandate_data from secret_key_param to emptyStringable(secret_key_param)
    • Change type of PaymentIntentConfirmParams.mandate_data and SetupIntentConfirmParams.mandate_data from secret_key_param | client_key_param to emptyStringable(secret_key_param | client_key_param)
    • Add support for balance_transaction on CustomerCashBalanceTransaction.adjusted_for_overdraft

v23.1.1

  • #​1638 Set default API endpoints in StripeClient builder
  • #​1636 Update v23.0.0 Changelog

v23.1.0

  • #​1634 Update generated code
    • Add support for flat_amount on tax.TransactionCreateReversalParams

v23.0.0

"⚠️" symbol highlights breaking changes.

  • #​1632 Update generated code
    • ⚠️Remove support for values custom_account_update and custom_account_verification from enum AccountLinkCreateParams.type
      • These values are not fully operational. Please use account_update and account_onboarding instead (see API reference).
    • ⚠️Remove support for available_on on BalanceTransactionListParams
      • Use of this parameter is discouraged. You may use .putExtraParam if sending the parameter is still required.
    • ⚠️Remove support for alternate_statement_descriptors, destination, and dispute on Charge
      • Use of these fields is discouraged.
    • ⚠️Remove support for shipping_rates on checkout.SessionCreateParams
      • Please use shipping_options instead.
    • ⚠️Remove support for coupon and trial_from_plan on checkout.SessionCreateParams.subscription_data
    • ⚠️Remove support for value card_present from enums CustomerListPaymentMethodsParams.type and PaymentMethodListParams.type
      • This value was not fully operational.
    • ⚠️Remove support for blik on Mandate.payment_method_details, PaymentMethodUpdateParams, SetupAttempt.payment_method_details, SetupIntent.payment_method_options, SetupIntentConfirmParams.payment_method_options, SetupIntentCreateParams.payment_method_options, and SetupIntentUpdateParams.payment_method_options
      • These fields were mistakenly released.
    • ⚠️Remove support for acss_debit, affirm, au_becs_debit, bacs_debit, cashapp, sepa_debit, and zip on PaymentMethodUpdateParams
      • These fields are empty.
    • ⚠️Remove support for country on PaymentMethod.link
      • This field was not fully operational.
    • ⚠️Remove support for recurring on PriceUpdateParams
      • This property should be set on create only.
    • ⚠️Remove support for attributes, caption, and deactivate_on on ProductCreateParams, ProductUpdateParams, and Product
      • These fields are not fully operational.
    • Add support for new value 2023-08-16 on enum WebhookEndpointCreateParams.api_version
  • #​1622 - StripeClient
    • Introduces StripeClient and the service-based pattern, a new interface for calling the Stripe API with many benefits over the existing resource-based paradigm.
      • No global config: you can simultaneously use multiple clients with different configuration options (such as API keys)
      • No extra API calls. All API endpoints can be accessed with a single method call. You don't have to call retrieve before doing an update.
      • No static methods. Much easier mocking.
      • Visit the migration guide to learn more.
    • Removals
      • ⚠️ ApiResource.request(), requestStream(), requestCollection(), requestSearchResult() methods removed.
      • ⚠️ StripeResponseGetter.oauthRequest(...) was removed. OAuth requests are now performed via StripeResponseGetter.request with ApiMode.OAuth.
      • ⚠️ Deprecated ApiResource.className() singleClassUrl(), classUrl(), instanceUrl(), subresourceUrl() methods removed.
    • Type changes
      • ⚠️ StripeResponseGetter.request(...), streamRequest(...) signatures changed.
        • BaseAddress parameter added.
        • url renamed to path and is a relative to the base address
        • apiMode parameter added to control how request is sent and response is handled, V1 and OAuth are supported values.
        • ⚠️ RequestOptions.getReadTimeout(), getConnectTimeout(), getMaxNetworkRetries() now return Integer instead of int.
    • Renames
      • ⚠️ addFullNameAliase renamed to addFullNameAlias in AccountCreateParams, AccountUpdateParams, PersonCollectionCreateParams, TokenCreateParams, PersonCollectionCreateParams, PersonUpdateParams.
      • ⚠️ addLookupKeys renamed to addLookupKey in PriceListParams
    • Behavior Changes
      • ⚠️ RequestOptions.getDefault() does not apply global configuration options from Stripe class, all fields are initialized to null.
      • ⚠️ RequestOptionsBuilder does not apply global configuration options from Stripe class, all fields are initialized to null.

v22.31.0

  • #​1623 Update generated code
    • Add support for new values incorporated_partnership and unincorporated_partnership on enums AccountCreateParams.company.structure, AccountUpdateParams.company.structure, and TokenCreateParams.account.company.structure

See the changelog for more details.

v22.30.0

  • #​1620 Update generated code
    • Change many types from string to emptyStringable(string)
    • Add support for subscription_details on Invoice
    • Add support for preferred_settlement_speed on PaymentIntent.payment_method_options.us_bank_account, PaymentIntentConfirmParams.payment_method_options.us_bank_account, PaymentIntentCreateParams.payment_method_options.us_bank_account, and PaymentIntentUpdateParams.payment_method_options.us_bank_account
    • Add support for new values sepa_debit_fingerprint and us_bank_account_fingerprint on enum radar.ValueListCreateParams.item_type

v22.29.0

  • #​1614 Update generated code
    • Add support for monthly_estimated_revenue on Account.business_profile, AccountCreateParams.business_profile, and AccountUpdateParams.business_profile

v22.28.0

  • #​1611 Update generated code
    • Add support for new value ro_tin on enums CustomerCreateParams.tax_id_data[].type, InvoiceUpcomingLinesParams.customer_details.tax_ids[].type, InvoiceUpcomingParams.customer_details.tax_ids[].type, and tax.CalculationCreateParams.customer_details.tax_ids[].type
    • Add support for use_stripe_sdk on SetupIntentConfirmParams and SetupIntentCreateParams
    • Add support for new value service_tax on enums TaxRateCreateParams.tax_type and TaxRateUpdateParams.tax_type
  • #​1609 Update generated code
    • Add support for new value ro_tin on enums CustomerCreateParams.tax_id_data[].type, InvoiceUpcomingLinesParams.customer_details.tax_ids[].type, InvoiceUpcomingParams.customer_details.tax_ids[].type, and tax.CalculationCreateParams.customer_details.tax_ids[].type
    • Add support for use_stripe_sdk on SetupIntentConfirmParams and SetupIntentCreateParams
    • Add support for new value service_tax on enums TaxRateCreateParams.tax_type and TaxRateUpdateParams.tax_type
  • #​1610 Changelog: fix namespaced param names

v22.27.0

  • #​1606 Update generated code
    • Add support for new resource Tax.Settings
    • Add support for retrieve and update methods on resource Settings
    • Add support for order_id on Charge.payment_method_details.afterpay_clearpay
    • Add support for allow_redirects on PaymentIntent.automatic_payment_methods, PaymentIntentCreateParams.automatic_payment_methods, SetupIntent.automatic_payment_methods, and SetupIntentCreateParams.automatic_payment_methods
    • Add support for product on Tax.TransactionLineItem
    • Add support for new value tax.settings.updated on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]

v22.26.0

  • #​1601 Update generated code
    • Add support for numeric and text on PaymentLink.custom_fields[]
    • Add support for automatic_tax on SubscriptionListParams

v22.24.0

  • #​1591 Update generated code
    • Add support for on_behalf_of on Mandate

v22.23.1

  • #​1582 Bugfix: fix Customer.retrievePaymentMethod URL interpolation

v22.23.0

  • #​1577 Update generated code
    • Add support for taxability_reason on Tax.Calculation.tax_breakdown[]

v22.22.0

  • #​1569 Update generated code
    • Add support for numeric and text on checkout.SessionCreateParams.custom_fields[], PaymentLinkCreateParams.custom_fields[], and PaymentLinkUpdateParams.custom_fields[]
    • Add support for new values aba and swift on enums checkout.SessionCreateParams.payment_method_options.customer_balance.bank_transfer.requested_address_types[], PaymentIntentConfirmParams.payment_method_options.customer_balance.bank_transfer.requested_address_types[], PaymentIntentCreateParams.payment_method_options.customer_balance.bank_transfer.requested_address_types[], and PaymentIntentUpdateParams.payment_method_options.customer_balance.bank_transfer.requested_address_types[]
    • Add support for new value us_bank_transfer on enums checkout.SessionCreateParams.payment_method_options.customer_balance.bank_transfer.type, CustomerCreateFundingInstructionsParams.bank_transfer.type, PaymentIntentConfirmParams.payment_method_options.customer_balance.bank_transfer.type, PaymentIntentCreateParams.payment_method_options.customer_balance.bank_transfer.type, and PaymentIntentUpdateParams.payment_method_options.customer_balance.bank_transfer.type
    • Add support for maximum_length and minimum_length on Checkout.Session.custom_fields[].numeric and Checkout.Session.custom_fields[].text
    • Add support for preferred_locales on Issuing.Cardholder, issuing.CardholderCreateParams, and issuing.CardholderUpdateParams
    • Add support for description, iin, and issuer on PaymentMethod.card_present and PaymentMethod.interac_present
    • Add support for payer_email on PaymentMethod.paypal
  • #​1572 Move deserializeStripeObject to StripeObject

v22.21.0

  • #​1566 Update generated code
    • Add support for zip_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
    • Add support for zip on Charge.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, PaymentMethodCreateParams, PaymentMethodUpdateParams, PaymentMethod, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
    • Add support for new value zip on enums checkout.SessionCreateParams.payment_method_types[] and PaymentMethodCreateParams.type
    • Add support for new value zip on enums CustomerListPaymentMethodsParams.type and PaymentMethodListParams.type
    • Add support for new value zip on enums 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

v22.20.0

  • #​1563 Update generated code
    • Add support for subscription_update_confirm and subscription_update on BillingPortal.Session.flow and billingportal.SessionCreateParams.flow_data
    • Add support for new values subscription_update_confirm and subscription_update on enum billingportal.SessionCreateParams.flow_data.type
    • Add support for link on Charge.payment_method_details.card.wallet and PaymentMethod.card.wallet
    • Add support for buyer_id and cashtag on Charge.payment_method_details.cashapp and PaymentMethod.cashapp
    • Add support for new values amusement_tax and communications_tax on enums TaxRateCreateParams.tax_type and TaxRateUpdateParams.tax_type

v22.19.0

  • #​1559 Update generated code
    • Add support for paypal on Charge.payment_method_details, checkout.SessionCreateParams.payment_method_options, Mandate.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, PaymentMethodCreateParams, PaymentMethod, 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, and SetupIntentUpdateParams.payment_method_options
    • Add support for network_token on Charge.payment_method_details.card
    • Add support for new value paypal on enums checkout.SessionCreateParams.payment_method_types[] and PaymentMethodCreateParams.type
    • Add support for taxability_reason and taxable_amount on Checkout.Session.shipping_cost.taxes[], Checkout.Session.total_details.breakdown.taxes[], CreditNote.shipping_cost.taxes[], CreditNote.tax_amounts[], Invoice.shipping_cost.taxes[], Invoice.total_tax_amounts[], LineItem.taxes[], Quote.computed.recurring.total_details.breakdown.taxes[], Quote.computed.upfront.total_details.breakdown.taxes[], and Quote.total_details.breakdown.taxes[]
    • Add support for new value paypal on enums CustomerListPaymentMethodsParams.type and PaymentMethodListParams.type
    • Add support for new value paypal on enums InvoiceCreateParams.payment_settings.payment_method_types[], InvoiceUpdateParams.payment_settings.payment_method_types[], SubscriptionCreateParams.payment_settings.payment_method_types[], and SubscriptionUpdateParams.payment_settings.payment_method_types[]
    • Add support for new value paypal on enums 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 value eftpos_au on enums PaymentIntentConfirmParams.payment_method_options.card.network, PaymentIntentCreateParams.payment_method_options.card.network, PaymentIntentUpdateParams.payment_method_options.card.network, SetupIntentConfirmParams.payment_method_options.card.network, SetupIntentCreateParams.payment_method_options.card.network, SetupIntentUpdateParams.payment_method_options.card.network, SubscriptionCreateParams.payment_settings.payment_method_options.card.network, and SubscriptionUpdateParams.payment_settings.payment_method_options.card.network
    • Add support for new value paypal on enums PaymentLinkCreateParams.payment_method_types[] and PaymentLinkUpdateParams.payment_method_types[]
    • Add support for brand, cardholder_name, country, exp_month, exp_year, fingerprint, funding, last4, networks, and read_method on PaymentMethod.card_present and PaymentMethod.interac_present
    • Add support for preferred_locales on PaymentMethod.interac_present
    • Add support for effective_percentage on TaxRate
    • Add support for gb_bank_transfer and jp_bank_transfer on CustomerCashBalanceTransactions.funded.bank_transfer

v22.18.0

  • #​1555 Update generated code
    • Add support for link on Checkout.Session.payment_method_options and checkout.SessionCreateParams.payment_method_options
    • Add support for brand, country, description, exp_month, exp_year, fingerprint, funding, iin, issuer, last4, network, and wallet on SetupAttempt.payment_method_details.card

v22.17.0

  • #​1551 Update generated code
    • Add support for billing_cycle_anchor and proration_behavior on checkout.SessionCreateParams.subscription_data
    • Add support for terminal_id on Issuing.Authorization.merchant_data and Issuing.Transaction.merchant_data
    • Add support for metadata on PaymentIntentCaptureParams
    • Add support for checks on SetupAttempt.payment_method_details.card
    • Add support for tax_breakdown on Tax.Calculation.shipping_cost and Tax.Transaction.shipping_cost
  • #​1547 Update generated code
  • #​1544 Update generated code

v22.16.0

  • #​1540 Update generated code
    • Add support for country on PaymentMethod.link
    • Add support for status_details on PaymentMethod.us_bank_account

v22.15.0

  • #​1536 Update generated code
    • Remove support for create method on resource Tax.Transaction
      • This is not a breaking change, as this method was deprecated before the Tax Transactions API was released in favor of the createFromCalculation method.
    • Add support for export_license_id and export_purpose_code on Account.company, AccountCreateParams.company, AccountUpdateParams.company, and TokenCreateParams.account.company
    • Add support for amount_tip on terminal.ReaderPresentPaymentMethodParams
  • #​1538 Add missing file purpose terminal_reader_splashscreen

v22.14.0

  • #​1531 Update generated code
    • Add support for new resources Tax.CalculationLineItem, Tax.Calculation, Tax.TransactionLineItem, and Tax.Transaction
    • Add support for create and list_line_items methods on resource Calculation
    • Add support for create_from_calculation, create_reversal, create, list_line_items, and retrieve methods on resource Transaction
    • Add support for new value link on enum checkout.SessionCreateParams.payment_method_types[]
    • Add support for currency_conversion on Checkout.Session
    • Add support for new value link on enums PaymentLinkCreateParams.payment_method_types[] and PaymentLinkUpdateParams.payment_method_types[]
    • Add support for automatic_payment_methods on SetupIntentCreateParams and SetupIntent

v22.13.0

  • #​1529 API Updates

    • Add support for cashapp_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
    • Add support for future_requirements and requirements on BankAccount
    • Add support for cashapp as a new payment method type throughout the API.
    • Add support for country on Charge.payment_method_details.link
    • Add support for new value automatic_async on enums checkout.SessionCreateParams.payment_intent_data.capture_method, PaymentIntentConfirmParams.capture_method, PaymentIntentCreateParams.capture_method, PaymentIntentUpdateParams.capture_method, and PaymentLinkCreateParams.payment_intent_data.capture_method
    • Add support for preferred_locale on PaymentIntent.payment_method_options.affirm, PaymentIntentConfirmParams.payment_method_options.affirm, PaymentIntentCreateParams.payment_method_options.affirm, and PaymentIntentUpdateParams.payment_method_options.affirm
    • Add support for cashapp_handle_redirect_or_display_qr_code on PaymentIntent.next_action and SetupIntent.next_action
    • Add support for new value payout.reconciliation_completed on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]
  • #​1526 Update generated code (new)
    Release specs are identical.

v22.12.0

  • #​1523 API Updates
    • Add support for card_issuing on issuing.CardholderCreateParams.individual and issuing.CardholderUpdateParams.individual
    • Add support for cancellation_details on SubscriptionCancelParams, SubscriptionUpdateParams, and Subscription

v22.11.0

  • #​1520 API Updates
    • Add support for new values electric_vehicle_charging, emergency_services_gcas_visa_use_only, government_licensed_horse_dog_racing_us_region_only, government_licensed_online_casions_online_gambling_us_region_only, government_owned_lotteries_non_us_region, government_owned_lotteries_us_region_only, and marketplaces on enums issuing.CardCreateParams.spending_controls.allowed_categories[], issuing.CardCreateParams.spending_controls.blocked_categories[], issuing.CardCreateParams.spending_controls.spending_limits[].categories[], issuing.CardUpdateParams.spending_controls.allowed_categories[], issuing.CardUpdateParams.spending_controls.blocked_categories[], issuing.CardUpdateParams.spending_controls.spending_limits[].categories[], issuing.CardholderCreateParams.spending_controls.allowed_categories[], issuing.CardholderCreateParams.spending_controls.blocked_categories[], issuing.CardholderCreateParams.spending_controls.spending_limits[].categories[], issuing.CardholderUpdateParams.spending_controls.allowed_categories[], issuing.CardholderUpdateParams.spending_controls.blocked_categories[], and issuing.CardholderUpdateParams.spending_controls.spending_limits[].categories[]
    • Add support for reconciliation_status on Payout
    • Add support for new value lease_tax on enums TaxRateCreateParams.tax_type and TaxRateUpdateParams.tax_type

v22.10.0

  • #​1517 API Updates
    • Add support for new value yoursafe on enums PaymentIntentConfirmParams.payment_method_data.ideal.bank, PaymentIntentCreateParams.payment_method_data.ideal.bank, PaymentIntentUpdateParams.payment_method_data.ideal.bank, PaymentMethodCreateParams.ideal.bank, SetupIntentConfirmParams.payment_method_data.ideal.bank, SetupIntentCreateParams.payment_method_data.ideal.bank, and SetupIntentUpdateParams.payment_method_data.ideal.bank
    • Add support for new value igst on enums TaxRateCreateParams.tax_type and TaxRateUpdateParams.tax_type

v22.9.0

  • #​1514 API Updates
    • Add support for refund_payment method on resource Terminal.Reader
    • Add support for new value name on enums billingportal.ConfigurationCreateParams.features.customer_update.allowed_updates[] and billingportal.ConfigurationUpdateParams.features.customer_update.allowed_updates[]
    • Add support for custom_fields on Checkout.Session, checkout.SessionCreateParams, PaymentLinkCreateParams, PaymentLinkUpdateParams, and PaymentLink
    • Add support for interac_present on terminal.ReaderPresentPaymentMethodParams
    • Change type of terminal.ReaderPresentPaymentMethodParams.type from literal('card_present') to enum('card_present'|'interac_present')
    • Add support for refund_payment on Terminal.Reader.action

v22.8.0

  • #​1512 API Updates
    • Add support for resume method on resource Subscription
    • Add support for payment_link on checkout.SessionListParams
    • Add support for trial_settings on checkout.SessionCreateParams.subscription_data, SubscriptionCreateParams, SubscriptionUpdateParams, and Subscription
    • Add support for shipping_cost on CreditNoteCreateParams, CreditNotePreviewLinesParams, CreditNotePreviewParams, CreditNote, InvoiceCreateParams, InvoiceUpdateParams, and Invoice
    • Add support for amount_shipping on CreditNote and Invoice
    • Add support for shipping_details on InvoiceCreateParams, InvoiceUpdateParams, and Invoice
    • Add support for subscription_resume_at on InvoiceUpcomingLinesParams and InvoiceUpcomingParams
    • Change issuing.CardholderCreateParams.individual.first_name, issuing.CardholderCreateParams.individual.last_name, issuing.CardholderUpdateParams.individual.first_name, and issuing.CardholderUpdateParams.individual.last_name to be optional
    • Add support for invoice_creation on PaymentLinkCreateParams, PaymentLinkUpdateParams, and PaymentLink
    • Add support for new value America/Ciudad_Juarez on enum reporting.ReportRunCreateParams.parameters.timezone
    • Add support for new value paused on enum SubscriptionListParams.status
    • Add support for new values customer.subscription.paused and customer.subscription.resumed on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]

v22.7.0

  • #​1510 API Updates
    • Add support for new values cs-CZ, el-GR, en-CZ, and en-GR on enums PaymentIntentConfirmParams.payment_method_options.klarna.preferred_locale, PaymentIntentCreateParams.payment_method_options.klarna.preferred_locale, and PaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale

v22.6.0

  • #​1507 API Updates
    • Add support for verification_session on EphemeralKeyCreateParams
    • Add support for new values refund.created and refund.updated on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]

v22.5.1

v22.5.0

  • #​1502 API Updates
    • Add support for card_issuing on Issuing.Cardholder.individual
  • #​1501 Add fix for per-request ApiBase
  • #​1476 Solution For "Regarding ability to override stripe api url per API re…
  • #​1500 Deprecate ApiResource.classUrl, etc.
    • Mark ApiResource.className, ApiResource.singleClassUrl, ApiResource.classUrl, ApiResource.instanceUrl, and ApiResource.subresourceUrl as deprecated
  • #​1499 Fix publish command

v22.4.0

  • #​1497 API Updates
    • Add support for new value merchant_default on enums CashBalanceUpdateParams.settings.reconciliation_mode, CustomerCreateParams.cash_balance.settings.reconciliation_mode, and CustomerUpdateParams.cash_balance.settings.reconciliation_mode
    • Add support for using_merchant_default on CashBalance.settings
  • #​1496 Replace ReflectionCheckingTypeAdapterFactory with a ReflectionAccessFilter
  • #​1491 Don't delombok sources

v22.3.0

  • #​1487 API Updates
    • Change CustomerListPaymentMethodsParams.type and PaymentMethodListParams.type.
    • Added parameterless overload of Customer.listPaymentMethods.

v22.2.0

  • #​1484 API Updates
    • Add support for flow_data on billingportal.SessionCreateParams
    • Add support for flow on BillingPortal.Session
  • #​1483 API Updates
    • Add support for india_international_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
    • Add support for invoice_creation on Checkout.Session and checkout.SessionCreateParams
    • Add support for invoice on Checkout.Session
    • Add support for metadata on SubscriptionSchedule.phases[].items[], SubscriptionScheduleCreateParams.phases[].items[], and SubscriptionScheduleUpdateParams.phases[].items[]

v22.1.0

  • #​1480 API Updates
    • Add support for hosted_instructions_url on PaymentIntent.next_action.wechat_pay_display_qr_code
  • #​1479 API Updates
    • Add support for custom_text on Checkout.Session, checkout.SessionCreateParams, PaymentLinkCreateParams, PaymentLinkUpdateParams, and PaymentLink
    • Add support for hosted_instructions_url on PaymentIntent.next_action.paynow_display_qr_code

v22.0.0

Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-11-15.

"⚠️" symbol highlights breaking changes.

  • ⚠️ Inline several "shared" classes for consistency (#​1455)
  • ⚠️ Removed LineItem.Product property that was released by mistake. (#​1456)
  • ⚠️ Removed Charges property on PaymentIntent and replace it with LatestCharge (#​1473)
  • ⚠️ Removed deprecated Amount, Currency, Description, Images, Name properties from SessionCreateParams.LineItem (#​1473)
  • ⚠️ Remove support for tos_shown_and_accepted on checkout.SessionCreateParams.payment_method_options.paynow (#​1473)
  • ⚠️ Removed deprecated Sku resource (#​1459)
  • ⚠️ Removed deprecated EphemeralKey.associatedObjects field. (#​1470)
  • ⚠️ Removed RequestOptions.getStripeVersionOverride, RequestOptions.setStripeVersionOverride, and RequestOptions.clearStripeVersionOverride (#​1464)

Use of setStripeVersionOverride is discouraged and can lead to unexpected errors during service calls because Java SDK class shapes are not guaranteed to match API responses on arbitrary versions.

If you were using these methods in conjunction with EphemeralKey resource prefer the EphemeralKeyCreateParamsBuilder.setStripeVersion.

EphemeralKeyCreateParams params = EphemeralKeyCreateParams.builder()
  .setStripeVersion("XXXX-YY-ZZ")
  .build();

If you have a use case that requires per-request version overrides, please file an issue on stripe-java repository to ensure we are aware and can add first-class support for it. In the meantime you can use unsafeSetStripeVersionOverride method as a workaround.

RequestOptions.RequestOptionsBuilder builder = RequestOptions.builder();
builder.setApiKey(...)
            .setClientId(...);

RequestOptionsBuilder.unsafeSetStripeVersionOverride(builder, "2022-11-15");
  • #​1474 API Updates
    • ⚠️ Remove support for tos_shown_and_accepted on checkout.SessionCreateParams.payment_method_options.paynow. The property was mistakenly released and never worked.

v21.15.0

  • #​1472 API Updates
    • Add support for new values eg_tin, ph_tin, and tr_tin on enums CustomerCreateParams.tax_id_data[].type, InvoiceUpcomingLinesParams.customer_details.tax_ids[].type, InvoiceUpcomingParams.customer_details.tax_ids[].type, OrderCreateParams.tax_details.tax_ids[].type, OrderUpdateParams.tax_details.tax_ids[].type, and TaxIdCreateParams.type
    • Add support for reason_message on Issuing.Authorization.request_history[]

v21.14.0

  • #​1466 API Updates
    • Add support for on_behalf_of on checkout.SessionCreateParams.subscription_data, SubscriptionCreateParams, SubscriptionSchedule.default_settings, SubscriptionSchedule.phases[], SubscriptionScheduleCreateParams.default_settings, SubscriptionScheduleCreateParams.phases[], SubscriptionScheduleUpdateParams.default_settings, SubscriptionScheduleUpdateParams.phases[], SubscriptionUpdateParams, and Subscription
    • Add support for tax_behavior and tax_code on InvoiceItemCreateParams, InvoiceItemUpdateParams, InvoiceUpcomingLinesParams.invoice_items[], and InvoiceUpcomingParams.invoice_items[]

v21.13.0

  • #​1461 API Updates
    • Add support for new values jp_trn and ke_pin on enums CustomerCreateParams.tax_id_data[].type, InvoiceUpcomingLinesParams.customer_details.tax_ids[].type, InvoiceUpcomingParams.customer_details.tax_ids[].type, OrderCreateParams.tax_details.tax_ids[].type, OrderUpdateParams.tax_details.tax_ids[].type, and TaxIdCreateParams.type
    • Add support for tipping on Terminal.Reader.action.process_payment_intent.process_config and terminal.ReaderProcessPaymentIntentParams.process_config

v21.12.0

  • #​1457 Bugfix: Don't require global API Key when API Key is propagated from list request
  • #​1458 API Updates
    • Add support for request_log_url on StripeError
    • Add support for network_data on Issuing.Authorization

v21.11.0

  • #​1451 API Updates
    • Add support for new value bank_of_china on enums PaymentIntentConfirmParams.payment_method_data.fpx.bank, PaymentIntentCreateParams.payment_method_data.fpx.bank, PaymentIntentUpdateParams.payment_method_data.fpx.bank, PaymentMethodCreateParams.fpx.bank, SetupIntentConfirmParams.payment_method_data.fpx.bank, SetupIntentCreateParams.payment_method_data.fpx.bank, and SetupIntentUpdateParams.payment_method_data.fpx.bank
    • Add support for new values America/Nuuk, Europe/Kyiv, and Pacific/Kanton on enum reporting.ReportRunCreateParams.parameters.timezone
    • Add support for klarna on SetupAttempt.payment_method_details
  • #​1450 Set JDK to 17 LTS

v21.10.0

  • #​1448 API Updates
    • Add support for created on Checkout.Session
    • Add support for setup_future_usage on PaymentIntent.payment_method_options.pix, PaymentIntentConfirmParams.payment_method_options.pix, PaymentIntentCreateParams.payment_method_options.pix, and PaymentIntentUpdateParams.payment_method_options.pix
    • Deprecate SessionCreateParams.subscription_data.items (use the line_items param instead). This will be removed in the next major version.

v21.9.0

  • #​1445 API Updates
    • Add support for terms_of_service on Checkout.Session.consent_collection, Checkout.Session.consent, checkout.SessionCreateParams.consent_collection, PaymentLink.consent_collection, and PaymentLinkCreateParams.consent_collection
    • ⚠️ Remove support for plan on checkout.SessionCreateParams.payment_method_options.card.installments. The property was mistakenly released and never worked.
    • Add support for amount on issuing.DisputeCreateParams and issuing.DisputeUpdateParams
    • Add support for statement_descriptor on PaymentIntentIncrementAuthorizationParams
    • Add upcomingLines method to Invoice resource.

v21.8.0

  • #​1444 API Updates
    • Add support for pix on Charge.payment_method_details, Checkout.Session.payment_method_options, checkout.SessionCreateParams.payment_method_options, 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, PaymentMethodCreateParams, PaymentMethod, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
    • Add support for new value pix on enum checkout.SessionCreateParams.payment_method_types[]
    • Add support for new value pix on enums CustomerListPaymentMethodsParams.type and PaymentMethodListParams.type
    • Add support for from_invoice on InvoiceCreateParams and Invoice
    • Add support for latest_revision on Invoice
    • Add support for new value pix on enums 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 pix_display_qr_code on PaymentIntent.next_action
    • Add support for new value pix on enums PaymentLinkCreateParams.payment_method_types[] and PaymentLinkUpdateParams.payment_method_types[]
    • Add support for new value pix on enum PaymentMethodCreateParams.type
    • Add support for created on Treasury.CreditReversal and Treasury.DebitReversal

v21.7.0

  • #​1435 API Updates
    • Add support for require_signature on Issuing.Card.shipping and issuing.CardCreateParams.shipping

v21.6.0

  • #​1434 API Updates
    • Add support for new value terminal_reader_splashscreen on enum FileListParams.purpose
    • Fix LineItem.Discount.discount to reference the correct Discount class (com.stripe.model.Discount)

v21.5.0

  • #​1433 API Updates
    • Add support for new values de-CH, en-CH, en-PL, en-PT, fr-CH, it-CH, pl-PL, and pt-PT on enums OrderCreateParams.payment.settings.payment_method_options.klarna.preferred_locale, OrderUpdateParams.payment.settings.payment_method_options.klarna.preferred_locale, PaymentIntentConfirmParams.payment_method_options.klarna.preferred_locale, PaymentIntentCreateParams.payment_method_options.klarna.preferred_locale, and PaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale
    • Add support for description on PaymentLink.subscription_data and PaymentLinkCreateParams.subscription_data
  • #​1432 Update README badge
  • #​1431 Update coveralls to only run for one java version

v21.4.0

  • #​1430 API Updates
    • Add support for login_page on BillingPortal.Configuration, billingportal.ConfigurationCreateParams, and billingportal.ConfigurationUpdateParams
    • Add support for customs and phone_number on Issuing.Card.shipping and issuing.CardCreateParams.shipping
    • Add support for new value deutsche_bank_ag on enums PaymentIntentConfirmParams.payment_method_data.eps.bank, PaymentIntentCreateParams.payment_method_data.eps.bank, PaymentIntentUpdateParams.payment_method_data.eps.bank, PaymentMethodCreateParams.eps.bank, SetupIntentConfirmParams.payment_method_data.eps.bank, SetupIntentCreateParams.payment_method_data.eps.bank, and SetupIntentUpdateParams.payment_method_data.eps.bank
    • Add support for description on Quote.subscription_data, QuoteCreateParams.subscription_data, QuoteUpdateParams.subscription_data, SubscriptionSchedule.default_settings, SubscriptionSchedule.phases[], SubscriptionScheduleCreateParams.default_settings, SubscriptionScheduleCreateParams.phases[], SubscriptionScheduleUpdateParams.default_settings, and SubscriptionScheduleUpdateParams.phases[]
  • #​1428 Show test coverage in README
  • #​1427 Update README.md to clarify that API version can only be change in beta

v21.3.0

  • #​1422 API Updates
    • Add support for new resource CustomerCashBalanceTransaction
    • Remove support for value paypal from enums OrderCreateParams.payment.settings.payment_method_types[] and OrderUpdateParams.payment.settings.payment_method_types[]
    • Add support for currency on PaymentLink
    • Add support for network on SetupIntentConfirmParams.payment_method_options.card, SetupIntentCreateParams.payment_method_options.card, SetupIntentUpdateParams.payment_method_options.card, Subscription.payment_settings.payment_method_options.card, SubscriptionCreateParams.payment_settings.payment_method_options.card, and SubscriptionUpdateParams.payment_settings.payment_method_options.card
    • Change treasury.OutboundTransferCreateParams.destination_payment_method to be optional
    • Add support for new value customer_cash_balance_transaction.created on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]
    • Change the return type of Customer.fundCashBalance test helper from CustomerBalanceTransaction to CustomerCashBalanceTransaction.
      • This would generally be considered a breaking change, but we've worked with all existing users to migrate and are comfortable releasing this as a minor as it is solely a test helper method. This was essentially broken prior to this change.
  • #​1425 Add beta readme.md section
  • #​1423 chore: Remove unused variable from SearchPagingIteratorTest.
  • #​1421 Add a support section to the readme
  • #​1420 Fix outdated test comment
  • #​1418 Fix latest JAR hyperlink and related tests
  • #​1419 Fix makefile indentation and improve regex

v21.2.0

  • #​1416 API Updates

    • Add support for payment_method_collection on Checkout.Session, checkout.SessionCreateParams, PaymentLinkCreateParams, PaymentLinkUpdateParams, and PaymentLink
  • #​1414 Stop publishing javadoc for beta Java SDKs

v21.1.0

  • #​1413 API Updates
    • Add support for process_config on Terminal.Reader.action.process_payment_intent
  • #​1412 API Updates
    • Add support for expires_at on Apps.Secret and apps.SecretCreateParams

v21.0.0

This release includes breaking changes resulting from:

"⚠️" symbol highlights breaking changes.

Added
  • Add ApiKeyMissingException.
  • Add validate field to CustomerCreateParams.
  • Add validate field to CustomerUpdateParams.
  • Add validate field to PaymentSourceCollectionCreateParams.
  • Add shippingCost, shippingDetails, and shippingOptions properties to checkout.Session resource.
  • Add support for shipping_cost and shipping_details on Checkout.Session
  • Add support for new value 2022-08-01 on enum WebhookEndpointCreateParams.api_version
⚠️ Removed
  • Removed deprecated AlipayAccount and related classes.
  • Removed deprecated BitcoinReceiver and related classes.
  • Removed deprecated BitcoinTransaction and related classes.
  • Removed deprecated Recipient and related classes.
  • Removed deprecated IssuerFraudRecord and related classes.
  • Removed deprecated Order and related classes.
  • Removed deprecated ThreeDSecure and related classes.
  • Removed unused QuoteFinalizeParams, QuoteCollectionListParams classes.
  • Removed unused BillingDetails class.
  • Removed CashBalance.retrieveCashBalance method. Prefer CashBalance.retrieve.
  • Removed Rule.getDeleted method. The property was never populated and always had the default value of false.
  • Removed LineItem.getDeleted method. The property was never populated and always had the default value of false.
  • Removed public constructors from TestHelper inner classes and made them static.
  • Removed instance Account.refresh, Account.disconnect methods.
  • Removed deprecated TREASURY__RECEIVED_CREDIT__REVERSED, TREASURY__RECEIVED_DEBIT__CREATED, ORDER__UPDATED, ORDER_RETURN__CREATED, ORDER__PAYMENT_SUCCEEDED, TRANSFER__FAILED, TRANSFER__PAID webhook events.
  • Removed deprecated LoginLink.redirectUrl property.
  • Removed deprecated Charge.order property.
  • Removed deprecated Card.recipient property.
  • Removed defaultCurrency property from Customer resource. Please use Currency property instead.
  • Removed shipping and shippingOptions properties from checkout.Session resource. Please use shippingCost, shippingDetails, and shippingOptions properties instead.
  • Removed InitiatingPaymentMethodDetails class
⚠️ Changed
  • Default API version changed to "2022-07-28".
  • Changed CashBalance.retrieve method from an instance to a static.
  • Renamed PaymentIntent.FinancialAddresses class to FinancialAddress.
  • Check that apiKey is set (either globally or via request options) in StripeCollection.autoPagingIterable and StripeSearchResult.autoPagingIterable, and throw an exception if it is not.
  • Changed type of businessType field in AccountCreateParams from Object to BusinessType

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [ajv-formats](https://github.com/ajv-validator/ajv-formats) | [`2.1.1` -> `3.0.1`](https://renovatebot.com/diffs/npm/ajv-formats/2.1.1/3.0.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/ajv-formats/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/ajv-formats/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/ajv-formats/2.1.1/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/ajv-formats/2.1.1/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [com.stripe:stripe-java](https://github.com/stripe/stripe-java) | `20.136.0` -> `29.0.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/com.stripe:stripe-java/29.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.stripe:stripe-java/29.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.stripe:stripe-java/20.136.0/29.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.stripe:stripe-java/20.136.0/29.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>ajv-validator/ajv-formats (ajv-formats)</summary> ### [`v3.0.1`](https://github.com/ajv-validator/ajv-formats/compare/v3.0.0...v3.0.1) [Compare Source](https://github.com/ajv-validator/ajv-formats/compare/v3.0.0...v3.0.1) ### [`v3.0.0`](https://github.com/ajv-validator/ajv-formats/compare/v2.1.1...v3.0.0) [Compare Source](https://github.com/ajv-validator/ajv-formats/compare/v2.1.1...v3.0.0) </details> <details> <summary>stripe/stripe-java (com.stripe:stripe-java)</summary> ### [`v29.0.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2900---2025-04-01) - [#&#8203;1950](https://github.com/stripe/stripe-java/pull/1950) Support for APIs in the new API version 2025-03-31.basil This release changes the pinned API version to `2025-03-31.basil`. ##### ⚠️ Breaking changes due to changes in the Stripe API Please review details for the breaking changes and alternatives in the [Stripe API changelog](https://docs.stripe.com/changelog/basil) before upgrading. - Remove support for resources `SubscriptionItemUsageRecordSummary` and `SubscriptionItemUsageRecord` - Remove support for `create` method on resource `SubscriptionItemUsageRecord` - Remove support for `list` method on resource `SubscriptionItemUsageRecordSummary` - Remove support for `upcomingLines` and `upcoming` methods on resource `Invoice` - Remove support for `invoice` on `Charge` and `PaymentIntent` - Remove support for `shippingDetails` on `Checkout.Session` - Remove support for `carrier`, `phone`, and `trackingNumber` on `Checkout.Session.collected_information.shipping_details` - Remove support for `refund` on `CreditNoteCreateParams`, `CreditNotePreviewLinesListParams`, `CreditNotePreviewParams`, and `CreditNote` - Remove support for `taxAmounts` on `CreditNoteLineItem`, `CreditNote`, and `InvoiceLineItem` - Remove support for `amountExcludingTax` and `unitAmountExcludingTax` on `CreditNoteLineItem` and `InvoiceLineItem` - Remove support for `coupon` on `CustomerCreateParams`, `CustomerUpdateParams`, `InvoiceCreatePreviewParams.schedule_details.phases[]`, `InvoiceCreatePreviewParams`, `SubscriptionCreateParams`, `SubscriptionSchedule.phases[]`, `SubscriptionScheduleCreateParams.phases[]`, `SubscriptionScheduleUpdateParams.phases[]`, and `SubscriptionUpdateParams` - Remove support for `promotionCode` on `CustomerCreateParams`, `CustomerUpdateParams`, `SubscriptionCreateParams`, and `SubscriptionUpdateParams` - Remove support for `price` on `InvoiceAddLinesParams.lines[]`, `InvoiceItemCreateParams`, `InvoiceItemUpdateParams`, `InvoiceItem`, `InvoiceLineItemUpdateParams`, `InvoiceLineItem`, and `InvoiceUpdateLinesParams.lines[]` - Remove support for `billingThresholds` on `InvoiceCreatePreviewParams.schedule_details.phases[].items[]`, `InvoiceCreatePreviewParams.schedule_details.phases[]`, `InvoiceCreatePreviewParams.subscription_details.items[]`, `SubscriptionCreateParams.items[]`, `SubscriptionCreateParams`, `SubscriptionItemCreateParams`, `SubscriptionItemUpdateParams`, `SubscriptionItem`, `SubscriptionSchedule.default_settings`, `SubscriptionSchedule.phases[].items[]`, `SubscriptionSchedule.phases[]`, `SubscriptionScheduleCreateParams.default_settings`, `SubscriptionScheduleCreateParams.phases[].items[]`, `SubscriptionScheduleCreateParams.phases[]`, `SubscriptionScheduleUpdateParams.default_settings`, `SubscriptionScheduleUpdateParams.phases[].items[]`, `SubscriptionScheduleUpdateParams.phases[]`, `SubscriptionUpdateParams.items[]`, `SubscriptionUpdateParams`, and `Subscription` - Remove support for `applicationFeeAmount`, `charge`, `paidOutOfBand`, `paid`, `paymentIntent`, `quote`, `subscription`, `subscriptionDetails`, `subscriptionProrationDate`, `tax`, `totalTaxAmounts`, and `transferData` on `Invoice` - Remove support for `discount` on `Invoice` and `Subscription` - Remove support for `invoiceItem`, `prorationDetails`, `proration`, `taxRates`, and `type` on `InvoiceLineItem` - Remove support for `plan` and `subscriptionItem` on `InvoiceItem` and `InvoiceLineItem` - Remove support for `unitAmount` on `InvoiceItemCreateParams`, `InvoiceItemUpdateParams`, and `InvoiceItem` - Remove support for `subscription` and `unitAmountDecimal` on `InvoiceItem` - Remove support for `naverPay` on `PaymentMethodUpdateParams` - Remove support for `aggregateUsage` on `PlanCreateParams`, `Plan`, `Price.recurring`, and `PriceCreateParams.recurring` - Remove support for `currentPeriodEnd` and `currentPeriodStart` on `Subscription` - Remove support for page on `V2.EventDestinationListParams` and `V2.EventListParams` ##### Changes to the Stripe API - Change `PaymentIntentConfirmParams.payment_method_options.wechat_pay.client`, `PaymentIntentCreateParams.payment_method_options.wechat_pay.client`, and `PaymentIntentUpdateParams.payment_method_options.wechat_pay.client` to be optional - Change `politicalExposure` on `AccountPersonUpdateParams`, `AccountPersonCreateParams` from `string` to `PoliticalExposure` enum. ##### Additions to the Stripe API - Add support for new resource `InvoicePayment` - Add support for `list` and `retrieve` methods on resource `InvoicePayment` - Add support for `billiePayments`, `nzBankAccountBecsDebitPayments`, and `satispayPayments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities` - Add support for `hostedPaymentMethodSave` on `Account.settings.invoices` and `AccountUpdateParams.settings.invoices` - Add support for `invoices` on `AccountCreateParams.settings` - Add support for new value `last` on enum `billing.MeterCreateParams.default_aggregation.formula` - Add support for `presentmentDetails` on `Charge`, `Checkout.Session`, `PaymentIntent`, and `Refund` - Add support for `billie` and `satispay` on `Charge.payment_method_details`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.payment_method_data`, `CustomerPaymentMethod`, `PaymentIntentConfirmParams.payment_method_data`, `PaymentIntentCreateParams.payment_method_data`, `PaymentIntentUpdateParams.payment_method_data`, `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, `PaymentMethodConfiguration`, `PaymentMethodCreateParams`, `PaymentMethod`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data` - Add support for `nzBankAccount` on `Charge.payment_method_details`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.payment_method_data`, `CustomerPaymentMethod`, `Mandate.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`, `SetupAttempt.payment_method_details`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data` - Add support for `optionalItems` on `Checkout.Session`, `PaymentLinkCreateParams`, `PaymentLink`, and `checkout.SessionCreateParams` - Add support for `permissions` on `Checkout.Session` and `checkout.SessionCreateParams` - Add support for new values `billie` and `satispay` on enum `checkout.SessionCreateParams.paymentMethodTypes` - Add support for new value `custom` on enum `checkout.SessionCreateParams.uiMode` - Add support for `shippingOptions` on `checkout.SessionUpdateParams` - Add support for new values `billie`, `nz_bank_account`, and `satispay` 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 `buyerId` on `ConfirmationToken.payment_method_preview.naver_pay`, `CustomerPaymentMethod.naver_pay`, and `PaymentMethod.naver_pay` - Add support for `refunds` on `CreditNoteCreateParams`, `CreditNotePreviewLinesListParams`, `CreditNotePreviewParams`, and `CreditNote` - Add support for `totalTaxes` on `CreditNote` and `Invoice` - Add support for `taxes` on `CreditNoteLineItem` and `InvoiceLineItem` - Add support for `taxabilityReason` on `InvoiceAddLinesParams.lines[].tax_amounts[]`, `InvoiceLineItemUpdateParams.tax_amounts[]`, and `InvoiceUpdateLinesParams.lines[].tax_amounts[]` - Add support for `jurisdictionLevel` on `InvoiceAddLinesParams.lines[].tax_amounts[].tax_rate_data`, `InvoiceLineItemUpdateParams.tax_amounts[].tax_rate_data`, and `InvoiceUpdateLinesParams.lines[].tax_amounts[].tax_rate_data` - Add support for `amountOverpaid`, `confirmationSecret`, and `payments` on `Invoice` - Add support for `parent` on `InvoiceItem`, `InvoiceLineItem`, and `Invoice` - Add support for new values `klarna` and `nz_bank_account` on enums `InvoiceCreateParams.payment_settings.paymentMethodTypes`, `InvoiceUpdateParams.payment_settings.paymentMethodTypes`, `SubscriptionCreateParams.payment_settings.paymentMethodTypes`, and `SubscriptionUpdateParams.payment_settings.paymentMethodTypes` - Add support for `pricing` on `InvoiceAddLinesParams.lines[]`, `InvoiceItemCreateParams`, `InvoiceItemUpdateParams`, `InvoiceItem`, `InvoiceLineItemUpdateParams`, `InvoiceLineItem`, and `InvoiceUpdateLinesParams.lines[]` - Add support for `taxabilityReason` on `InvoiceAddLinesParams.lines[].tax_amounts[]`, `InvoiceLineItemUpdateParams.tax_amounts[]`, and `InvoiceUpdateLinesParams.lines[].tax_amounts[]` - Add support for `defaultValue` on `PaymentLink.custom_fields[].dropdown`, `PaymentLink.custom_fields[].numeric`, `PaymentLink.custom_fields[].text`, `PaymentLinkCreateParams.custom_fields[].dropdown`, `PaymentLinkCreateParams.custom_fields[].numeric`, `PaymentLinkCreateParams.custom_fields[].text`, `PaymentLinkUpdateParams.custom_fields[].dropdown`, `PaymentLinkUpdateParams.custom_fields[].numeric`, and `PaymentLinkUpdateParams.custom_fields[].text` - Add support for new values `billie` and `satispay` on enums `PaymentLinkCreateParams.paymentMethodTypes` and `PaymentLinkUpdateParams.paymentMethodTypes` - Add support for `nzBankTransfer` on `Refund.destination_details` - Add support for `currentPeriodEnd` and `currentPeriodStart` on `SubscriptionItem` - Add support for `wifi` on `Terminal.Configuration`, `terminal.ConfigurationCreateParams`, and `terminal.ConfigurationUpdateParams` - Add support for new value `invoice.overpaid` on enums `WebhookEndpointCreateParams.enabledEvents` and `WebhookEndpointUpdateParams.enabledEvents` - Add support for new values `2025-03-01.dashboard` and `2025-03-31.basil` on enum `WebhookEndpointCreateParams.apiVersion` - [#&#8203;1958](https://github.com/stripe/stripe-java/pull/1958) Support for StripeAccount in StripeClient, and StripeContext on V1 - ⚠️ Adds `getStripeAccount` to `StripeResponseGetterOptions`. If you have a class that extends `StripeResponseGetterOptions` you will need to implement this method. - Adds `setStripeAccount` to StripeClientBuilder, so you can specify the Stripe-Account header at the client (instead of the individual request) level. - [#&#8203;1955](https://github.com/stripe/stripe-java/pull/1955) Add [@&#8203;EqualsAndHashCode](https://github.com/EqualsAndHashCode) annotations - Adds `@EqualsAndHashCode(callSuper = false)` to all Params objects which is useful for unit test assertions and caching scenarios. ### [`v28.4.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2840---2025-02-24) - [#&#8203;1943](https://github.com/stripe/stripe-java/pull/1943) Update generated code - Add support for `prices` on `Billing.CreditGrant.applicability_config.scope`, `billing.CreditBalanceSummaryRetrieveParams.filter.applicability_scope`, and `billing.CreditGrantCreateParams.applicability_config.scope` - Change `billing.CreditBalanceSummaryRetrieveParams.filter.applicability_scope.price_type` and `billing.CreditGrantCreateParams.applicability_config.scope.price_type` to be optional - Add support for `priority` on `Billing.CreditGrant` and `billing.CreditGrantCreateParams` - Add support for `target_date` on `Checkout.Session.payment_method_options.acss_debit`, `Checkout.Session.payment_method_options.au_becs_debit`, `Checkout.Session.payment_method_options.bacs_debit`, `Checkout.Session.payment_method_options.sepa_debit`, `Checkout.Session.payment_method_options.us_bank_account`, `PaymentIntent.payment_method_options.acss_debit`, `PaymentIntent.payment_method_options.au_becs_debit`, `PaymentIntent.payment_method_options.bacs_debit`, `PaymentIntent.payment_method_options.sepa_debit`, `PaymentIntent.payment_method_options.us_bank_account`, `PaymentIntentConfirmParams.payment_method_options.acss_debit`, `PaymentIntentConfirmParams.payment_method_options.au_becs_debit`, `PaymentIntentConfirmParams.payment_method_options.bacs_debit`, `PaymentIntentConfirmParams.payment_method_options.sepa_debit`, `PaymentIntentConfirmParams.payment_method_options.us_bank_account`, `PaymentIntentCreateParams.payment_method_options.acss_debit`, `PaymentIntentCreateParams.payment_method_options.au_becs_debit`, `PaymentIntentCreateParams.payment_method_options.bacs_debit`, `PaymentIntentCreateParams.payment_method_options.sepa_debit`, `PaymentIntentCreateParams.payment_method_options.us_bank_account`, `PaymentIntentUpdateParams.payment_method_options.acss_debit`, `PaymentIntentUpdateParams.payment_method_options.au_becs_debit`, `PaymentIntentUpdateParams.payment_method_options.bacs_debit`, `PaymentIntentUpdateParams.payment_method_options.sepa_debit`, `PaymentIntentUpdateParams.payment_method_options.us_bank_account`, `checkout.SessionCreateParams.payment_method_options.acss_debit`, `checkout.SessionCreateParams.payment_method_options.au_becs_debit`, `checkout.SessionCreateParams.payment_method_options.bacs_debit`, `checkout.SessionCreateParams.payment_method_options.sepa_debit`, and `checkout.SessionCreateParams.payment_method_options.us_bank_account` - Add support for `restrictions` on `Checkout.Session.payment_method_options.card` and `checkout.SessionCreateParams.payment_method_options.card` - Add support for `collected_information` on `Checkout.Session` and `checkout.SessionUpdateParams` - Add support for `metadata` on `ProductCreateParams.default_price_data` - Change type of `TokenCreateParams.person.political_exposure` from `string` to `enum('existing'|'none')` - Add support for new value `2025-02-24.acacia` on enum `WebhookEndpointCreateParams.api_version` - [#&#8203;1948](https://github.com/stripe/stripe-java/pull/1948) add codeowners file ### [`v28.3.1`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2831---2025-02-07) - [#&#8203;1946](https://github.com/stripe/stripe-java/pull/1946) Ensure `getRawJsonObject` returns data for constructed webhooks ### [`v28.3.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2830---2025-01-27) - [#&#8203;1936](https://github.com/stripe/stripe-java/pull/1936) Update generated code - Add support for `close` method on resource `Treasury.FinancialAccount` - Add support for `pay_by_bank_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities` - Add support for `directorship_declaration` and `ownership_exemption_reason` on `Account.company`, `AccountCreateParams.company`, `AccountUpdateParams.company`, and `TokenCreateParams.account.company` - Add support for `proof_of_ultimate_beneficial_ownership` on `AccountCreateParams.documents` and `AccountUpdateParams.documents` - Add support for `financial_account` on `AccountSession.components`, `AccountSessionCreateParams.components`, and `Treasury.OutboundTransfer.destination_payment_method_details` - Add support for `financial_account_transactions`, `issuing_card`, and `issuing_cards_list` on `AccountSession.components` and `AccountSessionCreateParams.components` - Add support for `advice_code` on `Charge.outcome`, `Invoice.last_finalization_error`, `PaymentIntent.last_payment_error`, `SetupAttempt.setup_error`, `SetupIntent.last_setup_error`, and `StripeError` - Add support for `pay_by_bank` on `Charge.payment_method_details`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.payment_method_data`, `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`, `PaymentMethodUpdateParams`, `PaymentMethod`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, `SetupIntentUpdateParams.payment_method_data`, and `checkout.SessionCreateParams.payment_method_options` - Add support for `country` on `Charge.payment_method_details.paypal`, `ConfirmationToken.payment_method_preview.paypal`, and `PaymentMethod.paypal` - Add support for new value `pay_by_bank` on enums `CustomerListPaymentMethodsParams.type`, `PaymentMethodCreateParams.type`, `PaymentMethodListParams.type`, and `checkout.SessionCreateParams.payment_method_types[]` - Add support for new value `SD` on enums `PaymentLinkCreateParams.shipping_address_collection.allowed_countries[]`, `PaymentLinkUpdateParams.shipping_address_collection.allowed_countries[]`, and `checkout.SessionCreateParams.shipping_address_collection.allowed_countries[]` - Add support for `discounts` on `Checkout.Session` - Add support for new value `pay_by_bank` 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 value `pay_by_bank` on enums `PaymentLinkCreateParams.payment_method_types[]` and `PaymentLinkUpdateParams.payment_method_types[]` - Add support for `phone_number_collection` on `PaymentLinkUpdateParams` - Add support for `jpy` on `Terminal.Configuration.tipping`, `terminal.ConfigurationCreateParams.tipping`, and `terminal.ConfigurationUpdateParams.tipping` - Add support for `nickname` on `Treasury.FinancialAccount`, `treasury.FinancialAccountCreateParams`, and `treasury.FinancialAccountUpdateParams` - Add support for `forwarding_settings` on `treasury.FinancialAccountUpdateParams` - Add support for `is_default` on `Treasury.FinancialAccount` - Add support for `destination_payment_method_data` on `treasury.OutboundTransferCreateParams` - Change type of `Treasury.OutboundTransfer.destination_payment_method_details.type` from `literal('us_bank_account')` to `enum('financial_account'|'us_bank_account')` - Add support for new value `outbound_transfer` on enum `treasury.ReceivedCreditListParams.linked_flows.source_flow_type` - Add support for `outbound_transfer` on `Treasury.ReceivedCredit.linked_flows.source_flow_details` - Add support for new value `2025-01-27.acacia` on enum `WebhookEndpointCreateParams.api_version` - [#&#8203;1941](https://github.com/stripe/stripe-java/pull/1941) Updated upload artifact ci action - [#&#8203;1938](https://github.com/stripe/stripe-java/pull/1938) update justfile import & pin CI ubuntu - [#&#8203;1937](https://github.com/stripe/stripe-java/pull/1937) Added CONTRIBUTING.md file - [#&#8203;1934](https://github.com/stripe/stripe-java/pull/1934) add justfile tweak readme, remove coveralls - [#&#8203;1933](https://github.com/stripe/stripe-java/pull/1933) Added pull request template ### [`v28.2.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2820---2024-12-18) - [#&#8203;1931](https://github.com/stripe/stripe-java/pull/1931) This release changes the pinned API version to `2024-12-18.acacia`. - Add support for `network_advice_code` and `network_decline_code` on `Charge.outcome`, `Invoice.last_finalization_error`, `PaymentIntent.last_payment_error`, `SetupAttempt.setup_error`, `SetupIntent.last_setup_error`, and `StripeError` - Add support for `credits_application_invoice_voided` on `Billing.CreditBalanceTransaction.credit` - Change type of `Billing.CreditBalanceTransaction.credit.type` from `literal('credits_granted')` to `enum('credits_application_invoice_voided'|'credits_granted')` - Add support for `allow_redisplay` on `Card` and `Source` - Add support for `regulated_status` on `Card`, `Charge.payment_method_details.card`, `ConfirmationToken.payment_method_preview.card`, and `PaymentMethod.card` - Add support for `funding` on `Charge.payment_method_details.amazon_pay` and `Charge.payment_method_details.revolut_pay` - Add support for `network_transaction_id` on `Charge.payment_method_details.card` - Add support for `reference_prefix` on `Checkout.Session.payment_method_options.bacs_debit.mandate_options`, `Checkout.Session.payment_method_options.sepa_debit.mandate_options`, `PaymentIntent.payment_method_options.bacs_debit.mandate_options`, `PaymentIntent.payment_method_options.sepa_debit.mandate_options`, `PaymentIntentConfirmParams.payment_method_options.bacs_debit.mandate_options`, `PaymentIntentConfirmParams.payment_method_options.sepa_debit.mandate_options`, `PaymentIntentCreateParams.payment_method_options.bacs_debit.mandate_options`, `PaymentIntentCreateParams.payment_method_options.sepa_debit.mandate_options`, `PaymentIntentUpdateParams.payment_method_options.bacs_debit.mandate_options`, `PaymentIntentUpdateParams.payment_method_options.sepa_debit.mandate_options`, `SetupIntent.payment_method_options.bacs_debit.mandate_options`, `SetupIntent.payment_method_options.sepa_debit.mandate_options`, `SetupIntentConfirmParams.payment_method_options.bacs_debit.mandate_options`, `SetupIntentConfirmParams.payment_method_options.sepa_debit.mandate_options`, `SetupIntentCreateParams.payment_method_options.bacs_debit.mandate_options`, `SetupIntentCreateParams.payment_method_options.sepa_debit.mandate_options`, `SetupIntentUpdateParams.payment_method_options.bacs_debit.mandate_options`, `SetupIntentUpdateParams.payment_method_options.sepa_debit.mandate_options`, `checkout.SessionCreateParams.payment_method_options.bacs_debit.mandate_options`, and `checkout.SessionCreateParams.payment_method_options.sepa_debit.mandate_options` - Add support for new values `al_tin`, `am_tin`, `ao_tin`, `ba_tin`, `bb_tin`, `bs_tin`, `cd_nif`, `gn_nif`, `kh_tin`, `me_pib`, `mk_vat`, `mr_nif`, `np_pan`, `sn_ninea`, `sr_fin`, `tj_tin`, `ug_tin`, `zm_tin`, and `zw_tin` on enums `CustomerCreateParams.tax_id_data[].type`, `InvoiceCreatePreviewParams.customer_details.tax_ids[].type`, `InvoiceUpcomingLinesParams.customer_details.tax_ids[].type`, `InvoiceUpcomingParams.customer_details.tax_ids[].type`, `TaxIdCreateParams.type`, and `tax.CalculationCreateParams.customer_details.tax_ids[].type` - Add support for `visa_compliance` on `Dispute.evidence.enhanced_evidence`, `Dispute.evidence_details.enhanced_eligibility`, and `DisputeUpdateParams.evidence.enhanced_evidence` - Add support for new value `request_signature` on enum `forwarding.RequestCreateParams.replacements[]` - Add support for `account_holder_address` and `bank_address` on `FundingInstructions.bank_transfer.financial_addresses[].iban`, `FundingInstructions.bank_transfer.financial_addresses[].sort_code`, `FundingInstructions.bank_transfer.financial_addresses[].spei`, `FundingInstructions.bank_transfer.financial_addresses[].zengin`, `PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].iban`, `PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].sort_code`, `PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].spei`, and `PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].zengin` - Add support for `account_holder_name` on `FundingInstructions.bank_transfer.financial_addresses[].spei` and `PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].spei` - Add support for `disabled_reason` on `Invoice.automatic_tax`, `Subscription.automatic_tax`, `SubscriptionSchedule.default_settings.automatic_tax`, and `SubscriptionSchedule.phases[].automatic_tax` - Add support for `tax_id` on `Issuing.Authorization.merchant_data` and `Issuing.Transaction.merchant_data` - Add support for `trial_period_days` on `PaymentLinkUpdateParams.subscription_data` - Add support for `al`, `am`, `ao`, `ba`, `bb`, `bs`, `cd`, `gn`, `kh`, `me`, `mk`, `mr`, `np`, `pe`, `sn`, `sr`, `tj`, `ug`, `uy`, `zm`, and `zw` on `Tax.Registration.country_options` and `tax.RegistrationCreateParams.country_options` - Add support for new value `2024-12-18.acacia` on enum `WebhookEndpointCreateParams.api_version` ### [`v28.1.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2810---2024-11-20) - [#&#8203;1923](https://github.com/stripe/stripe-java/pull/1923) This release changes the pinned API version to `2024-11-20.acacia`. - Add support for `respond` test helper method on resource `Issuing.Authorization` - Add support for `authorizer` on `AccountPersonsParams.relationship` and `TokenCreateParams.person.relationship` - Add support for `adaptive_pricing` on `Checkout.Session` and `checkout.SessionCreateParams` - Add support for `mandate_options` on `Checkout.Session.payment_method_options.bacs_debit`, `Checkout.Session.payment_method_options.sepa_debit`, `checkout.SessionCreateParams.payment_method_options.bacs_debit`, and `checkout.SessionCreateParams.payment_method_options.sepa_debit` - Add support for `request_extended_authorization`, `request_incremental_authorization`, `request_multicapture`, and `request_overcapture` on `Checkout.Session.payment_method_options.card` and `checkout.SessionCreateParams.payment_method_options.card` - Add support for `capture_method` on `checkout.SessionCreateParams.payment_method_options.kakao_pay`, `checkout.SessionCreateParams.payment_method_options.kr_card`, `checkout.SessionCreateParams.payment_method_options.naver_pay`, `checkout.SessionCreateParams.payment_method_options.payco`, and `checkout.SessionCreateParams.payment_method_options.samsung_pay` - Add support for new value `subscribe` on enums `PaymentLinkCreateParams.submit_type` and `checkout.SessionCreateParams.submit_type` - Add support for new value `li_vat` on enums `CustomerCreateParams.tax_id_data[].type`, `InvoiceCreatePreviewParams.customer_details.tax_ids[].type`, `InvoiceUpcomingLinesParams.customer_details.tax_ids[].type`, `InvoiceUpcomingParams.customer_details.tax_ids[].type`, `TaxIdCreateParams.type`, and `tax.CalculationCreateParams.customer_details.tax_ids[].type` - Add support for new value `financial_account_statement` on enum `FileListParams.purpose` - Add support for `account_holder_address`, `account_holder_name`, `account_type`, and `bank_address` on `FundingInstructions.bank_transfer.financial_addresses[].aba`, `FundingInstructions.bank_transfer.financial_addresses[].swift`, `PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].aba`, and `PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].swift` - Add support for new value `service_tax` on enums `InvoiceAddLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type`, `InvoiceUpdateLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type`, `TaxRateCreateParams.tax_type`, and `TaxRateUpdateParams.tax_type` - Add support for `merchant_amount` and `merchant_currency` on `issuing.AuthorizationCreateParams` - Change `issuing.AuthorizationCreateParams.amount` to be optional - Add support for `fraud_challenges` and `verified_by_fraud_challenge` on `Issuing.Authorization` - Add support for new value `link` on enums `PaymentIntentConfirmParams.payment_method_options.card.network`, `PaymentIntentCreateParams.payment_method_options.card.network`, `PaymentIntentUpdateParams.payment_method_options.card.network`, `SetupIntentConfirmParams.payment_method_options.card.network`, `SetupIntentCreateParams.payment_method_options.card.network`, `SetupIntentUpdateParams.payment_method_options.card.network`, `SubscriptionCreateParams.payment_settings.payment_method_options.card.network`, and `SubscriptionUpdateParams.payment_settings.payment_method_options.card.network` - Add support for `submit_type` on `PaymentLinkUpdateParams` - Add support for `trace_id` on `Payout` - Add support for `network_decline_code` on `Refund.destination_details.blik` and `Refund.destination_details.swish` - Add support for new value `2024-11-20.acacia` on enum `WebhookEndpointCreateParams.api_version` ### [`v28.0.1`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2801---2024-11-06) - [#&#8203;1919](https://github.com/stripe/stripe-java/pull/1919) Catch `JsonSyntaxException` when processing all errors ### [`v28.0.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2800---2024-10-29) Historically, when upgrading webhooks to a new API version, you also had to upgrade your SDK version. Your webhook's API version needed to match the API version pinned by the SDK you were using to ensure successful deserialization of events. With the `2024-09-30.acacia` release, Stripe follows a [new API release process](https://stripe.com/blog/introducing-stripes-new-api-release-process). As a result, you can safely upgrade your webhook endpoints to any API version within a biannual release (like `acacia`) without upgrading the SDK. However, [a bug](https://github.com/stripe/stripe-java/pull/1906) in the `27.x.y` SDK releases meant that webhook version upgrades from the SDK's pinned `2024-09-30.acacia` version to the new `2024-10-28.acacia` version would fail. Therefore, we are shipping SDK support for `2024-10-28.acacia` as a major version to enforce the idea that an SDK upgrade is also required. Future API versions in the `acacia` line will be released as minor versions. - [#&#8203;1896](https://github.com/stripe/stripe-java/pull/1896) This release changes the pinned API version to `2024-10-28.acacia`. - Add support for new resource `V2.EventDestinations` - Add support for `create`, `retrieve`, `update`, `list`, `delete`, `disable`, `enable` and `ping` methods on resource `V2.EventDestinations` - Add support for `submit_card` test helper method on resource `Issuing.Card` - Add support for `groups` on `AccountCreateParams`, `AccountUpdateParams`, and `Account` - Add support for `alma_payments`, `kakao_pay_payments`, `kr_card_payments`, `naver_pay_payments`, `payco_payments`, and `samsung_pay_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities` - Add support for `disable_stripe_user_authentication` on `AccountSession.components.account_management.features`, `AccountSession.components.account_onboarding.features`, `AccountSession.components.balances.features`, `AccountSession.components.notification_banner.features`, `AccountSession.components.payouts.features`, `AccountSessionCreateParams.components.account_management.features`, `AccountSessionCreateParams.components.account_onboarding.features`, `AccountSessionCreateParams.components.balances.features`, `AccountSessionCreateParams.components.notification_banner.features`, and `AccountSessionCreateParams.components.payouts.features` - Add support for `schedule_at_period_end` on `BillingPortal.Configuration.features.subscription_update`, `billingportal.ConfigurationCreateParams.features.subscription_update`, and `billingportal.ConfigurationUpdateParams.features.subscription_update` - Change `billingportal.ConfigurationCreateParams.business_profile` to be optional - Add support for `alma` on `Charge.payment_method_details`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.payment_method_data`, `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`, `Refund.destination_details`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data` - Add support for `kakao_pay` and `kr_card` on `Charge.payment_method_details`, `Checkout.Session.payment_method_options`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.payment_method_data`, `Mandate.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`, `PaymentMethodCreateParams`, `PaymentMethod`, `SetupAttempt.payment_method_details`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, `SetupIntentUpdateParams.payment_method_data`, and `checkout.SessionCreateParams.payment_method_options` - Add support for `naver_pay` on `Charge.payment_method_details`, `Checkout.Session.payment_method_options`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.payment_method_data`, `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`, `PaymentMethodCreateParams`, `PaymentMethodUpdateParams`, `PaymentMethod`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, `SetupIntentUpdateParams.payment_method_data`, and `checkout.SessionCreateParams.payment_method_options` - Add support for `payco` and `samsung_pay` on `Charge.payment_method_details`, `Checkout.Session.payment_method_options`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.payment_method_data`, `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`, `PaymentMethodCreateParams`, `PaymentMethod`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, `SetupIntentUpdateParams.payment_method_data`, and `checkout.SessionCreateParams.payment_method_options` - Add support for new values `alma`, `kakao_pay`, `kr_card`, `naver_pay`, `payco`, and `samsung_pay` on enums `CustomerListPaymentMethodsParams.type`, `PaymentMethodCreateParams.type`, `PaymentMethodListParams.type`, and `checkout.SessionCreateParams.payment_method_types[]` - Add support for new values `alma`, `kakao_pay`, `kr_card`, `naver_pay`, `payco`, and `samsung_pay` 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 value `auto` on enum `CustomerUpdateParams.tax.validate_location` - Add support for new values `by_tin`, `ma_vat`, `md_vat`, `tz_vat`, `uz_tin`, and `uz_vat` on enums `CustomerCreateParams.tax_id_data[].type`, `InvoiceCreatePreviewParams.customer_details.tax_ids[].type`, `InvoiceUpcomingLinesParams.customer_details.tax_ids[].type`, `InvoiceUpcomingParams.customer_details.tax_ids[].type`, `TaxIdCreateParams.type`, and `tax.CalculationCreateParams.customer_details.tax_ids[].type` - Add support for `enhanced_evidence` on `Dispute.evidence` and `DisputeUpdateParams.evidence` - Add support for `enhanced_eligibility_types` on `Dispute` - Add support for `enhanced_eligibility` on `Dispute.evidence_details` - Add support for `metadata` on `Forwarding.Request` and `forwarding.RequestCreateParams` - Add support for `automatically_finalizes_at` on `InvoiceCreateParams` and `InvoiceUpdateParams` - Add support for new values `jp_credit_transfer`, `kakao_pay`, `kr_card`, `naver_pay`, and `payco` on enums `InvoiceCreateParams.payment_settings.payment_method_types[]`, `InvoiceUpdateParams.payment_settings.payment_method_types[]`, `SubscriptionCreateParams.payment_settings.payment_method_types[]`, and `SubscriptionUpdateParams.payment_settings.payment_method_types[]` - Add support for new value `retail_delivery_fee` on enums `InvoiceAddLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type`, `InvoiceUpdateLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type`, `TaxRateCreateParams.tax_type`, and `TaxRateUpdateParams.tax_type` - Add support for new value `alma` on enums `PaymentLinkCreateParams.payment_method_types[]` and `PaymentLinkUpdateParams.payment_method_types[]` - Add support for `amazon_pay` on `PaymentMethodDomain` - Add support for `flat_amount` and `rate_type` on `Tax.Calculation.tax_breakdown[].tax_rate_details` and `TaxRate` - Add support for `by`, `cr`, `ec`, `ma`, `md`, `rs`, `ru`, `tz`, and `uz` on `Tax.Registration.country_options` and `tax.RegistrationCreateParams.country_options` - Add support for new value `state_retail_delivery_fee` on enum `tax.RegistrationCreateParams.country_options.us.type` - Add support for `pln` on `Terminal.Configuration.tipping`, `terminal.ConfigurationCreateParams.tipping`, and `terminal.ConfigurationUpdateParams.tipping` - Add support for new values `issuing_transaction.purchase_details_receipt_updated` and `refund.failed` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]` - Add support for new value `2024-10-28.acacia` on enum `WebhookEndpointCreateParams.api_version` ### [`v27.1.2`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2712---2024-10-29) - [#&#8203;1912](https://github.com/stripe/stripe-java/pull/1912) add `tolerance` argument to `parseThinEvent` - The default `tolerance` value is still what most users will want, but this fixes an oversight where it wasn't possible to set `tolerance` at all when parsing thin events - [#&#8203;1911](https://github.com/stripe/stripe-java/pull/1911) Fixes bug [#&#8203;1899](https://github.com/stripe/stripe-java/issues/1899) - Fixes the bug introduced in v27 where StripeException#getUserMessage on v1 API errors would return null instead of the error message. - [#&#8203;1906](https://github.com/stripe/stripe-java/pull/1906) Update webhook API version validation - Update webhook event processing to accept events from any API version within the supported major release ### [`v27.1.1`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2711---2024-10-18) - [#&#8203;1901](https://github.com/stripe/stripe-java/pull/1901) update object tags for meter-related classes - fixes a bug where the `object` property of the `MeterEvent`, `MeterEventAdjustment`, and `MeterEventSession` didn't match the server. - [#&#8203;1898](https://github.com/stripe/stripe-java/pull/1898) Clean up examples - [#&#8203;1894](https://github.com/stripe/stripe-java/pull/1894) Fixed example for raw request in readme file ### [`v27.1.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2710---2024-10-03) - [#&#8203;1890](https://github.com/stripe/stripe-java/pull/1890) Update the class for `ThinEvent` to include `livemode` and `reason` - [#&#8203;1891](https://github.com/stripe/stripe-java/pull/1891) Removed the class `RequestSigningAuthenticator` that was added in the previous release. Request Signing is not supported yet. - [#&#8203;1889](https://github.com/stripe/stripe-java/pull/1889) Update generated code - Remove the support for resource `Margin` that was accidentally made public in the last release ### [`v27.0.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2700---2024-10-01) - [#&#8203;1880](https://github.com/stripe/stripe-java/pull/1880) Support for APIs in the new API version 2024-09-30.acacia This release changes the pinned API version to `2024-09-30.acacia`. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2024-09-30.acacia) and carefully review the API changes before upgrading. ##### ⚠️ Breaking changes due to changes in the API - Rename `usage_threshold_config` to `usage_threshold` on `Billing.Alert` and `billing.AlertCreateParams` - Remove support for `filter` on `Billing.Alert` and `billing.AlertCreateParams`. Use the filters on the `usage_threshold` instead - Remove support for `customer_consent_collected` on `terminal.ReaderProcessSetupIntentParams` ##### ⚠️ Other Breaking changes in the SDK - Adjusted default values for HTTP requests. You can use the old defaults by setting them explicitly. New values are: - max retries: `0` -> `2` - Add method `parseThinEvent()` on the `StripeClient` class to parse [thin events](https://docs.corp.stripe.com/event-destinations#events-overview). Rename `constructEvent()` method on the same class to `parseSnapshotEvent()` to clearly distinguish between the two kinds of events. - Breaking changes to public classes that are meant for internal use only and should not affect you - Renamed `setStripeResponseGetter` on `ApiResource` to \`setGlobalResponseGetter - Added another parameter to FormEncoder.flattenParams() - Removed the deprecated constructor overload on `APIRequest` - Removed `GlobalStripeResponseGetterOptions.getAPiKey` & `StripeResponseGetterOptions.getApiKey`. We now use a higher abstraction called `Authenticator` instead of passing around api keys - Changed return type of `RequestOptions.RequestOptionsBuilder.getConnectTimeout` from int to java.lang.Integer. - Removed the public constructor on `StripeRequest` in favor of a static `StripeRequest.create()` - The unused field `partnerId` on class `Stripe` is removed ##### Additions - Add support for `usage_threshold` on `Billing.Alert` and `billing.AlertCreateParams` - Add support for `custom_unit_amount` on `ProductCreateParams.default_price_data` - Add support for `allow_redisplay` on `terminal.ReaderProcessPaymentIntentParams.process_config` and `terminal.ReaderProcessSetupIntentParams` - Add support for new value `2024-09-30.acacia` on enum `WebhookEndpointCreateParams.api_version` - Add support for new Usage Billing APIs `Billing.MeterEvent`, `Billing.MeterEventAdjustments`, `Billing.MeterEventSession`, `Billing.MeterEventStream` and the new Events API `Core.Events` under the [v2 namespace ](https://docs.corp.stripe.com/api-v2-overview) - Add methods [rawRequest()](https://github.com/stripe/stripe-java/tree/master?tab=readme-ov-file#custom-requests) on the `StripeClient` class that takes a HTTP method type, url and relevant parameters to make requests to the Stripe API that are not yet supported in the SDK. ##### Changes - Change `billingportal.ConfigurationCreateParams.features.subscription_update.default_allowed_updates` and `billingportal.ConfigurationCreateParams.features.subscription_update.products` to be optional ### [`v26.12.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#26120---2024-09-18) - [#&#8203;1866](https://github.com/stripe/stripe-java/pull/1866) Update generated code - Add support for `payer_details` on `Charge.payment_method_details.klarna` - Add support for `amazon_pay` on `Dispute.payment_method_details` - Add support for `automatically_finalizes_at` on `Invoice` - Add support for `state_sales_tax` on `Tax.Registration.country_options.us` and `tax.RegistrationCreateParams.country_options.us` ### [`v26.11.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#26110---2024-09-12) - [#&#8203;1864](https://github.com/stripe/stripe-java/pull/1864) Update generated code - Add support for new resource `InvoiceRenderingTemplate` - Add support for `archive`, `list`, `retrieve`, and `unarchive` methods on resource `InvoiceRenderingTemplate` - Add support for `required` on `Checkout.Session.tax_id_collection`, `PaymentLink.tax_id_collection`, `PaymentLinkCreateParams.tax_id_collection`, `PaymentLinkUpdateParams.tax_id_collection`, and `checkout.SessionCreateParams.tax_id_collection` - Add support for `template` on `Customer.invoice_settings.rendering_options`, `CustomerCreateParams.invoice_settings.rendering_options`, `CustomerUpdateParams.invoice_settings.rendering_options`, `Invoice.rendering`, `InvoiceCreateParams.rendering`, and `InvoiceUpdateParams.rendering` - Add support for `template_version` on `Invoice.rendering`, `InvoiceCreateParams.rendering`, and `InvoiceUpdateParams.rendering` ### [`v26.10.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#26100---2024-09-05) - [#&#8203;1850](https://github.com/stripe/stripe-java/pull/1850) Update generated code - Add support for `subscription_item` and `subscription` on `billing.AlertCreateParams.filter` - Change `terminal.ReaderProcessSetupIntentParams.customer_consent_collected` to be optional ### [`v26.9.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2690---2024-08-29) - [#&#8203;1856](https://github.com/stripe/stripe-java/pull/1856) Generate SDK for OpenAPI spec version 1230 - Change `AccountLinkCreateParams.collection_options.fields` to be optional - Add support for new value `hr_oib` on enums `CustomerCreateParams.tax_id_data[].type`, `InvoiceCreatePreviewParams.customer_details.tax_ids[].type`, `InvoiceUpcomingLinesParams.customer_details.tax_ids[].type`, `InvoiceUpcomingParams.customer_details.tax_ids[].type`, `TaxIdCreateParams.type`, and `tax.CalculationCreateParams.customer_details.tax_ids[].type` - Add support for new value `issuing_regulatory_reporting` on enum `FileListParams.purpose` - Add support for new value `issuing_regulatory_reporting` on enum `FileCreateParams.purpose` - Add support for `status_details` on `TestHelpers.TestClock` ### [`v26.8.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2680---2024-08-15) - [#&#8203;1847](https://github.com/stripe/stripe-java/pull/1847) Update generated code - Add support for `authorization_code` on `Charge.payment_method_details.card` - Add support for `wallet` on `Charge.payment_method_details.card_present`, `ConfirmationToken.payment_method_preview.card.generated_from.payment_method_details.card_present`, `ConfirmationToken.payment_method_preview.card_present`, `PaymentMethod.card.generated_from.payment_method_details.card_present`, and `PaymentMethod.card_present` - Add support for `mandate_options` on `PaymentIntent.payment_method_options.bacs_debit`, `PaymentIntentConfirmParams.payment_method_options.bacs_debit`, `PaymentIntentCreateParams.payment_method_options.bacs_debit`, and `PaymentIntentUpdateParams.payment_method_options.bacs_debit` - Add support for `bacs_debit` on `SetupIntent.payment_method_options`, `SetupIntentConfirmParams.payment_method_options`, `SetupIntentCreateParams.payment_method_options`, and `SetupIntentUpdateParams.payment_method_options` - Add support for `chips` on `Treasury.OutboundPayment.tracking_details.us_domestic_wire`, `Treasury.OutboundTransfer.tracking_details.us_domestic_wire`, `treasury.OutboundPaymentUpdateParams.tracking_details.us_domestic_wire`, and `treasury.OutboundTransferUpdateParams.tracking_details.us_domestic_wire` - [#&#8203;1849](https://github.com/stripe/stripe-java/pull/1849) Update recommended VSCode extensions ### [`v26.7.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2670---2024-08-08) - [#&#8203;1843](https://github.com/stripe/stripe-java/pull/1843) Update generated code - Add support for `activate`, `archive`, `create`, `deactivate`, `list`, and `retrieve` methods on resource `Billing.Alert` - Add support for `retrieve` method on resource `Tax.Calculation` - Add support for `type` on `Charge.payment_method_details.card_present.offline`, `ConfirmationToken.payment_method_preview.card.generated_from.payment_method_details.card_present.offline`, `PaymentMethod.card.generated_from.payment_method_details.card_present.offline`, and `SetupAttempt.payment_method_details.card_present.offline` - Add support for `offline` on `ConfirmationToken.payment_method_preview.card_present` and `PaymentMethod.card_present` - Add support for `related_customer` on `Identity.VerificationSession`, `identity.VerificationSessionCreateParams`, and `identity.VerificationSessionListParams` - Change `InvoiceCreateParams.payment_settings.payment_method_options.card.installments.plan.count`, `InvoiceCreateParams.payment_settings.payment_method_options.card.installments.plan.interval`, `InvoiceUpdateParams.payment_settings.payment_method_options.card.installments.plan.count`, `InvoiceUpdateParams.payment_settings.payment_method_options.card.installments.plan.interval`, `PaymentIntentConfirmParams.payment_method_options.card.installments.plan.count`, `PaymentIntentConfirmParams.payment_method_options.card.installments.plan.interval`, `PaymentIntentCreateParams.payment_method_options.card.installments.plan.count`, `PaymentIntentCreateParams.payment_method_options.card.installments.plan.interval`, `PaymentIntentUpdateParams.payment_method_options.card.installments.plan.count`, and `PaymentIntentUpdateParams.payment_method_options.card.installments.plan.interval` to be optional - Add support for new value `girocard` on enums `PaymentIntentConfirmParams.payment_method_options.card.network`, `PaymentIntentCreateParams.payment_method_options.card.network`, `PaymentIntentUpdateParams.payment_method_options.card.network`, `SetupIntentConfirmParams.payment_method_options.card.network`, `SetupIntentCreateParams.payment_method_options.card.network`, `SetupIntentUpdateParams.payment_method_options.card.network`, `SubscriptionCreateParams.payment_settings.payment_method_options.card.network`, and `SubscriptionUpdateParams.payment_settings.payment_method_options.card.network` ### [`v26.6.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2660---2024-08-01) - [#&#8203;1841](https://github.com/stripe/stripe-java/pull/1841) Update generated code - Add support for new resources `Billing.AlertTriggered` and `Billing.Alert` - ⚠️ Remove support for `authorization_code` on `Charge.payment_method_details.card`. This was accidentally released last week. - Add support for new value `billing.alert.triggered` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]` ### [`v26.5.1`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2651---2024-07-25) - [#&#8203;1840](https://github.com/stripe/stripe-java/pull/1840) Update generated code - Add support for `tax_registrations` and `tax_settings` on `AccountSession.components` and `AccountSessionCreateParams.components` ### [`v26.4.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2640---2024-07-18) - [#&#8203;1836](https://github.com/stripe/stripe-java/pull/1836) Update generated code - Add support for `customer` on `ConfirmationToken.payment_method_preview` - Add support for new value `multibanco` on enums `InvoiceCreateParams.payment_settings.payment_method_types[]`, `InvoiceUpdateParams.payment_settings.payment_method_types[]`, `SubscriptionCreateParams.payment_settings.payment_method_types[]`, and `SubscriptionUpdateParams.payment_settings.payment_method_types[]` - Add support for new value `stripe_s700` on enum `terminal.ReaderListParams.device_type` - Add support for new value `issuing_dispute.funds_rescinded` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]` - [#&#8203;1805](https://github.com/stripe/stripe-java/pull/1805) Added missing log to changelog ### [`v26.3.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2630---2024-07-11) - [#&#8203;1835](https://github.com/stripe/stripe-java/pull/1835) Update generated code - Add support for `payment_method_options` on `ConfirmationToken` - Add support for `payment_element` on `CustomerSession.components` and `CustomerSessionCreateParams.components` - Add support for `address_validation` on `Issuing.Card.shipping` and `issuing.CardCreateParams.shipping` - Add support for `shipping` on `issuing.CardUpdateParams` ### [`v26.2.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2620---2024-07-05) - [#&#8203;1831](https://github.com/stripe/stripe-java/pull/1831) Update generated code - Add support for `add_lines`, `remove_lines`, and `update_lines` methods on resource `Invoice` - Add support for `posted_at` on `Tax.Transaction` and `tax.TransactionCreateFromCalculationParams` - [#&#8203;1833](https://github.com/stripe/stripe-java/pull/1833) Update formatting settings for VSCode ### [`v26.1.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2610---2024-06-27) - [#&#8203;1829](https://github.com/stripe/stripe-java/pull/1829) Update generated code - Add support for `filters` on `Checkout.Session.payment_method_options.us_bank_account.financial_connections`, `Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections`, `InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections`, `InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections`, `PaymentIntent.payment_method_options.us_bank_account.financial_connections`, `PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections`, `PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections`, `PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections`, `SetupIntent.payment_method_options.us_bank_account.financial_connections`, `SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections`, `SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections`, `SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections`, `Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections`, `SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections`, and `SubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections` - Add support for `email_type` on `CreditNoteCreateParams`, `CreditNotePreviewLinesParams`, and `CreditNotePreviewParams` - Add support for `account_subcategories` on `FinancialConnections.Session.filters` and `financialconnections.SessionCreateParams.filters` - Add support for new values `multibanco`, `twint`, and `zip` on enums `PaymentLinkCreateParams.payment_method_types[]` and `PaymentLinkUpdateParams.payment_method_types[]` - Add support for `reboot_window` on `Terminal.Configuration`, `terminal.ConfigurationCreateParams`, and `terminal.ConfigurationUpdateParams` ### [`v26.0.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2600---2024-06-24) - [#&#8203;1825](https://github.com/stripe/stripe-java/pull/1825) This release changes the pinned API version to 2024-06-20. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2024-06-20) and carefully review the API changes before upgrading. ##### ⚠️ Breaking changes * Remove the unused resource `PlatformTaxFee` * Rename `volume_decimal` to `quantity_decimal` on * `Issuing.Transaction.purchase_details.fuel`, * `issuing.AuthorizationCaptureParams.purchase_details.fuel`, * `issuing.TransactionCreateForceCaptureParams.purchase_details.fuel`, and * `issuing.TransactionCreateUnlinkedRefundParams.purchase_details.fuel` ##### Additions - Add support for `finalize_amount` test helper method on resource `Issuing.Authorization` - Add support for new values `platform_disabled`, `paused.inactivity` and `other` on enums `Capability.Requirements.disabledReason` and `Capability.FutureRequirements.disabledReason` - Add support for new value `ch_uid` on enums `CustomerCreateParams.tax_id_data[].type`, `InvoiceCreatePreviewParams.customer_details.tax_ids[].type`, `InvoiceUpcomingLinesParams.customer_details.tax_ids[].type`, `InvoiceUpcomingParams.customer_details.tax_ids[].type`, `TaxIdCreateParams.type`, and `tax.CalculationCreateParams.customer_details.tax_ids[].type` - Add support for `fleet` on `Issuing.Authorization`, `Issuing.Transaction.purchase_details`, `issuing.AuthorizationCaptureParams.purchase_details`, `issuing.AuthorizationCreateParams`, `issuing.TransactionCreateForceCaptureParams.purchase_details`, and `issuing.TransactionCreateUnlinkedRefundParams.purchase_details` - Add support for `fuel` on `Issuing.Authorization` and `issuing.AuthorizationCreateParams` - Add support for `industry_product_code` and `quantity_decimal` on `Issuing.Transaction.purchase_details.fuel`, `issuing.AuthorizationCaptureParams.purchase_details.fuel`, `issuing.TransactionCreateForceCaptureParams.purchase_details.fuel`, and `issuing.TransactionCreateUnlinkedRefundParams.purchase_details.fuel` - Add support for new values `charging_minute`, `imperial_gallon`, `kilogram`, `kilowatt_hour`, and `pound` on enums `issuing.AuthorizationCaptureParams.purchase_details.fuel.unit`, `issuing.TransactionCreateForceCaptureParams.purchase_details.fuel.unit`, and `issuing.TransactionCreateUnlinkedRefundParams.purchase_details.fuel.unit` - Add support for new value `2024-06-20` on enum `WebhookEndpointCreateParams.api_version` ### [`v25.13.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#25130---2024-06-17) - [#&#8203;1823](https://github.com/stripe/stripe-java/pull/1823) Update generated code - Add support for new value `mobilepay` on enums `PaymentLinkCreateParams.payment_method_types[]` and `PaymentLinkUpdateParams.payment_method_types[]` - Add support for `tax_id_collection` on `PaymentLinkUpdateParams` ### [`v25.12.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#25120---2024-06-13) - [#&#8203;1818](https://github.com/stripe/stripe-java/pull/1818) Update generated code - Add support for `multibanco_payments` and `twint_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities` - Add support for `twint` on `Charge.payment_method_details`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.payment_method_data`, `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`, `PaymentMethodCreateParams`, `PaymentMethod`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data` - Add support for `multibanco` on `Checkout.Session.payment_method_options`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.payment_method_data`, `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`, `Refund.destination_details`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, `SetupIntentUpdateParams.payment_method_data`, and `checkout.SessionCreateParams.payment_method_options` - Add support for new values `multibanco` and `twint` on enums `CustomerListPaymentMethodsParams.type`, `PaymentMethodCreateParams.type`, `PaymentMethodListParams.type`, and `checkout.SessionCreateParams.payment_method_types[]` - Add support for new values `multibanco` and `twint` 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 value `de_stn` on enums `CustomerCreateParams.tax_id_data[].type`, `InvoiceCreatePreviewParams.customer_details.tax_ids[].type`, `InvoiceUpcomingLinesParams.customer_details.tax_ids[].type`, `InvoiceUpcomingParams.customer_details.tax_ids[].type`, `TaxIdCreateParams.type`, and `tax.CalculationCreateParams.customer_details.tax_ids[].type` - Add support for `multibanco_display_details` on `PaymentIntent.next_action` - Add support for `invoice_settings` on `Subscription` ### [`v25.11.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#25110---2024-06-06) - [#&#8203;1817](https://github.com/stripe/stripe-java/pull/1817) Update generated code - Add support for `gb_bank_transfer_payments`, `jp_bank_transfer_payments`, `mx_bank_transfer_payments`, `sepa_bank_transfer_payments`, and `us_bank_transfer_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities` - Add support for new value `swish` on enums `InvoiceCreateParams.payment_settings.payment_method_types[]`, `InvoiceUpdateParams.payment_settings.payment_method_types[]`, `SubscriptionCreateParams.payment_settings.payment_method_types[]`, and `SubscriptionUpdateParams.payment_settings.payment_method_types[]` ### [`v25.10.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#25100---2024-05-30) - [#&#8203;1815](https://github.com/stripe/stripe-java/pull/1815) Update generated code - Add support for `default_value` on `Checkout.Session.custom_fields[].dropdown`, `Checkout.Session.custom_fields[].numeric`, `Checkout.Session.custom_fields[].text`, `checkout.SessionCreateParams.custom_fields[].dropdown`, `checkout.SessionCreateParams.custom_fields[].numeric`, and `checkout.SessionCreateParams.custom_fields[].text` - Add support for `generated_from` on `ConfirmationToken.payment_method_preview.card` and `PaymentMethod.card` - Add support for new values `en-RO` and `ro-RO` on enums `PaymentIntentConfirmParams.payment_method_options.klarna.preferred_locale`, `PaymentIntentCreateParams.payment_method_options.klarna.preferred_locale`, and `PaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale` - Add support for new values `issuing_personalization_design.activated`, `issuing_personalization_design.deactivated`, `issuing_personalization_design.rejected`, and `issuing_personalization_design.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]` ### [`v25.9.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2590---2024-05-23) - [#&#8203;1806](https://github.com/stripe/stripe-java/pull/1806) Update generated code - Add support for `external_account_collection` on `AccountSession.components.balances.features`, `AccountSession.components.payouts.features`, `AccountSessionCreateParams.components.balances.features`, and `AccountSessionCreateParams.components.payouts.features` - Add support for `payment_method_remove` on `Checkout.Session.saved_payment_method_options` - [#&#8203;1808](https://github.com/stripe/stripe-java/pull/1808) Track usage for unsafeSetStripeVersionOverride ### [`v25.8.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2580---2024-05-16) - [#&#8203;1803](https://github.com/stripe/stripe-java/pull/1803) Update generated code - Add support for `fee_source` on `ApplicationFee` - Add support for `net_available` on `Balance.instant_available[]` - Add support for `preferred_locales` on `Charge.payment_method_details.card_present`, `ConfirmationToken.payment_method_preview.card_present`, and `PaymentMethod.card_present` - Add support for `klarna` on `Dispute.payment_method_details` - Add support for `archived` and `lookup_key` on `entitlements.FeatureListParams` - Change `financialconnections.SessionCreateParams.filters.countries` to be optional - Add support for `no_valid_authorization` on `Issuing.Dispute.evidence`, `issuing.DisputeCreateParams.evidence`, and `issuing.DisputeUpdateParams.evidence` - Add support for new value `no_valid_authorization` on enums `issuing.DisputeCreateParams.evidence.reason` and `issuing.DisputeUpdateParams.evidence.reason` - Add support for `loss_reason` on `Issuing.Dispute` - Add support for `routing` on `PaymentIntent.payment_method_options.card_present`, `PaymentIntentConfirmParams.payment_method_options.card_present`, `PaymentIntentCreateParams.payment_method_options.card_present`, and `PaymentIntentUpdateParams.payment_method_options.card_present` - Add support for `application_fee_amount` and `application_fee` on `Payout` - Add support for `stripe_s700` on `Terminal.Configuration`, `terminal.ConfigurationCreateParams`, and `terminal.ConfigurationUpdateParams` - [#&#8203;1804](https://github.com/stripe/stripe-java/pull/1804) Added deprecated annotation to builder methods - Deprecate Java builder params based on OpenAPI spec - Mark as deprecated the setters for persistent_token property on `PaymentIntentConfirmParams`, `PaymentIntentCreateParams`, `PaymentIntentUpdateParams`, `SetupIntentConfirmParams`, `SetupIntentCreateParams`, `SetupIntentUpdateParams`. This is a legacy parameter that no longer has any function. ### [`v25.7.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2570---2024-05-09) - [#&#8203;1801](https://github.com/stripe/stripe-java/pull/1801) Update generated code - Remove support for `pending_invoice_items_behavior` on `SubscriptionCreateParams` that was prematurely added in the previous release on the same day ### [`v25.6.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2560---2024-05-09) - [#&#8203;1797](https://github.com/stripe/stripe-java/pull/1797) Update generated code - Add support for `update` test helper method on resources `Treasury.OutboundPayment` and `Treasury.OutboundTransfer` - Add support for `allow_redisplay` on `ConfirmationToken.payment_method_preview` and `PaymentMethod` - Add support for `preview_mode` on `InvoiceCreatePreviewParams`, `InvoiceUpcomingLinesParams`, and `InvoiceUpcomingParams` - Add support for `tracking_details` on `Treasury.OutboundPayment` and `Treasury.OutboundTransfer` - Add support for new values `treasury.outbound_payment.tracking_details_updated` and `treasury.outbound_transfer.tracking_details_updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]` ### [`v25.5.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2550---2024-05-02) - [#&#8203;1785](https://github.com/stripe/stripe-java/pull/1785) Update generated code - Add support for `paypal` on `Dispute.payment_method_details` - Change type of `Dispute.payment_method_details.type` from `literal('card')` to `enum('card'|'paypal')` - Change type of `entitlements.FeatureUpdateParams.metadata` from `map(string: string)` to `emptyable(map(string: string))` - Add support for `payment_method_types` on `PaymentIntentConfirmParams` - Add support for `ship_from_details` on `Tax.Calculation`, `Tax.Transaction`, and `tax.CalculationCreateParams` - Add support for `bh`, `eg`, `ge`, `ke`, `kz`, `ng`, and `om` on `Tax.Registration.country_options` and `tax.RegistrationCreateParams.country_options` - [#&#8203;1787](https://github.com/stripe/stripe-java/pull/1787) Deprecate Java params based on OpenAPI spec - Mark as deprecated the `persistent_token` property on `ConfirmationToken.Link.persistentToken`, `PaymentIntent.Link.persistentToken`, `PaymentMethod.Link.persistentToken`, `SetupIntent.Link.persistentToken`, `PaymentIntentConfirmParams.Link.persistentToken`, `PaymentIntentCreateParams.Link.persistentToken`, `PaymentIntentUpdateParams.Link.persistentToken`, `SetupIntentConfirmParams.Link.persistentToken`, `SetupIntentCreateParams.Link.persistentToken`, `SetupIntentUpdateParams.Link.persistentToken`. This is a legacy parameter that no longer has any function. ### [`v25.4.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2540---2024-04-25) - [#&#8203;1784](https://github.com/stripe/stripe-java/pull/1784) Update generated code - Add support for `setup_future_usage` on `Checkout.Session.payment_method_options.amazon_pay`, `Checkout.Session.payment_method_options.revolut_pay`, `PaymentIntent.payment_method_options.amazon_pay`, and `PaymentIntent.payment_method_options.revolut_pay` - Change type of `Entitlements.ActiveEntitlement.feature` from `string` to `expandable($Entitlements.Feature)` - Remove support for inadvertently released identity verification features `email` and `phone` on `identity.VerificationSessionCreateParams.options` and `identity.VerificationSessionUpdateParams.options` - Add support for new values `amazon_pay` and `revolut_pay` on enums `InvoiceCreateParams.payment_settings.payment_method_types[]`, `InvoiceUpdateParams.payment_settings.payment_method_types[]`, `SubscriptionCreateParams.payment_settings.payment_method_types[]`, and `SubscriptionUpdateParams.payment_settings.payment_method_types[]` - Add support for `amazon_pay` and `revolut_pay` on `Mandate.payment_method_details` and `SetupAttempt.payment_method_details` - Add support for `ending_before`, `limit`, and `starting_after` on `PaymentMethodConfigurationListParams` - Add support for `mobilepay` on `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, and `PaymentMethodConfiguration` - Deprecate Java methods based on OpenAPI spec - Mark as deprecated the `approve` and `decline` methods on Authorization. Instead, [respond directly to the webhook request to approve an authorization](https://docs.stripe.com/issuing/controls/real-time-authorizations#authorization-handling). ### [`v25.3.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2530---2024-04-18) - [#&#8203;1782](https://github.com/stripe/stripe-java/pull/1782) Update generated code - Add support for `create_preview` method on resource `Invoice` - Add support for `payment_method_data` on `checkout.SessionCreateParams` - Add support for `saved_payment_method_options` on `Checkout.Session` and `checkout.SessionCreateParams` - Add support for `mobilepay` on `Checkout.Session.payment_method_options` and `checkout.SessionCreateParams.payment_method_options` - Add support for new value `mobilepay` on enum `checkout.SessionCreateParams.payment_method_types[]` - Add support for `allow_redisplay` on `ConfirmationTokenCreateParams.payment_method_data`, `CustomerListPaymentMethodsParams`, `PaymentIntentConfirmParams.payment_method_data`, `PaymentIntentCreateParams.payment_method_data`, `PaymentIntentUpdateParams.payment_method_data`, `PaymentMethodCreateParams`, `PaymentMethodUpdateParams`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data` - Add support for `schedule_details` and `subscription_details` on `InvoiceUpcomingLinesParams` and `InvoiceUpcomingParams` - Add support for new value `other` on enums `issuing.AuthorizationCaptureParams.purchase_details.fuel.unit`, `issuing.TransactionCreateForceCaptureParams.purchase_details.fuel.unit`, and `issuing.TransactionCreateUnlinkedRefundParams.purchase_details.fuel.unit` ### [`v25.2.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2520---2024-04-16) - [#&#8203;1780](https://github.com/stripe/stripe-java/pull/1780) Update generated code - Add support for new resource `Entitlements.ActiveEntitlementSummary` - Add support for `balances` and `payouts_list` on `AccountSession.components` and `AccountSessionCreateParams.components` - Change `billing.MeterEventCreateParams.timestamp` to be optional - Remove support for `config` on `Forwarding.Request` and `forwarding.RequestCreateParams`. This field is no longer used by the Forwarding Request API. - Add support for `capture_method` on `PaymentIntent.payment_method_options.revolut_pay`, `PaymentIntentConfirmParams.payment_method_options.revolut_pay`, `PaymentIntentCreateParams.payment_method_options.revolut_pay`, and `PaymentIntentUpdateParams.payment_method_options.revolut_pay` - Add support for `swish` on `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, and `PaymentMethodConfiguration` - Add support for new value `entitlements.active_entitlement_summary.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]` ### [`v25.1.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2510---2024-04-11) - [#&#8203;1779](https://github.com/stripe/stripe-java/pull/1779) Update generated code - Add support for `account_management` and `notification_banner` on `AccountSession.components` and `AccountSessionCreateParams.components` - Add support for `external_account_collection` on `AccountSession.components.account_onboarding.features` and `AccountSessionCreateParams.components.account_onboarding.features` - Change `billing.MeterEventAdjustmentCreateParams.cancel.identifier` and `billing.MeterEventAdjustmentCreateParams.cancel` to be optional - Change `billing.MeterEventAdjustmentCreateParams.type` to be required - Change type of `Billing.MeterEventAdjustment.cancel` from `BillingMeterResourceBillingMeterEventAdjustmentCancel` to `nullable(BillingMeterResourceBillingMeterEventAdjustmentCancel)` - Add support for `amazon_pay` on `Charge.payment_method_details`, `Checkout.Session.payment_method_options`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.payment_method_data`, `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`, `Refund.destination_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`, and `checkout.SessionCreateParams.payment_method_options` - Add support for new value `ownership` on enums `InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `SubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]`, and `checkout.SessionCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]` - Add support for new value `amazon_pay` on enum `checkout.SessionCreateParams.payment_method_types[]` - Add support for new value `amazon_pay` 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 `bh_vat`, `kz_bin`, `ng_tin`, and `om_vat` on enums `CustomerCreateParams.tax_id_data[].type`, `InvoiceUpcomingLinesParams.customer_details.tax_ids[].type`, `InvoiceUpcomingParams.customer_details.tax_ids[].type`, `TaxIdCreateParams.type`, and `tax.CalculationCreateParams.customer_details.tax_ids[].type` - Add support for new value `amazon_pay` on enums `CustomerListPaymentMethodsParams.type`, `PaymentMethodCreateParams.type`, and `PaymentMethodListParams.type` - Add support for `next_refresh_available_at` on `FinancialConnections.Account.ownership_refresh` ### [`v25.0.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2500---2024-04-10) - [#&#8203;1776](https://github.com/stripe/stripe-java/pull/1776) - This release changes the pinned API version to `2024-04-10`. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2024-04-10) and carefully review the API changes before upgrading. - Add a new `TaxIdService` for operations on `/v1/tax_ids` endpoints. ##### ⚠️ Breaking changes - Rename `features` to `marketing_features` on `ProductCreateParams`, `ProductUpdateParams`, and `Product` - Rename "child" services to be prefixed with the associated parent service to allow for the same resource to be exposed at top level (e.g., `/v1/tax_ids` via `client.taxIds()`) and as a child (e.g., `/v1/customers/{}/tax_ids` via `client.customers().taxIds()`). - Rename `CapabilityService` -> `AccountCapabilityService` - Rename `ExternalAccountService` -> `AccountExternalAccountService` - Rename `LoginLinkService` -> `AccountLoginLinkService` - Rename `PersonService` -> `AccountPersonService` - Rename `FeeRefundService` -> `ApplicationFeeRefundService` - Rename `CashBalanceService` -> `CustomerCashBalanceService` - Rename `PaymentSourceService` -> `CustomerPaymentSourceService` - Rename `UsageRecordService` -> `SubscriptionItemUsageRecordService` - Rename `UsageRecordSummaryService` -> `SubscriptionItemUsageRecordSummaryService` - Rename `TaxIdService` -> `CustomerTaxIdService`. - Remove support for `verify` method on `BankAccountService`. - Please use the `verify` method on `CustomerPaymentSourceService` instead ```java // BEFORE client.bankAccounts().verify("cus_...", "ba_..."); // AFTER client.customers().paymentSources().verify("cus_...", "ba_..."); ``` - Remove support for `list` and `create` methods on `treasury.FinancialAccountFeaturesService`. These methods were incorrectly named. - Please migrate `list` -> `retrieve` and `create` -> `update`. - Update `setPageTypeToken` method on `StripeCollectionInterface` to be required and remove default implementation. - Remove deprecated `setUsage` method on `BaseApiRequest`. - Update `usage` on `BaseApiRequest` class to be `final`. - Remove deprecated `maybeEnqueueMetrics` method on `RequestTelemetry`. ##### ⚠️ Removal of enum values, properties and events that are no longer part of the publicly documented Stripe API - Remove `Configuration.SubscriptionPause` for Billing Portal as the feature to pause subscription on the portal has been deprecated. - Remove the support for the below deprecated values in `BalanceTransaction.Type` - `obligation_inbound` - `obligation_payout` - `obligation_payout_failure` - `obligation_reversal_outbound` - Remove the below deprecated events from `Event.Type`, `WebhookEndpointCreateOptions.EnabledEvent`, `WebhookEndpointUpdateOptions.EnabledEvent` - `invoiceitem.updated` - `order.created` - `recipient.created` - `recipient.deleted` - `recipient.updated` - `sku.created` - `sku.deleted` - `sku.updated` - Remove support for `id_bank_transfer`, `multibanco`, `netbanking`, `pay_by_bank`, and `upi` on `PaymentMethodConfiguration` by removing the below classes - `PaymentMethodConfiguration.IdBankTransfer` - `PaymentMethodConfiguration.Multibanco` - `PaymentMethodConfiguration.Netbanking` - `PaymentMethodConfiguration.PayByBank` - `PaymentMethodConfiguration.Upi` - Remove the support for `challenge_only` in `SetupIntent.PaymentMethodOptions.Card.RequestThreeDSecure` - Remove the support for deprecated value `service_tax` in `TaxRate.TaxType`, `InvoiceLinetItemUpdateParams.TaxAmount.TaxRateData.TaxType`,pweb`TaxRateCreateParams.TaxType`, `TaxRateUpdateParams.TaxType` - Remove the support for `various` in `Climate.Supplier.removalPathway` - Remove the deprecated value `INCLUDE_AND_REQUIRE` on the enum `InvoiceCreateParams.PendingInvoiceItemsBehavior` - Remove the property `RequestIncrementalAuthorization` on `PaymentIntentConfirmParams.PaymentMethodOptions.CardPresent`, `PaymentIntentCreateParams.PaymentMethodOptions.CardPresent` and `PaymentIntentUpdateParams.PaymentMethodOptions.CardPresent`. This was shipped by mistake. - Remove the support for deprecated value `obligation` on `ReportRunCreateParams.ReportingCategory` - Remove the legacy field `rendering_options` on `InvoiceCreateParams`, `InvoiceUpdateParams`, and `Invoice`. Use `rendering` instead. ### [`v24.24.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#24240---2024-04-09) - [#&#8203;1778](https://github.com/stripe/stripe-java/pull/1778) Update generated code - Add support for new resources `Entitlements.ActiveEntitlement` and `Entitlements.Feature` - Add support for `list` and `retrieve` methods on resource `ActiveEntitlement` - Add support for `create`, `list`, `retrieve`, and `update` methods on resource `Feature` - Add support for `controller` on `AccountCreateParams` - Add support for `fees`, `losses`, `requirement_collection`, and `stripe_dashboard` on `Account.controller` - Add support for `event_name` on `Billing.MeterEventAdjustment` and `billing.MeterEventAdjustmentCreateParams` - Add support for `cancel` and `type` on `Billing.MeterEventAdjustment` ### [`v24.23.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#24230---2024-04-04) - [#&#8203;1774](https://github.com/stripe/stripe-java/pull/1774) Update generated code - Change type of `checkout.SessionCreateParams.payment_method_options.swish.reference` from `emptyable(string)` to `string` - Add support for `subscription_item` on `Discount` - Add support for `email` and `phone` on `Identity.VerificationReport`, `Identity.VerificationSession.options`, `Identity.VerificationSession.verified_outputs`, `identity.VerificationSessionCreateParams.options`, and `identity.VerificationSessionUpdateParams.options` - Add support for `verification_flow` on `Identity.VerificationReport`, `Identity.VerificationSession`, and `identity.VerificationSessionCreateParams` - Add support for `provided_details` on `Identity.VerificationSession`, `identity.VerificationSessionCreateParams`, and `identity.VerificationSessionUpdateParams` - Change `identity.VerificationSessionCreateParams.type` to be optional - Add support for `promotion_code` on `InvoiceCreateParams.discounts[]`, `InvoiceItemCreateParams.discounts[]`, `InvoiceItemUpdateParams.discounts[]`, `InvoiceUpdateParams.discounts[]`, `QuoteCreateParams.discounts[]`, and `QuoteUpdateParams.discounts[]` - Add support for `discounts` on `InvoiceUpcomingLinesParams.subscription_items[]`, `InvoiceUpcomingParams.subscription_items[]`, `QuoteCreateParams.line_items[]`, `QuoteUpdateParams.line_items[]`, `SubscriptionCreateParams.add_invoice_items[]`, `SubscriptionCreateParams.items[]`, `SubscriptionCreateParams`, `SubscriptionItemCreateParams`, `SubscriptionItemUpdateParams`, `SubscriptionItem`, `SubscriptionSchedule.phases[].add_invoice_items[]`, `SubscriptionSchedule.phases[].items[]`, `SubscriptionSchedule.phases[]`, `SubscriptionScheduleCreateParams.phases[].add_invoice_items[]`, `SubscriptionScheduleCreateParams.phases[].items[]`, `SubscriptionScheduleCreateParams.phases[]`, `SubscriptionScheduleUpdateParams.phases[].add_invoice_items[]`, `SubscriptionScheduleUpdateParams.phases[].items[]`, `SubscriptionScheduleUpdateParams.phases[]`, `SubscriptionUpdateParams.add_invoice_items[]`, `SubscriptionUpdateParams.items[]`, `SubscriptionUpdateParams`, and `Subscription` - Add support for `allowed_merchant_countries` and `blocked_merchant_countries` on `Issuing.Card.spending_controls`, `Issuing.Cardholder.spending_controls`, `issuing.CardCreateParams.spending_controls`, `issuing.CardUpdateParams.spending_controls`, `issuing.CardholderCreateParams.spending_controls`, and `issuing.CardholderUpdateParams.spending_controls` - Add support for `zip` on `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, and `PaymentMethodConfiguration` - Add support for `offline` on `SetupAttempt.payment_method_details.card_present` - Add support for `card_present` on `SetupIntent.payment_method_options`, `SetupIntentConfirmParams.payment_method_options`, `SetupIntentCreateParams.payment_method_options`, and `SetupIntentUpdateParams.payment_method_options` - Add support for new value `mobile_phone_reader` on enum `terminal.ReaderListParams.device_type` ### [`v24.22.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#24220---2024-03-28) - [#&#8203;1770](https://github.com/stripe/stripe-java/pull/1770) Update generated code - Add support for new resources `Billing.MeterEventAdjustment`, `Billing.MeterEvent`, and `Billing.Meter` - Add support for `create`, `deactivate`, `list`, `reactivate`, `retrieve`, and `update` methods on resource `Meter` - Add support for `create` method on resources `MeterEventAdjustment` and `MeterEvent` - Add support for `amazon_pay_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities` - Add support for `destination_on_behalf_of_charge_management` on `AccountSession.components.payment_details.features`, `AccountSession.components.payments.features`, `AccountSessionCreateParams.components.payment_details.features`, and `AccountSessionCreateParams.components.payments.features` - Add support for `mandate` on `Charge.payment_method_details.us_bank_account`, `Treasury.InboundTransfer.origin_payment_method_details.us_bank_account`, `Treasury.OutboundPayment.destination_payment_method_details.us_bank_account`, and `Treasury.OutboundTransfer.destination_payment_method_details.us_bank_account` - Add support for `second_line` on `issuing.CardCreateParams` - Add support for `meter` on `PlanCreateParams`, `Plan`, `Price.recurring`, `PriceCreateParams.recurring`, and `PriceListParams.recurring` ### [`v24.21.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#24210---2024-03-21) - [#&#8203;1768](https://github.com/stripe/stripe-java/pull/1768) Update generated code - Add support for new resources `ConfirmationToken` and `Forwarding.Request` - Add support for `retrieve` method on resource `ConfirmationToken` - Add support for `create`, `list`, and `retrieve` methods on resource `Request` - Add support for `mobilepay_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities` - Add support for `mobilepay` on `Charge.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`, `PaymentMethodCreateParams`, `PaymentMethod`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data` - Add support for `payment_reference` on `Charge.payment_method_details.us_bank_account` - Add support for new value `mobilepay` on enums `CustomerListPaymentMethodsParams.type`, `PaymentMethodCreateParams.type`, and `PaymentMethodListParams.type` - Add support for `confirmation_token` on `PaymentIntentConfirmParams`, `PaymentIntentCreateParams`, `SetupIntentConfirmParams`, and `SetupIntentCreateParams` - Add support for new value `mobilepay` on enums `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 `name` on `Terminal.Configuration`, `terminal.ConfigurationCreateParams`, and `terminal.ConfigurationUpdateParams` - Add support for `payout` on `Treasury.ReceivedDebit.linked_flows` ### [`v24.20.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#24200---2024-03-14) - [#&#8203;1763](https://github.com/stripe/stripe-java/pull/1763) Update generated code - Add support for new resources `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle` - Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PersonalizationDesign` - Add support for `list` and `retrieve` methods on resource `PhysicalBundle` - Add support for `personalization_design` on `Issuing.Card`, `issuing.CardCreateParams`, `issuing.CardListParams`, and `issuing.CardUpdateParams` - Change type of `SubscriptionCreateParams.application_fee_percent` and `SubscriptionUpdateParams.application_fee_percent` from `number` to `emptyStringable(number)` - Add support for `sepa_debit` on `Subscription.payment_settings.payment_method_options`, `SubscriptionCreateParams.payment_settings.payment_method_options`, and `SubscriptionUpdateParams.payment_settings.payment_method_options` ### [`v24.19.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#24190---2024-03-07) - [#&#8203;1758](https://github.com/stripe/stripe-java/pull/1758) Update generated code - Add support for `documents` on `AccountSession.components` and `AccountSessionCreateParams.components` - Add support for `request_three_d_secure` on `Checkout.Session.payment_method_options.card` and `checkout.SessionCreateParams.payment_method_options.card` - Add support for `created` on `CreditNoteListParams` - Add support for `sepa_debit` on `Invoice.payment_settings.payment_method_options`, `InvoiceCreateParams.payment_settings.payment_method_options`, and `InvoiceUpdateParams.payment_settings.payment_method_options` ### [`v24.18.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#24180---2024-02-29) - [#&#8203;1750](https://github.com/stripe/stripe-java/pull/1750) Update generated code - Add support for `number` on `InvoiceCreateParams` and `InvoiceUpdateParams` - Add support for `enable_customer_cancellation` on `Terminal.Reader.action.process_payment_intent.process_config`, `Terminal.Reader.action.process_setup_intent.process_config`, `terminal.ReaderProcessPaymentIntentParams.process_config`, and `terminal.ReaderProcessSetupIntentParams.process_config` - Add support for `refund_payment_config` on `Terminal.Reader.action.refund_payment` and `terminal.ReaderRefundPaymentParams` - Add support for `payment_method` on `TokenCreateParams.bank_account` - [#&#8203;1753](https://github.com/stripe/stripe-java/pull/1753) Update README to reference addBetaVersion helper ### [`v24.17.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#24170---2024-02-22) - [#&#8203;1748](https://github.com/stripe/stripe-java/pull/1748) Update generated code - Add support for `client_reference_id` on `Identity.VerificationReport`, `Identity.VerificationSession`, `identity.VerificationReportListParams`, `identity.VerificationSessionCreateParams`, and `identity.VerificationSessionListParams` - Remove support for value `include_and_require` from enum `InvoiceCreateParams.pending_invoice_items_behavior` - Remove support for value `service_tax` from enums `TaxRateCreateParams.tax_type` and `TaxRateUpdateParams.tax_type` - Add support for `created` on `treasury.OutboundPaymentListParams` - Add `InvoiceLineItem.update` method. ### [`v24.16.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#24160---2024-02-15) - [#&#8203;1745](https://github.com/stripe/stripe-java/pull/1745) Update generated code - Add support for `networks` on `Card`, `PaymentMethodCreateParams.CardDetails`, `PaymentMethodUpdateParams.Card`, and `TokenCreateParams.Card` - Add support for new value `no_voec` on enums `CustomerCreateParams.tax_id_data[].type`, `InvoiceUpcomingLinesParams.customer_details.tax_ids[].type`, `InvoiceUpcomingParams.customer_details.tax_ids[].type`, `TaxIdCreateParams.type`, and `tax.CalculationCreateParams.customer_details.tax_ids[].type` - Add support for `display_brand` on `PaymentMethod.card` - Add support for new value `financial_connections.account.refreshed_ownership` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]` ### [`v24.15.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#24150---2024-02-08) - [#&#8203;1742](https://github.com/stripe/stripe-java/pull/1742) Update generated code - Add support for `invoices` on `Account.settings` and `AccountUpdateParams.settings` - Add support for new value `velobank` on enums `PaymentIntentConfirmParams.payment_method_data.p24.bank`, `PaymentIntentCreateParams.payment_method_data.p24.bank`, `PaymentIntentUpdateParams.payment_method_data.p24.bank`, `PaymentMethodCreateParams.p24.bank`, `SetupIntentConfirmParams.payment_method_data.p24.bank`, `SetupIntentCreateParams.payment_method_data.p24.bank`, and `SetupIntentUpdateParams.payment_method_data.p24.bank` - Add support for `setup_future_usage` on `PaymentIntent.payment_method_options.blik`, `PaymentIntentConfirmParams.payment_method_options.blik`, `PaymentIntentCreateParams.payment_method_options.blik`, and `PaymentIntentUpdateParams.payment_method_options.blik` - Add support for `require_cvc_recollection` on `PaymentIntent.payment_method_options.card`, `PaymentIntentConfirmParams.payment_method_options.card`, `PaymentIntentCreateParams.payment_method_options.card`, and `PaymentIntentUpdateParams.payment_method_options.card` - Add support for `account_tax_ids` on `SubscriptionCreateParams.invoice_settings`, `SubscriptionSchedule.default_settings.invoice_settings`, `SubscriptionSchedule.phases[].invoice_settings`, `SubscriptionScheduleCreateParams.default_settings.invoice_settings`, `SubscriptionScheduleCreateParams.phases[].invoice_settings`, `SubscriptionScheduleUpdateParams.default_settings.invoice_settings`, `SubscriptionScheduleUpdateParams.phases[].invoice_settings`, and `SubscriptionUpdateParams.invoice_settings` - [#&#8203;1744](https://github.com/stripe/stripe-java/pull/1744) Define StripeClient "usage" in a single place ### [`v24.14.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#24140---2024-02-01) - [#&#8203;1740](https://github.com/stripe/stripe-java/pull/1740) Update generated code - Add support for `swish` payment method throughout the API - Add support for `relationship` on `AccountCreateParams.individual`, `AccountUpdateParams.individual`, and `TokenCreateParams.account.individual` - Add support for `jurisdiction_level` on `TaxRate` - ⚠️ Fix broken reference to `com.stripe.model.Discount` from `checkout.Session.TotalDetails.Breakdown.Discount` (this represents a bugfix as this class would never have worked, but might be a breaking type change) - [#&#8203;1739](https://github.com/stripe/stripe-java/pull/1739) Add clock instance on webhook ### [`v24.13.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#24130---2024-01-25) - [#&#8203;1736](https://github.com/stripe/stripe-java/pull/1736) Update generated code - Add support for `annual_revenue` and `estimated_worker_count` on `Account.business_profile`, `Account.CreateParams.business_profile`, and `Account.UpdateParams.business_profile` - Add support for new value `registered_charity` on enums `Account.CreateParams.company.structure`, `Account.UpdateParams.company.structure`, and `Token.CreateParams.account.company.structure` - Add support for `collection_options` on `AccountLink.CreateParams` - Add support for `liability` on `Checkout.Session.automatic_tax`, `PaymentLink.automatic_tax`, `PaymentLink.CreateParams.automatic_tax`, `PaymentLink.UpdateParams.automatic_tax`, `Quote.automatic_tax`, `Quote.CreateParams.automatic_tax`, `Quote.UpdateParams.automatic_tax`, `SubscriptionSchedule.default_settings.automatic_tax`, `SubscriptionSchedule.phases[].automatic_tax`, `SubscriptionSchedule.CreateParams.default_settings.automatic_tax`, `SubscriptionSchedule.CreateParams.phases[].automatic_tax`, `SubscriptionSchedule.UpdateParams.default_settings.automatic_tax`, `SubscriptionSchedule.UpdateParams.phases[].automatic_tax`, and `checkout.Session.CreateParams.automatic_tax` - Add support for `issuer` on `Checkout.Session.invoice_creation.invoice_data`, `PaymentLink.invoice_creation.invoice_data`, `PaymentLink.CreateParams.invoice_creation.invoice_data`, `PaymentLink.UpdateParams.invoice_creation.invoice_data`, `Quote.invoice_settings`, `Quote.CreateParams.invoice_settings`, `Quote.UpdateParams.invoice_settings`, `SubscriptionSchedule.default_settings.invoice_settings`, `SubscriptionSchedule.phases[].invoice_settings`, `SubscriptionSchedule.CreateParams.default_settings.invoice_settings`, `SubscriptionSchedule.CreateParams.phases[].invoice_settings`, `SubscriptionSchedule.UpdateParams.default_settings.invoice_settings`, `SubscriptionSchedule.UpdateParams.phases[].invoice_settings`, and `checkout.Session.CreateParams.invoice_creation.invoice_data` - Add support for `invoice_settings` on `PaymentLink.subscription_data`, `PaymentLink.CreateParams.subscription_data`, `PaymentLink.UpdateParams.subscription_data`, and `checkout.Session.CreateParams.subscription_data` - Add support for new value `challenge` on enums `Invoice.CreateParams.payment_settings.payment_method_options.card.request_three_d_secure`, `Invoice.UpdateParams.payment_settings.payment_method_options.card.request_three_d_secure`, `Subscription.CreateParams.payment_settings.payment_method_options.card.request_three_d_secure`, and `Subscription.UpdateParams.payment_settings.payment_method_options.card.request_three_d_secure` - Add support for `promotion_code` on `Invoice.UpcomingLinesParams.discounts[]`, `Invoice.UpcomingLinesParams.invoice_items[].discounts[]`, `Invoice.UpcomingParams.discounts[]`, and `Invoice.UpcomingParams.invoice_items[].discounts[]` - Add support for `account_type` on `PaymentMethod.UpdateParams.us_bank_account` ### [`v24.12.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#24120---2024-01-18) - [#&#8203;1732](https://github.com/stripe/stripe-java/pull/1732) Update generated code - [#&#8203;1723](https://github.com/stripe/stripe-java/pull/1723) Update generated code - Add support for `issuer` on `InvoiceCreateParams`, `InvoiceUpcomingLinesParams`, `InvoiceUpcomingParams`, `InvoiceUpdateParams`, and `Invoice` - Add support for `liability` on `Invoice.automatic_tax`, `InvoiceCreateParams.automatic_tax`, `InvoiceUpcomingLinesParams.automatic_tax`, `InvoiceUpcomingParams.automatic_tax`, `InvoiceUpdateParams.automatic_tax`, `Subscription.automatic_tax`, `SubscriptionCreateParams.automatic_tax`, and `SubscriptionUpdateParams.automatic_tax` - Add support for `on_behalf_of` on `InvoiceUpcomingLinesParams` and `InvoiceUpcomingParams` - Add support for `pin` on `issuing.CardCreateParams` - Add support for `revocation_reason` on `Mandate.payment_method_details.bacs_debit` - Add support for new value `nn` on enums `PaymentIntentConfirmParams.payment_method_data.ideal.bank`, `PaymentIntentCreateParams.payment_method_data.ideal.bank`, `PaymentIntentUpdateParams.payment_method_data.ideal.bank`, `PaymentMethodCreateParams.ideal.bank`, `SetupIntentConfirmParams.payment_method_data.ideal.bank`, `SetupIntentCreateParams.payment_method_data.ideal.bank`, and `SetupIntentUpdateParams.payment_method_data.ideal.bank` - Add support for `customer_balance` on `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, and `PaymentMethodConfiguration` - Add support for `invoice_settings` on `SubscriptionCreateParams` and `SubscriptionUpdateParams` - [#&#8203;1724](https://github.com/stripe/stripe-java/pull/1724) Add webhook parsing method on StripeClient - Add support for `constructEvent()` instance method on `StripeClient` that parses Webhook events and uses the settings inherited from the StripeClient instance to make further requests. - [#&#8203;1721](https://github.com/stripe/stripe-java/pull/1721) Report usage of `stripe_client` - Reports use of the new `StripeClient` in `X-Stripe-Client-Telemetry`. (You can disable telemetry via `Stripe.enableTelemetry = false;`, see the [README](https://github.com/stripe/stripe-java/blob/master/README.md#telemetry).) ### [`v24.11.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#24110---2024-01-12) - [#&#8203;1715](https://github.com/stripe/stripe-java/pull/1715) Update generated code - Add support for new resource `CustomerSession` - Add support for `create` method on resource `CustomerSession` - Remove support for `expand` on `BankAccountDeleteParams` and `CardDeleteParams` - Add support for `account_type`, `default_for_currency`, and `documents` on `BankAccountUpdateParams` and `CardUpdateParams` - Remove support for `owner` on `BankAccountUpdateParams` and `CardUpdateParams` - Change type of `BankAccountUpdateParams.account_holder_type` and `CardUpdateParams.account_holder_type` from `enum('company'|'individual')` to `emptyStringable(enum('company'|'individual'))` - Add support for new values `eps` and `p24` on enums `InvoiceCreateParams.payment_settings.payment_method_types[]`, `InvoiceUpdateParams.payment_settings.payment_method_types[]`, `SubscriptionCreateParams.payment_settings.payment_method_types[]`, and `SubscriptionUpdateParams.payment_settings.payment_method_types[]` - Remove support for value `obligation` from enum `reporting.ReportRunCreateParams.parameters.reporting_category` - Add support for `billing_cycle_anchor_config` on `SubscriptionCreateParams` and `Subscription` - [#&#8203;1702](https://github.com/stripe/stripe-java/pull/1702) Change StripeResponseGetter to take a single APIRequest object - [#&#8203;1716](https://github.com/stripe/stripe-java/pull/1716) Add missing method overloads ### [`v24.10.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#24100---2024-01-04) - [#&#8203;1712](https://github.com/stripe/stripe-java/pull/1712) Update generated code - Add support for `retrieve` method on resource `Tax.Registration` ### [`v24.9.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2490---2023-12-22) - [#&#8203;1709](https://github.com/stripe/stripe-java/pull/1709) Update generated code - [#&#8203;1707](https://github.com/stripe/stripe-java/pull/1707) Update generated code - Add support for new resource `FinancialConnections.Transaction` - Add support for `list` and `retrieve` methods on resource `Transaction` - Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account` - Add support for `features` on `AccountSessionCreateParams.components.payouts` - Add support for `edit_payout_schedule`, `instant_payouts`, and `standard_payouts` on `AccountSession.components.payouts.features` - Change type of `Checkout.Session.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `PaymentIntent.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `SetupIntent.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `SubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]`, and `checkout.SessionCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]` from `literal('balances')` to `enum('balances'|'transactions')` - Add support for new value `transactions` on enum `financialconnections.AccountRefreshParams.features[]` - Add support for `subscriptions` and `transaction_refresh` on `FinancialConnections.Account` - Add support for `next_refresh_available_at` on `FinancialConnections.Account.balance_refresh` - Add support for new value `transactions` on enum `financialconnections.SessionCreateParams.prefetch[]` - Add support for new value `unknown` on enum `issuing.AuthorizationCreateParams.verification_data.authentication_exemption.type` - Add support for `collection_method` on `Mandate.payment_method_details.us_bank_account` - Add support for new value `challenge` on enums `PaymentIntentConfirmParams.payment_method_options.card.request_three_d_secure`, `PaymentIntentCreateParams.payment_method_options.card.request_three_d_secure`, `PaymentIntentUpdateParams.payment_method_options.card.request_three_d_secure`, `SetupIntentConfirmParams.payment_method_options.card.request_three_d_secure`, `SetupIntentCreateParams.payment_method_options.card.request_three_d_secure`, and `SetupIntentUpdateParams.payment_method_options.card.request_three_d_secure` - Add support for `mandate_options` on `PaymentIntent.payment_method_options.us_bank_account`, `PaymentIntentConfirmParams.payment_method_options.us_bank_account`, `PaymentIntentCreateParams.payment_method_options.us_bank_account`, `PaymentIntentUpdateParams.payment_method_options.us_bank_account`, `SetupIntent.payment_method_options.us_bank_account`, `SetupIntentConfirmParams.payment_method_options.us_bank_account`, `SetupIntentCreateParams.payment_method_options.us_bank_account`, and `SetupIntentUpdateParams.payment_method_options.us_bank_account` - Add support for `revolut_pay` on `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, and `PaymentMethodConfiguration` - Add support for `destination_details` on `Refund` - Add support for new value `financial_connections.account.refreshed_transactions` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]` ### [`v24.8.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2480---2023-12-14) - [#&#8203;1704](https://github.com/stripe/stripe-java/pull/1704) Update generated code - Add support for `payment_method_reuse_agreement` on `Checkout.Session.consent_collection`, `PaymentLink.consent_collection`, `PaymentLinkCreateParams.consent_collection`, and `checkout.SessionCreateParams.consent_collection` - Add support for `after_submit` on `Checkout.Session.custom_text`, `PaymentLink.custom_text`, `PaymentLinkCreateParams.custom_text`, `PaymentLinkUpdateParams.custom_text`, and - Add support for `created` on `radar.EarlyFraudWarningListParams` ### [`v24.7.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2470---2023-12-07) - [#&#8203;1700](https://github.com/stripe/stripe-java/pull/1700) Update generated code - Add support for `payment_details`, `payments`, and `payouts` on `AccountSession.components` and `AccountSessionCreateParams.components` - Add support for `features` on `AccountSession.components.account_onboarding` and `AccountSessionCreateParams.components.account_onboarding` - Add support for `inactive_message` and `restrictions` on `PaymentLinkCreateParams`, `PaymentLinkUpdateParams`, and `PaymentLink` - Add support for `transfer_group` on `PaymentLink.payment_intent_data`, `PaymentLinkCreateParams.payment_intent_data`, and `PaymentLinkUpdateParams.payment_intent_data` - Add support for `trial_settings` on `PaymentLink.subscription_data`, `PaymentLinkCreateParams.subscription_data`, and `PaymentLinkUpdateParams.subscription_data` ### [`v24.6.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2460---2023-11-30) - [#&#8203;1694](https://github.com/stripe/stripe-java/pull/1694) Update generated code - Add support for new resources `Climate.Order`, `Climate.Product`, and `Climate.Supplier` - Add support for `cancel`, `create`, `list`, `retrieve`, and `update` methods on resource `Order` - Add support for `list` and `retrieve` methods on resources `Product` and `Supplier` - Add support for `created` on `checkout.SessionListParams` - Add support for `validate_location` on `CustomerCreateParams.tax` and `CustomerUpdateParams.tax` - Add support for new values `climate_order_purchase` and `climate_order_refund` on enum `reporting.ReportRunCreateParams.parameters.reporting_category` - Add support for new values `climate.order.canceled`, `climate.order.created`, `climate.order.delayed`, `climate.order.delivered`, `climate.order.product_substituted`, `climate.product.created`, and `climate.product.pricing_updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]` ### [`v24.5.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2450---2023-11-21) - [#&#8203;1693](https://github.com/stripe/stripe-java/pull/1693) Update generated code - Add support for `electronic_commerce_indicator` and `transaction_id` on `Charge.payment_method_details.card.three_d_secure` and `SetupAttempt.payment_method_details.card.three_d_secure` - Add support for `exemption_indicator_applied` and `exemption_indicator` on `Charge.payment_method_details.card.three_d_secure` - Add support for `three_d_secure` on `PaymentIntentConfirmParams.payment_method_options.card`, `PaymentIntentCreateParams.payment_method_options.card`, `PaymentIntentUpdateParams.payment_method_options.card`, `SetupIntentConfirmParams.payment_method_options.card`, `SetupIntentCreateParams.payment_method_options.card`, and `SetupIntentUpdateParams.payment_method_options.card` ### [`v24.4.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2440---2023-11-21) - [#&#8203;1690](https://github.com/stripe/stripe-java/pull/1690) Update generated code - Add support for `offline` on `Charge.payment_method_details.card_present` - Add support for `system_trace_audit_number` on `Issuing.Authorization.network_data` - Add support for `transaction_id` on `Issuing.Authorization.network_data` and `Issuing.Transaction.network_data` - Add support for `network_risk_score` on `Issuing.Authorization.pending_request` and `Issuing.Authorization.request_history[]` - Add support for `requested_at` on `Issuing.Authorization.request_history[]` - Add support for `authorization_code` on `Issuing.Transaction.network_data` ### [`v24.3.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2430---2023-11-16) - [#&#8203;1685](https://github.com/stripe/stripe-java/pull/1685) Update generated code - Add support for `status` on `checkout.SessionListParams` - [#&#8203;1683](https://github.com/stripe/stripe-java/pull/1683) Update generated code - Add support for `bacs_debit_payments` on `AccountCreateParams.settings` and `AccountUpdateParams.settings` - Add support for `service_user_number` on `Account.settings.bacs_debit_payments` - Add support for `capture_before` on `Charge.payment_method_details.card` - Add support for `paypal` on `Checkout.Session.payment_method_options` - Add support for `tax_amounts` on `CreditNoteCreateParams.lines[]`, `CreditNotePreviewLinesParams.lines[]`, and `CreditNotePreviewParams.lines[]` - Add support for `network_data` on `Issuing.Transaction` ### [`v24.2.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2420---2023-11-09) - [#&#8203;1679](https://github.com/stripe/stripe-java/pull/1679) Update generated code - Add support for `metadata` on `Quote.subscription_data`, `QuoteCreateParams.subscription_data`, and `QuoteUpdateParams.subscription_data` ### [`v24.1.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2410---2023-11-02) - [#&#8203;1677](https://github.com/stripe/stripe-java/pull/1677) Update generated code - Add support for new resource `Tax.Registration` - Add support for `revolut_pay` throughout the API. - Add support for `aba` and `swift` on `FundingInstructions.bank_transfer.financial_addresses[]` and `PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[]` - Add support for `url` on `Issuing.Authorization.merchant_data`, `Issuing.Transaction.merchant_data`, `issuing.AuthorizationCreateParams.merchant_data`, `issuing.TransactionCreateForceCaptureParams.merchant_data`, and `issuing.TransactionCreateUnlinkedRefundParams.merchant_data` - Add support for `authentication_exemption` and `three_d_secure` on `Issuing.Authorization.verification_data` and `issuing.AuthorizationCreateParams.verification_data` - Add support for `description` on `PaymentLink.payment_intent_data`, `PaymentLinkCreateParams.payment_intent_data`, and `PaymentLinkUpdateParams.payment_intent_data` - Add support for new value `unreconciled_customer_funds` on enum `reporting.ReportRunCreateParams.parameters.reporting_category` ### [`v24.0.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2400---2023-10-16) - This release changes the pinned API version to `2023-10-16`. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2023-10-16) and carefully review the API changes before upgrading `stripe-java`. - [#&#8203;1672](https://github.com/stripe/stripe-java/pull/1672) Update generated code - Add support for `legal_guardian` on `AccountPersonsParams.relationship` and `TokenCreateParams.person.relationship` - Add support for `additional_tos_acceptances` on `TokenCreateParams.person` - Add support for new value `2023-10-16` on enum `WebhookEndpointCreateParams.api_version` ### [`v23.10.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#23100---2023-10-16) - [#&#8203;1670](https://github.com/stripe/stripe-java/pull/1670) Update generated code - Add support for new values `issuing_token.created` and `issuing_token.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]` - [#&#8203;1671](https://github.com/stripe/stripe-java/pull/1671) Disallow falback to global response getter only in tests ### [`v23.9.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2390---2023-10-11) - [#&#8203;1668](https://github.com/stripe/stripe-java/pull/1668) Update generated code - Add support for `redirect_on_completion`, `return_url`, and `ui_mode` on `Checkout.Session` and `checkout.SessionCreateParams` - Change `checkout.SessionCreateParams.success_url` to be optional - Add support for `client_secret` on `Checkout.Session` - Add support for `postal_code` on `Issuing.Authorization.verification_data` - Add support for `offline` on `Terminal.Configuration`, `terminal.ConfigurationCreateParams`, and `terminal.ConfigurationUpdateParams` ### [`v23.8.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2380---2023-10-05) - [#&#8203;1663](https://github.com/stripe/stripe-java/pull/1663) Flow type information further into autopagination requests - [#&#8203;1662](https://github.com/stripe/stripe-java/pull/1662) Update generated code - Add support for new resource `Issuing.Token` - Add support for `list`, `retrieve`, and `update` methods on resource `Token` - Add support for `amount_authorized`, `extended_authorization`, `incremental_authorization`, `multicapture`, and `overcapture` on `Charge.payment_method_details.card` - Add support for `token` on `Issuing.Authorization` and `Issuing.Transaction` - Add support for `authorization_code` on `Issuing.Authorization.request_history[]` - Add support for `request_extended_authorization`, `request_multicapture`, and `request_overcapture` on `PaymentIntent.payment_method_options.card`, `PaymentIntentConfirmParams.payment_method_options.card`, `PaymentIntentCreateParams.payment_method_options.card`, and `PaymentIntentUpdateParams.payment_method_options.card` - Add support for `request_incremental_authorization` on `PaymentIntent.payment_method_options.card`, `PaymentIntentConfirmParams.payment_method_options.card_present`, `PaymentIntentConfirmParams.payment_method_options.card`, `PaymentIntentCreateParams.payment_method_options.card_present`, `PaymentIntentCreateParams.payment_method_options.card`, `PaymentIntentUpdateParams.payment_method_options.card_present`, and `PaymentIntentUpdateParams.payment_method_options.card` - Add support for `final_capture` on `PaymentIntentCaptureParams` - Add support for `metadata` on `PaymentLink.payment_intent_data`, `PaymentLink.subscription_data`, `PaymentLinkCreateParams.payment_intent_data`, and `PaymentLinkCreateParams.subscription_data` - Add support for `statement_descriptor_suffix` and `statement_descriptor` on `PaymentLink.payment_intent_data` and `PaymentLinkCreateParams.payment_intent_data` - Add support for `payment_intent_data` and `subscription_data` on `PaymentLinkUpdateParams` ### [`v23.7.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2370---2023-09-28) - [#&#8203;1657](https://github.com/stripe/stripe-java/pull/1657) Update generated code - Add support for `rendering` on `InvoiceCreateParams`, `InvoiceUpdateParams`, and `Invoice` ### [`v23.6.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2360---2023-09-21) - [#&#8203;1654](https://github.com/stripe/stripe-java/pull/1654) Update generated code - Add support for `terms_of_service_acceptance` on `Checkout.Session.custom_text`, `PaymentLink.custom_text`, `PaymentLinkCreateParams.custom_text`, `PaymentLinkUpdateParams.custom_text`, and `checkout.SessionCreateParams.custom_text` - [#&#8203;1655](https://github.com/stripe/stripe-java/pull/1655) CI: Drop testing for 9, 10, 12-16 ### [`v23.5.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2350---2023-09-14) - [#&#8203;1647](https://github.com/stripe/stripe-java/pull/1647) Update generated code - Add support for new resource `PaymentMethodConfiguration` - Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PaymentMethodConfiguration` - Add support for `capture`, `create`, `expire`, `increment`, and `reverse` test helper methods on resource `Issuing.Authorization` - Add support for `create_force_capture`, `create_unlinked_refund`, and `refund` test helper methods on resource `Issuing.Transaction` - Add support for `payment_method_configuration` on `PaymentIntentCreateParams`, `PaymentIntentUpdateParams`, `SetupIntentCreateParams`, `SetupIntentUpdateParams`, and `checkout.SessionCreateParams` - Add support for `payment_method_configuration_details` on `Checkout.Session`, `PaymentIntent`, and `SetupIntent` - Add support for `nonce` on `EphemeralKeyCreateParams` - Add support for `cashback_amount` on `Issuing.Authorization.amount_details`, `Issuing.Authorization.pending_request.amount_details`, `Issuing.Authorization.request_history[].amount_details`, and `Issuing.Transaction.amount_details` - Add support for `serial_number` on `terminal.ReaderListParams` - [#&#8203;1650](https://github.com/stripe/stripe-java/pull/1650) Flow response getters into Event.data.object and models deserialized via ApiResource.GSON ### [`v23.4.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2340---2023-09-07) - [#&#8203;1643](https://github.com/stripe/stripe-java/pull/1643) Update generated code - Add support for new resource `PaymentMethodDomain` - Add support for `create`, `list`, `retrieve`, `update`, and `validate` methods on resource `PaymentMethodDomain` - Add support for new value `n26` on enums `PaymentIntentConfirmParams.payment_method_data.ideal.bank`, `PaymentIntentCreateParams.payment_method_data.ideal.bank`, `PaymentIntentUpdateParams.payment_method_data.ideal.bank`, `PaymentMethodCreateParams.ideal.bank`, `SetupIntentConfirmParams.payment_method_data.ideal.bank`, `SetupIntentCreateParams.payment_method_data.ideal.bank`, and `SetupIntentUpdateParams.payment_method_data.ideal.bank` - Add support for `features` on `ProductCreateParams`, `ProductUpdateParams`, and `Product` - Remove support for value `invoiceitem.updated` from enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]` - [#&#8203;1646](https://github.com/stripe/stripe-java/pull/1646) Fix EphemeralKeyService.create ### [`v23.3.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2330---2023-08-31) - [#&#8203;1640](https://github.com/stripe/stripe-java/pull/1640) Update generated code - Add support for new resource `AccountSession` - Add support for `create` method on resource `AccountSession` - Add support for `application` on `PaymentLink` - Add support for new value `obligation` on enum `reporting.ReportRunCreateParams.parameters.reporting_category` ### [`v23.2.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2320---2023-08-24) - [#&#8203;1635](https://github.com/stripe/stripe-java/pull/1635) Update generated code - Add support for `retention` on `BillingPortal.Session.flow.subscription_cancel` and `billingportal.SessionCreateParams.flow_data.subscription_cancel` - Add support for `prefetch` on `Checkout.Session.payment_method_options.us_bank_account.financial_connections`, `FinancialConnections.Session`, `Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections`, `InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections`, `InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections`, `PaymentIntent.payment_method_options.us_bank_account.financial_connections`, `PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections`, `PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections`, `PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections`, `SetupIntent.payment_method_options.us_bank_account.financial_connections`, `SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections`, `SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections`, `SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections`, `Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections`, `SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections`, `SubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections`, `checkout.SessionCreateParams.payment_method_options.us_bank_account.financial_connections`, and `financialconnections.SessionCreateParams` - Add support for `payment_method_details` on `Dispute` - Change type of `PaymentIntentCreateParams.mandate_data` and `SetupIntentCreateParams.mandate_data` from `secret_key_param` to `emptyStringable(secret_key_param)` - Change type of `PaymentIntentConfirmParams.mandate_data` and `SetupIntentConfirmParams.mandate_data` from `secret_key_param | client_key_param` to `emptyStringable(secret_key_param | client_key_param)` - Add support for `balance_transaction` on `CustomerCashBalanceTransaction.adjusted_for_overdraft` ### [`v23.1.1`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2311---2023-08-21) - [#&#8203;1638](https://github.com/stripe/stripe-java/pull/1638) Set default API endpoints in StripeClient builder - [#&#8203;1636](https://github.com/stripe/stripe-java/pull/1636) Update v23.0.0 Changelog ### [`v23.1.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2310---2023-08-17) - [#&#8203;1634](https://github.com/stripe/stripe-java/pull/1634) Update generated code - Add support for `flat_amount` on `tax.TransactionCreateReversalParams` ### [`v23.0.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2300---2023-08-16) - This release changes the pinned API version to `2023-08-16`. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2023-08-16) and carefully review the API changes before upgrading `stripe-java`. - More information is available in the [stripe-java v23 migration guide](https://github.com/stripe/stripe-java/wiki/Migration-guide-for-v23) "⚠️" symbol highlights breaking changes. - [#&#8203;1632](https://github.com/stripe/stripe-java/pull/1632) Update generated code - ⚠️Remove support for values `custom_account_update` and `custom_account_verification` from enum `AccountLinkCreateParams.type` - These values are not fully operational. Please use `account_update` and `account_onboarding` instead (see [API reference](https://stripe.com/docs/api/account_links/create#create_account_link-type)). - ⚠️Remove support for `available_on` on `BalanceTransactionListParams` - Use of this parameter is discouraged. You may use [`.putExtraParam`](https://github.com/stripe/stripe-java/#parameters) if sending the parameter is still required. - ⚠️Remove support for `alternate_statement_descriptors`, `destination`, and `dispute` on `Charge` - Use of these fields is discouraged. - ⚠️Remove support for `shipping_rates` on `checkout.SessionCreateParams` - Please use `shipping_options` instead. - ⚠️Remove support for `coupon` and `trial_from_plan` on `checkout.SessionCreateParams.subscription_data` - Please [migrate to the Prices API](https://stripe.com/docs/billing/migration/migrating-prices), or use [`.putExtraParam`](https://github.com/stripe/stripe-java/#parameters) if sending the parameter is still required. - ⚠️Remove support for value `card_present` from enums `CustomerListPaymentMethodsParams.type` and `PaymentMethodListParams.type` - This value was not fully operational. - ⚠️Remove support for `blik` on `Mandate.payment_method_details`, `PaymentMethodUpdateParams`, `SetupAttempt.payment_method_details`, `SetupIntent.payment_method_options`, `SetupIntentConfirmParams.payment_method_options`, `SetupIntentCreateParams.payment_method_options`, and `SetupIntentUpdateParams.payment_method_options` - These fields were mistakenly released. - ⚠️Remove support for `acss_debit`, `affirm`, `au_becs_debit`, `bacs_debit`, `cashapp`, `sepa_debit`, and `zip` on `PaymentMethodUpdateParams` - These fields are empty. - ⚠️Remove support for `country` on `PaymentMethod.link` - This field was not fully operational. - ⚠️Remove support for `recurring` on `PriceUpdateParams` - This property should be set on create only. - ⚠️Remove support for `attributes`, `caption`, and `deactivate_on` on `ProductCreateParams`, `ProductUpdateParams`, and `Product` - These fields are not fully operational. - Add support for new value `2023-08-16` on enum `WebhookEndpointCreateParams.api_version` - [#&#8203;1622](https://github.com/stripe/stripe-java/pull/1622) - StripeClient - Introduces `StripeClient` and the service-based pattern, a new interface for calling the Stripe API with many benefits over the existing resource-based paradigm. - No global config: you can simultaneously use multiple clients with different configuration options (such as API keys) - No extra API calls. All API endpoints can be accessed with a single method call. You don't have to call `retrieve` before doing an `update`. - No static methods. Much easier mocking. - Visit the [migration guide](https://github.com/stripe/stripe-java/wiki/Migration-guide-for-v23) to learn more. - **Removals** - ⚠️ `ApiResource.request()`, `requestStream()`, `requestCollection()`, `requestSearchResult()` methods removed. - ⚠️ `StripeResponseGetter.oauthRequest(...)` was removed. OAuth requests are now performed via `StripeResponseGetter.request` with `ApiMode.OAuth`. - ⚠️ Deprecated `ApiResource.className()` `singleClassUrl()`, `classUrl()`, `instanceUrl()`, `subresourceUrl()` methods removed. - **Type changes** - ⚠️ `StripeResponseGetter.request(...)`, `streamRequest(...)` signatures changed. - `BaseAddress` parameter added. - `url` renamed to `path` and is a relative to the base address - `apiMode` parameter added to control how request is sent and response is handled, `V1` and `OAuth` are supported values. - ⚠️ `RequestOptions.getReadTimeout()`, `getConnectTimeout()`, `getMaxNetworkRetries()` now return `Integer` instead of `int`. - **Renames** - ⚠️ `addFullNameAliase` renamed to `addFullNameAlias` in `AccountCreateParams`, `AccountUpdateParams`, `PersonCollectionCreateParams`, `TokenCreateParams`, `PersonCollectionCreateParams`, `PersonUpdateParams`. - ⚠️ `addLookupKeys` renamed to `addLookupKey` in `PriceListParams` - **Behavior Changes** - ⚠️ `RequestOptions.getDefault()` does not apply global configuration options from `Stripe` class, all fields are initialized to `null`. - ⚠️ `RequestOptionsBuilder` does not apply global configuration options from `Stripe` class, all fields are initialized to `null`. ### [`v22.31.0`](https://github.com/stripe/stripe-java/releases/tag/v22.31.0) - [#&#8203;1623](https://github.com/stripe/stripe-java/pull/1623) Update generated code - Add support for new values `incorporated_partnership` and `unincorporated_partnership` on enums `AccountCreateParams.company.structure`, `AccountUpdateParams.company.structure`, and `TokenCreateParams.account.company.structure` See [the changelog for more details](https://github.com/stripe/stripe-java/blob/v22.31.0/CHANGELOG.md). ### [`v22.30.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#22300---2023-08-03) - [#&#8203;1620](https://github.com/stripe/stripe-java/pull/1620) Update generated code - Change many types from `string` to `emptyStringable(string)` - Add support for `subscription_details` on `Invoice` - Add support for `preferred_settlement_speed` on `PaymentIntent.payment_method_options.us_bank_account`, `PaymentIntentConfirmParams.payment_method_options.us_bank_account`, `PaymentIntentCreateParams.payment_method_options.us_bank_account`, and `PaymentIntentUpdateParams.payment_method_options.us_bank_account` - Add support for new values `sepa_debit_fingerprint` and `us_bank_account_fingerprint` on enum `radar.ValueListCreateParams.item_type` ### [`v22.29.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#22290---2023-07-27) - [#&#8203;1614](https://github.com/stripe/stripe-java/pull/1614) Update generated code - Add support for `monthly_estimated_revenue` on `Account.business_profile`, `AccountCreateParams.business_profile`, and `AccountUpdateParams.business_profile` ### [`v22.28.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#22280---2023-07-20) - [#&#8203;1611](https://github.com/stripe/stripe-java/pull/1611) Update generated code - Add support for new value `ro_tin` on enums `CustomerCreateParams.tax_id_data[].type`, `InvoiceUpcomingLinesParams.customer_details.tax_ids[].type`, `InvoiceUpcomingParams.customer_details.tax_ids[].type`, and `tax.CalculationCreateParams.customer_details.tax_ids[].type` - Add support for `use_stripe_sdk` on `SetupIntentConfirmParams` and `SetupIntentCreateParams` - Add support for new value `service_tax` on enums `TaxRateCreateParams.tax_type` and `TaxRateUpdateParams.tax_type` - [#&#8203;1609](https://github.com/stripe/stripe-java/pull/1609) Update generated code - Add support for new value `ro_tin` on enums `CustomerCreateParams.tax_id_data[].type`, `InvoiceUpcomingLinesParams.customer_details.tax_ids[].type`, `InvoiceUpcomingParams.customer_details.tax_ids[].type`, and `tax.CalculationCreateParams.customer_details.tax_ids[].type` - Add support for `use_stripe_sdk` on `SetupIntentConfirmParams` and `SetupIntentCreateParams` - Add support for new value `service_tax` on enums `TaxRateCreateParams.tax_type` and `TaxRateUpdateParams.tax_type` - [#&#8203;1610](https://github.com/stripe/stripe-java/pull/1610) Changelog: fix namespaced param names ### [`v22.27.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#22270---2023-07-13) - [#&#8203;1606](https://github.com/stripe/stripe-java/pull/1606) Update generated code - Add support for new resource `Tax.Settings` - Add support for `retrieve` and `update` methods on resource `Settings` - Add support for `order_id` on `Charge.payment_method_details.afterpay_clearpay` - Add support for `allow_redirects` on `PaymentIntent.automatic_payment_methods`, `PaymentIntentCreateParams.automatic_payment_methods`, `SetupIntent.automatic_payment_methods`, and `SetupIntentCreateParams.automatic_payment_methods` - Add support for `product` on `Tax.TransactionLineItem` - Add support for new value `tax.settings.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]` ### [`v22.26.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#22260---2023-07-06) - [#&#8203;1601](https://github.com/stripe/stripe-java/pull/1601) Update generated code - Add support for `numeric` and `text` on `PaymentLink.custom_fields[]` - Add support for `automatic_tax` on `SubscriptionListParams` ### [`v22.24.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#22240---2023-06-22) - [#&#8203;1591](https://github.com/stripe/stripe-java/pull/1591) Update generated code - Add support for `on_behalf_of` on `Mandate` ### [`v22.23.1`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#22231---2023-06-09) - [#&#8203;1582](https://github.com/stripe/stripe-java/pull/1582) Bugfix: fix `Customer.retrievePaymentMethod` URL interpolation ### [`v22.23.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#22230---2023-06-08) - [#&#8203;1577](https://github.com/stripe/stripe-java/pull/1577) Update generated code - Add support for `taxability_reason` on `Tax.Calculation.tax_breakdown[]` ### [`v22.22.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#22220---2023-06-01) - [#&#8203;1569](https://github.com/stripe/stripe-java/pull/1569) Update generated code - Add support for `numeric` and `text` on `checkout.SessionCreateParams.custom_fields[]`, `PaymentLinkCreateParams.custom_fields[]`, and `PaymentLinkUpdateParams.custom_fields[]` - Add support for new values `aba` and `swift` on enums `checkout.SessionCreateParams.payment_method_options.customer_balance.bank_transfer.requested_address_types[]`, `PaymentIntentConfirmParams.payment_method_options.customer_balance.bank_transfer.requested_address_types[]`, `PaymentIntentCreateParams.payment_method_options.customer_balance.bank_transfer.requested_address_types[]`, and `PaymentIntentUpdateParams.payment_method_options.customer_balance.bank_transfer.requested_address_types[]` - Add support for new value `us_bank_transfer` on enums `checkout.SessionCreateParams.payment_method_options.customer_balance.bank_transfer.type`, `CustomerCreateFundingInstructionsParams.bank_transfer.type`, `PaymentIntentConfirmParams.payment_method_options.customer_balance.bank_transfer.type`, `PaymentIntentCreateParams.payment_method_options.customer_balance.bank_transfer.type`, and `PaymentIntentUpdateParams.payment_method_options.customer_balance.bank_transfer.type` - Add support for `maximum_length` and `minimum_length` on `Checkout.Session.custom_fields[].numeric` and `Checkout.Session.custom_fields[].text` - Add support for `preferred_locales` on `Issuing.Cardholder`, `issuing.CardholderCreateParams`, and `issuing.CardholderUpdateParams` - Add support for `description`, `iin`, and `issuer` on `PaymentMethod.card_present` and `PaymentMethod.interac_present` - Add support for `payer_email` on `PaymentMethod.paypal` - [#&#8203;1572](https://github.com/stripe/stripe-java/pull/1572) Move deserializeStripeObject to StripeObject ### [`v22.21.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#22210---2023-05-25) - [#&#8203;1566](https://github.com/stripe/stripe-java/pull/1566) Update generated code - Add support for `zip_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities` - Add support for `zip` on `Charge.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`, `PaymentMethodCreateParams`, `PaymentMethodUpdateParams`, `PaymentMethod`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data` - Add support for new value `zip` on enums `checkout.SessionCreateParams.payment_method_types[]` and `PaymentMethodCreateParams.type` - Add support for new value `zip` on enums `CustomerListPaymentMethodsParams.type` and `PaymentMethodListParams.type` - Add support for new value `zip` on enums `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` ### [`v22.20.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#22200---2023-05-19) - [#&#8203;1563](https://github.com/stripe/stripe-java/pull/1563) Update generated code - Add support for `subscription_update_confirm` and `subscription_update` on `BillingPortal.Session.flow` and `billingportal.SessionCreateParams.flow_data` - Add support for new values `subscription_update_confirm` and `subscription_update` on enum `billingportal.SessionCreateParams.flow_data.type` - Add support for `link` on `Charge.payment_method_details.card.wallet` and `PaymentMethod.card.wallet` - Add support for `buyer_id` and `cashtag` on `Charge.payment_method_details.cashapp` and `PaymentMethod.cashapp` - Add support for new values `amusement_tax` and `communications_tax` on enums `TaxRateCreateParams.tax_type` and `TaxRateUpdateParams.tax_type` ### [`v22.19.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#22190---2023-05-11) - [#&#8203;1559](https://github.com/stripe/stripe-java/pull/1559) Update generated code - Add support for `paypal` on `Charge.payment_method_details`, `checkout.SessionCreateParams.payment_method_options`, `Mandate.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`, `PaymentMethodCreateParams`, `PaymentMethod`, `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`, and `SetupIntentUpdateParams.payment_method_options` - Add support for `network_token` on `Charge.payment_method_details.card` - Add support for new value `paypal` on enums `checkout.SessionCreateParams.payment_method_types[]` and `PaymentMethodCreateParams.type` - Add support for `taxability_reason` and `taxable_amount` on `Checkout.Session.shipping_cost.taxes[]`, `Checkout.Session.total_details.breakdown.taxes[]`, `CreditNote.shipping_cost.taxes[]`, `CreditNote.tax_amounts[]`, `Invoice.shipping_cost.taxes[]`, `Invoice.total_tax_amounts[]`, `LineItem.taxes[]`, `Quote.computed.recurring.total_details.breakdown.taxes[]`, `Quote.computed.upfront.total_details.breakdown.taxes[]`, and `Quote.total_details.breakdown.taxes[]` - Add support for new value `paypal` on enums `CustomerListPaymentMethodsParams.type` and `PaymentMethodListParams.type` - Add support for new value `paypal` on enums `InvoiceCreateParams.payment_settings.payment_method_types[]`, `InvoiceUpdateParams.payment_settings.payment_method_types[]`, `SubscriptionCreateParams.payment_settings.payment_method_types[]`, and `SubscriptionUpdateParams.payment_settings.payment_method_types[]` - Add support for new value `paypal` on enums `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 value `eftpos_au` on enums `PaymentIntentConfirmParams.payment_method_options.card.network`, `PaymentIntentCreateParams.payment_method_options.card.network`, `PaymentIntentUpdateParams.payment_method_options.card.network`, `SetupIntentConfirmParams.payment_method_options.card.network`, `SetupIntentCreateParams.payment_method_options.card.network`, `SetupIntentUpdateParams.payment_method_options.card.network`, `SubscriptionCreateParams.payment_settings.payment_method_options.card.network`, and `SubscriptionUpdateParams.payment_settings.payment_method_options.card.network` - Add support for new value `paypal` on enums `PaymentLinkCreateParams.payment_method_types[]` and `PaymentLinkUpdateParams.payment_method_types[]` - Add support for `brand`, `cardholder_name`, `country`, `exp_month`, `exp_year`, `fingerprint`, `funding`, `last4`, `networks`, and `read_method` on `PaymentMethod.card_present` and `PaymentMethod.interac_present` - Add support for `preferred_locales` on `PaymentMethod.interac_present` - Add support for `effective_percentage` on `TaxRate` - Add support for `gb_bank_transfer` and `jp_bank_transfer` on `CustomerCashBalanceTransactions.funded.bank_transfer` ### [`v22.18.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#22180---2023-05-04) - [#&#8203;1555](https://github.com/stripe/stripe-java/pull/1555) Update generated code - Add support for `link` on `Checkout.Session.payment_method_options` and `checkout.SessionCreateParams.payment_method_options` - Add support for `brand`, `country`, `description`, `exp_month`, `exp_year`, `fingerprint`, `funding`, `iin`, `issuer`, `last4`, `network`, and `wallet` on `SetupAttempt.payment_method_details.card` ### [`v22.17.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#22170---2023-04-27) - [#&#8203;1551](https://github.com/stripe/stripe-java/pull/1551) Update generated code - Add support for `billing_cycle_anchor` and `proration_behavior` on `checkout.SessionCreateParams.subscription_data` - Add support for `terminal_id` on `Issuing.Authorization.merchant_data` and `Issuing.Transaction.merchant_data` - Add support for `metadata` on `PaymentIntentCaptureParams` - Add support for `checks` on `SetupAttempt.payment_method_details.card` - Add support for `tax_breakdown` on `Tax.Calculation.shipping_cost` and `Tax.Transaction.shipping_cost` - [#&#8203;1547](https://github.com/stripe/stripe-java/pull/1547) Update generated code - [#&#8203;1544](https://github.com/stripe/stripe-java/pull/1544) Update generated code ### [`v22.16.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#22160---2023-04-06) - [#&#8203;1540](https://github.com/stripe/stripe-java/pull/1540) Update generated code - Add support for `country` on `PaymentMethod.link` - Add support for `status_details` on `PaymentMethod.us_bank_account` ### [`v22.15.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#22150---2023-03-30) - [#&#8203;1536](https://github.com/stripe/stripe-java/pull/1536) Update generated code - Remove support for `create` method on resource `Tax.Transaction` - This is not a breaking change, as this method was deprecated before the Tax Transactions API was released in favor of the `createFromCalculation` method. - Add support for `export_license_id` and `export_purpose_code` on `Account.company`, `AccountCreateParams.company`, `AccountUpdateParams.company`, and `TokenCreateParams.account.company` - Add support for `amount_tip` on `terminal.ReaderPresentPaymentMethodParams` - [#&#8203;1538](https://github.com/stripe/stripe-java/pull/1538) Add missing file purpose terminal_reader_splashscreen ### [`v22.14.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#22140---2023-03-23) - [#&#8203;1531](https://github.com/stripe/stripe-java/pull/1531) Update generated code - Add support for new resources `Tax.CalculationLineItem`, `Tax.Calculation`, `Tax.TransactionLineItem`, and `Tax.Transaction` - Add support for `create` and `list_line_items` methods on resource `Calculation` - Add support for `create_from_calculation`, `create_reversal`, `create`, `list_line_items`, and `retrieve` methods on resource `Transaction` - Add support for new value `link` on enum `checkout.SessionCreateParams.payment_method_types[]` - Add support for `currency_conversion` on `Checkout.Session` - Add support for new value `link` on enums `PaymentLinkCreateParams.payment_method_types[]` and `PaymentLinkUpdateParams.payment_method_types[]` - Add support for `automatic_payment_methods` on `SetupIntentCreateParams` and `SetupIntent` ### [`v22.13.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#22130---2023-03-16) - [#&#8203;1529](https://github.com/stripe/stripe-java/pull/1529) API Updates - Add support for `cashapp_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities` - Add support for `future_requirements` and `requirements` on `BankAccount` - Add support for `cashapp` as a new payment method type throughout the API. - Add support for `country` on `Charge.payment_method_details.link` - Add support for new value `automatic_async` on enums `checkout.SessionCreateParams.payment_intent_data.capture_method`, `PaymentIntentConfirmParams.capture_method`, `PaymentIntentCreateParams.capture_method`, `PaymentIntentUpdateParams.capture_method`, and `PaymentLinkCreateParams.payment_intent_data.capture_method` - Add support for `preferred_locale` on `PaymentIntent.payment_method_options.affirm`, `PaymentIntentConfirmParams.payment_method_options.affirm`, `PaymentIntentCreateParams.payment_method_options.affirm`, and `PaymentIntentUpdateParams.payment_method_options.affirm` - Add support for `cashapp_handle_redirect_or_display_qr_code` on `PaymentIntent.next_action` and `SetupIntent.next_action` - Add support for new value `payout.reconciliation_completed` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]` - [#&#8203;1526](https://github.com/stripe/stripe-java/pull/1526) Update generated code (new) Release specs are identical. ### [`v22.12.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#22120---2023-03-09) - [#&#8203;1523](https://github.com/stripe/stripe-java/pull/1523) API Updates - Add support for `card_issuing` on `issuing.CardholderCreateParams.individual` and `issuing.CardholderUpdateParams.individual` - Add support for `cancellation_details` on `SubscriptionCancelParams`, `SubscriptionUpdateParams`, and `Subscription` ### [`v22.11.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#22110---2023-03-02) - [#&#8203;1520](https://github.com/stripe/stripe-java/pull/1520) API Updates - Add support for new values `electric_vehicle_charging`, `emergency_services_gcas_visa_use_only`, `government_licensed_horse_dog_racing_us_region_only`, `government_licensed_online_casions_online_gambling_us_region_only`, `government_owned_lotteries_non_us_region`, `government_owned_lotteries_us_region_only`, and `marketplaces` on enums `issuing.CardCreateParams.spending_controls.allowed_categories[]`, `issuing.CardCreateParams.spending_controls.blocked_categories[]`, `issuing.CardCreateParams.spending_controls.spending_limits[].categories[]`, `issuing.CardUpdateParams.spending_controls.allowed_categories[]`, `issuing.CardUpdateParams.spending_controls.blocked_categories[]`, `issuing.CardUpdateParams.spending_controls.spending_limits[].categories[]`, `issuing.CardholderCreateParams.spending_controls.allowed_categories[]`, `issuing.CardholderCreateParams.spending_controls.blocked_categories[]`, `issuing.CardholderCreateParams.spending_controls.spending_limits[].categories[]`, `issuing.CardholderUpdateParams.spending_controls.allowed_categories[]`, `issuing.CardholderUpdateParams.spending_controls.blocked_categories[]`, and `issuing.CardholderUpdateParams.spending_controls.spending_limits[].categories[]` - Add support for `reconciliation_status` on `Payout` - Add support for new value `lease_tax` on enums `TaxRateCreateParams.tax_type` and `TaxRateUpdateParams.tax_type` ### [`v22.10.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#22100---2023-02-23) - [#&#8203;1517](https://github.com/stripe/stripe-java/pull/1517) API Updates - Add support for new value `yoursafe` on enums `PaymentIntentConfirmParams.payment_method_data.ideal.bank`, `PaymentIntentCreateParams.payment_method_data.ideal.bank`, `PaymentIntentUpdateParams.payment_method_data.ideal.bank`, `PaymentMethodCreateParams.ideal.bank`, `SetupIntentConfirmParams.payment_method_data.ideal.bank`, `SetupIntentCreateParams.payment_method_data.ideal.bank`, and `SetupIntentUpdateParams.payment_method_data.ideal.bank` - Add support for new value `igst` on enums `TaxRateCreateParams.tax_type` and `TaxRateUpdateParams.tax_type` ### [`v22.9.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2290---2023-02-16) - [#&#8203;1514](https://github.com/stripe/stripe-java/pull/1514) API Updates - Add support for `refund_payment` method on resource `Terminal.Reader` - Add support for new value `name` on enums `billingportal.ConfigurationCreateParams.features.customer_update.allowed_updates[]` and `billingportal.ConfigurationUpdateParams.features.customer_update.allowed_updates[]` - Add support for `custom_fields` on `Checkout.Session`, `checkout.SessionCreateParams`, `PaymentLinkCreateParams`, `PaymentLinkUpdateParams`, and `PaymentLink` - Add support for `interac_present` on `terminal.ReaderPresentPaymentMethodParams` - Change type of `terminal.ReaderPresentPaymentMethodParams.type` from `literal('card_present')` to `enum('card_present'|'interac_present')` - Add support for `refund_payment` on `Terminal.Reader.action` ### [`v22.8.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2280---2023-02-02) - [#&#8203;1512](https://github.com/stripe/stripe-java/pull/1512) API Updates - Add support for `resume` method on resource `Subscription` - Add support for `payment_link` on `checkout.SessionListParams` - Add support for `trial_settings` on `checkout.SessionCreateParams.subscription_data`, `SubscriptionCreateParams`, `SubscriptionUpdateParams`, and `Subscription` - Add support for `shipping_cost` on `CreditNoteCreateParams`, `CreditNotePreviewLinesParams`, `CreditNotePreviewParams`, `CreditNote`, `InvoiceCreateParams`, `InvoiceUpdateParams`, and `Invoice` - Add support for `amount_shipping` on `CreditNote` and `Invoice` - Add support for `shipping_details` on `InvoiceCreateParams`, `InvoiceUpdateParams`, and `Invoice` - Add support for `subscription_resume_at` on `InvoiceUpcomingLinesParams` and `InvoiceUpcomingParams` - Change `issuing.CardholderCreateParams.individual.first_name`, `issuing.CardholderCreateParams.individual.last_name`, `issuing.CardholderUpdateParams.individual.first_name`, and `issuing.CardholderUpdateParams.individual.last_name` to be optional - Add support for `invoice_creation` on `PaymentLinkCreateParams`, `PaymentLinkUpdateParams`, and `PaymentLink` - Add support for new value `America/Ciudad_Juarez` on enum `reporting.ReportRunCreateParams.parameters.timezone` - Add support for new value `paused` on enum `SubscriptionListParams.status` - Add support for new values `customer.subscription.paused` and `customer.subscription.resumed` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]` ### [`v22.7.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2270---2023-01-26) - [#&#8203;1510](https://github.com/stripe/stripe-java/pull/1510) API Updates - Add support for new values `cs-CZ`, `el-GR`, `en-CZ`, and `en-GR` on enums `PaymentIntentConfirmParams.payment_method_options.klarna.preferred_locale`, `PaymentIntentCreateParams.payment_method_options.klarna.preferred_locale`, and `PaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale` ### [`v22.6.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2260---2023-01-19) - [#&#8203;1507](https://github.com/stripe/stripe-java/pull/1507) API Updates - Add support for `verification_session` on `EphemeralKeyCreateParams` - Add support for new values `refund.created` and `refund.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]` ### [`v22.5.1`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2251---2023-01-12) - [#&#8203;1505](https://github.com/stripe/stripe-java/pull/1505) Bump Gson to 2.10.1 ### [`v22.5.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2250---2023-01-05) - [#&#8203;1502](https://github.com/stripe/stripe-java/pull/1502) API Updates - Add support for `card_issuing` on `Issuing.Cardholder.individual` - [#&#8203;1501](https://github.com/stripe/stripe-java/pull/1501) Add fix for per-request ApiBase - [#&#8203;1476](https://github.com/stripe/stripe-java/pull/1476) Solution For "Regarding ability to override stripe api url per API re… - [#&#8203;1500](https://github.com/stripe/stripe-java/pull/1500) Deprecate ApiResource.classUrl, etc. - Mark `ApiResource.className`, `ApiResource.singleClassUrl`, `ApiResource.classUrl`, `ApiResource.instanceUrl`, and `ApiResource.subresourceUrl` as deprecated - [#&#8203;1499](https://github.com/stripe/stripe-java/pull/1499) Fix publish command ### [`v22.4.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2240---2022-12-22) - [#&#8203;1497](https://github.com/stripe/stripe-java/pull/1497) API Updates - Add support for new value `merchant_default` on enums `CashBalanceUpdateParams.settings.reconciliation_mode`, `CustomerCreateParams.cash_balance.settings.reconciliation_mode`, and `CustomerUpdateParams.cash_balance.settings.reconciliation_mode` - Add support for `using_merchant_default` on `CashBalance.settings` - [#&#8203;1496](https://github.com/stripe/stripe-java/pull/1496) Replace ReflectionCheckingTypeAdapterFactory with a ReflectionAccessFilter - [#&#8203;1491](https://github.com/stripe/stripe-java/pull/1491) Don't delombok sources ### [`v22.3.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2230---2022-12-08) - [#&#8203;1487](https://github.com/stripe/stripe-java/pull/1487) API Updates - Change `CustomerListPaymentMethodsParams.type` and `PaymentMethodListParams.type`. - Added parameterless overload of `Customer.listPaymentMethods`. ### [`v22.2.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2220---2022-12-06) - [#&#8203;1484](https://github.com/stripe/stripe-java/pull/1484) API Updates - Add support for `flow_data` on `billingportal.SessionCreateParams` - Add support for `flow` on `BillingPortal.Session` - [#&#8203;1483](https://github.com/stripe/stripe-java/pull/1483) API Updates - Add support for `india_international_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities` - Add support for `invoice_creation` on `Checkout.Session` and `checkout.SessionCreateParams` - Add support for `invoice` on `Checkout.Session` - Add support for `metadata` on `SubscriptionSchedule.phases[].items[]`, `SubscriptionScheduleCreateParams.phases[].items[]`, and `SubscriptionScheduleUpdateParams.phases[].items[]` ### [`v22.1.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2210---2022-11-17) - [#&#8203;1480](https://github.com/stripe/stripe-java/pull/1480) API Updates - Add support for `hosted_instructions_url` on `PaymentIntent.next_action.wechat_pay_display_qr_code` - [#&#8203;1479](https://github.com/stripe/stripe-java/pull/1479) API Updates - Add support for `custom_text` on `Checkout.Session`, `checkout.SessionCreateParams`, `PaymentLinkCreateParams`, `PaymentLinkUpdateParams`, and `PaymentLink` - Add support for `hosted_instructions_url` on `PaymentIntent.next_action.paynow_display_qr_code` ### [`v22.0.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2200---2022-11-16) - [#&#8203;1471](https://github.com/stripe/stripe-java/pull/1471) Next major release changes Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-11-15. "⚠️" symbol highlights breaking changes. - ⚠️ Inline several "shared" classes for consistency ([#&#8203;1455](https://github.com/stripe/stripe-java/issues/1455)) - ⚠️ Removed `LineItem.Product` property that was released by mistake. ([#&#8203;1456](https://github.com/stripe/stripe-java/issues/1456)) - ⚠️ Removed `Charges` property on `PaymentIntent` and replace it with `LatestCharge` ([#&#8203;1473](https://github.com/stripe/stripe-java/issues/1473)) - ⚠️ Removed deprecated `Amount`, `Currency`, `Description`, `Images`, `Name` properties from `SessionCreateParams.LineItem` ([#&#8203;1473](https://github.com/stripe/stripe-java/issues/1473)) - ⚠️ Remove support for `tos_shown_and_accepted` on `checkout.SessionCreateParams.payment_method_options.paynow` ([#&#8203;1473](https://github.com/stripe/stripe-java/issues/1473)) - ⚠️ Removed deprecated `Sku` resource ([#&#8203;1459](https://github.com/stripe/stripe-java/issues/1459)) - ⚠️ Removed deprecated `EphemeralKey.associatedObjects` field. ([#&#8203;1470](https://github.com/stripe/stripe-java/pull/1470)) - ⚠️ Removed `RequestOptions.getStripeVersionOverride`, `RequestOptions.setStripeVersionOverride`, and `RequestOptions.clearStripeVersionOverride` ([#&#8203;1464](https://github.com/stripe/stripe-java/issues/1464)) Use of `setStripeVersionOverride` is discouraged and can lead to unexpected errors during service calls because Java SDK class shapes are not guaranteed to match API responses on arbitrary versions. If you were using these methods in conjunction with `EphemeralKey` resource prefer the `EphemeralKeyCreateParamsBuilder.setStripeVersion`. ```java EphemeralKeyCreateParams params = EphemeralKeyCreateParams.builder() .setStripeVersion("XXXX-YY-ZZ") .build(); ``` If you have a use case that requires per-request version overrides, please file an issue on [stripe-java](https://github.com/stripe/stripe-java/issues) repository to ensure we are aware and can add first-class support for it. In the meantime you can use `unsafeSetStripeVersionOverride` method as a workaround. ```java RequestOptions.RequestOptionsBuilder builder = RequestOptions.builder(); builder.setApiKey(...) .setClientId(...); RequestOptionsBuilder.unsafeSetStripeVersionOverride(builder, "2022-11-15"); ``` - [#&#8203;1474](https://github.com/stripe/stripe-java/pull/1474) API Updates - ⚠️ Remove support for `tos_shown_and_accepted` on `checkout.SessionCreateParams.payment_method_options.paynow`. The property was mistakenly released and never worked. ### [`v21.15.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#21150---2022-11-08) - [#&#8203;1472](https://github.com/stripe/stripe-java/pull/1472) API Updates - Add support for new values `eg_tin`, `ph_tin`, and `tr_tin` on enums `CustomerCreateParams.tax_id_data[].type`, `InvoiceUpcomingLinesParams.customer_details.tax_ids[].type`, `InvoiceUpcomingParams.customer_details.tax_ids[].type`, `OrderCreateParams.tax_details.tax_ids[].type`, `OrderUpdateParams.tax_details.tax_ids[].type`, and `TaxIdCreateParams.type` - Add support for `reason_message` on `Issuing.Authorization.request_history[]` ### [`v21.14.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#21140---2022-11-03) - [#&#8203;1466](https://github.com/stripe/stripe-java/pull/1466) API Updates - Add support for `on_behalf_of` on `checkout.SessionCreateParams.subscription_data`, `SubscriptionCreateParams`, `SubscriptionSchedule.default_settings`, `SubscriptionSchedule.phases[]`, `SubscriptionScheduleCreateParams.default_settings`, `SubscriptionScheduleCreateParams.phases[]`, `SubscriptionScheduleUpdateParams.default_settings`, `SubscriptionScheduleUpdateParams.phases[]`, `SubscriptionUpdateParams`, and `Subscription` - Add support for `tax_behavior` and `tax_code` on `InvoiceItemCreateParams`, `InvoiceItemUpdateParams`, `InvoiceUpcomingLinesParams.invoice_items[]`, and `InvoiceUpcomingParams.invoice_items[]` ### [`v21.13.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#21130---2022-10-20) - [#&#8203;1461](https://github.com/stripe/stripe-java/pull/1461) API Updates - Add support for new values `jp_trn` and `ke_pin` on enums `CustomerCreateParams.tax_id_data[].type`, `InvoiceUpcomingLinesParams.customer_details.tax_ids[].type`, `InvoiceUpcomingParams.customer_details.tax_ids[].type`, `OrderCreateParams.tax_details.tax_ids[].type`, `OrderUpdateParams.tax_details.tax_ids[].type`, and `TaxIdCreateParams.type` - Add support for `tipping` on `Terminal.Reader.action.process_payment_intent.process_config` and `terminal.ReaderProcessPaymentIntentParams.process_config` ### [`v21.12.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#21120---2022-10-14) - [#&#8203;1457](https://github.com/stripe/stripe-java/pull/1457) Bugfix: Don't require global API Key when API Key is propagated from list request - [#&#8203;1458](https://github.com/stripe/stripe-java/pull/1458) API Updates - Add support for `request_log_url` on `StripeError` - Add support for `network_data` on `Issuing.Authorization` ### [`v21.11.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#21110---2022-10-06) - [#&#8203;1451](https://github.com/stripe/stripe-java/pull/1451) API Updates - Add support for new value `bank_of_china` on enums `PaymentIntentConfirmParams.payment_method_data.fpx.bank`, `PaymentIntentCreateParams.payment_method_data.fpx.bank`, `PaymentIntentUpdateParams.payment_method_data.fpx.bank`, `PaymentMethodCreateParams.fpx.bank`, `SetupIntentConfirmParams.payment_method_data.fpx.bank`, `SetupIntentCreateParams.payment_method_data.fpx.bank`, and `SetupIntentUpdateParams.payment_method_data.fpx.bank` - Add support for new values `America/Nuuk`, `Europe/Kyiv`, and `Pacific/Kanton` on enum `reporting.ReportRunCreateParams.parameters.timezone` - Add support for `klarna` on `SetupAttempt.payment_method_details` - [#&#8203;1450](https://github.com/stripe/stripe-java/pull/1450) Set JDK to 17 LTS ### [`v21.10.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#21100---2022-09-29) - [#&#8203;1448](https://github.com/stripe/stripe-java/pull/1448) API Updates - Add support for `created` on `Checkout.Session` - Add support for `setup_future_usage` on `PaymentIntent.payment_method_options.pix`, `PaymentIntentConfirmParams.payment_method_options.pix`, `PaymentIntentCreateParams.payment_method_options.pix`, and `PaymentIntentUpdateParams.payment_method_options.pix` - Deprecate `SessionCreateParams.subscription_data.items` (use the `line_items` param instead). This will be removed in the next major version. ### [`v21.9.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2190---2022-09-22) - [#&#8203;1445](https://github.com/stripe/stripe-java/pull/1445) API Updates - Add support for `terms_of_service` on `Checkout.Session.consent_collection`, `Checkout.Session.consent`, `checkout.SessionCreateParams.consent_collection`, `PaymentLink.consent_collection`, and `PaymentLinkCreateParams.consent_collection` - ⚠️ Remove support for `plan` on `checkout.SessionCreateParams.payment_method_options.card.installments`. The property was mistakenly released and never worked. - Add support for `amount` on `issuing.DisputeCreateParams` and `issuing.DisputeUpdateParams` - Add support for `statement_descriptor` on `PaymentIntentIncrementAuthorizationParams` - Add `upcomingLines` method to `Invoice` resource. ### [`v21.8.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2180---2022-09-15) - [#&#8203;1444](https://github.com/stripe/stripe-java/pull/1444) API Updates - Add support for `pix` on `Charge.payment_method_details`, `Checkout.Session.payment_method_options`, `checkout.SessionCreateParams.payment_method_options`, `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`, `PaymentMethodCreateParams`, `PaymentMethod`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data` - Add support for new value `pix` on enum `checkout.SessionCreateParams.payment_method_types[]` - Add support for new value `pix` on enums `CustomerListPaymentMethodsParams.type` and `PaymentMethodListParams.type` - Add support for `from_invoice` on `InvoiceCreateParams` and `Invoice` - Add support for `latest_revision` on `Invoice` - Add support for new value `pix` on enums `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 `pix_display_qr_code` on `PaymentIntent.next_action` - Add support for new value `pix` on enums `PaymentLinkCreateParams.payment_method_types[]` and `PaymentLinkUpdateParams.payment_method_types[]` - Add support for new value `pix` on enum `PaymentMethodCreateParams.type` - Add support for `created` on `Treasury.CreditReversal` and `Treasury.DebitReversal` ### [`v21.7.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2170---2022-09-09) - [#&#8203;1435](https://github.com/stripe/stripe-java/pull/1435) API Updates - Add support for `require_signature` on `Issuing.Card.shipping` and `issuing.CardCreateParams.shipping` ### [`v21.6.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2160---2022-09-06) - [#&#8203;1434](https://github.com/stripe/stripe-java/pull/1434) API Updates - Add support for new value `terminal_reader_splashscreen` on enum `FileListParams.purpose` - Fix `LineItem.Discount.discount` to reference the correct `Discount` class (`com.stripe.model.Discount`) ### [`v21.5.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2150---2022-08-31) - [#&#8203;1433](https://github.com/stripe/stripe-java/pull/1433) API Updates - Add support for new values `de-CH`, `en-CH`, `en-PL`, `en-PT`, `fr-CH`, `it-CH`, `pl-PL`, and `pt-PT` on enums `OrderCreateParams.payment.settings.payment_method_options.klarna.preferred_locale`, `OrderUpdateParams.payment.settings.payment_method_options.klarna.preferred_locale`, `PaymentIntentConfirmParams.payment_method_options.klarna.preferred_locale`, `PaymentIntentCreateParams.payment_method_options.klarna.preferred_locale`, and `PaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale` - Add support for `description` on `PaymentLink.subscription_data` and `PaymentLinkCreateParams.subscription_data` - [#&#8203;1432](https://github.com/stripe/stripe-java/pull/1432) Update README badge - [#&#8203;1431](https://github.com/stripe/stripe-java/pull/1431) Update coveralls to only run for one java version ### [`v21.4.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2140---2022-08-26) - [#&#8203;1430](https://github.com/stripe/stripe-java/pull/1430) API Updates - Add support for `login_page` on `BillingPortal.Configuration`, `billingportal.ConfigurationCreateParams`, and `billingportal.ConfigurationUpdateParams` - Add support for `customs` and `phone_number` on `Issuing.Card.shipping` and `issuing.CardCreateParams.shipping` - Add support for new value `deutsche_bank_ag` on enums `PaymentIntentConfirmParams.payment_method_data.eps.bank`, `PaymentIntentCreateParams.payment_method_data.eps.bank`, `PaymentIntentUpdateParams.payment_method_data.eps.bank`, `PaymentMethodCreateParams.eps.bank`, `SetupIntentConfirmParams.payment_method_data.eps.bank`, `SetupIntentCreateParams.payment_method_data.eps.bank`, and `SetupIntentUpdateParams.payment_method_data.eps.bank` - Add support for `description` on `Quote.subscription_data`, `QuoteCreateParams.subscription_data`, `QuoteUpdateParams.subscription_data`, `SubscriptionSchedule.default_settings`, `SubscriptionSchedule.phases[]`, `SubscriptionScheduleCreateParams.default_settings`, `SubscriptionScheduleCreateParams.phases[]`, `SubscriptionScheduleUpdateParams.default_settings`, and `SubscriptionScheduleUpdateParams.phases[]` - [#&#8203;1428](https://github.com/stripe/stripe-java/pull/1428) Show test coverage in README - [#&#8203;1427](https://github.com/stripe/stripe-java/pull/1427) Update README.md to clarify that API version can only be change in beta ### [`v21.3.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2130---2022-08-23) - [#&#8203;1422](https://github.com/stripe/stripe-java/pull/1422) API Updates - Add support for new resource `CustomerCashBalanceTransaction` - Remove support for value `paypal` from enums `OrderCreateParams.payment.settings.payment_method_types[]` and `OrderUpdateParams.payment.settings.payment_method_types[]` - Add support for `currency` on `PaymentLink` - Add support for `network` on `SetupIntentConfirmParams.payment_method_options.card`, `SetupIntentCreateParams.payment_method_options.card`, `SetupIntentUpdateParams.payment_method_options.card`, `Subscription.payment_settings.payment_method_options.card`, `SubscriptionCreateParams.payment_settings.payment_method_options.card`, and `SubscriptionUpdateParams.payment_settings.payment_method_options.card` - Change `treasury.OutboundTransferCreateParams.destination_payment_method` to be optional - Add support for new value `customer_cash_balance_transaction.created` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]` - Change the return type of `Customer.fundCashBalance` test helper from `CustomerBalanceTransaction` to `CustomerCashBalanceTransaction`. - This would generally be considered a breaking change, but we've worked with all existing users to migrate and are comfortable releasing this as a minor as it is solely a test helper method. This was essentially broken prior to this change. - [#&#8203;1425](https://github.com/stripe/stripe-java/pull/1425) Add beta readme.md section - [#&#8203;1423](https://github.com/stripe/stripe-java/pull/1423) chore: Remove unused variable from SearchPagingIteratorTest. - [#&#8203;1421](https://github.com/stripe/stripe-java/pull/1421) Add a support section to the readme - [#&#8203;1420](https://github.com/stripe/stripe-java/pull/1420) Fix outdated test comment - [#&#8203;1418](https://github.com/stripe/stripe-java/pull/1418) Fix latest JAR hyperlink and related tests - [#&#8203;1419](https://github.com/stripe/stripe-java/pull/1419) Fix makefile indentation and improve regex ### [`v21.2.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2120---2022-08-11) - [#&#8203;1416](https://github.com/stripe/stripe-java/pull/1416) API Updates - Add support for `payment_method_collection` on `Checkout.Session`, `checkout.SessionCreateParams`, `PaymentLinkCreateParams`, `PaymentLinkUpdateParams`, and `PaymentLink` - [#&#8203;1414](https://github.com/stripe/stripe-java/pull/1414) Stop publishing javadoc for beta Java SDKs ### [`v21.1.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2110---2022-08-09) - [#&#8203;1413](https://github.com/stripe/stripe-java/pull/1413) API Updates - Add support for `process_config` on `Terminal.Reader.action.process_payment_intent` - [#&#8203;1412](https://github.com/stripe/stripe-java/pull/1412) API Updates - Add support for `expires_at` on `Apps.Secret` and `apps.SecretCreateParams` ### [`v21.0.0`](https://github.com/stripe/stripe-java/blob/HEAD/CHANGELOG.md#2100---2022-08-02) This release includes breaking changes resulting from: - Moving to use the new API version "2022-08-01". To learn more about these changes to Stripe products, see https://stripe.com/docs/upgrades#2022-08-01 - Cleaning up the SDK to remove deprecated/unused APIs and rename classes/methods/properties to sync with product APIs. Read more detailed description at https://github.com/stripe/stripe-java/wiki/Migration-guide-for-v21. "⚠️" symbol highlights breaking changes. - [#&#8203;1409](https://github.com/stripe/stripe-java/pull/1409) API Updates - [#&#8203;1407](https://github.com/stripe/stripe-java/pull/1407) Next major release changes ##### Added - Add `ApiKeyMissingException`. - Add `validate` field to `CustomerCreateParams`. - Add `validate` field to `CustomerUpdateParams`. - Add `validate` field to `PaymentSourceCollectionCreateParams`. - Add `shippingCost`, `shippingDetails`, and `shippingOptions` properties to `checkout.Session` resource. - Add support for `shipping_cost` and `shipping_details` on `Checkout.Session` - Add support for new value `2022-08-01` on enum `WebhookEndpointCreateParams.api_version` ##### ⚠️ Removed - Removed deprecated `AlipayAccount` and related classes. - Removed deprecated `BitcoinReceiver` and related classes. - Removed deprecated `BitcoinTransaction` and related classes. - Removed deprecated `Recipient` and related classes. - Removed deprecated `IssuerFraudRecord` and related classes. - Removed deprecated `Order` and related classes. - Removed deprecated `ThreeDSecure` and related classes. - Removed unused `QuoteFinalizeParams`, `QuoteCollectionListParams` classes. - Removed unused `BillingDetails` class. - Removed `CashBalance.retrieveCashBalance` method. Prefer `CashBalance.retrieve`. - Removed `Rule.getDeleted` method. The property was never populated and always had the default value of `false`. - Removed `LineItem.getDeleted` method. The property was never populated and always had the default value of `false`. - Removed public constructors from `TestHelper` inner classes and made them static. - Removed instance `Account.refresh`, `Account.disconnect` methods. - Removed deprecated `TREASURY__RECEIVED_CREDIT__REVERSED`, `TREASURY__RECEIVED_DEBIT__CREATED`, `ORDER__UPDATED`, `ORDER_RETURN__CREATED`, `ORDER__PAYMENT_SUCCEEDED`, `TRANSFER__FAILED`, `TRANSFER__PAID` webhook events. - Removed deprecated `LoginLink.redirectUrl` property. - Removed deprecated `Charge.order` property. - Removed deprecated `Card.recipient` property. - Removed `defaultCurrency` property from `Customer` resource. Please use `Currency` property instead. - Removed `shipping` and `shippingOptions` properties from `checkout.Session` resource. Please use `shippingCost`, `shippingDetails`, and `shippingOptions` properties instead. - Removed `InitiatingPaymentMethodDetails` class ##### ⚠️ Changed - Default API version changed to "2022-07-28". - Changed `CashBalance.retrieve` method from an instance to a static. - Renamed `PaymentIntent.FinancialAddresses` class to `FinancialAddress`. - Check that apiKey is set (either globally or via request options) in `StripeCollection.autoPagingIterable` and `StripeSearchResult.autoPagingIterable`, and throw an exception if it is not. - Changed type of `businessType` field in `AccountCreateParams` from `Object` to `BusinessType` </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzAuMiIsInVwZGF0ZWRJblZlciI6IjM5LjIzMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Renovate added 1 commit 2025-04-02 10:02:33 +00:00
fix(deps): update dependencies (major and minor)
Some checks failed
CI / Get Changed Files (pull_request) Successful in 7s
CI / eslint (pull_request) Successful in 30s
CI / test-build (pull_request) Successful in 37s
CI / prettier (pull_request) Successful in 1m2s
CI / Checkstyle Main (pull_request) Failing after 2m20s
9981ebc9d1
jank closed this pull request 2025-04-02 10:23:47 +00:00
Commenting is not possible because the repository is archived.
No reviewers
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: SZUT/casino#118
No description provided.