#2703 Export Decimal type from Stripe namespace
Stripe.Decimal as a usable type in the Stripe namespace, enabling type annotations like function takesDecimal(d: Stripe.Decimal).#2704 Fix file upload regression: restore multipart request data processor
StripeInvalidRequestError on the /v1/files endpoint since v22.PaymentLocationcreate, delete, modify, and retrieve methods on resource PaymentLocationprotections on AccountCreateParamsCapabilityCardPayment, AccountModifyParamsCapabilityCardPayment, and Capabilitygift_card on ConfirmationToken.PaymentMethodPreview, ConfirmationTokenCreateParamsPaymentMethodDatum, PaymentIntentConfirmParamsPaymentMethodDatum, PaymentIntentCreateParamsPaymentMethodDatum, PaymentIntentModifyParamsPaymentMethodDatum, PaymentMethodCreateParams, PaymentMethod, SetupIntentConfirmParamsPaymentMethodDatum, SetupIntentCreateParamsPaymentMethodDatum, SetupIntentModifyParamsPaymentMethodDatum, and SharedPayment.GrantedToken.PaymentMethodDetailgift_card on enums ConfirmationTokenCreateParamsPaymentMethodDatum.type, PaymentIntentConfirmParamsPaymentMethodDatum.type, PaymentIntentCreateParamsPaymentMethodDatum.type, PaymentIntentModifyParamsPaymentMethodDatum.type, SetupIntentConfirmParamsPaymentMethodDatum.type, SetupIntentCreateParamsPaymentMethodDatum.type, and SetupIntentModifyParamsPaymentMethodDatum.typegift_card on enums ConfirmationToken.PaymentMethodPreview.type, PaymentMethod.type, and SharedPayment.GrantedToken.PaymentMethodDetail.typegift_card on enums CustomerListPaymentMethodsParams.type, PaymentMethodCreateParams.type, and PaymentMethodListParams.typemetadata on delegated_checkout.RequestedSessionConfirmParamscredited_items on InvoiceItem.ProrationDetailnetwork_lifecycle on Issuing.Disputegift_card on enums PaymentIntentConfirmParams.excluded_payment_method_types, PaymentIntentCreateParams.excluded_payment_method_types, PaymentIntentModifyParams.excluded_payment_method_types, SetupIntentCreateParams.excluded_payment_method_types, and SetupIntentModifyParams.excluded_payment_method_typesgift_card on enums PaymentIntent.excluded_payment_method_types and SetupIntent.excluded_payment_method_typesstatus_details on Subscriptiondebit_card on V2.Core.Account.Configuration.CardCreator.Capability.Consumer.Lead, V2.Core.Account.Identity.Attestation.TermsOfService.CardCreator.Consumer.Lead, v2.core.AccountCreateParamsConfigurationCardCreatorCapabilityConsumerLead, v2.core.AccountCreateParamsIdentityAttestationTermsOfServiceCardCreatorConsumerLead, v2.core.AccountModifyParamsConfigurationCardCreatorCapabilityConsumerLead, and v2.core.AccountModifyParamsIdentityAttestationTermsOfServiceCardCreatorConsumerLeadconsumer.lead.debit_card on enums V2.Core.Account.FutureRequirement.Entry.Impact.RestrictsCapability.capability and V2.Core.Account.Requirement.Entry.Impact.RestrictsCapability.capabilityconsumer.lead.debit_card on enum EventsV2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEvent.updated_capabilityWe’re making Stripe even more programmable; protecting and propelling your business with the strength of the Stripe network; and building economic infrastructure for AI.
Link’s wallet for agents gives agents programmatic access to Link, including the ability to generate a one-time-use card or Shared Payment Token (SPT) backed by the cards and bank accounts already in your wallet. It’s built on Stripe’s new Issuing for agents.
v2.commerce.ProductCatalogImport, v2.data.reporting.QueryRun, v2.extend.WorkflowRun, v2.extend.Workflow, v2.iam.ActivityLog, v2.network.BusinessProfile, and v2.orchestrated_commerce.Agreementconfirm, create, list, retrieve, and terminate methods on resource v2.orchestrated_commerce.Agreementme and retrieve methods on resource v2.network.BusinessProfilelist method on resource v2.iam.ActivityLoglist and retrieve methods on resource v2.extend.WorkflowRuninvoke, list, and retrieve methods on resource v2.extend.Workflowcreate and retrieve methods on resources v2.commerce.ProductCatalogImport and v2.data.reporting.QueryRunV2.Billing.Cadence.SettingsDatum.Collection.PaymentMethodOption.konbini, V2.Billing.CollectionSetting.PaymentMethodOption.konbini, V2.Billing.CollectionSettingVersion.PaymentMethodOption.konbini, v2.billing.CollectionSettingCreateParamsPaymentMethodOption.konbini, and v2.billing.CollectionSettingModifyParamsPaymentMethodOption.konbini from map(string: dynamic) to an objectV2.Billing.Cadence.SettingsDatum.Collection.PaymentMethodOption.sepa_debit, V2.Billing.CollectionSetting.PaymentMethodOption.sepa_debit, V2.Billing.CollectionSettingVersion.PaymentMethodOption.sepa_debit, v2.billing.CollectionSettingCreateParamsPaymentMethodOption.sepa_debit, and v2.billing.CollectionSettingModifyParamsPaymentMethodOption.sepa_debit from map(string: dynamic) to an objectcn_bank_account and jp_bank_account on enum V2.Core.Account.Configuration.Recipient.DefaultOutboundDestination.typefutsu and toza on enums V2.Core.Vault.GbBankAccount.bank_account_type and V2.MoneyManagement.PayoutMethod.BankAccount.bank_account_typeV2.MoneyManagement.InboundTransfer.TransferHistory.bank_debit_processing from map(string: dynamic) to an objectV2.MoneyManagement.InboundTransfer.TransferHistory.bank_debit_queued from map(string: dynamic) to an objectV2.MoneyManagement.InboundTransfer.TransferHistory.bank_debit_succeeded from map(string: dynamic) to an objectpayout_method_amount_limit_exceeded on enum V2.MoneyManagement.OutboundTransfer.StatusDetail.Failed.reasoninbound_transfer_reversal, outbound_payment_reversal, outbound_transfer_reversal, received_credit_reversal, received_debit_reversal, and stripe_fee_tax on enums V2.MoneyManagement.Transaction.category and V2.MoneyManagement.TransactionEntry.TransactionDetail.categoryreturn from enums V2.MoneyManagement.Transaction.category and V2.MoneyManagement.TransactionEntry.TransactionDetail.categoryfutsu and toza on enums v2.core.vault.GbBankAccountCreateParams.bank_account_type, v2.money_management.OutboundSetupIntentCreateParamsPayoutMethodDatumBankAccount.bank_account_type, and v2.money_management.OutboundSetupIntentModifyParamsPayoutMethodDatumBankAccount.bank_account_typev2.core.BatchJobCreateParamsEndpoint.http_method from literal('post') to enum('delete'|'post')meter_event_value_too_many_digits on enums EventsV1BillingMeterErrorReportTriggeredEvent.Reason.ErrorType.code and EventsV1BillingMeterNoMeterFoundEvent.Reason.ErrorType.codetreasury_transaction on EventsV2MoneyManagementTransactionCreatedEventV2CommerceProductCatalogImportsFailedEvent, V2CommerceProductCatalogImportsProcessingEvent, V2CommerceProductCatalogImportsSucceededEvent, and V2CommerceProductCatalogImportsSucceededWithErrorsEvent with related object v2.commerce.ProductCatalogImportV2DataReportingQueryRunCreatedEvent, V2DataReportingQueryRunFailedEvent, V2DataReportingQueryRunSucceededEvent, and V2DataReportingQueryRunUpdatedEvent with related object v2.data.reporting.QueryRunV2ExtendWorkflowRunFailedEvent, V2ExtendWorkflowRunStartedEvent, and V2ExtendWorkflowRunSucceededEvent with related object v2.extend.WorkflowRunV2OrchestratedCommerceAgreementConfirmedEvent, V2OrchestratedCommerceAgreementCreatedEvent, V2OrchestratedCommerceAgreementPartiallyConfirmedEvent, and V2OrchestratedCommerceAgreementTerminatedEvent with related object v2.orchestrated_commerce.AgreementCannotProceedErrorThis release changes the pinned API version to 2026-04-22.private.
v2.commerce.ProductCatalogImport, v2.core.ApprovalRequest, v2.extend.WorkflowRun, v2.extend.Workflow, v2.iam.ActivityLog, v2.network.BusinessProfile, and v2.orchestrated_commerce.Agreementv2.core.WorkflowRun and v2.core.Workflowconfirm, create, list, retrieve, and terminate methods on resource v2.orchestrated_commerce.Agreementme and retrieve methods on resource v2.network.BusinessProfilelist method on resource v2.iam.ActivityLoglist and retrieve methods on resource v2.extend.WorkflowRuninvoke, list, and retrieve methods on resource v2.extend.Workflowcancel, execute, list, retrieve, and submit methods on resource v2.core.ApprovalRequestcreate and retrieve methods on resource v2.commerce.ProductCatalogImportlist and retrieve methods on resource v2.core.WorkflowRuninvoke, list, and retrieve methods on resource v2.core.Workflowrenew_onboarding_link method on resource v2.core.ClaimableSandboxcustomer on SharedPayment.IssuedTokenSharedPayment.IssuedToken.payment_method from nullable(string) to stringbill_management and send_money on AccountSession.Component.Bill.Featuregift_card on Charge.PaymentMethodDetail, PaymentAttemptRecord.PaymentMethodDetail, and PaymentRecord.PaymentMethodDetailcustom_payment_method_types on Checkout.Session and checkout.SessionCreateParamspayment_record on Checkout.Sessionshared_payment_granted_token on ConfirmationTokenCreateParamsPaymentMethodDatum, PaymentIntentConfirmParamsPaymentMethodDatum, PaymentIntentCreateParamsPaymentMethodDatum, PaymentIntentModifyParamsPaymentMethodDatum, PaymentIntent, PaymentMethod, SetupIntentConfirmParamsPaymentMethodDatum, SetupIntentCreateParamsPaymentMethodDatum, and SetupIntentModifyParamsPaymentMethodDatumpayment_method on ConfirmationToken.PaymentMethodPreview.SepaDebit.GeneratedFrom, PaymentMethod.SepaDebit.GeneratedFrom, and SharedPayment.GrantedToken.PaymentMethodDetail.SepaDebit.GeneratedFromDelegatedCheckout.RequestedSession.FulfillmentDetail.FulfillmentOption.type, DelegatedCheckout.RequestedSession.FulfillmentDetail.SelectedFulfillmentOption.type, DelegatedCheckout.RequestedSession.FulfillmentDetail.SelectedFulfillmentOptionOverride.type, delegated_checkout.RequestedSessionModifyParamsFulfillmentDetailSelectedFulfillmentOption.type, and delegated_checkout.RequestedSessionModifyParamsFulfillmentDetailSelectedFulfillmentOptionOverride.type from string to enum('digital'|'shipping')return_url on delegated_checkout.RequestedSessionConfirmParamsbuyer_consents on DelegatedCheckout.RequestedSessioncrypto_transactions on Issuing.Authorization, Issuing.Dispute, and Issuing.Transactionpayment_facilitator_id and sub_merchant_id on Issuing.Authorization.MerchantDatum and Issuing.Transaction.MerchantDatumidentifiers on OrderCreateParamsLineItemProductDatum, OrderModifyParamsLineItemProductDatum, ProductCreateParams, ProductModifyParams, and Productagent_details on PaymentIntentexternal_reference on PriceCreateParams and PriceModifyParamslogin_succeeded and registration_succeeded on Radar.AccountEvaluation.Event and radar.AccountEvaluationModifyParamsprint_content on Terminal.Reader.Actionprint_content on enum Terminal.Reader.Action.typecn_bank_account and jp_bank_account on enum V2.Core.Account.Configuration.Recipient.DefaultOutboundDestination.typebm_crn, bo_tin, bt_tpn, co_nit, ec_ruc, eg_tin, gh_tin, gy_tin, hn_rtn, jm_trn, jo_crn, ke_pin, ky_crn, lk_tin, mo_tin, mv_tin, ng_tin, pa_ruc, ph_tin, py_ruc, sl_tin, sv_nit, uy_ruc, vg_cn, and za_tin on enum V2.Core.Account.Identity.BusinessDetail.IdNumber.typebm_pp, bo_ci, bt_cid, eg_tin, gh_pin, gy_tin, hn_rtn, jm_trn, jo_pin, ky_pp, lk_nic, mo_bir, mt_nic, mv_tin, pa_ruc, ph_tin, py_ruc, si_pin, sv_nit, and vg_pp on enums V2.Core.Account.Identity.Individual.IdNumber.type and V2.Core.AccountPerson.IdNumber.typeapp_channel on V2.Core.ClaimableSandbox and v2.core.ClaimableSandboxCreateParamsonboarding_link_details and owner_details on V2.Core.ClaimableSandboxclaim_url on V2.Core.ClaimableSandboxowner_account on V2.Core.ClaimableSandbox.SandboxDetaillive on enum V2.Core.ClaimableSandbox.statussnapshot_event on V2.Core.Eventfutsu and toza on enums V2.Core.Vault.GbBankAccount.bank_account_type and V2.MoneyManagement.PayoutMethod.BankAccount.bank_account_typeV2.MoneyManagement.CurrencyConversion.financial_account to be optionalmultiprocessor_settlement on V2.MoneyManagement.FinancialAccountmultiprocessor_settlement on enum V2.MoneyManagement.FinancialAccount.typeca_bank_account on V2.MoneyManagement.FinancialAddress.Credential and V2.MoneyManagement.ReceivedCredit.BankTransferca_bank_account on enum V2.MoneyManagement.FinancialAddress.Credential.typetempo on enum V2.MoneyManagement.PayoutMethod.CryptoWallet.networkca_bank_account on enum V2.MoneyManagement.ReceivedCredit.BankTransfer.origin_typereturn from enums V2.MoneyManagement.Transaction.category and V2.MoneyManagement.TransactionEntry.TransactionDetail.categoryamount_details and payment_details on V2.Payments.OffSessionPayment, v2.payments.OffSessionPaymentCaptureParams, and v2.payments.OffSessionPaymentCreateParamsdescription on V2.Payments.OffSessionPayment and v2.payments.OffSessionPaymentCreateParamsacss on enum v2.FinancialAddressCreditSimulationCreditParams.networkmcc on v2.payments.OffSessionPaymentCreateParamsPaymentMethodOptionCardv2.payments.OffSessionPaymentCreateParamsPaymentMethodOptionCard.network_transaction_id to be optionalfutsu and toza on enums v2.core.vault.GbBankAccountCreateParams.bank_account_type, v2.money_management.OutboundSetupIntentCreateParamsPayoutMethodDatumBankAccount.bank_account_type, and v2.money_management.OutboundSetupIntentModifyParamsPayoutMethodDatumBankAccount.bank_account_typetempo on enum v2.money_management.OutboundSetupIntentCreateParamsPayoutMethodDatumCryptoWallet.networkcredentials.ca_bank_account.account_number on enums v2.money_management.FinancialAddressListParams.include and v2.money_management.FinancialAddressRetrieveParams.includeca_bank_account on enum v2.money_management.FinancialAddressCreateParams.typemultiprocessor_settlement on enum v2.money_management.FinancialAccountListParams.typesstorage on v2.money_management.FinancialAccountModifyParamsfx_quote on v2.money_management.CurrencyConversionCreateParamsv2.money_management.CurrencyConversionCreateParams.financial_account to be optionalonboarding_link_details on v2.core.ClaimableSandboxCreateParamsv2.core.BatchJobCreateParamsEndpoint.http_method from literal('post') to enum('delete'|'post')bm_crn, bo_tin, bt_tpn, co_nit, ec_ruc, eg_tin, gh_tin, gy_tin, hn_rtn, jm_trn, jo_crn, ke_pin, ky_crn, lk_tin, mo_tin, mv_tin, ng_tin, pa_ruc, ph_tin, py_ruc, sl_tin, sv_nit, uy_ruc, vg_cn, and za_tin on enums v2.core.AccountCreateParamsIdentityBusinessDetailIdNumber.type, v2.core.AccountModifyParamsIdentityBusinessDetailIdNumber.type, and v2.core.AccountTokenCreateParamsIdentityBusinessDetailIdNumber.typebm_pp, bo_ci, bt_cid, eg_tin, gh_pin, gy_tin, hn_rtn, jm_trn, jo_pin, ky_pp, lk_nic, mo_bir, mt_nic, mv_tin, pa_ruc, ph_tin, py_ruc, si_pin, sv_nit, and vg_pp on enums v2.core.AccountCreateParamsIdentityIndividualIdNumber.type, v2.core.AccountModifyParamsIdentityIndividualIdNumber.type, v2.core.AccountPersonCreateParamsIdNumber.type, v2.core.AccountPersonModifyParamsIdNumber.type, v2.core.AccountPersonTokenCreateParamsIdNumber.type, and v2.core.AccountTokenCreateParamsIdentityIndividualIdNumber.typemeter_event_value_too_many_digits on enums EventsV1BillingMeterErrorReportTriggeredEvent.Reason.ErrorType.code and EventsV1BillingMeterNoMeterFoundEvent.Reason.ErrorType.codetreasury_transaction on EventsV2MoneyManagementTransactionCreatedEventV1AccountApplicationAuthorizedEvent, V1AccountApplicationDeauthorizedEvent, V1AccountExternalAccountCreatedEvent, V1AccountExternalAccountDeletedEvent, V1AccountExternalAccountUpdatedEvent, V1BillingPortalSessionCreatedEvent, V1EntitlementsActiveEntitlementSummaryUpdatedEvent, V2CoreHealthMeterEventSummariesDelayedFiringEvent, and V2CoreHealthMeterEventSummariesDelayedResolvedEventV1AccountUpdatedEvent with related object AccountV1ApplicationFeeCreatedEvent and V1ApplicationFeeRefundedEvent with related object ApplicationFeeV1ApplicationFeeRefundUpdatedEvent with related object ApplicationFeeRefundV1BalanceAvailableEvent with related object BalanceV1BillingAlertTriggeredEvent with related object billing.AlertV1BillingPortalConfigurationCreatedEvent and V1BillingPortalConfigurationUpdatedEvent with related object billing_portal.ConfigurationV1CapabilityUpdatedEvent with related object CapabilityV1CashBalanceFundsAvailableEvent with related object CashBalanceV1ChargeCapturedEvent, V1ChargeExpiredEvent, V1ChargeFailedEvent, V1ChargePendingEvent, V1ChargeRefundedEvent, V1ChargeSucceededEvent, and V1ChargeUpdatedEvent with related object ChargeV1ChargeDisputeClosedEvent, V1ChargeDisputeCreatedEvent, V1ChargeDisputeFundsReinstatedEvent, V1ChargeDisputeFundsWithdrawnEvent, and V1ChargeDisputeUpdatedEvent with related object DisputeV1ChargeRefundUpdatedEvent, V1RefundCreatedEvent, V1RefundFailedEvent, and V1RefundUpdatedEvent with related object RefundV1CheckoutSessionAsyncPaymentFailedEvent, V1CheckoutSessionAsyncPaymentSucceededEvent, V1CheckoutSessionCompletedEvent, and V1CheckoutSessionExpiredEvent with related object checkout.SessionV1ClimateOrderCanceledEvent, V1ClimateOrderCreatedEvent, V1ClimateOrderDelayedEvent, V1ClimateOrderDeliveredEvent, and V1ClimateOrderProductSubstitutedEvent with related object climate.OrderV1ClimateProductCreatedEvent and V1ClimateProductPricingUpdatedEvent with related object climate.ProductV1CouponCreatedEvent, V1CouponDeletedEvent, and V1CouponUpdatedEvent with related object CouponV1CreditNoteCreatedEvent, V1CreditNoteUpdatedEvent, and V1CreditNoteVoidedEvent with related object CreditNoteV1CustomerCreatedEvent, V1CustomerDeletedEvent, and V1CustomerUpdatedEvent with related object CustomerV1CustomerSubscriptionCreatedEvent, V1CustomerSubscriptionDeletedEvent, V1CustomerSubscriptionPausedEvent, V1CustomerSubscriptionPendingUpdateAppliedEvent, V1CustomerSubscriptionPendingUpdateExpiredEvent, V1CustomerSubscriptionResumedEvent, V1CustomerSubscriptionTrialWillEndEvent, and V1CustomerSubscriptionUpdatedEvent with related object SubscriptionV1CustomerTaxIdCreatedEvent, V1CustomerTaxIdDeletedEvent, and V1CustomerTaxIdUpdatedEvent with related object TaxIdV1CustomerCashBalanceTransactionCreatedEvent with related object CustomerCashBalanceTransactionV1FileCreatedEvent with related object FileV1FinancialConnectionsAccountCreatedEvent, V1FinancialConnectionsAccountDeactivatedEvent, V1FinancialConnectionsAccountDisconnectedEvent, V1FinancialConnectionsAccountReactivatedEvent, V1FinancialConnectionsAccountRefreshedBalanceEvent, V1FinancialConnectionsAccountRefreshedOwnershipEvent, and V1FinancialConnectionsAccountRefreshedTransactionsEvent with related object financial_connections.AccountV1IdentityVerificationSessionCanceledEvent, V1IdentityVerificationSessionCreatedEvent, V1IdentityVerificationSessionProcessingEvent, V1IdentityVerificationSessionRedactedEvent, V1IdentityVerificationSessionRequiresInputEvent, and V1IdentityVerificationSessionVerifiedEvent with related object identity.VerificationSessionV1InvoiceCreatedEvent, V1InvoiceDeletedEvent, V1InvoiceFinalizationFailedEvent, V1InvoiceFinalizedEvent, V1InvoiceMarkedUncollectibleEvent, V1InvoiceOverdueEvent, V1InvoiceOverpaidEvent, V1InvoicePaidEvent, V1InvoicePaymentActionRequiredEvent, V1InvoicePaymentFailedEvent, V1InvoicePaymentSucceededEvent, V1InvoiceSentEvent, V1InvoiceUpcomingEvent, V1InvoiceUpdatedEvent, V1InvoiceVoidedEvent, and V1InvoiceWillBeDueEvent with related object InvoiceV1InvoicePaymentPaidEvent with related object InvoicePaymentV1InvoiceitemCreatedEvent and V1InvoiceitemDeletedEvent with related object InvoiceItemV1IssuingAuthorizationCreatedEvent, V1IssuingAuthorizationRequestEvent, and V1IssuingAuthorizationUpdatedEvent with related object issuing.AuthorizationV1IssuingCardCreatedEvent and V1IssuingCardUpdatedEvent with related object issuing.CardV1IssuingCardholderCreatedEvent and V1IssuingCardholderUpdatedEvent with related object issuing.CardholderV1IssuingDisputeClosedEvent, V1IssuingDisputeCreatedEvent, V1IssuingDisputeFundsReinstatedEvent, V1IssuingDisputeFundsRescindedEvent, V1IssuingDisputeSubmittedEvent, and V1IssuingDisputeUpdatedEvent with related object issuing.DisputeV1IssuingPersonalizationDesignActivatedEvent, V1IssuingPersonalizationDesignDeactivatedEvent, V1IssuingPersonalizationDesignRejectedEvent, and V1IssuingPersonalizationDesignUpdatedEvent with related object issuing.PersonalizationDesignV1IssuingTokenCreatedEvent and V1IssuingTokenUpdatedEvent with related object issuing.TokenV1IssuingTransactionCreatedEvent, V1IssuingTransactionPurchaseDetailsReceiptUpdatedEvent, and V1IssuingTransactionUpdatedEvent with related object issuing.TransactionV1MandateUpdatedEvent with related object MandateV1PaymentIntentAmountCapturableUpdatedEvent, V1PaymentIntentCanceledEvent, V1PaymentIntentCreatedEvent, V1PaymentIntentPartiallyFundedEvent, V1PaymentIntentPaymentFailedEvent, V1PaymentIntentProcessingEvent, V1PaymentIntentRequiresActionEvent, and V1PaymentIntentSucceededEvent with related object PaymentIntentV1PaymentLinkCreatedEvent and V1PaymentLinkUpdatedEvent with related object PaymentLinkV1PaymentMethodAttachedEvent, V1PaymentMethodAutomaticallyUpdatedEvent, V1PaymentMethodDetachedEvent, and V1PaymentMethodUpdatedEvent with related object PaymentMethodV1PayoutCanceledEvent, V1PayoutCreatedEvent, V1PayoutFailedEvent, V1PayoutPaidEvent, V1PayoutReconciliationCompletedEvent, and V1PayoutUpdatedEvent with related object PayoutV1PersonCreatedEvent, V1PersonDeletedEvent, and V1PersonUpdatedEvent with related object PersonV1PlanCreatedEvent, V1PlanDeletedEvent, and V1PlanUpdatedEvent with related object PlanV1PriceCreatedEvent, V1PriceDeletedEvent, and V1PriceUpdatedEvent with related object PriceV1ProductCreatedEvent, V1ProductDeletedEvent, and V1ProductUpdatedEvent with related object ProductV1PromotionCodeCreatedEvent and V1PromotionCodeUpdatedEvent with related object PromotionCodeV1QuoteAcceptedEvent, V1QuoteCanceledEvent, V1QuoteCreatedEvent, and V1QuoteFinalizedEvent with related object QuoteV1RadarEarlyFraudWarningCreatedEvent and V1RadarEarlyFraudWarningUpdatedEvent with related object radar.EarlyFraudWarningV1ReviewClosedEvent and V1ReviewOpenedEvent with related object ReviewV1SetupIntentCanceledEvent, V1SetupIntentCreatedEvent, V1SetupIntentRequiresActionEvent, V1SetupIntentSetupFailedEvent, and V1SetupIntentSucceededEvent with related object SetupIntentV1SigmaScheduledQueryRunCreatedEvent with related object sigma.ScheduledQueryRunV1SourceCanceledEvent, V1SourceChargeableEvent, V1SourceFailedEvent, and V1SourceRefundAttributesRequiredEvent with related object SourceV1SubscriptionScheduleAbortedEvent, V1SubscriptionScheduleCanceledEvent, V1SubscriptionScheduleCompletedEvent, V1SubscriptionScheduleCreatedEvent, V1SubscriptionScheduleExpiringEvent, V1SubscriptionScheduleReleasedEvent, and V1SubscriptionScheduleUpdatedEvent with related object SubscriptionScheduleV1TaxSettingsUpdatedEvent with related object tax.SettingsV1TaxRateCreatedEvent and V1TaxRateUpdatedEvent with related object TaxRateV1TerminalReaderActionFailedEvent, V1TerminalReaderActionSucceededEvent, and V1TerminalReaderActionUpdatedEvent with related object terminal.ReaderV1TestHelpersTestClockAdvancingEvent, V1TestHelpersTestClockCreatedEvent, V1TestHelpersTestClockDeletedEvent, V1TestHelpersTestClockInternalFailureEvent, and V1TestHelpersTestClockReadyEvent with related object test_helpers.TestClockV1TopupCanceledEvent, V1TopupCreatedEvent, V1TopupFailedEvent, V1TopupReversedEvent, and V1TopupSucceededEvent with related object TopupV1TransferCreatedEvent, V1TransferReversedEvent, and V1TransferUpdatedEvent with related object TransferV2CommerceProductCatalogImportsFailedEvent, V2CommerceProductCatalogImportsProcessingEvent, V2CommerceProductCatalogImportsSucceededEvent, and V2CommerceProductCatalogImportsSucceededWithErrorsEvent with related object v2.commerce.ProductCatalogImportV2CoreApprovalRequestApprovedEvent, V2CoreApprovalRequestCanceledEvent, V2CoreApprovalRequestFailedEvent, V2CoreApprovalRequestRejectedEvent, and V2CoreApprovalRequestSucceededEvent with related object v2.core.ApprovalRequestV2CoreClaimableSandboxUpdatedEvent with related object v2.core.ClaimableSandboxV2ExtendWorkflowRunFailedEvent, V2ExtendWorkflowRunStartedEvent, and V2ExtendWorkflowRunSucceededEvent with related object v2.extend.WorkflowRunV2OrchestratedCommerceAgreementConfirmedEvent, V2OrchestratedCommerceAgreementCreatedEvent, V2OrchestratedCommerceAgreementPartiallyConfirmedEvent, and V2OrchestratedCommerceAgreementTerminatedEvent with related object v2.orchestrated_commerce.AgreementV2CoreClaimableSandboxSandboxDetailsOwnerAccountUpdatedEvent with related object v2.core.ClaimableSandboxFxQuoteExpiredErrorinvalid_workflow_input_parameters and workflow_not_invokable on CannotProceedErrorThis release changes the pinned API version to 2026-04-22.private.
shared_payment.GrantedToken and shared_payment.IssuedTokenretrieve method on resource shared_payment.GrantedTokencreate and revoke test helper methods on resource shared_payment.GrantedTokencreate, retrieve, and revoke methods on resource shared_payment.IssuedTokenblik on Invoice.PaymentSetting.PaymentMethodOption, InvoiceCreateParamsPaymentSettingPaymentMethodOption, InvoiceModifyParamsPaymentSettingPaymentMethodOption, QuotePreviewInvoice.PaymentSetting.PaymentMethodOption, Subscription.PaymentSetting.PaymentMethodOption, SubscriptionCreateParamsPaymentSettingPaymentMethodOption, SubscriptionModifyParamsPaymentSettingPaymentMethodOption, and checkout.SessionCreateParamsPaymentMethodOptionfo_vat, gi_tin, it_cf, and py_ruc on enums Checkout.Session.CollectedInformation.TaxId.type, Order.TaxDetail.TaxId.type, and QuotePreviewInvoice.CustomerTaxId.typeCheckout.Session.managed_payments, PaymentIntent.managed_payments, PaymentLink.managed_payments, and Subscription.managed_payments to be requiredshared_payment_granted_token on ConfirmationTokenCreateParamsPaymentMethodDatum, PaymentIntentConfirmParamsPaymentMethodDatum, PaymentIntentCreateParamsPaymentMethodDatum, PaymentIntentModifyParamsPaymentMethodDatum, PaymentMethod, SetupIntentConfirmParamsPaymentMethodDatum, SetupIntentCreateParamsPaymentMethodDatum, and SetupIntentModifyParamsPaymentMethodDatumInvoice.PaymentSetting.PaymentMethodOption.pix, QuotePreviewInvoice.PaymentSetting.PaymentMethodOption.pix, and Subscription.PaymentSetting.PaymentMethodOption.pix to be requiredInvoice.PaymentSetting.PaymentMethodOption.upi, QuotePreviewInvoice.PaymentSetting.PaymentMethodOption.upi, and Subscription.PaymentSetting.PaymentMethodOption.upi to be requiredfo_vat, gi_tin, it_cf, and py_ruc on enums OrderCreateParamsTaxDetailTaxId.type and OrderModifyParamsTaxDetailTaxId.typevalidation_errors on Privacy.RedactionJobtax_details on Productblik on enum QuotePreviewInvoice.PaymentSetting.payment_method_typesQuotePreviewInvoice.TotalTax.TaxRateDetail.tax_rate from string to expandable($TaxRate)Radar.PaymentEvaluation.ClientDeviceMetadataDetail.radar_session from string to nullable(string)SetupIntent.NextAction.PixDisplayQrCode.data to be requiredSetupIntent.NextAction.PixDisplayQrCode.expires_at to be requiredSetupIntent.NextAction.PixDisplayQrCode.hosted_instructions_url to be requiredSetupIntent.NextAction.PixDisplayQrCode.image_url_png to be requiredSetupIntent.NextAction.PixDisplayQrCode.image_url_svg to be requiredadmissions_tax, attendance_tax, entertainment_tax, gross_receipts_tax, hospitality_tax, luxury_tax, resort_tax, and tourism_tax on tax.RegistrationCreateParamsCountryOptionMepurpose on Treasury.OutboundPayment and treasury.OutboundPaymentCreateParamsaction_blocked and approval_required on QuotePreviewInvoice.LastFinalizationErrorThis release changes the pinned API version to 2026-04-22.dahlia.
balance_report and payout_reconciliation_report on AccountSession.Component and AccountSessionCreateParamsComponentapp_distribution and sunbit_payments on Account.Capability, AccountCreateParamsCapability, and AccountModifyParamsCapabilityfee_credit_funding, inbound_transfer_reversal, and inbound_transfer on enum BalanceTransaction.typesunbit on Charge.PaymentMethodDetail, ConfirmationToken.PaymentMethodPreview, ConfirmationTokenCreateParamsPaymentMethodDatum, PaymentAttemptRecord.PaymentMethodDetail, PaymentIntentConfirmParamsPaymentMethodDatum, PaymentIntentCreateParamsPaymentMethodDatum, PaymentIntentModifyParamsPaymentMethodDatum, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationModifyParams, PaymentMethodConfiguration, PaymentMethodCreateParams, PaymentMethod, PaymentRecord.PaymentMethodDetail, SetupIntentConfirmParamsPaymentMethodDatum, SetupIntentCreateParamsPaymentMethodDatum, and SetupIntentModifyParamsPaymentMethodDatumphantom_cash and usdt on enums Charge.PaymentMethodDetail.Crypto.token_currency, PaymentAttemptRecord.PaymentMethodDetail.Crypto.token_currency, and PaymentRecord.PaymentMethodDetail.Crypto.token_currencylocation and reader on Charge.PaymentMethodDetail.Klarna, PaymentAttemptRecord.PaymentMethodDetail.Klarna, and PaymentRecord.PaymentMethodDetail.Klarnamandate on Charge.PaymentMethodDetail.Pix, PaymentAttemptRecord.PaymentMethodDetail.Pix, and PaymentRecord.PaymentMethodDetail.Pixmanaged_payments on Checkout.Session, PaymentIntent, PaymentLinkCreateParams, PaymentLink, SetupIntent, Subscription, and checkout.SessionCreateParamssunbit on enums PaymentIntentConfirmParams.excluded_payment_method_types, PaymentIntentCreateParams.excluded_payment_method_types, PaymentIntentModifyParams.excluded_payment_method_types, SetupIntentCreateParams.excluded_payment_method_types, SetupIntentModifyParams.excluded_payment_method_types, and checkout.SessionCreateParams.excluded_payment_method_typesmandate_options on Checkout.Session.PaymentMethodOption.Pix, PaymentIntent.PaymentMethodOption.Pix, PaymentIntentConfirmParamsPaymentMethodOptionPix, PaymentIntentCreateParamsPaymentMethodOptionPix, PaymentIntentModifyParamsPaymentMethodOptionPix, and checkout.SessionCreateParamsPaymentMethodOptionPixPaymentIntentConfirmParamsPaymentMethodOptionPix.setup_future_usage, PaymentIntentCreateParamsPaymentMethodOptionPix.setup_future_usage, PaymentIntentModifyParamsPaymentMethodOptionPix.setup_future_usage, and checkout.SessionCreateParamsPaymentMethodOptionPix.setup_future_usage from literal('none') to enum('none'|'off_session')sunbit on enum checkout.SessionCreateParams.payment_method_typesfo_vat, gi_tin, it_cf, and py_ruc on enums Checkout.Session.CustomerDetail.TaxId.type, Invoice.CustomerTaxId.type, Tax.Calculation.CustomerDetail.TaxId.type, Tax.Transaction.CustomerDetail.TaxId.type, and TaxId.typeCheckout.Session.PaymentMethodOption.Pix.setup_future_usage and PaymentIntent.PaymentMethodOption.Pix.setup_future_usage from literal('none') to enum('none'|'off_session')sunbit on enums ConfirmationTokenCreateParamsPaymentMethodDatum.type, PaymentIntentConfirmParamsPaymentMethodDatum.type, PaymentIntentCreateParamsPaymentMethodDatum.type, PaymentIntentModifyParamsPaymentMethodDatum.type, SetupIntentConfirmParamsPaymentMethodDatum.type, SetupIntentCreateParamsPaymentMethodDatum.type, and SetupIntentModifyParamsPaymentMethodDatum.typesunbit on enums ConfirmationToken.PaymentMethodPreview.type and PaymentMethod.typefo_vat, gi_tin, it_cf, and py_ruc on enums CustomerCreateParamsTaxIdDatum.type, CustomerCreateTaxIdParams.type, InvoiceCreatePreviewParamsCustomerDetailTaxId.type, TaxIdCreateParams.type, and tax.CalculationCreateParamsCustomerDetailTaxId.typesunbit on enums CustomerListPaymentMethodsParams.type, PaymentMethodCreateParams.type, and PaymentMethodListParams.typepix on Invoice.PaymentSetting.PaymentMethodOption, InvoiceCreateParamsPaymentSettingPaymentMethodOption, InvoiceModifyParamsPaymentSettingPaymentMethodOption, Mandate.PaymentMethodDetail, SetupAttempt.PaymentMethodDetail, SetupIntent.PaymentMethodOption, SetupIntentConfirmParamsPaymentMethodOption, SetupIntentCreateParamsPaymentMethodOption, SetupIntentModifyParamsPaymentMethodOption, Subscription.PaymentSetting.PaymentMethodOption, SubscriptionCreateParamsPaymentSettingPaymentMethodOption, and SubscriptionModifyParamsPaymentSettingPaymentMethodOptionupi on Invoice.PaymentSetting.PaymentMethodOption, InvoiceCreateParamsPaymentSettingPaymentMethodOption, InvoiceModifyParamsPaymentSettingPaymentMethodOption, Subscription.PaymentSetting.PaymentMethodOption, SubscriptionCreateParamsPaymentSettingPaymentMethodOption, and SubscriptionModifyParamsPaymentSettingPaymentMethodOptionpix and upi on enums InvoiceCreateParamsPaymentSetting.payment_method_types, InvoiceModifyParamsPaymentSetting.payment_method_types, SubscriptionCreateParamsPaymentSetting.payment_method_types, and SubscriptionModifyParamsPaymentSetting.payment_method_typespix and upi on enums Invoice.PaymentSetting.payment_method_types and Subscription.PaymentSetting.payment_method_typescard_presence on Issuing.Authorizationallowed_card_presences and blocked_card_presences on Issuing.Card.SpendingControl, Issuing.Cardholder.SpendingControl, issuing.CardCreateParamsSpendingControl, issuing.CardModifyParamsSpendingControl, issuing.CardholderCreateParamsSpendingControl, and issuing.CardholderModifyParamsSpendingControlfulfillment_error on enum Issuing.Card.cancellation_reasonfulfillment_error on enum Issuing.Card.replacement_reasonamount and currency on Mandate.MultiUseamount_to_confirm on PaymentIntentConfirmParamssunbit on enums PaymentIntent.excluded_payment_method_types and SetupIntent.excluded_payment_method_typesklarna_display_qr_code on PaymentIntent.NextActionsunbit on enums PaymentLinkCreateParams.payment_method_types and PaymentLinkModifyParams.payment_method_typessunbit on enum PaymentLink.payment_method_typeslow, not_assessed, and unknown on enum Radar.PaymentEvaluation.Signal.FraudulentPayment.risk_levelaccount on enum radar.ValueListCreateParams.item_typeaccount on enum Radar.ValueList.item_typemoto on SetupAttempt.PaymentMethodDetail.Cardpix_display_qr_code on SetupIntent.NextAction2026-04-22.dahlia on enum WebhookEndpointCreateParams.api_versionaction_blocked and approval_required on Invoice.LastFinalizationError, PaymentIntent.LastPaymentError, SetupAttempt.SetupError, SetupIntent.LastSetupError, and StripeErrorThis release changes the pinned API version to 2026-04-22.dahlia.
app_distribution and sunbit_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilitiesbalance_report and payout_reconciliation_report on AccountSession.components and AccountSessionCreateParams.componentsfee_credit_funding, inbound_transfer_reversal, and inbound_transfer on enum BalanceTransaction.typesunbit on Charge.payment_method_details, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.testHelpers.payment_method_data, PaymentAttemptRecord.payment_method_details, PaymentIntentConfirmParams.payment_method_data, PaymentIntentCreateParams.payment_method_data, PaymentIntentUpdateParams.payment_method_data, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, PaymentMethodConfiguration, PaymentMethodCreateParams, PaymentMethod, PaymentRecord.payment_method_details, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_dataphantom_cash and usdt on enums Charge.payment_method_details.crypto.token_currency, PaymentAttemptRecord.payment_method_details.crypto.token_currency, and PaymentRecord.payment_method_details.crypto.token_currencylocation and reader on Charge.payment_method_details.klarna, PaymentAttemptRecord.payment_method_details.klarna, and PaymentRecord.payment_method_details.klarnamandate on Charge.payment_method_details.pix, PaymentAttemptRecord.payment_method_details.pix, and PaymentRecord.payment_method_details.pixmanaged_payments on Checkout.SessionCreateParams, Checkout.Session, PaymentIntent, PaymentLinkCreateParams, PaymentLink, SetupIntent, and Subscriptionsunbit on enums Checkout.SessionCreateParams.excluded_payment_method_types, PaymentIntentConfirmParams.excluded_payment_method_types, PaymentIntentCreateParams.excluded_payment_method_types, PaymentIntentUpdateParams.excluded_payment_method_types, SetupIntentCreateParams.excluded_payment_method_types, and SetupIntentUpdateParams.excluded_payment_method_typesmandate_options on Checkout.Session.payment_method_options.pix, Checkout.SessionCreateParams.payment_method_options.pix, PaymentIntent.payment_method_options.pix, PaymentIntentConfirmParams.payment_method_options.pix, PaymentIntentCreateParams.payment_method_options.pix, and PaymentIntentUpdateParams.payment_method_options.pixCheckout.SessionCreateParams.payment_method_options.pix.setup_future_usage, PaymentIntentConfirmParams.payment_method_options.pix.setup_future_usage, PaymentIntentCreateParams.payment_method_options.pix.setup_future_usage, and PaymentIntentUpdateParams.payment_method_options.pix.setup_future_usage from literal('none') to enum('none'|'off_session')sunbit on enum Checkout.SessionCreateParams.payment_method_typesfo_vat, gi_tin, it_cf, and py_ruc on enums Checkout.Session.customer_details.tax_ids[].type, Invoice.customer_tax_ids[].type, Tax.Calculation.customer_details.tax_ids[].type, Tax.Transaction.customer_details.tax_ids[].type, and TaxId.typeCheckout.Session.payment_method_options.pix.setup_future_usage and PaymentIntent.payment_method_options.pix.setup_future_usage from literal('none') to enum('none'|'off_session')sunbit on enums ConfirmationTokenCreateParams.testHelpers.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.typesunbit on enums ConfirmationToken.payment_method_preview.type and PaymentMethod.typefo_vat, gi_tin, it_cf, and py_ruc on enums CustomerCreateParams.tax_id_data[].type, CustomerCreateTaxIdParams.type, InvoiceCreatePreviewParams.customer_details.tax_ids[].type, Tax.CalculationCreateParams.customer_details.tax_ids[].type, and TaxIdCreateParams.typesunbit on enums CustomerListPaymentMethodsParams.type, PaymentMethodCreateParams.type, and PaymentMethodListParams.typepix on Invoice.payment_settings.payment_method_options, InvoiceCreateParams.payment_settings.payment_method_options, InvoiceUpdateParams.payment_settings.payment_method_options, Mandate.payment_method_details, SetupAttempt.payment_method_details, SetupIntent.payment_method_options, SetupIntentConfirmParams.payment_method_options, SetupIntentCreateParams.payment_method_options, SetupIntentUpdateParams.payment_method_options, Subscription.payment_settings.payment_method_options, SubscriptionCreateParams.payment_settings.payment_method_options, and SubscriptionUpdateParams.payment_settings.payment_method_optionsupi on Invoice.payment_settings.payment_method_options, InvoiceCreateParams.payment_settings.payment_method_options, InvoiceUpdateParams.payment_settings.payment_method_options, Subscription.payment_settings.payment_method_options, SubscriptionCreateParams.payment_settings.payment_method_options, and SubscriptionUpdateParams.payment_settings.payment_method_optionspix and upi on enums InvoiceCreateParams.payment_settings.payment_method_types, InvoiceUpdateParams.payment_settings.payment_method_types, SubscriptionCreateParams.payment_settings.payment_method_types, and SubscriptionUpdateParams.payment_settings.payment_method_typespix and upi on enums Invoice.payment_settings.payment_method_types and Subscription.payment_settings.payment_method_typescard_presence on Issuing.Authorizationallowed_card_presences and blocked_card_presences on Issuing.Card.spending_controls, Issuing.CardCreateParams.spending_controls, Issuing.CardUpdateParams.spending_controls, Issuing.Cardholder.spending_controls, Issuing.CardholderCreateParams.spending_controls, and Issuing.CardholderUpdateParams.spending_controlsfulfillment_error on enum Issuing.Card.cancellation_reasonfulfillment_error on enum Issuing.Card.replacement_reasonamount and currency on Mandate.multi_useamount_to_confirm on PaymentIntentConfirmParamssunbit on enums PaymentIntent.excluded_payment_method_types and SetupIntent.excluded_payment_method_typesklarna_display_qr_code on PaymentIntent.next_actionsunbit on enums PaymentLinkCreateParams.payment_method_types and PaymentLinkUpdateParams.payment_method_typessunbit on enum PaymentLink.payment_method_typeslow, not_assessed, and unknown on enum Radar.PaymentEvaluation.signals.fraudulent_payment.risk_levelaccount on enum Radar.ValueListCreateParams.item_typeaccount on enum Radar.ValueList.item_typemoto on SetupAttempt.payment_method_details.cardpix_display_qr_code on SetupIntent.next_action2026-04-22.dahlia on enum WebhookEndpointCreateParams.api_versionaction_blocked and approval_required on Invoice.last_finalization_error, PaymentIntent.last_payment_error, SetupAttempt.setup_error, SetupIntent.last_setup_error, and StripeErrorparseEventNotificationAsync to match existing sync functionemitEventBodies config option to include request and response bodies in request/response events.httpClient config type from HttpClient class to HttpClientInterface interface.// ✅ Fixed
import { Stripe } from 'stripe';
latest_version on V2.Billing.LicenseFee, V2.Billing.PricingPlan, and V2.Billing.RateCardservice_interval_count and service_interval on V2.Billing.LicenseFee and V2.Billing.RateCardv2.core.WorkflowRun and v2.core.Workflowreport_authorized method on resource PaymentAttemptRecordlist and retrieve methods on resource v2.core.WorkflowRuninvoke, list, and retrieve methods on resource v2.core.Workflownext_action and status on SharedPayment.IssuedTokennetwork_id on SharedPayment.IssuedToken.SellerDetailbills on AccountSession.Componentsettlement_currencies on BalanceSettings.Payment and BalanceSettingsModifyParamsPaymentdefault_settlement_currency on BalanceSettings.Paymentaccount_funding on Charge.PaymentMethodDetail.Cardautomatic_surcharge on Checkout.Session, PaymentLinkCreateParams, PaymentLink, and checkout.SessionCreateParamsbizum on Checkout.Session.PaymentMethodOption and checkout.SessionCreateParamsPaymentMethodOptionsurcharge_cost on Checkout.Sessionamount_surcharge on Checkout.Session.TotalDetailshared_payment_granted_token on ConfirmationTokenCreateParamsPaymentMethodDatum, PaymentIntentConfirmParamsPaymentMethodDatum, PaymentIntentCreateParamsPaymentMethodDatum, PaymentIntentModifyParamsPaymentMethodDatum, SetupIntentConfirmParamsPaymentMethodDatum, SetupIntentCreateParamsPaymentMethodDatum, and SetupIntentModifyParamsPaymentMethodDatumemail on enums identity.VerificationReportListParams.type, identity.VerificationSessionCreateParams.type, and identity.VerificationSessionModifyParams.typedetails on Identity.VerificationReport.Emailemail on enums Identity.VerificationReport.type and Identity.VerificationSession.typeconfirm on identity.VerificationSessionCreateParams and identity.VerificationSessionModifyParamssubscription on InvoiceItem.Parent.ScheduleDetailshared_payment_granted_token on PaymentIntentConfirmParams and PaymentIntentCreateParamsmoney_services on PaymentIntent.PaymentDetailexternal_reference on PlanSharedPayment.GrantedToken.PaymentMethodDetail.billing_details to be required