Releases: stripe/stripe-java
v30.1.0-alpha.4
- #2088 Update generated code for private-preview
- Add support for new resource
v2.billing.PricingPlanSubscriptionComponents - Add support for
retrievemethod on resourcev2.billing.PricingPlanSubscriptionComponents - Add support for
dimensionPayloadKeysonbilling.MeterCreateParamsandbilling.Meter - Add support for
dimensionFiltersanddimensionGroupByKeysonbilling.MeterEventSummaryListParams - Add support for
dimensionsonbilling.MeterEventSummary - Add support for
fulfillmentDetailsandpaymentMethodDataondelegatedcheckout.RequestedSessionCreateParamsanddelegatedcheckout.RequestedSessionUpdateParams - Add support for
lineItemDetails,metadata,paymentMethod, andsharedMetadataondelegatedcheckout.RequestedSessionCreateParams,delegatedcheckout.RequestedSessionUpdateParams, anddelegatedcheckout.RequestedSession - Add support for
currency,customer, andriskDetailsondelegatedcheckout.RequestedSessionCreateParams - Add support for
sellerDetailsandsetupFutureUsageondelegatedcheckout.RequestedSessionCreateParamsanddelegatedcheckout.RequestedSession - Add support for
amountSubtotal,amountTotal,createdAt,expiresAt,orderDetails,sharedPaymentIssuedToken,status,totalDetails, andupdatedAtondelegatedcheckout.RequestedSession - Add support for
address,email,fulfillmentOptions,name,phone, andselectedFulfillmentOptionondelegatedcheckout.RequestedSession.fulfillment_details - Add support for new values
billie,crypto,kr_card,kriya,mb_way,mondu,ng_bank_transfer,ng_bank,ng_card,ng_market,ng_ussd,ng_wallet,payco,paypay,rechnung,samsung_pay,satispay,scalapay,sequra,sunbit,us_bank_account, andvippson enumsEventsV2CoreHealthAuthorizationRateDropFiringEvent.impact.paymentMethodType,EventsV2CoreHealthAuthorizationRateDropResolvedEvent.impact.paymentMethodType,EventsV2CoreHealthPaymentMethodErrorFiringEvent.impact.paymentMethodType, andEventsV2CoreHealthPaymentMethodErrorResolvedEvent.impact.paymentMethodType
- Add support for new resource
v30.1.0-alpha.3
- #2087 Update generated code for private-preview
- Add support for new resources
delegatedcheckout.RequestedSessionandidentity.BlocklistEntry - Add support for
confirm,create,expire,retrieve, andupdatemethods on resourcedelegatedcheckout.RequestedSession - Add support for
create,disable,list, andretrievemethods on resourceidentity.BlocklistEntry - Add support for
blockedByEntryonidentity.VerificationReport.document,identity.VerificationReport.selfie, andidentity.VerificationReportListParams
- Add support for new resources
v30.1.0-alpha.2
- #2085 Update generated code for private-preview
- Add support for new resource
PaymentMethodBalance - Add support for
check_balancemethod on resourcePaymentMethod - Add support for
benefitsonCard,Charge.payment_method_details.card,ConfirmationToken.payment_method_preview.card, andPaymentMethod.card - Add support for
benefitonPaymentIntent.payment_details,PaymentIntentConfirmParams.payment_details,PaymentIntentCreateParams.payment_details, andPaymentIntentUpdateParams.payment_details - Add support for
setupDetailsonSetupIntentConfirmParams,SetupIntentCreateParams,SetupIntentUpdateParams, andSetupIntent - Add support for
cardCreatoronv2.core.Account.configuration,v2.core.Account.identity.attestations.terms_of_service,v2.core.AccountCreateParams.configuration,v2.core.AccountCreateParams.identity.attestations.terms_of_service,v2.core.AccountUpdateParams.configuration, andv2.core.AccountUpdateParams.identity.attestations.terms_of_service - Add support for new value
configuration.card_creatoron enumsv2.core.AccountCreateParams.include,v2.core.AccountRetrieveParams.include, andv2.core.AccountUpdateParams.include - Add support for new value
card_creatoron enumv2.core.AccountCloseParams.appliedConfigurations - Add support for thin events
V2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEventandV2CoreAccountIncludingConfigurationCardCreatorUpdatedEventwith related objectv2.core.Account - Remove support for thin events
V1CustomerDiscountCreatedEvent,V1CustomerDiscountDeletedEvent, andV1CustomerDiscountUpdatedEventwith related objectDiscount
- Add support for new resource
v30.1.0-beta.1
This release changes the pinned API version to 2025-09-30.preview. It is built on top of SDK version 30.0.0 which contains breaking changes. Please review the changelog for 30.0.0 if upgrading from older SDK versions.
- #2060 Update generated code for beta
- Add support for
attach_cadencemethod on resourceSubscription - Add support for
billingCadenceonInvoiceCreatePreviewParams,SubscriptionCreateParams,SubscriptionUpdateParams, andSubscription - Add support for
billingCadenceDetailsonInvoice.parentandQuotePreviewInvoice.parent
- Add support for
- #2049 Update generated code for beta
- Add support for new resources
v2.billing.BillSettingVersion,v2.billing.BillSetting,v2.billing.Cadence,v2.billing.CollectionSettingVersion,v2.billing.CollectionSetting, andv2.billing.Profile - Add support for
create,list,retrieve, andupdatemethods on resourcesv2.billing.BillSetting,v2.billing.CollectionSetting, andv2.billing.Profile - Add support for
listandretrievemethods on resourcesv2.billing.BillSettingVersionandv2.billing.CollectionSettingVersion - Add support for
cancel,create,list,retrieve, andupdatemethods on resourcev2.billing.Cadence - Add support for
profileonv2.core.Account.defaults,v2.core.AccountCreateParams.defaults, andv2.core.AccountUpdateParams.defaults - Add support for
iPonv2.core.Account.identity.attestations.directorship_declaration,v2.core.Account.identity.attestations.ownership_declaration,v2.core.Account.identity.attestations.terms_of_service.account,v2.core.Account.identity.attestations.terms_of_service.storer,v2.core.Account.identity.individual.additional_terms_of_service.account,v2.core.AccountCreateParams.identity.attestations.terms_of_service.account,v2.core.AccountCreateParams.identity.attestations.terms_of_service.storer,v2.core.AccountUpdateParams.identity.attestations.terms_of_service.account,v2.core.AccountUpdateParams.identity.attestations.terms_of_service.storer,v2.core.Person.additional_terms_of_service.account,v2.core.PersonCreateParams.additional_terms_of_service.account, andv2.core.PersonUpdateParams.additional_terms_of_service.account - Remove support for
iponv2.core.Account.identity.attestations.directorship_declaration,v2.core.Account.identity.attestations.ownership_declaration,v2.core.Account.identity.attestations.terms_of_service.account,v2.core.Account.identity.attestations.terms_of_service.storer,v2.core.Account.identity.individual.additional_terms_of_service.account,v2.core.AccountCreateParams.identity.attestations.terms_of_service.account,v2.core.AccountCreateParams.identity.attestations.terms_of_service.storer,v2.core.AccountUpdateParams.identity.attestations.terms_of_service.account,v2.core.AccountUpdateParams.identity.attestations.terms_of_service.storer,v2.core.Person.additional_terms_of_service.account,v2.core.PersonCreateParams.additional_terms_of_service.account, andv2.core.PersonUpdateParams.additional_terms_of_service.account - Remove support for
doingBusinessAs,productDescription, andurlonv2.core.Account.identity.business_details,v2.core.AccountCreateParams.identity.business_details, andv2.core.AccountUpdateParams.identity.business_details - Add support for
settlementCurrencyonv2.moneymanagement.FinancialAddress - Add support for
sepaBankAccountonv2.moneymanagement.FinancialAddress.credentialsandv2.moneymanagement.ReceivedCredit.bank_transfer - Add support for
amountDetailsandpaymentsOrchestrationonv2.payments.OffSessionPaymentCreateParamsandv2.payments.OffSessionPayment - Add support for
retryPolicyonv2.payments.OffSessionPayment.retry_detailsandv2.payments.OffSessionPaymentCreateParams.retry_details - Change type of
v2.moneymanagement.OutboundPaymentQuote.fx_quote.lockDurationfromliteral('five_minutes')toenum('five_minutes'|'none') - Add support for
originTypeonv2.moneymanagement.ReceivedCredit.bank_transfer - Remove support for
paymentMethodTypeonv2.moneymanagement.ReceivedCredit.bank_transfer - Add support for
mandateDataandpaymentMethodOptionsonv2.payments.OffSessionPaymentCreateParams - Add support for new values
heuristicandscheduledon enumv2.payments.OffSessionPaymentCreateParams.retry_details.retryStrategy - Add support for new value
crypto_walleton enumsv2.moneymanagement.OutboundSetupIntentCreateParams.payout_method_data.typeandv2.moneymanagement.OutboundSetupIntentUpdateParams.payout_method_data.type - Add support for
typeonv2.moneymanagement.FinancialAddressCreateParams - Remove support for
currencyonv2.moneymanagement.FinancialAddressCreateParams - Add support for new values
financial_addressses.crypto_wallets,holds_currencies.usdc,outbound_payments.crypto_wallets, andoutbound_transfers.crypto_walletson enumEventsV2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent.updatedCapability - Add support for thin event
V2BillingBillSettingUpdatedEventwith related objectv2.billing.BillSetting - Add support for error type
RateLimitException
- Add support for new resources
- #2047 Update generated code for beta
- Add support for new resources
billing.analytics.MeterUsageRowandbilling.analytics.MeterUsage - Remove support for resources
billing.MeterUsageRowandbilling.MeterUsage - Add support for
retrievemethod on resourcebilling.analytics.MeterUsage - Remove support for
retrievemethod on resourcebilling.MeterUsage - Add support for
report_payment_attempt_informationalmethod on resourcePaymentRecord - Add support for
minimumBalanceByCurrencyonBalanceSettings.payments.payoutsandBalanceSettingsUpdateParams.payments.payouts - Remove support for values
saturdayandsundayfrom enumBalanceSettingsUpdateParams.payments.payouts.schedule.weeklyPayoutDays - Change type of
BalanceSettingsUpdateParams.payments.settlement_timing.delayDaysOverridefromlongIntegertoemptyable(longInteger) - Change
BalanceSettingsUpdateParams.paymentsto be optional - Add support for
delayDaysOverrideonBalanceSettings.payments.settlement_timing - Add support for
automaticTaxandinvoiceCreationoncheckout.SessionUpdateParams - Add support for
unitLabeloncheckout.SessionUpdateParams.line_items[].price_data.product_data - Add support for
invoiceSettingsoncheckout.SessionUpdateParams.subscription_data - Add support for
intendedSubmissionMethodonDisputeUpdateParamsandDispute - Change type of
Dispute.smart_disputes.recommendedEvidencefromstringtoarray(string) - Add support for
pixonInvoice.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, andSubscriptionUpdateParams.payment_settings.payment_method_options - Add support for new value
pixon enumsInvoiceCreateParams.payment_settings.paymentMethodTypes,InvoiceUpdateParams.payment_settings.paymentMethodTypes,SubscriptionCreateParams.payment_settings.paymentMethodTypes, andSubscriptionUpdateParams.payment_settings.paymentMethodTypes - Add support for
billingSchedulesonInvoiceCreatePreviewParams.subscription_details,SubscriptionCreateParams,SubscriptionUpdateParams, andSubscription - Add support for
paypayonPaymentAttemptRecord.payment_method_detailsandPaymentRecord.payment_method_details - Add support for
walletonPaymentAttemptRecord.payment_method_details.cardandPaymentRecord.payment_method_details.card - Add support for
flexibleonQuotePreviewSubscriptionSchedule.billing_mode - Add support for
billedUntilonSubscriptionItem
- Add support for new resources
v30.1.0-alpha.1
This release changes the pinned API version to 2025-09-30.preview. It is built on top of SDK version 30.0.0 and 30.1.0-beta.1 which contain breaking changes. Please review the changelog for these versions if upgrading from older SDK versions.
- #2052 Update generated code for private-preview
- Add support for new resource
v2.moneymanagement.RecipientVerification - Add support for
acknowledge,create,recipient_verifications, andretrievemethods on resourcev2.moneymanagement.RecipientVerification - Add support for
updatemethod on resourcesv2.billing.PricingPlanSubscriptionandv2.billing.ServiceAction - Add support for
cryptoWalletsonv2.Account.configuration.recipient_data.features,v2.AccountCreateParams.configuration.recipient_data.features,v2.AccountUpdateParams.configuration.recipient_data.features,v2.core.Account.configuration.recipient.capabilities,v2.core.AccountCreateParams.configuration.recipient.capabilities, andv2.core.AccountUpdateParams.configuration.recipient.capabilities - Add support for
lookupKeyonv2.billing.CadenceCreateParams,v2.billing.CadenceUpdateParams, andv2.billing.Cadence - Add support for
settingsDataonv2.billing.Cadence - Add support for
v1EventIdonv2.core.Event - Add support for
recipientVerificationonv2.moneymanagement.OutboundPaymentCreateParams,v2.moneymanagement.OutboundPayment,v2.moneymanagement.OutboundTransferCreateParams, andv2.moneymanagement.OutboundTransfer - Add support for
cryptoWalletonv2.moneymanagement.OutboundSetupIntentCreateParams.payout_method_dataandv2.moneymanagement.PayoutMethod - Add support for
willActivateAtandwillCancelAtonv2.billing.PricingPlanSubscription.servicing_status_transitionsandv2.billing.RateCardSubscription.servicing_status_transitions - Add support for
customPricingUnitDetailsonv2.billing.RateCardRate.custom_pricing_unit_amount,v2.billing.ServiceAction.credit_grant.amount.custom_pricing_unit, andv2.billing.ServiceAction.credit_grant_per_tenant.amount.custom_pricing_unit - Add support for
originTypeonv2.moneymanagement.ReceivedDebit.bank_transfer - Add support for new value
sepa_credit_transferon enumv2.FinancialAddressCreditSimulationCreditParams.network - Add support for new value
credentials.sepa_bank_account.ibanon enumsv2.moneymanagement.FinancialAddressListParams.includeandv2.moneymanagement.FinancialAddressRetrieveParams.include - Add support for
sepaBankAccountonv2.moneymanagement.FinancialAddressCreateParams - Remove support for
priceonv2.billing.RateCardRateCreateParams - Add support for
lookupKeysonv2.billing.CadenceListParams - Change type of
v2.billing.CadenceCancelParams.include,v2.billing.CadenceCreateParams.include,v2.billing.CadenceListParams.include,v2.billing.CadenceRetrieveParams.include, andv2.billing.CadenceUpdateParams.includefromliteral('invoice_discount_rules')toenum('invoice_discount_rules'|'settings_data') - Remove support for
customerandtypeonv2.billing.CadenceCreateParams.payer - Change
v2.billing.CadenceCreateParams.payer.billingProfileto be required - Add support for new value
crypto_walletson enumEventsAccountConfigurationRecipientDataFeatureStatusUpdatedEvent.featureName - Add support for new value
crypto_wallets_v2on enumEventsV2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent.updatedCapability - Remove support for
alertIdonEventsV2CoreHealthApiErrorResolvedEvent,EventsV2CoreHealthApiLatencyResolvedEvent,EventsV2CoreHealthAuthorizationRateDropResolvedEvent,EventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent,EventsV2CoreHealthPaymentMethodErrorResolvedEvent,EventsV2CoreHealthTrafficVolumeDropResolvedEvent, andEventsV2CoreHealthWebhookLatencyResolvedEvent - Add support for thin event
V1AccountUpdatedEventwith related objectv2.Account - Add support for thin events
V1ApplicationFeeCreatedEvent,V1ApplicationFeeRefundedEvent,V1BillingPortalConfigurationCreatedEvent,V1BillingPortalConfigurationUpdatedEvent,V1CapabilityUpdatedEvent,V1ChargeCapturedEvent,V1ChargeDisputeClosedEvent,V1ChargeDisputeCreatedEvent,V1ChargeDisputeFundsReinstatedEvent,V1ChargeDisputeFundsWithdrawnEvent,V1ChargeDisputeUpdatedEvent,V1ChargeExpiredEvent,V1ChargeFailedEvent,V1ChargePendingEvent,V1ChargeRefundUpdatedEvent,V1ChargeRefundedEvent,V1ChargeSucceededEvent,V1ChargeUpdatedEvent,V1CheckoutSessionAsyncPaymentFailedEvent,V1CheckoutSessionAsyncPaymentSucceededEvent,V1CheckoutSessionCompletedEvent,V1CheckoutSessionExpiredEvent,V1ClimateOrderCanceledEvent,V1ClimateOrderCreatedEvent,V1ClimateOrderDelayedEvent,V1ClimateOrderDeliveredEvent,V1ClimateOrderProductSubstitutedEvent,V1ClimateProductCreatedEvent,V1ClimateProductPricingUpdatedEvent,V1CouponCreatedEvent,V1CouponDeletedEvent,V1CouponUpdatedEvent,V1CreditNoteCreatedEvent,V1CreditNoteUpdatedEvent,V1CreditNoteVoidedEvent,V1CustomerCreatedEvent,V1CustomerDeletedEvent,V1CustomerDiscountCreatedEvent,V1CustomerDiscountDeletedEvent,V1CustomerDiscountUpdatedEvent,V1CustomerSubscriptionCreatedEvent,V1CustomerSubscriptionDeletedEvent,V1CustomerSubscriptionPausedEvent,V1CustomerSubscriptionPendingUpdateAppliedEvent,V1CustomerSubscriptionPendingUpdateExpiredEvent,V1CustomerSubscriptionResumedEvent,V1CustomerSubscriptionTrialWillEndEvent,V1CustomerSubscriptionUpdatedEvent,V1CustomerTaxIdCreatedEvent,V1CustomerTaxIdDeletedEvent,V1CustomerTaxIdUpdatedEvent,V1CustomerUpdatedEvent,V1FileCreatedEvent,V1FinancialConnectionsAccountCreatedEvent,V1FinancialConnectionsAccountDeactivatedEvent,V1FinancialConnectionsAccountDisconnectedEvent,V1FinancialConnectionsAccountReactivatedEvent,V1FinancialConnectionsAccountRefreshedBalanceEvent,V1FinancialConnectionsAccountRefreshedOwnershipEvent,V1FinancialConnectionsAccountRefreshedTransactionsEvent,V1IdentityVerificationSessionCanceledEvent,V1IdentityVerificationSessionCreatedEvent,V1IdentityVerificationSessionProcessingEvent,V1IdentityVerificationSessionRedactedEvent,V1IdentityVerificationSessionRequiresInputEvent,V1IdentityVerificationSessionVerifiedEvent,V1InvoiceCreatedEvent,V1InvoiceDeletedEvent,V1InvoiceFinalizationFailedEvent,V1InvoiceFinalizedEvent,V1InvoiceMarkedUncollectibleEvent,V1InvoiceOverdueEvent,V1InvoiceOverpaidEvent,V1InvoicePaidEvent,V1InvoicePaymentActionRequiredEvent,V1InvoicePaymentFailedEvent,V1InvoicePaymentPaidEvent,V1InvoicePaymentSucceededEvent,V1InvoiceSentEvent,V1InvoiceUpcomingEvent,V1InvoiceUpdatedEvent,V1InvoiceVoidedEvent,V1InvoiceWillBeDueEvent,V1InvoiceitemCreatedEvent,V1InvoiceitemDeletedEvent,V1IssuingAuthorizationCreatedEvent,V1IssuingAuthorizationRequestEvent,V1IssuingAuthorizationUpdatedEvent,V1IssuingCardCreatedEvent,V1IssuingCardUpdatedEvent,V1IssuingCardholderCreatedEvent,V1IssuingCardholderUpdatedEvent,V1IssuingDisputeClosedEvent,V1IssuingDisputeCreatedEvent,V1IssuingDisputeFundsReinstatedEvent,V1IssuingDisputeFundsRescindedEvent,V1IssuingDisputeSubmittedEvent,V1IssuingDisputeUpdatedEvent,V1IssuingPersonalizationDesignActivatedEvent,V1IssuingPersonalizationDesignDeactivatedEvent,V1IssuingPersonalizationDesignRejectedEvent,V1IssuingPersonalizationDesignUpdatedEvent,V1IssuingTokenCreatedEvent,V1IssuingTokenUpdatedEvent,V1IssuingTransactionCreatedEvent,V1IssuingTransactionPurchaseDetailsReceiptUpdatedEvent,V1IssuingTransactionUpdatedEvent,V1MandateUpdatedEvent,V1PaymentIntentAmountCapturableUpdatedEvent,V1PaymentIntentCanceledEvent,V1PaymentIntentCreatedEvent,V1PaymentIntentPartiallyFundedEvent,V1PaymentIntentPaymentFailedEvent,V1PaymentIntentProcessingEvent,V1PaymentIntentRequiresActionEvent,V1PaymentIntentSucceededEvent,V1PaymentLinkCreatedEvent,V1PaymentLinkUpdatedEvent,V1PaymentMethodAttachedEvent,V1PaymentMethodAutomaticallyUpdatedEvent,V1PaymentMethodDetachedEvent,V1PaymentMethodUpdatedEvent,V1PayoutCanceledEvent,V1PayoutCreatedEvent,V1PayoutFailedEvent,V1PayoutPaidEvent,V1PayoutReconciliationCompletedEvent,V1PayoutUpdatedEvent,V1PersonCreatedEvent,V1PersonDeletedEvent,V1PersonUpdatedEvent,V1PlanCreatedEvent,V1PlanDeletedEvent,V1PlanUpdatedEvent,V1PriceCreatedEvent,V1PriceDeletedEvent,V1PriceUpdatedEvent,V1ProductCreatedEvent,V1ProductDeletedEvent,V1ProductUpdatedEvent,V1PromotionCodeCreatedEvent,V1PromotionCodeUpdatedEvent,V1QuoteAcceptedEvent,V1QuoteCanceledEvent,V1QuoteCreatedEvent,V1QuoteFinalizedEvent,V1RadarEarlyFraudWarningCreatedEvent,V1RadarEarlyFraudWarningUpdatedEvent,V1RefundCreatedEvent,V1RefundFailedEvent,V1RefundUpdatedEvent,V1ReviewClosedEvent,V1ReviewOpenedEvent,V1SetupIntentCanceledEvent,V1SetupIntentCreatedEvent,V1SetupIntentRequiresActionEvent,V1SetupIntentSetupFailedEvent,V1SetupIntentSucceededEvent,V1SigmaScheduledQueryRunCreatedEvent,V1SourceCanceledEvent,V1SourceChargeableEvent,V1SourceFailedEvent,V1SourceRefundAttributesRequiredEvent,V1SubscriptionScheduleAbortedEvent,V1SubscriptionScheduleCanceledEvent,V1SubscriptionScheduleCompletedEvent,V1SubscriptionScheduleCreatedEvent,V1SubscriptionScheduleExpiringEvent,V1SubscriptionScheduleReleasedEvent,V1SubscriptionScheduleUpdatedEvent,V1TaxRateCreatedEvent,V1TaxRateUpdatedEvent,V1TerminalReaderActionFailedEvent,V1TerminalReaderActionSucceededEvent,V1TerminalReaderActionUpdatedEvent,V1TestHelpersTestClockAdvancingEvent,V1TestHelpersTestClockCreatedEvent, `V1TestHelpersTe...
- Add support for new resource
v30.0.0
This release changes the pinned API version to 2025-09-30.clover and contains breaking changes (prefixed with
-
#2036
⚠️ Add strongly typed EventNotifications
We've overhauled how V2 Events are handled in the SDK! This approach should provide a lot more information at authoring and compile time, leading to more robust integrations. As part of this process, there are a number of changes to be aware of.- Added matching
EventNotificationclasses to every v2Event. For example, there's now aV1BillingMeterErrorReportTriggeredEventNotificationto match the existingV1BillingMeterErrorReportTriggeredEvent. Each notification class defines afetchEvent()method to retrieve its corresponding event. For events with related objects, there's afetchRelatedObject()method that performs the API call and casts the response to the correct type. ⚠️ Rename functionStripeClient.parseThinEventtoStripeClient.parseEventNotificationand remove theStripe.ThinEventclass.- This function now returns a
Stripe.V2.Core.EventNotification(which is the shared base class that all of the more specificStripe.Events.*EventNotificationclasses share) instead ofStripe.ThinEvent. When applicable, these event notifications will have therelatedObjectproperty and afetchRelatedObject()function. They also have afetchEvent()method to retrieve their correspondingStripe.Event.*Eventinstance. - If you parse an event the SDK doesn't have types for (e.g. it's newer than the SDK you're using), you'll get an instance of
Stripe.Events.UnknownEventNotificationinstead of a more specific type. It has both therelatedObjectproperty and thefetchRelatedObject()function (but they may be/returnnull)
- This function now returns a
- Added matching
-
#2069 Move
V2.EventAPI resources toV2.Core.Events⚠️ Move the below event related classes fromcom.stripe.model.v2tocom.stripe.model.v2.core. This enables us to correctly match the API path to the namespacecom.stripe.model.v2.Event->com.stripe.model.v2.core.Eventcom.stripe.model.v2.EventDestination->com.stripe.model.v2.core.EventDestination
-
#2057 Add
StripeContextobject- Add the
StripeContextclass. Previously, you could set the stripe context only as a string viaStripeClientBuilder .setStripeContext(). The same method can now take an instance of theStripeContextclass as well ⚠️ ChangeEventNotification(formerly known asThinEvent)'scontextproperty fromstringtoStripeContext
- Add the
-
#2041 Throw
ApiKeyMissingExceptioninstead ofIllegalArgumentExceptionfor unset API keys⚠️ throwApiKeyMissingExceptioninstead ofIllegalArgumentExceptionwhen making a request before setting an API key initializing a client without an API key. Tweak the wording of that message to better indicate how to fix.
-
#2039
⚠️ Build SDK w/ V2 OpenAPI spec⚠️ The delete methods for v2 APIs (the ones in theStripeClient.v2namespace) now return aV2DeletedObjectwhich has the id of the object that has been deleted and a string representing the type of the object that has been deleted.⚠️ Query params on v2 APIs (likelimit) are nowLonginstead ofInteger(to match v1 APIs)⚠️ Deeply nested param hashes with no properties no longer have classes generated for them. Instead, they're typed asMap<String, Object>. Because there were no params, it's unlikely you were using these classes.
-
⚠️ Deprecated the V1 service accessors living directly under StripeClient(e.g. customers, products) as they were copied under the new V1 service in our last release. Service accessors living directly under StripeClient(e.g. customers, products) will be removed from StripeClient in a future release. E.g.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.
-
#2046 Adds v2 support to RateLimitException
⚠️ The base class ofRateLimitExceptionhas been changed fromInvalidRequestExceptiontoApiException. There is no change to the public interface for theRateLimitExceptionclass.
-
#2037 Fix type bounds on request
⚠️ Changes the signature ofLiveResponseGetter#request,ApiService#request, andStripeResponseGetter#requestto return<T extends StripeObject>instead of<T extends StripeObjectInterface>. This only affects advanced use cases where users are extendingStripeObjectInterfacewith their own objects to deserialize Stripe responses. Those objects will now need to extendStripeObject.
-
#2040, #2058, #2059, #2073 Update generated code based on incoming API changes in the
2025-09-30.cloverAPI version.⚠️ Remove support forbalanceReportandpayoutReconciliationReportonAccountSession.componentsandAccountSessionCreateParams.components⚠️ Change type ofInvoiceCreatePreviewParams.subscription_details.cancelAt,SubscriptionCreateParams.cancelAtandSubscriptionUpdateParams.cancelAtfromDateTimetoDateTime | enum('max_period_end'|'min_period_end')⚠️ Remove support for valuessaturdayandsundayfrom enumsAccountCreateParams.settings.payouts.schedule.weeklyPayoutDaysandAccountUpdateParams.settings.payouts.schedule.weeklyPayoutDays⚠️ Remove support foriterationsonInvoiceCreatePreviewParams.schedule_details.phases[],SubscriptionScheduleCreateParams.phases[], andSubscriptionScheduleUpdateParams.phases[]⚠️ Remove support forlinkandpayByBankonPaymentMethodUpdateParams⚠️ Remove support forcoupononDiscount,PromotionCodeCreateParams, andPromotionCode. UseDiscount.source.coupon,PromotionCodeCreateParams.promotion.coupon, andPromotionCode.promotion.couponinstead- Add support for new resource
BalanceSettings - Add support for
retrieveandupdatemethods on resourceBalanceSettings - Add support for
sourceonDiscount - Add support for
mbWayPaymentsonAccount.capabilities,AccountCreateParams.capabilities, andAccountUpdateParams.capabilities - Add support for
trialUpdateBehavioronbillingportal.Configuration.features.subscription_update,billingportal.ConfigurationCreateParams.features.subscription_update, andbillingportal.ConfigurationUpdateParams.features.subscription_update - Add support for
mbWayonCharge.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, andSetupIntentUpdateParams.payment_method_data - Add support for
brandingSettingsandnameCollectiononcheckout.SessionCreateParamsandcheckout.Session - Add support for
excludedPaymentMethodTypesonPaymentIntentConfirmParams,PaymentIntentUpdateParams,checkout.SessionCreateParams, andcheckout.Session - Add support for
unitLabelonInvoiceAddLinesParams.lines[].price_data.product_data,InvoiceLineItemUpdateParams.price_data.product_data,InvoiceUpdateLinesParams.lines[].price_data.product_data,PaymentLinkCreateParams.line_items[].price_data.product_data, andcheckout.SessionCreateParams.line_items[].price_data.product_data - Add support for
alma,billie, andsatispayoncheckout.Session.payment_method_optionsandcheckout.SessionCreateParams.payment_method_options - Add support for
demoPayoncheckout.SessionCreateParams.payment_method_options - Add support for
captureMethodoncheckout.Session.payment_method_options.affirm,checkout.Session.payment_method_options.afterpay_clearpay,checkout.Session.payment_method_options.amazon_pay,checkout.Session.payment_method_options.card,checkout.Session.payment_method_options.cashapp,checkout.Session.payment_method_options.klarna,checkout.Session.payment_method_options.link,checkout.Session.payment_method_options.mobilepay,checkout.Session.payment_method_options.revolut_pay,checkout.SessionCreateParams.payment_method_options.affirm,checkout.SessionCreateParams.payment_method_options.afterpay_clearpay,checkout.SessionCreateParams.payment_method_options.amazon_pay,checkout.SessionCreateParams.payment_method_options.card,checkout.SessionCreateParams.payment_method_options.cashapp,checkout.SessionCreateParams.payment_method_options.klarna,checkout.SessionCreateParams.payment_method_options.link,checkout.SessionCreateParams.payment_method_options.mobilepay, andcheckout.SessionCreateParams.payment_method_options.revolut_pay - Add support for
flexibleonInvoiceCreatePreviewParams.schedule_details.billing_mode,InvoiceCreatePreviewParams.subscription_details.billing_mode, `Quote...
v29.6.0-alpha.2
- #2042 generate private-preview SDK w/ mid Sept changes
- Add support for
retrievemethod on resourceV2.Core.ClaimableSandbox - Add support for
month_of_yearonV2.Billing.Cadence#create.billing_cycle.monthandV2.Billing.Cadence.billing_cycle.month - Add support for
claimed_at,expires_at,sandbox_details, andstatusonV2.Core.ClaimableSandbox - Remove support for
api_keysonV2.Core.ClaimableSandbox - Change type of
V2.Core.ClaimableSandbox.claim_urlfromstringtonullable(string) - Add support for new value
current_billing_period_endon enumsV2.Billing.Intent#create.actions[].deactivate.effective_at.typeandV2.Billing.IntentAction.deactivate.effective_at.type - Add support for
will_activate_atandwill_cancel_atonV2.Billing.PricingPlanSubscription.servicing_status_transitionsandV2.Billing.RateCardSubscription.servicing_status_transitions - Add support for
categoryandpriorityonV2.Billing.ServiceAction#create.credit_grant_per_tenant,V2.Billing.ServiceAction#create.credit_grant,V2.Billing.ServiceAction.credit_grant_per_tenant, andV2.Billing.ServiceAction.credit_grant - Change
V2.Billing.LicenseFee#update.display_nameto be optional - Add support for
invoicesonEventsV2BillingCadenceBilledEvent - Add support for thin events
V2CoreClaimableSandboxClaimedEvent,V2CoreClaimableSandboxExpiredEvent,V2CoreClaimableSandboxExpiringEvent, andV2CoreClaimableSandboxSandboxDetailsOwnerAccountUpdatedEventwith related objectV2.Core.ClaimableSandbox - Remove support for thin event
V2BillingCadenceErroredEventwith related objectV2.Billing.Cadence
- Add support for
v29.6.0-alpha.1
- #2033 Update generated code for private-preview
- Add support for
attach_cadencemethod on resourceSubscription - Add support for
currencyandexternalCustomerIdonbilling.AlertTriggered - Add support for
customPricingUnitonbilling.AlertTriggered,billing.CreditBalanceSummary.balances[].available_balance,billing.CreditBalanceSummary.balances[].ledger_balance,billing.CreditBalanceTransaction.credit.amount,billing.CreditBalanceTransaction.debit.amount,billing.CreditGrant.amount, andbilling.CreditGrantCreateParams.amount - Add support for
customeronbilling.AlertListParams - Change type of
billing.Alert.alertType,billing.AlertCreateParams.alertType, andbilling.AlertListParams.alertTypefromliteral('usage_threshold')toenum('credit_balance_threshold'|'usage_threshold') - Add support for
creditBalanceThresholdonbilling.AlertCreateParamsandbilling.Alert - Add support for
billableItemsonbilling.CreditBalanceSummaryRetrieveParams.filter.applicability_scope,billing.CreditGrant.applicability_config.scope, andbilling.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, andbilling.CreditGrantCreateParams.amount.typefromliteral('monetary')toenum('custom_pricing_unit'|'monetary') - Add support for
licenseFeeSubscriptionDetailsandrateCardSubscriptionDetailsonInvoiceItem.parentandInvoiceLineItem.parent - Change type of
InvoiceItem.parent.typefromliteral('subscription_details')toenum('license_fee_subscription_details'|'rate_card_subscription_details'|'subscription_details') - Add support for
licenseFeeDetailsandrateCardRateDetailsonInvoiceItem.pricingandInvoiceLineItem.pricing - Change type of
InvoiceItem.pricing.typeandInvoiceLineItem.pricing.typefromliteral('price_details')toenum('license_fee_details'|'price_details'|'rate_card_rate_details') - Add support for
billingCadenceonInvoiceCreatePreviewParams,SubscriptionCreateParams, andSubscription - Add support for
billingCadenceDetailsonInvoice.parentandQuotePreviewInvoice.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, andv2.tax.AutomaticRule - Add support for
create,deactivate,find,retrieve, andupdatemethods on resourcev2.tax.AutomaticRule - Add support for
createandretrievemethods on resourcesv2.billing.ServiceActionandv2.reporting.ReportRun - Add support for
retrievemethod on resourcesv2.billing.LicenseFeeSubscriptionandv2.reporting.Report - Add support for
createmethod on resourcesv2.core.ClaimableSandbox - Add support for
cancel,create,list,retrieve, andupdatemethods on resourcesv2.billing.Cadenceandv2.billing.RateCardSubscription - Add support for
create,list,retrieve, andupdatemethods on resourcesv2.billing.BillSetting,v2.billing.CollectionSetting,v2.billing.CustomPricingUnit,v2.billing.LicenseFee,v2.billing.LicensedItem,v2.billing.MeteredItem,v2.billing.PricingPlan,v2.billing.Profile, andv2.billing.RateCard - Add support for
listandretrievemethods on resourcesv2.billing.BillSettingVersion,v2.billing.CollectionSettingVersion,v2.billing.IntentAction,v2.billing.LicenseFeeVersion,v2.billing.PricingPlanSubscription,v2.billing.PricingPlanVersion, andv2.billing.RateCardVersion - Add support for
create,delete,list, andretrievemethods on resourcev2.billing.RateCardRate - Add support for
create,delete,list,retrieve, andupdatemethods on resourcev2.billing.PricingPlanComponent - Add support for
cancel,commit,create,list,release_reservation,reserve, andretrievemethods on resourcev2.billing.Intent - Add support for
changesonv2.Event - Add support for thin events
V2BillingCadenceBilledEvent,V2BillingCadenceCanceledEvent,V2BillingCadenceCreatedEvent, andV2BillingCadenceErroredEventwith related objectv2.billing.Cadence - Add support for thin events
V2BillingLicenseFeeCreatedEventandV2BillingLicenseFeeUpdatedEventwith related objectv2.billing.LicenseFee - Add support for thin event
V2BillingLicenseFeeVersionCreatedEventwith related objectv2.billing.LicenseFeeVersion - Add support for thin events
V2BillingLicensedItemCreatedEventandV2BillingLicensedItemUpdatedEventwith related objectv2.billing.LicensedItem - Add support for thin events
V2BillingMeteredItemCreatedEventandV2BillingMeteredItemUpdatedEventwith related objectv2.billing.MeteredItem - Add support for thin events
V2BillingPricingPlanCreatedEventandV2BillingPricingPlanUpdatedEventwith related objectv2.billing.PricingPlan - Add support for thin events
V2BillingPricingPlanComponentCreatedEventandV2BillingPricingPlanComponentUpdatedEventwith related objectv2.billing.PricingPlanComponent - Add support for thin events
V2BillingPricingPlanSubscriptionCollectionAwaitingCustomerActionEvent,V2BillingPricingPlanSubscriptionCollectionCurrentEvent,V2BillingPricingPlanSubscriptionCollectionPastDueEvent,V2BillingPricingPlanSubscriptionCollectionPausedEvent,V2BillingPricingPlanSubscriptionCollectionUnpaidEvent,V2BillingPricingPlanSubscriptionServicingActivatedEvent,V2BillingPricingPlanSubscriptionServicingCanceledEvent, andV2BillingPricingPlanSubscriptionServicingPausedEventwith related objectv2.billing.PricingPlanSubscription - Add support for thin event
V2BillingPricingPlanVersionCreatedEventwith related objectv2.billing.PricingPlanVersion - Add support for thin events
V2BillingRateCardCreatedEventandV2BillingRateCardUpdatedEventwith related objectv2.billing.RateCard - Add support for thin event
V2BillingRateCardRateCreatedEventwith related objectv2.billing.RateCardRate - Add support for thin events
V2BillingRateCardSubscriptionActivatedEvent,V2BillingRateCardSubscriptionCanceledEvent,V2BillingRateCardSubscriptionCollectionAwaitingCustomerActionEvent,V2BillingRateCardSubscriptionCollectionCurrentEvent,V2BillingRateCardSubscriptionCollectionPastDueEvent,V2BillingRateCardSubscriptionCollectionPausedEvent,V2BillingRateCardSubscriptionCollectionUnpaidEvent,V2BillingRateCardSubscriptionServicingActivatedEvent,V2BillingRateCardSubscriptionServicingCanceledEvent, andV2BillingRateCardSubscriptionServicingPausedEventwith related objectv2.billing.RateCardSubscription - Add support for thin event
V2BillingRateCardVersionCreatedEventwith related objectv2.billing.RateCardVersion - Add support for thin events
V2CoreHealthApiErrorFiringEvent,V2CoreHealthApiErrorResolvedEvent,V2CoreHealthApiLatencyFiringEvent,V2CoreHealthApiLatencyResolvedEvent,V2CoreHealthAuthorizationRateDropFiringEvent,V2CoreHealthAuthorizationRateDropResolvedEvent,V2CoreHealthEventGenerationFailureResolvedEvent,V2CoreHealthFraudRateIncreasedEvent,V2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent,V2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent,V2CoreHealthPaymentMethodErrorFiringEvent,V2CoreHealthPaymentMethodErrorResolvedEvent,V2CoreHealthTrafficVolumeDropFiringEvent,V2CoreHealthTrafficVolumeDropResolvedEvent,V2CoreHealthWebhookLatencyFiringEvent, andV2CoreHealthWebhookLatencyResolvedEvent - Add support for thin events
V2ReportingReportRunCreatedEvent,V2ReportingReportRunFailedEvent,V2ReportingReportRunSucceededEvent, andV2ReportingReportRunUpdatedEventwith related objectv2.reporting.ReportRun - Add support for error type
RateLimitException ⚠️ The base class ofRateLimitExceptionhas been changed fromInvalidRequestExceptiontoApiException. There is no change to the public interface for theRateLimitExceptionclass.
- Add support for
v29.6.0-beta.1
This release changes the pinned API version to 2025-08-27.preview.
- #2029 Update generated code for beta
- Add support for
listandretrievemethods on resourceInvoicePayment - Add support for
listmethod on resourceMandate - Add support for
appliedonv2.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, andv2.core.AccountUpdateParams.configuration.storer - Change type of
billing.AlertTriggered.valuefromlongIntegertodecimal_string - Add support for
displayNameonv2.moneymanagement.FinancialAccountCreateParamsandv2.moneymanagement.FinancialAccount - Add support for
currencyConversiononv2.moneymanagement.Transaction.flowandv2.moneymanagement.TransactionEntry.transaction_details.flow - Add support for
paymentsonBalanceSettingsUpdateParamsandBalanceSettings - Remove support for
debitNegativeBalances,payouts, andsettlementTimingonBalanceSettingsUpdateParamsandBalanceSettings - Add support for
mandateonCharge.payment_method_details.pix,PaymentAttemptRecord.payment_method_details.pix, andPaymentRecord.payment_method_details.pix - Add support for
couponDataoncheckout.SessionCreateParams.discounts[] - Add support for
mandateOptionsonPaymentIntent.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, andcheckout.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, andcheckout.SessionCreateParams.payment_method_options.pix.setupFutureUsagefromliteral('none')toenum('none'|'off_session') - Add support for
amountonMandate.multi_use,PaymentAttemptRecord, andPaymentRecord - Add support for
currencyonMandate.multi_use - Add support for
pixonMandate.payment_method_details,SetupAttempt.payment_method_details,SetupIntent.payment_method_options,SetupIntentConfirmParams.payment_method_options,SetupIntentCreateParams.payment_method_options, andSetupIntentUpdateParams.payment_method_options - Add support for
limitonPaymentAttemptRecordListParams - Add support for
amountAuthorized,amountRefunded, andapplicationonPaymentAttemptRecordandPaymentRecord - Add support for
processorDetailsonPaymentAttemptRecord,PaymentRecordReportPaymentParams, andPaymentRecord - Remove support for
paymentReferenceonPaymentAttemptRecord,PaymentRecordReportPaymentParams, andPaymentRecord - Add support for
installmentsonPaymentAttemptRecord.payment_method_details.almaandPaymentRecord.payment_method_details.alma - Add support for
transactionIdonPaymentAttemptRecord.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, andPaymentRecord.payment_method_details.satispay - Add support for
locationandreaderonPaymentAttemptRecord.payment_method_details.paynowandPaymentRecord.payment_method_details.paynow - Add support for
latestActiveMandateonPaymentMethod - Add support for
metadataandperiodonQuotePreviewSubscriptionSchedule.phases[].add_invoice_items[] - Add support for
pixDisplayQrCodeonSetupIntent.next_action - Add support for
readerSecurityonterminal.ConfigurationCreateParams,terminal.ConfigurationUpdateParams, andterminal.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, andsa_tinon enumsv2.core.AccountCreateParams.identity.business_details.id_numbers[].typeandv2.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, andsa_tinon enumsv2.core.AccountCreateParams.identity.individual.id_numbers[].type,v2.core.AccountUpdateParams.identity.individual.id_numbers[].type,v2.core.PersonCreateParams.id_numbers[].type, andv2.core.PersonUpdateParams.id_numbers[].type
- Add support for
v29.5.0
- #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, andpayoutReconciliationReportonAccountSession.componentsandAccountSessionCreateParams.components - Add support for
nameonbillingportal.ConfigurationCreateParams,billingportal.ConfigurationUpdateParams, andbillingportal.Configuration - Add support for
installmentsonCharge.payment_method_details.alma - Add support for
transactionIdonCharge.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, andCharge.payment_method_details.satispay - Add support for
locationandreaderonCharge.payment_method_details.paynow - Add support for
amountIncludesIofonPaymentIntent.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, andcheckout.SessionCreateParams.payment_method_options.pix - Add support for new value
terminal_android_apkon enumFileListParams.purpose - Add support for new value
terminal_android_apkon enumFileCreateParams.purpose - Add support for
metadataandperiodonInvoiceCreatePreviewParams.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[], andSubscriptionUpdateParams.add_invoice_items[] - Add support for
expMonthandexpYearonissuing.CardCreateParams - Add support for
excludedPaymentMethodTypesonPaymentIntentCreateParamsandPaymentIntent - Add support for
payoutMethodonPayoutCreateParamsandPayout - Add support for
mxnonterminal.Configuration.tipping,terminal.ConfigurationCreateParams.tipping, andterminal.ConfigurationUpdateParams.tipping - Add support for
cardonterminal.ReaderPresentPaymentMethodParams - Add support for new value
cardon enumterminal.ReaderPresentPaymentMethodParams.type - Add support for new value
2025-08-27.basilon enumWebhookEndpointCreateParams.apiVersion
- Add support for
- #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.
Refer to the migration guide for help upgrading.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()