This release changes the pinned API version to 2025-11-17.preview.
- #1679 Update generated code for private-preview
- Add support for new resources
v2.core.AccountPersonToken,v2.core.AccountToken, andv2.money_management.CurrencyConversion - Add support for
create,list, andretrievemethods on resourcev2.money_management.CurrencyConversion - Add support for
createandretrievemethods on resourcesv2.core.AccountPersonTokenandv2.core.AccountToken - Add support for
effective_atonInvoiceCreatePreviewParamsScheduleDetailAmendment,InvoiceCreatePreviewParamsScheduleDetailPhase,QuoteCreateParamsLine,QuoteLine,QuoteModifyParamsLine,QuotePreviewSubscriptionSchedule.Phase,SubscriptionSchedule.Phase,SubscriptionScheduleAmendParamsAmendment,SubscriptionScheduleCreateParamsPhase, andSubscriptionScheduleModifyParamsPhase - Add support for
trial_offeronInvoiceCreatePreviewParamsScheduleDetailAmendmentItemActionAdd,InvoiceCreatePreviewParamsScheduleDetailAmendmentItemActionSet,InvoiceCreatePreviewParamsScheduleDetailPhaseItem,QuoteCreateParamsLineActionAddItem,QuoteCreateParamsLineActionSetItem,QuoteLine.Action.AddItem,QuoteLine.Action.SetItem,QuoteModifyParamsLineActionAddItem,QuoteModifyParamsLineActionSetItem,QuotePreviewSubscriptionSchedule.Phase.Item,SubscriptionSchedule.Phase.Item,SubscriptionScheduleAmendParamsAmendmentItemActionAdd,SubscriptionScheduleAmendParamsAmendmentItemActionSet,SubscriptionScheduleCreateParamsPhaseItem, andSubscriptionScheduleModifyParamsPhaseItem - Change type of
DelegatedCheckout.RequestedSession.amount_subtotalfromlongIntegertonullable(longInteger) - Change type of
DelegatedCheckout.RequestedSession.amount_totalfromlongIntegertonullable(longInteger) - Add support for
amount_discount,amount_subtotal,amount_total,unit_amount_after_discount, andunit_discountonDelegatedCheckout.RequestedSession.LineItemDetail - Add support for
amount_subtotal_after_discountonDelegatedCheckout.RequestedSession.LineItemDetailandDelegatedCheckout.RequestedSession.TotalDetail - Change type of
InvoiceCreatePreviewParamsScheduleDetail.billing_schedulesfromarray(billing_schedules_update_params)toemptyable(array(billing_schedules_update_params)) - Remove support for values
amendment_end,line_ends_at,schedule_end, andupcoming_invoicefrom enumsInvoiceCreatePreviewParamsSubscriptionDetailBillingScheduleBillUntil.type,Subscription.BillingSchedule.BillUntil.type,SubscriptionCreateParamsBillingScheduleBillUntil.type,SubscriptionModifyParamsBillingScheduleBillUntil.type,SubscriptionScheduleCreateParamsBillingScheduleBillUntil.type, andSubscriptionScheduleModifyParamsBillingScheduleBillUntil.type - Add support for
current_trialonInvoiceCreatePreviewParamsSubscriptionDetailItem,SubscriptionCreateParamsItem,SubscriptionItemCreateParams,SubscriptionItemModifyParams,SubscriptionItem, andSubscriptionModifyParamsItem - Change type of
QuoteCreateParamsSubscriptionDataOverride.billing_schedulesandQuoteCreateParamsSubscriptionDatum.billing_schedulesfromemptyable(array(billing_schedules_create_specs))toarray(billing_schedules_create_specs) - Add support for new value
line_starton enumsQuoteCreateParamsSubscriptionDataOverride.phase_effective_at,QuoteCreateParamsSubscriptionDatum.phase_effective_at,QuoteModifyParamsSubscriptionDataOverride.phase_effective_at, andQuoteModifyParamsSubscriptionDatum.phase_effective_at - Remove support for value
phase_startfrom enumsQuoteCreateParamsSubscriptionDataOverride.phase_effective_at,QuoteCreateParamsSubscriptionDatum.phase_effective_at,QuoteModifyParamsSubscriptionDataOverride.phase_effective_at, andQuoteModifyParamsSubscriptionDatum.phase_effective_at - Change type of
Quote.SubscriptionDataOverride.billing_schedulesandQuote.SubscriptionDatum.billing_schedulesfromnullable(array(SubscriptionsResourceBillingSchedules))toarray(QuotesResourceSubscriptionDataBillingSchedules) - Change type of
Quote.SubscriptionDataOverride.phase_effective_atandQuote.SubscriptionDatum.phase_effective_atfromnullable(enum('billing_period_start'|'phase_start'))toenum('billing_period_start'|'line_start') - Change type of
QuotePreviewSubscriptionSchedule.DefaultSetting.phase_effective_atandSubscriptionSchedule.DefaultSetting.phase_effective_atfromnullable(enum('billing_period_start'|'phase_start'))toenum('billing_period_start'|'phase_start') - Change type of
QuotePreviewSubscriptionSchedule.billing_schedulesandSubscriptionSchedule.billing_schedulesfromnullable(array(SubscriptionsResourceBillingSchedules))toarray(SubscriptionsResourceBillingSchedules) - Remove support for
amendment_start,line_starts_at, andrelativeonSubscription.BillingSchedule.BillFrom - Change type of
Subscription.BillingSchedule.BillFrom.computed_timestampfromnullable(DateTime)toDateTime - Change type of
Subscription.BillingSchedule.BillFrom.typefromenumtoliteral('timestamp') - Remove support for
amendment_endandline_ends_atonSubscription.BillingSchedule.BillUntil - Change type of
V2.Billing.ServiceAction.CreditGrant.Amount.monetary,V2.Billing.ServiceAction.CreditGrantPerTenant.Amount.monetary,v2.billing.ServiceActionCreateParamsCreditGrantAmount.monetary, andv2.billing.ServiceActionCreateParamsCreditGrantPerTenantAmount.monetaryfromamounttoan object - Add support for
future_requirementsonV2.Core.Account - Add support for
konbini_paymentsandscript_statement_descriptoronV2.Core.Account.Configuration.Merchant,v2.core.AccountCreateParamsConfigurationMerchant, andv2.core.AccountModifyParamsConfigurationMerchant - Add support for
euronV2.Core.Account.Configuration.Storer.Capability.HoldsCurrency,v2.core.AccountCreateParamsConfigurationStorerCapabilityHoldsCurrency, andv2.core.AccountModifyParamsConfigurationStorerCapabilityHoldsCurrency - Add support for
requirements_collectoronV2.Core.Account.Default.Responsibility - Add support for new value
ar_cuiton enumsV2.Core.Account.Identity.BusinessDetail.IdNumber.type,v2.core.AccountCreateParamsIdentityBusinessDetailIdNumber.type, andv2.core.AccountModifyParamsIdentityBusinessDetailIdNumber.type - Add support for new value
ar_dnion enumsV2.Core.Account.Identity.Individual.IdNumber.type,V2.Core.AccountPerson.IdNumber.type,v2.core.AccountCreateParamsIdentityIndividualIdNumber.type,v2.core.AccountModifyParamsIdentityIndividualIdNumber.type,v2.core.AccountPersonCreateParamsIdNumber.type, andv2.core.AccountPersonModifyParamsIdNumber.type - Remove support for
collectoronV2.Core.Account.Requirement - Add support for new value
holds_currencies.euron enumV2.Core.Account.Requirement.Entry.Impact.RestrictsCapability.capability - Add support for new values
payment_methodandpersonon enumV2.Core.Account.Requirement.Entry.Reference.type - Remove support for value
resourcefrom enumV2.Core.Account.Requirement.Entry.Reference.type - Remove support for value
future_requirementsfrom enumV2.Core.Account.Requirement.Entry.RequestedReason.code - Remove support for
v1_event_idonV2.Core.Event - Remove support for
amount_detailsandcapture_methodonV2.Payments.OffSessionPaymentandv2.payments.OffSessionPaymentCreateParams - Change type of
V2.Payments.OffSessionPayment.amount_capturablefromamounttoan object - Change type of
V2.Payments.OffSessionPayment.amount_requestedfromamounttoan object - Change type of
v2.payments.OffSessionPaymentCreateParams.amountfromamounttoan object - Add support for new value
best_availableon enumv2.payments.OffSessionPaymentCreateParamsRetryDetail.retry_strategy - Remove support for values
heuristic,scheduled, andsmartfrom enumv2.payments.OffSessionPaymentCreateParamsRetryDetail.retry_strategy - Change
v2.payments.OffSessionPaymentCreateParamsRetryDetail.retry_strategyto be optional - Remove support for
destinationonv2.payments.OffSessionPaymentCaptureParamsTransferDatum - Change
v2.payments.OffSessionPaymentCaptureParams.amount_to_captureto be optional - Add support for
createdonv2.core.EventListParams - Remove support for
gt,gte,lt, andlteonv2.core.EventListParams - Add support for
account_tokenonv2.core.AccountCreateParamsandv2.core.AccountModifyParams - Add support for new value
future_requirementson enumsv2.core.AccountCreateParams.include,v2.core.AccountModifyParams.include, andv2.core.AccountRetrieveParams.include - Add support for
person_tokenonv2.core.AccountPersonCreateParamsandv2.core.AccountPersonModifyParams - Add support for
impacted_requests_percentageonEventsV2CoreHealthApiErrorFiringEvent.Impact,EventsV2CoreHealthApiErrorResolvedEvent.Impact,EventsV2CoreHealthApiLatencyFiringEvent.Impact,EventsV2CoreHealthApiLatencyResolvedEvent.Impact,EventsV2CoreHealthPaymentMethodErrorFiringEvent.Impact, andEventsV2CoreHealthPaymentMethodErrorResolvedEvent.Impact - Add support for
contextandrelated_objectonEventsV2CoreHealthEventGenerationFailureResolvedEvent.Impact - Remove support for
account,livemode,missing_delivery_attempts, andrelated_object_idonEventsV2CoreHealthEventGenerationFailureResolvedEvent.Impact - Change type of
EventsV2CoreHealthFraudRateIncreasedEvent.Impact.realized_fraud_amountfromamounttoan object - Change type of
EventsV2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent.Impact.approved_amount,EventsV2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent.Impact.approved_amount,EventsV2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent.Impact.approved_amount, andEventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent.Impact.approved_amountfromamounttoan object - Change type of
EventsV2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent.Impact.declined_amount,EventsV2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent.Impact.declined_amount,EventsV2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent.Impact.declined_amount, andEventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent.Impact.declined_amountfromamounttoan object - Add support for thin events
V2PaymentsOffSessionPaymentAttemptFailedEventandV2PaymentsOffSessionPaymentAttemptStartedEventwith related objectv2.payments.OffSessionPayment - Remove support for thin event
V1AccountUpdatedEventwith related objectAccount - Remove support for thin events
V1ApplicationFeeCreatedEventandV1ApplicationFeeRefundedEventwith related objectApplicationFee - Remove support for thin events
V1BillingPortalConfigurationCreatedEventandV1BillingPortalConfigurationUpdatedEventwith related objectbilling_portal.Configuration - Remove support for thin event
V1CapabilityUpdatedEventwith related objectCapability - Remove support for thin events
V1ChargeCapturedEvent,V1ChargeExpiredEvent,V1ChargeFailedEvent,V1ChargePendingEvent,V1ChargeRefundedEvent,V1ChargeSucceededEvent, andV1ChargeUpdatedEventwith related objectCharge - Remove support for thin events
V1ChargeDisputeClosedEvent,V1ChargeDisputeCreatedEvent,V1ChargeDisputeFundsReinstatedEvent,V1ChargeDisputeFundsWithdrawnEvent, andV1ChargeDisputeUpdatedEventwith related objectDispute - Remove support for thin events
V1ChargeRefundUpdatedEvent,V1RefundCreatedEvent,V1RefundFailedEvent, andV1RefundUpdatedEventwith related objectRefund - Remove support for thin events
V1CheckoutSessionAsyncPaymentFailedEvent,V1CheckoutSessionAsyncPaymentSucceededEvent,V1CheckoutSessionCompletedEvent, andV1CheckoutSessionExpiredEventwith related objectcheckout.Session - Remove support for thin events
V1ClimateOrderCanceledEvent,V1ClimateOrderCreatedEvent,V1ClimateOrderDelayedEvent,V1ClimateOrderDeliveredEvent, andV1ClimateOrderProductSubstitutedEventwith related objectclimate.Order - Remove support for thin events
V1ClimateProductCreatedEventandV1ClimateProductPricingUpdatedEventwith related objectclimate.Product - Remove support for thin events
V1CouponCreatedEvent,V1CouponDeletedEvent, andV1CouponUpdatedEventwith related objectCoupon - Remove support for thin events
V1CreditNoteCreatedEvent,V1CreditNoteUpdatedEvent, andV1CreditNoteVoidedEventwith related objectCreditNote - Remove support for thin events
V1CustomerCreatedEvent,V1CustomerDeletedEvent, andV1CustomerUpdatedEventwith related objectCustomer - Remove support for thin events
V1CustomerSubscriptionCreatedEvent,V1CustomerSubscriptionDeletedEvent,V1CustomerSubscriptionPausedEvent,V1CustomerSubscriptionPendingUpdateAppliedEvent,V1CustomerSubscriptionPendingUpdateExpiredEvent,V1CustomerSubscriptionResumedEvent,V1CustomerSubscriptionTrialWillEndEvent, andV1CustomerSubscriptionUpdatedEventwith related objectSubscription - Remove support for thin events
V1CustomerTaxIdCreatedEvent,V1CustomerTaxIdDeletedEvent, andV1CustomerTaxIdUpdatedEventwith related objectTaxId - Remove support for thin event
V1FileCreatedEventwith related objectFile - Remove support for thin events
V1FinancialConnectionsAccountCreatedEvent,V1FinancialConnectionsAccountDeactivatedEvent,V1FinancialConnectionsAccountDisconnectedEvent,V1FinancialConnectionsAccountReactivatedEvent,V1FinancialConnectionsAccountRefreshedBalanceEvent,V1FinancialConnectionsAccountRefreshedOwnershipEvent, andV1FinancialConnectionsAccountRefreshedTransactionsEventwith related objectfinancial_connections.Account - Remove support for thin events
V1IdentityVerificationSessionCanceledEvent,V1IdentityVerificationSessionCreatedEvent,V1IdentityVerificationSessionProcessingEvent,V1IdentityVerificationSessionRedactedEvent,V1IdentityVerificationSessionRequiresInputEvent, andV1IdentityVerificationSessionVerifiedEventwith related objectidentity.VerificationSession - Remove support for thin events
V1InvoiceCreatedEvent,V1InvoiceDeletedEvent,V1InvoiceFinalizationFailedEvent,V1InvoiceFinalizedEvent,V1InvoiceMarkedUncollectibleEvent,V1InvoiceOverdueEvent,V1InvoiceOverpaidEvent,V1InvoicePaidEvent,V1InvoicePaymentActionRequiredEvent,V1InvoicePaymentFailedEvent,V1InvoicePaymentSucceededEvent,V1InvoiceSentEvent,V1InvoiceUpcomingEvent,V1InvoiceUpdatedEvent,V1InvoiceVoidedEvent, andV1InvoiceWillBeDueEventwith related objectInvoice - Remove support for thin event
V1InvoicePaymentPaidEventwith related objectInvoicePayment - Remove support for thin events
V1InvoiceitemCreatedEventandV1InvoiceitemDeletedEventwith related objectInvoiceItem - Remove support for thin events
V1IssuingAuthorizationCreatedEvent,V1IssuingAuthorizationRequestEvent, andV1IssuingAuthorizationUpdatedEventwith related objectissuing.Authorization - Remove support for thin events
V1IssuingCardCreatedEventandV1IssuingCardUpdatedEventwith related objectissuing.Card - Remove support for thin events
V1IssuingCardholderCreatedEventandV1IssuingCardholderUpdatedEventwith related objectissuing.Cardholder - Remove support for thin events
V1IssuingDisputeClosedEvent,V1IssuingDisputeCreatedEvent,V1IssuingDisputeFundsReinstatedEvent,V1IssuingDisputeFundsRescindedEvent,V1IssuingDisputeSubmittedEvent, andV1IssuingDisputeUpdatedEventwith related objectissuing.Dispute - Remove support for thin events
V1IssuingPersonalizationDesignActivatedEvent,V1IssuingPersonalizationDesignDeactivatedEvent,V1IssuingPersonalizationDesignRejectedEvent, andV1IssuingPersonalizationDesignUpdatedEventwith related objectissuing.PersonalizationDesign - Remove support for thin events
V1IssuingTokenCreatedEventandV1IssuingTokenUpdatedEventwith related objectissuing.Token - Remove support for thin events
V1IssuingTransactionCreatedEvent,V1IssuingTransactionPurchaseDetailsReceiptUpdatedEvent, andV1IssuingTransactionUpdatedEventwith related objectissuing.Transaction - Remove support for thin event
V1MandateUpdatedEventwith related objectMandate - Remove support for thin events
V1PaymentIntentAmountCapturableUpdatedEvent,V1PaymentIntentCanceledEvent,V1PaymentIntentCreatedEvent,V1PaymentIntentPartiallyFundedEvent,V1PaymentIntentPaymentFailedEvent,V1PaymentIntentProcessingEvent,V1PaymentIntentRequiresActionEvent, andV1PaymentIntentSucceededEventwith related objectPaymentIntent - Remove support for thin events
V1PaymentLinkCreatedEventandV1PaymentLinkUpdatedEventwith related objectPaymentLink - Remove support for thin events
V1PaymentMethodAttachedEvent,V1PaymentMethodAutomaticallyUpdatedEvent,V1PaymentMethodDetachedEvent, andV1PaymentMethodUpdatedEventwith related objectPaymentMethod - Remove support for thin events
V1PayoutCanceledEvent,V1PayoutCreatedEvent,V1PayoutFailedEvent,V1PayoutPaidEvent,V1PayoutReconciliationCompletedEvent, andV1PayoutUpdatedEventwith related objectPayout - Remove support for thin events
V1PersonCreatedEvent,V1PersonDeletedEvent, andV1PersonUpdatedEventwith related objectPerson - Remove support for thin events
V1PlanCreatedEvent,V1PlanDeletedEvent, andV1PlanUpdatedEventwith related objectPlan - Remove support for thin events
V1PriceCreatedEvent,V1PriceDeletedEvent, andV1PriceUpdatedEventwith related objectPrice - Remove support for thin events
V1ProductCreatedEvent,V1ProductDeletedEvent, andV1ProductUpdatedEventwith related objectProduct - Remove support for thin events
V1PromotionCodeCreatedEventandV1PromotionCodeUpdatedEventwith related objectPromotionCode - Remove support for thin events
V1QuoteAcceptedEvent,V1QuoteCanceledEvent,V1QuoteCreatedEvent, andV1QuoteFinalizedEventwith related objectQuote - Remove support for thin events
V1RadarEarlyFraudWarningCreatedEventandV1RadarEarlyFraudWarningUpdatedEventwith related objectradar.EarlyFraudWarning - Remove support for thin events
V1ReviewClosedEventandV1ReviewOpenedEventwith related objectReview - Remove support for thin events
V1SetupIntentCanceledEvent,V1SetupIntentCreatedEvent,V1SetupIntentRequiresActionEvent,V1SetupIntentSetupFailedEvent, andV1SetupIntentSucceededEventwith related objectSetupIntent - Remove support for thin event
V1SigmaScheduledQueryRunCreatedEventwith related objectsigma.ScheduledQueryRun - Remove support for thin events
V1SourceCanceledEvent,V1SourceChargeableEvent,V1SourceFailedEvent, andV1SourceRefundAttributesRequiredEventwith related objectSource - Remove support for thin events
V1SubscriptionScheduleAbortedEvent,V1SubscriptionScheduleCanceledEvent,V1SubscriptionScheduleCompletedEvent,V1SubscriptionScheduleCreatedEvent,V1SubscriptionScheduleExpiringEvent,V1SubscriptionScheduleReleasedEvent, andV1SubscriptionScheduleUpdatedEventwith related objectSubscriptionSchedule - Remove support for thin events
V1TaxRateCreatedEventandV1TaxRateUpdatedEventwith related objectTaxRate - Remove support for thin events
V1TerminalReaderActionFailedEvent,V1TerminalReaderActionSucceededEvent, andV1TerminalReaderActionUpdatedEventwith related objectterminal.Reader - Remove support for thin events
V1TestHelpersTestClockAdvancingEvent,V1TestHelpersTestClockCreatedEvent,V1TestHelpersTestClockDeletedEvent,V1TestHelpersTestClockInternalFailureEvent, andV1TestHelpersTestClockReadyEventwith related objecttest_helpers.TestClock - Remove support for thin events
V1TopupCanceledEvent,V1TopupCreatedEvent,V1TopupFailedEvent,V1TopupReversedEvent, andV1TopupSucceededEventwith related objectTopup - Remove support for thin events
V1TransferCreatedEvent,V1TransferReversedEvent, andV1TransferUpdatedEventwith related objectTransfer
- Add support for new resources