Skip to content

Releases: stripe/stripe-java

v29.6.0-alpha.1

28 Aug 12:50
Compare
Choose a tag to compare
v29.6.0-alpha.1 Pre-release
Pre-release
  • #2033 Update generated code for private-preview
    • Add support for attach_cadence method on resource Subscription
    • Add support for currency and externalCustomerId on billing.AlertTriggered
    • Add support for customPricingUnit on billing.AlertTriggered, billing.CreditBalanceSummary.balances[].available_balance, billing.CreditBalanceSummary.balances[].ledger_balance, billing.CreditBalanceTransaction.credit.amount, billing.CreditBalanceTransaction.debit.amount, billing.CreditGrant.amount, and billing.CreditGrantCreateParams.amount
    • Add support for customer on billing.AlertListParams
    • Change type of billing.Alert.alertType, billing.AlertCreateParams.alertType, and billing.AlertListParams.alertType from literal('usage_threshold') to enum('credit_balance_threshold'|'usage_threshold')
    • Add support for creditBalanceThreshold on billing.AlertCreateParams and billing.Alert
    • Add support for billableItems on billing.CreditBalanceSummaryRetrieveParams.filter.applicability_scope, billing.CreditGrant.applicability_config.scope, and billing.CreditGrantCreateParams.applicability_config.scope
    • Change type of billing.CreditBalanceSummary.balances[].available_balance.type, billing.CreditBalanceSummary.balances[].ledger_balance.type, billing.CreditBalanceTransaction.credit.amount.type, billing.CreditBalanceTransaction.debit.amount.type, billing.CreditGrant.amount.type, and billing.CreditGrantCreateParams.amount.type from literal('monetary') to enum('custom_pricing_unit'|'monetary')
    • Add support for licenseFeeSubscriptionDetails and rateCardSubscriptionDetails on InvoiceItem.parent and InvoiceLineItem.parent
    • Change type of InvoiceItem.parent.type from literal('subscription_details') to enum('license_fee_subscription_details'|'rate_card_subscription_details'|'subscription_details')
    • Add support for licenseFeeDetails and rateCardRateDetails on InvoiceItem.pricing and InvoiceLineItem.pricing
    • Change type of InvoiceItem.pricing.type and InvoiceLineItem.pricing.type from literal('price_details') to enum('license_fee_details'|'price_details'|'rate_card_rate_details')
    • Add support for billingCadence on InvoiceCreatePreviewParams, SubscriptionCreateParams, and Subscription
    • Add support for billingCadenceDetails on Invoice.parent and QuotePreviewInvoice.parent
    • Add support for new resources v2.billing.BillSettingVersion, v2.billing.BillSetting, v2.billing.Cadence, v2.billing.CollectionSettingVersion, v2.billing.CollectionSetting, v2.billing.CustomPricingUnit, v2.billing.IntentAction, v2.billing.Intent, v2.billing.LicenseFeeSubscription, v2.billing.LicenseFeeVersion, v2.billing.LicenseFee, v2.billing.LicensedItem, v2.billing.MeteredItem, v2.billing.PricingPlanComponent, v2.billing.PricingPlanSubscription, v2.billing.PricingPlanVersion, v2.billing.PricingPlan, v2.billing.Profile, v2.billing.RateCardRate, v2.billing.RateCardSubscription, v2.billing.RateCardVersion, v2.billing.RateCard, v2.billing.ServiceAction, v2.core.ClaimableSandbox, v2.reporting.ReportRun, v2.reporting.Report, and v2.tax.AutomaticRule
    • Add support for create, deactivate, find, retrieve, and update methods on resource v2.tax.AutomaticRule
    • Add support for create and retrieve methods on resources v2.billing.ServiceAction and v2.reporting.ReportRun
    • Add support for retrieve method on resources v2.billing.LicenseFeeSubscription and v2.reporting.Report
    • Add support for create method on resources v2.core.ClaimableSandbox
    • Add support for cancel, create, list, retrieve, and update methods on resources v2.billing.Cadence and v2.billing.RateCardSubscription
    • Add support for create, list, retrieve, and update methods on resources v2.billing.BillSetting, v2.billing.CollectionSetting, v2.billing.CustomPricingUnit, v2.billing.LicenseFee, v2.billing.LicensedItem, v2.billing.MeteredItem, v2.billing.PricingPlan, v2.billing.Profile, and v2.billing.RateCard
    • Add support for list and retrieve methods on resources v2.billing.BillSettingVersion, v2.billing.CollectionSettingVersion, v2.billing.IntentAction, v2.billing.LicenseFeeVersion, v2.billing.PricingPlanSubscription, v2.billing.PricingPlanVersion, and v2.billing.RateCardVersion
    • Add support for create, delete, list, and retrieve methods on resource v2.billing.RateCardRate
    • Add support for create, delete, list, retrieve, and update methods on resource v2.billing.PricingPlanComponent
    • Add support for cancel, commit, create, list, release_reservation, reserve, and retrieve methods on resource v2.billing.Intent
    • Add support for changes on v2.Event
    • Add support for thin events V2BillingCadenceBilledEvent, V2BillingCadenceCanceledEvent, V2BillingCadenceCreatedEvent, and V2BillingCadenceErroredEvent with related object v2.billing.Cadence
    • Add support for thin events V2BillingLicenseFeeCreatedEvent and V2BillingLicenseFeeUpdatedEvent with related object v2.billing.LicenseFee
    • Add support for thin event V2BillingLicenseFeeVersionCreatedEvent with related object v2.billing.LicenseFeeVersion
    • Add support for thin events V2BillingLicensedItemCreatedEvent and V2BillingLicensedItemUpdatedEvent with related object v2.billing.LicensedItem
    • Add support for thin events V2BillingMeteredItemCreatedEvent and V2BillingMeteredItemUpdatedEvent with related object v2.billing.MeteredItem
    • Add support for thin events V2BillingPricingPlanCreatedEvent and V2BillingPricingPlanUpdatedEvent with related object v2.billing.PricingPlan
    • Add support for thin events V2BillingPricingPlanComponentCreatedEvent and V2BillingPricingPlanComponentUpdatedEvent with related object v2.billing.PricingPlanComponent
    • Add support for thin events V2BillingPricingPlanSubscriptionCollectionAwaitingCustomerActionEvent, V2BillingPricingPlanSubscriptionCollectionCurrentEvent, V2BillingPricingPlanSubscriptionCollectionPastDueEvent, V2BillingPricingPlanSubscriptionCollectionPausedEvent, V2BillingPricingPlanSubscriptionCollectionUnpaidEvent, V2BillingPricingPlanSubscriptionServicingActivatedEvent, V2BillingPricingPlanSubscriptionServicingCanceledEvent, and V2BillingPricingPlanSubscriptionServicingPausedEvent with related object v2.billing.PricingPlanSubscription
    • Add support for thin event V2BillingPricingPlanVersionCreatedEvent with related object v2.billing.PricingPlanVersion
    • Add support for thin events V2BillingRateCardCreatedEvent and V2BillingRateCardUpdatedEvent with related object v2.billing.RateCard
    • Add support for thin event V2BillingRateCardRateCreatedEvent with related object v2.billing.RateCardRate
    • Add support for thin events V2BillingRateCardSubscriptionActivatedEvent, V2BillingRateCardSubscriptionCanceledEvent, V2BillingRateCardSubscriptionCollectionAwaitingCustomerActionEvent, V2BillingRateCardSubscriptionCollectionCurrentEvent, V2BillingRateCardSubscriptionCollectionPastDueEvent, V2BillingRateCardSubscriptionCollectionPausedEvent, V2BillingRateCardSubscriptionCollectionUnpaidEvent, V2BillingRateCardSubscriptionServicingActivatedEvent, V2BillingRateCardSubscriptionServicingCanceledEvent, and V2BillingRateCardSubscriptionServicingPausedEvent with related object v2.billing.RateCardSubscription
    • Add support for thin event V2BillingRateCardVersionCreatedEvent with related object v2.billing.RateCardVersion
    • Add support for thin events V2CoreHealthApiErrorFiringEvent, V2CoreHealthApiErrorResolvedEvent, V2CoreHealthApiLatencyFiringEvent, V2CoreHealthApiLatencyResolvedEvent, V2CoreHealthAuthorizationRateDropFiringEvent, V2CoreHealthAuthorizationRateDropResolvedEvent, V2CoreHealthEventGenerationFailureResolvedEvent, V2CoreHealthFraudRateIncreasedEvent, V2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent, V2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent, V2CoreHealthPaymentMethodErrorFiringEvent, V2CoreHealthPaymentMethodErrorResolvedEvent, V2CoreHealthTrafficVolumeDropFiringEvent, V2CoreHealthTrafficVolumeDropResolvedEvent, V2CoreHealthWebhookLatencyFiringEvent, and V2CoreHealthWebhookLatencyResolvedEvent
    • Add support for thin events V2ReportingReportRunCreatedEvent, V2ReportingReportRunFailedEvent, V2ReportingReportRunSucceededEvent, and V2ReportingReportRunUpdatedEvent with related object v2.reporting.ReportRun
    • Add support for error type RateLimitException
    • ⚠️ The base class of RateLimitException has been changed from InvalidRequestException to ApiException. There is no change to the public interface for the RateLimitException class.

See the changelog for more details.

v29.6.0-beta.1

27 Aug 19:36
Compare
Choose a tag to compare
v29.6.0-beta.1 Pre-release
Pre-release

This release changes the pinned API version to 2025-08-27.preview.

  • #2029 Update generated code for beta
    • Add support for list and retrieve methods on resource InvoicePayment
    • Add support for list method on resource Mandate
    • Add support for applied on v2.core.Account.configuration.customer, v2.core.Account.configuration.merchant, v2.core.Account.configuration.recipient, v2.core.Account.configuration.storer, v2.core.AccountUpdateParams.configuration.customer, v2.core.AccountUpdateParams.configuration.merchant, v2.core.AccountUpdateParams.configuration.recipient, and v2.core.AccountUpdateParams.configuration.storer
    • Change type of billing.AlertTriggered.value from longInteger to decimal_string
    • Add support for displayName on v2.moneymanagement.FinancialAccountCreateParams and v2.moneymanagement.FinancialAccount
    • Add support for currencyConversion on v2.moneymanagement.Transaction.flow and v2.moneymanagement.TransactionEntry.transaction_details.flow
    • Add support for payments on BalanceSettingsUpdateParams and BalanceSettings
    • Remove support for debitNegativeBalances, payouts, and settlementTiming on BalanceSettingsUpdateParams and BalanceSettings
    • Add support for mandate on Charge.payment_method_details.pix, PaymentAttemptRecord.payment_method_details.pix, and PaymentRecord.payment_method_details.pix
    • Add support for couponData on checkout.SessionCreateParams.discounts[]
    • Add support for mandateOptions on PaymentIntent.payment_method_options.pix, PaymentIntentConfirmParams.payment_method_options.pix, PaymentIntentCreateParams.payment_method_options.pix, PaymentIntentUpdateParams.payment_method_options.pix, checkout.Session.payment_method_options.pix, and checkout.SessionCreateParams.payment_method_options.pix
    • Change type of PaymentIntent.payment_method_options.pix.setupFutureUsage, PaymentIntentConfirmParams.payment_method_options.pix.setupFutureUsage, PaymentIntentCreateParams.payment_method_options.pix.setupFutureUsage, PaymentIntentUpdateParams.payment_method_options.pix.setupFutureUsage, checkout.Session.payment_method_options.pix.setupFutureUsage, and checkout.SessionCreateParams.payment_method_options.pix.setupFutureUsage from literal('none') to enum('none'|'off_session')
    • Add support for amount on Mandate.multi_use, PaymentAttemptRecord, and PaymentRecord
    • Add support for currency on Mandate.multi_use
    • Add support for pix on Mandate.payment_method_details, SetupAttempt.payment_method_details, SetupIntent.payment_method_options, SetupIntentConfirmParams.payment_method_options, SetupIntentCreateParams.payment_method_options, and SetupIntentUpdateParams.payment_method_options
    • Add support for limit on PaymentAttemptRecordListParams
    • Add support for amountAuthorized, amountRefunded, and application on PaymentAttemptRecord and PaymentRecord
    • Add support for processorDetails on PaymentAttemptRecord, PaymentRecordReportPaymentParams, and PaymentRecord
    • Remove support for paymentReference on PaymentAttemptRecord, PaymentRecordReportPaymentParams, and PaymentRecord
    • Add support for installments on PaymentAttemptRecord.payment_method_details.alma and PaymentRecord.payment_method_details.alma
    • Add support for transactionId on PaymentAttemptRecord.payment_method_details.alma, PaymentAttemptRecord.payment_method_details.amazon_pay, PaymentAttemptRecord.payment_method_details.billie, PaymentAttemptRecord.payment_method_details.kakao_pay, PaymentAttemptRecord.payment_method_details.kr_card, PaymentAttemptRecord.payment_method_details.naver_pay, PaymentAttemptRecord.payment_method_details.payco, PaymentAttemptRecord.payment_method_details.revolut_pay, PaymentAttemptRecord.payment_method_details.samsung_pay, PaymentAttemptRecord.payment_method_details.satispay, PaymentRecord.payment_method_details.alma, PaymentRecord.payment_method_details.amazon_pay, PaymentRecord.payment_method_details.billie, PaymentRecord.payment_method_details.kakao_pay, PaymentRecord.payment_method_details.kr_card, PaymentRecord.payment_method_details.naver_pay, PaymentRecord.payment_method_details.payco, PaymentRecord.payment_method_details.revolut_pay, PaymentRecord.payment_method_details.samsung_pay, and PaymentRecord.payment_method_details.satispay
    • Add support for location and reader on PaymentAttemptRecord.payment_method_details.paynow and PaymentRecord.payment_method_details.paynow
    • Add support for latestActiveMandate on PaymentMethod
    • Add support for metadata and period on QuotePreviewSubscriptionSchedule.phases[].add_invoice_items[]
    • Add support for pixDisplayQrCode on SetupIntent.next_action
    • Add support for readerSecurity on terminal.ConfigurationCreateParams, terminal.ConfigurationUpdateParams, and terminal.Configuration
    • Add support for new values ao_nif, az_tin, bd_etin, cr_cpj, cr_nite, do_rcn, gt_nit, kz_bin, mz_nuit, pe_ruc, pk_ntn, sa_crn, and sa_tin on enums v2.core.AccountCreateParams.identity.business_details.id_numbers[].type and v2.core.AccountUpdateParams.identity.business_details.id_numbers[].type
    • Add support for new values ao_nif, az_tin, bd_brc, bd_etin, bd_nid, cr_cpf, cr_dimex, cr_nite, do_rcn, gt_nit, kz_iin, mz_nuit, pe_dni, pk_cnic, pk_snic, and sa_tin on enums v2.core.AccountCreateParams.identity.individual.id_numbers[].type, v2.core.AccountUpdateParams.identity.individual.id_numbers[].type, v2.core.PersonCreateParams.id_numbers[].type, and v2.core.PersonUpdateParams.id_numbers[].type

See the changelog for more details.

v29.5.0

27 Aug 19:30
Compare
Choose a tag to compare
  • #2034 Add section on private preview SDKs in readme
  • #2030 Update generated code. This release changes the pinned API version to 2025-08-27.basil.
    • Add support for balanceReport, payoutDetails, and payoutReconciliationReport on AccountSession.components and AccountSessionCreateParams.components
    • Add support for name on billingportal.ConfigurationCreateParams, billingportal.ConfigurationUpdateParams, and billingportal.Configuration
    • Add support for installments on Charge.payment_method_details.alma
    • Add support for transactionId on Charge.payment_method_details.alma, Charge.payment_method_details.amazon_pay, Charge.payment_method_details.billie, Charge.payment_method_details.kakao_pay, Charge.payment_method_details.kr_card, Charge.payment_method_details.naver_pay, Charge.payment_method_details.payco, Charge.payment_method_details.revolut_pay, Charge.payment_method_details.samsung_pay, and Charge.payment_method_details.satispay
    • Add support for location and reader on Charge.payment_method_details.paynow
    • Add support for amountIncludesIof on PaymentIntent.payment_method_options.pix, PaymentIntentConfirmParams.payment_method_options.pix, PaymentIntentCreateParams.payment_method_options.pix, PaymentIntentUpdateParams.payment_method_options.pix, checkout.Session.payment_method_options.pix, and checkout.SessionCreateParams.payment_method_options.pix
    • Add support for new value terminal_android_apk on enum FileListParams.purpose
    • Add support for new value terminal_android_apk on enum FileCreateParams.purpose
    • Add support for metadata and period on InvoiceCreatePreviewParams.schedule_details.phases[].add_invoice_items[], SubscriptionCreateParams.add_invoice_items[], SubscriptionSchedule.phases[].add_invoice_items[], SubscriptionScheduleCreateParams.phases[].add_invoice_items[], SubscriptionScheduleUpdateParams.phases[].add_invoice_items[], and SubscriptionUpdateParams.add_invoice_items[]
    • Add support for expMonth and expYear on issuing.CardCreateParams
    • Add support for excludedPaymentMethodTypes on PaymentIntentCreateParams and PaymentIntent
    • Add support for payoutMethod on PayoutCreateParams and Payout
    • Add support for mxn on terminal.Configuration.tipping, terminal.ConfigurationCreateParams.tipping, and terminal.ConfigurationUpdateParams.tipping
    • Add support for card on terminal.ReaderPresentPaymentMethodParams
    • Add support for new value card on enum terminal.ReaderPresentPaymentMethodParams.type
    • Add support for new value 2025-08-27.basil on enum WebhookEndpointCreateParams.apiVersion
  • #2032 Introduce V1 namespaces in StripeClient
    • All the top level non-namespaced services under StripeClient services(eg. customers, products) are copied under the new V1 namespace. These top level non-namespaced services will be marked as deprecated in the next major release and will be removed in a future release. Eg.
    StripeClient client = new StripeClient("sk_test...")
    
    # Accessing V1 Stripe services on a StripeClient should be through the V1 namespace
    - client.customers().list()
    + client.v1().customers().list()
    Refer to the migration guide for help upgrading.

See the changelog for more details.

v29.5.0-beta.2

08 Aug 14:48
Compare
Choose a tag to compare
v29.5.0-beta.2 Pre-release
Pre-release
  • #2031 Bring back invoice payments APIs that were missing in the public preview SDKs
    • Add support for new resource InvoicePayment
    • Add support for list and retrieve methods on resource InvoicePayment

See the changelog for more details.

v29.5.0-beta.1

30 Jul 17:22
Compare
Choose a tag to compare
v29.5.0-beta.1 Pre-release
Pre-release

This release changes the pinned API version to 2025-07-30.preview.

  • #2025 Update generated code for beta
    • Add support for new resources billing.MeterUsageRow, billing.MeterUsage, and terminal.OnboardingLink
    • Add support for retrieve method on resource billing.MeterUsage
    • Add support for create method on resource terminal.OnboardingLink
    • Add support for monthlyPayoutDays and weeklyPayoutDays on BalanceSettings.payouts.schedule and BalanceSettingsUpdateParams.payouts.schedule
    • Remove support for monthlyAnchor and weeklyAnchor on BalanceSettings.payouts.schedule and BalanceSettingsUpdateParams.payouts.schedule
    • Add support for delayDaysOverride on BalanceSettingsUpdateParams.settlement_timing
    • Remove support for delayDays on BalanceSettingsUpdateParams.settlement_timing
    • Add support for updateDiscounts on checkout.SessionCreateParams.permissions
    • Add support for discounts and subscriptionData on checkout.SessionUpdateParams
    • Add support for smartDisputes on Dispute
    • Add support for upi on Invoice.payment_settings.payment_method_options, InvoiceCreateParams.payment_settings.payment_method_options, InvoiceUpdateParams.payment_settings.payment_method_options, QuotePreviewInvoice.payment_settings.payment_method_options, Subscription.payment_settings.payment_method_options, SubscriptionCreateParams.payment_settings.payment_method_options, and SubscriptionUpdateParams.payment_settings.payment_method_options
    • Add support for new value upi on enums InvoiceCreateParams.payment_settings.paymentMethodTypes, InvoiceUpdateParams.payment_settings.paymentMethodTypes, SubscriptionCreateParams.payment_settings.paymentMethodTypes, and SubscriptionUpdateParams.payment_settings.paymentMethodTypes
    • Add support for transactionId on PaymentAttemptRecord.payment_method_details.cashapp and PaymentRecord.payment_method_details.cashapp
    • Add support for amountDetails on PaymentIntentCaptureParams, PaymentIntentConfirmParams, PaymentIntentCreateParams, PaymentIntentIncrementAuthorizationParams, and PaymentIntentUpdateParams
    • Add support for paymentDetails on PaymentIntentIncrementAuthorizationParams
    • Add support for storer on v2.core.Account.identity.attestations.terms_of_service, v2.core.AccountCreateParams.identity.attestations.terms_of_service, and v2.core.AccountUpdateParams.identity.attestations.terms_of_service
    • Add support for collectionOptions on v2.core.AccountLink.use_case.account_onboarding, v2.core.AccountLink.use_case.account_update, v2.core.AccountLinkCreateParams.use_case.account_onboarding, and v2.core.AccountLinkCreateParams.use_case.account_update
    • Change type of v2.core.AccountLink.use_case.account_onboarding.configurations, v2.core.AccountLink.use_case.account_update.configurations, v2.core.AccountLinkCreateParams.use_case.account_onboarding.configurations, and v2.core.AccountLinkCreateParams.use_case.account_update.configurations from literal('recipient') to enum('customer'|'merchant'|'recipient'|'storer')
    • Add support for bankAccountType on v2.moneymanagement.PayoutMethod.bank_account
    • Add support for thin event V2CoreAccountLinkReturnedEvent
    • Add support for thin event V2MoneyManagementPayoutMethodUpdatedEvent with related object v2.moneymanagement.PayoutMethod
    • Remove support for thin event V2CoreAccountLinkCompletedEvent
    • Remove support for thin event V2OffSessionPaymentRequiresCaptureEvent with related object v2.payments.OffSessionPayment

See the changelog for more details.

v29.4.0

30 Jul 17:11
Compare
Choose a tag to compare
  • #2027 Update generated code. This release changes the pinned API version to 2025-07-30.basil.
    • Add support for instantPayoutsPromotion on AccountSession.components and AccountSessionCreateParams.components
    • Add support for adjustableQuantity on billingportal.Configuration.features.subscription_update.products[], billingportal.ConfigurationCreateParams.features.subscription_update.products[], and billingportal.ConfigurationUpdateParams.features.subscription_update.products[]
    • Add support for transactionId on Charge.payment_method_details.cashapp
    • Add support for originContext on checkout.SessionCreateParams and checkout.Session
    • Add support for template on PaymentLink.invoice_creation.invoice_data.rendering_options, PaymentLinkCreateParams.invoice_creation.invoice_data.rendering_options, PaymentLinkUpdateParams.invoice_creation.invoice_data.rendering_options, checkout.Session.invoice_creation.invoice_data.rendering_options, and checkout.SessionCreateParams.invoice_creation.invoice_data.rendering_options
    • Add support for setupFutureUsage on checkout.Session.payment_method_options.pix and checkout.SessionCreateParams.payment_method_options.pix
    • Add support for new value nz_bank_account on enum checkout.SessionCreateParams.paymentMethodTypes
    • Add support for duration on InvoiceCreatePreviewParams.schedule_details.phases[], SubscriptionScheduleCreateParams.phases[], and SubscriptionScheduleUpdateParams.phases[]
    • Add support for priceData on PaymentLinkCreateParams.line_items[]
    • Change PaymentLinkCreateParams.line_items[].price to be optional
    • Add support for new value America/Coyhaique on enum reporting.ReportRunCreateParams.parameters.timezone
    • Add support for standard on tax.Registration.country_options.ae, tax.Registration.country_options.au, tax.Registration.country_options.ch, tax.Registration.country_options.gb, tax.Registration.country_options.jp, tax.Registration.country_options.no, tax.Registration.country_options.nz, tax.Registration.country_options.sg, tax.RegistrationCreateParams.country_options.ae, tax.RegistrationCreateParams.country_options.al, tax.RegistrationCreateParams.country_options.ao, tax.RegistrationCreateParams.country_options.au, tax.RegistrationCreateParams.country_options.aw, tax.RegistrationCreateParams.country_options.ba, tax.RegistrationCreateParams.country_options.bb, tax.RegistrationCreateParams.country_options.bd, tax.RegistrationCreateParams.country_options.bf, tax.RegistrationCreateParams.country_options.bh, tax.RegistrationCreateParams.country_options.bs, tax.RegistrationCreateParams.country_options.cd, tax.RegistrationCreateParams.country_options.ch, tax.RegistrationCreateParams.country_options.et, tax.RegistrationCreateParams.country_options.gb, tax.RegistrationCreateParams.country_options.gn, tax.RegistrationCreateParams.country_options.is, tax.RegistrationCreateParams.country_options.jp, tax.RegistrationCreateParams.country_options.me, tax.RegistrationCreateParams.country_options.mk, tax.RegistrationCreateParams.country_options.mr, tax.RegistrationCreateParams.country_options.no, tax.RegistrationCreateParams.country_options.nz, tax.RegistrationCreateParams.country_options.om, tax.RegistrationCreateParams.country_options.rs, tax.RegistrationCreateParams.country_options.sg, tax.RegistrationCreateParams.country_options.sr, tax.RegistrationCreateParams.country_options.uy, tax.RegistrationCreateParams.country_options.za, and tax.RegistrationCreateParams.country_options.zw
    • Add support for new value inbound_goods on enums tax.RegistrationCreateParams.country_options.at.standard.placeOfSupplyScheme, tax.RegistrationCreateParams.country_options.be.standard.placeOfSupplyScheme, tax.RegistrationCreateParams.country_options.bg.standard.placeOfSupplyScheme, tax.RegistrationCreateParams.country_options.cy.standard.placeOfSupplyScheme, tax.RegistrationCreateParams.country_options.cz.standard.placeOfSupplyScheme, tax.RegistrationCreateParams.country_options.de.standard.placeOfSupplyScheme, tax.RegistrationCreateParams.country_options.dk.standard.placeOfSupplyScheme, tax.RegistrationCreateParams.country_options.ee.standard.placeOfSupplyScheme, tax.RegistrationCreateParams.country_options.es.standard.placeOfSupplyScheme, tax.RegistrationCreateParams.country_options.fi.standard.placeOfSupplyScheme, tax.RegistrationCreateParams.country_options.fr.standard.placeOfSupplyScheme, tax.RegistrationCreateParams.country_options.gr.standard.placeOfSupplyScheme, tax.RegistrationCreateParams.country_options.hr.standard.placeOfSupplyScheme, tax.RegistrationCreateParams.country_options.hu.standard.placeOfSupplyScheme, tax.RegistrationCreateParams.country_options.ie.standard.placeOfSupplyScheme, tax.RegistrationCreateParams.country_options.it.standard.placeOfSupplyScheme, tax.RegistrationCreateParams.country_options.lt.standard.placeOfSupplyScheme, tax.RegistrationCreateParams.country_options.lu.standard.placeOfSupplyScheme, tax.RegistrationCreateParams.country_options.lv.standard.placeOfSupplyScheme, tax.RegistrationCreateParams.country_options.mt.standard.placeOfSupplyScheme, tax.RegistrationCreateParams.country_options.nl.standard.placeOfSupplyScheme, tax.RegistrationCreateParams.country_options.pl.standard.placeOfSupplyScheme, tax.RegistrationCreateParams.country_options.pt.standard.placeOfSupplyScheme, tax.RegistrationCreateParams.country_options.ro.standard.placeOfSupplyScheme, tax.RegistrationCreateParams.country_options.se.standard.placeOfSupplyScheme, tax.RegistrationCreateParams.country_options.si.standard.placeOfSupplyScheme, and tax.RegistrationCreateParams.country_options.sk.standard.placeOfSupplyScheme
    • Add support for aed, bgn, huf, and ron on terminal.Configuration.tipping, terminal.ConfigurationCreateParams.tipping, and terminal.ConfigurationUpdateParams.tipping
    • Add support for new value 2025-07-30.basil on enum WebhookEndpointCreateParams.apiVersion

See the changelog for more details.

v29.4.0-beta.2

09 Jul 19:51
Compare
Choose a tag to compare
v29.4.0-beta.2 Pre-release
Pre-release
  • #2026 Pull in V2 FinancialAccount changes for June release
    • Add support for close and create methods on resource v2.moneymanagement.FinancialAccount
    • Add support for storer on v2.core.Account.configuration, v2.core.AccountCreateParams.configuration, and v2.core.AccountUpdateParams.configuration
    • Add support for statusDetails on v2.moneymanagement.FinancialAccount
    • Add support for status on v2.moneymanagement.FinancialAccountListParams
    • Add support for new value configuration.storer on enums v2.core.AccountCreateParams.include, v2.core.AccountRetrieveParams.include, and v2.core.AccountUpdateParams.include
    • Add support for new value storer on enum v2.core.AccountCloseParams.appliedConfigurations
    • Add support for thin events V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent and V2CoreAccountIncludingConfigurationStorerUpdatedEvent with related object v2.core.Account
    • Add support for error types AlreadyExistsException and NonZeroBalanceException

See the changelog for more details.

v29.4.0-beta.1

01 Jul 20:34
Compare
Choose a tag to compare
v29.4.0-beta.1 Pre-release
Pre-release

This release changes the pinned API version to 2025-06-30.preview.

  • #2009 Update generated code for beta
    • Change type of InvoiceCreatePreviewParams.schedule_details.billingMode, InvoiceCreatePreviewParams.subscription_details.billingMode, Quote.subscription_data.billingMode, QuoteCreateParams.subscription_data.billingMode, SubscriptionCreateParams.billingMode, SubscriptionScheduleCreateParams.billingMode, and checkout.SessionCreateParams.subscription_data.billingMode from enum('classic'|'flexible') to billing_mode
    • Add support for submissionMethod on Dispute.evidence_details
    • Add support for onDemand and subscriptions on OrderCreateParams.payment.settings.payment_method_options.klarna and OrderUpdateParams.payment.settings.payment_method_options.klarna
    • Change type of Order.payment.settings.payment_method_options.klarna.setupFutureUsage, OrderCreateParams.payment.settings.payment_method_options.klarna.setupFutureUsage, and OrderUpdateParams.payment.settings.payment_method_options.klarna.setupFutureUsage from literal('none') to enum('none'|'off_session'|'on_session')
    • Add support for crypto on PaymentAttemptRecord.payment_method_details and PaymentRecord.payment_method_details
    • Change type of PaymentIntent.payment_method_options.gopay.setupFutureUsage, PaymentIntentConfirmParams.payment_method_options.gopay.setupFutureUsage, PaymentIntentCreateParams.payment_method_options.gopay.setupFutureUsage, and PaymentIntentUpdateParams.payment_method_options.gopay.setupFutureUsage from literal('none') to enum('none'|'off_session')
    • Change type of QuotePreviewSubscriptionSchedule.billingMode, Subscription.billingMode, and SubscriptionSchedule.billingMode from enum('classic'|'flexible') to SubscriptionsResourceBillingMode
    • Change type of SubscriptionMigrateParams.billingMode from literal('flexible') to billing_mode_migrate
    • Remove support for billingModeDetails on Subscription
    • Add support for proofOfAddress on v2.core.Account.identity.business_details.documents, v2.core.AccountCreateParams.identity.business_details.documents, and v2.core.AccountUpdateParams.identity.business_details.documents
    • Add support for metadata on v2.moneymanagement.FinancialAccount
    • Remove support for description on v2.moneymanagement.FinancialAccount
    • Remove support for attempts on v2.payments.OffSessionPayment
    • Add support for fromAccount, outboundPayment, and outboundTransfer on v2.moneymanagement.ReceivedCredit.balance_transfer
    • Change type of v2.moneymanagement.ReceivedCredit.balance_transfer.type from literal('payout_v1') to enum('outbound_payment'|'outbound_transfer'|'payout_v1')
    • Change v2.payments.OffSessionPaymentCreateParams.transfer_data.amount to be optional
    • Add support for new value xx on enums v2.core.AccountCreateParams.configuration.customer.shipping.address.country, v2.core.AccountCreateParams.configuration.merchant.support.address.country, v2.core.AccountCreateParams.identity.business_details.address.country, v2.core.AccountCreateParams.identity.business_details.script_addresses.kana.country, v2.core.AccountCreateParams.identity.business_details.script_addresses.kanji.country, v2.core.AccountCreateParams.identity.country, v2.core.AccountCreateParams.identity.individual.additional_addresses[].country, v2.core.AccountCreateParams.identity.individual.address.country, v2.core.AccountCreateParams.identity.individual.script_addresses.kana.country, v2.core.AccountCreateParams.identity.individual.script_addresses.kanji.country, v2.core.AccountUpdateParams.configuration.customer.shipping.address.country, v2.core.AccountUpdateParams.configuration.merchant.support.address.country, v2.core.AccountUpdateParams.identity.business_details.address.country, v2.core.AccountUpdateParams.identity.business_details.script_addresses.kana.country, v2.core.AccountUpdateParams.identity.business_details.script_addresses.kanji.country, v2.core.AccountUpdateParams.identity.country, v2.core.AccountUpdateParams.identity.individual.additional_addresses[].country, v2.core.AccountUpdateParams.identity.individual.address.country, v2.core.AccountUpdateParams.identity.individual.script_addresses.kana.country, v2.core.AccountUpdateParams.identity.individual.script_addresses.kanji.country, v2.core.PersonCreateParams.additional_addresses[].country, v2.core.PersonCreateParams.address.country, v2.core.PersonCreateParams.script_addresses.kana.country, v2.core.PersonCreateParams.script_addresses.kanji.country, v2.core.PersonUpdateParams.additional_addresses[].country, v2.core.PersonUpdateParams.address.country, v2.core.PersonUpdateParams.script_addresses.kana.country, and v2.core.PersonUpdateParams.script_addresses.kanji.country
    • Add support for new value xx on enums v2.core.AccountCreateParams.identity.individual.nationalities, v2.core.AccountUpdateParams.identity.individual.nationalities, v2.core.PersonCreateParams.nationalities, and v2.core.PersonUpdateParams.nationalities

See the changelog for more details.

v29.3.0

01 Jul 20:08
Compare
Choose a tag to compare
  • #2013 Update generated code
    • Add support for migrate method on resource Subscription
    • Add support for collect_payment_method and confirm_payment_intent methods on resource terminal.Reader
    • Add support for cryptoPayments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
    • Add support for proofOfAddress on AccountCreateParams.documents and AccountUpdateParams.documents
    • Add support for monthlyPayoutDays and weeklyPayoutDays on Account.settings.payouts.schedule, AccountCreateParams.settings.payouts.schedule, and AccountUpdateParams.settings.payouts.schedule
    • Add support for crypto 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
    • Change type of Charge.payment_method_details.card.installments.plan.type, ConfirmationToken.payment_method_options.card.installments.plan.type, ConfirmationTokenCreateParams.payment_method_options.card.installments.plan.type, InvoiceCreateParams.payment_settings.payment_method_options.card.installments.plan.type, InvoiceUpdateParams.payment_settings.payment_method_options.card.installments.plan.type, PaymentIntent.payment_method_options.card.installments.available_plans[].type, PaymentIntent.payment_method_options.card.installments.plan.type, PaymentIntentConfirmParams.payment_method_options.card.installments.plan.type, PaymentIntentCreateParams.payment_method_options.card.installments.plan.type, and PaymentIntentUpdateParams.payment_method_options.card.installments.plan.type from literal('fixed_count') to enum('bonus'|'fixed_count'|'revolving')
    • Add support for subscriptions on PaymentIntentConfirmParams.payment_method_options.klarna, PaymentIntentCreateParams.payment_method_options.klarna, PaymentIntentUpdateParams.payment_method_options.klarna, and checkout.SessionCreateParams.payment_method_options.klarna
    • Add support for new value crypto on enum checkout.SessionCreateParams.paymentMethodTypes
    • Add support for billingMode on InvoiceCreatePreviewParams.schedule_details, InvoiceCreatePreviewParams.subscription_details, Quote.subscription_data, QuoteCreateParams.subscription_data, SubscriptionCreateParams, SubscriptionScheduleCreateParams, SubscriptionSchedule, Subscription, and checkout.SessionCreateParams.subscription_data
    • Add support for new value buut on enums ConfirmationTokenCreateParams.payment_method_data.ideal.bank, 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 crypto 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 crypto on enums CustomerListPaymentMethodsParams.type, PaymentMethodCreateParams.type, and PaymentMethodListParams.type
    • Change type of Dispute.enhancedEligibilityTypes from literal('visa_compelling_evidence_3') to enum('visa_compelling_evidence_3'|'visa_compliance')
    • Add support for relatedPerson on identity.VerificationSessionCreateParams and identity.VerificationSession
    • Add support for matching on identity.VerificationSession.options
    • Add support for new value crypto on enums InvoiceCreateParams.payment_settings.paymentMethodTypes, InvoiceUpdateParams.payment_settings.paymentMethodTypes, SubscriptionCreateParams.payment_settings.paymentMethodTypes, and SubscriptionUpdateParams.payment_settings.paymentMethodTypes
    • Add support for klarna on Mandate.payment_method_details, SetupIntent.payment_method_options, SetupIntentConfirmParams.payment_method_options, SetupIntentCreateParams.payment_method_options, and SetupIntentUpdateParams.payment_method_options
    • Add support for onDemand on PaymentIntentConfirmParams.payment_method_options.klarna, PaymentIntentCreateParams.payment_method_options.klarna, and PaymentIntentUpdateParams.payment_method_options.klarna
    • Change type of PaymentIntent.payment_method_options.klarna.setupFutureUsage, PaymentIntentConfirmParams.payment_method_options.klarna.setupFutureUsage, PaymentIntentCreateParams.payment_method_options.klarna.setupFutureUsage, and PaymentIntentUpdateParams.payment_method_options.klarna.setupFutureUsage from literal('none') to enum('none'|'off_session'|'on_session')
    • Add support for ua on tax.Registration.country_options and tax.RegistrationCreateParams.country_options
    • Change type of terminal.LocationUpdateParams.displayName from string to emptyable(string)
    • Add support for collectPaymentMethod and confirmPaymentIntent on terminal.Reader.action
    • Add support for status on treasury.FinancialAccountListParams
    • Add support for new value terminal.reader.action_updated on enums WebhookEndpointCreateParams.enabledEvents and WebhookEndpointUpdateParams.enabledEvents
    • Add support for new value 2025-06-30.basil on enum WebhookEndpointCreateParams.apiVersion
    • Add support for snapshot event terminal.reader.action_updated with resource terminal.Reader
  • #2023 Specify nexusUrl in deploy.gradle
  • #2020 Update snapshot endpoint in deploy.gradle
  • #2019 Update Sonatype endpoints in deploy.gradle
  • #1987 Include Java versions 21, 22, 23, 24 in CI

See the changelog for more details.

v29.3.0-beta.3

26 Jun 20:06
Compare
Choose a tag to compare
v29.3.0-beta.3 Pre-release
Pre-release

No changes in this release

See the changelog for more details.