Skip to content

Releases: stripe/stripe-java

v24.23.0

04 Apr 22:23
Compare
Choose a tag to compare
  • #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

See the changelog for more details.

v24.23.0-beta.1

28 Mar 19:39
Compare
Choose a tag to compare
v24.23.0-beta.1 Pre-release
Pre-release
  • #1771 Update generated code for beta
    • Add support for financial_account_transactions, financial_account, issuing_card, and issuing_cards_list on AccountSessionCreateParams.components
    • Remove support for subscription_billing_cycle_anchor, subscription_cancel_at_period_end, subscription_cancel_at, subscription_cancel_now, subscription_default_tax_rates, subscription_items, subscription_prebilling, subscription_proration_behavior, subscription_proration_date, subscription_resume_at, subscription_start_date, and subscription_trial_end on InvoiceCreatePreviewParams

See the changelog for more details.

v24.22.0

28 Mar 19:15
Compare
Choose a tag to compare
  • #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

See the changelog for more details.

v24.22.0-beta.1

21 Mar 22:23
Compare
Choose a tag to compare
v24.22.0-beta.1 Pre-release
Pre-release
  • #1766 Update generated code for beta
    • Add support for new resources Entitlements.ActiveEntitlementSummary and Entitlements.ActiveEntitlement
    • Add support for list method on resource ActiveEntitlement
    • Add support for mobilepay on ConfirmationToken.payment_method_preview and ConfirmationTokenCreateParams.payment_method_data
    • Add support for new value mobilepay on enum ConfirmationTokenCreateParams.payment_method_data.type
    • Add support for use_stripe_sdk on ConfirmationToken
    • Remove support for payment_method on ConfirmationToken
    • Add support for metadata on Entitlements.Feature and entitlements.FeatureCreateParams
    • Add support for active on Entitlements.Feature
    • Add support for new value entitlements.active_entitlement_summary.updated on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]
    • Remove support for value customer.entitlement_summary.updated from enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]

See the changelog for more details.

v24.21.0

21 Mar 21:04
Compare
Choose a tag to compare
  • #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

See the changelog for more details.

v24.21.0-beta.1

14 Mar 23:04
Compare
Choose a tag to compare
v24.21.0-beta.1 Pre-release
Pre-release
  • #1765 Update generated code for beta
    • 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 create test helper method on resource ConfirmationToken
    • Add support for add_lines, remove_lines, and update_lines methods on resource Invoice
    • Add support for multibanco on ConfirmationToken.payment_method_preview, 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 new value multibanco on enums CustomerListPaymentMethodsParams.type, PaymentMethodCreateParams.type, and PaymentMethodListParams.type
    • Add support for second_line on Issuing.PhysicalBundle.features
    • Add support for new value multibanco 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 multibanco_display_details on PaymentIntent.next_action
    • Add support for meter on PlanCreateParams, Plan, Price.recurring, PriceCreateParams.recurring, and PriceListParams.recurring

See the changelog for more details.

v24.20.0

14 Mar 21:51
Compare
Choose a tag to compare
  • #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

See the changelog for more details.

v24.20.0-beta.1

07 Mar 23:59
Compare
Choose a tag to compare
v24.20.0-beta.1 Pre-release
Pre-release
  • #1757 Update generated code for beta
    • Add support for new value billing_period_end on enums QuoteCreateParams.lines[].ends_at.type and QuoteUpdateParams.lines[].ends_at.type

See the changelog for more details.

v24.19.0

07 Mar 23:41
Compare
Choose a tag to compare
  • #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

See the changelog for more details.

v24.19.0-beta.1

29 Feb 20:46
Compare
Choose a tag to compare
v24.19.0-beta.1 Pre-release
Pre-release
  • #1751 Update generated code for beta
    • Remove support for resource Entitlements.Event
    • Remove support for quantity and type on Entitlements.Feature and entitlements.FeatureCreateParams
    • Add support for livemode on Issuing.PersonalizationDesign
    • Add support for application_fee_amount, description, metadata, and transfer_data on PaymentIntentDecrementAuthorizationParams
    • Add support for enable_customer_cancellation on Terminal.Reader.action.collect_payment_method.collect_config and terminal.ReaderCollectPaymentMethodParams.collect_config
  • #1752 Add helper for setting beta versions

See the changelog for more details.