Skip to content

Releases: stripe/stripe-java

v28.3.0-beta.2

18 Jan 00:33
Compare
Choose a tag to compare
v28.3.0-beta.2 Pre-release
Pre-release
  • #1935 Update generated code for beta
    • Add support for pay_by_bank_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
    • Add support for directorship_declaration on 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 tax_threshold_monitoring on AccountSessionCreateParams.components
    • Add support for financial_account_transactions, financial_account, issuing_card, and issuing_cards_list on AccountSession.components
    • Add support for new value always_invoice on enums billingportal.ConfigurationCreateParams.features.subscription_cancel.proration_behavior and billingportal.ConfigurationUpdateParams.features.subscription_cancel.proration_behavior
    • 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 new value pay_by_bank on enum 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 CustomerListPaymentMethodsParams.type, PaymentMethodCreateParams.type, and PaymentMethodListParams.type
    • Add support for new value pay_by_bank on enums PaymentLinkCreateParams.payment_method_types[] and PaymentLinkUpdateParams.payment_method_types[]
    • Add support for jpy on Terminal.Configuration.tipping, terminal.ConfigurationCreateParams.tipping, and terminal.ConfigurationUpdateParams.tipping
    • Add support for new value 2025-01-27.acacia on enum WebhookEndpointCreateParams.api_version

See the changelog for more details.

v28.3.0-beta.1

09 Jan 21:37
Compare
Choose a tag to compare
v28.3.0-beta.1 Pre-release
Pre-release
  • #1932 Update generated code for beta
    • Add support for close method on resource Treasury.FinancialAccount
    • Add support for ownership_exemption_reason on Account.company, AccountCreateParams.company, AccountUpdateParams.company, and TokenCreateParams.account.company
    • Add support for directorship_declaration on Account.company
    • 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
    • Remove support for value always_invoice from enums billingportal.ConfigurationCreateParams.features.subscription_cancel.proration_behavior and billingportal.ConfigurationUpdateParams.features.subscription_cancel.proration_behavior
    • Add support for brand_product on Card, Source.card_present, Source.card, and Source.three_d_secure
    • Add support for country on Charge.payment_method_details.paypal, ConfirmationToken.payment_method_preview.paypal, and PaymentMethod.paypal
    • Add support for new value al_tin on enums OrderCreateParams.tax_details.tax_ids[].type and OrderUpdateParams.tax_details.tax_ids[].type
    • Add support for phone_number_collection on PaymentLinkUpdateParams
    • 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
    • Add support for financial_account on Treasury.OutboundTransfer.destination_payment_method_details
    • 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

See the changelog for more details.

v28.2.0

18 Dec 23:38
Compare
Choose a tag to compare
  • #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

See the changelog for more details.

v28.2.0-beta.4

12 Dec 22:55
Compare
Choose a tag to compare
v28.2.0-beta.4 Pre-release
Pre-release
  • #1929 Update generated code for beta
    • Add support for allow_redisplay on Card and Source
    • Add support for new values 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 OrderCreateParams.tax_details.tax_ids[].type and OrderUpdateParams.tax_details.tax_ids[].type
    • Remove support for amount_refunded on PaymentRecord
    • Add support for account on Terminal.Reader.action.collect_payment_method, Terminal.Reader.action.confirm_payment_intent, Terminal.Reader.action.process_payment_intent, and Terminal.Reader.action.refund_payment

See the changelog for more details.

v28.2.0-beta.3

06 Dec 21:59
Compare
Choose a tag to compare
v28.2.0-beta.3 Pre-release
Pre-release
  • #1930 Change types for capital FinancingSummary back to BigDecimal
    • The type for Capital.FinancingSummary.Details.advancePaidOutAt, Capital.FinancingSummary.Details.repaymentsBeginAt, Capital.FinancingSummary.Details.CurrentRepaymentInterval.repaymentsBeginAt have been changed to BigDecimal to reflect the API

See the changelog for more details.

v28.2.0-beta.2

05 Dec 21:21
Compare
Choose a tag to compare
v28.2.0-beta.2 Pre-release
Pre-release
  • #1926 Update generated code for beta
    • Add support for automatic_indirect_tax on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
    • Add support for reference_prefix on Checkout.Session.payment_method_options.bacs_debit.mandate_options, Checkout.Session.payment_method_options.sepa_debit.mandate_options, Order.payment.settings.payment_method_options.sepa_debit.mandate_options, OrderCreateParams.payment.settings.payment_method_options.sepa_debit.mandate_options, OrderUpdateParams.payment.settings.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 disabled_reason on Invoice.automatic_tax, Subscription.automatic_tax, SubscriptionSchedule.default_settings.automatic_tax, and SubscriptionSchedule.phases[].automatic_tax
    • Add support for trial_period_days on PaymentLinkUpdateParams.subscription_data

See the changelog for more details.

v28.2.0-beta.1

21 Nov 21:08
Compare
Choose a tag to compare
v28.2.0-beta.1 Pre-release
Pre-release
  • #1924 Update generated code for beta
    • 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 funding on Charge.payment_method_details.amazon_pay and Charge.payment_method_details.revolut_pay
    • Add support for amount_requested and partial_authorization on Charge.payment_method_details.card
    • Add support for metadata on LineItem and checkout.SessionCreateParams.line_items[]
    • Add support for line_items on Checkout.Session.permissions.update, checkout.SessionCreateParams.permissions.update, and checkout.SessionUpdateParams
    • Add support for adjustable_quantity and display on LineItem
    • Add support for request_partial_authorization 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 payment_method_options on PaymentIntentIncrementAuthorizationParams
    • Add support for new value invoice.overpaid on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]

See the changelog for more details.

v28.1.0

20 Nov 23:32
Compare
Choose a tag to compare
  • #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

See the changelog for more details.

v28.1.0-beta.3

14 Nov 23:59
Compare
Choose a tag to compare
v28.1.0-beta.3 Pre-release
Pre-release
  • #1922 Update generated code for beta
    • 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 new value subscribe on enum PaymentLinkUpdateParams.submit_type

See the changelog for more details.

v28.1.0-beta.2

07 Nov 22:12
Compare
Choose a tag to compare
v28.1.0-beta.2 Pre-release
Pre-release
  • #1917 Update generated code for beta
    • Add support for new resources Issuing.FraudLiabilityDebit, PaymentAttemptRecord, and PaymentRecord
    • Add support for list and retrieve methods on resources FraudLiabilityDebit and PaymentAttemptRecord
    • Add support for report_payment_attempt_canceled, report_payment_attempt_failed, report_payment_attempt_guaranteed, report_payment_attempt, report_payment, and retrieve methods on resource PaymentRecord
    • Remove support for money_movement on AccountSessionCreateParams.components.financial_account.features
    • Add support for card_management, card_spend_dispute_management, cardholder_management, and spend_control_management on AccountSessionCreateParams.components.issuing_card.features
    • Add support for disable_stripe_user_authentication on AccountSessionCreateParams.components.issuing_cards_list.features
    • 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_decremental_authorization, 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 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, OrderCreateParams.tax_details.tax_ids[].type, OrderUpdateParams.tax_details.tax_ids[].type, TaxIdCreateParams.type, and tax.CalculationCreateParams.customer_details.tax_ids[].type
    • 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 custom 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 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 payment_record_data and payment_record on InvoiceAttachPaymentParams
    • Remove support for out_of_band_payment on InvoiceAttachPaymentParams
    • Add support for amount_overpaid on Invoice
    • Add support for merchant_amount and merchant_currency on issuing.AuthorizationCreateParams
    • Change issuing.AuthorizationCreateParams.amount to be optional
    • 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 new values invoice.payment_attempt_required and issuing_fraud_liability_debit.created on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]

See the changelog for more details.