Repository navigation
fix(deps): update module github.com/stripe/stripe-go/v81 to v87 - #25
renovate[bot] wants to merge 3 commits into
Conversation
Renovate bumped the stripe-go/v81 require to v87 but left pkg/util/features/features.go importing /v81 and /v81/client, so the package fails to build once v81 is dropped from go.mod. go.mod also carried a duplicate v87 require line. - switch features.go imports to stripe-go/v87 and /v87/client - remove duplicate stripe-go/v87 require line - go mod tidy: add shopspring/decimal v1.4.0 (indirect), drop stale go.sum entries
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
|
Needs human: sensitive repository and Stripe major upgrade; Lint fails SA1019 on deprecated stripe-go/v87/client. |
|
Needs human: Stripe v87 major update in a sensitive repo; Lint fails SA1019 on deprecated stripe-go/v87/client. |
|
Needs human: sensitive repo, major payments dependency update, human-modified branch; Lint fails SA1019 on deprecated stripe-go/v87/client. |
|
Needs human: Lint fails SA1019 because stripe-go/v87/client is deprecated; sensitive repo and payments major update with a human-modified branch. |
stripe-go v87 deprecates client.API in favour of stripe.Client, which fails the golangci-lint staticcheck SA1019 gate. Move pkg/util/features to V1* services and All(ctx) iterators. Propagate list/search errors that the legacy iterators silently swallowed.
This PR contains the following updates:
v81.4.0→v87.0.0Release Notes
stripe/stripe-go (github.com/stripe/stripe-go/v81)
v87.0.0Compare Source
See the changelog for the full release notes.
v86.4.2Compare Source
See the changelog for more details.
v86.4.1Compare Source
See the changelog for more details.
v86.4.0Compare Source
This release changes the pinned API version to 2026-08-26.dahlia.
#2410 Add new
EventNotificationHandlerclass for better thin event managementStripeClientand the fully-typed nature of thin events. This delivers painless event destination upgrades, in-editor checks for common mistakes, and better code modularity.#2417 Update generated code
BillingFeedbackOptionDeactivate,Get,List,New, andUpdatemethods on resourceBillingFeedbackOptionPaymentMethodSettingsonAccountSessionComponentsParamsandAccountSessionComponentsFeedbackOptionsonBillingPortalConfigurationFeaturesSubscriptionCancelCancellationReasonParamsandBillingPortalConfigurationFeaturesSubscriptionCancelCancellationReasonCustomerUpdateonBillingPortalSessionFlowcustomer_updateon enumBillingPortalSessionFlow.TypeFundingSourceGrouponChargePaymentMethodDetailsCardWalletLinkandChargePaymentMethodDetailsLinkFundingTypesBlockedonCheckoutSessionPaymentMethodOptionsCardRestrictionsParamsandCheckoutSessionPaymentMethodOptionsCardRestrictionsMetadataonConfirmationTokenActiveEntitlementsandCustomerPortalonCustomerSessionComponentsParamsandCustomerSessionComponentsCountryonFinancialConnectionsSessionFiltersFrozenFieldsonInvoiceItemBillieonInvoicePaymentSettingsPaymentMethodOptionsParams,InvoicePaymentSettingsPaymentMethodOptions,SubscriptionPaymentSettingsPaymentMethodOptionsParams, andSubscriptionPaymentSettingsPaymentMethodOptionsbillieon enumsInvoicePaymentSettings.PaymentMethodTypesandSubscriptionPaymentSettings.PaymentMethodTypesCryptogramonPaymentAttemptRecordPaymentMethodDetailsCardThreeDSecureandPaymentRecordPaymentMethodDetailsCardThreeDSecuretouch_n_goon enumsPaymentIntent.AllowedPaymentMethodTypesandSetupIntent.AllowedPaymentMethodTypesApplicationFeeAmount,ApplicationFeePercent,OnBehalfOf, andTransferDataonPaymentLinkParamsFeedbackOptiononSubscriptionCancelCancellationDetailsParams,SubscriptionCancellationDetailsParams, andSubscriptionCancellationDetailsIgiconTaxRegistrationCountryOptionsAtParams,TaxRegistrationCountryOptionsAt,TaxRegistrationCountryOptionsBeParams,TaxRegistrationCountryOptionsBe,TaxRegistrationCountryOptionsBgParams,TaxRegistrationCountryOptionsBg,TaxRegistrationCountryOptionsCyParams,TaxRegistrationCountryOptionsCy,TaxRegistrationCountryOptionsCzParams,TaxRegistrationCountryOptionsCz,TaxRegistrationCountryOptionsDeParams,TaxRegistrationCountryOptionsDe,TaxRegistrationCountryOptionsDkParams,TaxRegistrationCountryOptionsDk,TaxRegistrationCountryOptionsEeParams,TaxRegistrationCountryOptionsEe,TaxRegistrationCountryOptionsEsParams,TaxRegistrationCountryOptionsEs,TaxRegistrationCountryOptionsFiParams,TaxRegistrationCountryOptionsFi,TaxRegistrationCountryOptionsFrParams,TaxRegistrationCountryOptionsFr,TaxRegistrationCountryOptionsGrParams,TaxRegistrationCountryOptionsGr,TaxRegistrationCountryOptionsHrParams,TaxRegistrationCountryOptionsHr,TaxRegistrationCountryOptionsHuParams,TaxRegistrationCountryOptionsHu,TaxRegistrationCountryOptionsIeParams,TaxRegistrationCountryOptionsIe,TaxRegistrationCountryOptionsItParams,TaxRegistrationCountryOptionsIt,TaxRegistrationCountryOptionsLtParams,TaxRegistrationCountryOptionsLt,TaxRegistrationCountryOptionsLuParams,TaxRegistrationCountryOptionsLu,TaxRegistrationCountryOptionsLvParams,TaxRegistrationCountryOptionsLv,TaxRegistrationCountryOptionsMtParams,TaxRegistrationCountryOptionsMt,TaxRegistrationCountryOptionsNlParams,TaxRegistrationCountryOptionsNl,TaxRegistrationCountryOptionsPlParams,TaxRegistrationCountryOptionsPl,TaxRegistrationCountryOptionsPtParams,TaxRegistrationCountryOptionsPt,TaxRegistrationCountryOptionsRoParams,TaxRegistrationCountryOptionsRo,TaxRegistrationCountryOptionsSeParams,TaxRegistrationCountryOptionsSe,TaxRegistrationCountryOptionsSiParams,TaxRegistrationCountryOptionsSi,TaxRegistrationCountryOptionsSkParams, andTaxRegistrationCountryOptionsSkauthentication_failure,capability_not_active,expired_payment_method,incorrect_postal_code,invalid_canceled_subscription_fields, andpayment_method_restrictedonError,InvoiceLastFinalizationError,PaymentIntentLastPaymentError,SetupAttemptSetupError,SetupIntentLastSetupError,StripeError, andTerminalReaderActionApiErrorSee the changelog for more details.
v86.3.0Compare Source
#2399 add/adjust event parsing helpers
Event/EventNotificationstructs without verifying authenticity. Use them when you've previously verified an event (e.g. you verified, put the event in a queue, and are now processing). Supports events from AWS EventBridge and Azure Event Grid natively.stripe.ConstructEventWithoutVerification(payload, opts ...WebhookOption)Client.ConstructEventWithoutVerification(payload, opts ...WebhookOption)Client.ParseEventNotificationWithoutVerification(payload)See the changelog for more details.
v86.2.0Compare Source
This release changes the pinned API version to 2026-07-29.dahlia.
FinancialConnectionsAuthorizationUnrejectmethod on resourceAccountListmethod on resourcePaymentRecordmass_transit_parking_taxandparking_taxon enumsTaxCalculationLineItemTaxBreakdownTaxRateDetails.TaxType,TaxCalculationShippingCostTaxBreakdownTaxRateDetails.TaxType,TaxCalculationTaxBreakdownTaxRateDetails.TaxType,TaxRate.TaxType, andTaxTransactionShippingCostTaxBreakdownTaxRateDetails.TaxTypechapson enumsFundingInstructionsBankTransferFinancialAddress.SupportedNetworksandPaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddress.SupportedNetworksSmartDisputesManagementonAccountSessionComponentsDisputesListFeaturesParams,AccountSessionComponentsDisputesListFeatures,AccountSessionComponentsPaymentDetailsFeaturesParams,AccountSessionComponentsPaymentDetailsFeatures,AccountSessionComponentsPaymentDisputesFeaturesParams,AccountSessionComponentsPaymentDisputesFeatures,AccountSessionComponentsPaymentsFeaturesParams, andAccountSessionComponentsPaymentsFeaturesAdministrativeAddressandPrincipalPlaceOfBusinessonAccountCompanyParams,AccountCompany, andTokenAccountCompanyParamsSEPADebitPaymentsonAccountSettingsParamsProofOfRegistrationonAccountDocumentsParams. This field was limited-use and is being deprecated.PayoutsActiononAccountRejectParamsdata_share_onlyon enumsChargePaymentMethodDetailsCardThreeDSecure.Result,PaymentAttemptRecordPaymentMethodDetailsCardThreeDSecure.Result,PaymentRecordPaymentMethodDetailsCardThreeDSecure.Result, andSetupAttemptPaymentMethodDetailsCardThreeDSecure.ResultDynamicTaxRatesonCheckoutSessionLineItemParams. This field is limited-use and is being deprecated.SetupFutureUsageonCheckoutSessionPaymentMethodOptionsPaycoParams,CheckoutSessionPaymentMethodOptionsPayco,CheckoutSessionPaymentMethodOptionsSamsungPayParams,CheckoutSessionPaymentMethodOptionsSamsungPay,PaymentIntentConfirmPaymentMethodOptionsPaycoParams,PaymentIntentConfirmPaymentMethodOptionsSamsungPayParams,PaymentIntentPaymentMethodOptionsPaycoParams,PaymentIntentPaymentMethodOptionsPayco,PaymentIntentPaymentMethodOptionsSamsungPayParams,PaymentIntentPaymentMethodOptionsSamsungPay, andPaymentLinkPaymentIntentDataParamsic_nifon enumsCheckoutSessionCustomerDetailsTaxIds.Type,TaxCalculationCustomerDetailsTaxId.Type,TaxId.Type, andTaxTransactionCustomerDetailsTaxId.Typebnp_paribas,citibank, andmbsb_bankon enumsConfirmationTokenPaymentMethodPreviewFpx.Bank,PaymentAttemptRecordPaymentMethodDetailsFpx.Bank, andPaymentRecordPaymentMethodDetailsFpx.BankNetworkonDisputePaymentMethodDetailsCardfinancial_connections.account.expected_deactivation_date_updated,financial_connections.account.supported_payment_method_types_updated,financial_connections.account.upcoming_deactivation,financial_connections.authorization.expected_deactivation_date_updated, andfinancial_connections.authorization.upcoming_deactivationon enumEvent.TypeLimitsandManualEntryonFinancialConnectionsSessionParamsandFinancialConnectionsSessionRequirePaymentMethodSupportonFinancialConnectionsSessionFiltersParamsandFinancialConnectionsSessionFiltersBankAccountTokenonFinancialConnectionsSessionMetadataonInvoiceCreatePreviewSubscriptionDetailsParamsalipayandmb_wayon enumsInvoicePaymentSettings.PaymentMethodTypesandSubscriptionPaymentSettings.PaymentMethodTypesstripe_internal_erroron enumIssuingAuthorizationRequestHistory.ReasonBusinessNameonIssuingCardShippingParamsandIssuingCardShippingcorreoson enumIssuingCardShipping.CarrierAllowedPaymentMethodTypesonPaymentIntentConfirmParams,PaymentIntentParams,PaymentIntent,SetupIntentConfirmParams,SetupIntentParams, andSetupIntentReferreronPaymentIntentConfirmRadarOptionsParamsandPaymentIntentRadarOptionsParamsConsentCollectionandShippingOptionsonPaymentLinkParamsCustomFields,Description, andFooteronQuoteInvoiceSettingsParams,QuoteInvoiceSettings,SubscriptionScheduleDefaultSettingsInvoiceSettingsParams,SubscriptionScheduleDefaultSettingsInvoiceSettings,SubscriptionSchedulePhaseInvoiceSettingsParams, andSubscriptionSchedulePhaseInvoiceSettingsCustomerAccountandCustomeronRefundPaymentMethodonRefundandTopupTrialonSubscriptionSchedulePhaseMassTransitParkingTaxandParkingTaxonTaxRegistrationCountryOptionsUsParamsandTaxRegistrationCountryOptionsUsmass_transit_parking_taxandparking_taxon enumTaxRegistrationCountryOptionsUs.TypeInitiatedByandPaymentMethodOptionsonTopupAdditionalAddressesonV2CoreAccountIdentityBusinessDetailsParams,V2CoreAccountIdentityBusinessDetails, andV2CoreAccountTokenIdentityBusinessDetailsParamsEventTypeFinancialConnectionsAccountExpectedDeactivationDateUpdated,EventTypeFinancialConnectionsAccountSupportedPaymentMethodTypesUpdated, andEventTypeFinancialConnectionsAccountUpcomingDeactivationwith resourceFinancialConnectionsAccountEventTypeFinancialConnectionsAuthorizationExpectedDeactivationDateUpdatedandEventTypeFinancialConnectionsAuthorizationUpcomingDeactivationwith resourceFinancialConnectionsAuthorizationSee the changelog for more details.
v86.1.1Compare Source
See the changelog for more details.
v86.1.0Compare Source
This release changes the pinned API version to 2026-06-24.dahlia.
ReleaseDetailsonReserveHoldtax_fundon enumBalanceTransaction.TypeBuyerIDonChargePaymentMethodDetailsBizum,ConfirmationTokenPaymentMethodPreviewBizum,ConfirmationTokenPaymentMethodPreviewBlik,PaymentAttemptRecordPaymentMethodDetailsBizum,PaymentMethodBizum,PaymentMethodBlik, andPaymentRecordPaymentMethodDetailsBizumTransactionLinkIDonChargePaymentMethodDetailsCardsuion enumsChargePaymentMethodDetailsCrypto.Network,PaymentAttemptRecordPaymentMethodDetailsCrypto.Network, andPaymentRecordPaymentMethodDetailsCrypto.Networkusdsuion enumsChargePaymentMethodDetailsCrypto.TokenCurrency,PaymentAttemptRecordPaymentMethodDetailsCrypto.TokenCurrency, andPaymentRecordPaymentMethodDetailsCrypto.TokenCurrencyFingerprintonChargePaymentMethodDetailsPix,ConfirmationTokenPaymentMethodPreviewPix,PaymentMethodPix, andSetupAttemptPaymentMethodDetailsPixSunbitonCheckoutSessionPaymentMethodOptionsParams,CheckoutSessionPaymentMethodOptions,PaymentIntentConfirmPaymentMethodOptionsParams,PaymentIntentPaymentMethodOptionsParams, andPaymentIntentPaymentMethodOptionsBillingCycleAnchorConfigonCheckoutSessionSubscriptionDataParamsWeChatPayonCheckoutSessionPaymentMethodOptionsMastercardComplianceonDisputeEvidenceDetailsEnhancedEligibility,DisputeEvidenceEnhancedEvidenceParams, andDisputeEvidenceEnhancedEvidencemastercard_complianceon enumDispute.EnhancedEligibilityTypesStatusDetailsonFinancialConnectionsAccountvalidatedon enumIdentityVerificationSessionRedaction.Statussatispayon enumsInvoicePaymentSettings.PaymentMethodTypesandSubscriptionPaymentSettings.PaymentMethodTypesStoredCredentialUsageonPaymentAttemptRecordPaymentMethodDetailsCardandPaymentRecordPaymentMethodDetailsCardSetupFutureUsageonPaymentIntentConfirmPaymentMethodOptionsSatispayParams,PaymentIntentPaymentMethodOptionsSatispayParams, andPaymentIntentPaymentMethodOptionsSatispaySatispayonSetupAttemptPaymentMethodDetailsCustomFields,Description, andFooteronSubscriptionInvoiceSettingsParamsandSubscriptionInvoiceSettingsPaymentMethodOptionsandPaymentMethodonTopupParamsModeonV2CommerceProductCatalogImportpromotionon enumV2CommerceProductCatalogImport.FeedTypeSunbitPaymentsonV2CoreAccountConfigurationMerchantCapabilitiesParamsandV2CoreAccountConfigurationMerchantCapabilitiesCryptoMoneyManagerandMoneyManageronV2CoreAccountIdentityAttestationsTermsOfServiceParamsCryptoStorerandStoreronV2CoreAccountIdentityAttestationsTermsOfServiceParamssunbit_paymentson enumEventsV2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent.UpdatedCapabilityanomalous_money_movement_request,failed_tax_calculation,financial_account_balance_does_not_support_currency,financial_account_capability_not_enabled, andfinancial_account_capability_restrictedonError,InvoiceLastFinalizationError,PaymentIntentLastPaymentError,SetupAttemptSetupError,SetupIntentLastSetupError,StripeError, andTerminalReaderActionApiErrorSee the changelog for more details.
v86.0.0Compare Source
This release doesn't change the pinned API version; it still uses
2026-05-27.dahlia.We're doing an out-of-band-major to update a field type that changed. If you're not using
tax_details, this is a no-op release when compared with the last one. If you are usingtax_detailsits type has changed slightly and you'll have to update your code when upgrading.tax_rate.tax_detailsexpandableLimit,StartingAfter, andEndingBeforefields forListmethods that do not accept those fieldsLimit,StartingAfter, andEndingBeforewere embedded inCapabilityListParamsandReportingReportTypeListParamseven though they are not valid parameters and would have always resulted in a 400 from the Stripe API if set. If you were including them before in either of those 2 structs, you can safely remove them.See the changelog for more details.
v85.2.0Compare Source
This release changes the pinned API version to 2026-05-27.dahlia.
V2CommerceProductCatalogImportGetandNewmethods on resourceV2CommerceProductCatalogImportBizumPaymentsandScalapayPaymentsonAccountCapabilitiesParamsandAccountCapabilitiesAutomaticTransferRulesByCurrencyonBalanceSettingsPaymentsPayoutsParamsandBalanceSettingsPaymentsPayoutsStartOfDayonBalanceSettingsPaymentsSettlementTimingParamsandBalanceSettingsPaymentsSettlementTimingDescriptiononChargeTransferDataParams,PaymentIntentTransferDataParams, andPaymentIntentTransferDataBizumonChargePaymentMethodDetails,ConfirmationTokenPaymentMethodDataParams,ConfirmationTokenPaymentMethodPreview,PaymentAttemptRecordPaymentMethodDetails,PaymentIntentConfirmPaymentMethodDataParams,PaymentIntentConfirmPaymentMethodOptionsParams,PaymentIntentPaymentMethodDataParams,PaymentIntentPaymentMethodOptionsParams,PaymentIntentPaymentMethodOptions,PaymentMethodConfigurationParams,PaymentMethodConfiguration,PaymentMethodParams,PaymentMethod,PaymentRecordPaymentMethodDetails,SetupIntentConfirmPaymentMethodDataParams,SetupIntentConfirmPaymentMethodOptionsParams,SetupIntentPaymentMethodDataParams,SetupIntentPaymentMethodOptionsParams, andSetupIntentPaymentMethodOptionsScalapayonChargePaymentMethodDetails,CheckoutSessionPaymentMethodOptionsParams,CheckoutSessionPaymentMethodOptions,ConfirmationTokenPaymentMethodDataParams,ConfirmationTokenPaymentMethodPreview,PaymentAttemptRecordPaymentMethodDetails,PaymentIntentConfirmPaymentMethodDataParams,PaymentIntentConfirmPaymentMethodOptionsParams,PaymentIntentPaymentMethodDataParams,PaymentIntentPaymentMethodOptionsParams,PaymentIntentPaymentMethodOptions,PaymentMethodConfigurationParams,PaymentMethodConfiguration,PaymentMethodParams,PaymentMethod,PaymentRecordPaymentMethodDetails,RefundDestinationDetails,SetupIntentConfirmPaymentMethodDataParams, andSetupIntentPaymentMethodDataParamsMandateonChargePaymentMethodDetailsTwint,PaymentAttemptRecordPaymentMethodDetailsTwint, andPaymentRecordPaymentMethodDetailsTwintCheckoutSessionPaymentMethodOptionsTwintParams.SetupFutureUsage,PaymentIntentConfirmPaymentMethodOptionsTwintParams.SetupFutureUsage, andPaymentIntentPaymentMethodOptionsTwintParams.SetupFutureUsagefromliteral('none')toenum('none'|'off_session')CheckoutSessionPaymentMethodOptionsTwint.SetupFutureUsageandPaymentIntentPaymentMethodOptionsTwint.SetupFutureUsagefromliteral('none')toenum('none'|'off_session')bizumandscalapayon enumsConfirmationTokenPaymentMethodPreview.TypeandPaymentMethod.TypeCreditedItemsonInvoiceItemProrationDetailsDiscountableonInvoiceCreatePreviewScheduleDetailsPhaseAddInvoiceItemParams,SubscriptionAddInvoiceItemParams,SubscriptionSchedulePhaseAddInvoiceItemParams, andSubscriptionSchedulePhaseAddInvoiceItemBillingSchedulesonInvoiceCreatePreviewSubscriptionDetailsParams,SubscriptionParams, andSubscriptionAmountPaidOffStripeonInvoicetwinton enumsInvoicePaymentSettings.PaymentMethodTypesandSubscriptionPaymentSettings.PaymentMethodTypesTWINTonMandatePaymentMethodDetailsandSetupAttemptPaymentMethodDetailsMetadataonPaymentIntentTransferDataParams,PaymentIntentTransferData, andSubscriptionPendingUpdatePaymentDataonPaymentIntentTransferDataParamsandPaymentIntentTransferDatabizumandscalapayon enumsPaymentIntent.ExcludedPaymentMethodTypesandSetupIntent.ExcludedPaymentMethodTypesBLIKAuthorizeonPaymentIntentNextActionandSetupIntentNextActionPaymentMethodOptionsonPaymentLinkParamsandPaymentLinkbizumon enumPaymentLink.PaymentMethodTypesActiveonPaymentMethodConfigurationListParamsBilledUntilonSubscriptionItemDiscountandDiscountsonSubscriptionPendingUpdateVerifoneM425,VerifoneP630,VerifoneUx700, andVerifoneV660ponTerminalConfigurationParamsandTerminalConfigurationAPIErrorandPrintContentonTerminalReaderActionprint_contenton enumTerminalReaderAction.Typesimulated_verifone_m425,simulated_verifone_p630,simulated_verifone_ux700,simulated_verifone_v660p,verifone_m425,verifone_p630,verifone_ux700, andverifone_v660pon enumTerminalReader.DeviceTypeCustomeronTestHelpersTestClockParamsSigneronV2CoreAccountIdentityBusinessDetailsDocumentsProofOfRegistrationParams,V2CoreAccountIdentityBusinessDetailsDocumentsProofOfRegistration,V2CoreAccountIdentityBusinessDetailsDocumentsProofOfUltimateBeneficialOwnershipParams,V2CoreAccountIdentityBusinessDetailsDocumentsProofOfUltimateBeneficialOwnership,V2CoreAccountTokenIdentityBusinessDetailsDocumentsProofOfRegistrationParams, andV2CoreAccountTokenIdentityBusinessDetailsDocumentsProofOfUltimateBeneficialOwnershipParamsAzureEventGridonV2CoreEventDestinationParamsandV2CoreEventDestinationno_azure_partner_topic_existson enumV2CoreEventDestinationStatusDetailsDisabled.Reasonazure_event_gridon enumV2CoreEventDestination.Typemeter_event_value_too_many_digitson enumsEventsV1BillingMeterErrorReportTriggeredEventReasonErrorType.CodeandEventsV1BillingMeterNoMeterFoundEventReasonErrorType.CodeV2CommerceProductCatalogImportsFailedEvent,V2CommerceProductCatalogImportsProcessingEvent,V2CommerceProductCatalogImportsSucceededEvent, andV2CommerceProductCatalogImportsSucceededWithErrorsEventwith related objectV2CommerceProductCatalogImportpayment_method_microdeposit_processing_errorandsiret_invalidonError,InvoiceLastFinalizationError,PaymentIntentLastPaymentError,SetupAttemptSetupError,SetupIntentLastSetupError, andStripeErrorstripe-notifyheader is present in responseSee the changelog for more details.
v85.1.0Compare Source
This release changes the pinned API version to 2026-04-22.dahlia.
BalanceReportandPayoutReconciliationReportonAccountSessionComponentsParamsandAccountSessionComponentsAppDistributionandSunbitPaymentsonAccountCapabilitiesParamsandAccountCapabilitiesfee_credit_funding,inbound_transfer_reversal, andinbound_transferon enumBalanceTransaction.TypeSunbitonChargePaymentMethodDetails,ConfirmationTokenPaymentMethodDataParams,ConfirmationTokenPaymentMethodPreview,PaymentAttemptRecordPaymentMethodDetails,PaymentIntentConfirmPaymentMethodDataParams,PaymentIntentPaymentMethodDataParams,PaymentMethodConfigurationParams,PaymentMethodConfiguration,PaymentMethodParams,PaymentMethod,PaymentRecordPaymentMethodDetails,SetupIntentConfirmPaymentMethodDataParams, andSetupIntentPaymentMethodDataParamsphantom_cashandusdton enumsChargePaymentMethodDetailsCrypto.TokenCurrency,PaymentAttemptRecordPaymentMethodDetailsCrypto.TokenCurrency, andPaymentRecordPaymentMethodDetailsCrypto.TokenCurrencyLocationandReaderonChargePaymentMethodDetailsKlarna,PaymentAttemptRecordPaymentMethodDetailsKlarna, andPaymentRecordPaymentMethodDetailsKlarnaMandateonChargePaymentMethodDetailsPix,PaymentAttemptRecordPaymentMethodDetailsPix, andPaymentRecordPaymentMethodDetailsPixManagedPaymentsonCheckoutSessionParams,CheckoutSession,PaymentIntent,PaymentLinkParams,PaymentLink,SetupIntent, andSubscriptionMandateOptionsonCheckoutSessionPaymentMethodOptionsPixParams,CheckoutSessionPaymentMethodOptionsPix,PaymentIntentConfirmPaymentMethodOptionsPixParams,PaymentIntentPaymentMethodOptionsPixParams, andPaymentIntentPaymentMethodOptionsPixCheckoutSessionPaymentMethodOptionsPixParams.SetupFutureUsage,PaymentIntentConfirmPaymentMethodOptionsPixParams.SetupFutureUsage, andPaymentIntentPaymentMethodOptionsPixParams.SetupFutureUsagefromliteral('none')toenum('none'|'off_session')fo_vat,gi_tin,it_cf, andpy_rucon enumsCheckoutSessionCustomerDetailsTaxIds.Type,TaxCalculationCustomerDetailsTaxId.Type,TaxId.Type, andTaxTransactionCustomerDetailsTaxId.TypeCheckoutSessionPaymentMethodOptionsPix.SetupFutureUsageandPaymentIntentPaymentMethodOptionsPix.SetupFutureUsagefromliteral('none')toenum('none'|'off_session')sunbiton enumsConfirmationTokenPaymentMethodPreview.TypeandPaymentMethod.TypePixonInvoicePaymentSettingsPaymentMethodOptionsParams,InvoicePaymentSettingsPaymentMethodOptions,MandatePaymentMethodDetails,SetupAttemptPaymentMethodDetails,SetupIntentConfirmPaymentMethodOptionsParams,SetupIntentPaymentMethodOptionsParams,SetupIntentPaymentMethodOptions,SubscriptionPaymentSettingsPaymentMethodOptionsParams, andSubscriptionPaymentSettingsPaymentMethodOptionsUpionInvoicePaymentSettingsPaymentMethodOptionsParams,InvoicePaymentSettingsPaymentMethodOptions,SubscriptionPaymentSettingsPaymentMethodOptionsParams, andSubscriptionPaymentSettingsPaymentMethodOptionspixandupion enumsInvoicePaymentSettings.PaymentMethodTypesandSubscriptionPaymentSettings.PaymentMethodTypesCardPresenceonIssuingAuthorizationAllowedCardPresencesandBlockedCardPresencesonIssuingCardSpendingControlsParams,IssuingCardSpendingControls,IssuingCardholderSpendingControlsParams, andIssuingCardholderSpendingControlsfulfillment_erroron enumIssuingCard.CancellationReasonfulfillment_erroron enumIssuingCard.ReplacementReasonAmountandCurrencyonMandateMultiUseAmountToConfirmonPaymentIntentConfirmParamssunbiton enumsPaymentIntent.ExcludedPaymentMethodTypesandSetupIntent.ExcludedPaymentMethodTypesKlarnaDisplayQRCodeonPaymentIntentNextActionsunbiton enumPaymentLink.PaymentMethodTypeslow,not_assessed, andunknownon enumRadarPaymentEvaluationSignalsFraudulentPayment.RiskLevelaccounton enumRadarValueList.ItemTypeMOTOonSetupAttemptPaymentMethodDetailsCardPixDisplayQRCodeonSetupIntentNextActionaction_blockedandapproval_requiredonError,InvoiceLastFinalizationError,PaymentIntentLastPaymentError,SetupAttemptSetupError,SetupIntentLastSetupError, andStripeErrorSee the changelog for more details.
v85.0.1Compare Source
#2342 Add SetupIntent next action type constant for UPI
SetupIntentNextActionTypeUpiHandleRedirectOrDisplayQRCodeconstant for theupi_handle_redirect_or_display_qr_codenext action type.#2338 Add test coverage for 2D slice form encoding
See the changelog for more details.
v85.0.0Compare Source
This release changes the pinned API version to⚠️ below). There's also a detailed migration guide to simplify your upgrade process.
2026-03-25.dahliaand contains breaking changes (prefixed withPlease review details for the breaking changes and alternatives in the Stripe API changelog before upgrading.
BackendImplementation.UnmarshalJSONVerbose(nowunmarshalJSONVerbose) and added acontext.Contextparameter for proper context propagation in error logging.MinimumBalanceByCurrencychanged frommap[string]int64tomap[string]*int64onBalanceSettingsPaymentsPayoutsParamsandBalanceSettingsUpdatePaymentsPayoutsParams. This field now supports clearing a value in the map by assigning null to the map key.stringtofloat64withjson:",string"andform:",high_precision"struct tags. Code that passes these fields asstringwill need to usefloat64instead. Affected fields:PercentOwnershipPercentOwnershipV2CoreAccountIdentityIndividualRelationshipParams,V2CoreAccountCreateIdentityIndividualRelationshipParams,V2CoreAccountUpdateIdentityIndividualRelationshipParams,V2CoreAccountTokenIdentityIndividualRelationshipParams,V2CoreAccountTokenCreateIdentityIndividualRelationshipParams,V2CoreAccountsPersonRelationshipParams,V2CoreAccountsPersonCreateRelationshipParams,V2CoreAccountsPersonUpdateRelationshipParams,V2CoreAccountsPersonTokenRelationshipParams,V2CoreAccountsPersonTokenCreateRelationshipParamsListandSearchmethods withstripe.Clientto return astructListandSearchmethods usingstripe.Clientnow return astructinstead ofSeq2. This is a backwards incompatible change, and you will need to add an additional call to.All(ctx)in yourforloop. E.g.errorby callinglist.Err(), a page's data usinglist.Data(), and its metadata by callinglist.Meta().V2RawError.UserMesage-->V2RawError.UserMessage#2263 Add helpers in preparation for BatchJobs public preview support
#2322 Add
UnsetFieldsfor clearing field values in v1 and v2 API requestsUnsetFieldsfield andAddUnsetFieldmethod toParamsfor explicitly clearing field values in API requests. For v2 JSON requests, listed fields are sent as"field": null. For v1 form requests, listed fields are sent asfield=(empty string).UnsetFieldsslice, enabling clearing of nested fields (e.g.params.CancellationDetails.AddUnsetField(...)).UnsetFieldstring enum types provide type-safe constants for each clearable field (e.g.SubscriptionUpdateParamsUnsetFieldDescription).See the changelog for more details.
v84.4.1Compare Source
See the changelog for more details.
v84.4.0Compare Source
This release changes the pinned API version to
2026-02-25.clover.ReserveHold,ReservePlan, andReserveReleaseLocationandReaderonChargePaymentMethodDetailsCardPresent,ChargePaymentMethodDetailsInteracPresent,ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethodDetailsCardPresent,PaymentAttemptRecordPaymentMethodDetailsCardPresent,PaymentAttemptRecordPaymentMethodDetailsInteracPresent,PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent,PaymentRecordPaymentMethodDetailsCardPresent, andPaymentRecordPaymentMethodDetailsInteracPresentlk_vaton enumsCheckoutSessionCustomerDetailsTaxIds.Type,TaxCalculationCustomerDetailsTaxId.Type,TaxId.Type, andTaxTransactionCustomerDetailsTaxId.Typereserve.hold.created,reserve.hold.updated,reserve.plan.created,reserve.plan.disabled,reserve.plan.expired,reserve.plan.updated, andreserve.release.createdon enumEvent.Typeterminal_wifi_certificateandterminal_wifi_private_keyon enumFile.Purposepay_by_bankon enumsInvoicePaymentSettings.PaymentMethodTypesandSubscriptionPaymentSettings.PaymentMethodTypesDisplayNameandServiceUserNumberonMandatePaymentMethodDetailsBacsDebitTransactionPurposeonPaymentIntentConfirmPaymentMethodOptionsUsBankAccountParams,PaymentIntentPaymentMethodOptionsUsBankAccountParams, andPaymentIntentPaymentMethodOptionsUsBankAccountOptionalItemsonPaymentLinkParamsCardIssuerDeclineonRadarPaymentEvaluationInsightsPaymentBehavioronSubscriptionItemParamsLkonTaxRegistrationCountryOptionsParamsandTaxRegistrationCountryOptionsCellularandStripeS710onTerminalConfigurationParamsandTerminalConfigurationsimulated_stripe_s710andstripe_s710on enumTerminalReader.DeviceTypeEventTypeReserveHoldCreatedandEventTypeReserveHoldUpdatedwith resourceReserveHoldEventTypeReservePlanCreated,EventTypeReservePlanDisabled,EventTypeReservePlanExpired, andEventTypeReservePlanUpdatedwith resourceReservePlanEventTypeReserveReleaseCreatedwith resourceReserveReleasestorer_capability_missingandstorer_capability_not_activeonError,InvoiceLastFinalizationError,PaymentIntentLastPaymentError,SetupAttemptSetupError,SetupIntentLastSetupError, andStripeErrorSee the changelog for more details.
v84.3.0Compare Source
This release changes the pinned API version to
2026-01-28.clover.RadarPaymentEvaluationNewmethod on resourceRadarPaymentEvaluationAdjustableQuantityonLineItemrisk_reservedon enumBalanceTransaction.BalanceTypereserve_holdandreserve_releaseon enumBalanceTransaction.Typepl_nipon enumsCheckoutSessionCustomerDetailsTaxIds.Type,TaxCalculationCustomerDetailsTaxId.Type,TaxId.Type, andTaxTransactionCustomerDetailsTaxId.Typeadyenon enumsConfirmationTokenPaymentMethodPreviewIdeal.Bank,PaymentAttemptRecordPaymentMethodDetailsIdeal.Bank, andPaymentRecordPaymentMethodDetailsIdeal.BankADYBNL2Aon enumsConfirmationTokenPaymentMethodPreviewIdeal.BIC,PaymentAttemptRecordPaymentMethodDetailsIdeal.BIC, andPaymentRecordPaymentMethodDetailsIdeal.BICEnforceArithmeticValidationonPaymentIntentAmountDetailsParams,PaymentIntentCaptureAmountDetailsParams,PaymentIntentConfirmAmountDetailsParams, andPaymentIntentIncrementAuthorizationAmountDetailsParamsErroronPaymentIntentAmountDetailsBgnonTerminalConfigurationTippingParamsandTerminalConfigurationTippingTopuponTreasuryReceivedDebitLinkedFlowsContactPhoneonV2CoreAccountParams,V2CoreAccountTokenParams, andV2CoreAccountRegistrationDateonV2CoreAccountIdentityBusinessDetailsParams,V2CoreAccountIdentityBusinessDetails, andV2CoreAccountTokenIdentityBusinessDetailsParamsgb_vaton enumV2CoreAccountIdentityBusinessDetailsIdNumber.Typerequest_blockedonError,InvoiceLastFinalizationError,PaymentIntentLastPaymentError,SetupAttemptSetupError,SetupIntentLastSetupError, andStripeErrorSee the changelog for more details.
v84.2.0Compare Source
V2CoreAccountClosedEvent,V2CoreAccountCreatedEvent,V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent,V2CoreAccountIncludingConfigurationCustomerUpdatedEvent,V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent,V2CoreAccountIncludingConfigurationMerchantUpdatedEvent,V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent,V2CoreAccountIncludingConfigurationRecipientUpdatedEvent,V2CoreAccountIncludingDefaultsUpdatedEvent,V2CoreAccountIncludingFutureRequirementsUpdatedEvent,V2CoreAccountIncludingIdentityUpdatedEvent,V2CoreAccountIncludingRequirementsUpdatedEvent, andV2CoreAccountUpdatedEventwith related objectV2CoreAccountV2CoreAccountLinkReturnedEventV2CoreAccountPersonCreatedEvent,V2CoreAccountPersonDeletedEvent, andV2CoreAccountPersonUpdatedEventwith related objectV2CoreAccountPersongolang.org/x/net/http2HTTPStatusCodeandRequestIDfields toV2RawErrorSee the changelog for more details.
v84.1.0Compare Source
This release changes the pinned API version to
2025-12-15.clover.V2CoreAccountLink,V2CoreAccountPersonToken,V2CoreAccountPerson,V2CoreAccountToken, andV2CoreAccountGetandNewmethods on resourcesV2CoreAccountPersonTokenandV2CoreAccountTokenNewmethod on resourceV2CoreAccountLinkClose,Get,List,New, andUpdatemethods on resourceV2CoreAccountDel,Get,List,New, andUpdatemethods on resourceV2CoreAccountPersonCustomerAccountonBillingCreditBalanceSummaryParams,BillingCreditBalanceSummary,BillingCreditBalanceTransactionListParams,BillingCreditGrantListParams,BillingCreditGrantParams,BillingCreditGrant,BillingPortalSessionParams,BillingPortalSession,CashBalance,CheckoutSessionListParams,CheckoutSessionParams,CheckoutSession,ConfirmationTokenPaymentMethodPreview,CreditNoteListParams,CreditNote,CustomerBalanceTransaction,CustomerCashBalanceTransaction,CustomerSessionParams,CustomerSession,Customer,Discount,FinancialConnectionsAccountAccountHolder,FinancialConnectionsAccountListAccountHolderParams,FinancialConnectionsSessionAccountHolderParams,FinancialConnectionsSessionAccountHolder,InvoiceCreatePreviewParams,InvoiceItemListParams,InvoiceItemParams,InvoiceItem,InvoiceListParams,InvoiceParams,Invoice,PaymentIntentListParams,PaymentIntentParams,PaymentIntent,PaymentMethodAttachParams,PaymentMethodListParams,PaymentMethod,PromotionCodeListParams,PromotionCodeParams,PromotionCode,QuoteListParams,QuoteParams,Quote,SetupAttempt,SetupIntentListParams,SetupIntentParams,SetupIntent,SubscriptionListParams,SubscriptionParams,SubscriptionScheduleListParams,SubscriptionScheduleParams,SubscriptionSchedule,Subscription,TaxIdListOwnerParams,TaxIdOwnerParams,TaxIdOwner, andTaxIdMetadataonCheckoutSessionLineItemParamsandLineItemPaytoPaymentsonAccountCapabilitiesParamsandAccountCapabilitiesSigneronAccountDocumentsProofOfRegistrationParamsandAccountDocumentsProofOfUltimateBeneficialOwnershipParamsBillingCycleAnchoronBillingPortalConfigurationFeaturesSubscriptionUpdateParamsandBillingPortalConfigurationFeaturesSubscriptionUpdatePaytoonChargePaymentMethodDetails,CheckoutSessionPaymentMethodOptionsParams,CheckoutSessionPaymentMethodOptions,ConfirmationTokenPaymentMethodDataParams,ConfirmationTokenPaymentMethodPreview,InvoicePaymentSettingsPaymentMethodOptionsParams,InvoicePaymentSettingsPaymentMethodOptions,MandatePaymentMethodDetails,PaymentAttemptRecordPaymentMethodDetails,PaymentIntentConfirmPaymentMethodDataParams,PaymentIntentConfirmPaymentMethodOptionsParams,PaymentIntentPaymentMethodDataParams,PaymentIntentPaymentMethodOptionsParams,PaymentIntentPaymentMethodOptions,PaymentMethodConfigurationParams,PaymentMethodConfiguration,PaymentMethodParams,PaymentMethod,PaymentRecordPaymentMethodDetails,SetupAttemptPaymentMethodDetails,SetupIntentConfirmPaymentMethodDataParams,SetupIntentConfirmPaymentMethodOptionsParams,SetupIntentPaymentMethodDataParams,SetupIntentPaymentMethodOptionsParams,SetupIntentPaymentMethodOptions,SubscriptionPaymentSettingsPaymentMethodOptionsParams, andSubscriptionPaymentSettingsPaymentMethodOptionsExpectedDebitDateonChargePaymentMethodDetailsAcssDebit,ChargePaymentMethodDetailsAuBecsDebit,ChargePaymentMethodDetailsBacsDebit,ChargePaymentMethodDetailsNzBankAccount,ChargePaymentMethodDetailsSepaDebit,ChargePaymentMethodDetailsUsBankAccount,PaymentAttemptRecordPaymentMethodDetailsAcssDebit,PaymentAttemptRecordPaymentMethodDetailsAuBecsDebit,PaymentAttemptRecordPaymentMethodDetailsBacsDebit,PaymentAttemptRecordPaymentMethodDetailsNzBankAccount,PaymentAttemptRecordPaymentMethodDetailsSepaDebit,PaymentAttemptRecordPaymentMethodDetailsUsBankAccount,PaymentRecordPaymentMethodDetailsAcssDebit,PaymentRecordPaymentMethodDetailsAuBecsDebit,PaymentRecordPaymentMethodDetailsBacsDebit,PaymentRecordPaymentMethodDetailsNzBankAccount,PaymentRecordPaymentMethodDetailsSepaDebit, andPaymentRecordPaymentMethodDetailsUsBankAccountLineItemsonCheckoutSessionParamsmollieon enumsConfirmationTokenPaymentMethodPreviewIdeal.Bank,PaymentAttemptRecordPaymentMethodDetailsIdeal.Bank, andPaymentRecordPaymentMethodDetailsIdeal.BankMLLENL2Aon enumsConfirmationTokenPaymentMethodPreviewIdeal.BIC,PaymentAttemptRecordPaymentMethodDetailsIdeal.BIC, andPaymentRecordPaymentMethodDetailsIdeal.BICpaytoon enumsConfirmationTokenPaymentMethodPreview.TypeandPaymentMethod.TypeInvoiceonCustomerCustomerBalanceTransactionListParamsRelatedCustomerAccountonIdentityVerificationSessionListParams,IdentityVerificationSessionParams, andIdentityVerificationSessionpaytoon enumsInvoicePaymentSettings.PaymentMethodTypesandSubscriptionPaymentSettings.PaymentMethodTypesSubtotalonInvoiceLineItemAuthorizationCode,Description,IIN,Installments,Issuer,NetworkAdviceCode,NetworkDeclineCode, andStoredCredentialUsageonPaymentAttemptRecordPaymentMethodDetailsCardandPaymentRecordPaymentMethodDetailsCardpaytoon enumsPaymentIntent.ExcludedPaymentMethodTypesandSetupIntent.ExcludedPaymentMethodTypespaytoon enumPaymentLink.PaymentMethodTypesAllowRedisplayonPaymentMethodListParamsReportedByonPaymentRecordChangesonV2CoreEventaccount_token_required_for_v2_accountonError,InvoiceLastFinalizationError,PaymentIntentLastPaymentError,SetupAttemptSetupError,SetupIntentLastSetupError, andStripeErrorSee the changelog for more details.
v84.0.0Compare Source
This release changes the pinned API version to
2025-11-17.clover.V2CoreEventDestinationParams.MetadataandV2CoreEventDestinationUpdateParams.Metadatatomap[string]*stringfrommap[string]string. This supports the ability to remove a key from aMetadatamap by setting its value tonil.V2CoreEventDestinationParams.AddMetadatamethod to set its second argument to*stringfromstring.GTE,Gt,LT, andLteonV2CoreEventListParamsin favor ofCreated.RetrieveandListcalls for/v2endpoints now use indexed format (e.g.,?include[0]=foo&include[1]=bar) instead of repeated parameter format (e.g.,?include=foo&include=bar) when communicating with the Stripe API. This may break any unit tests that expect the latter behavior when setting up a mock server. Instead, they should now expect the former.TaxAssociationandTerminalOnboardingLinkFindmethod on resourceTaxAssociationNewmethod on resourceTerminalOnboardingLinkPaymentMethodConfigurationonBillingPortalConfigurationFeaturesPaymentMethodUpdateTransactionIDonChargePaymentMethodDetailsIdeal,PaymentAttemptRecordPaymentMethodDetailsIdeal, and `PaymentRecoConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Disabled because a matching PR was automerged previously.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.