This release changes the pinned API version to 2025-11-17.preview.
- #2510 Update generated code for private-preview
- Add support for new resources
V2.Core.AccountPersonToken,V2.Core.AccountToken, andV2.MoneyManagement.CurrencyConversion - Add support for
create,list, andretrievemethods on resourceV2.MoneyManagement.CurrencyConversion - Add support for
createandretrievemethods on resourcesV2.Core.AccountPersonTokenandV2.Core.AccountToken - Add support for
effective_atonInvoiceCreatePreviewParams.schedule_details.amendments[],InvoiceCreatePreviewParams.schedule_details.phases[],QuoteCreateParams.lines[],QuoteLine,QuotePreviewSubscriptionSchedule.phases[],QuoteUpdateParams.lines[],SubscriptionSchedule.phases[],SubscriptionScheduleAmendParams.amendments[],SubscriptionScheduleCreateParams.phases[], andSubscriptionScheduleUpdateParams.phases[] - Add support for
trial_offeronInvoiceCreatePreviewParams.schedule_details.amendments[].item_actions[].add,InvoiceCreatePreviewParams.schedule_details.amendments[].item_actions[].set,InvoiceCreatePreviewParams.schedule_details.phases[].items[],QuoteCreateParams.lines[].actions[].add_item,QuoteCreateParams.lines[].actions[].set_items[],QuoteLine.actions[].add_item,QuoteLine.actions[].set_items[],QuotePreviewSubscriptionSchedule.phases[].items[],QuoteUpdateParams.lines[].actions[].add_item,QuoteUpdateParams.lines[].actions[].set_items[],SubscriptionSchedule.phases[].items[],SubscriptionScheduleAmendParams.amendments[].item_actions[].add,SubscriptionScheduleAmendParams.amendments[].item_actions[].set,SubscriptionScheduleCreateParams.phases[].items[], andSubscriptionScheduleUpdateParams.phases[].items[] - Change type of
DelegatedCheckout.RequestedSession.amount_subtotalfromlongIntegertolongInteger | null - Change type of
DelegatedCheckout.RequestedSession.amount_totalfromlongIntegertolongInteger | null - Add support for
amount_discount,amount_subtotal,amount_total,unit_amount_after_discount, andunit_discountonDelegatedCheckout.RequestedSession.line_item_details[] - Add support for
amount_subtotal_after_discountonDelegatedCheckout.RequestedSession.line_item_details[]andDelegatedCheckout.RequestedSession.total_details - Change type of
InvoiceCreatePreviewParams.schedule_details.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 enumsInvoiceCreatePreviewParams.subscription_details.billing_schedules[].bill_until.type,Subscription.billing_schedules[].bill_until.type,SubscriptionCreateParams.billing_schedules[].bill_until.type,SubscriptionScheduleCreateParams.billing_schedules[].bill_until.type,SubscriptionScheduleUpdateParams.billing_schedules[].bill_until.type, andSubscriptionUpdateParams.billing_schedules[].bill_until.type - Add support for
current_trialonInvoiceCreatePreviewParams.subscription_details.items[],SubscriptionCreateParams.items[],SubscriptionItemCreateParams,SubscriptionItemUpdateParams,SubscriptionItem, andSubscriptionUpdateParams.items[] - Change type of
QuoteCreateParams.subscription_data.billing_schedulesandQuoteCreateParams.subscription_data_overrides[].billing_schedulesfromemptyable(array(billing_schedules_create_specs))toarray(billing_schedules_create_specs) - Add support for new value
line_starton enumsQuoteCreateParams.subscription_data.phase_effective_at,QuoteCreateParams.subscription_data_overrides[].phase_effective_at,QuoteUpdateParams.subscription_data.phase_effective_at, andQuoteUpdateParams.subscription_data_overrides[].phase_effective_at - Remove support for value
phase_startfrom enumsQuoteCreateParams.subscription_data.phase_effective_at,QuoteCreateParams.subscription_data_overrides[].phase_effective_at,QuoteUpdateParams.subscription_data.phase_effective_at, andQuoteUpdateParams.subscription_data_overrides[].phase_effective_at - Change type of
Quote.subscription_data.billing_schedulesandQuote.subscription_data_overrides[].billing_schedulesfromarray(SubscriptionsResourceBillingSchedules) | nulltoarray(QuotesResourceSubscriptionDataBillingSchedules) - Change type of
Quote.subscription_data.phase_effective_atandQuote.subscription_data_overrides[].phase_effective_atfromenum('billing_period_start'|'phase_start') | nulltoenum('billing_period_start'|'line_start') - Change type of
QuotePreviewSubscriptionSchedule.default_settings.phase_effective_atandSubscriptionSchedule.default_settings.phase_effective_atfromenum('billing_period_start'|'phase_start') | nulltoenum('billing_period_start'|'phase_start') - Change type of
QuotePreviewSubscriptionSchedule.billing_schedulesandSubscriptionSchedule.billing_schedulesfromarray(SubscriptionsResourceBillingSchedules) | nulltoarray(SubscriptionsResourceBillingSchedules) - Remove support for
amendment_start,line_starts_at, andrelativeonSubscription.billing_schedules[].bill_from - Change type of
Subscription.billing_schedules[].bill_from.computed_timestampfromDateTime | nulltoDateTime - Change type of
Subscription.billing_schedules[].bill_from.typefromenumtoliteral('timestamp') - Remove support for
amendment_endandline_ends_atonSubscription.billing_schedules[].bill_until - Change type of
V2.Billing.ServiceAction.credit_grant.amount.monetary,V2.Billing.ServiceAction.credit_grant_per_tenant.amount.monetary,V2.Billing.ServiceActionCreateParams.credit_grant.amount.monetary, andV2.Billing.ServiceActionCreateParams.credit_grant_per_tenant.amount.monetaryfromamounttoan object - Add support for
future_requirementsonV2.Core.Account - Add support for
konbini_paymentsandscript_statement_descriptoronV2.Core.Account.configuration.merchant,V2.Core.AccountCreateParams.configuration.merchant, andV2.Core.AccountUpdateParams.configuration.merchant - Add support for
euronV2.Core.Account.configuration.storer.capabilities.holds_currencies,V2.Core.AccountCreateParams.configuration.storer.capabilities.holds_currencies, andV2.Core.AccountUpdateParams.configuration.storer.capabilities.holds_currencies - Add support for
requirements_collectoronV2.Core.Account.defaults.responsibilities - Add support for new value
ar_cuiton enumsV2.Core.Account.identity.business_details.id_numbers[].type,V2.Core.AccountCreateParams.identity.business_details.id_numbers[].type, andV2.Core.AccountUpdateParams.identity.business_details.id_numbers[].type - Add support for new value
ar_dnion enumsV2.Core.Account.identity.individual.id_numbers[].type,V2.Core.AccountCreateParams.identity.individual.id_numbers[].type,V2.Core.AccountPerson.id_numbers[].type,V2.Core.AccountPersonCreateParams.id_numbers[].type,V2.Core.AccountPersonUpdateParams.id_numbers[].type, andV2.Core.AccountUpdateParams.identity.individual.id_numbers[].type - Remove support for
collectoronV2.Core.Account.requirements - Add support for new value
holds_currencies.euron enumV2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability - Add support for new values
payment_methodandpersonon enumV2.Core.Account.requirements.entries[].reference.type - Remove support for value
resourcefrom enumV2.Core.Account.requirements.entries[].reference.type - Remove support for value
future_requirementsfrom enumV2.Core.Account.requirements.entries[].requested_reasons[].code - Remove support for
v1_event_idonV2.Core.Event - Remove support for
amount_detailsandcapture_methodonV2.Payments.OffSessionPaymentCreateParamsandV2.Payments.OffSessionPayment - 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.OffSessionPaymentCreateParams.retry_details.retry_strategy - Remove support for values
heuristic,scheduled, andsmartfrom enumV2.Payments.OffSessionPaymentCreateParams.retry_details.retry_strategy - Change
V2.Payments.OffSessionPaymentCreateParams.retry_details.retry_strategyto be optional - Remove support for
destinationonV2.Payments.OffSessionPaymentCaptureParams.transfer_data - 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.AccountUpdateParams - Add support for new value
future_requirementson enumsV2.Core.AccountCreateParams.include,V2.Core.AccountRetrieveParams.include, andV2.Core.AccountUpdateParams.include - Add support for
person_tokenonV2.Core.AccountPersonCreateParamsandV2.Core.AccountPersonUpdateParams - 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 objectBillingPortal.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 objectFinancialConnections.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 objectTestHelpers.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