# Changelog
## 87.0.0 - 2026-09-30
This release changes the pinned API version to `2026-09-30.endive`.
This release contains breaking changes (prefixed with ⚠️ below). See the [v87 migration guide](https://github.com/stripe/stripe-go/wiki/Migration-guide-for-v87) for detailed upgrade instructions.
* [#2431](https://github.com/stripe/stripe-go/pull/2431) Support `EventNotification`s with singleton related objects
* ⚠️ Use exact decimal types for decimal API fields
* Change decimal API fields from `float64`/`*float64` to `decimal.Decimal`/`*decimal.Decimal`.
* Add `github.com/shopspring/decimal` as a public dependency.
* [#2436](https://github.com/stripe/stripe-go/pull/2436) Allow suppressing Stripe notices
Set the `STRIPE_SUPPRESS_NOTICES` environment variable to `true` to suppress Stripe notices in test and sandbox environments when not running under a detected AI agent. Notices remain enabled by default and continue to be shown to AI agents.
* ⚠️ Drop support for Go 1.22 and 1.23
Dropped support for Go 1.22 and 1.23. Go 1.24 is now the minimum supported Go version.
* ⚠️ [#2435](https://github.com/stripe/stripe-go/pull/2435) Update generated code
* Add support for new resources `AppsInstall`, `ProductCatalogTrialOffer`, `TaxLocation`, and `ThreeDSecureAuthentication`
* Add support for `Get`, `List`, `New`, `Uninstall`, and `Update` methods on resource `AppsInstall`
* Add support for `Get`, `List`, `New`, and `Update` methods on resource `ProductCatalogTrialOffer`
* Add support for `Get`, `List`, and `New` methods on resource `TaxLocation`
* Add support for `Cancel`, `Get`, `List`, `New`, and `Submit` methods on resource `ThreeDSecureAuthentication`
* Add support for `Pause` method on resource `Subscription`
* Add support for new values `invalid_address_cmra_address` and `invalid_address_registered_agent_address` on enums `BankAccountFutureRequirementsErrors.Code` and `BankAccountRequirementsErrors.Code`
* Add support for `PerformanceLocation` on `TaxCalculationLineItemParams` and `TaxCalculationLineItem`
* Add support for new value `performance` on enums `TaxCalculationLineItemTaxBreakdown.Sourcing`, `TaxCalculationShippingCostTaxBreakdown.Sourcing`, and `TaxTransactionShippingCostTaxBreakdown.Sourcing`
* Add support for new values `admissions_tax`, `attendance_tax`, `digital_excise_tax`, `entertainment_tax`, `gross_receipts_tax`, `hospitality_tax`, `luxury_tax`, `recycling_fee`, `resort_tax`, `tourism_tax`, and `utility_users_tax` on enums `TaxCalculationLineItemTaxBreakdownTaxRateDetails.TaxType`, `TaxCalculationShippingCostTaxBreakdownTaxRateDetails.TaxType`, `TaxCalculationTaxBreakdownTaxRateDetails.TaxType`, and `TaxTransactionShippingCostTaxBreakdownTaxRateDetails.TaxType`
* Add support for `Destination` on `ReserveHold`, `ReservePlan`, and `ReserveRelease`
* Add support for `ManualRelease` on `ReservePlan`
* Add support for new value `other` on enum `ReservePlan.Status`
* Add support for new values `manual_release` and `other` on enum `ReservePlan.Type`
* ⚠️ Add support for new value `hold_expired` on enum `ReserveRelease.Reason`
* ⚠️ Remove support for value `bulk_hold_expiry` from enum `ReserveRelease.Reason`
* Add support for `SpecifiedCommercialTransactionsActURL` on `AccountBusinessProfileParams` and `AccountBusinessProfile`
* Add support for `BLIKRecurringPayments` and `SequraPayments` on `AccountCapabilitiesParams`, `AccountCapabilities`, `V2CoreAccountConfigurationMerchantCapabilitiesParams`, and `V2CoreAccountConfigurationMerchantCapabilities`
* Add support for `PaypayPayments` on `AccountCapabilitiesParams`, `AccountCapabilities`, `AccountSettingsParams`, and `AccountSettings`
* Add support for `SEPADebitPayments` on `AccountSettingsParams` and `V2CoreAccountConfigurationMerchantParams`
* Add support for new values `issuing_dispute_provisional_credit_reversal` and `issuing_dispute_provisional_credit` on enum `BalanceTransaction.Type`
* Add support for `Paypay` on `ChargePaymentMethodDetails`, `ConfirmationTokenPaymentMethodDataParams`, `ConfirmationTokenPaymentMethodPreview`, `PaymentAttemptRecordPaymentMethodDetails`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodConfigurationParams`, `PaymentMethodConfiguration`, `PaymentMethodParams`, `PaymentMethod`, `PaymentRecordPaymentMethodDetails`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams`
* Add support for `Sequra` on `ChargePaymentMethodDetails`, `CheckoutSessionPaymentMethodOptionsParams`, `CheckoutSessionPaymentMethodOptions`, `ConfirmationTokenPaymentMethodDataParams`, `ConfirmationTokenPaymentMethodPreview`, `PaymentAttemptRecordPaymentMethodDetails`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodConfigurationParams`, `PaymentMethodConfiguration`, `PaymentMethodParams`, `PaymentMethod`, `PaymentRecordPaymentMethodDetails`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams`
* Add support for `ElectronicCommerceIndicator` on `ChargePaymentMethodDetailsCard`
* ⚠️ Change type of `ChargePaymentMethodDetailsCard.Mandate` from `string` to `expandable($Mandate)`
* Add support for `AllowedPaymentMethodTypes` on `CheckoutSessionParams` and `CheckoutSession`
* ⚠️ Remove support for `PaymentMethodTypes` on `CheckoutSessionParams`, `PaymentIntentConfirmParams`, `PaymentIntentParams`, and `SetupIntentParams`
* Add support for `TaxDetails` on `CheckoutSessionLineItemPriceDataProductDataParams`, `InvoiceAddLinesLinePriceDataProductDataParams`, `InvoiceLineItemPriceDataProductDataParams`, `InvoiceUpdateLinesLinePriceDataProductDataParams`, `PaymentLinkLineItemPriceDataProductDataParams`, `PlanProductParams`, `PriceProductDataParams`, `ProductParams`, and `Product`
* Add support for `BLIK` on `CheckoutSessionPaymentMethodOptionsParams`, `InvoicePaymentSettingsPaymentMethodOptionsParams`, `InvoicePaymentSettingsPaymentMethodOptions`, `MandatePaymentMethodDetails`, `SetupAttemptPaymentMethodDetails`, `SetupIntentConfirmPaymentMethodOptionsParams`, `SetupIntentPaymentMethodOptionsParams`, `SetupIntentPaymentMethodOptions`, `SubscriptionPaymentSettingsPaymentMethodOptionsParams`, and `SubscriptionPaymentSettingsPaymentMethodOptions`
* Change type of `CheckoutSessionPaymentMethodOptionsBancontactParams.SetupFutureUsage`, `PaymentIntentConfirmPaymentMethodOptionsBlikParams.SetupFutureUsage`, and `PaymentIntentPaymentMethodOptionsBlikParams.SetupFutureUsage` from `literal('none')` to `enum('none'|'off_session')`
* ⚠️ Change type of `CheckoutSessionPaymentMethodOptionsBancontact.SetupFutureUsage` and `PaymentIntentPaymentMethodOptionsBlik.SetupFutureUsage` from `literal('none')` to `enum('none'|'off_session')`
* Add support for new values `paypay` and `sequra` on enums `ConfirmationTokenPaymentMethodPreview.Type` and `PaymentMethod.Type`
* Add support for new values `apps.install.created`, `apps.install.deleted`, and `apps.install.updated` on enum `Event.Type`
* Add support for new values `expired` and `pending` on enum `FinancialConnectionsAccountAccountNumbers.Status`
* Add support for `Country` on `FinancialConnectionsSessionFiltersParams`
* ⚠️ Remove support for `Countries` on `FinancialConnectionsSessionFiltersParams` and `FinancialConnectionsSessionFilters`
* Add support for `InvoicingRules` on `InvoiceItemParams` and `InvoiceItem`
* Add support for `CompanyDetails` on `InvoicePaymentSettingsPaymentMethodOptionsBillieParams`, `InvoicePaymentSettingsPaymentMethodOptionsBillie`, `PaymentIntentConfirmPaymentMethodOptionsBillieParams`, `PaymentIntentPaymentMethodOptionsBillieParams`, `PaymentIntentPaymentMethodOptionsBillie`, `SubscriptionPaymentSettingsPaymentMethodOptionsBillieParams`, and `SubscriptionPaymentSettingsPaymentMethodOptionsBillie`
* Add support for `Reference` on `InvoicePaymentSettingsPaymentMethodOptionsBillieParams`, `InvoicePaymentSettingsPaymentMethodOptionsBillie`, `PaymentIntentConfirmPaymentMethodOptionsBillieParams`, `PaymentIntentPaymentMethodOptionsBillieParams`, and `PaymentIntentPaymentMethodOptionsBillie`
* Add support for `Pause` on `InvoiceCreatePreviewSubscriptionDetailsParams`
* ⚠️ Change type of `InvoiceCreatePreviewSubscriptionDetailsParams.BillingCycleAnchor` from `enum('now'|'unchanged') | DateTime` to `billing_cycle_anchor_param`
* Add support for `CurrentTrial` on `InvoiceCreatePreviewSubscriptionDetailsItemParams`, `SubscriptionItemParams`, and `SubscriptionItem`
* Add support for `StatusDetails` on `Invoice` and `Subscription`
* Add support for new value `blik` on enums `InvoicePaymentSettings.PaymentMethodTypes` and `SubscriptionPaymentSettings.PaymentMethodTypes`
* Add support for `India` on `MandatePaymentMethodDetailsCard`
* Add support for `Momo` on `PaymentAttemptRecordPaymentMethodDetails` and `PaymentRecordPaymentMethodDetails`
* Add support for new values `2.3.0` and `2.3.1` on enums `PaymentAttemptRecordPaymentMethodDetailsCardThreeDSecure.Version` and `PaymentRecordPaymentMethodDetailsCardThreeDSecure.Version`
* Add support for `Link` on `PaymentAttemptRecordPaymentMethodDetailsCardWallet` and `PaymentRecordPaymentMethodDetailsCardWallet`
* Add support for `FundingSourceGroup` on `PaymentAttemptRecordPaymentMethodDetailsLink` and `PaymentRecordPaymentMethodDetailsLink`
* Add support for `MandateOptions` on `PaymentIntentConfirmPaymentMethodOptionsBlikParams`, `PaymentIntentPaymentMethodOptionsBlikParams`, and `PaymentIntentPaymentMethodOptionsBlik`
* Add support for `PaymentRecord` on `PaymentIntent`
* Add support for new values `card_present` and `interac_present` on enums `PaymentIntent.AllowedPaymentMethodTypes` and `SetupIntent.AllowedPaymentMethodTypes`
* Add support for new values `paypay` and `sequra` on enums `PaymentIntent.ExcludedPaymentMethodTypes` and `SetupIntent.ExcludedPaymentMethodTypes`
* Add support for `ExpiresAt` on `PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCodeQrCode`
* Add support for new values `paypay` and `sequra` on enum `PaymentLink.PaymentMethodTypes`
* ⚠️ Remove support for `Payto` on `PaymentMethodParams`
* Add support for `Canceled` on `PaymentRecordReportPaymentAttemptParams` and `PaymentRecordReportPaymentParams`
* Add support for new value `rerouted` on enum `RadarPaymentEvaluationOutcome.Type`
* Add support for `EarlyFraudWarning` and `FraudulentDispute` on `RadarPaymentEvaluationSignals`
* Add support for `PauseSchedules` on `SubscriptionScheduleParams` and `SubscriptionSchedule`
* ⚠️ Change type of `SubscriptionParams.BillingCycleAnchor` and `SubscriptionResumeParams.BillingCycleAnchor` from `enum('now'|'unchanged')` to `billing_cycle_anchor_param`
* Add support for `BillingCycleAnchor` on `SubscriptionTrialSettingsEndBehaviorParams` and `SubscriptionTrialSettingsEndBehavior`
* Add support for `PaymentBehavior` on `SubscriptionResumeParams`
* Add support for `CancelAtPeriodEnd` on `SubscriptionPendingUpdate`
* ⚠️ Remove support for `Igic` on `TaxRegistrationCountryOptionsAtParams`, `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`, and `TaxRegistrationCountryOptionsSk`
* Add support for `AdmissionsTax`, `AttendanceTax`, `EntertainmentTax`, `GrossReceiptsTax`, `HospitalityTax`, `LuxuryTax`, `ResortTax`, and `TourismTax` on `TaxRegistrationCountryOptionsUsParams` and `TaxRegistrationCountryOptionsUs`
* Add support for new values `admissions_tax`, `attendance_tax`, `entertainment_tax`, `gross_receipts_tax`, `hospitality_tax`, `luxury_tax`, `resort_tax`, and `tourism_tax` on enum `TaxRegistrationCountryOptionsUs.Type`
* Add support for `Requirements` on `TaxCode`
* Add support for new values `digital_excise_tax` and `utility_users_tax` on enum `TaxRate.TaxType`
* Add support for new value `rtp` on enum `TreasuryFinancialAccountFinancialAddress.SupportedNetworks`
* Add support for new value `rtp` on enum `TreasuryReceivedCredit.Network`
* ⚠️ Remove support for `Configurations` on `V2CoreAccountLinkUseCaseAccountOnboardingParams`, `V2CoreAccountLinkUseCaseAccountOnboarding`, `V2CoreAccountLinkUseCaseAccountUpdateParams`, and `V2CoreAccountLinkUseCaseAccountUpdate`
* Add support for new value `rejected` on enums `V2CoreAccountConfigurationCustomerCapabilitiesAutomaticIndirectTax.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesAchDebitPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesAcssDebitPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesAffirmPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesAfterpayClearpayPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesAlmaPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesAmazonPayPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesAuBecsDebitPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesBacsDebitPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesBancontactPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesBlikPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesBoletoPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesCardPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesCartesBancairesPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesCashappPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesEpsPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesFpxPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesGbBankTransferPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesGrabpayPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesIdealPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesJcbPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesJpBankTransferPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesKakaoPayPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesKlarnaPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesKonbiniPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesKrCardPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesLinkPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesMobilepayPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesMultibancoPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesMxBankTransferPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesNaverPayPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesOxxoPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesP24Payments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesPayByBankPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesPaycoPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesPaynowPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesPromptpayPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesRevolutPayPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesSamsungPayPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesSepaBankTransferPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesSepaDebitPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesStripeBalancePayouts.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesSunbitPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesSwishPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesTwintPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesUsBankTransferPayments.Status`, `V2CoreAccountConfigurationMerchantCapabilitiesZipPayments.Status`, `V2CoreAccountConfigurationRecipientCapabilitiesStripeBalancePayouts.Status`, and `V2CoreAccountConfigurationRecipientCapabilitiesStripeBalanceStripeTransfers.Status`
* Add support for new values `rejected_fraud`, `rejected_incomplete_verification`, `rejected_listed`, `rejected_other`, `rejected_platform_fraud`, `rejected_platform_other`, `rejected_platform_terms_of_service`, and `rejected_terms_of_service` on enums `V2CoreAccountConfigurationCustomerCapabilitiesAutomaticIndirectTaxStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesAchDebitPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesAcssDebitPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesAffirmPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesAfterpayClearpayPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesAlmaPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesAmazonPayPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesAuBecsDebitPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesBacsDebitPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesBancontactPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesBlikPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesBoletoPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesCardPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesCartesBancairesPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesCashappPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesEpsPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesFpxPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesGbBankTransferPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesGrabpayPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesIdealPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesJcbPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesJpBankTransferPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesKakaoPayPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesKlarnaPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesKonbiniPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesKrCardPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesLinkPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesMobilepayPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesMultibancoPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesMxBankTransferPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesNaverPayPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesOxxoPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesP24PaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesPayByBankPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesPaycoPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesPaynowPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesPromptpayPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesRevolutPayPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesSamsungPayPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesSepaBankTransferPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesSepaDebitPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesStripeBalancePayoutsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesSunbitPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesSwishPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesTwintPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesUsBankTransferPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationMerchantCapabilitiesZipPaymentsStatusDetail.Code`, `V2CoreAccountConfigurationRecipientCapabilitiesStripeBalancePayoutsStatusDetail.Code`, and `V2CoreAccountConfigurationRecipientCapabilitiesStripeBalanceStripeTransfersStatusDetail.Code`
* Add support for `SatispayPayments` on `V2CoreAccountConfigurationMerchantCapabilitiesParams` and `V2CoreAccountConfigurationMerchantCapabilities`
* Add support for new values `invalid_address_cmra_address` and `invalid_address_registered_agent_address` on enums `V2CoreAccountFutureRequirementsEntryError.Code` and `V2CoreAccountRequirementsEntryError.Code`
* Add support for new values `blik_recurring_payments` and `satispay_payments` on enums `V2CoreAccountFutureRequirementsEntryImpactRestrictsCapability.Capability` and `V2CoreAccountRequirementsEntryImpactRestrictsCapability.Capability`
* Add support for `SnapshotEvent` on `V2CoreEvent`
* Add support for new values `blik_recurring_payments`, `satispay_payments`, and `sequra_payments` on enum `EventsV2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent.UpdatedCapability`
* Add support for snapshot events `EventTypeAppsInstallCreated`, `EventTypeAppsInstallDeleted`, and `EventTypeAppsInstallUpdated` with resource `AppsInstall`
* Add support for event notifications `V1AccountApplicationAuthorizedEvent`, `V1AccountApplicationDeauthorizedEvent`, `V1AccountExternalAccountCreatedEvent`, `V1AccountExternalAccountDeletedEvent`, `V1AccountExternalAccountUpdatedEvent`, `V1BillingPortalSessionCreatedEvent`, and `V1EntitlementsActiveEntitlementSummaryUpdatedEvent`
* Add support for event notification `V1AccountUpdatedEvent` with related object `Account`
* Add support for event notifications `V1ApplicationFeeCreatedEvent` and `V1ApplicationFeeRefundedEvent` with related object `ApplicationFee`
* Add support for event notification `V1ApplicationFeeRefundUpdatedEvent` with related object `FeeRefund`
* Add support for event notification `V1BalanceAvailableEvent` with related object `Balance`
* Add support for event notification `V1BalanceSettingsUpdatedEvent` with related object `BalanceSettings`
* Add support for event notification `V1BillingAlertTriggeredEvent` with related object `BillingAlert`
* Add support for event notification `V1BillingCreditBalanceTransactionCreatedEvent` with related object `BillingCreditBalanceTransaction`
* Add support for event notifications `V1BillingCreditGrantCreatedEvent` and `V1BillingCreditGrantUpdatedEvent` with related object `BillingCreditGrant`
* Add support for event notifications `V1BillingMeterCreatedEvent`, `V1BillingMeterDeactivatedEvent`, `V1BillingMeterReactivatedEvent`, and `V1BillingMeterUpdatedEvent` with related object `BillingMeter`
* Add support for event notifications `V1BillingPortalConfigurationCreatedEvent` and `V1BillingPortalConfigurationUpdatedEvent` with related object `BillingPortalConfiguration`
* Add support for event notification `V1CapabilityUpdatedEvent` with related object `Capability`
* Add support for event notification `V1CashBalanceFundsAvailableEvent` with related object `CashBalance`
* Add support for event notifications `V1ChargeCapturedEvent`, `V1ChargeExpiredEvent`, `V1ChargeFailedEvent`, `V1ChargePendingEvent`, `V1ChargeRefundedEvent`, `V1ChargeSucceededEvent`, and `V1ChargeUpdatedEvent` with related object `Charge`
* Add support for event notifications `V1ChargeDisputeClosedEvent`, `V1ChargeDisputeCreatedEvent`, `V1ChargeDisputeFundsReinstatedEvent`, `V1ChargeDisputeFundsWithdrawnEvent`, and `V1ChargeDisputeUpdatedEvent` with related object `Dispute`
* Add support for event notifications `V1ChargeRefundUpdatedEvent`, `V1RefundCreatedEvent`, `V1RefundFailedEvent`, and `V1RefundUpdatedEvent` with related object `Refund`
* Add support for event notifications `V1CheckoutSessionAsyncPaymentFailedEvent`, `V1CheckoutSessionAsyncPaymentSucceededEvent`, `V1CheckoutSessionCompletedEvent`, and `V1CheckoutSessionExpiredEvent` with related object `CheckoutSession`
* Add support for event notifications `V1ClimateOrderCanceledEvent`, `V1ClimateOrderCreatedEvent`, `V1ClimateOrderDelayedEvent`, `V1ClimateOrderDeliveredEvent`, and `V1ClimateOrderProductSubstitutedEvent` with related object `ClimateOrder`
* Add support for event notifications `V1ClimateProductCreatedEvent` and `V1ClimateProductPricingUpdatedEvent` with related object `ClimateProduct`
* Add support for event notifications `V1CouponCreatedEvent`, `V1CouponDeletedEvent`, and `V1CouponUpdatedEvent` with related object `Coupon`
* Add support for event notifications `V1CreditNoteCreatedEvent`, `V1CreditNoteUpdatedEvent`, and `V1CreditNoteVoidedEvent` with related object `CreditNote`
* Add support for event notifications `V1CustomerCreatedEvent`, `V1CustomerDeletedEvent`, and `V1CustomerUpdatedEvent` with related object `Customer`
* Add support for event notifications `V1CustomerDiscountCreatedEvent`, `V1CustomerDiscountDeletedEvent`, and `V1CustomerDiscountUpdatedEvent` with related object `Discount`
* Add support for event notifications `V1CustomerSubscriptionCreatedEvent`, `V1CustomerSubscriptionDeletedEvent`, `V1CustomerSubscriptionPausedEvent`, `V1CustomerSubscriptionPendingUpdateAppliedEvent`, `V1CustomerSubscriptionPendingUpdateExpiredEvent`, `V1CustomerSubscriptionResumedEvent`, `V1CustomerSubscriptionTrialWillEndEvent`, and `V1CustomerSubscriptionUpdatedEvent` with related object `Subscription`
* Add support for event notifications `V1CustomerTaxIdCreatedEvent`, `V1CustomerTaxIdDeletedEvent`, and `V1CustomerTaxIdUpdatedEvent` with related object `TaxID`
* Add support for event notification `V1CustomerCashBalanceTransactionCreatedEvent` with related object `CustomerCashBalanceTransaction`
* Add support for event notification `V1FileCreatedEvent` with related object `File`
* Add support for event notifications `V1FinancialConnectionsAccountAccountNumbersUpdatedEvent`, `V1FinancialConnectionsAccountCreatedEvent`, `V1FinancialConnectionsAccountDeactivatedEvent`, `V1FinancialConnectionsAccountDisconnectedEvent`, `V1FinancialConnectionsAccountExpectedDeactivationDateUpdatedEvent`, `V1FinancialConnectionsAccountReactivatedEvent`, `V1FinancialConnectionsAccountRefreshedBalanceEvent`, `V1FinancialConnectionsAccountRefreshedOwnershipEvent`, `V1FinancialConnectionsAccountRefreshedTransactionsEvent`, `V1FinancialConnectionsAccountSupportedPaymentMethodTypesUpdatedEvent`, `V1FinancialConnectionsAccountUpcomingAccountNumberExpiryEvent`, and `V1FinancialConnectionsAccountUpcomingDeactivationEvent` with related object `FinancialConnectionsAccount`
* Add support for event notifications `V1IdentityVerificationSessionCanceledEvent`, `V1IdentityVerificationSessionCreatedEvent`, `V1IdentityVerificationSessionProcessingEvent`, `V1IdentityVerificationSessionRedactedEvent`, `V1IdentityVerificationSessionRequiresInputEvent`, and `V1IdentityVerificationSessionVerifiedEvent` with related object `IdentityVerificationSession`
* Add support for event notifications `V1InvoiceCreatedEvent`, `V1InvoiceDeletedEvent`, `V1InvoiceFinalizationFailedEvent`, `V1InvoiceFinalizedEvent`, `V1InvoiceMarkedUncollectibleEvent`, `V1InvoiceOverdueEvent`, `V1InvoiceOverpaidEvent`, `V1InvoicePaidEvent`, `V1InvoicePaymentActionRequiredEvent`, `V1InvoicePaymentAttemptRequiredEvent`, `V1InvoicePaymentFailedEvent`, `V1InvoicePaymentSucceededEvent`, `V1InvoiceSentEvent`, `V1InvoiceUpcomingEvent`, `V1InvoiceUpdatedEvent`, `V1InvoiceVoidedEvent`, and `V1InvoiceWillBeDueEvent` with related object `Invoice`
* Add support for event notification `V1InvoicePaymentPaidEvent` with related object `InvoicePayment`
* Add support for event notifications `V1InvoiceitemCreatedEvent` and `V1InvoiceitemDeletedEvent` with related object `InvoiceItem`
* Add support for event notifications `V1IssuingAuthorizationCreatedEvent`, `V1IssuingAuthorizationRequestEvent`, and `V1IssuingAuthorizationUpdatedEvent` with related object `IssuingAuthorization`
* Add support for event notifications `V1IssuingCardCreatedEvent` and `V1IssuingCardUpdatedEvent` with related object `IssuingCard`
* Add support for event notifications `V1IssuingCardholderCreatedEvent` and `V1IssuingCardholderUpdatedEvent` with related object `IssuingCardholder`
* Add support for event notifications `V1IssuingDisputeClosedEvent`, `V1IssuingDisputeCreatedEvent`, `V1IssuingDisputeFundsReinstatedEvent`, `V1IssuingDisputeFundsRescindedEvent`, `V1IssuingDisputeSubmittedEvent`, and `V1IssuingDisputeUpdatedEvent` with related object `IssuingDispute`
* Add support for event notifications `V1IssuingPersonalizationDesignActivatedEvent`, `V1IssuingPersonalizationDesignDeactivatedEvent`, `V1IssuingPersonalizationDesignRejectedEvent`, and `V1IssuingPersonalizationDesignUpdatedEvent` with related object `IssuingPersonalizationDesign`
* Add support for event notifications `V1IssuingTokenCreatedEvent` and `V1IssuingTokenUpdatedEvent` with related object `IssuingToken`
* Add support for event notifications `V1IssuingTransactionCreatedEvent`, `V1IssuingTransactionPurchaseDetailsReceiptUpdatedEvent`, and `V1IssuingTransactionUpdatedEvent` with related object `IssuingTransaction`
* Add support for event notification `V1MandateUpdatedEvent` with related object `Mandate`
* Add support for event notifications `V1PaymentIntentAmountCapturableUpdatedEvent`, `V1PaymentIntentCanceledEvent`, `V1PaymentIntentCreatedEvent`, `V1PaymentIntentPartiallyFundedEvent`, `V1PaymentIntentPaymentFailedEvent`, `V1PaymentIntentProcessingEvent`, `V1PaymentIntentRequiresActionEvent`, and `V1PaymentIntentSucceededEvent` with related object `PaymentIntent`
* Add support for event notifications `V1PaymentLinkCreatedEvent` and `V1PaymentLinkUpdatedEvent` with related object `PaymentLink`
* Add support for event notifications `V1PaymentMethodAttachedEvent`, `V1PaymentMethodAutomaticallyUpdatedEvent`, `V1PaymentMethodDetachedEvent`, and `V1PaymentMethodUpdatedEvent` with related object `PaymentMethod`
* Add support for event notifications `V1PayoutCanceledEvent`, `V1PayoutCreatedEvent`, `V1PayoutFailedEvent`, `V1PayoutPaidEvent`, `V1PayoutReconciliationCompletedEvent`, and `V1PayoutUpdatedEvent` with related object `Payout`
* Add support for event notifications `V1PersonCreatedEvent`, `V1PersonDeletedEvent`, and `V1PersonUpdatedEvent` with related object `Person`
* Add support for event notifications `V1PlanCreatedEvent`, `V1PlanDeletedEvent`, and `V1PlanUpdatedEvent` with related object `Plan`
* Add support for event notifications `V1PriceCreatedEvent`, `V1PriceDeletedEvent`, and `V1PriceUpdatedEvent` with related object `Price`
* Add support for event notifications `V1ProductCreatedEvent`, `V1ProductDeletedEvent`, and `V1ProductUpdatedEvent` with related object `Product`
* Add support for event notifications `V1PromotionCodeCreatedEvent` and `V1PromotionCodeUpdatedEvent` with related object `PromotionCode`
* Add support for event notifications `V1QuoteAcceptedEvent`, `V1QuoteCanceledEvent`, `V1QuoteCreatedEvent`, and `V1QuoteFinalizedEvent` with related object `Quote`
* Add support for event notifications `V1RadarEarlyFraudWarningCreatedEvent` and `V1RadarEarlyFraudWarningUpdatedEvent` with related object `RadarEarlyFraudWarning`
* Add support for event notifications `V1ReviewClosedEvent` and `V1ReviewOpenedEvent` with related object `Review`
* Add support for event notifications `V1SetupIntentCanceledEvent`, `V1SetupIntentCreatedEvent`, `V1SetupIntentRequiresActionEvent`, `V1SetupIntentSetupFailedEvent`, and `V1SetupIntentSucceededEvent` with related object `SetupIntent`
* Add support for event notification `V1SigmaScheduledQueryRunCreatedEvent` with related object `SigmaScheduledQueryRun`
* Add support for event notifications `V1SourceCanceledEvent`, `V1SourceChargeableEvent`, `V1SourceFailedEvent`, and `V1SourceRefundAttributesRequiredEvent` with related object `Source`
* Add support for event notifications `V1SubscriptionScheduleAbortedEvent`, `V1SubscriptionScheduleCanceledEvent`, `V1SubscriptionScheduleCompletedEvent`, `V1SubscriptionScheduleCreatedEvent`, `V1SubscriptionScheduleExpiringEvent`, `V1SubscriptionScheduleReleasedEvent`, and `V1SubscriptionScheduleUpdatedEvent` with related object `SubscriptionSchedule`
* Add support for event notification `V1TaxSettingsUpdatedEvent` with related object `TaxSettings`
* Add support for event notifications `V1TaxRateCreatedEvent` and `V1TaxRateUpdatedEvent` with related object `TaxRate`
* Add support for event notifications `V1TerminalReaderActionFailedEvent`, `V1TerminalReaderActionSucceededEvent`, and `V1TerminalReaderActionUpdatedEvent` with related object `TerminalReader`
* Add support for event notifications `V1TestHelpersTestClockAdvancingEvent`, `V1TestHelpersTestClockCreatedEvent`, `V1TestHelpersTestClockDeletedEvent`, `V1TestHelpersTestClockInternalFailureEvent`, and `V1TestHelpersTestClockReadyEvent` with related object `TestHelpersTestClock`
* Add support for event notifications `V1TopupCanceledEvent`, `V1TopupCreatedEvent`, `V1TopupFailedEvent`, `V1TopupReversedEvent`, and `V1TopupSucceededEvent` with related object `Topup`
* Add support for event notifications `V1TransferCreatedEvent`, `V1TransferReversedEvent`, and `V1TransferUpdatedEvent` with related object `Transfer`
* Add support for error codes `dispute_evidence_page_limit_exceeded`, `financial_connections_consent_locale_invalid`, `financial_connections_consent_locale_unsupported`, and `payment_evaluation_on_api_version_not_supported` on `Error`, `InvoiceLastFinalizationError`, `PaymentIntentLastPaymentError`, `SetupAttemptSetupError`, `SetupIntentLastSetupError`, `StripeError`, and `TerminalReaderActionApiError`
* [#2458](https://github.com/stripe/stripe-go/pull/2458) Update generated code
* Release specs are identical.
## 86.4.2 - 2026-09-09
* [#2429](https://github.com/stripe/stripe-go/pull/2429) Validate that webhook secrets are non-empty
## 86.4.1 - 2026-09-01
* [#2424](https://github.com/stripe/stripe-go/pull/2424) Harden API requestor code against malicious URLs
## 86.4.0 - 2026-08-26
This release changes the pinned API version to `2026-08-26.dahlia`.
* [#2410](https://github.com/stripe/stripe-go/pull/2410) Add new `EventNotificationHandler` class for better thin event management
- We've been putting a lot of time into rethinking the event handling experience in the SDKs. This new class is the culmination [of that effort](https://stripe.dev/blog/event-notification-handlers-thin-events).
- They're designed for a tight coupling with both `StripeClient` and the fully-typed nature of [thin events](https://docs.stripe.com/event-destinations#thin-events). This delivers painless event destination upgrades, in-editor checks for common mistakes, and better code modularity.
- Now that we've released [thin event notifications for v1 objects](https://docs.stripe.com/changelog#2026-08-26.dahlia), these new handlers are our recommended path for all integrations using thin event notifications.
- See more detailed docs here: https://docs.stripe.com/webhooks/event-notification-handlers
* ⚠️ [#2417](https://github.com/stripe/stripe-go/pull/2417) Update generated code
* Add support for new resource `BillingFeedbackOption`
* Add support for `Deactivate`, `Get`, `List`, `New`, and `Update` methods on resource `BillingFeedbackOption`
* Add support for `PaymentMethodSettings` on `AccountSessionComponentsParams` and `AccountSessionComponents`
* Add support for `FeedbackOptions` on `BillingPortalConfigurationFeaturesSubscriptionCancelCancellationReasonParams` and `BillingPortalConfigurationFeaturesSubscriptionCancelCancellationReason`
* Add support for `CustomerUpdate` on `BillingPortalSessionFlow`
* Add support for new value `customer_update` on enum `BillingPortalSessionFlow.Type`
* Add support for `FundingSourceGroup` on `ChargePaymentMethodDetailsCardWalletLink` and `ChargePaymentMethodDetailsLink`
* Add support for `FundingTypesBlocked` on `CheckoutSessionPaymentMethodOptionsCardRestrictionsParams` and `CheckoutSessionPaymentMethodOptionsCardRestrictions`
* Add support for `Metadata` on `ConfirmationToken`
* Add support for `ActiveEntitlements` and `CustomerPortal` on `CustomerSessionComponentsParams` and `CustomerSessionComponents`
* Add support for `Country` on `FinancialConnectionsSessionFilters`
* Add support for `FrozenFields` on `InvoiceItem`
* Add support for `Billie` on `InvoicePaymentSettingsPaymentMethodOptionsParams`, `InvoicePaymentSettingsPaymentMethodOptions`, `SubscriptionPaymentSettingsPaymentMethodOptionsParams`, and `SubscriptionPaymentSettingsPaymentMethodOptions`
* Add support for new value `billie` on enums `InvoicePaymentSettings.PaymentMethodTypes` and `SubscriptionPaymentSettings.PaymentMethodTypes`
* ⚠️ Remove support for `Cryptogram` on `PaymentAttemptRecordPaymentMethodDetailsCardThreeDSecure` and `PaymentRecordPaymentMethodDetailsCardThreeDSecure`
* Add support for new value `touch_n_go` on enums `PaymentIntent.AllowedPaymentMethodTypes` and `SetupIntent.AllowedPaymentMethodTypes`
* Add support for `ApplicationFeeAmount`, `ApplicationFeePercent`, `OnBehalfOf`, and `TransferData` on `PaymentLinkParams`
* Add support for `FeedbackOption` on `SubscriptionCancelCancellationDetailsParams`, `SubscriptionCancellationDetailsParams`, and `SubscriptionCancellationDetails`
* Add support for `Igic` on `TaxRegistrationCountryOptionsAtParams`, `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`, and `TaxRegistrationCountryOptionsSk`
* Add support for error codes `authentication_failure`, `capability_not_active`, `expired_payment_method`, `incorrect_postal_code`, `invalid_canceled_subscription_fields`, and `payment_method_restricted` on `Error`, `InvoiceLastFinalizationError`, `PaymentIntentLastPaymentError`, `SetupAttemptSetupError`, `SetupIntentLastSetupError`, `StripeError`, and `TerminalReaderActionApiError`
## 86.3.0 - 2026-08-10
* [#2399](https://github.com/stripe/stripe-go/pull/2399) add/adjust event parsing helpers
- Added methods that return their respective `Event`/`EventNotification` structs 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](https://docs.stripe.com/event-destinations/eventbridge) and [Azure Event Grid](https://docs.stripe.com/event-destinations/eventgrid) natively.
- `stripe.ConstructEventWithoutVerification(payload, opts ...WebhookOption)`
- `Client.ConstructEventWithoutVerification(payload, opts ...WebhookOption)`
- `Client.ParseEventNotificationWithoutVerification(payload)`
## 86.2.0 - 2026-07-29
This release changes the pinned API version to `2026-07-29.dahlia`.
* [#2400](https://github.com/stripe/stripe-go/pull/2400) Update generated code
* Add support for new resource `FinancialConnectionsAuthorization`
* Add support for `Unreject` method on resource `Account`
* Add support for `List` method on resource `PaymentRecord`
* Add support for new values `mass_transit_parking_tax` and `parking_tax` on enums `TaxCalculationLineItemTaxBreakdownTaxRateDetails.TaxType`, `TaxCalculationShippingCostTaxBreakdownTaxRateDetails.TaxType`, `TaxCalculationTaxBreakdownTaxRateDetails.TaxType`, `TaxRate.TaxType`, and `TaxTransactionShippingCostTaxBreakdownTaxRateDetails.TaxType`
* Add support for new value `chaps` on enums `FundingInstructionsBankTransferFinancialAddress.SupportedNetworks` and `PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddress.SupportedNetworks`
* Add support for `SmartDisputesManagement` on `AccountSessionComponentsDisputesListFeaturesParams`, `AccountSessionComponentsDisputesListFeatures`, `AccountSessionComponentsPaymentDetailsFeaturesParams`, `AccountSessionComponentsPaymentDetailsFeatures`, `AccountSessionComponentsPaymentDisputesFeaturesParams`, `AccountSessionComponentsPaymentDisputesFeatures`, `AccountSessionComponentsPaymentsFeaturesParams`, and `AccountSessionComponentsPaymentsFeatures`
* Add support for `AdministrativeAddress` and `PrincipalPlaceOfBusiness` on `AccountCompanyParams`, `AccountCompany`, and `TokenAccountCompanyParams`
* Add support for `SEPADebitPayments` on `AccountSettingsParams`
* Remove support for `ProofOfRegistration` on `AccountDocumentsParams`. This field was limited-use and is being deprecated.
* Add support for `PayoutsAction` on `AccountRejectParams`
* Add support for new value `data_share_only` on enums `ChargePaymentMethodDetailsCardThreeDSecure.Result`, `PaymentAttemptRecordPaymentMethodDetailsCardThreeDSecure.Result`, `PaymentRecordPaymentMethodDetailsCardThreeDSecure.Result`, and `SetupAttemptPaymentMethodDetailsCardThreeDSecure.Result`
* Remove support for `DynamicTaxRates` on `CheckoutSessionLineItemParams`. This field is limited-use and is being deprecated.
* Add support for `SetupFutureUsage` on `CheckoutSessionPaymentMethodOptionsPaycoParams`, `CheckoutSessionPaymentMethodOptionsPayco`, `CheckoutSessionPaymentMethodOptionsSamsungPayParams`, `CheckoutSessionPaymentMethodOptionsSamsungPay`, `PaymentIntentConfirmPaymentMethodOptionsPaycoParams`, `PaymentIntentConfirmPaymentMethodOptionsSamsungPayParams`, `PaymentIntentPaymentMethodOptionsPaycoParams`, `PaymentIntentPaymentMethodOptionsPayco`, `PaymentIntentPaymentMethodOptionsSamsungPayParams`, `PaymentIntentPaymentMethodOptionsSamsungPay`, and `PaymentLinkPaymentIntentDataParams`
* Add support for new value `ic_nif` on enums `CheckoutSessionCustomerDetailsTaxIds.Type`, `TaxCalculationCustomerDetailsTaxId.Type`, `TaxId.Type`, and `TaxTransactionCustomerDetailsTaxId.Type`
* Add support for new values `bnp_paribas`, `citibank`, and `mbsb_bank` on enums `ConfirmationTokenPaymentMethodPreviewFpx.Bank`, `PaymentAttemptRecordPaymentMethodDetailsFpx.Bank`, and `PaymentRecordPaymentMethodDetailsFpx.Bank`
* Add support for `Network` on `DisputePaymentMethodDetailsCard`
* Add support for new values `financial_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`, and `financial_connections.authorization.upcoming_deactivation` on enum `Event.Type`
* Add support for `Limits` and `ManualEntry` on `FinancialConnectionsSessionParams` and `FinancialConnectionsSession`
* Add support for `RequirePaymentMethodSupport` on `FinancialConnectionsSessionFiltersParams` and `FinancialConnectionsSessionFilters`
* Add support for `BankAccountToken` on `FinancialConnectionsSession`
* Add support for `Metadata` on `InvoiceCreatePreviewSubscriptionDetailsParams`
* Add support for new values `alipay` and `mb_way` on enums `InvoicePaymentSettings.PaymentMethodTypes` and `SubscriptionPaymentSettings.PaymentMethodTypes`
* Add support for new value `stripe_internal_error` on enum `IssuingAuthorizationRequestHistory.Reason`
* Add support for `BusinessName` on `IssuingCardShippingParams` and `IssuingCardShipping`
* Add support for new value `correos` on enum `IssuingCardShipping.Carrier`
* Add support for `AllowedPaymentMethodTypes` on `PaymentIntentConfirmParams`, `PaymentIntentParams`, `PaymentIntent`, `SetupIntentConfirmParams`, `SetupIntentParams`, and `SetupIntent`
* Add support for `Referrer` on `PaymentIntentConfirmRadarOptionsParams` and `PaymentIntentRadarOptionsParams`
* Add support for `ConsentCollection` and `ShippingOptions` on `PaymentLinkParams`
* Add support for `CustomFields`, `Description`, and `Footer` on `QuoteInvoiceSettingsParams`, `QuoteInvoiceSettings`, `SubscriptionScheduleDefaultSettingsInvoiceSettingsParams`, `SubscriptionScheduleDefaultSettingsInvoiceSettings`, `SubscriptionSchedulePhaseInvoiceSettingsParams`, and `SubscriptionSchedulePhaseInvoiceSettings`
* Add support for `CustomerAccount` and `Customer` on `Refund`
* Add support for `PaymentMethod` on `Refund` and `Topup`
* Add support for `Trial` on `SubscriptionSchedulePhase`
* Add support for `MassTransitParkingTax` and `ParkingTax` on `TaxRegistrationCountryOptionsUsParams` and `TaxRegistrationCountryOptionsUs`
* Add support for new values `mass_transit_parking_tax` and `parking_tax` on enum `TaxRegistrationCountryOptionsUs.Type`
* Add support for `InitiatedBy` and `PaymentMethodOptions` on `Topup`
* Add support for `AdditionalAddresses` on `V2CoreAccountIdentityBusinessDetailsParams`, `V2CoreAccountIdentityBusinessDetails`, and `V2CoreAccountTokenIdentityBusinessDetailsParams`
* Add support for snapshot events `EventTypeFinancialConnectionsAccountExpectedDeactivationDateUpdated`, `EventTypeFinancialConnectionsAccountSupportedPaymentMethodTypesUpdated`, and `EventTypeFinancialConnectionsAccountUpcomingDeactivation` with resource `FinancialConnectionsAccount`
* Add support for snapshot events `EventTypeFinancialConnectionsAuthorizationExpectedDeactivationDateUpdated` and `EventTypeFinancialConnectionsAuthorizationUpcomingDeactivation` with resource `FinancialConnectionsAuthorization`
## 86.1.1 - 2026-07-15
* [#2385](https://github.com/stripe/stripe-go/pull/2385) Make Error fields generated
* [#2389](https://github.com/stripe/stripe-go/pull/2389) Replace source hash with Telemetry UUID
## 86.1.0 - 2026-06-24
This release changes the pinned API version to `2026-06-24.dahlia`.
* ⚠️ [#2362](https://github.com/stripe/stripe-go/pull/2362) Update generated code
* Add support for `ReleaseDetails` on `ReserveHold`
* Add support for new value `tax_fund` on enum `BalanceTransaction.Type`
* Add support for `BuyerID` on `ChargePaymentMethodDetailsBizum`, `ConfirmationTokenPaymentMethodPreviewBizum`, `ConfirmationTokenPaymentMethodPreviewBlik`, `PaymentAttemptRecordPaymentMethodDetailsBizum`, `PaymentMethodBizum`, `PaymentMethodBlik`, and `PaymentRecordPaymentMethodDetailsBizum`
* Add support for `TransactionLinkID` on `ChargePaymentMethodDetailsCard`
* Add support for new value `sui` on enums `ChargePaymentMethodDetailsCrypto.Network`, `PaymentAttemptRecordPaymentMethodDetailsCrypto.Network`, and `PaymentRecordPaymentMethodDetailsCrypto.Network`
* Add support for new value `usdsui` on enums `ChargePaymentMethodDetailsCrypto.TokenCurrency`, `PaymentAttemptRecordPaymentMethodDetailsCrypto.TokenCurrency`, and `PaymentRecordPaymentMethodDetailsCrypto.TokenCurrency`
* Add support for `Fingerprint` on `ChargePaymentMethodDetailsPix`, `ConfirmationTokenPaymentMethodPreviewPix`, `PaymentMethodPix`, and `SetupAttemptPaymentMethodDetailsPix`
* Add support for `Sunbit` on `CheckoutSessionPaymentMethodOptionsParams`, `CheckoutSessionPaymentMethodOptions`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptionsParams`, and `PaymentIntentPaymentMethodOptions`
* Add support for `BillingCycleAnchorConfig` on `CheckoutSessionSubscriptionDataParams`
* Add support for `WeChatPay` on `CheckoutSessionPaymentMethodOptions`
* Add support for `MastercardCompliance` on `DisputeEvidenceDetailsEnhancedEligibility`, `DisputeEvidenceEnhancedEvidenceParams`, and `DisputeEvidenceEnhancedEvidence`
* Add support for new value `mastercard_compliance` on enum `Dispute.EnhancedEligibilityTypes`
* Add support for `StatusDetails` on `FinancialConnectionsAccount`
* Add support for new value `validated` on enum `IdentityVerificationSessionRedaction.Status`
* Add support for new value `satispay` on enums `InvoicePaymentSettings.PaymentMethodTypes` and `SubscriptionPaymentSettings.PaymentMethodTypes`
* ⚠️ Remove support for `StoredCredentialUsage` on `PaymentAttemptRecordPaymentMethodDetailsCard` and `PaymentRecordPaymentMethodDetailsCard`
* Add support for `SetupFutureUsage` on `PaymentIntentConfirmPaymentMethodOptionsSatispayParams`, `PaymentIntentPaymentMethodOptionsSatispayParams`, and `PaymentIntentPaymentMethodOptionsSatispay`
* Add support for `Satispay` on `SetupAttemptPaymentMethodDetails`
* Add support for `CustomFields`, `Description`, and `Footer` on `SubscriptionInvoiceSettingsParams` and `SubscriptionInvoiceSettings`
* Add support for `PaymentMethodOptions` and `PaymentMethod` on `TopupParams`
* Add support for `Mode` on `V2CommerceProductCatalogImport`
* Add support for new value `promotion` on enum `V2CommerceProductCatalogImport.FeedType`
* Add support for `SunbitPayments` on `V2CoreAccountConfigurationMerchantCapabilitiesParams` and `V2CoreAccountConfigurationMerchantCapabilities`
* Add support for `CryptoMoneyManager` and `MoneyManager` on `V2CoreAccountIdentityAttestationsTermsOfServiceParams`
* ⚠️ Remove support for `CryptoStorer` and `Storer` on `V2CoreAccountIdentityAttestationsTermsOfServiceParams`
* Add support for new value `sunbit_payments` on enum `EventsV2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent.UpdatedCapability`
* Add support for error codes `anomalous_money_movement_request`, `failed_tax_calculation`, `financial_account_balance_does_not_support_currency`, `financial_account_capability_not_enabled`, and `financial_account_capability_restricted` on `Error`, `InvoiceLastFinalizationError`, `PaymentIntentLastPaymentError`, `SetupAttemptSetupError`, `SetupIntentLastSetupError`, `StripeError`, and `TerminalReaderActionApiError`
## 86.0.0 - 2026-06-05
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_ using `tax_details` its type has changed slightly and you'll have to update your code when upgrading.
* [#2367](https://github.com/stripe/stripe-go/pull/2367) Remove `Limit`, `StartingAfter`, and `EndingBefore` fields for `List` methods that do not accept those fields
- Fixes a bug where `Limit`, `StartingAfter`, and `EndingBefore` were embedded in `CapabilityListParams` and `ReportingReportTypeListParams` even 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.
* [#2370](https://github.com/stripe/stripe-go/pull/2370) Add "source" field to user-agent header
* ⚠️ [#2375](https://github.com/stripe/stripe-go/pull/2375) Make `tax_rate.tax_details` expandable
## 85.2.0 - 2026-05-27
This release changes the pinned API version to `2026-05-27.dahlia`.
* [#2357](https://github.com/stripe/stripe-go/pull/2357) Emit warning when `stripe-notify` header is present in response
* ⚠️ [#2359](https://github.com/stripe/stripe-go/pull/2359) Update generated code
* Add support for new resource `V2CommerceProductCatalogImport`
* Add support for `Get` and `New` methods on resource `V2CommerceProductCatalogImport`
* Add support for `BizumPayments` and `ScalapayPayments` on `AccountCapabilitiesParams` and `AccountCapabilities`
* Add support for `AutomaticTransferRulesByCurrency` on `BalanceSettingsPaymentsPayoutsParams` and `BalanceSettingsPaymentsPayouts`
* Add support for `StartOfDay` on `BalanceSettingsPaymentsSettlementTimingParams` and `BalanceSettingsPaymentsSettlementTiming`
* Add support for `Description` on `ChargeTransferDataParams`, `PaymentIntentTransferDataParams`, and `PaymentIntentTransferData`
* Add support for `Bizum` on `ChargePaymentMethodDetails`, `ConfirmationTokenPaymentMethodDataParams`, `ConfirmationTokenPaymentMethodPreview`, `PaymentAttemptRecordPaymentMethodDetails`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodConfigurationParams`, `PaymentMethodConfiguration`, `PaymentMethodParams`, `PaymentMethod`, `PaymentRecordPaymentMethodDetails`, `SetupIntentConfirmPaymentMethodDataParams`, `SetupIntentConfirmPaymentMethodOptionsParams`, `SetupIntentPaymentMethodDataParams`, `SetupIntentPaymentMethodOptionsParams`, and `SetupIntentPaymentMethodOptions`
* Add support for `Scalapay` on `ChargePaymentMethodDetails`, `CheckoutSessionPaymentMethodOptionsParams`, `CheckoutSessionPaymentMethodOptions`, `ConfirmationTokenPaymentMethodDataParams`, `ConfirmationTokenPaymentMethodPreview`, `PaymentAttemptRecordPaymentMethodDetails`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodConfigurationParams`, `PaymentMethodConfiguration`, `PaymentMethodParams`, `PaymentMethod`, `PaymentRecordPaymentMethodDetails`, `RefundDestinationDetails`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams`
* Add support for `Mandate` on `ChargePaymentMethodDetailsTwint`, `PaymentAttemptRecordPaymentMethodDetailsTwint`, and `PaymentRecordPaymentMethodDetailsTwint`
* Change type of `CheckoutSessionPaymentMethodOptionsTwintParams.SetupFutureUsage`, `PaymentIntentConfirmPaymentMethodOptionsTwintParams.SetupFutureUsage`, and `PaymentIntentPaymentMethodOptionsTwintParams.SetupFutureUsage` from `literal('none')` to `enum('none'|'off_session')`
* ⚠️ Change type of `CheckoutSessionPaymentMethodOptionsTwint.SetupFutureUsage` and `PaymentIntentPaymentMethodOptionsTwint.SetupFutureUsage` from `literal('none')` to `enum('none'|'off_session')`
* Add support for new values `bizum` and `scalapay` on enums `ConfirmationTokenPaymentMethodPreview.Type` and `PaymentMethod.Type`
* Add support for `CreditedItems` on `InvoiceItemProrationDetails`
* Add support for `Discountable` on `InvoiceCreatePreviewScheduleDetailsPhaseAddInvoiceItemParams`, `SubscriptionAddInvoiceItemParams`, `SubscriptionSchedulePhaseAddInvoiceItemParams`, and `SubscriptionSchedulePhaseAddInvoiceItem`
* Add support for `BillingSchedules` on `InvoiceCreatePreviewSubscriptionDetailsParams`, `SubscriptionParams`, and `Subscription`
* Add support for `AmountPaidOffStripe` on `Invoice`
* Add support for new value `twint` on enums `InvoicePaymentSettings.PaymentMethodTypes` and `SubscriptionPaymentSettings.PaymentMethodTypes`
* Add support for `TWINT` on `MandatePaymentMethodDetails` and `SetupAttemptPaymentMethodDetails`
* Add support for `Metadata` on `PaymentIntentTransferDataParams`, `PaymentIntentTransferData`, and `SubscriptionPendingUpdate`
* Add support for `PaymentData` on `PaymentIntentTransferDataParams` and `PaymentIntentTransferData`
* Add support for new values `bizum` and `scalapay` on enums `PaymentIntent.ExcludedPaymentMethodTypes` and `SetupIntent.ExcludedPaymentMethodTypes`
* Add support for `BLIKAuthorize` on `PaymentIntentNextAction` and `SetupIntentNextAction`
* Add support for `PaymentMethodOptions` on `PaymentLinkParams` and `PaymentLink`
* Add support for new value `bizum` on enum `PaymentLink.PaymentMethodTypes`
* Add support for `Active` on `PaymentMethodConfigurationListParams`
* Add support for `BilledUntil` on `SubscriptionItem`
* Add support for `Discount` and `Discounts` on `SubscriptionPendingUpdate`
* Add support for `VerifoneM425`, `VerifoneP630`, `VerifoneUx700`, and `VerifoneV660p` on `TerminalConfigurationParams` and `TerminalConfiguration`
* Add support for `APIError` and `PrintContent` on `TerminalReaderAction`
* Add support for new value `print_content` on enum `TerminalReaderAction.Type`
* Add support for new values `simulated_verifone_m425`, `simulated_verifone_p630`, `simulated_verifone_ux700`, `simulated_verifone_v660p`, `verifone_m425`, `verifone_p630`, `verifone_ux700`, and `verifone_v660p` on enum `TerminalReader.DeviceType`
* Add support for `Customer` on `TestHelpersTestClockParams`
* Add support for `Signer` on `V2CoreAccountIdentityBusinessDetailsDocumentsProofOfRegistrationParams`, `V2CoreAccountIdentityBusinessDetailsDocumentsProofOfRegistration`, `V2CoreAccountIdentityBusinessDetailsDocumentsProofOfUltimateBeneficialOwnershipParams`, `V2CoreAccountIdentityBusinessDetailsDocumentsProofOfUltimateBeneficialOwnership`, `V2CoreAccountTokenIdentityBusinessDetailsDocumentsProofOfRegistrationParams`, and `V2CoreAccountTokenIdentityBusinessDetailsDocumentsProofOfUltimateBeneficialOwnershipParams`
* Add support for `AzureEventGrid` on `V2CoreEventDestinationParams` and `V2CoreEventDestination`
* Add support for new value `no_azure_partner_topic_exists` on enum `V2CoreEventDestinationStatusDetailsDisabled.Reason`
* Add support for new value `azure_event_grid` on enum `V2CoreEventDestination.Type`
* Add support for new value `meter_event_value_too_many_digits` on enums `EventsV1BillingMeterErrorReportTriggeredEventReasonErrorType.Code` and `EventsV1BillingMeterNoMeterFoundEventReasonErrorType.Code`
* Add support for event notifications `V2CommerceProductCatalogImportsFailedEvent`, `V2CommerceProductCatalogImportsProcessingEvent`, `V2CommerceProductCatalogImportsSucceededEvent`, and `V2CommerceProductCatalogImportsSucceededWithErrorsEvent` with related object `V2CommerceProductCatalogImport`
* Add support for error codes `payment_method_microdeposit_processing_error` and `siret_invalid` on `Error`, `InvoiceLastFinalizationError`, `PaymentIntentLastPaymentError`, `SetupAttemptSetupError`, `SetupIntentLastSetupError`, and `StripeError`
## 85.1.0 - 2026-04-23
This release changes the pinned API version to `2026-04-22.dahlia`.
* ⚠️ [#2341](https://github.com/stripe/stripe-go/pull/2341) Update generated code
* Add support for `BalanceReport` and `PayoutReconciliationReport` on `AccountSessionComponentsParams` and `AccountSessionComponents`
* Add support for `AppDistribution` and `SunbitPayments` on `AccountCapabilitiesParams` and `AccountCapabilities`
* Add support for new values `fee_credit_funding`, `inbound_transfer_reversal`, and `inbound_transfer` on enum `BalanceTransaction.Type`
* Add support for `Sunbit` on `ChargePaymentMethodDetails`, `ConfirmationTokenPaymentMethodDataParams`, `ConfirmationTokenPaymentMethodPreview`, `PaymentAttemptRecordPaymentMethodDetails`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentMethodConfigurationParams`, `PaymentMethodConfiguration`, `PaymentMethodParams`, `PaymentMethod`, `PaymentRecordPaymentMethodDetails`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams`
* Add support for new values `phantom_cash` and `usdt` on enums `ChargePaymentMethodDetailsCrypto.TokenCurrency`, `PaymentAttemptRecordPaymentMethodDetailsCrypto.TokenCurrency`, and `PaymentRecordPaymentMethodDetailsCrypto.TokenCurrency`
* Add support for `Location` and `Reader` on `ChargePaymentMethodDetailsKlarna`, `PaymentAttemptRecordPaymentMethodDetailsKlarna`, and `PaymentRecordPaymentMethodDetailsKlarna`
* Add support for `Mandate` on `ChargePaymentMethodDetailsPix`, `PaymentAttemptRecordPaymentMethodDetailsPix`, and `PaymentRecordPaymentMethodDetailsPix`
* Add support for `ManagedPayments` on `CheckoutSessionParams`, `CheckoutSession`, `PaymentIntent`, `PaymentLinkParams`, `PaymentLink`, `SetupIntent`, and `Subscription`
* Add support for `MandateOptions` on `CheckoutSessionPaymentMethodOptionsPixParams`, `CheckoutSessionPaymentMethodOptionsPix`, `PaymentIntentConfirmPaymentMethodOptionsPixParams`, `PaymentIntentPaymentMethodOptionsPixParams`, and `PaymentIntentPaymentMethodOptionsPix`
* Change type of `CheckoutSessionPaymentMethodOptionsPixParams.SetupFutureUsage`, `PaymentIntentConfirmPaymentMethodOptionsPixParams.SetupFutureUsage`, and `PaymentIntentPaymentMethodOptionsPixParams.SetupFutureUsage` from `literal('none')` to `enum('none'|'off_session')`
* Add support for new values `fo_vat`, `gi_tin`, `it_cf`, and `py_ruc` on enums `CheckoutSessionCustomerDetailsTaxIds.Type`, `TaxCalculationCustomerDetailsTaxId.Type`, `TaxId.Type`, and `TaxTransactionCustomerDetailsTaxId.Type`
* ⚠️ Change type of `CheckoutSessionPaymentMethodOptionsPix.SetupFutureUsage` and `PaymentIntentPaymentMethodOptionsPix.SetupFutureUsage` from `literal('none')` to `enum('none'|'off_session')`
* Add support for new value `sunbit` on enums `ConfirmationTokenPaymentMethodPreview.Type` and `PaymentMethod.Type`
* Add support for `Pix` on `InvoicePaymentSettingsPaymentMethodOptionsParams`, `InvoicePaymentSettingsPaymentMethodOptions`, `MandatePaymentMethodDetails`, `SetupAttemptPaymentMethodDetails`, `SetupIntentConfirmPaymentMethodOptionsParams`, `SetupIntentPaymentMethodOptionsParams`, `SetupIntentPaymentMethodOptions`, `SubscriptionPaymentSettingsPaymentMethodOptionsParams`, and `SubscriptionPaymentSettingsPaymentMethodOptions`
* Add support for `Upi` on `InvoicePaymentSettingsPaymentMethodOptionsParams`, `InvoicePaymentSettingsPaymentMethodOptions`, `SubscriptionPaymentSettingsPaymentMethodOptionsParams`, and `SubscriptionPaymentSettingsPaymentMethodOptions`
* Add support for new values `pix` and `upi` on enums `InvoicePaymentSettings.PaymentMethodTypes` and `SubscriptionPaymentSettings.PaymentMethodTypes`
* Add support for `CardPresence` on `IssuingAuthorization`
* Add support for `AllowedCardPresences` and `BlockedCardPresences` on `IssuingCardSpendingControlsParams`, `IssuingCardSpendingControls`, `IssuingCardholderSpendingControlsParams`, and `IssuingCardholderSpendingControls`
* Add support for new value `fulfillment_error` on enum `IssuingCard.CancellationReason`
* Add support for new value `fulfillment_error` on enum `IssuingCard.ReplacementReason`
* Add support for `Amount` and `Currency` on `MandateMultiUse`
* Add support for `AmountToConfirm` on `PaymentIntentConfirmParams`
* Add support for new value `sunbit` on enums `PaymentIntent.ExcludedPaymentMethodTypes` and `SetupIntent.ExcludedPaymentMethodTypes`
* Add support for `KlarnaDisplayQRCode` on `PaymentIntentNextAction`
* Add support for new value `sunbit` on enum `PaymentLink.PaymentMethodTypes`
* Add support for new values `low`, `not_assessed`, and `unknown` on enum `RadarPaymentEvaluationSignalsFraudulentPayment.RiskLevel`
* Add support for new value `account` on enum `RadarValueList.ItemType`
* Add support for `MOTO` on `SetupAttemptPaymentMethodDetailsCard`
* Add support for `PixDisplayQRCode` on `SetupIntentNextAction`
* Add support for error codes `action_blocked` and `approval_required` on `Error`, `InvoiceLastFinalizationError`, `PaymentIntentLastPaymentError`, `SetupAttemptSetupError`, `SetupIntentLastSetupError`, and `StripeError`
## 85.0.1 - 2026-04-07
* [#2338](https://github.com/stripe/stripe-go/pull/2338) Add test coverage for 2D slice form encoding
* [#2342](https://github.com/stripe/stripe-go/pull/2342) Add SetupIntent next action type constant for UPI
- Added `SetupIntentNextActionTypeUpiHandleRedirectOrDisplayQRCode` constant for the `upi_handle_redirect_or_display_qr_code` next action type.
## 85.0.0 - 2026-03-25
This release changes the pinned API version to `2026-03-25.dahlia`.
This release contains breaking changes (prefixed with ⚠️ below). There's also a [detailed migration guide](https://github.com/stripe/stripe-go/wiki/Migration-guide-for-v85) to simplify your upgrade process.
Please review details for the breaking changes and alternatives in the [Stripe API changelog](https://docs.stripe.com/changelog/dahlia) before upgrading.
* ⚠️ [#2260](https://github.com/stripe/stripe-go/pull/2260) Fix typo in V2RawError struct field name
- Fixes misspelling in `V2RawError.UserMesage` --> `V2RawError.UserMessage`
* ⚠️ [#2179](https://github.com/stripe/stripe-go/pull/2179) [Breaking] Update `List` and `Search` methods with `stripe.Client` to return a `struct`
- `List` and `Search` methods using `stripe.Client` now return a `struct` instead of `Seq2`. This is a backwards incompatible change, and you will need to add an additional call to `.All(ctx)` in your `for` loop. E.g.
```diff
-for c, err := range sc.V1Customers.List(ctx, nil) {
+for c, err := range sc.V1Customers.List(ctx, nil).All(ctx) {
// handle err
// do something
}
```
- For manual pagination use cases, you can access the API call's `error` by calling `list.Err()`, a page's data using `list.Data()`, and its metadata by calling `list.Meta()`.
* ⚠️ [#2301](https://github.com/stripe/stripe-go/pull/2301) Make unmarshalJSONVerbose unexported and context-aware
- Unexported `BackendImplementation.UnmarshalJSONVerbose` (now `unmarshalJSONVerbose`) and added a `context.Context` parameter for proper context propagation in error logging.
* ⚠️ [#2309](https://github.com/stripe/stripe-go/pull/2309) Drop support for Go < 1.22
* ⚠️ [#2310](https://github.com/stripe/stripe-go/pull/2310) Regenerate with decimal_string enabled for v2 APIs
- V2 API decimal fields changed type from `string` to `float64` with `json:",string"` and `form:",high_precision"` struct tags. Code that passes these fields as `string` will need to use `float64` instead. Affected fields:
- **V2CoreAccountIdentityIndividualRelationship**: `PercentOwnership`
- **V2CoreAccountPersonRelationship**: `PercentOwnership`
- Params: `V2CoreAccountIdentityIndividualRelationshipParams`, `V2CoreAccountCreateIdentityIndividualRelationshipParams`, `V2CoreAccountUpdateIdentityIndividualRelationshipParams`, `V2CoreAccountTokenIdentityIndividualRelationshipParams`, `V2CoreAccountTokenCreateIdentityIndividualRelationshipParams`, `V2CoreAccountsPersonRelationshipParams`, `V2CoreAccountsPersonCreateRelationshipParams`, `V2CoreAccountsPersonUpdateRelationshipParams`, `V2CoreAccountsPersonTokenRelationshipParams`, `V2CoreAccountsPersonTokenCreateRelationshipParams`
* [#2322](https://github.com/stripe/stripe-go/pull/2322) Add `UnsetFields` for clearing field values in v1 and v2 API requests
- Added `UnsetFields` field and `AddUnsetField` method to `Params` for 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 as `field=` (empty string).
- Nested params structs with emptyable fields carry their own `UnsetFields` slice, enabling clearing of nested fields (e.g. `params.CancellationDetails.AddUnsetField(...)`).
- Generated `UnsetField` string enum types provide type-safe constants for each clearable field (e.g. `SubscriptionUpdateParamsUnsetFieldDescription`).
* ⚠️ [#2324](https://github.com/stripe/stripe-go/pull/2324) Fix MinimumBalanceByCurrency map value type to support clearing
* `MinimumBalanceByCurrency` changed from `map[string]int64` to `map[string]*int64` on `BalanceSettingsPaymentsPayoutsParams` and `BalanceSettingsUpdatePaymentsPayoutsParams`. This field now supports clearing a value in the map by assigning null to the map key.
* [#2263](https://github.com/stripe/stripe-go/pull/2263) Add helpers in preparation for BatchJobs public preview support
* ⚠️ [#2320](https://github.com/stripe/stripe-go/pull/2320) Throw an error when using the wrong webhook parsing method
### ⚠️ Breaking changes due to changes in the Stripe API
* ⚠️ Generated changes from [#2333](https://github.com/stripe/stripe-go/pull/2333), [#2326](https://github.com/stripe/stripe-go/pull/2326), [#2323](https://github.com/stripe/stripe-go/pull/2323), [#2286](https://github.com/stripe/stripe-go/pull/2286)
* Add support for `UpiPayments` on `AccountCapabilitiesParams` and `AccountCapabilities`
* Add support for `Upi` on `ChargePaymentMethodDetails`, `CheckoutSessionPaymentMethodOptionsParams`, `CheckoutSessionPaymentMethodOptions`, `ConfirmationTokenPaymentMethodDataParams`, `ConfirmationTokenPaymentMethodPreview`, `MandatePaymentMethodDetails`, `PaymentAttemptRecordPaymentMethodDetails`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodConfigurationParams`, `PaymentMethodConfiguration`, `PaymentMethodParams`, `PaymentMethod`, `PaymentRecordPaymentMethodDetails`, `SetupAttemptPaymentMethodDetails`, `SetupIntentConfirmPaymentMethodDataParams`, `SetupIntentConfirmPaymentMethodOptionsParams`, `SetupIntentPaymentMethodDataParams`, `SetupIntentPaymentMethodOptionsParams`, and `SetupIntentPaymentMethodOptions`
* Add support for new value `tempo` on enums `ChargePaymentMethodDetailsCrypto.Network`, `PaymentAttemptRecordPaymentMethodDetailsCrypto.Network`, and `PaymentRecordPaymentMethodDetailsCrypto.Network`
* Add support for `IntegrationIdentifier` on `CheckoutSessionParams` and `CheckoutSession`
* Add support for `Crypto` on `CheckoutSessionPaymentMethodOptionsParams`
* Add support for `PendingInvoiceItemInterval` on `CheckoutSessionSubscriptionDataParams`
* Add support for new values `elements`, `embedded_page`, `form`, and `hosted_page` on enum `CheckoutSession.UIMode`
* Add support for new value `marine_carbon_removal` on enum `ClimateSupplier.RemovalPathway`
* Add support for new value `upi` on enums `ConfirmationTokenPaymentMethodPreview.Type` and `PaymentMethod.Type`
* Add support for `Metadata` on `CreditNoteLineItem`, `CreditNoteLineParams`, `CreditNotePreviewLineParams`, and `CreditNotePreviewLinesLineParams`
* Add support for `QuantityDecimal` on `InvoiceAddLinesLineParams`, `InvoiceCreatePreviewInvoiceItemParams`, `InvoiceItemParams`, `InvoiceItem`, `InvoiceLineItemParams`, `InvoiceLineItem`, and `InvoiceUpdateLinesLineParams`
* ⚠️ Add support for `Level` on `IssuingAuthorizationRiskAssessmentCardTestingRiskParams` and `IssuingAuthorizationRiskAssessmentMerchantDisputeRiskParams`
* ⚠️ Remove support for `RiskLevel` on `IssuingAuthorizationRiskAssessmentCardTestingRiskParams` and `IssuingAuthorizationRiskAssessmentMerchantDisputeRiskParams`
* Add support for `LifecycleControls` on `IssuingCardParams` and `IssuingCard`
* Add support for `Cryptogram`, `ElectronicCommerceIndicator`, `ExemptionIndicatorApplied`, and `ExemptionIndicator` on `PaymentAttemptRecordPaymentMethodDetailsCardThreeDSecure` and `PaymentRecordPaymentMethodDetailsCardThreeDSecure`
* Add support for new value `upi` on enums `PaymentIntent.ExcludedPaymentMethodTypes` and `SetupIntent.ExcludedPaymentMethodTypes`
* Add support for `UpiHandleRedirectOrDisplayQRCode` on `PaymentIntentNextAction` and `SetupIntentNextAction`
* Add support for new value `upi` on enum `PaymentLink.PaymentMethodTypes`
* Add support for `RecommendedAction` and `Signals` on `RadarPaymentEvaluation`
* ⚠️ Remove support for `Insights` on `RadarPaymentEvaluation`
* Add support for new value `crypto_fingerprint` on enum `RadarValueList.ItemType`
* Add support for new value `canceled_by_retention_policy` on enum `SubscriptionCancellationDetails.Reason`
* ⚠️ Change type of `V2CoreEventDestination.EventsFrom` from `enum('other_accounts'|'self')` to `string`
* Add support for error code `service_period_coupon_with_metered_tiered_item_unsupported` on `Error`, `InvoiceLastFinalizationError`, `PaymentIntentLastPaymentError`, `SetupAttemptSetupError`, `SetupIntentLastSetupError`, and `StripeError`
## 84.4.1 - 2026-03-06
* [#2285](https://github.com/stripe/stripe-go/pull/2285) Add agent information to UserAgent
* [#2288](https://github.com/stripe/stripe-go/pull/2288) Add Stripe-Request-Trigger header
## 84.4.0 - 2026-02-25
This release changes the pinned API version to `2026-02-25.clover`.
* [#2277](https://github.com/stripe/stripe-go/pull/2277) Update generated code
* Add support for new resources `ReserveHold`, `ReservePlan`, and `ReserveRelease`
* Add support for `Location` and `Reader` on `ChargePaymentMethodDetailsCardPresent`, `ChargePaymentMethodDetailsInteracPresent`, `ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethodDetailsCardPresent`, `PaymentAttemptRecordPaymentMethodDetailsCardPresent`, `PaymentAttemptRecordPaymentMethodDetailsInteracPresent`, `PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent`, `PaymentRecordPaymentMethodDetailsCardPresent`, and `PaymentRecordPaymentMethodDetailsInteracPresent`
* Add support for new value `lk_vat` on enums `CheckoutSessionCustomerDetailsTaxIds.Type`, `TaxCalculationCustomerDetailsTaxId.Type`, `TaxId.Type`, and `TaxTransactionCustomerDetailsTaxId.Type`
* Add support for new values `reserve.hold.created`, `reserve.hold.updated`, `reserve.plan.created`, `reserve.plan.disabled`, `reserve.plan.expired`, `reserve.plan.updated`, and `reserve.release.created` on enum `Event.Type`
* Add support for new values `terminal_wifi_certificate` and `terminal_wifi_private_key` on enum `File.Purpose`
* Add support for new value `pay_by_bank` on enums `InvoicePaymentSettings.PaymentMethodTypes` and `SubscriptionPaymentSettings.PaymentMethodTypes`
* Add support for `DisplayName` and `ServiceUserNumber` on `MandatePaymentMethodDetailsBacsDebit`
* Add support for `TransactionPurpose` on `PaymentIntentConfirmPaymentMethodOptionsUsBankAccountParams`, `PaymentIntentPaymentMethodOptionsUsBankAccountParams`, and `PaymentIntentPaymentMethodOptionsUsBankAccount`
* Add support for `OptionalItems` on `PaymentLinkParams`
* Remove support for unused `CardIssuerDecline` on `RadarPaymentEvaluationInsights`
* Add support for `PaymentBehavior` on `SubscriptionItemParams`
* Add support for `Lk` on `TaxRegistrationCountryOptionsParams` and `TaxRegistrationCountryOptions`
* Add support for `Cellular` and `StripeS710` on `TerminalConfigurationParams` and `TerminalConfiguration`
* Add support for new values `simulated_stripe_s710` and `stripe_s710` on enum `TerminalReader.DeviceType`
* Add support for snapshot events `EventTypeReserveHoldCreated` and `EventTypeReserveHoldUpdated` with resource `ReserveHold`
* Add support for snapshot events `EventTypeReservePlanCreated`, `EventTypeReservePlanDisabled`, `EventTypeReservePlanExpired`, and `EventTypeReservePlanUpdated` with resource `ReservePlan`
* Add support for snapshot event `EventTypeReserveReleaseCreated` with resource `ReserveRelease`
* Add support for error codes `storer_capability_missing` and `storer_capability_not_active` on `Error`, `InvoiceLastFinalizationError`, `PaymentIntentLastPaymentError`, `SetupAttemptSetupError`, `SetupIntentLastSetupError`, and `StripeError`
## 84.3.0 - 2026-01-28
This release changes the pinned API version to `2026-01-28.clover`.
* [#2178](https://github.com/stripe/stripe-go/pull/2178) Add context-aware logging interface and update logger usage
* [#2258](https://github.com/stripe/stripe-go/pull/2258) Update generated code
* Add support for new resource `RadarPaymentEvaluation`
* Add support for `New` method on resource `RadarPaymentEvaluation`
* Add support for `AdjustableQuantity` on `LineItem`
* Add support for new value `risk_reserved` on enum `BalanceTransaction.BalanceType`
* Add support for new values `reserve_hold` and `reserve_release` on enum `BalanceTransaction.Type`
* Add support for new value `pl_nip` on enums `CheckoutSessionCustomerDetailsTaxIds.Type`, `TaxCalculationCustomerDetailsTaxId.Type`, `TaxId.Type`, and `TaxTransactionCustomerDetailsTaxId.Type`
* Add support for new value `adyen` on enums `ConfirmationTokenPaymentMethodPreviewIdeal.Bank`, `PaymentAttemptRecordPaymentMethodDetailsIdeal.Bank`, and `PaymentRecordPaymentMethodDetailsIdeal.Bank`
* Add support for new value `ADYBNL2A` on enums `ConfirmationTokenPaymentMethodPreviewIdeal.BIC`, `PaymentAttemptRecordPaymentMethodDetailsIdeal.BIC`, and `PaymentRecordPaymentMethodDetailsIdeal.BIC`
* Add support for `EnforceArithmeticValidation` on `PaymentIntentAmountDetailsParams`, `PaymentIntentCaptureAmountDetailsParams`, `PaymentIntentConfirmAmountDetailsParams`, and `PaymentIntentIncrementAuthorizationAmountDetailsParams`
* Add support for `Error` on `PaymentIntentAmountDetails`
* Remove support for `Bgn` on `TerminalConfigurationTippingParams` and `TerminalConfigurationTipping`
* Add support for `Topup` on `TreasuryReceivedDebitLinkedFlows`
* Add support for `ContactPhone` on `V2CoreAccountParams`, `V2CoreAccountTokenParams`, and `V2CoreAccount`
* Add support for `RegistrationDate` on `V2CoreAccountIdentityBusinessDetailsParams`, `V2CoreAccountIdentityBusinessDetails`, and `V2CoreAccountTokenIdentityBusinessDetailsParams`
* Add support for new value `gb_vat` on enum `V2CoreAccountIdentityBusinessDetailsIdNumber.Type`
* Add support for error code `request_blocked` on `Error`, `InvoiceLastFinalizationError`, `PaymentIntentLastPaymentError`, `SetupAttemptSetupError`, `SetupIntentLastSetupError`, and `StripeError`
## 84.2.0 - 2026-01-16
* [#2240](https://github.com/stripe/stripe-go/pull/2240) Add HTTP response code to V2 Error
- Adds `HTTPStatusCode` and `RequestID` fields to `V2RawError`
* [#2111](https://github.com/stripe/stripe-go/pull/2111) Bump gopkg.in/yaml.v3 from 3.0.0 to 3.0.1
* [#2254](https://github.com/stripe/stripe-go/pull/2254) Remove golang.org/x/net/http2 dependency
- Removes the dependency on `golang.org/x/net/http2`
* [#2255](https://github.com/stripe/stripe-go/pull/2255) Update generated code
* Add support for event notifications `V2CoreAccountClosedEvent`, `V2CoreAccountCreatedEvent`, `V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent`, `V2CoreAccountIncludingConfigurationCustomerUpdatedEvent`, `V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent`, `V2CoreAccountIncludingConfigurationMerchantUpdatedEvent`, `V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent`, `V2CoreAccountIncludingConfigurationRecipientUpdatedEvent`, `V2CoreAccountIncludingDefaultsUpdatedEvent`, `V2CoreAccountIncludingFutureRequirementsUpdatedEvent`, `V2CoreAccountIncludingIdentityUpdatedEvent`, `V2CoreAccountIncludingRequirementsUpdatedEvent`, and `V2CoreAccountUpdatedEvent` with related object `V2CoreAccount`
* Add support for event notification `V2CoreAccountLinkReturnedEvent`
* Add support for event notifications `V2CoreAccountPersonCreatedEvent`, `V2CoreAccountPersonDeletedEvent`, and `V2CoreAccountPersonUpdatedEvent` with related object `V2CoreAccountPerson`
## 84.1.0 - 2025-12-16
This release changes the pinned API version to `2025-12-15.clover`.
* [#2235](https://github.com/stripe/stripe-go/pull/2235) Update generated code
* Add support for new resources `V2CoreAccountLink`, `V2CoreAccountPersonToken`, `V2CoreAccountPerson`, `V2CoreAccountToken`, and `V2CoreAccount`
* Add support for `Get` and `New` methods on resources `V2CoreAccountPersonToken` and `V2CoreAccountToken`
* Add support for `New` method on resource `V2CoreAccountLink`
* Add support for `Close`, `Get`, `List`, `New`, and `Update` methods on resource `V2CoreAccount`
* Add support for `Del`, `Get`, `List`, `New`, and `Update` methods on resource `V2CoreAccountPerson`
* Add support for `CustomerAccount` on `BillingCreditBalanceSummaryParams`, `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`, and `TaxId`
* Add support for `Metadata` on `CheckoutSessionLineItemParams` and `LineItem`
* Add support for `PaytoPayments` on `AccountCapabilitiesParams` and `AccountCapabilities`
* Add support for `Signer` on `AccountDocumentsProofOfRegistrationParams` and `AccountDocumentsProofOfUltimateBeneficialOwnershipParams`
* Add support for `BillingCycleAnchor` on `BillingPortalConfigurationFeaturesSubscriptionUpdateParams` and `BillingPortalConfigurationFeaturesSubscriptionUpdate`
* Add support for `Payto` on `ChargePaymentMethodDetails`, `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`, and `SubscriptionPaymentSettingsPaymentMethodOptions`
* Add support for `ExpectedDebitDate` on `ChargePaymentMethodDetailsAcssDebit`, `ChargePaymentMethodDetailsAuBecsDebit`, `ChargePaymentMethodDetailsBacsDebit`, `ChargePaymentMethodDetailsNzBankAccount`, `ChargePaymentMethodDetailsSepaDebit`, `ChargePaymentMethodDetailsUsBankAccount`, `PaymentAttemptRecordPaymentMethodDetailsAcssDebit`, `PaymentAttemptRecordPaymentMethodDetailsAuBecsDebit`, `PaymentAttemptRecordPaymentMethodDetailsBacsDebit`, `PaymentAttemptRecordPaymentMethodDetailsNzBankAccount`, `PaymentAttemptRecordPaymentMethodDetailsSepaDebit`, `PaymentAttemptRecordPaymentMethodDetailsUsBankAccount`, `PaymentRecordPaymentMethodDetailsAcssDebit`, `PaymentRecordPaymentMethodDetailsAuBecsDebit`, `PaymentRecordPaymentMethodDetailsBacsDebit`, `PaymentRecordPaymentMethodDetailsNzBankAccount`, `PaymentRecordPaymentMethodDetailsSepaDebit`, and `PaymentRecordPaymentMethodDetailsUsBankAccount`
* Add support for `LineItems` on `CheckoutSessionParams`
* Add support for new value `mollie` on enums `ConfirmationTokenPaymentMethodPreviewIdeal.Bank`, `PaymentAttemptRecordPaymentMethodDetailsIdeal.Bank`, and `PaymentRecordPaymentMethodDetailsIdeal.Bank`
* Add support for new value `MLLENL2A` on enums `ConfirmationTokenPaymentMethodPreviewIdeal.BIC`, `PaymentAttemptRecordPaymentMethodDetailsIdeal.BIC`, and `PaymentRecordPaymentMethodDetailsIdeal.BIC`
* Add support for new value `payto` on enums `ConfirmationTokenPaymentMethodPreview.Type` and `PaymentMethod.Type`
* Add support for `Invoice` on `CustomerCustomerBalanceTransactionListParams`
* Add support for `RelatedCustomerAccount` on `IdentityVerificationSessionListParams`, `IdentityVerificationSessionParams`, and `IdentityVerificationSession`
* Add support for new value `payto` on enums `InvoicePaymentSettings.PaymentMethodTypes` and `SubscriptionPaymentSettings.PaymentMethodTypes`
* Add support for `Subtotal` on `InvoiceLineItem`
* Add support for `AuthorizationCode`, `Description`, `IIN`, `Installments`, `Issuer`, `NetworkAdviceCode`, `NetworkDeclineCode`, and `StoredCredentialUsage` on `PaymentAttemptRecordPaymentMethodDetailsCard` and `PaymentRecordPaymentMethodDetailsCard`
* Add support for new value `payto` on enums `PaymentIntent.ExcludedPaymentMethodTypes` and `SetupIntent.ExcludedPaymentMethodTypes`
* Add support for new value `payto` on enum `PaymentLink.PaymentMethodTypes`
* Add support for `AllowRedisplay` on `PaymentMethodListParams`
* Add support for `ReportedBy` on `PaymentRecord`
* Add support for `Changes` on `V2CoreEvent`
* Add support for error code `account_token_required_for_v2_account` on `Error`, `InvoiceLastFinalizationError`, `PaymentIntentLastPaymentError`, `SetupAttemptSetupError`, `SetupIntentLastSetupError`, and `StripeError`
## 84.0.0 - 2025-11-18
This release changes the pinned API version to `2025-11-17.clover`.
* [#2210](https://github.com/stripe/stripe-go/pull/2210) Update v2 array parameter serialization to use indexed format
- `Retrieve` and `List` calls for `/v2` endpoints 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.
* [#2206](https://github.com/stripe/stripe-go/pull/2206) Update generated code
* Add support for new resources `TaxAssociation` and `TerminalOnboardingLink`
* Add support for `Find` method on resource `TaxAssociation`
* Add support for `New` method on resource `TerminalOnboardingLink`
* Add support for `PaymentMethodConfiguration` on `BillingPortalConfigurationFeaturesPaymentMethodUpdate`
* Add support for `TransactionID` on `ChargePaymentMethodDetailsIdeal`, `PaymentAttemptRecordPaymentMethodDetailsIdeal`, and `PaymentRecordPaymentMethodDetailsIdeal`
* Add support for new value `finom` on enums `ConfirmationTokenPaymentMethodPreviewIdeal.Bank`, `PaymentAttemptRecordPaymentMethodDetailsIdeal.Bank`, and `PaymentRecordPaymentMethodDetailsIdeal.Bank`
* Add support for new value `FNOMNL22` on enums `ConfirmationTokenPaymentMethodPreviewIdeal.BIC`, `PaymentAttemptRecordPaymentMethodDetailsIdeal.BIC`, and `PaymentRecordPaymentMethodDetailsIdeal.BIC`
* Add support for new value `tokenized_account_number_deactivated` on enums `ConfirmationTokenPaymentMethodPreviewUsBankAccountStatusDetailsBlocked.Reason` and `PaymentMethodUsBankAccountStatusDetailsBlocked.Reason`
* Add support for `Created` on `CustomerCustomerBalanceTransactionListParams` and `InvoicePaymentListParams`
* Add support for new values `financial_connections.account.account_numbers_updated` and `financial_connections.account.upcoming_account_number_expiry` on enum `Event.Type`
* Add support for `AccountNumbers` on `FinancialConnectionsAccount`
* Add support for `FraudRisk` on `IssuingAuthorizationRiskAssessmentParams`
* Add support for `LatestFraudWarning` on `IssuingCard`
* Add support for `Hooks` on `PaymentIntentCaptureParams`, `PaymentIntentConfirmParams`, `PaymentIntentIncrementAuthorizationParams`, `PaymentIntentParams`, and `PaymentIntent`
* Add support for `MbWay` and `TWINT` on `RefundDestinationDetails`
* Add support for snapshot events `EventTypeFinancialConnectionsAccountAccountNumbersUpdated` and `EventTypeFinancialConnectionsAccountUpcomingAccountNumberExpiry` with resource `FinancialConnectionsAccount`
* ⚠️ [#2216](https://github.com/stripe/stripe-go/pull/2216) Update generated code
* ⚠️ Change the type of `V2CoreEventDestinationParams.Metadata` and `V2CoreEventDestinationUpdateParams.Metadata` to `map[string]*string` from `map[string]string`. This supports the ability to remove a key from a `Metadata` map by setting its value to `nil`.
* ⚠️ A corresponding change was made to the `V2CoreEventDestinationParams.AddMetadata` method to set its second argument to `*string` from `string`.
* ⚠️ [#2215](https://github.com/stripe/stripe-go/pull/2215) Update generated code
* ⚠️ Remove support for `GTE`, `Gt`, `LT`, and `Lte` on `V2CoreEventListParams` in favor of `Created`.
## 83.2.1 - 2025-11-13
* [#2212](https://github.com/stripe/stripe-go/pull/2212) Fix segfault in `BackendImplementation.handleResponseBufferingErrors`
* Fixes [#2111](https://github.com/stripe/stripe-go/issues/2211) where a network issue during a RawRequest was causing a segfault.
## 83.2.0 - 2025-11-05
* [#2203](https://github.com/stripe/stripe-go/pull/2203) Update generated code
* Add support for `CaptureMethod` on `PaymentIntentConfirmPaymentMethodOptionsCardPresentParams`, `PaymentIntentPaymentMethodOptionsCardPresentParams`, and `PaymentIntentPaymentMethodOptionsCardPresent`
## 83.1.1 - 2025-11-04
* [#2202](https://github.com/stripe/stripe-go/pull/2202) Add support for value `payment_record` to enum `InvoicePaymentPayment.Type`
## 83.1.0 - 2025-10-29
This release changes the pinned API version to `2025-10-29.clover`.
* [#2147](https://github.com/stripe/stripe-go/pull/2147) Update generated code
* Add support for new resources `PaymentAttemptRecord`, `PaymentIntentAmountDetailsLineItem`, and `PaymentRecord`
* Add support for `Get` and `List` methods on resource `PaymentAttemptRecord`
* Add support for `Get`, `ReportPaymentAttemptCanceled`, `ReportPaymentAttemptFailed`, `ReportPaymentAttemptGuaranteed`, `ReportPaymentAttemptInformational`, `ReportPaymentAttempt`, `ReportPayment`, and `ReportRefund` methods on resource `PaymentRecord`
* Add support for `List` method on resource `PaymentIntentAmountDetailsLineItem`
* Add support for `RepresentativeDeclaration` on `AccountCompanyParams`, `AccountCompany`, and `TokenAccountCompanyParams`
* Add support for `PaymentMethodConfiguration` on `BillingPortalConfigurationFeaturesPaymentMethodUpdateParams`
* Add support for new value `solana` on enum `ChargePaymentMethodDetailsCrypto.Network`
* Add support for `TWINT` on `CheckoutSessionPaymentMethodOptionsParams` and `CheckoutSessionPaymentMethodOptions`
* Add support for new value `custom` on enums `ConfirmationTokenPaymentMethodPreview.Type` and `PaymentMethod.Type`
* Add support for `PaymentRecordRefund` and `Type` on `CreditNotePreviewLinesRefundParams`, `CreditNotePreviewRefundParams`, `CreditNoteRefundParams`, and `CreditNoteRefund`
* Add support for `CustomerSheet` and `MobilePaymentElement` on `CustomerSessionComponentsParams` and `CustomerSessionComponents`
* Add support for `Provider` on `CustomerTax`
* Add support for new values `balance_settings.updated` and `invoice.payment_attempt_required` on enum `Event.Type`
* Add support for new value `platform_terms_of_service` on enum `File.Purpose`
* Add support for `PaymentRecord` on `InvoiceAttachPaymentParams`, `InvoicePaymentListPaymentParams`, and `InvoicePaymentPayment`
* Change type of `InvoicePaymentListPaymentParams.Type` from `literal('payment_intent')` to `enum('payment_intent'|'payment_record')`
* Add support for new value `custom` on enums `InvoicePaymentSettings.PaymentMethodTypes` and `SubscriptionPaymentSettings.PaymentMethodTypes`
* Add support for `AmountDetails` on `PaymentIntentCaptureParams`, `PaymentIntentConfirmParams`, `PaymentIntentIncrementAuthorizationParams`, and `PaymentIntentParams`
* Add support for `PaymentDetails` on `PaymentIntentCaptureParams`, `PaymentIntentConfirmParams`, `PaymentIntentIncrementAuthorizationParams`, `PaymentIntentParams`, and `PaymentIntent`
* Add support for `DiscountAmount`, `LineItems`, `Shipping`, and `Tax` on `PaymentIntentAmountDetails`
* Add support for `NameCollection` on `PaymentLinkParams` and `PaymentLink`
* Add support for new value `mb_way` on enum `PaymentLink.PaymentMethodTypes`
* Add support for `Crypto` on `PaymentMethodConfigurationParams`, `PaymentMethodConfiguration`, and `RefundDestinationDetails`
* Add support for `MbWay` on `PaymentMethodConfigurationParams` and `PaymentMethodConfiguration`
* Add support for `Custom` on `PaymentMethodParams` and `PaymentMethod`
* Add support for `ExcludedPaymentMethodTypes` on `SetupIntentParams` and `SetupIntent`
* Add support for `Tw` on `TaxRegistrationCountryOptionsParams` and `TaxRegistrationCountryOptions`
* Add support for `Gip` on `TerminalConfigurationTippingParams` and `TerminalConfigurationTipping`
* Add support for `LastSeenAt` on `TerminalReader`
* Add support for `GTE`, `Gt`, `LT`, `Lte`, and `Types` on `V2CoreEventListParams`
* Add support for snapshot event `EventTypeBalanceSettingsUpdated` with resource `BalanceSettings`
* Add support for snapshot event `EventTypeInvoicePaymentAttemptRequired` with resource `Invoice`
* Add support for error code `payment_intent_rate_limit_exceeded` on `Error`, `InvoiceLastFinalizationError`, `PaymentIntentLastPaymentError`, `SetupAttemptSetupError`, `SetupIntentLastSetupError`, and `StripeError`
* [#2193](https://github.com/stripe/stripe-go/pull/2193) Update generated code
* Improve docs for PaymentIntent related endpoints
## 83.0.2 - 2025-10-21
* [#2183](https://github.com/stripe/stripe-go/pull/2183) Fix URL serialization for array query parameters that affected V2 GET APIs
## 83.0.1 - 2025-10-08
* [#2148](https://github.com/stripe/stripe-go/pull/2148) Update CHANGELOG.md to point to right API version
* [#2151](https://github.com/stripe/stripe-go/pull/2151) Update param in deprecation docs link
* [#2158](https://github.com/stripe/stripe-go/pull/2158) add `StripeContext` field to `ListParams` and `SearchParams`
- Fixes an issue where it wasn't possible to add `StripeContext` to list and search calls.
* [#2157](https://github.com/stripe/stripe-go/pull/2157) Improve event notification example
* [#2161](https://github.com/stripe/stripe-go/pull/2161) Return clearer error when calling `ConstructEvent` on an event notification
## 83.0.0 - 2025-09-30
This release changes the pinned API version to `2025-09-30.clover`.
This release contains breaking changes (prefixed with ⚠️ below)
* ⚠️ [#2114](https://github.com/stripe/stripe-go/pull/2114) Build SDK w/ V2 OpenAPI spec
- ⚠️ The delete methods for v2 APIs (the ones in the `V2` prefix) now return a `V2DeletedObject` which has the id of the object that has been deleted and a string representing the type of the object that has been deleted.
- ⚠️ Nullable properties on objects returned by v2 APIs now have the `omitempty` annotation
* [#2117](https://github.com/stripe/stripe-go/pull/2117) Add LastResponse to resources returned in List and Search APIs
- Add a `LastResponse` to each resource returned from either a `List` or `Search` API call using `stripe.Client`. The `RawJSON` is the JSON corresponding to just that item. This is useful for accessing fields not exposed in the SDK.
```
for cust, err := range sc.V1Customers.List(context.TODO(), &stripe.CustomerListParams{}) {
if err != nil {
return err
}
customerJSON := cust.LastResponse.RawJSON
log.Printf("Customer JSON: %s", customerJSON) // {"id":"cus_123",...}
}
```
* ⚠️ [#2129](https://github.com/stripe/stripe-go/pull/2129) Add `context.Context` param to `V2CoreEventDestinations.Ping`
* ⚠️ Adds a `context.Context` parameter to the `V2CoreEventDestinations.Ping` method on `stripe.Client`
* ⚠️ [#2121](https://github.com/stripe/stripe-go/pull/2121) Add strongly typed EventNotifications
We've overhauled how V2 Events are handled in the SDK! This approach should provide a lot more information at authoring and compile time, leading to more robust integrations. As part of this process, there are a number of changes to be aware of.
- ⚠️ Rename function `Client.ParseThinEvent` to `Client.ParseEventNotification` and remove the `ThinEvent` struct.
- This function now returns a `EventNotificationContainer` (which is an interface that all `EventNotification`s adhere to) instead of `ThinEvent`. When applicable, these event notifications will have the `RelatedObject` field and a function `FetchRelatedObject()`. They also have a `FetchEvent()` method to retrieve their corresponding event.
- If you parse an event the SDK doesn't have types for (e.g. it's newer than the SDK you're using), you'll get an instance of `UnknownEventNotification` instead of a more specific type. It has both the `RelatedObject` field and the function `FetchRelatedObject()` (but they may be `nil`)
- ⚠️ Removed `API.parseThinEvent`. Use `Client.ParseEventNotification` instead (referring to the [migration guide](https://github.com/stripe/stripe-go/wiki/Migration-guide-for-Stripe-Client) if necessary).
* ⚠️ [#2134](https://github.com/stripe/stripe-go/pull/2134) Remove extraneous parameters from `CardUpdateParams` and `BankAccountUpdateParams`
- ⚠️ Removes `address_city`, `address_country`, `address_line1`, `address_line2`, `address_state`, `address_zip`, `exp_month`, `exp_year`, and `name` from `BankAccountUpdateParams`. These were not valid fields, so always received a 400 from the server if set.
- ⚠️ Removes `account_holder_name`, `account_holder_type`, `cvc`, `number`, and `owner` from `CardAccountParams`. These were not valid fields, so always received a 400 from the server if set.
* ⚠️ [#2133](https://github.com/stripe/stripe-go/pull/2133) Add `stripe.Context` object
- This is a new struct that helps with accessing parent and child contexts.
- Previously, you could set the stripe context only as a string via `SetStripeContext()`. You can now set it using the new struct as well via `SetStripeContextFrom()`.
- ⚠️ Change `EventNotification` (formerly known as `ThinEvent`)'s `context` property from `string` to `stripe.Context`
* ⚠️ [#2138](https://github.com/stripe/stripe-go/pull/2138) Move `V2.Event` API resources to `V2.Core.Events`
- ⚠️ Rename all types starting with `V2Event` to start with `V2CoreEvent`. For example
- `V2EventNotification` -> `V2CoreEventNotification`
- `V2EventReason` -> `V2CoreEventReason`
- `V2Event` -> `V2CoreEvent`
- `V2RawEvent` -> `V2CoreRawEvent`
- `V2EventDestination` -> V`2CoreEventDestination`
* ⚠️ [#2143](https://github.com/stripe/stripe-go/pull/2143) Change RelatedObject to V2CoreEventRelatedObject
- ⚠️ Changes the name of the `stripe.RelatedObject` struct to `stripe.V2CoreEventRelatedObject`.
* ⚠️ [#2142](https://github.com/stripe/stripe-go/pull/2142) Drop support for Go < 1.20 & clarify policy
- Read our new [language version support policy](https://docs.stripe.com/sdks/versioning?lang=go#stripe-sdk-language-version-support-policy)
- ⚠️ In this release, we drop support for Go versions 1.18 and 1.19
- Go 1.20 and 1.21 support is deprecated will be removed in the next scheduled major release (March 2026)
* ⚠️ [#2119](https://github.com/stripe/stripe-go/pull/2119) , [#2115](https://github.com/stripe/stripe-go/pull/2115), [#2130](https://github.com/stripe/stripe-go/pull/2130), [#2140](https://github.com/stripe/stripe-go/pull/2140) Update generated code based on incoming API changes in the `2025-09-30.clover` API version.
* ⚠️ Remove support for `BalanceReport` and `PayoutReconciliationReport` on `AccountSessionComponentsParams` and `AccountSessionComponents`
* ⚠️ Remove support for `Coupon` on `Discount`, `PromotionCodeParams`, and `PromotionCode`. Use `Discount.Source.Coupon`, `PromotionCodeParams.Promotion.Coupon` and `PromotionCode.Promotion.Coupon` instead.
* ⚠️ Remove support for values `saturday` and `sunday` from enum `AccountSettingsPayoutsSchedule.WeeklyPayoutDays`
* ⚠️ Remove support for `Iterations` on `InvoiceCreatePreviewScheduleDetailsPhaseParams` and `SubscriptionSchedulePhaseParams`
* ⚠️ Remove support for `Link` and `PayByBank` on `PaymentMethodParams`
* Add support for new value `prevented` on enum `Dispute.Status`
* Add support for new resource `BalanceSettings`
* Add support for `Get` and `Update` methods on resource `BalanceSettings`
* Add support for new values `external_request` and `unsupported_business_type` on enums `BankAccountFutureRequirementsErrors.Code` and `BankAccountRequirementsErrors.Code`
* Add support for `Source` on `Discount`
* Add support for `MbWayPayments` on `AccountCapabilitiesParams` and `AccountCapabilities`
* Add support for `TrialUpdateBehavior` on `BillingPortalConfigurationFeaturesSubscriptionUpdateParams` and `BillingPortalConfigurationFeaturesSubscriptionUpdate`
* Add support for `MbWay` on `ChargePaymentMethodDetails`, `ConfirmationTokenPaymentMethodDataParams`, `ConfirmationTokenPaymentMethodPreview`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams`
* Add support for `BrandingSettings` and `NameCollection` on `CheckoutSessionParams` and `CheckoutSession`
* Add support for `ExcludedPaymentMethodTypes` on `CheckoutSessionParams`, `CheckoutSession`, `PaymentIntentConfirmParams`, and `PaymentIntentParams`
* Add support for `UnitLabel` on `CheckoutSessionLineItemPriceDataProductDataParams`, `InvoiceAddLinesLinePriceDataProductDataParams`, `InvoiceLineItemPriceDataProductDataParams`, `InvoiceUpdateLinesLinePriceDataProductDataParams`, and `PaymentLinkLineItemPriceDataProductDataParams`
* Add support for `Alma`, `Billie`, and `Satispay` on `CheckoutSessionPaymentMethodOptionsParams` and `CheckoutSessionPaymentMethodOptions`
* Add support for `DemoPay` on `CheckoutSessionPaymentMethodOptionsParams`
* Add support for `CaptureMethod` on `CheckoutSessionPaymentMethodOptionsAffirmParams`, `CheckoutSessionPaymentMethodOptionsAffirm`, `CheckoutSessionPaymentMethodOptionsAfterpayClearpayParams`, `CheckoutSessionPaymentMethodOptionsAfterpayClearpay`, `CheckoutSessionPaymentMethodOptionsAmazonPayParams`, `CheckoutSessionPaymentMethodOptionsAmazonPay`, `CheckoutSessionPaymentMethodOptionsCardParams`, `CheckoutSessionPaymentMethodOptionsCard`, `CheckoutSessionPaymentMethodOptionsCashappParams`, `CheckoutSessionPaymentMethodOptionsCashapp`, `CheckoutSessionPaymentMethodOptionsKlarnaParams`, `CheckoutSessionPaymentMethodOptionsKlarna`, `CheckoutSessionPaymentMethodOptionsLinkParams`, `CheckoutSessionPaymentMethodOptionsLink`, `CheckoutSessionPaymentMethodOptionsMobilepayParams`, `CheckoutSessionPaymentMethodOptionsMobilepay`, `CheckoutSessionPaymentMethodOptionsRevolutPayParams`, and `CheckoutSessionPaymentMethodOptionsRevolutPay`
* Add support for `Flexible` on `CheckoutSessionSubscriptionDataBillingModeParams`, `InvoiceCreatePreviewScheduleDetailsBillingModeParams`, `InvoiceCreatePreviewSubscriptionDetailsBillingModeParams`, `QuoteSubscriptionDataBillingModeParams`, `QuoteSubscriptionDataBillingMode`, `SubscriptionBillingModeParams`, `SubscriptionBillingMode`, `SubscriptionMigrateBillingModeParams`, `SubscriptionScheduleBillingModeParams`, and `SubscriptionScheduleBillingMode`
* Add support for `BusinessName` and `IndividualName` on `CheckoutSessionCollectedInformation`, `CheckoutSessionCustomerDetails`, `CustomerParams`, and `Customer`
* Add support for new value `mb_way` on enums `ConfirmationTokenPaymentMethodPreview.Type` and `PaymentMethod.Type`
* Add support for `ChargebackLossReasonCode` on `DisputePaymentMethodDetailsKlarna`
* Add support for `NetAmount` and `ProrationDetails` on `InvoiceItem`
* Add support for `FraudDisputabilityLikelihood` and `RiskAssessment` on `IssuingAuthorizationParams`
* Add support for `SecondLine` on `IssuingCard`
* Add support for new value `mb_way` on enum `PaymentIntent.ExcludedPaymentMethodTypes`
* Add support for `FRMealVoucherConecs` on `PaymentMethodConfigurationParams`
* Add support for `Promotion` on `PromotionCodeParams` and `PromotionCode`
* Add support for new values `acknowledged` and `payment_never_settled` on enum `Review.ClosedReason`
* Add support for `Provider` on `TaxSettingsDefaults`
* Add support for `BBPOSWisePad3` on `TerminalConfigurationParams` and `TerminalConfiguration`
* Add support for `AddressKana`, `AddressKanji`, `DisplayNameKana`, `DisplayNameKanji`, and `Phone` on `TerminalLocationParams` and `TerminalLocation`
* Add support for error codes `financial_connections_account_pending_account_numbers` and `financial_connections_account_unavailable_account_numbers` on `Error`, `InvoiceLastFinalizationError`, `PaymentIntentLastPaymentError`, `SetupAttemptSetupError`, `SetupIntentLastSetupError`, and `StripeError`
## 82.5.1 - 2025-09-17
* [#2117](https://github.com/stripe/stripe-go/pull/2117) Add LastResponse to resources returned in List and Search APIs
Add a `LastResponse` to each resource returned from either a `List` or `Search` API call using `stripe.Client`. The `RawJSON` is the JSON corresponding to just that item. This is useful for accessing fields not exposed in the SDK.
```go
for cust, err := range sc.V1Customers.List(context.TODO(), &stripe.CustomerListParams{}) {
if err != nil {
return err
}
customerJSON := cust.LastResponse.RawJSON
log.Printf("Customer JSON: %s", customerJSON) // {"id":"cus_123",...}
}
```
* [#2119](https://github.com/stripe/stripe-go/pull/2119) Add prevented to the dispute.status enum.
* It's supported in the 2025-08-27.basil of the API, but was mistakenly excluded from this SDK. That issue is now resolved.
## 82.5.0 - 2025-08-27
This release changes the pinned API version to `2025-08-27.basil`.
* [#2107](https://github.com/stripe/stripe-go/pull/2107) Add support for `Expand` on `BankAccountListParams` and `CardListParams`
* [#2108](https://github.com/stripe/stripe-go/pull/2108) Add section on private preview SDKs in readme
* [#2101](https://github.com/stripe/stripe-go/pull/2101) Update generated code.
* Add support for `BalanceReport`, `PayoutDetails`, and `PayoutReconciliationReport` on `AccountSessionComponentsParams` and `AccountSessionComponents`
* Add support for `Name` on `BillingPortalConfigurationParams` and `BillingPortalConfiguration`
* Add support for `Installments` on `ChargePaymentMethodDetailsAlma`
* Add support for `TransactionID` on `ChargePaymentMethodDetailsAlma`, `ChargePaymentMethodDetailsAmazonPay`, `ChargePaymentMethodDetailsBillie`, `ChargePaymentMethodDetailsKakaoPay`, `ChargePaymentMethodDetailsKrCard`, `ChargePaymentMethodDetailsNaverPay`, `ChargePaymentMethodDetailsPayco`, `ChargePaymentMethodDetailsRevolutPay`, `ChargePaymentMethodDetailsSamsungPay`, and `ChargePaymentMethodDetailsSatispay`
* Add support for `Location` and `Reader` on `ChargePaymentMethodDetailsPaynow`
* Add support for `AmountIncludesIof` on `CheckoutSessionPaymentMethodOptionsPixParams`, `CheckoutSessionPaymentMethodOptionsPix`, `PaymentIntentConfirmPaymentMethodOptionsPixParams`, `PaymentIntentPaymentMethodOptionsPixParams`, and `PaymentIntentPaymentMethodOptionsPix`
* Add support for new values `block` and `resolution` on enum `DisputePaymentMethodDetailsCard.CaseType`
* Add support for new value `terminal_android_apk` on enum `File.Purpose`
* Add support for `Metadata` and `Period` on `InvoiceCreatePreviewScheduleDetailsPhaseAddInvoiceItemParams`, `SubscriptionAddInvoiceItemParams`, `SubscriptionSchedulePhaseAddInvoiceItemParams`, and `SubscriptionSchedulePhaseAddInvoiceItem`
* Add support for `ExpMonth` and `ExpYear` on `IssuingCardParams`
* Add support for `ExcludedPaymentMethodTypes` on `PaymentIntentParams` and `PaymentIntent`
* Add support for `PayoutMethod` on `PayoutParams` and `Payout`
* Add support for `Mxn` on `TerminalConfigurationTippingParams` and `TerminalConfigurationTipping`
* Add support for `Card` on `TestHelpersTerminalReaderPresentPaymentMethodParams`
* Add support for error codes `customer_session_expired` and `india_recurring_payment_mandate_canceled` on `Error`, `InvoiceLastFinalizationError`, `PaymentIntentLastPaymentError`, `SetupAttemptSetupError`, `SetupIntentLastSetupError`, and `StripeError`
## 82.4.1 - 2025-08-11
* [#2098](https://github.com/stripe/stripe-go/pull/2098) Bug fixes for `V1BankAccounts` and `V1Cards` services
* Fixes bugs in `Create` and `List` methods in `V1BankAccounts` and `V1Cards` services in the `stripe.Client` pattern, which were previously returning errors on any valid inputs.
* [#2102](https://github.com/stripe/stripe-go/pull/2102) Add missing parameters to Card and BankAccount services
* Fixes bugs in `V1Cards` and `V1BankAccounts` services: ensures the new `stripe.Client` pattern supports all parameters previously available in `client.API` for those two services.
## 82.4.0 - 2025-07-30
This release changes the pinned API version to `2025-07-30.basil`.
* [#2086](https://github.com/stripe/stripe-go/pull/2086) update changelog example to feature APIs that are not part of a preview
* [#2088](https://github.com/stripe/stripe-go/pull/2088) Update generated code
* Add support for `InstantPayoutsPromotion` on `AccountSessionComponentsParams` and `AccountSessionComponents`
* Add support for `AdjustableQuantity` on `BillingPortalConfigurationFeaturesSubscriptionUpdateProductsParams` and `BillingPortalConfigurationFeaturesSubscriptionUpdateProducts`
* Remove support for value `disabled` from enum `Capability.Status`
* Add support for `TransactionID` on `ChargePaymentMethodDetailsCashapp`
* Add support for `OriginContext` on `CheckoutSessionParams` and `CheckoutSession`
* Add support for `Template` on `CheckoutSessionInvoiceCreationInvoiceDataRenderingOptionsParams`, `CheckoutSessionInvoiceCreationInvoiceDataRenderingOptions`, `PaymentLinkInvoiceCreationInvoiceDataRenderingOptionsParams`, and `PaymentLinkInvoiceCreationInvoiceDataRenderingOptions`
* Add support for `SetupFutureUsage` on `CheckoutSessionPaymentMethodOptionsPixParams` and `CheckoutSessionPaymentMethodOptionsPix`
* Add support for `Duration` on `InvoiceCreatePreviewScheduleDetailsPhaseParams` and `SubscriptionSchedulePhaseParams`
* Change type of `InvoiceCreatePreviewSubscriptionDetailsParams.CancelAt` and `SubscriptionParams.CancelAt` from `DateTime` to `DateTime | enum('max_period_end'|'min_period_end')`
* Add support for `PriceData` on `PaymentLinkLineItemParams`
* Add support for `Standard` on `TaxRegistrationCountryOptionsAeParams`, `TaxRegistrationCountryOptionsAe`, `TaxRegistrationCountryOptionsAlParams`, `TaxRegistrationCountryOptionsAoParams`, `TaxRegistrationCountryOptionsAuParams`, `TaxRegistrationCountryOptionsAu`, `TaxRegistrationCountryOptionsAwParams`, `TaxRegistrationCountryOptionsBaParams`, `TaxRegistrationCountryOptionsBbParams`, `TaxRegistrationCountryOptionsBdParams`, `TaxRegistrationCountryOptionsBfParams`, `TaxRegistrationCountryOptionsBhParams`, `TaxRegistrationCountryOptionsBsParams`, `TaxRegistrationCountryOptionsCdParams`, `TaxRegistrationCountryOptionsChParams`, `TaxRegistrationCountryOptionsCh`, `TaxRegistrationCountryOptionsEtParams`, `TaxRegistrationCountryOptionsGbParams`, `TaxRegistrationCountryOptionsGb`, `TaxRegistrationCountryOptionsGnParams`, `TaxRegistrationCountryOptionsIsParams`, `TaxRegistrationCountryOptionsJpParams`, `TaxRegistrationCountryOptionsJp`, `TaxRegistrationCountryOptionsMeParams`, `TaxRegistrationCountryOptionsMkParams`, `TaxRegistrationCountryOptionsMrParams`, `TaxRegistrationCountryOptionsNoParams`, `TaxRegistrationCountryOptionsNo`, `TaxRegistrationCountryOptionsNzParams`, `TaxRegistrationCountryOptionsNz`, `TaxRegistrationCountryOptionsOmParams`, `TaxRegistrationCountryOptionsRsParams`, `TaxRegistrationCountryOptionsSgParams`, `TaxRegistrationCountryOptionsSg`, `TaxRegistrationCountryOptionsSrParams`, `TaxRegistrationCountryOptionsUyParams`, `TaxRegistrationCountryOptionsZaParams`, and `TaxRegistrationCountryOptionsZwParams`
* Add support for new value `inbound_goods` on enums `TaxRegistrationCountryOptionsAtStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsBeStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsBgStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsCyStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsCzStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsDeStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsDkStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsEeStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsEsStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsFiStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsFrStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsGrStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsHrStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsHuStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsIeStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsItStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsLtStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsLuStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsLvStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsMtStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsNlStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsPlStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsPtStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsRoStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsSeStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsSiStandard.PlaceOfSupplyScheme`, and `TaxRegistrationCountryOptionsSkStandard.PlaceOfSupplyScheme`
* Add support for `Aed`, `Bgn`, `Huf`, and `Ron` on `TerminalConfigurationTippingParams` and `TerminalConfigurationTipping`
## 82.3.0 - 2025-07-01
This release changes the pinned API version to `2025-06-30.basil`.
* [#2076](https://github.com/stripe/stripe-go/pull/2076) Switch to use generated API versions and add major/monthly version constants
* Export constants for the major and monthly API versions
* e.g. `2025-05-28.basil` has major version `basil` and monthly version `2025-05-28`
* [#2082](https://github.com/stripe/stripe-go/pull/2082) Add form information to amount. Fixes a bug on v2 endpoints that uses the amount type
* [#2078](https://github.com/stripe/stripe-go/pull/2078) Update generated code
* Add support for `Migrate` method on resource `Subscription`
* Add support for `CollectPaymentMethod` and `ConfirmPaymentIntent` methods on resource `TerminalReader`
* Add support for `CryptoPayments` on `AccountCapabilitiesParams` and `AccountCapabilities`
* Add support for `ProofOfAddress` on `AccountDocumentsParams`
* Add support for `MonthlyPayoutDays` and `WeeklyPayoutDays` on `AccountSettingsPayoutsScheduleParams` and `AccountSettingsPayoutsSchedule`
* Add support for `Crypto` on `ChargePaymentMethodDetails`, `ConfirmationTokenPaymentMethodDataParams`, `ConfirmationTokenPaymentMethodPreview`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams`
* Add support for `Subscriptions` on `CheckoutSessionPaymentMethodOptionsKlarnaParams`, `PaymentIntentConfirmPaymentMethodOptionsKlarnaParams`, and `PaymentIntentPaymentMethodOptionsKlarnaParams`
* Add support for `BillingMode` on `CheckoutSessionSubscriptionDataParams`, `InvoiceCreatePreviewScheduleDetailsParams`, `InvoiceCreatePreviewSubscriptionDetailsParams`, `QuoteSubscriptionDataParams`, `QuoteSubscriptionData`, `SubscriptionParams`, `SubscriptionScheduleParams`, `SubscriptionSchedule`, and `Subscription`
* Change type of `ConfirmationTokenPaymentMethodOptionsCardInstallmentsPlan.Type`, `ConfirmationTokenPaymentMethodOptionsCardInstallmentsPlanParams.Type`, `InvoicePaymentSettingsPaymentMethodOptionsCardInstallmentsPlanParams.Type`, `PaymentIntentConfirmPaymentMethodOptionsCardInstallmentsPlanParams.Type`, `PaymentIntentPaymentMethodOptionsCardInstallmentsPlan.Type`, and `PaymentIntentPaymentMethodOptionsCardInstallmentsPlanParams.Type` from `literal('fixed_count')` to `enum('bonus'|'fixed_count'|'revolving')`
* Add support for new value `buut` on enum `ConfirmationTokenPaymentMethodPreviewIdeal.Bank`
* Add support for new value `BUUTNL2A` on enum `ConfirmationTokenPaymentMethodPreviewIdeal.BIC`
* Add support for new value `crypto` on enums `ConfirmationTokenPaymentMethodPreview.Type` and `PaymentMethod.Type`
* Change type of `Dispute.EnhancedEligibilityTypes` from `literal('visa_compelling_evidence_3')` to `enum('visa_compelling_evidence_3'|'visa_compliance')`
* Add support for new value `compliance` on enum `DisputePaymentMethodDetailsCard.CaseType`
* Add support for new value `terminal.reader.action_updated` on enum `Event.Type`
* Add support for `RelatedPerson` on `IdentityVerificationSessionParams` and `IdentityVerificationSession`
* Add support for `Matching` on `IdentityVerificationSessionOptions`
* Add support for new value `crypto` on enums `InvoicePaymentSettings.PaymentMethodTypes` and `SubscriptionPaymentSettings.PaymentMethodTypes`
* Add support for `Klarna` on `MandatePaymentMethodDetails`, `SetupIntentConfirmPaymentMethodOptionsParams`, `SetupIntentPaymentMethodOptionsParams`, and `SetupIntentPaymentMethodOptions`
* Add support for `OnDemand` on `PaymentIntentConfirmPaymentMethodOptionsKlarnaParams` and `PaymentIntentPaymentMethodOptionsKlarnaParams`
* Change type of `PaymentIntentConfirmPaymentMethodOptionsKlarnaParams.SetupFutureUsage`, `PaymentIntentPaymentMethodOptionsKlarna.SetupFutureUsage`, and `PaymentIntentPaymentMethodOptionsKlarnaParams.SetupFutureUsage` from `literal('none')` to `enum('none'|'off_session'|'on_session')`
* Add support for `Ua` on `TaxRegistrationCountryOptionsParams` and `TaxRegistrationCountryOptions`
* Change type of `TerminalLocationParams.DisplayName` from `string` to `emptyable(string)`
* Add support for `CollectPaymentMethod` and `ConfirmPaymentIntent` on `TerminalReaderAction`
* Add support for new values `collect_payment_method` and `confirm_payment_intent` on enum `TerminalReaderAction.Type`
* Add support for `Status` on `TreasuryFinancialAccountListParams`
* Add support for snapshot event `EventTypeTerminalReaderActionUpdated` with resource `TerminalReader`
## 82.2.1 - 2025-06-04
* [#2068](https://github.com/stripe/stripe-go/pull/2068) Deduplicate telemetry strings
* Fixes a bug where telemetry strings could have duplicate values
* [#2070](https://github.com/stripe/stripe-go/pull/2070) Fix failing telemetry test
* [#2073](https://github.com/stripe/stripe-go/pull/2073) Update `DisputeReason` to include value `noncompliant`
* Adds `noncompliant` to `DisputeReason` enum
## 82.2.0 - 2025-05-29
This release changes the pinned API version to `2025-05-28.basil`.
* [#2062](https://github.com/stripe/stripe-go/pull/2062) Adds CONTRIBUTING.md
* [#2063](https://github.com/stripe/stripe-go/pull/2063) Update generated code
* Add support for `AttachPayment` method on resource `Invoice`
* Add support for `CollectInputs` method on resource `TerminalReader`
* Add support for `SucceedInputCollection` and `TimeoutInputCollection` test helper methods on resource `TerminalReader`
* Add support for `PixPayments` on `AccountCapabilitiesParams` and `AccountCapabilities`
* Add support for `DisputesList` and `PaymentDisputes` on `AccountSessionComponentsParams` and `AccountSessionComponents`
* Add support for `RefundAndDisputePrefunding` on `Balance`
* Add support for `BalanceType` on `BalanceTransaction`
* Add support for `Location` and `Reader` on `ChargePaymentMethodDetailsAffirm` and `ChargePaymentMethodDetailsWechatPay`
* Add support for `PaymentMethodRemove` on `CheckoutSessionSavedPaymentMethodOptionsParams`
* Add support for `SetupFutureUsage` on `CheckoutSessionPaymentMethodOptionsNaverPay`
* Add support for `PostPaymentAmount` and `PrePaymentAmount` on `CreditNote`
* Add support for new value `mixed` on enum `CreditNote.Type`
* Add support for new value `invoice_payment.paid` on enum `Event.Type`
* Add support for `Sex`, `UnparsedPlaceOfBirth`, and `UnparsedSex` on `IdentityVerificationReportDocument` and `IdentityVerificationSessionVerifiedOutputs`
* Add support for `BillingThresholds` on `InvoiceCreatePreviewScheduleDetailsPhaseItemParams`, `InvoiceCreatePreviewScheduleDetailsPhaseParams`, `InvoiceCreatePreviewSubscriptionDetailsItemParams`, `SubscriptionItemParams`, `SubscriptionItem`, `SubscriptionParams`, `SubscriptionScheduleDefaultSettingsParams`, `SubscriptionScheduleDefaultSettings`, `SubscriptionSchedulePhaseItemParams`, `SubscriptionSchedulePhaseItem`, `SubscriptionSchedulePhaseParams`, `SubscriptionSchedulePhase`, and `Subscription`
* Add support for `Satispay` on `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptionsParams`, and `PaymentIntentPaymentMethodOptions`
* Add support for `CaptureMethod` on `PaymentIntentPaymentMethodOptionsBillie`
* Add support for `KakaoPay`, `KrCard`, `NaverPay`, `Payco`, and `SamsungPay` on `PaymentMethodConfigurationParams` and `PaymentMethodConfiguration`
* Add support for `NetworkDeclineCode` on `RefundDestinationDetailsPaypal`
* Add support for `Metadata` on `TaxCalculationLineItemParams` and `TaxCalculationLineItem`
* Add support for `ReturnURL` on `TerminalReaderActionProcessPaymentIntentProcessConfig` and `TerminalReaderProcessPaymentIntentProcessConfigParams`
* Add support for `CollectInputs` on `TerminalReaderAction`
* Add support for new value `collect_inputs` on enum `TerminalReaderAction.Type`
* Add support for new value `simulated_stripe_s700` on enum `TerminalReader.DeviceType`
* Add support for snapshot event `EventTypeInvoicePaymentPaid` with resource `InvoicePayment`
* Add support for error code `forwarding_api_upstream_error` on `Error`, `InvoiceLastFinalizationError`, `PaymentIntentLastPaymentError`, `SetupAttemptSetupError`, `SetupIntentLastSetupError`, and `StripeError`
## 82.1.0 - 2025-04-30
This release changes the pinned API version to `2025-04-30.basil`.
### 🎉 Introducing new Stripe Client
Starting with v82.1, the new `stripe.Client` type is replacing `client.API` to provide a more ergonomic, consistent, and less error-prone experience. You create the former using `stripe.NewClient(stripeKey)`. It’s almost a drop-in replacement, except for the differences listed below.
1. Service method names now align with Stripe API docs. The `stripe.Client` uses `Create`, `Retrieve`, `Update`, and `Delete` (instead of `New`, `Get`, `Update`, and `Del`).
2. The first argument of each service method is a `context.Context`.
3. Parameter objects are now method-specific. For example, `CustomerCreateParams` and `CustomerDeleteParams` instead of simply `CustomerParams`. This allows us to put the right fields in the right methods at compile time.
4. Services are all version-namespaced for symmetry. E.g. `stripeClient.V1BillingMeterEvents` and `stripeClient.V2BillingMeterEvents`.
5. `List` methods return an `iter.Seq2`, so they can be ranged over without explicit calls to `Next`, `Current`, and `Err`.
### 🎉 Native support in Go for V2 APIs
```go
params := &stripe.V2CoreEventListParams{ObjectID: stripe.String("mtr_123")}
for event, err := range sc.V2CoreEvents.List(context.TODO(), params) {
// handle err
// process event object
}
```
More details can be found at https://github.com/stripe/stripe-go/wiki/Migration-guide-for-Stripe-Client
* [#2018](https://github.com/stripe/stripe-go/pull/2018) Backport beta fixes
* [#1916](https://github.com/stripe/stripe-go/pull/1916) perf: do not computing signature when timestamp is not valid
* [#1860](https://github.com/stripe/stripe-go/pull/1860) fix: typo in error
* [#2022](https://github.com/stripe/stripe-go/pull/2022) Improved handling for enums in params
* You can now pass `string` enums into `stripe.String`. For example, `stripe.String(stripe.CurrencyUSD)` instead of `stripe.String(string(stripe.CurrencyUSD))`
* All V2 APIs are now supported natively through the `stripe.Client`
* [#2029](https://github.com/stripe/stripe-go/pull/2029) Update generated code
* Add support for `MinorityOwnedBusinessDesignation` on `AccountBusinessProfileParams` and `AccountBusinessProfile`
* Add support for `RegistrationDate` on `AccountCompanyParams`, `AccountCompany`, and `TokenAccountCompanyParams`
* Add support for `USCfpbData` on `AccountParams`, `PersonParams`, `Person`, and `TokenPersonParams`
* Add support for new value `tax_id_prohibited` on enums `InvoiceLastFinalizationError.Code`, `PaymentIntentLastPaymentError.Code`, `SetupAttemptSetupError.Code`, `SetupIntentLastSetupError.Code`, and `StripeError.Code`
* Add support for new value `verification_legal_entity_structure_mismatch` on enums `BankAccountFutureRequirementsErrors.Code` and `BankAccountRequirementsErrors.Code`
* Add support for `TaxID` on `ChargeBillingDetails`, `ConfirmationTokenPaymentMethodDataBillingDetailsParams`, `ConfirmationTokenPaymentMethodPreviewBillingDetails`, `PaymentIntentConfirmPaymentMethodDataBillingDetailsParams`, `PaymentIntentPaymentMethodDataBillingDetailsParams`, `PaymentMethodBillingDetailsParams`, `PaymentMethodBillingDetails`, `SetupIntentConfirmPaymentMethodDataBillingDetailsParams`, `SetupIntentPaymentMethodDataBillingDetailsParams`, `TestHelpersConfirmationTokenPaymentMethodDataBillingDetailsParams`, and `TreasuryOutboundPaymentDestinationPaymentMethodDataBillingDetailsParams`
* Add support for `WalletOptions` on `CheckoutSessionParams` and `CheckoutSession`
* Add support for `Provider` on `CheckoutSessionAutomaticTax`, `InvoiceAutomaticTax`, and `QuoteAutomaticTax`
* Add support for new values `aw_tin`, `az_tin`, `bd_bin`, `bf_ifu`, `bj_ifu`, `cm_niu`, `cv_nif`, `et_tin`, `kg_tin`, and `la_tin` on enums `CheckoutSessionCustomerDetailsTaxIds.Type`, `TaxCalculationCustomerDetailsTaxId.Type`, `TaxId.Type`, and `TaxTransactionCustomerDetailsTaxId.Type`
* Add support for `PaymentMethodOptions` on `ConfirmationTokenParams` and `TestHelpersConfirmationTokenParams`
* Add support for `Installments` on `ConfirmationTokenPaymentMethodOptionsCard`
* Add support for `Context` on `Event`
* Add support for new value `affirm` on enums `InvoicePaymentSettings.PaymentMethodTypes` and `SubscriptionPaymentSettings.PaymentMethodTypes`
* Add support for `Billie` on `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptionsParams`, and `PaymentIntentPaymentMethodOptions`
* Add support for `Pix` on `PaymentMethodConfigurationParams` and `PaymentMethodConfiguration`
* Add support for `Klarna` on `PaymentMethodDomain`
* Add support for `PendingReason` on `Refund`
* Add support for `Aw`, `Az`, `Bd`, `Bf`, `Bj`, `Cm`, `Cv`, `ET`, `In`, `Kg`, `La`, and `Ph` on `TaxRegistrationCountryOptionsParams` and `TaxRegistrationCountryOptions`
## 82.0.0 - 2025-04-01
This release changes the pinned API version to `2025-03-31.basil`.
* [#1992](https://github.com/stripe/stripe-go/pull/1992) Support for APIs in the new API version 2025-03-31.basil
This release changes the pinned API version to `2025-03-31.basil`.
### ⚠️ Breaking changes due to changes in the Stripe API
Please review details for the breaking changes and alternatives in the [Stripe API changelog](https://docs.stripe.com/changelog/basil) before upgrading.
* Remove support for resources `UsageRecordSummary` and `UsageRecord`
* Remove support for `New` method on resource `UsageRecord`
* Remove support for `List` method on resource `UsageRecordSummary`
* Remove support for `UpcomingLines` and `Upcoming` methods on resource `Invoice`
* Remove support for `UsageRecordSummaries` method on resource `SubscriptionItem`
* Remove support for `Invoice` on `Charge` and `PaymentIntent`
* Remove support for `ShippingDetails` on `CheckoutSession`
* Remove support for `Carrier`, `Phone`, and `TrackingNumber` on `CheckoutSessionCollectedInformationShippingDetails`
* Remove support for `Refund` on `CreditNoteParams`, `CreditNotePreviewLinesParams`, `CreditNotePreviewParams`, and `CreditNote`
* Remove support for `TaxAmounts` on `CreditNoteLineItem`, `CreditNote`, and `InvoiceLineItem`
* Remove support for `AmountExcludingTax` and `UnitAmountExcludingTax` on `CreditNoteLineItem` and `InvoiceLineItem`
* Remove support for `Coupon` on `CustomerParams`, `InvoiceCreatePreviewParams`, `InvoiceCreatePreviewScheduleDetailsPhasesParams`, `SubscriptionParams`, `SubscriptionSchedulePhasesParams`, and `SubscriptionSchedulePhases`
* Remove support for `PromotionCode` on `CustomerParams` and `SubscriptionParams`
* Remove support for `Price` on `InvoiceAddLinesLinesParams`, `InvoiceItemParams`, `InvoiceItem`, `InvoiceLineItemParams`, `InvoiceLineItem`, and `InvoiceUpdateLinesLinesParams`
* Remove support for `BillingThresholds` on `InvoiceCreatePreviewScheduleDetailsPhasesItemsParams`, `InvoiceCreatePreviewScheduleDetailsPhasesParams`, `InvoiceCreatePreviewSubscriptionDetailsItemsParams`, `SubscriptionItemParams`, `SubscriptionItem`, `SubscriptionItemsParams`, `SubscriptionParams`, `SubscriptionScheduleDefaultSettingsParams`, `SubscriptionScheduleDefaultSettings`, `SubscriptionSchedulePhasesItemsParams`, `SubscriptionSchedulePhasesItems`, `SubscriptionSchedulePhasesParams`, `SubscriptionSchedulePhases`, and `Subscription`
* Remove support for `ApplicationFeeAmount`, `Charge`, `PaidOutOfBand`, `Paid`, `PaymentIntent`, `Quote`, `Subscription`, `SubscriptionDetails`, `SubscriptionProrationDate`, `Tax`, `TotalTaxAmounts`, and `TransferData` on `Invoice`
* Remove support for `Discount` on `Invoice` and `Subscription`
* Remove support for `InvoiceItem`, `ProrationDetails`, `Proration`, `TaxRates`, and `Type` on `InvoiceLineItem`
* Remove support for `Plan` and `SubscriptionItem` on `InvoiceItem` and `InvoiceLineItem`
* Remove support for `UnitAmount` on `InvoiceItemParams` and `InvoiceItem`
* Remove support for `Subscription` and `UnitAmountDecimal` on `InvoiceItem`
* Remove support for `NaverPay` on `PaymentMethodParams`
* Remove support for `AggregateUsage` on `PlanParams`, `Plan`, `PriceRecurringParams`, and `PriceRecurring`
* Remove support for `CurrentPeriodEnd` and `CurrentPeriodStart` on `Subscription`
### ⚠️ Other Breaking changes in the SDK
* [#1999](https://github.com/stripe/stripe-go/pull/1999) Upgrade to go 1.18
* Go version 1.18 or later is now required to address security vulnerabilities in Go <= 1.17. In particular, HTTP/2 is enabled now by default for all users (it was disabled for Go <= 1.14).
* [#1998](https://github.com/stripe/stripe-go/pull/1998) Breaking changes to support V2
* Renamed the `stripe.Amount` type in the `stripe.Balance` object to `stripe.BalanceAmount`
* Changed the signature of the `CallRaw` method in the `stripe.Backend` interface to accept a `[]byte` instead of `*form.Values` in its fourth argument. Call sites can safely replace a `*form.Values` argument `v` with `[]byte(v.Encode())` (`Encode` is `nil`-safe).
### Additions to Stripe API
* Add support for new resource `InvoicePayment`
* Add support for `Get` and `List` methods on resource `InvoicePayment`
* Add support for `BilliePayments`, `NzBankAccountBECSDebitPayments`, and `SatispayPayments` on `AccountCapabilitiesParams` and `AccountCapabilities`
* Add support for `HostedPaymentMethodSave` on `AccountSettingsInvoicesParams` and `AccountSettingsInvoices`
* Add support for `Invoices` on `AccountSettingsParams`
* Add support for new values `forwarding_api_retryable_upstream_error` and `setup_intent_mobile_wallet_unsupported` on enums `InvoiceLastFinalizationError.Code`, `PaymentIntentLastPaymentError.Code`, `SetupAttemptSetupError.Code`, `SetupIntentLastSetupError.Code`, and `StripeError.Code`
* Add support for new values `stripe_balance_payment_debit_reversal` and `stripe_balance_payment_debit` on enum `BalanceTransaction.Type`
* Add support for new values `information_missing`, `invalid_signator`, `verification_failed_authorizer_authority`, and `verification_rejected_ownership_exemption_reason` on enums `BankAccountFutureRequirementsErrors.Code` and `BankAccountRequirementsErrors.Code`
* Add support for new value `last` on enum `BillingMeterDefaultAggregation.Formula`
* Add support for `PresentmentDetails` on `Charge`, `CheckoutSession`, `PaymentIntent`, and `Refund`
* Add support for `Billie` and `Satispay` on `ChargePaymentMethodDetails`, `ConfirmationTokenPaymentMethodDataParams`, `ConfirmationTokenPaymentMethodPreview`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentMethodConfigurationParams`, `PaymentMethodConfiguration`, `PaymentMethodParams`, `PaymentMethod`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams`
* Add support for `NzBankAccount` on `ChargePaymentMethodDetails`, `ConfirmationTokenPaymentMethodDataParams`, `ConfirmationTokenPaymentMethodPreview`, `MandatePaymentMethodDetails`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodConfigurationParams`, `PaymentMethodConfiguration`, `PaymentMethodParams`, `PaymentMethod`, `SetupAttemptPaymentMethodDetails`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams`
* Add support for `OptionalItems` on `CheckoutSessionParams`, `CheckoutSession`, `PaymentLinkParams`, and `PaymentLink`
* Add support for `Permissions` on `CheckoutSessionParams` and `CheckoutSession`
* Add support for `ShippingOptions` on `CheckoutSessionParams`
* Add support for new value `custom` on enum `CheckoutSession.UIMode`
* Add support for `BuyerID` on `ConfirmationTokenPaymentMethodPreviewNaverPay` and `PaymentMethodNaverPay`
* Add support for new values `billie`, `nz_bank_account`, and `satispay` on enums `ConfirmationTokenPaymentMethodPreview.Type` and `PaymentMethod.Type`
* Add support for `Refunds` on `CreditNoteParams`, `CreditNotePreviewLinesParams`, `CreditNotePreviewParams`, and `CreditNote`
* Add support for `TotalTaxes` on `CreditNote` and `Invoice`
* Add support for `Taxes` on `CreditNoteLineItem` and `InvoiceLineItem`
* Add support for `TaxabilityReason` on `InvoiceAddLinesLinesTaxAmountsParams`, `InvoiceLineItemTaxAmountsParams`, and `InvoiceUpdateLinesLinesTaxAmountsParams`
* Add support for `JurisdictionLevel` on `InvoiceAddLinesLinesTaxAmountsTaxRateDataParams`, `InvoiceLineItemTaxAmountsTaxRateDataParams`, and `InvoiceUpdateLinesLinesTaxAmountsTaxRateDataParams`
* Add support for `AmountOverpaid`, `ConfirmationSecret`, and `Payments` on `Invoice`
* Add support for `Parent` on `InvoiceItem`, `InvoiceLineItem`, and `Invoice`
* Add support for new values `klarna` and `nz_bank_account` on enums `InvoicePaymentSettings.PaymentMethodTypes` and `SubscriptionPaymentSettings.PaymentMethodTypes`
* Add support for `CheckoutSession` on `CustomerBalanceTransaction`
* Add support for new values `checkout_session_subscription_payment_canceled` and `checkout_session_subscription_payment` on enum `CustomerBalanceTransaction.Type`
* Add support for new value `invoice.overpaid` on enum `Event.Type`
* Add support for `Pricing` on `InvoiceAddLinesLinesParams`, `InvoiceItemParams`, `InvoiceItem`, `InvoiceLineItemParams`, `InvoiceLineItem`, and `InvoiceUpdateLinesLinesParams`
* Add support for `Wifi` on `TerminalConfigurationParams` and `TerminalConfiguration`
* Add support for `NzBankTransfer` on `RefundDestinationDetails`
* Add support for new value `canceled` on enum `Review.ClosedReason`
* Add support for `CurrentPeriodEnd` and `CurrentPeriodStart` on `SubscriptionItem`
* Add support for `NaverPay` on `MandatePaymentMethodDetails` and `SetupAttemptPaymentMethodDetails`
* Add support for `SetupFutureUsage` on `PaymentIntentConfirmPaymentMethodOptionsNaverPayParams`, `PaymentIntentPaymentMethodOptionsNaverPayParams`, and `PaymentIntentPaymentMethodOptionsNaverPay`
* Add support for new value `expired` on enum `PaymentIntent.CancellationReason`
* Add support for `DefaultValue` on `PaymentLinkCustomFieldsDropdownParams`, `PaymentLinkCustomFieldsDropdown`, `PaymentLinkCustomFieldsNumericParams`, `PaymentLinkCustomFieldsNumeric`, `PaymentLinkCustomFieldsTextParams`, and `PaymentLinkCustomFieldsText`
* Add support for new values `billie` and `satispay` on enum `PaymentLink.PaymentMethodTypes`
## 81.4.0 - 2025-02-24
This release changes the pinned API version to `2025-02-24.acacia`.
* [#1983](https://github.com/stripe/stripe-go/pull/1983) Add GetParams methods to root params objects
* Adds `nil`-safe `GetParams` methods to all top-level Params structs
* [#1984](https://github.com/stripe/stripe-go/pull/1984) Revert "Add GetParams methods to root params objects"
* [#1982](https://github.com/stripe/stripe-go/pull/1982) Add usage data for stripe client usage
* Add telemetry for usage of the Stripe Client
* [#1985](https://github.com/stripe/stripe-go/pull/1985) Add Stripe Client to example tests
* [#1988](https://github.com/stripe/stripe-go/pull/1988) add codeowners file
* [#1986](https://github.com/stripe/stripe-go/pull/1986) Update generated code
* Add support for `Prices` on `BillingCreditBalanceSummaryFilterApplicabilityScopeParams`, `BillingCreditGrantApplicabilityConfigScopeParams`, and `BillingCreditGrantApplicabilityConfigScope`
* Add support for `Priority` on `BillingCreditGrantParams` and `BillingCreditGrant`
* Add support for `TargetDate` on `CheckoutSessionPaymentMethodOptionsAcssDebitParams`, `CheckoutSessionPaymentMethodOptionsAcssDebit`, `CheckoutSessionPaymentMethodOptionsAuBecsDebitParams`, `CheckoutSessionPaymentMethodOptionsAuBecsDebit`, `CheckoutSessionPaymentMethodOptionsBacsDebitParams`, `CheckoutSessionPaymentMethodOptionsBacsDebit`, `CheckoutSessionPaymentMethodOptionsSepaDebitParams`, `CheckoutSessionPaymentMethodOptionsSepaDebit`, `CheckoutSessionPaymentMethodOptionsUsBankAccountParams`, `CheckoutSessionPaymentMethodOptionsUsBankAccount`, `PaymentIntentConfirmPaymentMethodOptionsAcssDebitParams`, `PaymentIntentConfirmPaymentMethodOptionsAuBecsDebitParams`, `PaymentIntentConfirmPaymentMethodOptionsBacsDebitParams`, `PaymentIntentConfirmPaymentMethodOptionsSepaDebitParams`, `PaymentIntentConfirmPaymentMethodOptionsUsBankAccountParams`, `PaymentIntentPaymentMethodOptionsAcssDebitParams`, `PaymentIntentPaymentMethodOptionsAcssDebit`, `PaymentIntentPaymentMethodOptionsAuBecsDebitParams`, `PaymentIntentPaymentMethodOptionsAuBecsDebit`, `PaymentIntentPaymentMethodOptionsBacsDebitParams`, `PaymentIntentPaymentMethodOptionsBacsDebit`, `PaymentIntentPaymentMethodOptionsSepaDebitParams`, `PaymentIntentPaymentMethodOptionsSepaDebit`, `PaymentIntentPaymentMethodOptionsUsBankAccountParams`, and `PaymentIntentPaymentMethodOptionsUsBankAccount`
* Add support for `Restrictions` on `CheckoutSessionPaymentMethodOptionsCardParams` and `CheckoutSessionPaymentMethodOptionsCard`
* Add support for `CollectedInformation` on `CheckoutSessionParams` and `CheckoutSession`
* Add support for `Metadata` on `ProductDefaultPriceDataParams`
## 81.3.1 - 2025-02-03
* ⚠️ [#1980](https://github.com/stripe/stripe-go/pull/1980) Update generated code
* ⚠️ Fix acronym `JPY` in TerminalConfiguration that were not correctly capitalized
## 81.3.0 - 2025-01-27
This release changes the pinned API version to `2025-01-27.acacia`.
* [#1962](https://github.com/stripe/stripe-go/pull/1962) Added pull request template
* [#1967](https://github.com/stripe/stripe-go/pull/1967) Added CONTRIBUTING.md file
* [#1964](https://github.com/stripe/stripe-go/pull/1964) add justfile, update readme, remove coveralls
* [#1970](https://github.com/stripe/stripe-go/pull/1970) fix justfile ordering bug
* [#1969](https://github.com/stripe/stripe-go/pull/1969) pin CI and fix formatting
* [#1965](https://github.com/stripe/stripe-go/pull/1965) Update generated code
* Add support for `Close` method on resource `Treasury.FinancialAccount`
* Add support for `PayByBankPayments` on `AccountCapabilitiesParams` and `AccountCapabilities`
* Add support for `DirectorshipDeclaration` and `OwnershipExemptionReason` on `AccountCompanyParams`, `AccountCompany`, and `TokenAccountCompanyParams`
* Add support for `ProofOfUltimateBeneficialOwnership` on `AccountDocumentsParams`
* Add support for `FinancialAccount` on `AccountSessionComponentsParams`, `AccountSessionComponents`, and `TreasuryOutboundTransferDestinationPaymentMethodDetails`
* Add support for `FinancialAccountTransactions`, `IssuingCard`, and `IssuingCardsList` on `AccountSessionComponentsParams` and `AccountSessionComponents`
* Add support for `AdviceCode` on `ChargeOutcome`, `InvoiceLastFinalizationError`, `PaymentIntentLastPaymentError`, `SetupAttemptSetupError`, `SetupIntentLastSetupError`, and `StripeError`
* Add support for `PayByBank` on `ChargePaymentMethodDetails`, `CheckoutSessionPaymentMethodOptionsParams`, `ConfirmationTokenPaymentMethodDataParams`, `ConfirmationTokenPaymentMethodPreview`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodConfigurationParams`, `PaymentMethodConfiguration`, `PaymentMethodParams`, `PaymentMethod`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams`
* Add support for `Country` on `ChargePaymentMethodDetailsPaypal`, `ConfirmationTokenPaymentMethodPreviewPaypal`, and `PaymentMethodPaypal`
* Add support for `Discounts` on `CheckoutSession`
* Add support for new value `SD` on enums `CheckoutSessionShippingAddressCollectionAllowedCountries` and `PaymentLinkShippingAddressCollectionAllowedCountries`
* Add support for new value `pay_by_bank` on enums `ConfirmationTokenPaymentMethodPreviewType` and `PaymentMethodType`
* Add support for `PhoneNumberCollection` on `PaymentLinkParams`
* Add support for new value `pay_by_bank` on enum `PaymentLinkPaymentMethodTypes`
* Add support for `Jpy` on `TerminalConfigurationTippingParams` and `TerminalConfigurationTipping`
* Add support for `Nickname` on `TreasuryFinancialAccountParams` and `TreasuryFinancialAccount`
* Add support for `ForwardingSettings` on `TreasuryFinancialAccountParams`
* Add support for `IsDefault` on `TreasuryFinancialAccount`
* Add support for `DestinationPaymentMethodData` on `TreasuryOutboundTransferParams`
* Change type of `TreasuryOutboundTransferDestinationPaymentMethodDetailsType` from `literal('us_bank_account')` to `enum('financial_account'|'us_bank_account')`
* Add support for `OutboundTransfer` on `TreasuryReceivedCreditLinkedFlowsSourceFlowDetails`
* Add support for new value `outbound_transfer` on enum `TreasuryReceivedCreditLinkedFlowsSourceFlowDetailsType`
## 81.2.0 - 2024-12-18
This release changes the pinned API version to `2024-12-18.acacia`.
* [#1957](https://github.com/stripe/stripe-go/pull/1957) Update generated code
* Add support for `NetworkAdviceCode` and `NetworkDeclineCode` on `ChargeOutcome`, `InvoiceLastFinalizationError`, `PaymentIntentLastPaymentError`, `SetupAttemptSetupError`, `SetupIntentLastSetupError`, and `StripeError`
* Add support for new values `payout_minimum_balance_hold` and `payout_minimum_balance_release` on enum `BalanceTransactionType`
* Add support for `CreditsApplicationInvoiceVoided` on `BillingCreditBalanceTransactionCredit`
* Change type of `BillingCreditBalanceTransactionCreditType` from `literal('credits_granted')` to `enum('credits_application_invoice_voided'|'credits_granted')`
* Add support for `AllowRedisplay` on `Card` and `Source`
* Add support for `RegulatedStatus` on `Card`, `ChargePaymentMethodDetailsCard`, `ConfirmationTokenPaymentMethodPreviewCard`, and `PaymentMethodCard`
* Add support for `Funding` on `ChargePaymentMethodDetailsAmazonPay` and `ChargePaymentMethodDetailsRevolutPay`
* Add support for `NetworkTransactionID` on `ChargePaymentMethodDetailsCard`
* Add support for `ReferencePrefix` on `CheckoutSessionPaymentMethodOptionsBacsDebitMandateOptionsParams`, `CheckoutSessionPaymentMethodOptionsBacsDebitMandateOptions`, `CheckoutSessionPaymentMethodOptionsSepaDebitMandateOptionsParams`, `CheckoutSessionPaymentMethodOptionsSepaDebitMandateOptions`, `PaymentIntentConfirmPaymentMethodOptionsBacsDebitMandateOptionsParams`, `PaymentIntentConfirmPaymentMethodOptionsSepaDebitMandateOptionsParams`, `PaymentIntentPaymentMethodOptionsBacsDebitMandateOptionsParams`, `PaymentIntentPaymentMethodOptionsBacsDebitMandateOptions`, `PaymentIntentPaymentMethodOptionsSepaDebitMandateOptionsParams`, `PaymentIntentPaymentMethodOptionsSepaDebitMandateOptions`, `SetupIntentConfirmPaymentMethodOptionsBacsDebitMandateOptionsParams`, `SetupIntentConfirmPaymentMethodOptionsSepaDebitMandateOptionsParams`, `SetupIntentPaymentMethodOptionsBacsDebitMandateOptionsParams`, `SetupIntentPaymentMethodOptionsBacsDebitMandateOptions`, `SetupIntentPaymentMethodOptionsSepaDebitMandateOptionsParams`, and `SetupIntentPaymentMethodOptionsSepaDebitMandateOptions`
* Add support for new values `al_tin`, `am_tin`, `ao_tin`, `ba_tin`, `bb_tin`, `bs_tin`, `cd_nif`, `gn_nif`, `kh_tin`, `me_pib`, `mk_vat`, `mr_nif`, `np_pan`, `sn_ninea`, `sr_fin`, `tj_tin`, `ug_tin`, `zm_tin`, and `zw_tin` on enums `CheckoutSessionCustomerDetailsTaxIdsType`, `InvoiceCustomerTaxIdsType`, `TaxCalculationCustomerDetailsTaxIdsType`, `TaxIdType`, and `TaxTransactionCustomerDetailsTaxIdsType`
* Add support for `VisaCompliance` on `DisputeEvidenceDetailsEnhancedEligibility`, `DisputeEvidenceEnhancedEvidenceParams`, and `DisputeEvidenceEnhancedEvidence`
* Add support for new value `request_signature` on enum `ForwardingRequestReplacements`
* Add support for `AccountHolderAddress` and `BankAddress` on `FundingInstructionsBankTransferFinancialAddressesIban`, `FundingInstructionsBankTransferFinancialAddressesSortCode`, `FundingInstructionsBankTransferFinancialAddressesSpei`, `FundingInstructionsBankTransferFinancialAddressesZengin`, `PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesIban`, `PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesSortCode`, `PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesSpei`, and `PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesZengin`
* Add support for `AccountHolderName` on `FundingInstructionsBankTransferFinancialAddressesSpei` and `PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesSpei`
* Add support for `DisabledReason` on `InvoiceAutomaticTax`, `SubscriptionAutomaticTax`, `SubscriptionScheduleDefaultSettingsAutomaticTax`, and `SubscriptionSchedulePhasesAutomaticTax`
* Add support for `TaxID` on `IssuingAuthorizationMerchantData` and `IssuingTransactionMerchantData`
* Add support for `TrialPeriodDays` on `PaymentLinkSubscriptionDataParams`
* Add support for `Al`, `Am`, `Ao`, `Ba`, `Bb`, `Bs`, `Cd`, `Gn`, `Kh`, `Me`, `Mk`, `Mr`, `Np`, `Pe`, `Sn`, `Sr`, `Tj`, `Ug`, `Uy`, `Zm`, and `Zw` on `TaxRegistrationCountryOptionsParams` and `TaxRegistrationCountryOptions`
## 81.1.1 - 2024-12-05
* [#1955](https://github.com/stripe/stripe-go/pull/1955) Temporarily add payment_method parameter to BankAccountParams
## 81.1.0 - 2024-11-20
This release changes the pinned API version to `2024-11-20.acacia`.
* [#1951](https://github.com/stripe/stripe-go/pull/1951) Update generated code
* Add support for `Respond` test helper method on resource `Issuing.Authorization`
* Add support for `Authorizer` on `AccountPersonsRelationshipParams` and `TokenPersonRelationshipParams`
* Change type of `AccountFutureRequirementsDisabledReason` and `AccountRequirementsDisabledReason` from `string` to `enum`
* Add support for `AdaptivePricing` on `CheckoutSessionParams` and `CheckoutSession`
* Add support for `MandateOptions` on `CheckoutSessionPaymentMethodOptionsBacsDebitParams`, `CheckoutSessionPaymentMethodOptionsBacsDebit`, `CheckoutSessionPaymentMethodOptionsSepaDebitParams`, and `CheckoutSessionPaymentMethodOptionsSepaDebit`
* Add support for `RequestExtendedAuthorization`, `RequestIncrementalAuthorization`, `RequestMulticapture`, and `RequestOvercapture` on `CheckoutSessionPaymentMethodOptionsCardParams` and `CheckoutSessionPaymentMethodOptionsCard`
* Add support for `CaptureMethod` on `CheckoutSessionPaymentMethodOptionsKakaoPayParams`, `CheckoutSessionPaymentMethodOptionsKrCardParams`, `CheckoutSessionPaymentMethodOptionsNaverPayParams`, `CheckoutSessionPaymentMethodOptionsPaycoParams`, and `CheckoutSessionPaymentMethodOptionsSamsungPayParams`
* Add support for new value `li_vat` on enums `CheckoutSessionCustomerDetailsTaxIdsType`, `InvoiceCustomerTaxIdsType`, `TaxCalculationCustomerDetailsTaxIdsType`, `TaxIdType`, and `TaxTransactionCustomerDetailsTaxIdsType`
* Add support for new value `subscribe` on enums `CheckoutSessionSubmitType` and `PaymentLinkSubmitType`
* Add support for new value `financial_account_statement` on enum `FilePurpose`
* Add support for `AccountHolderAddress`, `AccountHolderName`, `AccountType`, and `BankAddress` on `FundingInstructionsBankTransferFinancialAddressesAba`, `FundingInstructionsBankTransferFinancialAddressesSwift`, `PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesAba`, and `PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesSwift`
* Add support for `MerchantAmount` and `MerchantCurrency` on `IssuingAuthorizationParams`
* Add support for `FraudChallenges` and `VerifiedByFraudChallenge` on `IssuingAuthorization`
* Add support for new value `link` on enums `PaymentIntentPaymentMethodOptionsCardNetwork`, `SetupIntentPaymentMethodOptionsCardNetwork`, and `SubscriptionPaymentSettingsPaymentMethodOptionsCardNetwork`
* Add support for `SubmitType` on `PaymentLinkParams`
* Add support for `TraceID` on `Payout`
* Add support for `NetworkDeclineCode` on `RefundDestinationDetailsBlik` and `RefundDestinationDetailsSwish`
* Add support for new value `service_tax` on enums `TaxCalculationLineItemTaxBreakdownTaxRateDetailsTaxType`, `TaxCalculationShippingCostTaxBreakdownTaxRateDetailsTaxType`, `TaxCalculationTaxBreakdownTaxRateDetailsTaxType`, `TaxRateTaxType`, and `TaxTransactionShippingCostTaxBreakdownTaxRateDetailsTaxType`
## 81.0.0 - 2024-10-29
This release changes the pinned API version to `2024-10-28.acacia`.
Historically, when upgrading webhooks to a new API version, you also had to upgrade your SDK version. Your webhook's API version needed to match the API version pinned by the SDK you were using to ensure successful deserialization of events. With the `2024-09-30.acacia` release, Stripe follows a [new API release process](https://stripe.com/blog/introducing-stripes-new-api-release-process). As a result, you can safely upgrade your webhook endpoints to any API version within a biannual release (like `acacia`) without upgrading the SDK.
However, [a bug](https://github.com/stripe/stripe-go/pull/1940) in the `80.x.y` SDK releases meant that webhook version upgrades from the SDK's pinned `2024-09-30.acacia` version to the new `2024-10-28.acacia` version would fail. Therefore, we are shipping SDK support for `2024-10-28.acacia` as a major version to enforce the idea that an SDK upgrade is also required. Future API versions in the `acacia` line will be released as minor versions.
* [#1931](https://github.com/stripe/stripe-go/pull/1931) Update generated code
* Add support for new resource `V2.EventDestinations`
* Add support for `New`, `Retrieve`, `Update`, `List`, `Delete`, `Disable`, `Enable` and `Ping` methods on resource `V2.EventDestinations`
* Add support for `SubmitCard` test helper method on resource `Issuing.Card`
* Add support for `Groups` on `AccountParams` and `Account`
* Add support for `AlmaPayments`, `KakaoPayPayments`, `KrCardPayments`, `NaverPayPayments`, `PaycoPayments`, and `SamsungPayPayments` on `AccountCapabilitiesParams` and `AccountCapabilities`
* Add support for `DisableStripeUserAuthentication` on `AccountSessionComponentsAccountManagementFeaturesParams`, `AccountSessionComponentsAccountManagementFeatures`, `AccountSessionComponentsAccountOnboardingFeaturesParams`, `AccountSessionComponentsAccountOnboardingFeatures`, `AccountSessionComponentsBalancesFeaturesParams`, `AccountSessionComponentsBalancesFeatures`, `AccountSessionComponentsNotificationBannerFeaturesParams`, `AccountSessionComponentsNotificationBannerFeatures`, `AccountSessionComponentsPayoutsFeaturesParams`, and `AccountSessionComponentsPayoutsFeatures`
* Add support for `ScheduleAtPeriodEnd` on `BillingPortalConfigurationFeaturesSubscriptionUpdateParams` and `BillingPortalConfigurationFeaturesSubscriptionUpdate`
* Add support for `Alma` on `ChargePaymentMethodDetails`, `ConfirmationTokenPaymentMethodDataParams`, `ConfirmationTokenPaymentMethodPreview`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodConfigurationParams`, `PaymentMethodConfiguration`, `PaymentMethodParams`, `PaymentMethod`, `RefundDestinationDetails`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams`
* Add support for `KakaoPay` and `KrCard` on `ChargePaymentMethodDetails`, `CheckoutSessionPaymentMethodOptionsParams`, `CheckoutSessionPaymentMethodOptions`, `ConfirmationTokenPaymentMethodDataParams`, `ConfirmationTokenPaymentMethodPreview`, `MandatePaymentMethodDetails`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SetupAttemptPaymentMethodDetails`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams`
* Add support for `NaverPay` on `ChargePaymentMethodDetails`, `CheckoutSessionPaymentMethodOptionsParams`, `CheckoutSessionPaymentMethodOptions`, `ConfirmationTokenPaymentMethodDataParams`, `ConfirmationTokenPaymentMethodPreview`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams`
* Add support for `Payco` and `SamsungPay` on `ChargePaymentMethodDetails`, `CheckoutSessionPaymentMethodOptionsParams`, `CheckoutSessionPaymentMethodOptions`, `ConfirmationTokenPaymentMethodDataParams`, `ConfirmationTokenPaymentMethodPreview`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams`
* Add support for new values `by_tin`, `ma_vat`, `md_vat`, `tz_vat`, `uz_tin`, and `uz_vat` on enums `CheckoutSessionCustomerDetailsTaxIdsType`, `InvoiceCustomerTaxIdsType`, `TaxCalculationCustomerDetailsTaxIdsType`, `TaxIdType`, and `TaxTransactionCustomerDetailsTaxIdsType`
* Add support for new values `alma`, `kakao_pay`, `kr_card`, `naver_pay`, `payco`, and `samsung_pay` on enums `ConfirmationTokenPaymentMethodPreviewType` and `PaymentMethodType`
* Add support for `EnhancedEvidence` on `DisputeEvidenceParams` and `DisputeEvidence`
* Add support for `EnhancedEligibilityTypes` on `Dispute`
* Add support for `EnhancedEligibility` on `DisputeEvidenceDetails`
* Add support for new values `issuing_transaction.purchase_details_receipt_updated` and `refund.failed` on enum `EventType`
* Add support for `Metadata` on `ForwardingRequestParams` and `ForwardingRequest`
* Add support for `AutomaticallyFinalizesAt` on `InvoiceParams`
* Add support for new values `jp_credit_transfer`, `kakao_pay`, `kr_card`, `naver_pay`, and `payco` on enums `InvoicePaymentSettingsPaymentMethodTypes` and `SubscriptionPaymentSettingsPaymentMethodTypes`
* Add support for new value `alma` on enum `PaymentLinkPaymentMethodTypes`
* Add support for `AmazonPay` on `PaymentMethodDomain`
* Change type of `RefundNextActionDisplayDetails` from `nullable(RefundNextActionDisplayDetails)` to `RefundNextActionDisplayDetails`
* Add support for new value `retail_delivery_fee` on enums `TaxCalculationLineItemTaxBreakdownTaxRateDetailsTaxType`, `TaxCalculationShippingCostTaxBreakdownTaxRateDetailsTaxType`, `TaxCalculationTaxBreakdownTaxRateDetailsTaxType`, `TaxRateTaxType`, and `TaxTransactionShippingCostTaxBreakdownTaxRateDetailsTaxType`
* Add support for `FlatAmount` and `RateType` on `TaxCalculationTaxBreakdownTaxRateDetails` and `TaxRate`
* Add support for `By`, `Cr`, `Ec`, `Ma`, `Md`, `RU`, `Rs`, `Tz`, and `Uz` on `TaxRegistrationCountryOptionsParams` and `TaxRegistrationCountryOptions`
* Add support for new value `state_retail_delivery_fee` on enum `TaxRegistrationCountryOptionsUsType`
* Add support for `Pln` on `TerminalConfigurationTippingParams` and `TerminalConfigurationTipping`
## 80.2.1 - 2024-10-29
* [#1940](https://github.com/stripe/stripe-go/pull/1940) Update webhook API version validation
- Update webhook event processing to accept events from any API version within the supported major release
## 80.2.0 - 2024-10-09
* [#1929](https://github.com/stripe/stripe-go/pull/1929) , [#1933](https://github.com/stripe/stripe-go/pull/1933) Remove rawrequests Post, Get, and Delete in favor of rawrequests.Client
* The individual `rawrequests` functions for Post, Get, and Delete methods are removed in favor of the client model which allows local configuration of backend and api key, which enables more flexible calls to new/preview/unsupported APIs.
## 80.1.0 - 2024-10-03
* [#1928](https://github.com/stripe/stripe-go/pull/1928) Update generated code
* Remove the support for resource `Margin` that was accidentally made public in the last release
## 80.0.0 - 2024-10-01
This release changes the pinned API version to `2024-09-30.acacia`.
* [#1926](https://github.com/stripe/stripe-go/pull/1926) Support for APIs in the new API version 2024-09-30.acacia
This release changes the pinned API version to `2024-09-30.acacia`. Please read the [API Changelog](https://docs.stripe.com/changelog/acacia#2024-09-30.acacia) and carefully review the API changes before upgrading.
### ⚠️ Breaking changes
* Rename `usage_threshold_config` to `usage_threshold` on `BillingAlertParams` and `BillingAlert`
* Remove support for `filter` on `BillingAlertParams` and `BillingAlert`. Use the filters on the `usage_threshold` instead
* Remove support for `CustomerConsentCollected` on `TerminalReaderProcessSetupIntentParams`
### Additions
* Add support for `CustomUnitAmount` on `ProductDefaultPriceDataParams`
* Add support for `AllowRedisplay` on `TerminalReaderProcessPaymentIntentProcessConfigParams` and `TerminalReaderProcessSetupIntentParams`
* Add support for new value `international_transaction` on enum `TreasuryReceivedCreditFailureCode`
* Add method [RawRequest()](https://github.com/stripe/stripe-go/tree/master?tab=readme-ov-file#custom-requests) that takes a HTTP method type, url and relevant parameters to make requests to the Stripe API that are not yet supported in the SDK.
## 79.12.0 - 2024-09-18
* [#1919](https://github.com/stripe/stripe-go/pull/1919) Update generated code
* Add support for new value `international_transaction` on enum `TreasuryReceivedDebitFailureCode`
* [#1918](https://github.com/stripe/stripe-go/pull/1918) Update generated code
* Add support for new value `verification_supportability` on enums `AccountFutureRequirementsErrorsCode`, `AccountRequirementsErrorsCode`, `BankAccountFutureRequirementsErrorsCode`, and `BankAccountRequirementsErrorsCode`
* Add support for new value `terminal_reader_invalid_location_for_activation` on enums `InvoiceLastFinalizationErrorCode`, `PaymentIntentLastPaymentErrorCode`, `SetupAttemptSetupErrorCode`, `SetupIntentLastSetupErrorCode`, and `StripeErrorCode`
* Add support for `PayerDetails` on `ChargePaymentMethodDetailsKlarna`
* Add support for `AmazonPay` on `DisputePaymentMethodDetails`
* Add support for new value `amazon_pay` on enum `DisputePaymentMethodDetailsType`
* Add support for `AutomaticallyFinalizesAt` on `Invoice`
* Add support for `StateSalesTax` on `TaxRegistrationCountryOptionsUsParams` and `TaxRegistrationCountryOptionsUs`
## 79.11.0 - 2024-09-12
* [#1912](https://github.com/stripe/stripe-go/pull/1912) Update generated code
* Add support for new resource `InvoiceRenderingTemplate`
* Add support for `Archive`, `Get`, `List`, and `Unarchive` methods on resource `InvoiceRenderingTemplate`
* Add support for `Required` on `CheckoutSessionTaxIdCollectionParams`, `CheckoutSessionTaxIdCollection`, `PaymentLinkTaxIdCollectionParams`, and `PaymentLinkTaxIdCollection`
* Add support for `Template` on `CustomerInvoiceSettingsRenderingOptionsParams`, `CustomerInvoiceSettingsRenderingOptions`, `InvoiceRenderingParams`, and `InvoiceRendering`
* Add support for `TemplateVersion` on `InvoiceRenderingParams` and `InvoiceRendering`
* Add support for new value `submitted` on enum `IssuingCardShippingStatus`
## 79.10.0 - 2024-09-05
* [#1906](https://github.com/stripe/stripe-go/pull/1906) Update generated code
* Add support for `SubscriptionItem` and `Subscription` on `BillingAlertFilterParams`
## 79.9.0 - 2024-08-29
* [#1910](https://github.com/stripe/stripe-go/pull/1910) Generate SDK for OpenAPI spec version 1230
* Add support for new value `hr_oib` on enums `CheckoutSessionCustomerDetailsTaxIdsType`, `InvoiceCustomerTaxIdsType`, `TaxCalculationCustomerDetailsTaxIdsType`, `TaxIdType`, and `TaxTransactionCustomerDetailsTaxIdsType`
* Add support for new value `issuing_regulatory_reporting` on enum `FilePurpose`
* Add support for `StatusDetails` on `TestHelpersTestClock`
## 79.8.0 - 2024-08-15
* [#1903](https://github.com/stripe/stripe-go/pull/1903) Use pinned version of staticcheck
* [#1904](https://github.com/stripe/stripe-go/pull/1904) Update generated code
* Add support for `AuthorizationCode` on `ChargePaymentMethodDetailsCard`
* Add support for `Wallet` on `ChargePaymentMethodDetailsCardPresent`, `ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethodDetailsCardPresent`, `ConfirmationTokenPaymentMethodPreviewCardPresent`, `PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent`, and `PaymentMethodCardPresent`
* Add support for `MandateOptions` on `PaymentIntentConfirmPaymentMethodOptionsBacsDebitParams`, `PaymentIntentPaymentMethodOptionsBacsDebitParams`, and `PaymentIntentPaymentMethodOptionsBacsDebit`
* Add support for `BACSDebit` on `SetupIntentConfirmPaymentMethodOptionsParams`, `SetupIntentPaymentMethodOptionsParams`, and `SetupIntentPaymentMethodOptions`
* Add support for `Chips` on `TreasuryOutboundPaymentTrackingDetailsUsDomesticWireParams`, `TreasuryOutboundPaymentTrackingDetailsUsDomesticWire`, `TreasuryOutboundTransferTrackingDetailsUsDomesticWireParams`, and `TreasuryOutboundTransferTrackingDetailsUsDomesticWire`
## 79.7.0 - 2024-08-08
* [#1899](https://github.com/stripe/stripe-go/pull/1899) Update generated code
* Add support for `Activate`, `Archive`, `Deactivate`, `Get`, `List`, and `New` methods on resource `Billing.Alert`
* Add support for `Get` method on resource `Tax.Calculation`
* Add support for new value `invalid_mandate_reference_prefix_format` on enums `InvoiceLastFinalizationErrorCode`, `PaymentIntentLastPaymentErrorCode`, `SetupAttemptSetupErrorCode`, `SetupIntentLastSetupErrorCode`, and `StripeErrorCode`
* Add support for `Type` on `ChargePaymentMethodDetailsCardPresentOffline`, `ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethodDetailsCardPresentOffline`, `PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentOffline`, and `SetupAttemptPaymentMethodDetailsCardPresentOffline`
* Add support for `Offline` on `ConfirmationTokenPaymentMethodPreviewCardPresent` and `PaymentMethodCardPresent`
* Add support for `RelatedCustomer` on `IdentityVerificationSessionListParams`, `IdentityVerificationSessionParams`, and `IdentityVerificationSession`
* Add support for new value `girocard` on enums `PaymentIntentPaymentMethodOptionsCardNetwork`, `SetupIntentPaymentMethodOptionsCardNetwork`, and `SubscriptionPaymentSettingsPaymentMethodOptionsCardNetwork`
* Add support for new value `financial_addresses.aba.forwarding` on enums `TreasuryFinancialAccountActiveFeatures`, `TreasuryFinancialAccountPendingFeatures`, and `TreasuryFinancialAccountRestrictedFeatures`
## 79.6.0 - 2024-08-01
* [#1895](https://github.com/stripe/stripe-go/pull/1895) Fixed config override with GetBackendWithConfig
* ⚠️ [#1897](https://github.com/stripe/stripe-go/pull/1897) Update generated code
* Add support for new resources `Billing.AlertTriggered` and `Billing.Alert`
* Add support for new value `charge_exceeds_transaction_limit` on enums `InvoiceLastFinalizationErrorCode`, `PaymentIntentLastPaymentErrorCode`, `SetupAttemptSetupErrorCode`, `SetupIntentLastSetupErrorCode`, and `StripeErrorCode`
* ⚠️ Remove support for `AuthorizationCode` on `ChargePaymentMethodDetailsCard`. This was accidentally released last week.
* Add support for new value `billing.alert.triggered` on enum `EventType`
## 79.5.0 - 2024-07-25
* [#1896](https://github.com/stripe/stripe-go/pull/1896) Update generated code
* Add support for `TaxRegistrations` and `TaxSettings` on `AccountSessionComponentsParams` and `AccountSessionComponents`
* [#1892](https://github.com/stripe/stripe-go/pull/1892) Update generated code
* Add support for `Update` method on resource `Checkout.Session`
* Add support for `TransactionID` on `ChargePaymentMethodDetailsAffirm`
* Add support for `BuyerID` on `ChargePaymentMethodDetailsBlik`
* Add support for `AuthorizationCode` on `ChargePaymentMethodDetailsCard`
* Add support for `BrandProduct` on `ChargePaymentMethodDetailsCardPresent`, `ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethodDetailsCardPresent`, `ConfirmationTokenPaymentMethodPreviewCardPresent`, `PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent`, and `PaymentMethodCardPresent`
* Add support for `NetworkTransactionID` on `ChargePaymentMethodDetailsCardPresent`, `ChargePaymentMethodDetailsInteracPresent`, `ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethodDetailsCardPresent`, and `PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent`
* Add support for `CaseType` on `DisputePaymentMethodDetailsCard`
* Add support for new values `invoice.overdue` and `invoice.will_be_due` on enum `EventType`
* Add support for `TWINT` on `PaymentMethodConfigurationParams` and `PaymentMethodConfiguration`
## 79.4.0 - 2024-07-18
* [#1888](https://github.com/stripe/stripe-go/pull/1888) Update changelog
* [#1890](https://github.com/stripe/stripe-go/pull/1890) Update generated code
* Add support for `Customer` on `ConfirmationTokenPaymentMethodPreview`
* Add support for new value `issuing_dispute.funds_rescinded` on enum `EventType`
* Add support for new value `multibanco` on enums `InvoicePaymentSettingsPaymentMethodTypes` and `SubscriptionPaymentSettingsPaymentMethodTypes`
* Add support for new value `stripe_s700` on enum `TerminalReaderDeviceType`
## 79.3.0 - 2024-07-11
* ⚠️ [#1886](https://github.com/stripe/stripe-go/pull/1886) Update generated code
* ⚠️ Remove support for values `billing_policy_remote_function_response_invalid`, `billing_policy_remote_function_timeout`, `billing_policy_remote_function_unexpected_status_code`, and `billing_policy_remote_function_unreachable` from enums `InvoiceLastFinalizationErrorCode`, `PaymentIntentLastPaymentErrorCode`, `SetupAttemptSetupErrorCode`, `SetupIntentLastSetupErrorCode`, and `StripeErrorCode`.
* ⚠️ Remove support for value `payment_intent_fx_quote_invalid` from enum `StripeErrorCode`. The was mistakenly released last week.
* Add support for `PaymentMethodOptions` on `ConfirmationToken`
* Add support for `PaymentElement` on `CustomerSessionComponentsParams` and `CustomerSessionComponents`
* Add support for `AddressValidation` on `IssuingCardShippingParams` and `IssuingCardShipping`
* Add support for `Shipping` on `IssuingCardParams`
## 79.2.0 - 2024-07-05
* [#1881](https://github.com/stripe/stripe-go/pull/1881) Update generated code
* Add support for `AddLines`, `RemoveLines`, and `UpdateLines` methods on resource `Invoice`
* Add support for new value `payment_intent_fx_quote_invalid` on enums `InvoiceLastFinalizationErrorCode`, `PaymentIntentLastPaymentErrorCode`, `SetupAttemptSetupErrorCode`, `SetupIntentLastSetupErrorCode`, and `StripeErrorCode`
* Add support for `PostedAt` on `TaxTransactionCreateFromCalculationParams` and `TaxTransaction`
## 79.1.0 - 2024-06-27
* [#1880](https://github.com/stripe/stripe-go/pull/1880) Add object param to list method for BankAccount/Card
* Add support to `object` in `BankAccountListParams` and `CardListParams`
* [#1879](https://github.com/stripe/stripe-go/pull/1879) Update generated code
* Add support for `Filters` on `CheckoutSessionPaymentMethodOptionsUsBankAccountFinancialConnections`, `InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsParams`, `InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections`, `PaymentIntentConfirmPaymentMethodOptionsUsBankAccountFinancialConnectionsParams`, `PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsParams`, `PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnections`, `SetupIntentConfirmPaymentMethodOptionsUsBankAccountFinancialConnectionsParams`, `SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsParams`, `SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnections`, `SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsParams`, and `SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections`
* Add support for `EmailType` on `CreditNoteParams`, `CreditNotePreviewLinesParams`, and `CreditNotePreviewParams`
* Add support for `AccountSubcategories` on `FinancialConnectionsSessionFiltersParams` and `FinancialConnectionsSessionFilters`
* Add support for new values `multibanco`, `twint`, and `zip` on enum `PaymentLinkPaymentMethodTypes`
* Add support for `RebootWindow` on `TerminalConfigurationParams` and `TerminalConfiguration`
## 79.0.0 - 2024-06-24
This release changes the pinned API version to `2024-06-20`.
* [#1878](https://github.com/stripe/stripe-go/pull/1878) Update generated code
This release changes the pinned API version to 2024-06-20. Please read the [API Changelog](https://docs.stripe.com/changelog/2024-06-20) and carefully review the API changes before upgrading.
### ⚠️ Breaking changes
* Remove the unused resource `PlatformTaxFee`
* Rename `VolumeDecimal` to `QuantityDecimal` on `IssuingTransactionPurchaseDetailsFuel`, `TestHelpersIssuingAuthorizationCapturePurchaseDetailsFuelParams`, `TestHelpersIssuingTransactionCreateForceCapturePurchaseDetailsFuelParams`, and `TestHelpersIssuingTransactionCreateUnlinkedRefundPurchaseDetailsFuelParams`
## Additions
* Add support for `FinalizeAmount` test helper method on resource `Issuing.Authorization`
* Add support for new value `ch_uid` on enums `CheckoutSessionCustomerDetailsTaxIdsType`, `InvoiceCustomerTaxIdsType`, `TaxCalculationCustomerDetailsTaxIdsType`, `TaxIdType`, and `TaxTransactionCustomerDetailsTaxIdsType`
* Add support for `Fleet` on `IssuingAuthorizationParams`, `IssuingAuthorization`, `IssuingTransactionPurchaseDetails`, `TestHelpersIssuingAuthorizationCapturePurchaseDetailsParams`, `TestHelpersIssuingTransactionCreateForceCapturePurchaseDetailsParams`, and `TestHelpersIssuingTransactionCreateUnlinkedRefundPurchaseDetailsParams`
* Add support for `Fuel` on `IssuingAuthorizationParams` and `IssuingAuthorization`
* Add support for `IndustryProductCode` and `QuantityDecimal` on `IssuingTransactionPurchaseDetailsFuel`, `TestHelpersIssuingAuthorizationCapturePurchaseDetailsFuelParams`, `TestHelpersIssuingTransactionCreateForceCapturePurchaseDetailsFuelParams`, and `TestHelpersIssuingTransactionCreateUnlinkedRefundPurchaseDetailsFuelParams`
* Add support for new values `card_canceled`, `card_expired`, `cardholder_blocked`, `insecure_authorization_method`, and `pin_blocked` on enum `IssuingAuthorizationRequestHistoryReason`
## 78.12.0 - 2024-06-17
* [#1876](https://github.com/stripe/stripe-go/pull/1876) Update generated code
* Add support for `TaxIDCollection` on `PaymentLinkParams`
* Add support for new value `mobilepay` on enum `PaymentLinkPaymentMethodTypes`
## 78.11.0 - 2024-06-13
* [#1871](https://github.com/stripe/stripe-go/pull/1871) Update generated code
* Add support for `MultibancoPayments` and `TWINTPayments` on `AccountCapabilitiesParams` and `AccountCapabilities`
* Add support for `TWINT` on `ChargePaymentMethodDetails`, `ConfirmationTokenPaymentMethodDataParams`, `ConfirmationTokenPaymentMethodPreview`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams`
* Add support for `Multibanco` on `CheckoutSessionPaymentMethodOptionsParams`, `CheckoutSessionPaymentMethodOptions`, `ConfirmationTokenPaymentMethodDataParams`, `ConfirmationTokenPaymentMethodPreview`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodConfigurationParams`, `PaymentMethodConfiguration`, `PaymentMethodParams`, `PaymentMethod`, `RefundDestinationDetails`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams`
* Add support for new value `de_stn` on enums `CheckoutSessionCustomerDetailsTaxIdsType`, `InvoiceCustomerTaxIdsType`, `TaxCalculationCustomerDetailsTaxIdsType`, `TaxIdType`, and `TaxTransactionCustomerDetailsTaxIdsType`
* Add support for new values `multibanco` and `twint` on enums `ConfirmationTokenPaymentMethodPreviewType` and `PaymentMethodType`
* Add support for `MultibancoDisplayDetails` on `PaymentIntentNextAction`
* Add support for `InvoiceSettings` on `Subscription`
## 78.10.0 - 2024-06-06
* [#1870](https://github.com/stripe/stripe-go/pull/1870) Update generated code
* Add support for `GBBankTransferPayments`, `JPBankTransferPayments`, `MXBankTransferPayments`, `SEPABankTransferPayments`, and `USBankTransferPayments` on `AccountCapabilitiesParams` and `AccountCapabilities`
* Add support for new value `swish` on enums `InvoicePaymentSettingsPaymentMethodTypes` and `SubscriptionPaymentSettingsPaymentMethodTypes`
## 78.9.0 - 2024-05-30
* [#1868](https://github.com/stripe/stripe-go/pull/1868) Update generated code
* Add support for new value `verification_requires_additional_proof_of_registration` on enums `AccountFutureRequirementsErrorsCode`, `AccountRequirementsErrorsCode`, `BankAccountFutureRequirementsErrorsCode`, and `BankAccountRequirementsErrorsCode`
* Add support for `DefaultValue` on `CheckoutSessionCustomFieldsDropdownParams`, `CheckoutSessionCustomFieldsDropdown`, `CheckoutSessionCustomFieldsNumericParams`, `CheckoutSessionCustomFieldsNumeric`, `CheckoutSessionCustomFieldsTextParams`, and `CheckoutSessionCustomFieldsText`
* Add support for `GeneratedFrom` on `ConfirmationTokenPaymentMethodPreviewCard` and `PaymentMethodCard`
* Add support for new values `issuing_personalization_design.activated`, `issuing_personalization_design.deactivated`, `issuing_personalization_design.rejected`, and `issuing_personalization_design.updated` on enum `EventType`
## 78.8.0 - 2024-05-23
* [#1864](https://github.com/stripe/stripe-go/pull/1864) Update generated code
* Add support for `ExternalAccountCollection` on `AccountSessionComponentsBalancesFeaturesParams`, `AccountSessionComponentsBalancesFeatures`, `AccountSessionComponentsPayoutsFeaturesParams`, and `AccountSessionComponentsPayoutsFeatures`
* Add support for new value `terminal_reader_invalid_location_for_payment` on enums `InvoiceLastFinalizationErrorCode`, `PaymentIntentLastPaymentErrorCode`, `SetupAttemptSetupErrorCode`, `SetupIntentLastSetupErrorCode`, and `StripeErrorCode`
* Add support for `PaymentMethodRemove` on `CheckoutSessionSavedPaymentMethodOptions`
## 78.7.0 - 2024-05-16
* [#1862](https://github.com/stripe/stripe-go/pull/1862) Update generated code
* Add support for `FeeSource` on `ApplicationFee`
* Add support for `NetAvailable` on `BalanceInstantAvailable`
* Add support for `PreferredLocales` on `ChargePaymentMethodDetailsCardPresent`, `ConfirmationTokenPaymentMethodPreviewCardPresent`, and `PaymentMethodCardPresent`
* Add support for `Klarna` on `DisputePaymentMethodDetails`
* Add support for new value `klarna` on enum `DisputePaymentMethodDetailsType`
* Add support for `Archived` and `LookupKey` on `EntitlementsFeatureListParams`
* Add support for `NoValidAuthorization` on `IssuingDisputeEvidenceParams` and `IssuingDisputeEvidence`
* Add support for `LossReason` on `IssuingDispute`
* Add support for new value `no_valid_authorization` on enum `IssuingDisputeEvidenceReason`
* Add support for `Routing` on `PaymentIntentConfirmPaymentMethodOptionsCardPresentParams`, `PaymentIntentPaymentMethodOptionsCardPresentParams`, and `PaymentIntentPaymentMethodOptionsCardPresent`
* Add support for `ApplicationFeeAmount` and `ApplicationFee` on `Payout`
* Add support for `StripeS700` on `TerminalConfigurationParams` and `TerminalConfiguration`
## 78.6.0 - 2024-05-09
* [#1859](https://github.com/stripe/stripe-go/pull/1859) Update method descriptions to reflect OpenAPI
* [#1858](https://github.com/stripe/stripe-go/pull/1858) Update generated code
* Add support for `Update` test helper method on resources `Treasury.OutboundPayment` and `Treasury.OutboundTransfer`
* Add support for `AllowRedisplay` on `ConfirmationTokenPaymentMethodPreview` and `PaymentMethod`
* Add support for new values `treasury.outbound_payment.tracking_details_updated` and `treasury.outbound_transfer.tracking_details_updated` on enum `EventType`
* Add support for `PreviewMode` on `InvoiceCreatePreviewParams`, `InvoiceUpcomingLinesParams`, and `InvoiceUpcomingParams`
* Add support for `TrackingDetails` on `TreasuryOutboundPayment` and `TreasuryOutboundTransfer`
## 78.5.0 - 2024-05-02
* [#1856](https://github.com/stripe/stripe-go/pull/1856) Deprecate Go methods and Params
- Mark as deprecated the `Approve` and `Decline` methods on `issuing/authorization/client.go`. Instead, [respond directly to the webhook request to approve an authorization](https://stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling).
- Mark as deprecated the `persistent_token` property on `ConfirmationTokenPaymentMethodPreviewLink.persistent_token`, `PaymentIntentPaymentMethodOptionsLink`, `PaymentIntentPaymentMethodOptionsLinkParams`, `PaymentMethodLink`, `SetupIntentPaymentMethodOptionsCard`, `SetupIntentPaymentMethodOptionsLinkParams`. This is a legacy parameter that no longer has any function.
* [#1853](https://github.com/stripe/stripe-go/pull/1853) Update generated code
* Add support for new value `shipping_address_invalid` on enums `InvoiceLastFinalizationErrorCode`, `PaymentIntentLastPaymentErrorCode`, `SetupAttemptSetupErrorCode`, `SetupIntentLastSetupErrorCode`, and `StripeErrorCode`
* Add support for `Paypal` on `DisputePaymentMethodDetails`
* Change type of `DisputePaymentMethodDetailsType` from `literal('card')` to `enum('card'|'paypal')`
* Change type of `EntitlementsFeatureMetadataParams` from `map(string: string)` to `emptyable(map(string: string))`
* Add support for `PaymentMethodTypes` on `PaymentIntentConfirmParams`
* Add support for `ShipFromDetails` on `TaxCalculationParams`, `TaxCalculation`, and `TaxTransaction`
* Add support for `Bh`, `Eg`, `Ge`, `Ke`, `Kz`, `Ng`, and `Om` on `TaxRegistrationCountryOptionsParams` and `TaxRegistrationCountryOptions`
## 78.4.0 - 2024-04-25
* [#1852](https://github.com/stripe/stripe-go/pull/1852) Update generated code
* Add support for `SetupFutureUsage` on `CheckoutSessionPaymentMethodOptionsAmazonPay`, `CheckoutSessionPaymentMethodOptionsRevolutPay`, `PaymentIntentPaymentMethodOptionsAmazonPay`, and `PaymentIntentPaymentMethodOptionsRevolutPay`
* Change type of `EntitlementsActiveEntitlementFeature` from `string` to `*EntitlementsFeature`
* Remove support for inadvertently released identity verification features `Email` and `Phone` on `IdentityVerificationSessionOptionsParams`
* Add support for new values `amazon_pay` and `revolut_pay` on enums `InvoicePaymentSettingsPaymentMethodTypes` and `SubscriptionPaymentSettingsPaymentMethodTypes`
* Add support for `AmazonPay` and `RevolutPay` on `MandatePaymentMethodDetails` and `SetupAttemptPaymentMethodDetails`
* Add support for `EndingBefore`, `Limit`, and `StartingAfter` on `PaymentMethodConfigurationListParams`
* Add support for `Mobilepay` on `PaymentMethodConfigurationParams` and `PaymentMethodConfiguration`
## 78.3.0 - 2024-04-18
* [#1849](https://github.com/stripe/stripe-go/pull/1849) Update generated code
* Add support for `CreatePreview` method on resource `Invoice`
* Add support for `PaymentMethodData` on `CheckoutSessionParams`
* Add support for `SavedPaymentMethodOptions` on `CheckoutSessionParams` and `CheckoutSession`
* Add support for `Mobilepay` on `CheckoutSessionPaymentMethodOptionsParams` and `CheckoutSessionPaymentMethodOptions`
* Add support for `AllowRedisplay` on `ConfirmationTokenPaymentMethodDataParams`, `CustomerListPaymentMethodsParams`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentMethodParams`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams`
* Add support for `ScheduleDetails` and `SubscriptionDetails` on `InvoiceUpcomingLinesParams` and `InvoiceUpcomingParams`
## 78.2.0 - 2024-04-16
* [#1847](https://github.com/stripe/stripe-go/pull/1847) Update generated code
* Add support for new resource `Entitlements.ActiveEntitlementSummary`
* Add support for `Balances` and `PayoutsList` on `AccountSessionComponentsParams` and `AccountSessionComponents`
* Add support for new value `entitlements.active_entitlement_summary.updated` on enum `EventType`
* Remove support for `Config` on `ForwardingRequestParams` and `ForwardingRequest`. This field is no longer used by the Forwarding Request API.
* Add support for `CaptureMethod` on `PaymentIntentConfirmPaymentMethodOptionsRevolutPayParams`, `PaymentIntentPaymentMethodOptionsRevolutPayParams`, and `PaymentIntentPaymentMethodOptionsRevolutPay`
* Add support for `Swish` on `PaymentMethodConfigurationParams` and `PaymentMethodConfiguration`
## 78.1.0 - 2024-04-11
* [#1846](https://github.com/stripe/stripe-go/pull/1846) Update generated code
* Add support for `AccountManagement` and `NotificationBanner` on `AccountSessionComponentsParams` and `AccountSessionComponents`
* Add support for `ExternalAccountCollection` on `AccountSessionComponentsAccountOnboardingFeaturesParams` and `AccountSessionComponentsAccountOnboardingFeatures`
* Add support for new values `billing_policy_remote_function_response_invalid`, `billing_policy_remote_function_timeout`, `billing_policy_remote_function_unexpected_status_code`, and `billing_policy_remote_function_unreachable` on enums `InvoiceLastFinalizationErrorCode`, `PaymentIntentLastPaymentErrorCode`, `SetupAttemptSetupErrorCode`, `SetupIntentLastSetupErrorCode`, and `StripeErrorCode`
* Change type of `BillingMeterEventAdjustmentCancel` from `BillingMeterResourceBillingMeterEventAdjustmentCancel` to `nullable(BillingMeterResourceBillingMeterEventAdjustmentCancel)`
* Add support for `AmazonPay` on `ChargePaymentMethodDetails`, `CheckoutSessionPaymentMethodOptionsParams`, `CheckoutSessionPaymentMethodOptions`, `ConfirmationTokenPaymentMethodDataParams`, `ConfirmationTokenPaymentMethodPreview`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodConfigurationParams`, `PaymentMethodConfiguration`, `PaymentMethodParams`, `PaymentMethod`, `RefundDestinationDetails`, `SetupIntentConfirmPaymentMethodDataParams`, `SetupIntentConfirmPaymentMethodOptionsParams`, `SetupIntentPaymentMethodDataParams`, `SetupIntentPaymentMethodOptionsParams`, and `SetupIntentPaymentMethodOptions`
* Add support for new values `bh_vat`, `kz_bin`, `ng_tin`, and `om_vat` on enums `CheckoutSessionCustomerDetailsTaxIdsType`, `InvoiceCustomerTaxIdsType`, `TaxCalculationCustomerDetailsTaxIdsType`, `TaxIdType`, and `TaxTransactionCustomerDetailsTaxIdsType`
* Add support for new value `ownership` on enums `CheckoutSessionPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch`, `InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch`, `PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch`, `SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch`, and `SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch`
* Add support for new value `amazon_pay` on enums `ConfirmationTokenPaymentMethodPreviewType` and `PaymentMethodType`
* Add support for `NextRefreshAvailableAt` on `FinancialConnectionsAccountOwnershipRefresh`
* Add support for new value `ownership` on enums `InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPermissions` and `SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPermissions`
## 78.0.0 - 2024-04-10
This release changes the pinned API version to `2024-04-10`.
* [#1841](https://github.com/stripe/stripe-go/pull/1841) Update generated code
* This release changes the pinned API version to `2024-04-10`. Please read the [API Changelog](https://docs.stripe.com/changelog/2024-04-10) and carefully review the API changes before upgrading.
### ⚠️ Breaking changes
* When no `x-stripe-should-retry` header is set in the response, the library now retries all requests with `status >= 500`, not just non-POST methods.
* Change the type on the status of TerminalReader object from string to enum with values of `TerminalReaderStatusOffline` and `TerminalReaderStatusOnline`
* Rename `Features` to `MarketingFeatures` on `ProductCreateOptions`, `ProductUpdateOptions`, and `Product`.
#### ⚠️ Removal of enum values, properties and events that are no longer part of the publicly documented Stripe API
* Remove `SubscriptionPause` from `BillingPortalConfigurationFeatures ` and `BillingPortalConfigurationFeaturesParams ` as the feature to pause subscription on the portal has been deprecated.
* Remove deprecated values for the `BalanceTransactionType` enum by removing the below constants
* `BalanceTransactionTypeObligationInbound`
* `BalanceTransactionTypeObligationPayout`
* `BalanceTransactionTypeObligationPayoutFailure`
* `BalanceTransactionTypeObligationReversalOutbound`
* Remove deprecated value for the `ClimateSupplierRemovalPathway` enum by removing the constant `ClimateSupplierRemovalPathwayVarious`
* Remove deprecated events types
* `EventTypeInvoiceItemUpdated`
* `EventTypeOrderCreated`
* `EventTypeRecipientCreated`
* `EventTypeRecipientDeleted`
* `EventTypeRecipientUpdated`
* `EventTypeSKUCreated`
* `EventTypeSKUDeleted`
* Remove the field `RequestIncrementalAuthorization` on the `PaymentIntentPaymentMethodOptionsCardPresentParams` struct - this was shipped by mistake
* Remove support for `id_bank_transfer`, `multibanco, netbanking`, `pay_by_bank`, and `upi` on `PaymentMethodConfiguration`. TODO - List the affected types and constants
* Remove deprecated value for the `SetupIntentPaymentMethodOptionsCardRequestThreeDSecure` enum by removing the constant `SetupIntentPaymentMethodOptionsCardRequestThreeDSecureChallengeOnly`
* Remove deprecated value for the `TaxRateTaxType` enum by removing the constant `TaxRateTaxTypeServiceTax`
* Remove `PaymentIntentPaymentMethodData*Params` in favor of reusing existing `PaymentMethodData*Params` for all the payment method types.
* Remove `PaymentIntentPaymentMethodDataBLIKParams` in favor of `PaymentMethodDataBLIKParams`
* Remove `PaymentIntentPaymentMethodDataCashAppParams` in favor of `PaymentMethodDataCashAppParams`
* Remove `PaymentIntentPaymentMethodDataCustomerBalanceParams` in favor of `PaymentMethodDataCustomerBalanceParams`
* Remove `PaymentIntentPaymentMethodDataKonbiniParams` in favor of `PaymentMethodDataKonbiniParams`
* Remove `PaymentIntentPaymentMethodDataLinkParams` in favor of `PaymentMethodDataLinkParams`
* Remove `PaymentIntentPaymentMethodDataPayNowParams` in favor of `PaymentMethodDataPayNowParams`
* Remove `PaymentIntentPaymentMethodDataPaypalParams` in favor of `PaymentMethodDataPaypalParams`
* Remove `PaymentIntentPaymentMethodDataPixParams` in favor of `PaymentMethodDataPixParams`
* Remove `PaymentIntentPaymentMethodDataPromptPayParams` in favor of `PaymentMethodDataPromptPayParams`
* Remove `PaymentIntentPaymentMethodDataRevolutPayParams` in favor of `PaymentMethodDataRevolutPayParams`
* Remove `PaymentIntentPaymentMethodDataUSBankAccounParams` in favor of `PaymentMethodDataUSBankAccounParams`
* Remove `PaymentIntentPaymentMethodDataZipParams` in favor of `PaymentMethodDataZipParams`
* Remove the legacy field `InvoiceRenderingOptionsParams` in `Invoice`, `InvoiceParams`. Use `InvoiceRenderingParams` instead.
## 76.25.0 - 2024-04-09
* [#1844](https://github.com/stripe/stripe-go/pull/1844) Update generated code
* Add support for new resources `Entitlements.ActiveEntitlement` and `Entitlements.Feature`
* Add support for `Get` and `List` methods on resource `ActiveEntitlement`
* Add support for `Get`, `List`, `New`, and `Update` methods on resource `Feature`
* Add support for `Controller` on `AccountParams`
* Add support for `Fees`, `Losses`, `RequirementCollection`, and `StripeDashboard` on `AccountController`
* Add support for new value `none` on enum `AccountType`
* Add support for `EventName` on `BillingMeterEventAdjustmentParams` and `BillingMeterEventAdjustment`
* Add support for `Cancel` and `Type` on `BillingMeterEventAdjustment`
## 76.24.0 - 2024-04-04
* [#1838](https://github.com/stripe/stripe-go/pull/1838) Update generated code
* Change type of `CheckoutSessionPaymentMethodOptionsSwishReferenceParams` from `emptyable(string)` to `string`
* Add support for `SubscriptionItem` on `Discount`
* Add support for `Email` and `Phone` on `IdentityVerificationReport`, `IdentityVerificationSessionOptionsParams`, `IdentityVerificationSessionOptions`, and `IdentityVerificationSessionVerifiedOutputs`
* Add support for `VerificationFlow` on `IdentityVerificationReport`, `IdentityVerificationSessionParams`, and `IdentityVerificationSession`
* Add support for new value `verification_flow` on enums `IdentityVerificationReportType` and `IdentityVerificationSessionType`
* Add support for `ProvidedDetails` on `IdentityVerificationSessionParams` and `IdentityVerificationSession`
* Add support for new values `email_unverified_other`, `email_verification_declined`, `phone_unverified_other`, and `phone_verification_declined` on enum `IdentityVerificationSessionLastErrorCode`
* Add support for `PromotionCode` on `InvoiceDiscountsParams`, `InvoiceItemDiscountsParams`, and `QuoteDiscountsParams`
* Add support for `Discounts` on `InvoiceUpcomingLinesSubscriptionItemsParams`, `InvoiceUpcomingSubscriptionItemsParams`, `QuoteLineItemsParams`, `SubscriptionAddInvoiceItemsParams`, `SubscriptionItemParams`, `SubscriptionItem`, `SubscriptionItemsParams`, `SubscriptionParams`, `SubscriptionSchedulePhasesAddInvoiceItemsParams`, `SubscriptionSchedulePhasesAddInvoiceItems`, `SubscriptionSchedulePhasesItemsParams`, `SubscriptionSchedulePhasesItems`, `SubscriptionSchedulePhasesParams`, `SubscriptionSchedulePhases`, and `Subscription`
* Add support for `AllowedMerchantCountries` and `BlockedMerchantCountries` on `IssuingCardSpendingControlsParams`, `IssuingCardSpendingControls`, `IssuingCardholderSpendingControlsParams`, and `IssuingCardholderSpendingControls`
* Add support for `Zip` on `PaymentMethodConfigurationParams` and `PaymentMethodConfiguration`
* Add support for `Offline` on `SetupAttemptPaymentMethodDetailsCardPresent`
* Add support for `CardPresent` on `SetupIntentConfirmPaymentMethodOptionsParams`, `SetupIntentPaymentMethodOptionsParams`, and `SetupIntentPaymentMethodOptions`
* Add support for new value `mobile_phone_reader` on enum `TerminalReaderDeviceType`
## 76.23.0 - 2024-03-28
* [#1830](https://github.com/stripe/stripe-go/pull/1830) Update generated code
* Add support for new resources `Billing.MeterEventAdjustment`, `Billing.MeterEvent`, and `Billing.Meter`
* Add support for `Deactivate`, `Get`, `List`, `New`, `Reactivate`, and `Update` methods on resource `Meter`
* Add support for `New` method on resources `MeterEventAdjustment` and `MeterEvent`
* Add support for `AmazonPayPayments` on `AccountCapabilitiesParams` and `AccountCapabilities`
* Add support for new value `verification_failed_representative_authority` on enums `AccountFutureRequirementsErrorsCode`, `AccountRequirementsErrorsCode`, `BankAccountFutureRequirementsErrorsCode`, and `BankAccountRequirementsErrorsCode`
* Add support for `DestinationOnBehalfOfChargeManagement` on `AccountSessionComponentsPaymentDetailsFeaturesParams`, `AccountSessionComponentsPaymentDetailsFeatures`, `AccountSessionComponentsPaymentsFeaturesParams`, and `AccountSessionComponentsPaymentsFeatures`
* Add support for `Mandate` on `ChargePaymentMethodDetailsUsBankAccount`, `TreasuryInboundTransferOriginPaymentMethodDetailsUsBankAccount`, `TreasuryOutboundPaymentDestinationPaymentMethodDetailsUsBankAccount`, and `TreasuryOutboundTransferDestinationPaymentMethodDetailsUsBankAccount`
* Add support for `SecondLine` on `IssuingCardParams`
* Add support for `Meter` on `PlanParams`, `Plan`, `PriceListRecurringParams`, `PriceRecurringParams`, and `PriceRecurring`
## 76.22.0 - 2024-03-21
* [#1828](https://github.com/stripe/stripe-go/pull/1828) Update generated code
* Add support for new resources `ConfirmationToken` and `Forwarding.Request`
* Add support for `Get` method on resource `ConfirmationToken`
* Add support for `Get`, `List`, and `New` methods on resource `Request`
* Add support for `MobilepayPayments` on `AccountCapabilitiesParams` and `AccountCapabilities`
* Add support for new values `forwarding_api_inactive`, `forwarding_api_invalid_parameter`, `forwarding_api_upstream_connection_error`, and `forwarding_api_upstream_connection_timeout` on enums `InvoiceLastFinalizationErrorCode`, `PaymentIntentLastPaymentErrorCode`, `SetupAttemptSetupErrorCode`, `SetupIntentLastSetupErrorCode`, and `StripeErrorCode`
* Add support for `Mobilepay` on `ChargePaymentMethodDetails`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams`
* Add support for `PaymentReference` on `ChargePaymentMethodDetailsUsBankAccount`
* Add support for `ConfirmationToken` on `PaymentIntentConfirmParams`, `PaymentIntentParams`, `SetupIntentConfirmParams`, and `SetupIntentParams`
* Add support for new value `mobilepay` on enum `PaymentMethodType`
* Add support for `Name` on `TerminalConfigurationParams` and `TerminalConfiguration`
* Add support for `Payout` on `TreasuryReceivedDebitLinkedFlows`
## 76.21.0 - 2024-03-14
* [#1824](https://github.com/stripe/stripe-go/pull/1824) Update generated code
* Add support for new resources `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle`
* Add support for `Get`, `List`, `New`, and `Update` methods on resource `PersonalizationDesign`
* Add support for `Get` and `List` methods on resource `PhysicalBundle`
* Add support for `PersonalizationDesign` on `IssuingCardListParams`, `IssuingCardParams`, and `IssuingCard`
* Change type of `SubscriptionApplicationFeePercentParams` from `number` to `emptyStringable(number)`
* Add support for `SEPADebit` on `SubscriptionPaymentSettingsPaymentMethodOptionsParams` and `SubscriptionPaymentSettingsPaymentMethodOptions`
## 76.20.0 - 2024-03-07
* [#1823](https://github.com/stripe/stripe-go/pull/1823) Update generated code
* Add support for `Documents` on `AccountSessionComponentsParams` and `AccountSessionComponents`
* Add support for `RequestThreeDSecure` on `CheckoutSessionPaymentMethodOptionsCardParams` and `CheckoutSessionPaymentMethodOptionsCard`
* Add support for `Created` on `CreditNoteListParams`
* Add support for `SEPADebit` on `InvoicePaymentSettingsPaymentMethodOptionsParams` and `InvoicePaymentSettingsPaymentMethodOptions`
## 76.19.0 - 2024-02-29
* [#1820](https://github.com/stripe/stripe-go/pull/1820) Update README to use AddBetaVersion
* [#1817](https://github.com/stripe/stripe-go/pull/1817) Fix typo
* [#1818](https://github.com/stripe/stripe-go/pull/1818) Update generated code
* Add support for `Number` on `InvoiceParams`
* Add support for `EnableCustomerCancellation` on `TerminalReaderActionProcessPaymentIntentProcessConfig`, `TerminalReaderActionProcessSetupIntentProcessConfig`, `TerminalReaderProcessPaymentIntentProcessConfigParams`, and `TerminalReaderProcessSetupIntentProcessConfigParams`
* Add support for `RefundPaymentConfig` on `TerminalReaderActionRefundPayment` and `TerminalReaderRefundPaymentParams`
## 76.18.0 - 2024-02-22
* [#1814](https://github.com/stripe/stripe-go/pull/1814) Update generated code
* Add support for `ClientReferenceID` on `IdentityVerificationReportListParams`, `IdentityVerificationReport`, `IdentityVerificationSessionListParams`, `IdentityVerificationSessionParams`, and `IdentityVerificationSession`
* Remove support for value `service_tax` from enum `TaxRateTaxType`
* Add support for `Created` on `TreasuryOutboundPaymentListParams`
## 76.17.0 - 2024-02-15
* [#1812](https://github.com/stripe/stripe-go/pull/1812) Update generated code
* Add support for `Networks` on `Card`, `PaymentMethodCardParams`, and `TokenCardParams`
* Add support for new value `no_voec` on enums `CheckoutSessionCustomerDetailsTaxIdsType`, `InvoiceCustomerTaxIdsType`, `TaxCalculationCustomerDetailsTaxIdsType`, `TaxIdType`, and `TaxTransactionCustomerDetailsTaxIdsType`
* Add support for new value `financial_connections.account.refreshed_ownership` on enum `EventType`
* Add support for `DisplayBrand` on `PaymentMethodCard`
## 76.16.0 - 2024-02-08
* [#1811](https://github.com/stripe/stripe-go/pull/1811) Update generated code
* Add support for new value `velobank` on enums `ChargePaymentMethodDetailsP24Bank` and `PaymentMethodP24Bank`
* Add support for `SetupFutureUsage` on `PaymentIntentConfirmPaymentMethodOptionsBlikParams`, `PaymentIntentPaymentMethodOptionsBlikParams`, and `PaymentIntentPaymentMethodOptionsBlik`
* Add support for `RequireCVCRecollection` on `PaymentIntentConfirmPaymentMethodOptionsCardParams`, `PaymentIntentPaymentMethodOptionsCardParams`, and `PaymentIntentPaymentMethodOptionsCard`
## 76.15.0 - 2024-02-01
Release specs are identical.
* [#1805](https://github.com/stripe/stripe-go/pull/1805) Update generated code
* Add support for Swish payment method throughout the API.
* Add support for `Relationship` on `AccountIndividualParams` and `TokenAccountIndividualParams`
* Add support for `Invoices` on `AccountSettingsParams` and `AccountSettings`
* Add support for `AccountTaxIDs` on `SubscriptionInvoiceSettingsParams`, `SubscriptionScheduleDefaultSettingsInvoiceSettingsParams`, `SubscriptionScheduleDefaultSettingsInvoiceSettings`, `SubscriptionSchedulePhasesInvoiceSettingsParams`, and `SubscriptionSchedulePhasesInvoiceSettings`
* Add support for `JurisdictionLevel` on `TaxRate`
## 76.14.0 - 2024-01-25
* [#1800](https://github.com/stripe/stripe-go/pull/1800) Update generated code
* [#1798](https://github.com/stripe/stripe-go/pull/1798) Update generated code
* Add support for new value `nn` on enums `ChargePaymentMethodDetailsIdealBank`, `PaymentMethodIdealBank`, and `SetupAttemptPaymentMethodDetailsIdealBank`
* Add support for `Issuer` on `InvoiceParams`, `InvoiceUpcomingLinesParams`, `InvoiceUpcomingParams`, and `Invoice`
* Add support for `Liability` on `InvoiceAutomaticTaxParams`, `InvoiceAutomaticTax`, `InvoiceUpcomingAutomaticTaxParams`, `InvoiceUpcomingLinesAutomaticTaxParams`, `SubscriptionAutomaticTaxParams`, and `SubscriptionAutomaticTax`
* Add support for `OnBehalfOf` on `InvoiceUpcomingLinesParams` and `InvoiceUpcomingParams`
* Add support for `PIN` on `IssuingCardParams`
* Add support for `RevocationReason` on `MandatePaymentMethodDetailsBacsDebit`
* Add support for `CustomerBalance` on `PaymentMethodConfigurationParams` and `PaymentMethodConfiguration`
* Add support for `InvoiceSettings` on `SubscriptionParams`
* [#1803](https://github.com/stripe/stripe-go/pull/1803) Update generated code
* Add support for `AnnualRevenue` and `EstimatedWorkerCount` on `AccountBusinessProfileParams` and `AccountBusinessProfile`
* Add support for new value `registered_charity` on enum `AccountCompanyStructure`
* Add support for `CollectionOptions` on `AccountLinkParams`
* Add support for `Liability` on `CheckoutSessionAutomaticTaxParams`, `CheckoutSessionAutomaticTax`, `PaymentLinkAutomaticTaxParams`, `PaymentLinkAutomaticTax`, `QuoteAutomaticTaxParams`, `QuoteAutomaticTax`, `SubscriptionScheduleDefaultSettingsAutomaticTaxParams`, `SubscriptionScheduleDefaultSettingsAutomaticTax`, `SubscriptionSchedulePhasesAutomaticTaxParams`, and `SubscriptionSchedulePhasesAutomaticTax`
* Add support for `Issuer` on `CheckoutSessionInvoiceCreationInvoiceDataParams`, `CheckoutSessionInvoiceCreationInvoiceData`, `PaymentLinkInvoiceCreationInvoiceDataParams`, `PaymentLinkInvoiceCreationInvoiceData`, `QuoteInvoiceSettingsParams`, `QuoteInvoiceSettings`, `SubscriptionScheduleDefaultSettingsInvoiceSettingsParams`, `SubscriptionScheduleDefaultSettingsInvoiceSettings`, `SubscriptionSchedulePhasesInvoiceSettingsParams`, and `SubscriptionSchedulePhasesInvoiceSettings`
* Add support for `InvoiceSettings` on `CheckoutSessionSubscriptionDataParams`, `PaymentLinkSubscriptionDataParams`, and `PaymentLinkSubscriptionData`
* Add support for `PromotionCode` on `InvoiceUpcomingDiscountsParams`, `InvoiceUpcomingInvoiceItemsDiscountsParams`, `InvoiceUpcomingLinesDiscountsParams`, and `InvoiceUpcomingLinesInvoiceItemsDiscountsParams`
* Add support for new value `challenge` on enums `InvoicePaymentSettingsPaymentMethodOptionsCardRequestThreeDSecure` and `SubscriptionPaymentSettingsPaymentMethodOptionsCardRequestThreeDSecure`
* Add support for `AccountType` on `PaymentMethodUsBankAccountParams`
## 76.13.0 - 2024-01-18
* [#1796](https://github.com/stripe/stripe-go/pull/1796) Update generated code
* Add support for new resource `CustomerSession`
* Add support for `New` method on resource `CustomerSession`
* Remove support for values `obligation_inbound`, `obligation_payout_failure`, `obligation_payout`, and `obligation_reversal_outbound` from enum `BalanceTransactionType`
* Remove support for `Expand` on `BankAccountParams` and `CardParams`
* Add support for `AccountType`, `DefaultForCurrency`, and `Documents` on `BankAccountParams` and `CardParams`
* Remove support for `Owner` on `BankAccountParams` and `CardParams`
* Change type of `BankAccountAccountHolderTypeParams` and `CardAccountHolderTypeParams` from `enum('company'|'individual')` to `emptyStringable(enum('company'|'individual'))`
* Add support for new values `eps` and `p24` on enums `InvoicePaymentSettingsPaymentMethodTypes` and `SubscriptionPaymentSettingsPaymentMethodTypes`
* Add support for `BillingCycleAnchorConfig` on `SubscriptionParams` and `Subscription`
* [#1800](https://github.com/stripe/stripe-go/pull/1800) Update generated code
* [#1798](https://github.com/stripe/stripe-go/pull/1798) Update generated code
* Add support for new value `nn` on enums `ChargePaymentMethodDetailsIdealBank`, `PaymentMethodIdealBank`, and `SetupAttemptPaymentMethodDetailsIdealBank`
* Add support for `Issuer` on `InvoiceParams`, `InvoiceUpcomingLinesParams`, `InvoiceUpcomingParams`, and `Invoice`
* Add support for `Liability` on `InvoiceAutomaticTaxParams`, `InvoiceAutomaticTax`, `InvoiceUpcomingAutomaticTaxParams`, `InvoiceUpcomingLinesAutomaticTaxParams`, `SubscriptionAutomaticTaxParams`, and `SubscriptionAutomaticTax`
* Add support for `OnBehalfOf` on `InvoiceUpcomingLinesParams` and `InvoiceUpcomingParams`
* Add support for `PIN` on `IssuingCardParams`
* Add support for `RevocationReason` on `MandatePaymentMethodDetailsBacsDebit`
* Add support for `CustomerBalance` on `PaymentMethodConfigurationParams` and `PaymentMethodConfiguration`
* Add support for `InvoiceSettings` on `SubscriptionParams`
## 76.12.0 - 2024-01-12
* [#1796](https://github.com/stripe/stripe-go/pull/1796) Update generated code
* Add support for new resource `CustomerSession`
* Add support for `New` method on resource `CustomerSession`
* Remove support for values `obligation_inbound`, `obligation_payout_failure`, `obligation_payout`, and `obligation_reversal_outbound` from enum `BalanceTransactionType`
* Remove support for `Expand` on `BankAccountParams` and `CardParams`
* Add support for `AccountType`, `DefaultForCurrency`, and `Documents` on `BankAccountParams` and `CardParams`
* Remove support for `Owner` on `BankAccountParams` and `CardParams`
* Change type of `BankAccountAccountHolderTypeParams` and `CardAccountHolderTypeParams` from `enum('company'|'individual')` to `emptyStringable(enum('company'|'individual'))`
* Add support for new values `eps` and `p24` on enums `InvoicePaymentSettingsPaymentMethodTypes` and `SubscriptionPaymentSettingsPaymentMethodTypes`
* Add support for `BillingCycleAnchorConfig` on `SubscriptionParams` and `Subscription`
## 76.11.0 - 2024-01-04
* [#1788](https://github.com/stripe/stripe-go/pull/1788) Use gofmt to format and lint
* [#1789](https://github.com/stripe/stripe-go/pull/1789) Update generated code
* Add support for new resource `FinancialConnections.Transaction`
* Add support for `Get` and `List` methods on resource `Transaction`
* Add support for `Subscribe` and `Unsubscribe` methods on resource `FinancialConnections.Account`
* Add support for `Features` on `AccountSessionComponentsPayoutsParams`
* Add support for `EditPayoutSchedule`, `InstantPayouts`, and `StandardPayouts` on `AccountSessionComponentsPayoutsFeatures`
* Change type of `CheckoutSessionPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams`, `CheckoutSessionPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch`, `InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams`, `InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch`, `PaymentIntentConfirmPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams`, `PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams`, `PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch`, `SetupIntentConfirmPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams`, `SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams`, `SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch`, `SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams`, and `SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch` from `literal('balances')` to `enum('balances'|'transactions')`
* Add support for new value `financial_connections.account.refreshed_transactions` on enum `EventType`
* Add support for `Subscriptions` and `TransactionRefresh` on `FinancialConnectionsAccount`
* Add support for `NextRefreshAvailableAt` on `FinancialConnectionsAccountBalanceRefresh`
* Add support for new value `transactions` on enum `FinancialConnectionsSessionPrefetch`
* Add support for new value `unknown` on enum `IssuingAuthorizationVerificationDataAuthenticationExemptionType`
* Add support for new value `challenge` on enums `PaymentIntentPaymentMethodOptionsCardRequestThreeDSecure` and `SetupIntentPaymentMethodOptionsCardRequestThreeDSecure`
* Add support for `RevolutPay` on `PaymentMethodConfigurationParams` and `PaymentMethodConfiguration`
* Change type of `QuoteInvoiceSettings` from `nullable(InvoiceSettingQuoteSetting)` to `InvoiceSettingQuoteSetting`
* Add support for `DestinationDetails` on `Refund`
* [#1790](https://github.com/stripe/stripe-go/pull/1790) Update generated code
* Add support for `CollectionMethod` on `MandatePaymentMethodDetailsUsBankAccount`
* Add support for `MandateOptions` on `PaymentIntentConfirmPaymentMethodOptionsUsBankAccountParams`, `PaymentIntentPaymentMethodOptionsUsBankAccountParams`, `PaymentIntentPaymentMethodOptionsUsBankAccount`, `SetupIntentConfirmPaymentMethodOptionsUsBankAccountParams`, `SetupIntentPaymentMethodOptionsUsBankAccountParams`, and `SetupIntentPaymentMethodOptionsUsBankAccount`
* [#1792](https://github.com/stripe/stripe-go/pull/1792) Update generated code
* Add support for `Get` method on resource `Tax.Registration`
* Change type of `SubscriptionScheduleDefaultSettingsInvoiceSettings` from `nullable(InvoiceSettingSubscriptionScheduleSetting)` to `InvoiceSettingSubscriptionScheduleSetting`
## 76.10.0 - 2023-12-22
* [#1788](https://github.com/stripe/stripe-go/pull/1788) Use gofmt to format and lint
* [#1789](https://github.com/stripe/stripe-go/pull/1789) Update generated code
* Add support for new resource `FinancialConnections.Transaction`
* Add support for `Get` and `List` methods on resource `Transaction`
* Add support for `Subscribe` and `Unsubscribe` methods on resource `FinancialConnections.Account`
* Add support for `Features` on `AccountSessionComponentsPayoutsParams`
* Add support for `EditPayoutSchedule`, `InstantPayouts`, and `StandardPayouts` on `AccountSessionComponentsPayoutsFeatures`
* Change type of `CheckoutSessionPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams`, `CheckoutSessionPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch`, `InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams`, `InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch`, `PaymentIntentConfirmPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams`, `PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams`, `PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch`, `SetupIntentConfirmPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams`, `SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams`, `SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch`, `SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams`, and `SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch` from `literal('balances')` to `enum('balances'|'transactions')`
* Add support for new value `financial_connections.account.refreshed_transactions` on enum `EventType`
* Add support for `Subscriptions` and `TransactionRefresh` on `FinancialConnectionsAccount`
* Add support for `NextRefreshAvailableAt` on `FinancialConnectionsAccountBalanceRefresh`
* Add support for new value `transactions` on enum `FinancialConnectionsSessionPrefetch`
* Add support for new value `unknown` on enum `IssuingAuthorizationVerificationDataAuthenticationExemptionType`
* Add support for new value `challenge` on enums `PaymentIntentPaymentMethodOptionsCardRequestThreeDSecure` and `SetupIntentPaymentMethodOptionsCardRequestThreeDSecure`
* Add support for `RevolutPay` on `PaymentMethodConfigurationParams` and `PaymentMethodConfiguration`
* Change type of `QuoteInvoiceSettings` from `nullable(InvoiceSettingQuoteSetting)` to `InvoiceSettingQuoteSetting`
* Add support for `DestinationDetails` on `Refund`
* [#1790](https://github.com/stripe/stripe-go/pull/1790) Update generated code
* Add support for `CollectionMethod` on `MandatePaymentMethodDetailsUsBankAccount`
* Add support for `MandateOptions` on `PaymentIntentConfirmPaymentMethodOptionsUsBankAccountParams`, `PaymentIntentPaymentMethodOptionsUsBankAccountParams`, `PaymentIntentPaymentMethodOptionsUsBankAccount`, `SetupIntentConfirmPaymentMethodOptionsUsBankAccountParams`, `SetupIntentPaymentMethodOptionsUsBankAccountParams`, and `SetupIntentPaymentMethodOptionsUsBankAccount`
## 76.9.0 - 2023-12-14
* [#1780](https://github.com/stripe/stripe-go/pull/1780) Usage telemetry infrastructure
* [#1781](https://github.com/stripe/stripe-go/pull/1781) Update generated code
* Add support for `PaymentMethodReuseAgreement` on `CheckoutSessionConsentCollectionParams`, `CheckoutSessionConsentCollection`, `PaymentLinkConsentCollectionParams`, and `PaymentLinkConsentCollection`
* Add support for `AfterSubmit` on `CheckoutSessionCustomTextParams`, `CheckoutSessionCustomText`, `PaymentLinkCustomTextParams`, and `PaymentLinkCustomText`
* Add support for `Created` on `RadarEarlyFraudWarningListParams`
## 76.8.0 - 2023-12-07
* [#1777](https://github.com/stripe/stripe-go/pull/1777) Add back PlanParams.ProductID
* Add back `PlanParams.ProductID`, which was mistakenly removed starting in v73.0.0. `ProductID` allows creation of a plan for an existing product by serializing `product` as a string .
* [#1775](https://github.com/stripe/stripe-go/pull/1775) Update generated code
* Add support for `PaymentDetails`, `Payments`, and `Payouts` on `AccountSessionComponentsParams` and `AccountSessionComponents`
* Add support for `Features` on `AccountSessionComponentsAccountOnboardingParams` and `AccountSessionComponentsAccountOnboarding`
* Add support for new values `customer_tax_location_invalid` and `financial_connections_no_successful_transaction_refresh` on enums `InvoiceLastFinalizationErrorCode`, `PaymentIntentLastPaymentErrorCode`, `SetupAttemptSetupErrorCode`, `SetupIntentLastSetupErrorCode`, and `StripeErrorCode`
* Add support for new values `payment_network_reserve_hold` and `payment_network_reserve_release` on enum `BalanceTransactionType`
* Remove support for value `various` from enum `ClimateSupplierRemovalPathway`
* Remove support for values `challenge_only` and `challenge` from enum `PaymentIntentPaymentMethodOptionsCardRequestThreeDSecure`
* Add support for `InactiveMessage` and `Restrictions` on `PaymentLinkParams` and `PaymentLink`
* Add support for `TransferGroup` on `PaymentLinkPaymentIntentDataParams` and `PaymentLinkPaymentIntentData`
* Add support for `TrialSettings` on `PaymentLinkSubscriptionDataParams` and `PaymentLinkSubscriptionData`
## 76.7.0 - 2023-11-30
* [#1772](https://github.com/stripe/stripe-go/pull/1772) Update generated code
* Add support for new resources `Climate.Order`, `Climate.Product`, and `Climate.Supplier`
* Add support for `Cancel`, `Get`, `List`, `New`, and `Update` methods on resource `Order`
* Add support for `Get` and `List` methods on resources `Product` and `Supplier`
* Add support for new value `financial_connections_account_inactive` on enums `InvoiceLastFinalizationErrorCode`, `PaymentIntentLastPaymentErrorCode`, `SetupAttemptSetupErrorCode`, `SetupIntentLastSetupErrorCode`, and `StripeErrorCode`
* Add support for new values `climate_order_purchase` and `climate_order_refund` on enum `BalanceTransactionType`
* Add support for `Created` on `CheckoutSessionListParams`
* Add support for `ValidateLocation` on `CustomerTaxParams`
* Add support for new values `climate.order.canceled`, `climate.order.created`, `climate.order.delayed`, `climate.order.delivered`, `climate.order.product_substituted`, `climate.product.created`, and `climate.product.pricing_updated` on enum `EventType`
* Add support for new value `challenge` on enums `PaymentIntentPaymentMethodOptionsCardRequestThreeDSecure` and `SetupIntentPaymentMethodOptionsCardRequestThreeDSecure`
## 76.6.0 - 2023-11-21
* [#1769](https://github.com/stripe/stripe-go/pull/1769) Update generated code
* Add support for `ElectronicCommerceIndicator` on `ChargePaymentMethodDetailsCardThreeDSecure` and `SetupAttemptPaymentMethodDetailsCardThreeDSecure`
* Add support for `ExemptionIndicatorApplied` and `ExemptionIndicator` on `ChargePaymentMethodDetailsCardThreeDSecure`
* Add support for `TransactionID` on `ChargePaymentMethodDetailsCardThreeDSecure`, `IssuingAuthorizationNetworkData`, `IssuingTransactionNetworkData`, and `SetupAttemptPaymentMethodDetailsCardThreeDSecure`
* Add support for `Offline` on `ChargePaymentMethodDetailsCardPresent`
* Add support for `SystemTraceAuditNumber` on `IssuingAuthorizationNetworkData`
* Add support for `NetworkRiskScore` on `IssuingAuthorizationPendingRequest` and `IssuingAuthorizationRequestHistory`
* Add support for `RequestedAt` on `IssuingAuthorizationRequestHistory`
* Add support for `AuthorizationCode` on `IssuingTransactionNetworkData`
* Add support for `ThreeDSecure` on `PaymentIntentConfirmPaymentMethodOptionsCardParams`, `PaymentIntentPaymentMethodOptionsCardParams`, `SetupIntentConfirmPaymentMethodOptionsCardParams`, and `SetupIntentPaymentMethodOptionsCardParams`
## 76.5.0 - 2023-11-16
* [#1764](https://github.com/stripe/stripe-go/pull/1764) Fix TestDo_RetryOnTimeout flakiness
* [#1768](https://github.com/stripe/stripe-go/pull/1768) Update generated code
* Add support for `Status` on `CheckoutSessionListParams`
* [#1767](https://github.com/stripe/stripe-go/pull/1767) Update generated code
* Add support for `BACSDebitPayments` on `AccountSettingsParams`
* Add support for `ServiceUserNumber` on `AccountSettingsBacsDebitPayments`
* Add support for `CaptureBefore` on `ChargePaymentMethodDetailsCard`
* Add support for `Paypal` on `CheckoutSessionPaymentMethodOptions`
* Add support for `TaxAmounts` on `CreditNoteLinesParams`, `CreditNotePreviewLinesLinesParams`, and `CreditNotePreviewLinesParams`
* Add support for `NetworkData` on `IssuingTransaction`
## 76.4.0 - 2023-11-09
* [#1762](https://github.com/stripe/stripe-go/pull/1762) Update generated code
* Add support for new value `terminal_reader_hardware_fault` on enums `InvoiceLastFinalizationErrorCode`, `PaymentIntentLastPaymentErrorCode`, `SetupAttemptSetupErrorCode`, `SetupIntentLastSetupErrorCode`, and `StripeErrorCode`
* Add support for `Metadata` on `QuoteSubscriptionDataParams` and `QuoteSubscriptionData`
## 76.3.0 - 2023-11-02
* [#1760](https://github.com/stripe/stripe-go/pull/1760) Update generated code
* Add support for new resource `Tax.Registration`
* Add support for `List`, `New`, and `Update` methods on resource `Registration`
* Add support for `RevolutPay` throughout the API
* Add support for new value `token_card_network_invalid` on enums `InvoiceLastFinalizationErrorCode`, `PaymentIntentLastPaymentErrorCode`, `SetupAttemptSetupErrorCode`, `SetupIntentLastSetupErrorCode`, and `StripeErrorCode`
* Add support for new value `payment_unreconciled` on enum `BalanceTransactionType`
* Add support for `ABA` and `Swift` on `FundingInstructionsBankTransferFinancialAddresses` and `PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddresses`
* Add support for new values `ach`, `domestic_wire_us`, and `swift` on enums `FundingInstructionsBankTransferFinancialAddressesSupportedNetworks` and `PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesSupportedNetworks`
* Add support for new values `aba` and `swift` on enums `FundingInstructionsBankTransferFinancialAddressesType` and `PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesType`
* Add support for `URL` on `IssuingAuthorizationMerchantDataParams`, `IssuingAuthorizationMerchantData`, `IssuingTransactionMerchantData`, `TestHelpersIssuingTransactionCreateForceCaptureMerchantDataParams`, and `TestHelpersIssuingTransactionCreateUnlinkedRefundMerchantDataParams`
* Add support for `AuthenticationExemption` and `ThreeDSecure` on `IssuingAuthorizationVerificationDataParams` and `IssuingAuthorizationVerificationData`
* Add support for `Description` on `PaymentLinkPaymentIntentDataParams` and `PaymentLinkPaymentIntentData`
## 76.2.0 - 2023-10-26
* [#1759](https://github.com/stripe/stripe-go/pull/1759) Update generated code
* Add support for new value `balance_invalid_parameter` on enums `InvoiceLastFinalizationErrorCode`, `PaymentIntentLastPaymentErrorCode`, `SetupAttemptSetupErrorCode`, `SetupIntentLastSetupErrorCode`, and `StripeErrorCode`
## 76.1.0 - 2023-10-17
* [#1756](https://github.com/stripe/stripe-go/pull/1756) Update generated code
* Add support for new value `invalid_dob_age_under_minimum` on enums `AccountFutureRequirementsErrorsCode`, `AccountRequirementsErrorsCode`, `BankAccountFutureRequirementsErrorsCode`, and `BankAccountRequirementsErrorsCode`
## 76.0.0 - 2023-10-16
This release changes the pinned API version to `2023-10-16`.
* Please read the [API Changelog](https://docs.stripe.com/changelog/2023-10-16) and carefully review the API changes before upgrading `stripe-go`.
* [#1753](https://github.com/stripe/stripe-go/pull/1753) Update generated code
* Add support for `LegalGuardian` on `AccountPersonsRelationshipParams` and `TokenPersonRelationshipParams`
* Add support for new values `invalid_address_highway_contract_box`, `invalid_address_private_mailbox`, `invalid_business_profile_name_denylisted`, `invalid_business_profile_name`, `invalid_company_name_denylisted`, `invalid_dob_age_over_maximum`, `invalid_product_description_length`, `invalid_product_description_url_match`, `invalid_statement_descriptor_business_mismatch`, `invalid_statement_descriptor_denylisted`, `invalid_statement_descriptor_length`, `invalid_statement_descriptor_prefix_denylisted`, `invalid_statement_descriptor_prefix_mismatch`, `invalid_tax_id_format`, `invalid_tax_id`, `invalid_url_denylisted`, `invalid_url_format`, `invalid_url_length`, `invalid_url_web_presence_detected`, `invalid_url_website_business_information_mismatch`, `invalid_url_website_empty`, `invalid_url_website_inaccessible_geoblocked`, `invalid_url_website_inaccessible_password_protected`, `invalid_url_website_inaccessible`, `invalid_url_website_incomplete_cancellation_policy`, `invalid_url_website_incomplete_customer_service_details`, `invalid_url_website_incomplete_legal_restrictions`, `invalid_url_website_incomplete_refund_policy`, `invalid_url_website_incomplete_return_policy`, `invalid_url_website_incomplete_terms_and_conditions`, `invalid_url_website_incomplete_under_construction`, `invalid_url_website_incomplete`, and `invalid_url_website_other` on enums `AccountFutureRequirementsErrorsCode`, `AccountRequirementsErrorsCode`, `BankAccountFutureRequirementsErrorsCode`, and `BankAccountRequirementsErrorsCode`
* Add support for `AdditionalTOSAcceptances` on `TokenPersonParams`
## 75.11.0 - 2023-10-16
* [#1748](https://github.com/stripe/stripe-go/pull/1748) add NewBackendsWithConfig helper
* [#1751](https://github.com/stripe/stripe-go/pull/1751) Update generated code
* Add support for new values `issuing_token.created` and `issuing_token.updated` on enum `EventType`
## 75.10.0 - 2023-10-11
* [#1746](https://github.com/stripe/stripe-go/pull/1746) Update generated code
* Add support for `RedirectOnCompletion`, `ReturnURL`, and `UIMode` on `CheckoutSessionParams` and `CheckoutSession`
* Add support for `ClientSecret` on `CheckoutSession`
* Change type of `CheckoutSessionCustomFieldsDropdown` from `nullable(PaymentPagesCheckoutSessionCustomFieldsDropdown)` to `PaymentPagesCheckoutSessionCustomFieldsDropdown`
* Change type of `CheckoutSessionCustomFieldsNumeric` and `CheckoutSessionCustomFieldsText` from `nullable(PaymentPagesCheckoutSessionCustomFieldsNumeric)` to `PaymentPagesCheckoutSessionCustomFieldsNumeric`
* Add support for `PostalCode` on `IssuingAuthorizationVerificationData`
* Change type of `PaymentLinkCustomFieldsDropdown` from `nullable(PaymentLinksResourceCustomFieldsDropdown)` to `PaymentLinksResourceCustomFieldsDropdown`
* Change type of `PaymentLinkCustomFieldsNumeric` and `PaymentLinkCustomFieldsText` from `nullable(PaymentLinksResourceCustomFieldsNumeric)` to `PaymentLinksResourceCustomFieldsNumeric`
* Add support for `Offline` on `TerminalConfigurationParams` and `TerminalConfiguration`
## 75.9.0 - 2023-10-05
* [#1743](https://github.com/stripe/stripe-go/pull/1743) Update generated code
* Add support for new resource `Issuing.Token`
* Add support for `Get`, `List`, and `Update` methods on resource `Token`
* Add support for `AmountAuthorized`, `ExtendedAuthorization`, `IncrementalAuthorization`, `Multicapture`, and `Overcapture` on `ChargePaymentMethodDetailsCard`
* Add support for `Token` on `IssuingAuthorization` and `IssuingTransaction`
* Add support for `AuthorizationCode` on `IssuingAuthorizationRequestHistory`
* Add support for `RequestExtendedAuthorization`, `RequestMulticapture`, and `RequestOvercapture` on `PaymentIntentConfirmPaymentMethodOptionsCardParams`, `PaymentIntentPaymentMethodOptionsCardParams`, and `PaymentIntentPaymentMethodOptionsCard`
* Add support for `RequestIncrementalAuthorization` on `PaymentIntentConfirmPaymentMethodOptionsCardParams`, `PaymentIntentConfirmPaymentMethodOptionsCardPresentParams`, `PaymentIntentPaymentMethodOptionsCardParams`, `PaymentIntentPaymentMethodOptionsCardPresentParams`, and `PaymentIntentPaymentMethodOptionsCard`
* Add support for `FinalCapture` on `PaymentIntentCaptureParams`
* Add support for `Metadata` on `PaymentLinkPaymentIntentDataParams`, `PaymentLinkPaymentIntentData`, `PaymentLinkSubscriptionDataParams`, and `PaymentLinkSubscriptionData`
* Add support for `StatementDescriptorSuffix` and `StatementDescriptor` on `PaymentLinkPaymentIntentDataParams` and `PaymentLinkPaymentIntentData`
* Add support for `PaymentIntentData` and `SubscriptionData` on `PaymentLinkParams`
## 75.8.0 - 2023-09-28
* [#1741](https://github.com/stripe/stripe-go/pull/1741) Update generated code
* Add support for `Rendering` on `InvoiceParams` and `Invoice`
## 75.7.0 - 2023-09-21
* [#1738](https://github.com/stripe/stripe-go/pull/1738) Update generated code
* Add support for `TermsOfServiceAcceptance` on `CheckoutSessionCustomTextParams`, `CheckoutSessionCustomText`, `PaymentLinkCustomTextParams`, and `PaymentLinkCustomText`
## 75.6.0 - 2023-09-14
* [#1729](https://github.com/stripe/stripe-go/pull/1729) Update generated code
* Add support for `Capture`, `Expire`, `Increment`, `New`, and `Reverse` test helper methods on resource `Issuing.Authorization`
* Add support for `CreateForceCapture`, `CreateUnlinkedRefund`, and `Refund` test helper methods on resource `Issuing.Transaction`
* Add support for new value `stripe_tax_inactive` on enums `InvoiceLastFinalizationErrorCode`, `PaymentIntentLastPaymentErrorCode`, `SetupAttemptSetupErrorCode`, `SetupIntentLastSetupErrorCode`, and `StripeErrorCode`
* Add support for `Nonce` on `EphemeralKeyParams`
* Add support for `CashbackAmount` on `IssuingAuthorizationAmountDetails`, `IssuingAuthorizationPendingRequestAmountDetails`, `IssuingAuthorizationRequestHistoryAmountDetails`, and `IssuingTransactionAmountDetails`
* Add support for `SerialNumber` on `TerminalReaderListParams`
* [#1736](https://github.com/stripe/stripe-go/pull/1736) Update generated code
* Add support for new resource `PaymentMethodConfiguration`
* Add support for `Get`, `List`, `New`, and `Update` methods on resource `PaymentMethodConfiguration`
* Add support for `PaymentMethodConfiguration` on `CheckoutSessionParams`, `PaymentIntentParams`, and `SetupIntentParams`
* Add support for `PaymentMethodConfigurationDetails` on `CheckoutSession`, `PaymentIntent`, and `SetupIntent`
## 75.5.0 - 2023-09-13
* [#1731](https://github.com/stripe/stripe-go/pull/1731) Delay calculation of Stripe-User-Agent
* [#1735](https://github.com/stripe/stripe-go/pull/1735) Bugfix: point files.New back to files.stripe.com
## 75.4.0 - 2023-09-07
* [#1724](https://github.com/stripe/stripe-go/pull/1724) Update generated code
* Add support for new resource `PaymentMethodDomain`
* Add support for `Get`, `List`, `New`, `Update`, and `Validate` methods on resource `PaymentMethodDomain`
* Add support for new value `n26` on enums `ChargePaymentMethodDetailsIdealBank`, `PaymentMethodIdealBank`, and `SetupAttemptPaymentMethodDetailsIdealBank`
* Add support for new value `NTSBDEB1` on enums `ChargePaymentMethodDetailsIdealBic`, `PaymentMethodIdealBic`, and `SetupAttemptPaymentMethodDetailsIdealBic`
* Add support for new values `treasury.credit_reversal.created`, `treasury.credit_reversal.posted`, `treasury.debit_reversal.completed`, `treasury.debit_reversal.created`, `treasury.debit_reversal.initial_credit_granted`, `treasury.financial_account.closed`, `treasury.financial_account.created`, `treasury.financial_account.features_status_updated`, `treasury.inbound_transfer.canceled`, `treasury.inbound_transfer.created`, `treasury.inbound_transfer.failed`, `treasury.inbound_transfer.succeeded`, `treasury.outbound_payment.canceled`, `treasury.outbound_payment.created`, `treasury.outbound_payment.expected_arrival_date_updated`, `treasury.outbound_payment.failed`, `treasury.outbound_payment.posted`, `treasury.outbound_payment.returned`, `treasury.outbound_transfer.canceled`, `treasury.outbound_transfer.created`, `treasury.outbound_transfer.expected_arrival_date_updated`, `treasury.outbound_transfer.failed`, `treasury.outbound_transfer.posted`, `treasury.outbound_transfer.returned`, `treasury.received_credit.created`, `treasury.received_credit.failed`, `treasury.received_credit.succeeded`, and `treasury.received_debit.created` on enum `EventType`
* Remove support for value `invoiceitem.updated` from enum `EventType`
* Add support for `Features` on `ProductParams` and `Product`
## 75.3.0 - 2023-08-31
* [#1722](https://github.com/stripe/stripe-go/pull/1722) Update generated code
* Add support for new resource `AccountSession`
* Add support for `New` method on resource `AccountSession`
* Add support for new values `obligation_inbound`, `obligation_outbound`, `obligation_payout_failure`, `obligation_payout`, `obligation_reversal_inbound`, and `obligation_reversal_outbound` on enum `BalanceTransactionType`
* Change type of `EventType` from `string` to `enum`
* Add support for `Application` on `PaymentLink`
## 75.2.0 - 2023-08-24
* [#1716](https://github.com/stripe/stripe-go/pull/1716) Replace version placeholder with an actual version during format
* [#1717](https://github.com/stripe/stripe-go/pull/1717) Replace import placeholder before running formatting
* [#1718](https://github.com/stripe/stripe-go/pull/1718) Update generated code
* Add support for `Retention` on `BillingPortalSessionFlowDataSubscriptionCancelParams` and `BillingPortalSessionFlowSubscriptionCancel`
* Add support for `Prefetch` on `CheckoutSessionPaymentMethodOptionsUsBankAccountFinancialConnectionsParams`, `CheckoutSessionPaymentMethodOptionsUsBankAccountFinancialConnections`, `FinancialConnectionsSessionParams`, `FinancialConnectionsSession`, `InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsParams`, `InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections`, `PaymentIntentConfirmPaymentMethodOptionsUsBankAccountFinancialConnectionsParams`, `PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsParams`, `PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnections`, `SetupIntentConfirmPaymentMethodOptionsUsBankAccountFinancialConnectionsParams`, `SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsParams`, `SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnections`, `SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsParams`, and `SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections`
* Add support for `PaymentMethodDetails` on `Dispute`
* Add support for `BalanceTransaction ` on `CustomerCashBalanceTransaction.AdjustedForOverdraft`
## 75.1.0 - 2023-08-17
* [#1712](https://github.com/stripe/stripe-go/pull/1712) Fix link title to go migration guide
* [#1713](https://github.com/stripe/stripe-go/pull/1713) Update generated code
* Add support for `FlatAmount` on `TaxTransactionCreateReversalParams`
## 75.0.0 - 2023-08-16
This release changes the pinned API version to `2023-08-16`.
* ⚠️ [#1699](https://github.com/stripe/stripe-go/pull/1699) Update generated code
* Add `Metadata` and `Expand` to individual `Params` classes.
* `Expand`, `AddExpand`, `Metadata` and `AddMetadata` on embedded `Params` struct were deprecated.
Before:
```go
params := &stripe.AccountParams{
Params: stripe.Params{
Expand: []*string{stripe.String("business_profile")},
Metadata: map[string]string{
"order_id": "6735",
},
},
}
```
After:
```go
params := &stripe.AccountParams{
Expand: []*string{stripe.String("business_profile")},
Metadata: map[string]string{
"order_id": "6735",
},
}
```
You don't have to change your calls to `AddMetadata` and `AddExpand`
Before/After:
```go
params.AddMetadata("order_id", "6735")
params.AddExpand("business_profile")
```
- ⚠️ Removed deprecated `excluded_territory`, `jurisdiction_unsupported`, `vat_exempt` taxability reasons:
- `CheckoutSessionShippingCostTaxTaxabilityReasonExcludedTerritory`
- `CheckoutSessionShippingCostTaxTaxabilityReasonJurisdictionUnsupported`
- `CheckoutSessionShippingCostTaxTaxabilityReasonVATExempt`
- `CheckoutSessionTotalDetailsBreakdownTaxTaxabilityReasonExcludedTerritory`
- `CheckoutSessionTotalDetailsBreakdownTaxTaxabilityReasonJurisdictionUnsupported`
- `CheckoutSessionTotalDetailsBreakdownTaxTaxabilityReasonVATExempt`
- `CreditNoteShippingCostTaxTaxabilityReasonExcludedTerritory`
- `CreditNoteShippingCostTaxTaxabilityReasonJurisdictionUnsupported`
- `CreditNoteShippingCostTaxTaxabilityReasonVATExempt`
- `InvoiceShippingCostTaxTaxabilityReasonExcludedTerritory`
- `InvoiceShippingCostTaxTaxabilityReasonJurisdictionUnsupported`
- `InvoiceShippingCostTaxTaxabilityReasonVATExempt`
- `LineItemTaxTaxabilityReasonExcludedTerritory`
- `LineItemTaxTaxabilityReasonJurisdictionUnsupported`
- `LineItemTaxTaxabilityReasonVATExempt`
- `QuoteComputedRecurringTotalDetailsBreakdownTaxTaxabilityReasonExcludedTerritory`
- `QuoteComputedRecurringTotalDetailsBreakdownTaxTaxabilityReasonJurisdictionUnsupported`
- `QuoteComputedRecurringTotalDetailsBreakdownTaxTaxabilityReasonVATExempt`
- `QuoteComputedUpfrontTotalDetailsBreakdownTaxTaxabilityReasonExcludedTerritory`
- `QuoteComputedUpfrontTotalDetailsBreakdownTaxTaxabilityReasonJurisdictionUnsupported`
- `QuoteComputedUpfrontTotalDetailsBreakdownTaxTaxabilityReasonVATExempt`
- `QuoteTotalDetailsBreakdownTaxTaxabilityReasonExcludedTerritory`
- `QuoteTotalDetailsBreakdownTaxTaxabilityReasonJurisdictionUnsupported`
- `QuoteTotalDetailsBreakdownTaxTaxabilityReasonVATExempt`
- ⚠️ Removed deprecated error code constant `ErrorCodeCardDeclinedRateLimitExceeded`, prefer `ErrorCodeCardDeclineRateLimitExceeded`.
- ⚠️ Removed deprecated error code constant `ErrorCodeInvalidSwipeData`.
- ⚠️ Removed deprecated error code constant `ErrorCodeInvoicePamentIntentRequiresAction` prefer `ErrorCodeInvoicePaymentIntentRequiresAction`.
- ⚠️ Removed deprecated error code constant `ErrorCodeSepaUnsupportedAccount`, prefer `ErrorCodeSEPAUnsupportedAccount`.
- ⚠️ Removed deprecated error code constant `ErrorCodeSkuInactive`, prefer `ErrorCodeSKUInactive`.
- ⚠️ Removed deprecated error code constant `ErrorCodeinstantPayoutsLimitExceeded`, prefer `ErrorCodeInstantPayoutsLimitExceeded`.
* More information is available in the [stripe-go v75 migration guide](https://github.com/stripe/stripe-go/wiki/Migration-guide-for-v75)
* Please read the [API Changelog](https://docs.stripe.com/changelog/2023-08-16) and carefully review the API changes before upgrading `stripe-go`.
* ⚠️ [#1705](https://github.com/stripe/stripe-go/pull/1705) Update generated code
* ⚠️Add support for new values `verification_directors_mismatch`, `verification_document_directors_mismatch`, `verification_extraneous_directors`, and `verification_missing_directors` on enums `AccountFutureRequirementsErrorsCode`, `AccountRequirementsErrorsCode`, `BankAccountFutureRequirementsErrorsCode`, and `BankAccountRequirementsErrorsCode`
* Remove support for `AvailableOn` on `BalanceTransactionListParams`
* Use of this parameter is discouraged. You may use [`.AddExtra`](https://github.com/stripe/stripe-go#parameters) if sending the parameter is still required.
* ⚠️Remove support for `Destination` on `Charge`
* Please use `TransferData` or `OnBehalfOf` instead.
* ⚠️Remove support for `AlternateStatementDescriptors` and `Dispute` on `Charge`
* Use of these parameters is discouraged.
* ⚠️Remove support for `ShippingRates` on `CheckoutSessionParams`
* Please use `ShippingParams` instead.
* ⚠️Remove support for `Coupon` and `TrialFromPlan` on `CheckoutSessionSubscriptionDataParams`
* Please [migrate to the Prices API](https://stripe.com/docs/billing/migration/migrating-prices), or use [`.AddExtra`](https://github.com/stripe/stripe-go#parameters) if sending the parameter is still required.
* ⚠️Remove support for value `charge_refunded` from enum `DisputeStatus`
* ⚠️Remove support for `BLIK` on `MandatePaymentMethodDetails`, `PaymentMethodParams`, `SetupAttemptPaymentMethodDetails`, `SetupIntentConfirmPaymentMethodOptionsParams`, `SetupIntentPaymentMethodOptionsParams`, and `SetupIntentPaymentMethodOptions`
* These fields were mistakenly released.
* ⚠️Remove support for `ACSSDebit`, `AUBECSDebit`, `Affirm`, `BACSDebit`, `CashApp`, `SEPADebit`, and `Zip` on `PaymentMethodParams`
* These fields were empty hashes.
* ⚠️Remove support for `Country` on `PaymentMethodLink`
* This field was not fully operational.
* ⚠️Remove support for `Recurring` on `PriceParams`
* This property should be set on create only.
* ⚠️Remove support for `Attributes`, `Caption`, and `DeactivateOn` on `ProductParams` and `Product`
* These fields are not fully operational.
## 74.30.0 - 2023-08-10
* [#1702](https://github.com/stripe/stripe-go/pull/1702) Update generated code
* Add support for new values `incorporated_partnership` and `unincorporated_partnership` on enum `AccountCompanyStructure`
* Add support for new value `payment_reversal` on enum `BalanceTransactionType`
## 74.29.0 - 2023-08-03
* [#1700](https://github.com/stripe/stripe-go/pull/1700) Update generated code
* Add support for `PreferredSettlementSpeed` on `PaymentIntentConfirmPaymentMethodOptionsUsBankAccountParams`, `PaymentIntentPaymentMethodOptionsUsBankAccountParams`, and `PaymentIntentPaymentMethodOptionsUsBankAccount`
* [#1696](https://github.com/stripe/stripe-go/pull/1696) Update generated code
* Add support for new values `sepa_debit_fingerprint` and `us_bank_account_fingerprint` on enum `RadarValueListItemType`
## 74.28.0 - 2023-07-28
* [#1693](https://github.com/stripe/stripe-go/pull/1693) Update generated code
* Add support for `MonthlyEstimatedRevenue` on `AccountBusinessProfileParams` and `AccountBusinessProfile`
* Add support for `SubscriptionDetails` on `Invoice`
## 74.27.0 - 2023-07-20
* [#1688](https://github.com/stripe/stripe-go/pull/1688) Update generated code
* Add support for new resource `Tax.Settings`
* Add support for `Get` and `Update` methods on resource `Settings`
* Add support for new value `invalid_tax_location` on enums `InvoiceLastFinalizationErrorCode`, `PaymentIntentLastPaymentErrorCode`, `SetupAttemptSetupErrorCode`, `SetupIntentLastSetupErrorCode`, and `StripeErrorCode`
* Add support for `OrderID` on `ChargePaymentMethodDetailsAfterpayClearpay`
* Add support for `AllowRedirects` on `PaymentIntentAutomaticPaymentMethodsParams`, `PaymentIntentAutomaticPaymentMethods`, `SetupIntentAutomaticPaymentMethodsParams`, and `SetupIntentAutomaticPaymentMethods`
* Add support for new values `amusement_tax` and `communications_tax` on enums `TaxCalculationLineItemTaxBreakdownTaxRateDetailsTaxType`, `TaxCalculationShippingCostTaxBreakdownTaxRateDetailsTaxType`, `TaxCalculationTaxBreakdownTaxRateDetailsTaxType`, and `TaxTransactionShippingCostTaxBreakdownTaxRateDetailsTaxType`
* Add support for `Product` on `TaxTransactionLineItem`
* [#1691](https://github.com/stripe/stripe-go/pull/1691) Update generated code
* Add support for new value `ro_tin` on enums `CheckoutSessionCustomerDetailsTaxIdsType`, `InvoiceCustomerTaxIdsType`, `TaxCalculationCustomerDetailsTaxIdsType`, and `TaxTransactionCustomerDetailsTaxIdsType`
* Remove support for values `excluded_territory`, `jurisdiction_unsupported`, and `vat_exempt` from enums `CheckoutSessionShippingCostTaxesTaxabilityReason`, `CheckoutSessionTotalDetailsBreakdownTaxesTaxabilityReason`, `CreditNoteShippingCostTaxesTaxabilityReason`, `InvoiceShippingCostTaxesTaxabilityReason`, `LineItemTaxesTaxabilityReason`, `QuoteComputedRecurringTotalDetailsBreakdownTaxesTaxabilityReason`, `QuoteComputedUpfrontTotalDetailsBreakdownTaxesTaxabilityReason`, and `QuoteTotalDetailsBreakdownTaxesTaxabilityReason`
* Add support for `UseStripeSDK` on `SetupIntentConfirmParams` and `SetupIntentParams`
* Add support for new value `service_tax` on enum `TaxRateTaxType`
## 74.26.0 - 2023-07-13
* [#1688](https://github.com/stripe/stripe-go/pull/1688) Update generated code
* Add support for new resource `Tax.Settings`
* Add support for `Get` and `Update` methods on resource `Settings`
* Add support for new value `invalid_tax_location` on enums `InvoiceLastFinalizationErrorCode`, `PaymentIntentLastPaymentErrorCode`, `SetupAttemptSetupErrorCode`, `SetupIntentLastSetupErrorCode`, and `StripeErrorCode`
* Add support for `OrderID` on `ChargePaymentMethodDetailsAfterpayClearpay`
* Add support for `AllowRedirects` on `PaymentIntentAutomaticPaymentMethodsParams`, `PaymentIntentAutomaticPaymentMethods`, `SetupIntentAutomaticPaymentMethodsParams`, and `SetupIntentAutomaticPaymentMethods`
* Add support for new values `amusement_tax` and `communications_tax` on enums `TaxCalculationLineItemTaxBreakdownTaxRateDetailsTaxType`, `TaxCalculationShippingCostTaxBreakdownTaxRateDetailsTaxType`, `TaxCalculationTaxBreakdownTaxRateDetailsTaxType`, and `TaxTransactionShippingCostTaxBreakdownTaxRateDetailsTaxType`
* Add support for `Product` on `TaxTransactionLineItem`
## 74.25.0 - 2023-07-06
* [#1684](https://github.com/stripe/stripe-go/pull/1684) Update generated code
* Add support for `Numeric` and `Text` on `PaymentLinkCustomFields`
* Add support for `AutomaticTax` on `SubscriptionListParams`
## 74.24.0 - 2023-06-29
* [#1682](https://github.com/stripe/stripe-go/pull/1682) Update generated code
* Add support for new value `application_fees_not_allowed` on enums `InvoiceLastFinalizationErrorCode`, `PaymentIntentLastPaymentErrorCode`, `SetupAttemptSetupErrorCode`, `SetupIntentLastSetupErrorCode`, and `StripeErrorCode`
* Add support for new values `ad_nrt`, `ar_cuit`, `bo_tin`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `pe_ruc`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, and `vn_tin` on enums `CheckoutSessionCustomerDetailsTaxIdsType`, `InvoiceCustomerTaxIdsType`, `TaxCalculationCustomerDetailsTaxIdsType`, and `TaxTransactionCustomerDetailsTaxIdsType`
* Add support for `EffectiveAt` on `CreditNoteParams`, `CreditNotePreviewLinesParams`, `CreditNotePreviewParams`, `CreditNote`, `InvoiceParams`, and `Invoice`
## 74.23.0 - 2023-06-22
* [#1680](https://github.com/stripe/stripe-go/pull/1680) Deserialization test
* [#1678](https://github.com/stripe/stripe-go/pull/1678) Update generated code
* Add support for `OnBehalfOf` on `Mandate`
## 74.22.0 - 2023-06-08
* [#1668](https://github.com/stripe/stripe-go/pull/1668) Remove v71 migration guide, moved to wiki
* [#1670](https://github.com/stripe/stripe-go/pull/1670) Update generated code
* Add support for `TaxabilityReason` on `TaxCalculationTaxBreakdown`
## 74.21.0 - 2023-06-01
* [#1661](https://github.com/stripe/stripe-go/pull/1661) Generate error codes
* [#1660](https://github.com/stripe/stripe-go/pull/1660) Update generated code
* [#1662](https://github.com/stripe/stripe-go/pull/1662) Update generated code
* Add support for `ZipPayments` on `AccountCapabilitiesParams` and `AccountCapabilities`
* Add support for `Zip` on `ChargePaymentMethodDetails`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams`
* Add support for new value `zip` on enum `PaymentMethodType`
* [#1664](https://github.com/stripe/stripe-go/pull/1664) Update generated code
* Add support for `Numeric` and `Text` on `CheckoutSessionCustomFieldsParams` and `PaymentLinkCustomFieldsParams`
* Add support for `MaximumLength` and `MinimumLength` on `CheckoutSessionCustomFieldsNumeric` and `CheckoutSessionCustomFieldsText`
* Add support for new values `aba` and `swift` on enums `CheckoutSessionPaymentMethodOptionsCustomerBalanceBankTransferRequestedAddressTypes` and `PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferRequestedAddressTypes`
* Add support for new value `us_bank_transfer` on enums `CheckoutSessionPaymentMethodOptionsCustomerBalanceBankTransferType`, `PaymentIntentNextActionDisplayBankTransferInstructionsType`, and `PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferType`
* Add support for `PreferredLocales` on `IssuingCardholderParams` and `IssuingCardholder`
* Add support for `Description`, `IIN`, and `Issuer` on `PaymentMethodCardPresent` and `PaymentMethodInteracPresent`
* Add support for `PayerEmail` on `PaymentMethodPaypal`
## 74.20.0 - 2023-05-25
* [#1661](https://github.com/stripe/stripe-go/pull/1661) Generate error codes
* [#1660](https://github.com/stripe/stripe-go/pull/1660) Update generated code
* [#1662](https://github.com/stripe/stripe-go/pull/1662) Update generated code
* Add support for `ZipPayments` on `AccountCapabilitiesParams` and `AccountCapabilities`
* Add support for `Zip` on `ChargePaymentMethodDetails`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams`
* Add support for new value `zip` on enum `PaymentMethodType`
## 74.19.0 - 2023-05-19
* [#1657](https://github.com/stripe/stripe-go/pull/1657) Update generated code
* Add support for `SubscriptionUpdateConfirm` and `SubscriptionUpdate` on `BillingPortalSessionFlowDataParams` and `BillingPortalSessionFlow`
* Add support for new values `subscription_update_confirm` and `subscription_update` on enum `BillingPortalSessionFlowType`
* Add support for `Link` on `ChargePaymentMethodDetailsCardWallet` and `PaymentMethodCardWallet`
* Add support for `BuyerID` and `Cashtag` on `ChargePaymentMethodDetailsCashapp` and `PaymentMethodCashapp`
* Add support for new values `amusement_tax` and `communications_tax` on enum `TaxRateTaxType`
## 74.18.0 - 2023-05-11
* [#1656](https://github.com/stripe/stripe-go/pull/1656) Update generated code
Release specs are identical.
* [#1653](https://github.com/stripe/stripe-go/pull/1653) Update generated code
* Add support for `Paypal` on `ChargePaymentMethodDetails`, `CheckoutSessionPaymentMethodOptionsParams`, `MandatePaymentMethodDetails`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SetupAttemptPaymentMethodDetails`, `SetupIntentConfirmPaymentMethodDataParams`, `SetupIntentConfirmPaymentMethodOptionsParams`, `SetupIntentPaymentMethodDataParams`, `SetupIntentPaymentMethodOptionsParams`, and `SetupIntentPaymentMethodOptions`
* Add support for `NetworkToken` on `ChargePaymentMethodDetailsCard`
* Add support for `TaxabilityReason` and `TaxableAmount` on `CheckoutSessionShippingCostTaxes`, `CheckoutSessionTotalDetailsBreakdownTaxes`, `CreditNoteShippingCostTaxes`, `CreditNoteTaxAmounts`, `InvoiceShippingCostTaxes`, `InvoiceTotalTaxAmounts`, `LineItemTaxes`, `QuoteComputedRecurringTotalDetailsBreakdownTaxes`, `QuoteComputedUpfrontTotalDetailsBreakdownTaxes`, and `QuoteTotalDetailsBreakdownTaxes`
* Add support for new value `paypal` on enums `InvoicePaymentSettingsPaymentMethodTypes` and `SubscriptionPaymentSettingsPaymentMethodTypes`
* Add support for new value `eftpos_au` on enums `PaymentIntentPaymentMethodOptionsCardNetwork`, `SetupIntentPaymentMethodOptionsCardNetwork`, and `SubscriptionPaymentSettingsPaymentMethodOptionsCardNetwork`
* Add support for new value `paypal` on enum `PaymentLinkPaymentMethodTypes`
* Add support for `Brand`, `CardholderName`, `Country`, `ExpMonth`, `ExpYear`, `Fingerprint`, `Funding`, `Last4`, `Networks`, and `ReadMethod` on `PaymentMethodCardPresent` and `PaymentMethodInteracPresent`
* Add support for `PreferredLocales` on `PaymentMethodInteracPresent`
* Add support for new value `paypal` on enum `PaymentMethodType`
* Add support for `EffectivePercentage` on `TaxRate`
* Add support for `GBBankTransfer` and `JPBankTransfer` on `CustomerCashBalanceTransactionFundedBankTransfer `
## 74.17.0 - 2023-05-04
* [#1652](https://github.com/stripe/stripe-go/pull/1652) Update generated code
* Add support for `Link` on `CheckoutSessionPaymentMethodOptionsParams` and `CheckoutSessionPaymentMethodOptions`
* Add support for `Brand`, `Country`, `Description`, `ExpMonth`, `ExpYear`, `Fingerprint`, `Funding`, `IIN`, `Issuer`, `Last4`, `Network`, and `Wallet` on `SetupAttemptPaymentMethodDetailsCard`
## 74.16.0 - 2023-04-27
* [#1640](https://github.com/stripe/stripe-go/pull/1640) Update generated code
* Release specs are identical.
* [#1643](https://github.com/stripe/stripe-go/pull/1643) Update generated code
* [#1644](https://github.com/stripe/stripe-go/pull/1644) Update generated code
* Add support for `BillingCycleAnchor` and `ProrationBehavior` on `CheckoutSessionSubscriptionDataParams`
* Add support for `TerminalID` on `IssuingAuthorizationMerchantData` and `IssuingTransactionMerchantData`
* Add support for `Metadata` on `PaymentIntentCaptureParams`
* Add support for `Checks` on `SetupAttemptPaymentMethodDetailsCard`
* Add support for `TaxBreakdown` on `TaxCalculationShippingCost` and `TaxTransactionShippingCost`
## 74.15.0 - 2023-04-06
* [#1638](https://github.com/stripe/stripe-go/pull/1638) Update generated code
* Add support for new value `link` on enum `PaymentMethodCardWalletType`
* Add support for `Country` on `PaymentMethodLink`
* Add support for `StatusDetails` on `PaymentMethodUsBankAccount`
## 74.14.0 - 2023-03-30
* [#1633](https://github.com/stripe/stripe-go/pull/1633) Trigger workflow for tags
* [#1632](https://github.com/stripe/stripe-go/pull/1632) Update generated code (new)
Release specs are identical.
* [#1631](https://github.com/stripe/stripe-go/pull/1631) Update generated code (new)
Release specs are identical.
* [#1635](https://github.com/stripe/stripe-go/pull/1635) Update generated code
* Remove support for `New` method on resource `Tax.Transaction`
* This is not a breaking change, as this method was deprecated before the Tax Transactions API was released in favor of the `CreateFromCalculation` method.
* Add support for `ExportLicenseID` and `ExportPurposeCode` on `AccountCompanyParams`, `AccountCompany`, and `TokenAccountCompanyParams`
* Remove support for value `deleted` from enum `InvoiceStatus`
* This is not a breaking change, as the value was never returned or accepted as input.
* Add support for `AmountTip` on `TestHelpersTerminalReaderPresentPaymentMethodParams`
## 74.13.0 - 2023-03-23
* [#1624](https://github.com/stripe/stripe-go/pull/1624) Update generated code
* Add support for new resources `Tax.CalculationLineItem`, `Tax.Calculation`, `Tax.TransactionLineItem`, and `Tax.Transaction`
* Add support for `ListLineItems` and `New` methods on resource `Calculation`
* Add support for `CreateFromCalculation`, `CreateReversal`, `Get`, `ListLineItems`, and `New` methods on resource `Transaction`
* Add support for `CurrencyConversion` on `CheckoutSession`
* Add support for new value `link` on enum `PaymentLinkPaymentMethodTypes`
* Add support for `AutomaticPaymentMethods` on `SetupIntentParams` and `SetupIntent`
## 74.12.0 - 2023-03-16
* [#1618](https://github.com/stripe/stripe-go/pull/1618) Install goimports before trying to run it
* [#1619](https://github.com/stripe/stripe-go/pull/1619) Update generated code (new)
* Add support for `CashappPayments` on `AccountCapabilitiesParams` and `AccountCapabilities`
* Add support for `Cashapp` on `ChargePaymentMethodDetails`, `CheckoutSessionPaymentMethodOptionsParams`, `CheckoutSessionPaymentMethodOptions`, `MandatePaymentMethodDetails`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SetupAttemptPaymentMethodDetails`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams`
* Add support for new value `cashapp` on enums `InvoicePaymentSettingsPaymentMethodTypes` and `SubscriptionPaymentSettingsPaymentMethodTypes`
* Add support for `PreferredLocale` on `PaymentIntentConfirmPaymentMethodOptionsAffirmParams`, `PaymentIntentPaymentMethodOptionsAffirmParams`, and `PaymentIntentPaymentMethodOptionsAffirm`
* Add support for `CashappHandleRedirectOrDisplayQRCode` on `PaymentIntentNextAction` and `SetupIntentNextAction`
* Add support for new value `cashapp` on enum `PaymentLinkPaymentMethodTypes`
* Add support for new value `cashapp` on enum `PaymentMethodType`
* [#1622](https://github.com/stripe/stripe-go/pull/1622) API Updates
* Add support for `CashAppPayments` on `AccountCapabilitiesParams` and `AccountCapabilities`
* Add support for `FutureRequirements` and `Requirements` on `BankAccount`
* Add support for `CashApp` on `ChargePaymentMethodDetails`, `CheckoutSessionPaymentMethodOptionsParams`, `CheckoutSessionPaymentMethodOptions`, `MandatePaymentMethodDetails`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SetupAttemptPaymentMethodDetails`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams`
* Add support for `Country` on `ChargePaymentMethodDetailsLink`
* Add support for new value `cashapp` on enums `InvoicePaymentSettingsPaymentMethodTypes` and `SubscriptionPaymentSettingsPaymentMethodTypes`
* Add support for `PreferredLocale` on `PaymentIntentConfirmPaymentMethodOptionsAffirmParams`, `PaymentIntentPaymentMethodOptionsAffirmParams`, and `PaymentIntentPaymentMethodOptionsAffirm`
* Add support for new value `automatic_async` on enums `PaymentIntentCaptureMethod` and `PaymentLinkPaymentIntentDataCaptureMethod`
* Add support for `CashAppHandleRedirectOrDisplayQRCode` on `PaymentIntentNextAction` and `SetupIntentNextAction`
* Add support for new value `cashapp` on enum `PaymentLinkPaymentMethodTypes`
* Add support for new value `cashapp` on enum `PaymentMethodType`
## 74.11.0 - 2023-03-09
* [#1616](https://github.com/stripe/stripe-go/pull/1616) API Updates
* Add support for `CardIssuing` on `IssuingCardholderIndividualParams`
* Add support for new value `requirements.past_due` on enum `IssuingCardholderRequirementsDisabledReason`
* Add support for `CancellationDetails` on `SubscriptionCancelParams`, `SubscriptionParams`, and `Subscription`
## 74.10.0 - 2023-03-02
* [#1611](https://github.com/stripe/stripe-go/pull/1611) Run goimports on generated test suite
* [#1613](https://github.com/stripe/stripe-go/pull/1613) Update golang.org/x/net
* [#1614](https://github.com/stripe/stripe-go/pull/1614) API Updates
* Add support for `ReconciliationStatus` on `Payout`
* Add support for new value `lease_tax` on enum `TaxRateTaxType`
## 74.9.0 - 2023-02-23
* [#1609](https://github.com/stripe/stripe-go/pull/1609) API Updates
* Add support for new value `yoursafe` on enums `ChargePaymentMethodDetailsIdealBank`, `PaymentMethodIdealBank`, and `SetupAttemptPaymentMethodDetailsIdealBank`
* Add support for new value `BITSNL2A` on enums `ChargePaymentMethodDetailsIdealBic`, `PaymentMethodIdealBic`, and `SetupAttemptPaymentMethodDetailsIdealBic`
* Add support for new value `igst` on enum `TaxRateTaxType`
## 74.8.0 - 2023-02-16
* [#1603](https://github.com/stripe/stripe-go/pull/1603) Add an example of client mocking
* [#1604](https://github.com/stripe/stripe-go/pull/1604) Run lint on go 1.19
* [#1607](https://github.com/stripe/stripe-go/pull/1607) fix: deterministic encoding
* [#1605](https://github.com/stripe/stripe-go/pull/1605) API Updates
* Add support for `RefundPayment` method on resource `Terminal.Reader`
* Add support for new value `name` on enum `BillingPortalConfigurationFeaturesCustomerUpdateAllowedUpdates`
* Add support for `CustomFields` on `CheckoutSessionParams`, `CheckoutSession`, `PaymentLinkParams`, and `PaymentLink`
* Add support for `InteracPresent` on `TestHelpersTerminalReaderPresentPaymentMethodParams`
* Change type of `TestHelpersTerminalReaderPresentPaymentMethodTypeParams` from `literal('card_present')` to `enum('card_present'|'interac_present')`
* Add support for `RefundPayment` on `TerminalReaderAction`
* Add support for new value `refund_payment` on enum `TerminalReaderActionType`
## 74.7.0 - 2023-02-02
* [#1562](https://github.com/stripe/stripe-go/pull/1562) add missing verify with micro-deposits next action
* [#1600](https://github.com/stripe/stripe-go/pull/1600) API Updates
* Add support for `Resume` method on resource `Subscription`
* Add support for `PaymentLink` on `CheckoutSessionListParams`
* Add support for `TrialSettings` on `CheckoutSessionSubscriptionDataParams`, `SubscriptionParams`, and `Subscription`
* Add support for new value `BE` on enums `CheckoutSessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferCountry`, `InvoicePaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferCountry`, `PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferCountry`, and `SubscriptionPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferCountry`
* Add support for `ShippingCost` on `CreditNoteParams`, `CreditNotePreviewLinesParams`, `CreditNotePreviewParams`, `CreditNote`, `InvoiceParams`, and `Invoice`
* Add support for `AmountShipping` on `CreditNote` and `Invoice`
* Add support for `ShippingDetails` on `InvoiceParams` and `Invoice`
* Add support for `SubscriptionResumeAt` on `InvoiceUpcomingLinesParams` and `InvoiceUpcomingParams`
* Add support for `InvoiceCreation` on `PaymentLinkParams` and `PaymentLink`
* Add support for new value `paused` on enum `SubscriptionStatus`
* Add support for new value `funding_reversed` on enum `CustomerCashBalanceTransactionType`
## 74.6.0 - 2023-01-19
* [#1595](https://github.com/stripe/stripe-go/pull/1595) API Updates
* Add support for `VerificationSession` on `EphemeralKeyParams`
* Add missing enum values to `RefundStatus`, `PersonVerificationDetailsCode`, `PersonVerificationDocumentDetailsCode`, `AccountCompanyVerificationDocumentDetailsCode` .
## 74.5.0 - 2023-01-05
* [#1588](https://github.com/stripe/stripe-go/pull/1588) API Updates
* Add support for `CardIssuing` on `IssuingCardholderIndividual`
## 74.4.0 - 2022-12-22
* [#1586](https://github.com/stripe/stripe-go/pull/1586) API Updates
* Add support for `UsingMerchantDefault` on `CashBalanceSettings`
* Change type of `CheckoutSessionCancelUrl` from `string` to `nullable(string)`
## 74.3.0 - 2022-12-15
* [#1581](https://github.com/stripe/stripe-go/pull/1581) API Updates
* [#1584](https://github.com/stripe/stripe-go/pull/1584) API Updates
* Add support for new value `invoice_overpaid` on enum `CustomerBalanceTransactionType`
## 74.2.0 - 2022-12-06
* [#1575](https://github.com/stripe/stripe-go/pull/1575) Add version to go reference path
* [#1579](https://github.com/stripe/stripe-go/pull/1579) API Updates
* Add support for `FlowData` on `BillingPortalSessionParams`
* Add support for `Flow` on `BillingPortalSession`
* [#1578](https://github.com/stripe/stripe-go/pull/1578) API Updates
* Add support for `IndiaInternationalPayments` on `AccountCapabilitiesParams` and `AccountCapabilities`
* Add support for `InvoiceCreation` on `CheckoutSessionParams` and `CheckoutSession`
* Add support for `Invoice` on `CheckoutSession`
* Add support for `Metadata` on `SubscriptionSchedulePhasesItemsParams` and `SubscriptionSchedulePhasesItems`
## 74.1.0 - 2022-11-17
* [#1574](https://github.com/stripe/stripe-go/pull/1574) API Updates
* Add support for `CustomText` on `CheckoutSessionParams`, `CheckoutSession`, `PaymentLinkParams`, and `PaymentLink`
* Add support for `HostedInstructionsURL` on `PaymentIntentNextActionPaynowDisplayQrCode` and `PaymentIntentNextActionWechatPayDisplayQrCode`
## 74.0.0 - 2022-11-16
This release changes the pinned API version to `2022-11-15`.
Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the Stripe products, read more at https://docs.stripe.com/changelog/2022-11-15.
"⚠️" symbol highlights breaking changes.
⚠️ Removed
* [#1554](https://github.com/stripe/stripe-go/pull/1554) Dropped support for Go versions less than 1.15
* [#1555](https://github.com/stripe/stripe-go/pull/1555) Removed deprecated `CheckoutSessionSubscriptionDataParams.Items` field.
* [#1555](https://github.com/stripe/stripe-go/pull/1555) Removed `lineitem.Product` property that was released by mistake.
* [#1557](https://github.com/stripe/stripe-go/pull/1557) Removed deprecated `sku` resource
* [#1566](https://github.com/stripe/stripe-go/pull/1566) Removed deprecated `EphemeralKey.AssociatedObjects` field.
* Remove support for `TOSShownAndAccepted` on `CheckoutSessionPaymentMethodOptionsPaynowParams`. The property was mistakenly released and never worked ([#1571](https://github.com/stripe/stripe-go/pull/1571)).
* Removed `Charges` field on `PaymentIntent` and replace it with `LatestCharge`. (https://github.com/stripe/stripe-go/pull/1570)
* Removed deprecated `Amount`, `Currency`, `Description`, `Images`, `Name` properties from `CheckoutSessionLineItemParams` (https://github.com/stripe/stripe-go/pull/1570)
## 73.16.0 - 2022-11-08
* [#1568](https://github.com/stripe/stripe-go/pull/1568) API Updates
* Add support for `ReasonMessage` on `IssuingAuthorizationRequestHistory`
* Add support for new value `webhook_error` on enum `IssuingAuthorizationRequestHistoryReason`
## 73.15.0 - 2022-11-03
* [#1563](https://github.com/stripe/stripe-go/pull/1563) API Updates
* Add support for `OnBehalfOf` on `CheckoutSessionSubscriptionDataParams`, `SubscriptionParams`, `SubscriptionScheduleDefaultSettingsParams`, `SubscriptionScheduleDefaultSettings`, `SubscriptionSchedulePhasesParams`, `SubscriptionSchedulePhases`, and `Subscription`
* Add support for new values `eg_tin`, `ph_tin`, and `tr_tin` on enums `CheckoutSessionCustomerDetailsTaxIdsType`, `InvoiceCustomerTaxIdsType`, `OrderTaxDetailsTaxIdsType`, and `TaxIdType`
* Add support for `TaxBehavior` and `TaxCode` on `InvoiceItemParams`, `InvoiceUpcomingInvoiceItemsParams`, and `InvoiceUpcomingLinesInvoiceItemsParams`
## 73.14.0 - 2022-10-20
* [#1560](https://github.com/stripe/stripe-go/pull/1560) API Updates
* Add support for new values `jp_trn` and `ke_pin` on enums `CheckoutSessionCustomerDetailsTaxIdsType`, `InvoiceCustomerTaxIdsType`, `OrderTaxDetailsTaxIdsType`, and `TaxIdType`
* Add support for `Tipping` on `TerminalReaderActionProcessPaymentIntentProcessConfig` and `TerminalReaderProcessPaymentIntentProcessConfigParams`
## 73.13.0 - 2022-10-13
* [#1553](https://github.com/stripe/stripe-go/pull/1553) Add RequestLogURL on Error
* [#1558](https://github.com/stripe/stripe-go/pull/1558) API Updates
* Add support for `NetworkData` on `IssuingAuthorization`
## 73.12.0 - 2022-10-06
* [#1551](https://github.com/stripe/stripe-go/pull/1551) API Updates
* Add support for new value `invalid_dob_age_under_18` on enums `AccountFutureRequirementsErrorsCode`, `AccountRequirementsErrorsCode`, `CapabilityFutureRequirementsErrorsCode`, `CapabilityRequirementsErrorsCode`, `PersonFutureRequirementsErrorsCode`, and `PersonRequirementsErrorsCode`
* Add support for new value `bank_of_china` on enums `ChargePaymentMethodDetailsFpxBank` and `PaymentMethodFpxBank`
* Add support for `Klarna` on `SetupAttemptPaymentMethodDetails`
## 73.11.0 - 2022-09-29
* [#1549](https://github.com/stripe/stripe-go/pull/1549) API Updates
* Change type of `ChargePaymentMethodDetailsCardPresentIncrementalAuthorizationSupported` and `ChargePaymentMethodDetailsCardPresentOvercaptureSupported` from `nullable(boolean)` to `boolean`
* Add support for `Created` on `CheckoutSession`
* Add support for `SetupFutureUsage` on `PaymentIntentConfirmPaymentMethodOptionsPixParams`, `PaymentIntentPaymentMethodOptionsPixParams`, and `PaymentIntentPaymentMethodOptionsPix`
* Deprecate `CheckoutSessionSubscriptionDataTransferDataParams.items` and `CheckoutSessionSubscriptionDataItemParams` (use the `line_items` param instead). This will be removed in the next major version.
## 73.10.0 - 2022-09-22
* ⚠️ [#1547](https://github.com/stripe/stripe-go/pull/1547) API Updates
* Add support for `TermsOfService` on `CheckoutSessionConsentCollectionParams`, `CheckoutSessionConsentCollection`, `CheckoutSessionConsent`, `PaymentLinkConsentCollectionParams`, and `PaymentLinkConsentCollection`
* ⚠️ Remove support for `Plan` on `CheckoutSessionPaymentMethodOptionsCardInstallmentsParams`. The property was mistakenly released and never worked.
* Add support for `StatementDescriptor` on `PaymentIntentIncrementAuthorizationParams`
## 73.9.0 - 2022-09-15
* [#1545](https://github.com/stripe/stripe-go/pull/1545) Export UnsignedPayload/SignedPayload fields
* [#1546](https://github.com/stripe/stripe-go/pull/1546) API Updates
* Add support for `Pix` on `ChargePaymentMethodDetails`, `CheckoutSessionPaymentMethodOptionsParams`, `CheckoutSessionPaymentMethodOptions`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams`
* Add support for `FromInvoice` on `InvoiceParams` and `Invoice`
* Add support for `LatestRevision` on `Invoice`
* Add support for `Amount` on `IssuingDisputeParams`
* Add support for `PixDisplayQRCode` on `PaymentIntentNextAction`
* Add support for new value `pix` on enum `PaymentLinkPaymentMethodTypes`
* Add support for new value `pix` on enum `PaymentMethodType`
* Add support for `Created` on `TreasuryCreditReversal` and `TreasuryDebitReversal`
## 73.8.0 - 2022-09-09
* [#1543](https://github.com/stripe/stripe-go/pull/1543) API Updates
* Add support for `RequireSignature` on `IssuingCardShippingParams` and `IssuingCardShipping`
## 73.7.0 - 2022-09-06
* [#1542](https://github.com/stripe/stripe-go/pull/1542) API Updates
* Add support for new value `terminal_reader_splashscreen` on enum `FilePurpose`
## 73.6.0 - 2022-08-31
* [#1541](https://github.com/stripe/stripe-go/pull/1541) API Updates
* Add support for `Description` on `PaymentLinkSubscriptionDataParams` and `PaymentLinkSubscriptionData`
## 73.5.0 - 2022-08-26
* [#1533](https://github.com/stripe/stripe-go/pull/1533) Update README.md to clarify that API version can only be change in beta
* [#1536](https://github.com/stripe/stripe-go/pull/1536) Add test coverage using coveralls
* [#1537](https://github.com/stripe/stripe-go/pull/1537) API Updates
* Add support for `LoginPage` on `BillingPortalConfigurationParams` and `BillingPortalConfiguration`
* Add support for new value `deutsche_bank_ag` on enums `ChargePaymentMethodDetailsEpsBank` and `PaymentMethodEpsBank`
* Add support for `Customs` and `PhoneNumber` on `IssuingCardShippingParams` and `IssuingCardShipping`
* Add support for `Description` on `QuoteSubscriptionDataParams`, `QuoteSubscriptionData`, `SubscriptionScheduleDefaultSettingsParams`, `SubscriptionScheduleDefaultSettings`, `SubscriptionSchedulePhasesParams`, and `SubscriptionSchedulePhases`
## 73.4.0 - 2022-08-23
* [#1530](https://github.com/stripe/stripe-go/pull/1530) Add beta readme.md section
* [#1532](https://github.com/stripe/stripe-go/pull/1532) API Updates
* Change type of `TreasuryOutboundTransferDestinationPaymentMethod` from `string` to `nullable(string)`
* Change return type of `FundCashBalance` method on `Customer` from `Customer` to `CustomerCashBalanceTransaction`
* This is technically a breaking change, but this return type was actually incorrect and so the result of this method did not deserialize correctly.
* Change return type of `RetrieveFeatures` and `UpdateFeatures` methods on `TreasuryFinancialAccount` from `TreasuryFinancialAccount` to `TreasuryFinancialAccountFeatures`
* This is technically a breaking change, but this return type was actually incorrect and so the result of this method did not deserialize correctly.
## 73.3.0 - 2022-08-19
* [#1526](https://github.com/stripe/stripe-go/pull/1526) Add a support section to the readme
* [#1528](https://github.com/stripe/stripe-go/pull/1528) API Updates
* Add support for new resource `CustomerCashBalanceTransaction`
* Remove support for value `paypal` from enum `OrderPaymentSettingsPaymentMethodTypes`
* Add support for `Currency` on `PaymentLink`
* Add support for `Network` on `SetupIntentConfirmPaymentMethodOptionsCardParams`, `SetupIntentPaymentMethodOptionsCardParams`, `SubscriptionPaymentSettingsPaymentMethodOptionsCardParams`, and `SubscriptionPaymentSettingsPaymentMethodOptionsCard`
* Change type of `TopupSource` from `$Source` to `nullable($Source)`
## 73.2.0 - 2022-08-11
* [#1524](https://github.com/stripe/stripe-go/pull/1524) API Updates
* Add support for `PaymentMethodCollection` on `CheckoutSessionParams`, `CheckoutSession`, `PaymentLinkParams`, and `PaymentLink`
## 73.1.0 - 2022-08-09
* [#1402](https://github.com/stripe/stripe-go/pull/1402) Update testify version
* [#1520](https://github.com/stripe/stripe-go/pull/1520) Add GenerateTestSignedPayload to test webhook signing
* [#1282](https://github.com/stripe/stripe-go/pull/1282) Miscellaneous fixes to README.md
* [#1519](https://github.com/stripe/stripe-go/pull/1519) API Updates
* Add support for `ExpiresAt` on `AppsSecretParams` and `AppsSecret`
* [#1522](https://github.com/stripe/stripe-go/pull/1522) API Updates
* Add support for `ProcessConfig` on `TerminalReaderActionProcessPaymentIntent`
## 73.0.1 - 2022-08-03
* [#1517](https://github.com/stripe/stripe-go/pull/1517) Export ConstructEventOptions fields
## 73.0.0 - 2022-08-02
This release changes the pinned API version to `2022-08-01`.
This release includes breaking changes resulting from:
"⚠️" symbol highlights breaking changes.
* Cleaning up the SDK to remove deprecated/unused APIs and rename classes/methods/properties to sync with product APIs. Read more detailed description at https://github.com/stripe/stripe-go/wiki/Migration-guide-for-v73.
* Moving to use the new API version "2022-08-01". To learn more about these changes to Stripe products, see https://docs.stripe.com/changelog/2022-08-01
* [#1512](https://github.com/stripe/stripe-go/pull/1512) Next major release changes
* [#1513](https://github.com/stripe/stripe-go/pull/1513) API Updates
### Added
* Add `CheckoutSessionShippingCostTax` and `CheckoutSessionShippingCost` classes
* Add `CheckoutSessionSetupIntentDataParams.Metadata`.
* Add dedicated structs for different payment sources and transfers.
* Add Invoice `UpcomingLines` method.
* Add `IssuingCardCancellationReasonDesignRejected` constant to `IssuingCardCancellationReason`.
* Add `SetupAttemptPaymentMethodDetailsCardThreeDSecureResultExempted` constant in `SetupAttemptPaymentMethodDetailsCardThreeDSecureResult`.
* Add `ShippingCost` and `ShippingDetails` properties to `CheckoutSession` resource.
* Add `SKUPackageDimensionsParams` and `SKUPackageDimensions`.
* Add `Subscription.DeleteDiscount` methods.
* Add `SubscriptionSchedulePhaseBillingCycleAnchor`, `SubscriptionSchedulePhaseBillingCycleAnchorAutomatic`, and `SubscriptionSchedulePhaseBillingCycleAnchorPhaseStart`
* Add `SubscriptionSchedulePhaseInvoiceSettings` and `SubscriptionSchedulePhaseInvoiceSettingsParams `
* Add `SubscriptionItemUsageRecordSummariesParams`
* Add support for new value `invalid_tos_acceptance` on enums `AccountFutureRequirementsErrorsCode`, `AccountRequirementsErrorsCode`, `CapabilityFutureRequirementsErrorsCode`, `CapabilityRequirementsErrorsCode`, `PersonFutureRequirementsErrorsCode`, and `PersonRequirementsErrorsCode`
* Add support for `ShippingCost` and `ShippingDetails` on `CheckoutSession`
* Add `UsageRecordSummary` `UsageRecordSummaries`, and `UsageRecordSummaryList` methods in `SubscriptionItem`
* Add `Validate` field to `Customer` resource.
* Add `Validate` field to `PaymentSourceParams`.
* `TerminalLocation` `UnmarshalJSON` - make `TerminalLocation` expandable
### ⚠️ Changed
* ⚠️ Add separate parameter struct for CreditNote `ListPreviewLines` (renamed to `PreviewLines`) method (`[CreditNoteLineItemListPreviewParams -> CreditNotePreviewParams].Lines` `CreditNoteLineParams` -> `CreditNotePreviewLineParams`)
* ⚠️ Add separate parameter struct for Invoice `GetNext` (renamed to `Upcoming`) method (`InvoiceUpcomingParams`, and nested params `InvoiceUpcomingLinesInvoiceItemPriceDataParams`, `InvoiceUpcomingLinesInvoiceItemDiscountParams`, `InvoiceUpcomingLinesDiscountParams`, `InvoiceUpcomingLinesInvoiceItemPeriodParams`). `Upcoming`-only fields `Coupon`, `CustomerDetails`, `InvoiceItems`, `Subscription`, `SubscriptionBillingCycleAnchor`, `Schedule`, `SubscriptionBillingCycleAnchor`, `SubscriptionBillingCycleAnchorNow`, `SubscriptionBillingCycleAnchorUnchanged`, `SubscriptionCancelAt`, `SubscriptionCancelAtPeriodEnd`, `SubscriptionCancelNow`, `SubscriptionDefaultTaxRates`, `SubscriptionItems`, `SubscriptionProrationBehavior`, `SubscriptionProrationDate`, `SubscriptionStartDate`, `SubscriptionTrialEnd`, `SubscriptionTrialEndNow`, and `SubscriptionTrialFromPlan` are removed from `InvoiceParams`.
* ⚠️ Add separate structs for `BillingDetails` and `BillingDetailsParams`: `PaymentMethodBillingDetails`, `PaymentMethodBillingDetailsParams`
* ⚠️ Add separate structs for `PaymentMethodCardNetwork`: `PaymentMethodCardNetworksAvailable`, `PaymentMethodCardNetworksPreferred`
* ⚠️ For BankAccount and Card client methods, check that exactly one of `params.Account` and `params.Customer` is set (previously they could both be set, but only one would be used, and it was different between BankAccount and Card)
* ⚠️ Change resource names on `client#API` to be plural to be consistent with the library's naming conventions:
* ⚠️ Change types of various fields in `Account`, `ApplicationFee`, `BalanceTransaction`, `BillingPortalConfiguration`, `Card`, `Charge`, `Customer`, `Discount`, `Invoice`, `Issuing Card`, `Issuing Dispute `, `Mandate `, `PaymentIntent`, `PaymentMethod`, `Payout`, `Plan `, `Plan `, `Refund`, `SetupIntent`, `Source`, `Source`, `Subscription`, `SubscriptionItem`, `SubscriptionSchedule`, `Terminal ConnectionToken`, `Terminal Location`, `Terminal Reader `, `Topup`, and `Transfer` (see Migration guide).
* Fix `BalanceTransactionSource` `UnmarshalJSON` for when `BalanceTransactionSource.Type == "transfer_reversal"` (previously, we were checking if `Type == "reversal"`, which was always false)
* ⚠️ Move `BalanceTransaction` iterator from `balance.go` to `balancetransaction.go`
* ⚠️ Move `Del` from `discount/client.go` to `customer/client.go` and rename to `DeleteDiscount`
* ⚠️ Move `DelSub` from `discount/client.go` to `subscription/client.go` and rename to `DeleteDiscount`
* Rename files to be consistent with the library's naming conventions.
- `fee.go` to `applicationfee.go`
- `fee/client.go` to `applicationfee/client.go`
- `sub.go` to `subscription.go`
- `sub/client.go` to `subscription/client.go`
- `subitem.go` to `subscriptionitem.go`
- `subitem/client.go` to `subscriptionitem/client.go`
- `subschedule.go` to `subscriptionschedule.go`
- `subschedule/client.go` to `subscriptionschedule/client.go`
- `reversal.go` to `transferreversal.go`
- `reversal/client.go` to `transferreversal/client.go`
* ⚠️ Rename structs, fields, enums, and methods to be consistent with the library's naming conventions and with the other Stripe SDKs.
- `Ach` to `ACH`
- `Acss` to `ACSS`
- `Bic` to `BIC`
- `Eps` to `EPS`
- `FEDEX` to `FedEx`
- `Iban` to `IBAN`
- `Ideal` to `IDEAL`
- `Sepa` to `SEPA`
- `Wechat` to `WeChat`
- `ExternalAccount` to `AccountExternalAccount`
- `InvoiceLine` to `InvoiceLineItem`
- `Person` structs/enums to use `Person` prefix
- and others (see Migration guide)
* ⚠️ Replace `CardVerification` with field-specific enums (with the same values)
* ⚠️ Replace `FeeRefundParams.ApplicationFee` with `FeeRefundParams.Fee` and `FeeRefundParams.ID`
* ⚠️ Update `ErrorType`and `ErrorCode` values.
* ⚠️ Update the Webhook `ConstructEvent,` `ConstructEventIgnoringTolerance` and `ConstructEventWithTolerance` functions to return an error when the webhook event's API version does not match the stripe-go library API version.
### Deprecated
* The `SKU` resource has been deprecated. This will be replaced by https://stripe.com/docs/api/orders_v2.
### ⚠️ Removed
* ⚠️ Remove `AccountCapability` enum definition. This was not referenced in the library.
* ⚠️ Remove `AccountCompany.RegistrationNumber` (Note: `RegistrationNumber` is still available on `AccountCompanyParams`, but is not returned in the response)
* ⚠️ Remove `AccountParams.RequestedCapabilities` (use Capabilities instead: https://stripe.com/docs/connect/account-capabilities)
* ⚠️ Remove `AccountRejectReason` (was only referenced in `account/client_test.go`, actual `AccountRejectParams.Reason` is `*string`)
* ⚠️ Remove `AccountSettingsParams.Dashboard` and `AccountSettingsDashboardParams` (Note: `Dashboard` are still available on `AccountSettings`, but it's not available as parameters for any of the methods)
* ⚠️ Remove `BalanceTransactionStatus`. It was meant to be an enum, but none of the enum values were defined, so it was just an alias for string.
* ⚠️ Remove `CardParams.AccountType`. `AccountType` does not exist on any client method for Card. It does on BankAccount, which is similar.
* ⚠️ Remove `CheckoutSessionLineItemPriceDataRecurringParams.AggregateUsage`, `CheckoutSessionLineItemPriceDataRecurringParams.TrialPeriodDays`, and `CheckoutSessionLineItemPriceDataRecurringParams.UsageType`
* ⚠️ Remove `CheckoutSessionTotalDetailsBreakdownTax.Deleted`
* ⚠️ Remove `CheckoutSessionPaymentIntentDataParams.Params`, `CheckoutSessionSetupIntentDataParams.Params`, `CheckoutSessionSubscriptionDataParams.Params`. `Params` should only be embedded in root method struct, and has extraneous fields not applicable to child/sub structs.
* ⚠️ Remove `CheckoutSessionTotalDetailsBreakdownTax.TaxRate`. Use `CheckoutSessionTotalDetailsBreakdownTax.Rate`
* ⚠️ Remove `CustomerParams.Token`
* ⚠️ Remove `DefaultCurrency` property from `Customer` resource. Please use `Currency` property instead.
* ⚠️ Remove `Del` method on `TaxRate`
* ⚠️ Remove `Discount` `APIResource` embed
* ⚠️ Remove `DiscountParams`
* ⚠️ Remove `FilePurposeFoundersStockDocument` (`"founders_stock_document"` option for `File.Purpose`)
* ⚠️ Remove `id` param from CheckoutSessions `ListLineItems`. Use `CheckoutSessionListLineItemsParams.Session` instead.
* ⚠️ Remove `InvoiceListLinesParams.Customer` and `InvoiceListLinesParams.Subscription` (these are not available for Invoice `ListLines`, but are available for `List`)
* ⚠️ Remove `InvoiceParams.Paid`. Use `invoice.status` to check for status. `invoice.status` is a read-only field.
* ⚠️ Remove `InvoiceParams.SubscriptionPlan` and `InvoiceParams.SubscriptionQuantity` (note: these would have been on `InvoiceUpcomingParams`)
* ⚠️ Remove `IssuingAuthorizationRequestHistoryViolatedAuthorizationControlEntity` and `IssuingAuthorizationRequestHistoryViolatedAuthorizationControlName` (unused enums)
* ⚠️ Remove `IssuingCardSpendingControlsParams.SpendingLimitsCurrency`. `issuing_card` has `currency`, and `issuing_card.spending_controls.spending_limits.amount` will use that currency
* ⚠️ Remove `IssuingDisputeEvidenceServiceNotAsDescribed.ProductDescription`, `IssuingDisputeEvidenceServiceNotAsDescribed.ProductType`, `IssuingDisputeEvidenceServiceNotAsDescribedParams.ProductDescription`, `IssuingDisputeEvidenceServiceNotAsDescribedParams.ProductType`, and `IssuingDisputeEvidenceServiceNotAsDescribedProductType`. `issuing_dispute.evidence.service_not_as_described` does not have `product_description` or `product_type`. `issuing_dispute.evidence.canceled` does.
* ⚠️ Remove the legacy Orders API
* ⚠️ Remove `LineItem.Deleted`
* ⚠️ Remove `LineItemTax.TaxRate`. Use `LineItemTax.Rate` instead.
* ⚠️ Remove `LoginLink.RedirectURL`
* ⚠️ Remove `Name` from `RadarValueListItem`
* ⚠️ Remove `PaymentIntentConfirmParams.PaymentMethodTypes`
* ⚠️ Remove `PaymentIntentOffSession` (unused enum)
* ⚠️ Remove `PaymentMethodFPX.TransactionID`
* ⚠️ Remove `Payout.BankAccount` and `Payout.Card` (These fields were never populated, use `PayoutDestination.BankAccount` and `PayoutDestination.Card` instead)
* ⚠️ Remove `PlanParams.ProductID`. Use `PlanParams.Product.ID` instead.
* ⚠️ Remove `ReviewReasonType` type from `Review` resource. Use `ReviewReason` instead
* ⚠️ Remove `SetupIntentCancellationReasonFailedInvoice` and `SetupIntentCancellationReasonFraudulent` values from `SetupIntentCancellationReason`
* ⚠️ Remove `Shipping` and `ShippingRate` properties from `CheckoutSession` resource. Please use `ShippingCost` and `ShippingDetails` properties instead.
* ⚠️ Remove `SigmaScheduledQueryRun.Query`. The field was invalid
* ⚠️ Remove `SKUParams.Description` and `SKU.Description`
* ⚠️ Remove `Source.TypeData` and SourceParams and replace with payment method-specific fields (AUBECSDebit, Bancontact, Card, CardPresent, EPS, Giropay, IDEAL, Klarna, Multibanco, P24, SEPACreditTransfer, SEPADebit, Sofort, ThreeDSecure, Wechat) and `Source.AppendTo` method
* ⚠️ Remove `SourceMandateAcceptanceStatus`, `SourceMandateAcceptanceStatusAccepted`, `SourceMandateAcceptanceStatusRefused`, `SourceMandateNotificationMethod`, `SourceMandateNotificationMethodEmail`, `SourceMandateNotificationMethodManual`, and `SourceMandateNotificationMethodNone`
* ⚠️ Remove `SourceTransaction.CustomerData`. The field was deprecated
* ⚠️ Remove `SourceTransaction.TypeData` and `SourceTransaction.UnmarshalJSON`. Use payment specific fields - Remove `ACHCreditTransfer`, `CHFCreditTransfer`, `GBPCreditTransfer`, `PaperCheck`, and `SEPACreditTransfer`
* ⚠️ Remove `SubscriptionParams.Card`, `SubscriptionParams.Plan`, and `SubscriptionParams.Quantity`
* ⚠️ Remove `SubscriptionItemParams.ID`. The field was deprecated
* ⚠️ Remove `Subscription.Plan` and `Subscription.Quantity`
* ⚠️ Remove `SubscriptionPaymentBehavior`, `SubscriptionPaymentBehaviorAllowIncomplete`, `SubscriptionPaymentBehaviorErrorIfIncomplete`, and `SubscriptionPaymentBehaviorPendingIfIncomplete`
* ⚠️ Remove `SubscriptionProrationBehavior`, `SubscriptionProrationBehaviorAlwaysInvoice`, `SubscriptionProrationBehaviorCreateProrations`, and `SubscriptionProrationBehaviorNone`
* ⚠️ Remove `SubscriptionSchedulePhaseAddInvoiceItemPriceDataRecurringParams` and `SubscriptionSchedulePhaseAddInvoiceItemPriceDataParams`
* ⚠️ Remove `SubscriptionStatusAll`
* ⚠️ Remove `TerminalReaderList.Location` and `TerminalReaderList.Status` (Not available for the list, but is available for individual `TerminalReader`s in `TerminalReaderList.Data`)
* ⚠️ Remove `TerminalReaderGetParams`. Use `TerminalReaderParams` instead.
* ⚠️ Remove `Token.Email` and `TokenParams.Email`
* ⚠️ Remove `TopupParams.SetSource`
* ⚠️ Remove `UnmarshalJSON` for resources that are not expandable: `BillingPortalSession`, `Capability`, `CheckoutSession`, `FileLink`, `InvoiceItem`, `LineItem`, `Person`, `WebhookEndpoint`
* ⚠️ Remove `Updated` and `UpdatedBy` from `RadarValueList`
* ⚠️ Remove `WebhookEndpoint.Connected`
* ⚠️ Remove `WebhookEndpointListParams.Created` and `WebhookEndpointListParams.CreatedRange` (use `StartingAfter` from `ListParams`)
## 72.122.0 - 2022-07-26
* [#1508](https://github.com/stripe/stripe-go/pull/1508) API Updates
* Add support for new value `exempted` on enums `ChargePaymentMethodDetailsCardThreeDSecureResult` and `SetupAttemptPaymentMethodDetailsCardThreeDSecureResult`
* Add support for `CustomerBalance` on `CheckoutSessionPaymentMethodOptionsParams` and `CheckoutSessionPaymentMethodOptions`
## 72.121.0 - 2022-07-25
* [#1507](https://github.com/stripe/stripe-go/pull/1507) API Updates
* Add support for `Installments` on `CheckoutSessionPaymentMethodOptionsCardParams`, `CheckoutSessionPaymentMethodOptionsCard`, `InvoicePaymentSettingsPaymentMethodOptionsCardParams`, and `InvoicePaymentSettingsPaymentMethodOptionsCard`
* Add support for `DefaultCurrency` and `InvoiceCreditBalance` on `Customer`
* Add support for `Currency` on `InvoiceParams`
* Add support for `DefaultMandate` on `InvoicePaymentSettingsParams` and `InvoicePaymentSettings`
* Add support for `Mandate` on `InvoicePayParams`
## 72.120.0 - 2022-07-18
* [#1497](https://github.com/stripe/stripe-go/pull/1497) API Updates
* Add support for `BLIKPayments` on `AccountCapabilitiesParams` and `AccountCapabilities`
* Add support for `BLIK` on `ChargePaymentMethodDetails`, `MandatePaymentMethodDetails`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SetupAttemptPaymentMethodDetails`, `SetupIntentConfirmPaymentMethodDataParams`, `SetupIntentConfirmPaymentMethodOptionsParams`, `SetupIntentPaymentMethodDataParams`, `SetupIntentPaymentMethodOptionsParams`, and `SetupIntentPaymentMethodOptions`
* Change type of `CheckoutSessionConsentCollectionPromotionsParams`, `CheckoutSessionConsentCollectionPromotions`, `PaymentLinkConsentCollectionPromotionsParams`, and `PaymentLinkConsentCollectionPromotions` from `literal('auto')` to `enum('auto'|'none')`
* Add support for new value `blik` on enum `PaymentLinkPaymentMethodTypes`
* Add support for new value `blik` on enum `PaymentMethodType`
## 72.119.0 - 2022-07-12
* [#1494](https://github.com/stripe/stripe-go/pull/1494) API Updates
* Add support for `CustomerDetails` on `CheckoutSessionListParams`
## 72.118.0 - 2022-07-07
* [#1491](https://github.com/stripe/stripe-go/pull/1491) API Updates
* Add support for `Customer` on `CheckoutSessionListParams` and `RefundParams`
* Add support for `Currency` and `Origin` on `RefundParams`
* [#1492](https://github.com/stripe/stripe-go/pull/1492) API Updates
* Add support for `Currency` on `CheckoutSessionParams`, `InvoiceUpcomingLinesParams`, `InvoiceUpcomingParams`, `PaymentLinkParams`, `SubscriptionParams`, `SubscriptionSchedulePhasesParams`, `SubscriptionSchedulePhases`, and `Subscription`
* Add support for `CurrencyOptions` on `CheckoutSessionShippingOptionsShippingRateDataFixedAmountParams`, `CouponParams`, `Coupon`, `OrderShippingCostShippingRateDataFixedAmountParams`, `PriceParams`, `Price`, `ProductDefaultPriceDataParams`, `PromotionCodeRestrictionsParams`, `PromotionCodeRestrictions`, `ShippingRateFixedAmountParams`, and `ShippingRateFixedAmount`
* Add support for `Restrictions` on `PromotionCodeParams`
* Add support for `FixedAmount` and `TaxBehavior` on `ShippingRateParams`
## 72.117.0 - 2022-06-29
* [#1483](https://github.com/stripe/stripe-go/pull/1483) Document use of undocumented parameters/properties
* [#1487](https://github.com/stripe/stripe-go/pull/1487) API Updates
* Add support for `DeliverCard`, `FailCard`, `ReturnCard`, and `ShipCard` test helper methods on resource `Issuing.Card`
* Change type of `PaymentLinkPaymentMethodTypesParams` and `PaymentLinkPaymentMethodTypes` from `literal('card')` to `enum`
* Add support for `HostedRegulatoryReceiptURL` on `TreasuryReceivedCredit` and `TreasuryReceivedDebit`
## 72.116.0 - 2022-06-23
* [#1482](https://github.com/stripe/stripe-go/pull/1482) Use the generated API version
* [#1484](https://github.com/stripe/stripe-go/pull/1484) API Updates
* Add support for `CaptureMethod` on `PaymentIntentConfirmParams` and `PaymentIntentParams`
* [#1481](https://github.com/stripe/stripe-go/pull/1481) API Updates
* Add support for `PromptPayPayments` on `AccountCapabilitiesParams` and `AccountCapabilities`
* Add support for `PromptPay` on `ChargePaymentMethodDetails`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams`
* Add support for `SubtotalExcludingTax` on `CreditNote` and `Invoice`
* Add support for `AmountExcludingTax` and `UnitAmountExcludingTax` on `CreditNoteLineItem` and `InvoiceLineItem`
* Add support for `RenderingOptions` on `InvoiceParams`
* Add support for `TotalExcludingTax` on `Invoice`
* Add support for new value `promptpay` on enums `InvoicePaymentSettingsPaymentMethodTypes` and `SubscriptionPaymentSettingsPaymentMethodTypes`
* Add support for `AutomaticPaymentMethods` on `OrderPaymentSettings`
* Add support for `PromptPayDisplayQRCode` on `PaymentIntentNextAction`
* Add support for new value `promptpay` on enum `PaymentMethodType`
## 72.115.0 - 2022-06-17
* [#1478](https://github.com/stripe/stripe-go/pull/1478) Fix test assert to allow beta versions
* [#1475](https://github.com/stripe/stripe-go/pull/1475) Trigger workflows on beta branches
* [#1477](https://github.com/stripe/stripe-go/pull/1477) API Updates
* Add support for `FundCashBalance` test helper method on resource `Customer`
* Add support for `StatementDescriptorPrefixKana` and `StatementDescriptorPrefixKanji` on `AccountSettingsCardPaymentsParams`, `AccountSettingsCardPayments`, and `AccountSettingsPayments`
* Add support for `StatementDescriptorSuffixKana` and `StatementDescriptorSuffixKanji` on `CheckoutSessionPaymentMethodOptionsCardParams`, `CheckoutSessionPaymentMethodOptionsCard`, `PaymentIntentConfirmPaymentMethodOptionsCardParams`, `PaymentIntentPaymentMethodOptionsCardParams`, and `PaymentIntentPaymentMethodOptionsCard`
* Add support for `TotalExcludingTax` on `CreditNote`
* Change type of `CustomerInvoiceSettingsRenderingOptionsParams` from `rendering_options_param` to `emptyStringable(rendering_options_param)`
* Add support for `RenderingOptions` on `CustomerInvoiceSettings` and `Invoice`
## 72.114.0 - 2022-06-09
* [#1473](https://github.com/stripe/stripe-go/pull/1473) API Updates
* Add support for `Treasury` on `AccountSettingsParams` and `AccountSettings`
* Add support for `RenderingOptions` on `CustomerInvoiceSettingsParams`
* Add support for `EUBankTransfer` on `CustomerCreateFundingInstructionsBankTransferParams`, `InvoicePaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferParams`, `InvoicePaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransfer`, `OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferParams`, `OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransfer`, `PaymentIntentConfirmPaymentMethodOptionsCustomerBalanceBankTransferParams`, `PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferParams`, `PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer`, `SubscriptionPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferParams`, and `SubscriptionPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransfer`
* Change type of `CustomerCreateFundingInstructionsBankTransferRequestedAddressTypesParams` from `literal('zengin')` to `enum('iban'|'sort_code'|'spei'|'zengin')`
* Change type of `CustomerCreateFundingInstructionsBankTransferTypeParams`, `OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferTypeParams`, `OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferType`, `PaymentIntentConfirmPaymentMethodOptionsCustomerBalanceBankTransferTypeParams`, `PaymentIntentNextActionDisplayBankTransferInstructionsType`, `PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferTypeParams`, and `PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferType` from `literal('jp_bank_transfer')` to `enum('eu_bank_transfer'|'gb_bank_transfer'|'jp_bank_transfer'|'mx_bank_transfer')`
* Add support for `Iban`, `SortCode`, and `Spei` on `FundingInstructionsBankTransferFinancialAddresses` and `PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddresses`
* Add support for new values `bacs`, `fps`, and `spei` on enums `FundingInstructionsBankTransferFinancialAddressesSupportedNetworks` and `PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesSupportedNetworks`
* Add support for new values `sort_code` and `spei` on enums `FundingInstructionsBankTransferFinancialAddressesType` and `PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesType`
* Change type of `OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferRequestedAddressTypesParams`, `OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferRequestedAddressTypes`, `PaymentIntentConfirmPaymentMethodOptionsCustomerBalanceBankTransferRequestedAddressTypesParams`, `PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferRequestedAddressTypesParams`, and `PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferRequestedAddressTypes` from `literal('zengin')` to `enum`
* Add support for `CustomUnitAmount` on `PriceParams` and `Price`
## 72.113.0 - 2022-06-08
* [#1469](https://github.com/stripe/stripe-go/pull/1469) Add test for cash balance methods.
* [#1472](https://github.com/stripe/stripe-go/pull/1472) API Updates
* Add support for `Affirm`, `Bancontact`, `Card`, `Ideal`, `P24`, and `Sofort` on `CheckoutSessionPaymentMethodOptionsParams` and `CheckoutSessionPaymentMethodOptions`
* Add support for `AUBECSDebit`, `AfterpayClearpay`, `BACSDebit`, `EPS`, `FPX`, `Giropay`, `Grabpay`, `Klarna`, `PayNow`, and `SepaDebit` on `CheckoutSessionPaymentMethodOptionsParams`
* Add support for `SetupFutureUsage` on `CheckoutSessionPaymentMethodOptionsAcssDebitParams`, `CheckoutSessionPaymentMethodOptionsAcssDebit`, `CheckoutSessionPaymentMethodOptionsAfterpayClearpay`, `CheckoutSessionPaymentMethodOptionsAlipayParams`, `CheckoutSessionPaymentMethodOptionsAlipay`, `CheckoutSessionPaymentMethodOptionsAuBecsDebit`, `CheckoutSessionPaymentMethodOptionsBacsDebit`, `CheckoutSessionPaymentMethodOptionsBoletoParams`, `CheckoutSessionPaymentMethodOptionsBoleto`, `CheckoutSessionPaymentMethodOptionsEps`, `CheckoutSessionPaymentMethodOptionsFpx`, `CheckoutSessionPaymentMethodOptionsGiropay`, `CheckoutSessionPaymentMethodOptionsGrabpay`, `CheckoutSessionPaymentMethodOptionsKlarna`, `CheckoutSessionPaymentMethodOptionsKonbiniParams`, `CheckoutSessionPaymentMethodOptionsKonbini`, `CheckoutSessionPaymentMethodOptionsOxxoParams`, `CheckoutSessionPaymentMethodOptionsOxxo`, `CheckoutSessionPaymentMethodOptionsPaynow`, `CheckoutSessionPaymentMethodOptionsSepaDebit`, `CheckoutSessionPaymentMethodOptionsUsBankAccountParams`, `CheckoutSessionPaymentMethodOptionsUsBankAccount`, and `CheckoutSessionPaymentMethodOptionsWechatPayParams`
* Add support for `AttachToSelf` on `SetupAttempt`, `SetupIntentListParams`, and `SetupIntentParams`
* Add support for `FlowDirections` on `SetupAttempt` and `SetupIntentParams`
## 72.112.0 - 2022-06-01
* [#1471](https://github.com/stripe/stripe-go/pull/1471) API Updates
* Add support for `RadarOptions` on `ChargeParams`, `Charge`, `PaymentIntentConfirmParams`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentMethodParams`, `PaymentMethod`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams`
* Add support for `AccountHolderName`, `AccountNumber`, `AccountType`, `BankCode`, `BankName`, `BranchCode`, and `BranchName` on `FundingInstructionsBankTransferFinancialAddressesZengin` and `PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesZengin`
* Change type of `OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferType` and `PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferType` from `enum` to `literal('jp_bank_transfer')`
* Add support for `Network` on `SetupIntentPaymentMethodOptionsCard`
* Add support for new value `simulated_wisepos_e` on enum `TerminalReaderDeviceType`
## 72.111.0 - 2022-05-26
* [#1466](https://github.com/stripe/stripe-go/pull/1466) API Updates
* Add support for `AffirmPayments` and `LinkPayments` on `AccountCapabilitiesParams` and `AccountCapabilities`
* Add support for `IDNumberSecondary` on `AccountIndividualParams`, `PersonParams`, `TokenAccountIndividualParams`, and `TokenPersonParams`
* Add support for `HostedInstructionsURL` on `PaymentIntentNextActionDisplayBankTransferInstructions`
* Add support for `IDNumberSecondaryProvided` on `Person`
* Add support for `CardIssuing` on `TreasuryFinancialAccountFeaturesParams` and `TreasuryFinancialAccountUpdateFeaturesParams`
## 72.110.0 - 2022-05-23
* [#1465](https://github.com/stripe/stripe-go/pull/1465) API Updates
* Add support for `Treasury` on `AccountCapabilitiesParams` and `AccountCapabilities`
## 72.109.0 - 2022-05-23
* [#1464](https://github.com/stripe/stripe-go/pull/1464) API Updates
* Add support for new resource `Apps.Secret`
* Add support for `Affirm` on `ChargePaymentMethodDetails`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams`
* Add support for `Link` on `ChargePaymentMethodDetails`, `MandatePaymentMethodDetails`, `OrderPaymentSettingsPaymentMethodOptionsParams`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SetupAttemptPaymentMethodDetails`, `SetupIntentConfirmPaymentMethodDataParams`, `SetupIntentConfirmPaymentMethodOptionsParams`, `SetupIntentPaymentMethodDataParams`, `SetupIntentPaymentMethodOptionsParams`, and `SetupIntentPaymentMethodOptions`
* Add support for new value `link` on enums `InvoicePaymentSettingsPaymentMethodTypes` and `SubscriptionPaymentSettingsPaymentMethodTypes`
* Add support for new values `affirm` and `link` on enum `PaymentMethodType`
## 72.108.0 - 2022-05-19
* [#1462](https://github.com/stripe/stripe-go/pull/1462) update build status label and remove outdated code coverage label
* [#1461](https://github.com/stripe/stripe-go/pull/1461) API Updates
* Add support for `Description` on `CheckoutSessionSubscriptionDataParams`, `SubscriptionParams`, and `Subscription`
* Add support for `ConsentCollection`, `PaymentIntentData`, `ShippingOptions`, `SubmitType`, and `TaxIDCollection` on `PaymentLinkParams` and `PaymentLink`
* Add support for `CustomerCreation` on `PaymentLinkParams` and `PaymentLink`
* Add support for `Metadata` on `SubscriptionSchedulePhasesParams` and `SubscriptionSchedulePhases`
* [#1463](https://github.com/stripe/stripe-go/pull/1463) API Updates
* Add support for new resources `Treasury.CreditReversal`, `Treasury.DebitReversal`, `Treasury.FinancialAccountFeatures`, `Treasury.FinancialAccount`, `Treasury.FlowDetails`, `Treasury.InboundTransfer`, `Treasury.OutboundPayment`, `Treasury.OutboundTransfer`, `Treasury.ReceivedCredit`, `Treasury.ReceivedDebit`, `Treasury.TransactionEntry`, and `Treasury.Transaction`
* Add support for `RetrievePaymentMethod` method on resource `Customer`
* Add support for `ListOwners` and `List` methods on resource `FinancialConnections.Account`
* Change type of `BillingPortalSessionReturnUrl` from `string` to `nullable(string)`
* Add support for `AUBECSDebit`, `AfterpayClearpay`, `BACSDebit`, `EPS`, `FPX`, `Giropay`, `Grabpay`, `Klarna`, `PayNow`, and `SepaDebit` on `CheckoutSessionPaymentMethodOptions`
* Add support for `Treasury` on `IssuingAuthorization`, `IssuingDisputeParams`, `IssuingDispute`, and `IssuingTransaction`
* Add support for `FinancialAccount` on `IssuingCardParams` and `IssuingCard`
* Add support for `ClientSecret` on `Order`
* Add support for `Networks` on `PaymentIntentConfirmPaymentMethodOptionsUsBankAccountParams`, `PaymentIntentPaymentMethodOptionsUsBankAccountParams`, `PaymentMethodUsBankAccount`, `SetupIntentConfirmPaymentMethodOptionsUsBankAccountParams`, and `SetupIntentPaymentMethodOptionsUsBankAccountParams`
* Add support for `AttachToSelf` and `FlowDirections` on `SetupIntent`
* Add support for `SaveDefaultPaymentMethod` on `SubscriptionPaymentSettingsParams` and `SubscriptionPaymentSettings`
* Add support for `CZK` on `TerminalConfigurationTippingParams` and `TerminalConfigurationTipping`
## 72.107.0 - 2022-05-11
* [#1459](https://github.com/stripe/stripe-go/pull/1459) API Updates
* Add support for `AmountDiscount`, `AmountTax`, and `Product` on `LineItem`
## 72.106.0 - 2022-05-05
* [#1457](https://github.com/stripe/stripe-go/pull/1457) API Updates
* Add support for `DefaultPriceData` on `ProductParams`
* Add support for `DefaultPrice` on `ProductParams` and `Product`
* Add support for `InstructionsEmail` on `RefundParams` and `Refund`
## 72.105.0 - 2022-05-05
* [#1454](https://github.com/stripe/stripe-go/pull/1454) API Updates
* Add support for `RegisteredAddress` on `AccountIndividualParams`, `PersonParams`, `Person`, `TokenAccountIndividualParams`, and `TokenPersonParams`
* Add support for `PaymentMethodData` on `SetupIntentConfirmParams` and `SetupIntentParams`
* [#1455](https://github.com/stripe/stripe-go/pull/1455) API Updates
* Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session`
* Add support for `FinancialConnections` on `CheckoutSessionPaymentMethodOptionsUsBankAccountParams`, `CheckoutSessionPaymentMethodOptionsUsBankAccount`, `InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountParams`, `InvoicePaymentSettingsPaymentMethodOptionsUsBankAccount`, `PaymentIntentConfirmPaymentMethodOptionsUsBankAccountParams`, `PaymentIntentPaymentMethodOptionsUsBankAccountParams`, `PaymentIntentPaymentMethodOptionsUsBankAccount`, `SetupIntentConfirmPaymentMethodOptionsUsBankAccountParams`, `SetupIntentPaymentMethodOptionsUsBankAccountParams`, `SetupIntentPaymentMethodOptionsUsBankAccount`, `SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountParams`, and `SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccount`
* Add support for `FinancialConnectionsAccount` on `PaymentIntentConfirmPaymentMethodDataUsBankAccountParams`, `PaymentIntentPaymentMethodDataUsBankAccountParams`, `PaymentMethodUsBankAccountParams`, `PaymentMethodUsBankAccount`, `SetupIntentConfirmPaymentMethodDataUsBankAccountParams`, and `SetupIntentPaymentMethodDataUsBankAccountParams`
## 72.104.0 - 2022-05-03
* [#1453](https://github.com/stripe/stripe-go/pull/1453) API Updates
* Add support for new resource `CashBalance`
* Change type of `BillingPortalConfigurationApplication` from `$Application` to `deletable($Application)`
* Add support for `Alipay` on `CheckoutSessionPaymentMethodOptionsParams` and `CheckoutSessionPaymentMethodOptions`
* Add support for new value `eu_oss_vat` on enums `CheckoutSessionCustomerDetailsTaxIdsType`, `InvoiceCustomerTaxIdsType`, and `TaxIdType`
* Add support for `CashBalance` on `Customer`
* Add support for `Application` on `Invoice`, `Quote`, `SubscriptionSchedule`, and `Subscription`
## 72.103.0 - 2022-04-21
* [#1452](https://github.com/stripe/stripe-go/pull/1452) API Updates
* Add support for `Expire` test helper method on resource `Refund`
## 72.102.0 - 2022-04-19
* [#1448](https://github.com/stripe/stripe-go/pull/1448) API Updates
* Add support for `IncrementAuthorization` method on resource `PaymentIntent`
* Add support for `IncrementalAuthorizationSupported` on `ChargePaymentMethodDetailsCardPresent`
* Add support for `RequestIncrementalAuthorizationSupport` on `PaymentIntentConfirmPaymentMethodOptionsCardPresentParams`, `PaymentIntentPaymentMethodOptionsCardPresentParams`, and `PaymentIntentPaymentMethodOptionsCardPresent`
* [#1451](https://github.com/stripe/stripe-go/pull/1451) API Updates
* Add support for new resources `FundingInstructions` and `Terminal.Configuration`
* Add support for `CreateFundingInstructions` method on resource `Customer`
* Add support for `CustomerBalance` on `ChargePaymentMethodDetails`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, and `PaymentMethod`
* Add support for `CashBalance` on `CustomerParams`
* Add support for `AmountDetails` on `PaymentIntent`
* Add support for `DisplayBankTransferInstructions` on `PaymentIntentNextAction`
* Add support for new value `customer_balance` on enum `PaymentMethodType`
* Add support for `ConfigurationOverrides` on `TerminalLocationParams` and `TerminalLocation`
## 72.101.0 - 2022-04-08
* [#1446](https://github.com/stripe/stripe-go/pull/1446) API Updates
* Add support for `ApplyCustomerBalance` method on resource `PaymentIntent`
## 72.100.0 - 2022-04-04
* [#1443](https://github.com/stripe/stripe-go/pull/1443) Add support for passing expansions in SearchParams.
## 72.99.0 - 2022-04-01
* [#1442](https://github.com/stripe/stripe-go/pull/1442) API Updates
* Add support for `BankTransferPayments` on `AccountCapabilitiesParams` and `AccountCapabilities`
* Add support for `CaptureBefore` on `ChargePaymentMethodDetailsCardPresent`
* Add support for `Address` and `Name` on `CheckoutSessionCustomerDetails`
* Add support for `CustomerBalance` on `InvoicePaymentSettingsPaymentMethodOptionsParams`, `InvoicePaymentSettingsPaymentMethodOptions`, `SubscriptionPaymentSettingsPaymentMethodOptionsParams`, and `SubscriptionPaymentSettingsPaymentMethodOptions`
* Add support for new value `customer_balance` on enums `InvoicePaymentSettingsPaymentMethodTypes` and `SubscriptionPaymentSettingsPaymentMethodTypes`
* Add support for `RequestExtendedAuthorization` on `PaymentIntentConfirmPaymentMethodOptionsCardPresentParams`, `PaymentIntentPaymentMethodOptionsCardPresentParams`, and `PaymentIntentPaymentMethodOptionsCardPresent`
## 72.98.0 - 2022-03-30
* [#1440](https://github.com/stripe/stripe-go/pull/1440) API Updates
* Add support for `CancelAction`, `ProcessPaymentIntent`, `ProcessSetupIntent`, and `SetReaderDisplay` methods on resource `Terminal.Reader`
* Add support for `Action` on `TerminalReader`
## 72.97.0 - 2022-03-29
* [#1439](https://github.com/stripe/stripe-go/pull/1439) API Updates
* Add support for Search API
* Add support for `Search` method on resources `Charge`, `Customer`, `Invoice`, `PaymentIntent`, `Price`, `Product`, and `Subscription`
## 72.96.0 - 2022-03-25
* [#1437](https://github.com/stripe/stripe-go/pull/1437) API Updates
* Add support for PayNow and US Bank Accounts Debits payments
* **Charge** ([API ref](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details))
* Add support for `PayNow` and `USBankAccount` on `ChargePaymentMethodDetails`
* **Mandate** ([API ref](https://stripe.com/docs/api/mandates/object#mandate_object-payment_method_details))
* Add support for `USBankAccount` on `MandatePaymentMethodDetails`
* **Payment Intent** ([API ref](https://stripe.com/docs/api/payment_intents/object#payment_intent_object-payment_method_options))
* Add support for `PayNow` and `USBankAccount` on `PaymentIntentPaymentMethodOptions`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentConfirmPaymentMethodDataParams`, and `PaymentIntentConfirmPaymentMethodOptionsParams`
* Add support for `PayNowDisplayQRCode` on `PaymentIntentNextAction`
* **Setup Intent** ([API ref](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-payment_method_options))
* Add support for `USBankAccount` on `SetupIntentPaymentMethodOptionsParams`, `SetupIntentPaymentMethodOptions`, and `SetupIntentConfirmPaymentMethodOptionsParams`
* **Setup Attempt** ([API ref](https://stripe.com/docs/api/setup_attempts/object#setup_attempt_object-payment_method_details))
* Add support for `USBankAccount` on `SetupAttemptPaymentMethodDetails`
* **Payment Method** ([API ref](https://stripe.com/docs/api/payment_methods/object#payment_method_object-paynow))
* Add support for `PayNow` and `USBankAccount` on `PaymentMethod` and `PaymentMethodParams`
* Add support for new values `paynow` and `us_bank_account` on enum `PaymentMethodType`
* **Checkout Session** ([API ref](https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_method_types))
* Add support for `USBankAccount` on `CheckoutSessionPaymentMethodOptionsParams` and `CheckoutSessionPaymentMethodOptions`
* **Invoice** ([API ref](https://stripe.com/docs/api/invoices/object#invoice_object-payment_settings-payment_method_types))
* Add support for `USBankAccount` on `InvoicePaymentSettingsPaymentMethodOptions` and `InvoicePaymentSettingsPaymentMethodOptionsParams`
* Add support for new values `paynow` and `us_bank_account` on enum `InvoicePaymentSettingsPaymentMethodTypes`
* **Subscription** ([API ref](https://stripe.com/docs/api/subscriptions/object#subscription_object-payment_settings-payment_method_types))
* Add support for `USBankAccount` on `SubscriptionPaymentSettingsPaymentMethodOptions` and `SubscriptionPaymentSettingsPaymentMethodOptionsParams`
* Add support for new values `paynow` and `us_bank_account` on enum `SubscriptionPaymentSettingsPaymentMethodTypes`
* **Account capabilities** ([API ref](https://stripe.com/docs/api/accounts/object#account_object-capabilities))
* Add support for `PayNowPayments` and `USBankAccountAchPayments` on `AccountCapabilities` and `AccountCapabilitiesParams`
* Add support for `FailureBalanceTransaction` on `Charge`
* Add support for `TestClock` on `SubscriptionListParams`
* Add support for `CaptureMethod` on `PaymentIntentConfirmPaymentMethodOptionsAfterpayClearpayParams`, `PaymentIntentConfirmPaymentMethodOptionsCardParams`, `PaymentIntentConfirmPaymentMethodOptionsKlarnaParams`, `PaymentIntentPaymentMethodOptionsAfterpayClearpayParams`, `PaymentIntentPaymentMethodOptionsAfterpayClearpay`, `PaymentIntentPaymentMethodOptionsCardParams`, `PaymentIntentPaymentMethodOptionsCard`, `PaymentIntentPaymentMethodOptionsKlarnaParams`, `PaymentIntentPaymentMethodOptionsKlarna`, and `PaymentIntentTypeSpecificPaymentMethodOptionsClient`
* Add additional support for verify microdeposits on Payment Intent and Setup Intent ([API ref](https://stripe.com/docs/api/payment_intents/verify_microdeposits))
* Add support for `DescriptorCode` on `PaymentIntentVerifyMicrodepositsParams` and `SetupIntentVerifyMicrodepositsParams`
* Add support for `MicrodepositType` on `PaymentIntentNextActionVerifyWithMicrodeposits` and `SetupIntentNextActionVerifyWithMicrodeposits`
* Add case for `ConnectCollectionTransfer` on `BalanceTransactionSource` `UnmarshalJSON` (fixes #1392)
* Add missing `PayoutFailureCode`s (fixes #1438)
## 72.95.0 - 2022-03-23
* [#1436](https://github.com/stripe/stripe-go/pull/1436) API Updates
* Add support for `Cancel` method on resource `Refund`
* Add support for new values `bg_uic`, `hu_tin`, and `si_tin` on enums `CheckoutSessionCustomerDetailsTaxIdsType`, `InvoiceCustomerTaxIdsType`, and `TaxIdType`
* Add support for `TestClock` on `QuoteListParams`
## 72.94.0 - 2022-03-18
* [#1324](https://github.com/stripe/stripe-go/pull/1324) Add support for SearchResult objects
* [#1432](https://github.com/stripe/stripe-go/pull/1432) Add StringSlice example to readme
* [#1433](https://github.com/stripe/stripe-go/pull/1433) API Updates
* Add support for `Status` on `Card`
## 72.93.0 - 2022-03-11
* [#1431](https://github.com/stripe/stripe-go/pull/1431) API Updates
* Add support for `Mandate` on `ChargePaymentMethodDetailsCard`
* Add support for `MandateOptions` on `SetupIntentPaymentMethodOptionsCardParams`, `PaymentIntentPaymentMethodOptionsCardParams`, `PaymentIntentConfirmPaymentMethodOptionsCardParams`, `PaymentIntentPaymentMethodOptionsCard`, SetupIntentConfirmPaymentMethodOptionsCardParams`, and `SetupIntentPaymentMethodOptionsCard`
* Add support for `CardAwaitNotification` on `PaymentIntentNextAction`
* Add support for `CustomerNotification` on `PaymentIntentProcessingCard`
## 72.92.0 - 2022-03-09
* [#1429](https://github.com/stripe/stripe-go/pull/1429) Fix unmarshalling error on schedule create from subscription (ApplicationFeePercent)
* [#1430](https://github.com/stripe/stripe-go/pull/1430) API Updates
* Add support for `TestClock` on `CustomerListParams`
## 72.91.0 - 2022-03-02
* [#1425](https://github.com/stripe/stripe-go/pull/1425) API Updates
* Add support for new resources `InvoiceLineProrationDetails` and `InvoiceLineProrationDetailsCreditedItems`
* Add support for `ProrationDetails` on `InvoiceLine`
## 72.90.0 - 2022-03-01
* [#1423](https://github.com/stripe/stripe-go/pull/1423) [#1424](https://github.com/stripe/stripe-go/pull/1424) API Updates
* Add support for new resource `TestHelpers.TestClock`
* Add support for `TestClock` on `CustomerParams`, `Customer`, `Invoice`, `InvoiceItem`, `QuoteParams`, `Quote`, `Subscription`, and `SubscriptionSchedule`
* Add support for `PendingInvoiceItemsBehavior` on `InvoiceParams`
* Change type of `ProductUrlParams` from `string` to `emptyStringable(string)`
* Add support for `NextAction` on `Refund`
## 72.89.0 - 2022-02-25
* [#1420](https://github.com/stripe/stripe-go/pull/1420) Generate enums in samples
* [#1422](https://github.com/stripe/stripe-go/pull/1422) API Updates
* Add support for `KonbiniPayments` on `AccountCapabilitiesParams`, and `AccountCapabilities`
`BillingPortalConfigurationBusinessProfileTermsOfServiceUrl` from `string` to `nullable(string)`
* Add support for `Konbini` on `ChargePaymentMethodDetails`, `CheckoutSessionPaymentMethodOptionsParams`, `CheckoutSessionPaymentMethodOptions`, `InvoicePaymentSettingsPaymentMethodOptionsParams`, `InvoicePaymentSettingsPaymentMethodOptionsParams`, `InvoicePaymentSettingsPaymentMethodOptions`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SubscriptionPaymentSettingsPaymentMethodOptionsParams`, and `SubscriptionPaymentSettingsPaymentMethodOptions`
* Add support for new value `konbini` on enums `InvoicePaymentSettingsPaymentMethodTypes` and `SubscriptionPaymentSettingsPaymentMethodTypes`
* Add support for `KonbiniDisplayDetails` on `PaymentIntentNextAction`
* Add support for new value `konbini` on enum `PaymentMethodType`
## 72.88.0 - 2022-02-23
* [#1421](https://github.com/stripe/stripe-go/pull/1421) API Updates
* Add support for `SetupFutureUsage` on `PaymentIntentPaymentMethodOptions.*`
* Add support for new values `bbpos_wisepad3` and `stripe_m2` on enum `TerminalReaderDeviceType`
## 72.87.0 - 2022-02-15
* [#1414](https://github.com/stripe/stripe-go/pull/1414) Add comments for deprecated error types
* [#1419](https://github.com/stripe/stripe-go/pull/1419) Add tests for verify_microdeposits
* [#1415](https://github.com/stripe/stripe-go/pull/1415) API Updates
* Add support for `PIN` on `IssuingCardParams`
* [#1416](https://github.com/stripe/stripe-go/pull/1416) API Updates
* Add support for `VerifyMicrodeposits` method on resources `PaymentIntent` and `SetupIntent`
* Add support for new value `grabpay` on enums `InvoicePaymentSettingsPaymentMethodTypes` and `SubscriptionPaymentSettingsPaymentMethodTypes`
## 72.86.0 - 2022-01-25
* [#1384](https://github.com/stripe/stripe-go/pull/1384) godoc is no more
* [#1411](https://github.com/stripe/stripe-go/pull/1411) API Updates
* Add support for `PhoneNumberCollection` on `PaymentLinkParams` and `PaymentLink`
* Add support for new value `is_vat` on enums `CheckoutSessionCustomerDetailsTaxIdsType`, `InvoiceCustomerTaxIdsType`, and `TaxIdType`
## 72.85.0 - 2022-01-20
* [#1408](https://github.com/stripe/stripe-go/pull/1408) API Updates
* Add support for new resource `PaymentLink`
* Add support for `PaymentLink` on `CheckoutSession`
## 72.84.0 - 2022-01-19
* [#1405](https://github.com/stripe/stripe-go/pull/1405) Generate struct field docstrings
* [#1407](https://github.com/stripe/stripe-go/pull/1407) API Updates
* Change type of `ChargeStatus` from `string` to `enum('failed'|'pending'|'succeeded')`
* Add support for `BACSDebit` and `EPS` on `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, and `PaymentIntentPaymentMethodOptions`
* Add support for `ImageURLPNG` and `ImageURLSVG` on `PaymentIntentNextActionWechatPayDisplayQRCode`
## 72.83.0 - 2022-01-13
* [#1404](https://github.com/stripe/stripe-go/pull/1404) API Updates
* Add support for `PaidOutOfBand` on `Invoice`
## 72.82.0 - 2022-01-12
* [#1398](https://github.com/stripe/stripe-go/pull/1398) Update docs URLs.
* [#1396](https://github.com/stripe/stripe-go/pull/1396) Make bankaccount and card codegen-able
* Add support for `address_city`, `address_country`, `address_line1`, `address_line2`, `address_state`, `address_zip`, `exp_month`, `exp_year`, and `name` on `BankAccountParams`
* Add support for `account_holder_name`, `account_holder_type`, and `owner` on `CardParams`
* Add support for `account` on `Card`
* [#1400](https://github.com/stripe/stripe-go/pull/1400) Make paymentsource.go and client codegen-able
* Add support for `account_holder_name`, `account_holder_type`, `address_city`, `address_country`, `address_line1`, `address_line2`, `address_state`, `address_zip`, `exp_month`, `exp_year`, `name`, `owner` on `CustomerSourceParams`
* Add support for `PaymentSourceOwnerParams`
* Add support for `Object` on `SourceListParams`
* [#1401](https://github.com/stripe/stripe-go/pull/1401) Make source.go and client codegen-able
* Add support for `object` on `Source` (value is the string "source")
* Add support for `client_secret` on `SourceObjectParams`
* Add support for `parent` on `SourceSourceOrderItems`
* [#1403](https://github.com/stripe/stripe-go/pull/1403) API Updates
* Add support for `CustomerCreation` on `CheckoutSessionParams` and `CheckoutSession`
* Add support for `FPX` and `Grabpay` on `PaymentIntentPaymentMethodOptionsParams` and `PaymentIntentPaymentMethodOptions`
* [#1399](https://github.com/stripe/stripe-go/pull/1399) API Updates
* Add support for `MandateOptions` on `SubscriptionPaymentSettingsPaymentMethodOptionsCardParams`, `SubscriptionPaymentSettingsPaymentMethodOptionsCardParams`, and `SubscriptionPaymentSettingsPaymentMethodOptionsCard`
## 72.81.0 - 2021-12-22
* [#1393](https://github.com/stripe/stripe-go/pull/1393) API Updates
* Add support for `Processing` on `PaymentIntent`
* [#1397](https://github.com/stripe/stripe-go/pull/1397) API Updates
* Add support for `AUBECSDebit` on `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, and `PaymentIntentPaymentMethodOptions`
* Change type of `PaymentIntentProcessingType` from `string` to `literal('card')`. This is not considered a breaking change as the field was added in the same release.
* [#1395](https://github.com/stripe/stripe-go/pull/1395) API Updates
* Add support for `Boleto` on `SetupAttemptPaymentMethodDetails`
## 72.80.0 - 2021-12-15
* [#1391](https://github.com/stripe/stripe-go/pull/1391) API Updates
* Add support for new resource `PaymentIntentTypeSpecificPaymentMethodOptionsClient`
* Add support for `SetupFutureUsage` on `PaymentIntentPaymentMethodOptionsCardParams`, `PaymentIntentPaymentMethodOptionsCardParams`, `PaymentIntentConfirmPaymentMethodOptionsCardParams`, and `PaymentIntentPaymentMethodOptionsCard`
## 72.79.0 - 2021-12-09
* [#1382](https://github.com/stripe/stripe-go/pull/1382) Add unwrap capability to Error
* [#1388](https://github.com/stripe/stripe-go/pull/1388) Codegen: `sourcetransaction.go` and `sourcetransaction/client.go`
* Add support for `Object` and `Status` on `SourceTransaction`.
* [#1390](https://github.com/stripe/stripe-go/pull/1390) API Updates
* Add support for `Metadata` on `BillingPortalConfiguration`
## 72.78.0 - 2021-12-09
* [#1383](https://github.com/stripe/stripe-go/pull/1383) [#1379](https://github.com/stripe/stripe-go/pull/1379) [#1385](https://github.com/stripe/stripe-go/pull/1385) [#1386](https://github.com/stripe/stripe-go/pull/1386) Codegen-related updates
* Add support for `CancellationReason` and `ReceivedAt` on `IssuingDisputeEvidenceServiceNotAsDescribed` and `IssuingDisputeEvidenceServiceNotAsDescribedParams`
* Add support for `Created` on `IssuingDisputeListParams`
* Add support for `Object` on `Plan`
* Add support for `free_zone_establishment`, `free_zone_llc`, `llc`, and `sole_establishment` options for `AccountCompanyStructure`
* Add support for `AfterpayClearpayPayments` on `AccountCapabilitiesParams`
* Add support for `Created` and `CreatedRange` on `AccountListParams`
* Add support for `AfterpayClearpayPayments` and `BoletoPayments` on `AccountCapabilities`
* Add support for `Capability` and `Capabilities` method on Account client
* Add support for `none` and `renew` options for `SubscriptionScheduleEndBehavior`
* Add support for `"now"` string for `EndDate`, `StartDate`, and `TrialEnd` on `SubscriptionSchedulePhaseParams`
* Add support for `ProrationBehavior` on `SubscriptionSchedulePhase`
* Add support for `APIVersion` and `Object` on `Event`
* Add support for `Metadata` on `SubscriptionItemsParams`
* Add support for `'automatic_pending_invoice_item_invoice'` option for `InvoiceBillingReason`
* Add support for `'deleted'` option for `InvoiceStatus`
* Add support for `metadata` on `InvoiceUpcomingCustomerDetailsParams`
* Add support for `schedule` on `InvoiceParams`
* Add support for `created` on `Person`
* [#1389](https://github.com/stripe/stripe-go/pull/1389) API Updates
* Add support for new values `ge_vat` and `ua_vat` on enums `CheckoutSessionCustomerDetailsTaxIdsType`, `InvoiceCustomerTaxIdsType`, and `TaxIdType`
## 72.77.0 - 2021-11-19
* [#1381](https://github.com/stripe/stripe-go/pull/1381) Add support for `Wallets` on `IssuingCard`
* Add support for `Wallets` on `IssuingCard`
* [#1380](https://github.com/stripe/stripe-go/pull/1380) API Updates
* Add support for `InteracPresent` on `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, and `PaymentIntentPaymentMethodOptions`
* Add support for new value `jct` on enum `TaxRateTaxType`
## 72.76.0 - 2021-11-17
* [#1377](https://github.com/stripe/stripe-go/pull/1377) API Updates
* Add support for `AutomaticPaymentMethods` on `PaymentIntentParams` and `PaymentIntent`
## 72.75.0 - 2021-11-16
* [#1375](https://github.com/stripe/stripe-go/pull/1375) API Updates
* Add support for new resource `ShippingRate`
* Add support for `ShippingOptions` on `CheckoutSessionParams` and `CheckoutSession`
* Add support for `ShippingRate` on `CheckoutSession`
## 72.74.0 - 2021-11-11
* [#1373](https://github.com/stripe/stripe-go/pull/1373) [#1370](https://github.com/stripe/stripe-go/pull/1370) [#1369](https://github.com/stripe/stripe-go/pull/1369) Codegen-related updates
- Add support for `disabled` on `CapabilityStatus`
* [#1374](https://github.com/stripe/stripe-go/pull/1374) API Updates
* Add support for `Expire` method on resource `Checkout.Session`
* Add support for `Status` on `CheckoutSession`
* Make more files codegen-able
- Add support for `acss_debit`, `au_becs_debit`, `bacs_debit`, and `sepa_debit` on `SetupAttemptPaymentMethodDetails`
- Add support for `setup_intent` on `SetupAttempt`
- Add support for `duplicate` option for `SetupIntentCancellationReason`
- Add support for `challenge_only` option for `SetupIntentPaymentMethodOptionsCardRequestThreeDSecure`
- Add support for `sepa_debit` on `SetupIntentPaymentMethodOptionsParams` and `SetupIntentPaymentMethodOptions`
- Add support for `client_secret` on `SetupIntentParams`
## 72.73.1 - 2021-11-04
* [#1371](https://github.com/stripe/stripe-go/pull/1371) API Updates
* Remove support for `OwnershipDeclarationShownAndSigned` on `TokenAccountParams`. This API was unused.
* Add support for `OwnershipDeclarationShownAndSigned` on `TokenAccountCompanyParams`
## 72.73.0 - 2021-11-01
* [#1364](https://github.com/stripe/stripe-go/pull/1364) Update references in test suite to be fully qualified.
* [#1366](https://github.com/stripe/stripe-go/pull/1366) Make File resource and client codegen-able
- Add support for `"selfie"` and `"identity_document_downloadable"` as `FilePurpose` options
- Add support for `title` field on `File`
* [#1365](https://github.com/stripe/stripe-go/pull/1365) Make paymentintent and paymentmethod codegen-able
* Fix `WechatPay` form name in `PaymentIntentPaymentMethodDataParams`
* Add support for `"challenge_only"` as `PaymentIntentPaymentMethodOptionsCardRequestThreeDSecure` option
* Add support for `OffSessionOneOff` and `OffSessionRecurring` on `PaymentIntentConfirmParams`
* Add support for `BACSDebit`, `Bancontact`, `Giropay`, `InteracPresent`, `Metadata`, and `Sofort` on `PaymentIntentPaymentMethodDataParams`
* Add support for `CardPresent`, `Ideal`, `P24`, and `SepaDebit` on `PaymentIntentPaymentMethodOptionsParams` and `PaymentIntentPaymentMethodOptions`
* Add support for `ClientSecret`, `OffSessionOneOff`, and `OffSessionRecurring` on `PaymentIntentParams`
* Add support for `Object` on `PaymentIntent`
* Add support for `AmexExpressCheckout`, `ApplePay`, `GooglePay`, `Masterpass`, `SamsungPay`, and `VisaCheckout` on `PaymentMethodCardWallet`
* [#1368](https://github.com/stripe/stripe-go/pull/1368) API Updates
* Add support for `OwnershipDeclaration` on `AccountCompanyParams`, `AccountCompanyParams`, `AccountCompany`, and `TokenAccountCompanyParams`
* Add support for `ProofOfRegistration` on `AccountDocumentsParams` and `AccountDocumentsParams`
* Add support for `OwnershipDeclarationShownAndSigned` on `TokenAccountParams`
## 72.72.0 - 2021-10-20
* [#1361](https://github.com/stripe/stripe-go/pull/1361) Bugfix: point client.API#Oauth to the Connect backend.
* [#1358](https://github.com/stripe/stripe-go/pull/1358) API Updates
* Add support for `BuyerID` on `ChargePaymentMethodDetailsAlipay`
## 72.71.0 - 2021-10-15
* [#1356](https://github.com/stripe/stripe-go/pull/1356) Add generated test suite
* [#1355](https://github.com/stripe/stripe-go/pull/1355) Make order-related files codegen-able
* Add support for `SelectedShippingMethod` and `Status` on `OrderStatus`
* Add support for `Carrier` and `TrackingNumber` on `ShippingParams`
* Add support for `ExternalCouponCode` and `Object` on `Order`
* Add support for `Object` on `OrderItem` and `OrderReturn`
* Add support for `Deleted` and `Object` on `SKU`
* [#1357](https://github.com/stripe/stripe-go/pull/1357) API Updates
* Change type of `UsageRecordTimestampParams` from `integer` to `literal('now') | integer`
## 72.70.0 - 2021-10-11
* [#1354](https://github.com/stripe/stripe-go/pull/1354) API Updates
* Add support for `PaymentMethodCategory` and `PreferredLocale` on `ChargePaymentMethodDetailsKlarna`
* Add support for `Klarna` on `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, and `PaymentMethod`
* Add support for new value `klarna` on enum `PaymentMethodType`
## 72.69.0 - 2021-10-11
* [#1331](https://github.com/stripe/stripe-go/pull/1331) Add missing decline codes following official documentation.
* [#1352](https://github.com/stripe/stripe-go/pull/1352) API Updates
* Add support for `ListPaymentMethods` method on resource `Customer`
## 72.68.0 - 2021-10-07
* [#1350](https://github.com/stripe/stripe-go/pull/1350) [#1349](https://github.com/stripe/stripe-go/pull/1349) [#1347](https://github.com/stripe/stripe-go/pull/1347) [#1346](https://github.com/stripe/stripe-go/pull/1346) Codegen-related changes
* Add support for `Object` to `Token`
* Add support for `Object` on `Reversal`
* [#1351](https://github.com/stripe/stripe-go/pull/1351) API Updates
* Add support for `PhoneNumberCollection` on `CheckoutSessionParams` and `CheckoutSession`
* Add support for `Phone` on `CheckoutSessionCustomerDetails`
* Add support for new value `customer_id` on enum `RadarValueListItemType`
* Add support for new value `bbpos_wisepos_e` on enum `TerminalReaderDeviceType`
## 72.67.0 - 2021-09-29
* [#1345](https://github.com/stripe/stripe-go/pull/1345) API Updates
* Add support for `KlarnaPayments` on `AccountCapabilitiesParams`, `AccountCapabilitiesParams`, and `AccountCapabilities`
## 72.66.0 - 2021-09-28
* [#1344](https://github.com/stripe/stripe-go/pull/1344) API Updates
* Add support for `AmountAuthorized` and `OvercaptureSupported` on `ChargePaymentMethodDetailsCardPresent`
## 72.65.0 - 2021-09-16
* [#1337](https://github.com/stripe/stripe-go/pull/1337) Generated go test suites
* [#1336](https://github.com/stripe/stripe-go/pull/1336) Adding missing dispute reasons following official documentation (http…
* [#1339](https://github.com/stripe/stripe-go/pull/1339) API Updates
* Add support for new value `rst` on enum `TaxRateTaxType`
* [#1342](https://github.com/stripe/stripe-go/pull/1342) API Updates
* Add support for `Livemode` on `ReportingReportType`.
* Add support for `DefaultFor` on `CheckoutSessionPaymentMethodOptionsACSSDebitMandateOptionsParams`, `CheckoutSessionPaymentMethodOptionsACSSDebitMandateOptions`, `MandatePaymentMethodDetailsACSSDebit`, `SetupIntentPaymentMethodOptionsACSSDebitMandateOptionsParams`, and `SetupIntentPaymentMethodOptionsACSSDebitMandateOptions`.
* Add support for `ACSSDebit` on `InvoicePaymentSettingsPaymentMethodOptionsParams`, `InvoicePaymentSettingsPaymentMethodOptionsParams`, `InvoicePaymentSettingsPaymentMethodOptions`, `SubscriptionPaymentSettingsPaymentMethodOptionsParams`, `SubscriptionPaymentSettingsPaymentMethodOptionsParams`, and `SubscriptionPaymentSettingsPaymentMethodOptions`.
* Add support for new value `acss_debit` on enums `InvoicePaymentSettingsPaymentMethodType` and `SubscriptionPaymentSettingsPaymentMethodType`.
* Add support for `FullNameAliases` on `PersonParams` and `Person`.
## 72.64.1 - 2021-09-03
* [#1335](https://github.com/stripe/stripe-go/pull/1335) Bugfix: prop `form` annotation for `WechatPay` on `PaymentIntentPaymentMethodOptions`
## 72.64.0 - 2021-09-01
* [#1334](https://github.com/stripe/stripe-go/pull/1334) API Updates
* Add support for `FutureRequirements` on `Account`, `Capability`, and `Person`
* Add support for `Alternatives` on `AccountRequirements`, `CapabilityRequirements`, and `PersonRequirements`
## 72.63.0 - 2021-09-01
* [#1332](https://github.com/stripe/stripe-go/pull/1332) API Updates
* Add support for `AfterExpiration`, `ConsentCollection`, and `ExpiresAt` on `CheckoutSessionParams` and `CheckoutSession`
* Add support for `Consent` and `RecoveredFrom` on `CheckoutSession`
## 72.62.0 - 2021-08-27
* [#1329](https://github.com/stripe/stripe-go/pull/1329) API Updates
* Add support for `CancellationReason` on `BillingPortalConfigurationFeaturesSubscriptionCancelParams`, `BillingPortalConfigurationFeaturesSubscriptionCancelParams`, and `BillingPortalConfigurationFeaturesSubscriptionCancel`
## 72.61.0 - 2021-08-19
* [#1323](https://github.com/stripe/stripe-go/pull/1323) codegen: api.go
* [#1328](https://github.com/stripe/stripe-go/pull/1328) API Updates
* Add support for new TaxId type: `au_arn`
* Add support for `InteracPresent` on `ChargePaymentMethodDetails`
* Add support for `SepaCreditTransfer` on `ChargePaymentMethodDetails`
* Codegen related changes:
* Moved `ShippingDetails` into `address.go`
* Add support for `Object` and `Order` to `Charge`
* Renamed `ReviewReasonType` enum to `ReviewReason` but added a type alias to preserve backwards compatibility
## 72.60.0 - 2021-08-11
* [#1317](https://github.com/stripe/stripe-go/pull/1317) codegen: charge, taxrate
* Add support for `ApplicationFee` on (Charge) `CaptureParams`
* Add support for `PreferredLanguage` on `ChargePaymentMethodDetailsSofort`
* Bugfix: correctly deserialize `amount` on `ChargeTransferData`
* [#1325](https://github.com/stripe/stripe-go/pull/1325) API Updates
* Add support for `locale` on ` BillingPortalSessionParams` and ` BillingPortalSession`
## 72.59.0 - 2021-07-28
* [#1322](https://github.com/stripe/stripe-go/pull/1322) API Updates
* Add support for `AccountType` on `BankAccount`, `BankAccountParams`, and `CardParams`.
* Add support for `CategoryCode` on `IssuingAuthorizationMerchantData`.
* Add const definition for value `redacted` on enum `ReviewClosedReason`.
## 72.58.0 - 2021-07-22
* [#1315](https://github.com/stripe/stripe-go/pull/1315) Explicit iter property
* [#1320](https://github.com/stripe/stripe-go/pull/1320) Stop using uploads.stripe.com for the files backend.
* [#1318](https://github.com/stripe/stripe-go/pull/1318) API Updates
* Add support for `Wallet` on `IssuingTransaction`
* Add support for `Ideal` on `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, and `PaymentIntentPaymentMethodOptions`
* [#1319](https://github.com/stripe/stripe-go/pull/1319) API Updates
* Add support for `payment_settings` on `Subscription` and `SubscriptionParams`.
## 72.57.0 - 2021-07-14
* [#1312](https://github.com/stripe/stripe-go/pull/1312) codegen: 14 more files
* Add support for `BillingAddressCollection` to `CheckoutSession`
* Add support for `NetworkReasonCode` to `DisputeReason`
* Add support for `Object` to `EphemeralKey`, `ApplicationFee`, and `DisputeReason`
* Add support for `Description` to `Refund`
* Add const definition for value `blocked` on enum `IssuingCardholderStatus`
* Bugfix: add support for `Rate` on `CheckoutSessionTotalDetailsBreakdownTax` -- the existing field `TaxRate` has the wrong json annotation and should be deprecated.
* [#1314](https://github.com/stripe/stripe-go/pull/1314) API Updates
* Add support for `ListComputedUpfrontLineItems` method on resource `Quote`
## 72.56.0 - 2021-07-09
* [#1309](https://github.com/stripe/stripe-go/pull/1309) Fix deserialization of Error on Sigma ScheduledQueryRun (warning: this might be a minor breaking change if you attempted to reference this broken field)
* [#1310](https://github.com/stripe/stripe-go/pull/1310) [#1283](https://github.com/stripe/stripe-go/pull/1283) API Updates
* Add support for new resource `Quote`
* Add support for `Quote` on `Invoice`
* Add support for new value `quote_accept` on enum `InvoiceBillingReason`
## 72.55.0 - 2021-06-30
* [#1306](https://github.com/stripe/stripe-go/pull/1306) API Updates
* Add support for `boleto` on `InvoicePaymentSettingsPaymentMethodType`.
## 72.54.0 - 2021-06-30
* [#1304](https://github.com/stripe/stripe-go/pull/1304) Add support for Wechat Pay
* Add support for `WechatPay` on `ChargePaymentMethodDetails`, `CheckoutSessionPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, and `PaymentMethod`
* Add support for new value `wechat_pay` on enums `InvoicePaymentSettingsPaymentMethodType` and `PaymentMethodType`
* Add support for `WechatPayDisplayQRCode`, `WechatPayRedirectToAndroidApp`, and `WechatPayRedirectToIOSApp` on `PaymentIntentNextAction`
## 72.53.0 - 2021-06-29
* [#1303](https://github.com/stripe/stripe-go/pull/1303) API Updates
* Add support for `Boleto` and `OXXO` on `CheckoutSessionPaymentMethodOptionsParams` and `CheckoutSessionPaymentMethodOptions`
* Add support for `BoletoPayments` on `AccountCapabilities`
## 72.52.0 - 2021-06-25
* [#1299](https://github.com/stripe/stripe-go/pull/1299) API Updates
* Add support for new TaxId types: `ca_pst_mb`, `ca_pst_bc`, `ca_gst_hst`, and `ca_pst_sk`.
* [#1301](https://github.com/stripe/stripe-go/pull/1301) API Updates
* Add support for `boleto` as a `PaymentMethodType`
* Add support for `Boleto` on `ChargePaymentMethodDetails`, `PaymentMethod`, `PaymentMethodParams`, `PaymentIntentPaymentMethodOptions`, `PaymentIntentPaymentMethodDataParams`, and `PaymentIntentPaymentMethodOptionsParams`
* Add support for `BoletoDisplayDetails` on `PaymentIntentNextAction`
* Add support for `il_vat` on enums `CheckoutSessionCustomerDetailsTaxIDsType` and `TaxIDType`
## 72.51.0 - 2021-06-16
* [#1298](https://github.com/stripe/stripe-go/pull/1298) API Updates
* Add checkout.Session.URL
## 72.50.0 - 2021-06-07
* [#1295](https://github.com/stripe/stripe-go/pull/1295) Add Secret to EphemeralKey as it now should be accessed directly
* [#1297](https://github.com/stripe/stripe-go/pull/1297) API Updates
* Add support for `TaxIDCollection` to `CheckoutSession` and `CheckoutSessionParams`.
## 72.49.0 - 2021-06-04
* [#1287](https://github.com/stripe/stripe-go/pull/1287) [#1293](https://github.com/stripe/stripe-go/pull/1293) [#1290](https://github.com/stripe/stripe-go/pull/1290) codegen: 4 files
* Add missing enum members to `BalanceTransactionType`, `BalanceTransactionSourceType`
* Add support for `FeeRefund` and `Topup` to `BalanceTransactionSource`
* Add support for `Object` on `BalanceTransaction` and `Transfer`
* Removed a redundant form-encoding conversion for `UpTo` in `PriceTierParams.AppendTo` method
* [#1292](https://github.com/stripe/stripe-go/pull/1292) API Updates
* Add support for `Controller` to `Account`
## 72.48.0 - 2021-06-04
* [#1291](https://github.com/stripe/stripe-go/pull/1291) API Updates
* Add new resource `TaxCode`.
* Add support for `AutomaticTax` on `CheckoutSession`, `Invoice`, `Subscription`, and `SubscriptionScheduleDefaultSettings`.
* Add support for `CustomerUpdate` on `CheckoutSessionCustomerUpdateParams`
* Add support for `Tax` on `Customer` and `CustomerParams`
* Add support for `CustomerDetails` on `InvoiceParams`
* Add support for `TaxBehavior` on `Price`, `PriceParams`, `CheckoutSessionLineItemPriceDataParams`, `PriceParams`, `SubscriptionItemPriceDataParams`, `SubscriptionSchedulePhaseAutomaticTaxParams`,`SubscriptionSchedulePhaseAddInvoiceItemPriceDataParams`, and `InvoiceItemPriceDataParams`
* Add support for `TaxCode` on `CheckoutSessionLineItemPriceDataProductParams`, `Product`, `ProductParams`, `PlanProductParams` and `PriceProductDataParams`
## 72.47.0 - 2021-05-26
* [#1286](https://github.com/stripe/stripe-go/pull/1286) API Updates
* Added support for `Documents` to `PersonParams`
## 72.46.0 - 2021-05-25
* [#1285](https://github.com/stripe/stripe-go/pull/1285) API Updates
* Add support for Identity VerificationSession and VerificationReport APIs
## 72.45.0 - 2021-05-06
* [#1280](https://github.com/stripe/stripe-go/pull/1280) API Updates
* Added support for `reference` on `Charge.payment_method_details.afterpay_clearpay`
* Added support for `afterpay_clearpay` on `PaymentIntent.payment_method_options`.
* [#1279](https://github.com/stripe/stripe-go/pull/1279) API Updates
* Add support for `payment_intent` on `RadarEarlyFraudWarning` and `RadarEarlyFraudWarningListParams`.
## 72.44.0 - 2021-05-05
* [#1278](https://github.com/stripe/stripe-go/pull/1278) API updates
* Add support for `dhl` and `royal_mail` as enum members of `IssuingCardShippingCarrier`.
* Add support for `single_member_llc` as an enum member of `AccountCompanyStructure`.
## 72.43.0 - 2021-04-19
* [#1277](https://github.com/stripe/stripe-go/pull/1277) , [#1276](https://github.com/stripe/stripe-go/pull/1276) Codegen-related changes
* Add missing `Object` field to several structs.
* Set `path` in `usagerecordsummary.List` only once, not once per iteration.
## 72.42.0 - 2021-04-13
* [#1275](https://github.com/stripe/stripe-go/pull/1275) Add support for ACSS debit payment method
* Add support for `acss_debit` as value for `PaymentMethodType`.
* Add support for `ACSSDebit` on `PaymentMethod`, `PaymentMethodParams`, `PaymentIntentPaymentMethodOptions`, `PaymentIntentPaymentMethodOptionsParams`, `MandatePaymentMethodDetails`, `SetupIntentPaymentMethodOptions`, and `SetupIntentPaymentOptionsParams`.
* Add support for `ACSSDebitPayments` on `AccountCapabilities`
* Add support for `PaymentMethodOptions` on `CheckoutSession`
* Add support for `verify_with_microdeposits` and `use_stripe_sdk` on `PaymentIntentNextAction` and `SetupIntentNextAction`
## 72.41.1 - 2021-04-07
* [#1274](https://github.com/stripe/stripe-go/pull/1274) Fix names of `SubscriptionScheduleStatus` constants (warning: this might be a minor breaking change if you'd been referencing a bad name)
## 72.41.0 - 2021-04-02
* [#1269](https://github.com/stripe/stripe-go/pull/1269) codegen: 13 more files
* Add missing `Object` property to several structs
* Add support for `ExpiresAtNow` to `FileLinkParams`
* Add support for `SubscriptionItem` to `InvoiceItem`
* Add enum definitions for `TerminalReader.DeviceType`
* Add enum definitions for `Topup.status`
* Add support for `Amount`, `AmountRange`, and `Status` to `TopupListParams`
* Added custom `UnmarshalJSON` method for `Topup`
* [#1271](https://github.com/stripe/stripe-go/pull/1271) codegen: add several client.go files
* [#1272](https://github.com/stripe/stripe-go/pull/1272) API Updates
* Add support for `TransferData` on `CheckoutSessionSubscriptionDataParams`
* [#1273](https://github.com/stripe/stripe-go/pull/1273) API Updates
* Add support for `SubscriptionPause` on `BillingPortalConfigurationFeatures` and `BillingPortalConfigurationFeaturesParams`
## 72.40.0 - 2021-03-26
* [#1270](https://github.com/stripe/stripe-go/pull/1270) add card_issuing.tos_acceptance to account.go
* Add support for `AccountSettingsParams.CardIssuing.TOSAcceptance`
* Add support for `AccountSettingsCardPayments.CardIssuing.TOSAcceptance`
## 72.39.0 - 2021-03-22
* [#1268](https://github.com/stripe/stripe-go/pull/1268) API Updates
* Add support for `ShippingRates` on `CheckoutSessionParams`
* Add support for `AmountShipping`on `CheckoutSessionTotalDetails`
## 72.38.0 - 2021-03-16
* [#1250](https://github.com/stripe/stripe-go/pull/1250) Support `SubscriptionTrialEndNow` on the Retrieve Upcoming Invoice API
* [#1264](https://github.com/stripe/stripe-go/pull/1264) , [#1261](https://github.com/stripe/stripe-go/pull/1261) Codegen-related changes
* Introduce missing `Object` and `Deleted` properties to many structs
* Add two missing members to `CustomerBalanceTransactionType` enum
* Add `DomainName` to `ApplePayDomainListParams`
## 72.37.0 - 2021-03-01
* [#1257](https://github.com/stripe/stripe-go/pull/1257) Adds ErrorType idempotency_error
## 72.36.0 - 2021-03-01
* [#1259](https://github.com/stripe/stripe-go/pull/1259) Add configuration API to billingportal_session.go
* [#1253](https://github.com/stripe/stripe-go/pull/1253) Fix `LineItemTax` to deserialize `Rate` properly
## 72.35.0 - 2021-02-24
* [#1254](https://github.com/stripe/stripe-go/pull/1254) Add support for the billing portal configuration API
## 72.34.0 - 2021-02-18
* [#1249](https://github.com/stripe/stripe-go/pull/1249) Fix edge case panic in ParseID
* [#1252](https://github.com/stripe/stripe-go/pull/1252) API Updates
* Add support for `afterpay_clearpay` on `PaymentMethod`, `PaymentMethodParams`, `PaymentIntentPaymentMethodDataParams`, and `ChargePaymentMethodDetails`
* Add `afterpay_clearpay` as an enum member on `PaymentMethodType`
* Add support for `adjustable_quantity` on `CheckoutSessionLineItemParams`
* Add support for `on_behalf_of` on `InvoiceParams` and `Invoice`
## 72.33.0 - 2021-02-09
* [#1247](https://github.com/stripe/stripe-go/pull/1247) Added support for `payment_settings` to `Invoice`
## 72.32.0 - 2021-02-03
* [#1243](https://github.com/stripe/stripe-go/pull/1243) Added missing decline code 'invalid_expiry_month'
* [#1246](https://github.com/stripe/stripe-go/pull/1246) Add SubscriptionStartDate to InvoiceParams (to use with GetNext)
* [#1245](https://github.com/stripe/stripe-go/pull/1245) API Updates
* Add `nationality` to `Person` and `PersonParams`
- (TokenParams includes PersonParams, so this also allows it to be specified on token.Create)
* Add `gb_vat` as a member of `TaxIDType` and `CheckoutSessionCustomerDetailsTaxIDsType`
## 72.31.0 - 2021-01-25
* [#1228](https://github.com/stripe/stripe-go/pull/1228) Redact client_secret from logs
## 72.30.0 - 2021-01-15
* [#1241](https://github.com/stripe/stripe-go/pull/1241) Multiple API Changes
* Added support for `dynamic_tax_rates` on `CheckoutSessionParams.line_items`
* Added support for `customer_details` on `CheckoutSession`
* Added support for `type` on `IssuingTransactionListParams`
* Added support for `country` and `state` on `TaxRateParams` and `TaxRate`
## 72.29.0 - 2021-01-11
* [#1236](https://github.com/stripe/stripe-go/pull/1236) Add support for bank on eps/p24
* [#1239](https://github.com/stripe/stripe-go/pull/1239) Add support for more verification documents in `Documents` on `Account`.
## 72.28.0 - 2020-12-03
* [#1234](https://github.com/stripe/stripe-go/pull/1234) Add support for `BankAccountOwnershipVerification` in `Documents` on `Account`
## 72.27.0 - 2020-11-24
* [#1230](https://github.com/stripe/stripe-go/pull/1230) Add support for `AccountTaxIDs` on `Invoice`
## 72.26.0 - 2020-11-20
* [#1227](https://github.com/stripe/stripe-go/pull/1227) Add support for Account and Person `Token` creation
## 72.25.0 - 2020-11-20
* [#1229](https://github.com/stripe/stripe-go/pull/1229) Add support for `GrabpayPayments` as a capability on `Account`
## 72.24.0 - 2020-11-18
* [#1225](https://github.com/stripe/stripe-go/pull/1225) Fix bad comments to make the linter happy
* [#1224](https://github.com/stripe/stripe-go/pull/1224) Add support for GrabPay as a PaymentMethod
## 72.23.0 - 2020-11-09
* [#1222](https://github.com/stripe/stripe-go/pull/1222) Add `LastFinalizationError` to `Invoice` and `PaymentMethodType` to `Error`
* [#1223](https://github.com/stripe/stripe-go/pull/1223) Properly deserialize `IssuingDispute` on `BalanceTransaction`
## 72.22.0 - 2020-11-04
* [#1221](https://github.com/stripe/stripe-go/pull/1221) Add support for `RegistrationNumber` in `Company` on `Account`
## 72.21.0 - 2020-10-27
* [#1220](https://github.com/stripe/stripe-go/pull/1220) Add `PreferredLocales` on `Charge` for payments made via Interac Present transactions
## 72.20.0 - 2020-10-26
* [#1218](https://github.com/stripe/stripe-go/pull/1218) Multiple API changes
* Add support for passing `CvcToken` in `PaymentIntentPaymentMethodOptionsCardOptions ` on `PaymentIntent`
* Add support for creating a CVC Token on `Token`.
## 72.19.0 - 2020-10-23
* [#1217](https://github.com/stripe/stripe-go/pull/1217) Add support for passing `Bank` for P24 on `PaymentIntent` or `PaymentMethod`
## 72.18.0 - 2020-10-22
* [#1214](https://github.com/stripe/stripe-go/pull/1214) Put a `Deprecated` notice on `TotalCount`
* [#1215](https://github.com/stripe/stripe-go/pull/1215) Add missing constants for existing types on `PaymentMethod`
* [#1216](https://github.com/stripe/stripe-go/pull/1216) Support passing `TaxRates` when creating invoice items through `Subscription` or `SubscriptionSchedule`
## 72.17.0 - 2020-10-20
* [#1212](https://github.com/stripe/stripe-go/pull/1212) Add `TaxIDTypeJPRN` and `TaxIDTypeRUKPP` on `TaxId`
## 72.16.0 - 2020-10-14
* [#1210](https://github.com/stripe/stripe-go/pull/1210) Add support for `Discounts` to `CheckoutSessionParams`
## 72.15.0 - 2020-10-14
* [#1208](https://github.com/stripe/stripe-go/pull/1208) Add support for the Payout Reverse API
## 72.14.0 - 2020-10-12
* [#1207](https://github.com/stripe/stripe-go/pull/1207) Add support for `Description`, `IIN` and `Issuer` on `Charge` for `CardPresent` and `InteracPresent
## 72.13.0 - 2020-10-11
* [#1206](https://github.com/stripe/stripe-go/pull/1206) Add support for `Mandate` in `ChargePaymentMethodDetailsSepaDebit`
## 72.12.1 - 2020-10-09
* [#1203](https://github.com/stripe/stripe-go/pull/1203) Bugfix: Balance.InstantAvailable should be of type Amount
## 72.12.0 - 2020-10-08
* [#1199](https://github.com/stripe/stripe-go/pull/1199) Support sepa_debit for bancontact, ideal, sofort
## 72.11.0 - 2020-10-06
* [#1200](https://github.com/stripe/stripe-go/pull/1200) Handle randomness error when generating idempotency keys
## 72.10.0 - 2020-10-02
* [#1195](https://github.com/stripe/stripe-go/pull/1195) Add support for new payments capabilities on `Account`
## 72.9.0 - 2020-09-29
* [#1194](https://github.com/stripe/stripe-go/pull/1194) Add support for the `SetupAttempt` resource and List API
## 72.8.0 - 2020-09-28
* [#1192](https://github.com/stripe/stripe-go/pull/1192) Add support for OXXO Payments capability on `Account`
## 72.7.0 - 2020-09-24
* [#1183](https://github.com/stripe/stripe-go/pull/1183) Add support for OXXO on `PaymentIntent` and `PaymentMethod`
* [#1190](https://github.com/stripe/stripe-go/pull/1190) Add support for BalanceTransactionTypeContribution` on `BalanceTransaction`
## 72.6.0 - 2020-09-23
* [#1189](https://github.com/stripe/stripe-go/pull/1189) When not retrying a request, log reason at info level
## 72.5.0 - 2020-09-23
* [#1188](https://github.com/stripe/stripe-go/pull/1188) Add support for `InstantAvailable` on `Balance`
* [#1187](https://github.com/stripe/stripe-go/pull/1187) Don't retry requests on context cancellation + a few other errors
## 72.4.0 - 2020-09-21
* [#1185](https://github.com/stripe/stripe-go/pull/1185) Add support for `AmountCaptured` on `Charge`
* [#1186](https://github.com/stripe/stripe-go/pull/1186) Add support for `CheckoutSession` on `Discount`
## 72.3.0 - 2020-09-14
* [#1182](https://github.com/stripe/stripe-go/pull/1182) Add `Metadata` on `WebhookEndpoint`
## 72.2.0 - 2020-09-08
* [#1180](https://github.com/stripe/stripe-go/pull/1180) Add support for Sofort on `PaymentMethod` and `PaymentIntent`
## 72.1.0 - 2020-09-02
* [#1177](https://github.com/stripe/stripe-go/pull/1177) Add support for `AvailablePayoutMethods` on `BankAccount`
* [#1174](https://github.com/stripe/stripe-go/pull/1174) Add support for the Issuing Dispute APIs
* [#1176](https://github.com/stripe/stripe-go/pull/1176) Add support for `PaymentStatus` on Checkout `Session`
* [#1178](https://github.com/stripe/stripe-go/pull/1178) Fix the constant names for `BankAccountAvailablePayoutMethod`
## 72.0.0 - 2020-08-31
This release changes the pinned API version to `2020-08-27`.
* [#1172](https://github.com/stripe/stripe-go/pull/1172) Properly remove ThreeDSecure class entirely
* [#1173](https://github.com/stripe/stripe-go/pull/1173) Remove deprecated parameters `SavePaymentMethod` and `Source` on `PaymentIntent`
* [#1170](https://github.com/stripe/stripe-go/pull/1170) Multiple API changes
* Move to latest API version `2020-08-27`
* Remove `Prorate` across Billing APIs in favor of `ProrationBehavior`
* Remove `TaxPercent` across Billing APIs in favor of `TaxRate`-related parameters and properties
* Remove `DisplayItems` on Checkout `Session` in favor of `LineItems`
* Remove `FailureURL` and `SuccessURL` on `AccountLink` in favor of `RefreshURL` and `ReturnURL`
* Remove `AccountLinkTypeCustomAccountUpdate ` and `AccountLinkTypeCustomAccountVerification ` on `AccountLink` in favor of `AccountLinkTypeAccountOnboarding ` and `AccountLinkTypeAccountUpdate `
* Remove `Authenticated` and `Succeeded` on `ChargePaymentMethodDetailsCardThreeDSecure`
* Remove `Plan`, `Quantity`, `TaxPercent` and `TrialEnd` from `Customer` creation or update in favor of the Subscription API
* Rename `Plans` to `Items` on `SubscriptionSchedule`
* [#1171](https://github.com/stripe/stripe-go/pull/1171) Remove multiple deprecated APIs
* Remove support for the `Recipient` API
* Remove support for the `RecipientTransfer` API
* Remove support for the `BitcoinReceiver` API
* Remove support for the `ThreeDSecure` API which has been replaced by PaymentIntent and PaymentMethod
* Remove support for the `ExchangeRate` API which has never shipped publicly and is being reworked
## 71.48.0 - 2020-08-24
* [#1153](https://github.com/stripe/stripe-go/pull/1153) Add support for `ServiceAgreement` in `AccountTOSAcceptance` on `Account`
## 71.47.0 - 2020-08-19
* [#1165](https://github.com/stripe/stripe-go/pull/1165) Add support for `ExpiresAt` on `File`
## 71.46.0 - 2020-08-17
* [#1163](https://github.com/stripe/stripe-go/pull/1163) Add support for `AmountDetails` on Issuing `Authorization` and `Transaction`
## 71.45.0 - 2020-08-13
* [#1156](https://github.com/stripe/stripe-go/pull/1156) Re-enable HTTP/2 on the default HTTP client for Go 1.15+
* [#1160](https://github.com/stripe/stripe-go/pull/1160) Add support for `BankName` on `ChargePaymentMethodDetailsAcssDebit`
## 71.44.0 - 2020-08-10
* [#1148](https://github.com/stripe/stripe-go/pull/1148) Make original list object accessible on iterators
* This change is technically breaking in that an exported type, `stripe.Query`, changes from `type Query func(*Params, *form.Values) ([]interface{}, ListMeta, error)` to `type Query func(*Params, *form.Values) ([]interface{}, ListContainer, error)`. We've opted to ship this as a minor version anyway because although exported, `Query` is meant for internal use in other stripe-go packages and the vast majority of users are unlikely to be referencing it. If you are, please refer to the diff in https://github.com/stripe/stripe-go/pull/1148 for how to update callsites accordingly. If you think there is a major use of `Query` that we've likely overlooked, please open an issue.
## 71.43.0 - 2020-08-07
* [#1154](https://github.com/stripe/stripe-go/pull/1154) Add support for Alipay on `PaymentMethod` and `PaymentIntent`
## 71.42.0 - 2020-08-05
* [#1150](https://github.com/stripe/stripe-go/pull/1150) Add support for the PromotionCode resource and APIs
## 71.41.0 - 2020-08-04
* [#1152](https://github.com/stripe/stripe-go/pull/1152) Add support for `AccountType` in `ChargePaymentMethodDetailsCardPresentReceipt`
## 71.40.0 - 2020-07-29
* [#1136](https://github.com/stripe/stripe-go/pull/1136) Add support for multiple coupons on Billing APIs
* Add support for arrays of expandable API resources otherwise returning an array of strings by default
* Add custom deserialization to `Discount` to support expansion of the object
* Add support for `Id`, `Invoice` and `InvoiceItem` on `Discount`.
* Add support for `Discounts` on `Invoice`, `InvoiceItem` and `InvoiceLineItem`
* Add support for `DiscountAmounts` on `CreditNote`, `CreditNoteLineItem`, `InvoiceLineItem`
* Add support for `TotalDiscountAmounts` on `Invoice`
* Add `Object` to `Invoice`, `InvoiceLine`, `Discount` and `Coupon`
## 71.39.0 - 2020-07-27
* [#1142](https://github.com/stripe/stripe-go/pull/1142) Bug fix: Copy the JSON data of ephemeral keys to own buffer
## 71.38.0 - 2020-07-27
* [#1145](https://github.com/stripe/stripe-go/pull/1145) Fix `ApplicationFeePercent` on `SubscriptionSchedule` to support floats
## 71.37.0 - 2020-07-25
* [#1144](https://github.com/stripe/stripe-go/pull/1144) Add support for `FPXPayments` as a property on `AccountCapabilities`
## 71.36.0 - 2020-07-24
* [#1143](https://github.com/stripe/stripe-go/pull/1143) Add support for `FPXPayments` as a `Capability` on `Account` create and update
## 71.35.0 - 2020-07-22
* [#1140](https://github.com/stripe/stripe-go/pull/1140) Add support for `CartesBancairesPayments` as a `Capability`
## 71.34.0 - 2020-07-20
* [#1138](https://github.com/stripe/stripe-go/pull/1138) Add support for `Capabilities` on `Account` create and update
## 71.33.0 - 2020-07-19
* [#1137](https://github.com/stripe/stripe-go/pull/1137) Add support for `Title` on Sigma `ScheduledQueryRun`
## 71.32.0 - 2020-07-17
* [#1135](https://github.com/stripe/stripe-go/pull/1135) Add support for `PoliticalExposure` on `Person`
## 71.31.0 - 2020-07-16
* [#1133](https://github.com/stripe/stripe-go/pull/1133) Add support for `Deleted` on `LineItem`
* [#1134](https://github.com/stripe/stripe-go/pull/1134) Add support for new constants for `AccountLinkType`
## 71.30.0 - 2020-07-15
* [#1132](https://github.com/stripe/stripe-go/pull/1132) Add support for `AmountTotal`, `AmountSubtotal`, `Currency` and `TotalDetails` on Checkout `Session`
## 71.29.0 - 2020-07-13
* [#1131](https://github.com/stripe/stripe-go/pull/1131) Add `billing_cycle_anchor` to `default_settings` and `phases` for `SubscriptionSchedules`
## 71.28.0 - 2020-06-23
* [#1127](https://github.com/stripe/stripe-go/pull/1127) Add `FilePurposeDocumentProviderIdentityDocument` on `File`
* [#1126](https://github.com/stripe/stripe-go/pull/1126) Add support for `Discounts` on `LineItem`
## 71.27.0 - 2020-06-18
* [#1124](https://github.com/stripe/stripe-go/pull/1124) Add support for `RefreshURL` and `ReturnURL` on `AccountLink`
## 71.26.0 - 2020-06-15
* [#1090](https://github.com/stripe/stripe-go/pull/1090) Add support for `PaymentMethodData` on `PaymentIntent`
## 71.25.1 - 2020-06-11
* [#1123](https://github.com/stripe/stripe-go/pull/1123) Attach LastResponse after unmarshaling
## 71.25.0 - 2020-06-11
* [#1121](https://github.com/stripe/stripe-go/pull/1121) Add `Mandate`, `InstitutionNumber` and `TransitNumber` to `ChargePaymentMethodDetailsAcssDebit`
* [#1122](https://github.com/stripe/stripe-go/pull/1122) Add support for `Transaction` on Issuing `Dispute`
## 71.24.0 - 2020-06-10
* [#1120](https://github.com/stripe/stripe-go/pull/1120) Add support for Cartes Bancaires payments on `PaymentIntent` and `PaymentMethod`
## 71.23.0 - 2020-06-09
* [#1119](https://github.com/stripe/stripe-go/pull/1119) Add support for `TaxIDTypeIDNPWP` and `TaxIDTypeMYFRP` on `TaxId`
## 71.22.0 - 2020-06-09
* [#1118](https://github.com/stripe/stripe-go/pull/1118) Add missing information for BACS Debit in `PaymentMethod`
## 71.21.0 - 2020-06-05
* [#1117](https://github.com/stripe/stripe-go/pull/1117) Add `PaymentMethodIdealParams` to `PaymentMethodParams`
## 71.20.0 - 2020-06-04
* [#1116](https://github.com/stripe/stripe-go/pull/1116) Clean up the error deserialization and ensure `DeclineCode` is properly set.
## 71.19.0 - 2020-06-03
* [#1113](https://github.com/stripe/stripe-go/pull/1113) Add support for `TransferGroup` on Checkout `Session`
## 71.18.0 - 2020-06-03
* [#1112](https://github.com/stripe/stripe-go/pull/1112) Add support for BACS Debit as a `Capability` on `Account`
* [#1111](https://github.com/stripe/stripe-go/pull/1111) Add support for Bancontact, EPS, Giropay and P24 on `PaymentMethod`
* [#1110](https://github.com/stripe/stripe-go/pull/1110) Add support for reading SEPA and BACS debit settings on `Account`
## 71.17.0 - 2020-05-29
* [#1109](https://github.com/stripe/stripe-go/pull/1109) Add support for BACS Debit as a `PaymentMethod`
## 71.16.0 - 2020-05-29
* [#1108](https://github.com/stripe/stripe-go/pull/1108) Add `Metadata` and `Object` on `Topup`
## 71.15.0 - 2020-05-28
* [#1105](https://github.com/stripe/stripe-go/pull/1105) Add `AuthenticationFlow` to `ChargePaymentMethodDetailsCardThreeDSecure`
* [#1106](https://github.com/stripe/stripe-go/pull/1106) Add support for `ProductData` on `LineItems` for Checkout `Session`
## 71.14.0 - 2020-05-22
* [#1103](https://github.com/stripe/stripe-go/pull/1103) Add support for `Result` and `ResultReason` on `ChargePaymentMethodDetailsCardThreeDSecure`
* [#1104](https://github.com/stripe/stripe-go/pull/1104) Add support for `TaxIDTypeAETRN`, `TaxIDTypeCLTIN` and `TaxIDTypeSAVAT` on `TaxId`
## 71.13.0 - 2020-05-20
* [#1101](https://github.com/stripe/stripe-go/pull/1101) Multiple API Changes
* Add `BalanceTransactionTypeAnticipationRepayment` as a `Type` on `BalanceTransaction`
* Add `PaymentMethodTypeInteracPresent` as a `Type` on `PaymentMethod`
* Add `ChargePaymentMethodDetailsInteracPresent` on `Charge`
* Add `TransferData ` on `SubscriptionSchedule`
## 71.12.0 - 2020-05-18
* [#1099](https://github.com/stripe/stripe-go/pull/1099) Multiple API changes
* Add `issuing_dispute` as a `type` on `BalanceTransaction`
* Add `BalanceTransactions` as a a list of `BalanceTransaction` on Issuing `Dispute`
* Add `Fingerprint` and `TransactionId` in `ChargePaymentMethodDetailsAlipay` on `Charge`
* Add `Amount` in `InvoiceTransferData` and `InvoiceTransferDataParams` on `Invoice`
* Add `AmountPercent` in `SubscriptionTransferData` and `SubscriptionTransferDataParams` on `Subscription`
## 71.11.1 - 2020-05-13
* [#1097](https://github.com/stripe/stripe-go/pull/1097) Fixing `LineItems` to be `LineItemList` on Checkout `Session`
## 71.11.0 - 2020-05-13
* [#1096](https://github.com/stripe/stripe-go/pull/1096) Add support for `PurchaseDetails` on Issuing `Transaction`
## 71.10.0 - 2020-05-12
* [#1091](https://github.com/stripe/stripe-go/pull/1091) Add support for the `LineItem` resource and APIs
## 71.9.0 - 2020-05-07
* [#1093](https://github.com/stripe/stripe-go/pull/1093) Add support for `Metadata` for `PaymentIntentData` and `SubscriptionData` on Checkout `Session`
* [#1095](https://github.com/stripe/stripe-go/pull/1095) Add `SupportAddress` in `BusinessProfile` on `Account` creation and update
* [#1094](https://github.com/stripe/stripe-go/pull/1094) Fix parameters supported in `Recurring` for `PriceData` across the API
## 71.8.0 - 2020-05-01
* [#1089](https://github.com/stripe/stripe-go/pull/1089) Add support for `Issuing` in `Balance`
## 71.7.0 - 2020-04-29
* [#1085](https://github.com/stripe/stripe-go/pull/1085) Add `Object` on `BankAccount`
* [#1087](https://github.com/stripe/stripe-go/pull/1087) Add support for Brazilian tax ids on `TaxID`
* [#1065](https://github.com/stripe/stripe-go/pull/1065) Adding support for the `Price` resource and APIs
## 71.6.0 - 2020-04-23
* [#1082](https://github.com/stripe/stripe-go/pull/1082) Add support for expandable `CVC` and `Number` on Issuing `Card`
* [#1083](https://github.com/stripe/stripe-go/pull/1083) Add support for `JCBPayments` and `CardIssuing` as a `Capability`
## 71.5.0 - 2020-04-22
* [#1080](https://github.com/stripe/stripe-go/pull/1080) Remove spurious newline in logs
## 71.4.0 - 2020-04-22
* [#1079](https://github.com/stripe/stripe-go/pull/1079) Add support for `Coupon` when for subscriptions on Checkout
## 71.3.0 - 2020-04-22
* [#1078](https://github.com/stripe/stripe-go/pull/1078) Add missing error codes such as `ErrorCodeCardDeclinedRateLimitExceeded`
* [#1063](https://github.com/stripe/stripe-go/pull/1063) Add support for the `BillingPortal` namespace and the `Session` API and resource
## 71.2.0 - 2020-04-21
* [#1076](https://github.com/stripe/stripe-go/pull/1076) Add `Deleted` on `Invoice`
## 71.1.0 - 2020-04-17
* [#1074](https://github.com/stripe/stripe-go/pull/1074) Add `CardholderName` to `ChargePaymentMethodDetailsCardPresent` on `Charge`
* [#1075](https://github.com/stripe/stripe-go/pull/1075) Add new enum values for `AccountCompanyStructure` on `Account`
## 71.0.0 - 2020-04-17
Version 71 of stripe-go contains some major changes. Many of them are breaking, but only in minor ways. We've written [a migration guide](https://github.com/stripe/stripe-go/blob/master/v71_migration_guide.md) with more details to help with the upgrade.
* [#1054](https://github.com/stripe/stripe-go/pull/1054) Make API response accessible on returned API structs
* [#1068](https://github.com/stripe/stripe-go/pull/1068) Multiple breaking API changes
* `PaymentIntent` is now expandable on `Charge`
* `Percentage` was removed as a filter when listing `TaxRate`
* Removed `RenewalInterval` on `SubscriptionSchedule`
* Removed `Country` and `RoutingNumber` from `ChargePaymentMethodDetailsAcssDebit`
* [#1052](https://github.com/stripe/stripe-go/pull/1052) Remove all beta features from Issuing APIs
* [#1061](https://github.com/stripe/stripe-go/pull/1061) Start using Go Modules
* [#1070](https://github.com/stripe/stripe-go/pull/1070) Clean up logging for next major
* [#1069](https://github.com/stripe/stripe-go/pull/1069) Default number of network retries to 2
## 70.15.0 - 2020-04-14
* [#1066](https://github.com/stripe/stripe-go/pull/1066) Add support for `SecondaryColor` on `Account`
## 70.14.0 - 2020-04-13
* [#1062](https://github.com/stripe/stripe-go/pull/1062) Add `Description` on `WebhookEndpoint`
## 70.13.0 - 2020-04-10
* [#1060](https://github.com/stripe/stripe-go/pull/1060) Add support for `CancellationReason` on Issuing `Card`
* [#1058](https://github.com/stripe/stripe-go/pull/1058) Add support for `TaxIDTypeSGGST` on `TaxId`
## 70.12.0 - 2020-04-09
* [#1057](https://github.com/stripe/stripe-go/pull/1057) Add missing properties on `Review`
## 70.11.0 - 2020-04-03
* [#1056](https://github.com/stripe/stripe-go/pull/1056) Add `CalculatedStatementDescriptor` on `Charge`
## 70.10.0 - 2020-03-30
* [#1053](https://github.com/stripe/stripe-go/pull/1053) Add `AccountCapabilityCardIssuing` as a `Capability`
## 70.9.0 - 2020-03-26
* [#1050](https://github.com/stripe/stripe-go/pull/1050) Multiple API changes for Issuing
* Add support for `SpendingControls` on `Card` and `Cardholder`
* Add new values for `Reason` on `Authorization`
* Add new value for `Type` on `Cardholder`
* Add new value for `Service` on `Card`
* Mark many classes and other fields as deprecated for the next major
## 70.8.0 - 2020-03-24
* [#1049](https://github.com/stripe/stripe-go/pull/1049) Add support for `PauseCollection` on `Subscription`
## 70.7.0 - 2020-03-23
* [#1048](https://github.com/stripe/stripe-go/pull/1048) Add new capabilities for AU Becs Debit and tax reporting
## 70.6.0 - 2020-03-20
* [#1046](https://github.com/stripe/stripe-go/pull/1046) Add new fields to Issuing `Card` and `Authorization`
## 70.5.0 - 2020-03-13
* [#1044](https://github.com/stripe/stripe-go/pull/1044) Multiple changes for Issuing APIs
* Rename `Speed` to `Service` on Issuing `Card`
* Rename `WalletProvider` to `Wallet` and `AddressZipCheck` to `AddressPostalCodeCheck` on Issuing `Authorization`
* Mark `IsDefault` as deprecated on Issuing `Cardholder`
## 70.4.0 - 2020-03-12
* [#1043](https://github.com/stripe/stripe-go/pull/1043) Add support for `Shipping` and `ShippingAddressCollection` on Checkout `Session`
## 70.3.0 - 2020-03-12
* [#1042](https://github.com/stripe/stripe-go/pull/1042) Add support for `ThreeDSecure` on Issuing `Authorization`
## 70.2.0 - 2020-03-04
* [#1041](https://github.com/stripe/stripe-go/pull/1041) Add new reason values and `ExpiryCheck` for Issuing `authorization
## 70.1.0 - 2020-03-04
* [#1040](https://github.com/stripe/stripe-go/pull/1040) Add support for `Errors` in `Requirements` on `Account`, `Capability` and `Person`
## 70.0.0 - 2020-03-03
This release changes the pinned API version to `2020-03-02`.
* [#1039](https://github.com/stripe/stripe-go/pull/1039) Multiple API changes:
* Move to latest API version `2020-03-02`
* Add support for `NextInvoiceSequence` on `Customer`
## 69.4.0 - 2020-02-28
* [#1038](https://github.com/stripe/stripe-go/pull/1038) Add `TaxIDTypeMYSST` for `TaxId`
## 69.3.0 - 2020-02-24
* [#1037](https://github.com/stripe/stripe-go/pull/1037) Add new enum values for `IssuingDisputeReason`
## 69.2.0 - 2020-02-24
* [#1036](https://github.com/stripe/stripe-go/pull/1036) Add support for listing Checkout `Session` and passing tax rate information
## 69.1.0 - 2020-02-21
* [#1035](https://github.com/stripe/stripe-go/pull/1035) Add support for `ProrationBehavior` on `SubscriptionSchedule`
* [#1034](https://github.com/stripe/stripe-go/pull/1034) Add support for `Timezone` on `ReportRun`
## 69.0.0 - 2020-02-20
* [#1033](https://github.com/stripe/stripe-go/pull/1033) Make `Subscription` expandable on `Invoice`
## 68.20.0 - 2020-02-12
* [#1029](https://github.com/stripe/stripe-go/pull/1029) Add support for `Amount` in `CheckoutSessionPaymentIntentDataTransferDataParams`
## 68.19.0 - 2020-02-10
* [#1027](https://github.com/stripe/stripe-go/pull/1027) Add new constants for `TaxIDType`
* [#1028](https://github.com/stripe/stripe-go/pull/1028) Add support for `StatementDescriptorSuffix` on Checkout `Session`
## 68.18.0 - 2020-02-05
* [#1026](https://github.com/stripe/stripe-go/pull/1026) Multiple changes on the `Balance` resource:
* Add support for `ConnectReserved`
* Add support for `SourceTypes` for a given type of balance.
* Add support for FPX balance as a constant.
## 68.17.0 - 2020-02-03
* [#1018](https://github.com/stripe/stripe-go/pull/1018) Add support for `ErrorOnRequiresAction` on `PaymentIntent`
* [#1024](https://github.com/stripe/stripe-go/pull/1024) Add `FilePurposeAdditionalVerification` and `FilePurposeBusinessIcon` on `File`
## 68.16.0 - 2020-01-31
* [#1023](https://github.com/stripe/stripe-go/pull/1023) Add support for `TaxIDTypeTHVAT` and `TaxIDTypeTWVAT` on `TaxId`
## 68.15.0 - 2020-01-30
* [#1022](https://github.com/stripe/stripe-go/pull/1022) Add support for `Structure` on `Account`
## 68.14.0 - 2020-01-28
* [#1021](https://github.com/stripe/stripe-go/pull/1021) Add support for `TaxIDTypeESCIF` on `TaxId`
## 68.13.0 - 2020-01-24
* [#1019](https://github.com/stripe/stripe-go/pull/1019) Add support for `Shipping.Speed` and `Shipping.TrackingURL` on `IssuingCard`
## 68.12.0 - 2020-01-23
* [#1015](https://github.com/stripe/stripe-go/pull/1015) Replace duplicate code in GetBackend method
* [#1017](https://github.com/stripe/stripe-go/pull/1017) Add new values for `TaxIDType` and fix `TaxIDTypeCHVAT`
## 68.11.0 - 2020-01-17
* [#1014](https://github.com/stripe/stripe-go/pull/1014) Add `Metadata` support on Checkout `Session`
## 68.10.0 - 2020-01-15
* [#1012](https://github.com/stripe/stripe-go/pull/1012) Adds `PendingUpdate` to `Subscription`
## 68.9.0 - 2020-01-14
* [#1013](https://github.com/stripe/stripe-go/pull/1013) Add support for `CreditNoteLineItem`
## 68.8.0 - 2020-01-08
* [#1011](https://github.com/stripe/stripe-go/pull/1011) Add support for `InvoiceItem` and fix `Livemode` on `InvoiceLine`
## 68.7.0 - 2020-01-07
* [#1008](https://github.com/stripe/stripe-go/pull/1008) Add `ReportingCategory` to `BalanceTransaction`
## 68.6.0 - 2020-01-06
* [#1009](https://github.com/stripe/stripe-go/pull/1009) Add constant for `TaxIDTypeSGUEN` on `TaxId`
## 68.5.0 - 2020-01-03
* [#1007](https://github.com/stripe/stripe-go/pull/1007) Add support for `SpendingLimitsCurrency` on Issuing `Card` and `Cardholder`
## 68.4.0 - 2019-12-20
* [#1006](https://github.com/stripe/stripe-go/pull/1006) Adds `ExecutivesProvided` to `Account`
## 68.3.0 - 2019-12-19
* [#1005](https://github.com/stripe/stripe-go/pull/1005) Add `Metadata` and `Livemode` to Terminal `Reader` and `Location'
## 68.2.0 - 2019-12-09
* [#1002](https://github.com/stripe/stripe-go/pull/1002) Add support for AU BECS Debit on PaymentMethod
## 68.1.0 - 2019-12-04
* [#1001](https://github.com/stripe/stripe-go/pull/1001) Add support for `Network` on `Charge`
## 68.0.0 - 2019-12-03
This release changes the pinned API version to `2019-12-03`.
* [#1000](https://github.com/stripe/stripe-go/pull/1000) Multiple breaking changes:
* Pin to API version `2019-12-03`
* Rename `InvoiceBillingStatus` to `InvoiceStatus` for consistency
* Remove typo-ed field `OutOfBankdAmount` on `CreditNote`
* Remove deprecated `PaymentIntentPaymentMethodOptionsCardRequestThreeDSecureChallengeOnly` and `SetupIntentPaymentMethodOptionsCardRequestThreeDSecureChallengeOnly` from `PaymentIntent` and `SetupIntent`.
* Remove `OperatorAccount` on `TerminalLocationListParams`
## 67.10.0 - 2019-12-02
* [#999](https://github.com/stripe/stripe-go/pull/999) Add support for `Status` filter when listing `Invoice`s.
## 67.9.0 - 2019-11-26
* [#997](https://github.com/stripe/stripe-go/pull/997) Add new refund reason `RefundReasonExpiredUncapturedCharge`
## 67.8.0 - 2019-11-26
* [#998](https://github.com/stripe/stripe-go/pull/998) Add support for `CreditNote` preview
## 67.7.0 - 2019-11-25
* [#995](https://github.com/stripe/stripe-go/pull/995) Fix comment typos
* [#996](https://github.com/stripe/stripe-go/pull/996) Add support for `OutOfBandAmount` on `CreditNote` creation
## 67.6.0 - 2019-11-22
* [#994](https://github.com/stripe/stripe-go/pull/994) Support for the `now` on `StartDate` on Subscription Schedule creation
## 67.5.0 - 2019-11-21
* [#993](https://github.com/stripe/stripe-go/pull/993) Add `PaymentIntent` filter when listing `Dispute`s
## 67.4.1 - 2019-11-19
* [#991](https://github.com/stripe/stripe-go/pull/991) Add missing constant for PaymentMethod of type FPX
## 67.4.0 - 2019-11-18
* [#989](https://github.com/stripe/stripe-go/pull/989) Add support for `ViolatedAuthorizationControls` on Issuing `Authorization`
## 67.3.0 - 2019-11-07
* [#988](https://github.com/stripe/stripe-go/pull/988) Add `Company` and `Individual` to Issuing `Cardholder`
## 67.2.0 - 2019-11-06
* [#985](https://github.com/stripe/stripe-go/pull/985) Multiple API changes
* Add `Disputed` to `Charge`
* Add `PaymentIntent` to `Refund` and `Dispute`
* Add `Charge` to `DisputeListParams`
* Add `PaymentIntent` to `RefundListParams` and `RefundParams`
## 67.1.0 - 2019-11-06
* [#986](https://github.com/stripe/stripe-go/pull/986) Add support for iDEAL and SEPA debit on `PaymentMethod`
## 67.0.0 - 2019-11-05
This release changes the pinned API version to `2019-11-05`.
* [#987](https://github.com/stripe/stripe-go/pull/987) Move to the latest API version and add new changes
* Move to API version `2019-11-05`
* Add `DefaultSettings` on `SubscritionSchedule`
* Remove `BillingThresholds`, `CollectionMethod`, `DefaultPaymentMethod` and `DefaultSource` and `invoice_settings` from `SubscriptionSchedule`
* `OffSession` on `PaymentIntent` is now always a boolean
## 66.3.0 - 2019-11-04
* [#984](https://github.com/stripe/stripe-go/pull/984) Add support for `UseStripeSDK` on `PaymentIntent` create and confirm
## 66.2.0 - 2019-11-04
* [#980](https://github.com/stripe/stripe-go/pull/980) Improve docs for ephemeral keys
* [#983](https://github.com/stripe/stripe-go/pull/983) Add support for cloning saved PaymentMethods
## 66.1.1 - 2019-10-24
* [#977](https://github.com/stripe/stripe-go/pull/977) Contributor Convenant
* [#978](https://github.com/stripe/stripe-go/pull/978) Properly pass `Type` in `PaymentIntentPaymentMethodOptionsCardInstallmentsPlanParams`
* Note that this is technically a breaking change, however we've chosen to release it as a patch version as this shipped yesterday and is a new feature
## 66.1.0 - 2019-10-23
* [#974](https://github.com/stripe/stripe-go/pull/974) Add support for installments on `PaymentIntent` and `Charge`
* [#975](https://github.com/stripe/stripe-go/pull/975) Add support for `PendingInvoiceItemInterval` on `Subscription`
* [#976](https://github.com/stripe/stripe-go/pull/976) Add `TaxIDTypeMXRFC` constant to `TaxIDType`
## 66.0.0 - 2019-10-18
This release changes the pinned API version to `2019-10-17`.
* [#973](https://github.com/stripe/stripe-go/pull/973) Multiple breaking changes
* Pin to the latest API version `2019-10-17`
* Remove `RenewalBehavior` on `SubscriptionSchedule`
* Remove `RenewalBehavior` and `RenewalInterval` as parameters on `SubscriptionSchedule`
## 65.2.0 - 2019-10-17
* [#972](https://github.com/stripe/stripe-go/pull/972) Various API changes
* `Requirements` on Issuing `Cardholder`
* `PaymentMethodDetails.AuBecsDebit.Mandate` on `Charge`
* `PaymentBehavior` on `Subscription` creation can now take the value `pending_if_incomplete`
* `PaymentBehavior` on `SubscriptionItem` creation is now supported
* `SubscriptionData.TrialFromPlan` is now supported on Checkout `Session` creation
* New values for `TaxIDType`
## 65.1.1 - 2019-10-11
* [#970](https://github.com/stripe/stripe-go/pull/970) Properly deserialize `Fulfilled` on `StatusTransitions` in the `order` package
## 65.1.0 - 2019-10-09
* [#969](https://github.com/stripe/stripe-go/pull/969) Add `DeviceType` filter when listing Terminal `Reader`s
## 65.0.0 - 2019-10-09
This release changes the pinned API version to `2019-10-08`.
* [#951](https://github.com/stripe/stripe-go/pull/951) Move to API version [`2019-10-08`](https://docs.stripe.com/changelog/2019-10-08) and other changes
* [#950](https://github.com/stripe/stripe-go/pull/950) Remove lossy "MarshalJSON" implementations
* [#962](https://github.com/stripe/stripe-go/pull/962) Removed deprecated properties and most todos
* Removed `GetBalanceTransaction` and `List` from the `balance` package. Prefer using `Get` and `List` in the `balancetransaction` package.
* Removed `ApplicationFee` from the `charge` and `paymentintent` packages. Prefer using `ApplicationFeeAmount`.
* Removed `TaxInfo` and related fields from the `customer` packager. Prefer using the `customertaxid` package.
* Removed unsupported `Customer` parameter on `PaymentMethodParams` and `PaymentMethodDetachParams` in the `paymentmethod` package.
* Removed `Billing` properties in the `invoice`, `sub` and `subschedule` packages. Prefer using `CollectionMethod`.
* Removed the `InvoiceBilling` type from the `invoice` package. Prefer using `InvoiceCollectionMethod`.
* Removed the `SubscriptionBilling` type from the `sub` package. Prefer using `SubscriptionCollectionMethod`.
* Removed deprecated constants for `PaymentIntentConfirmationMethod` in `paymentintent` package.
* Removed `OperatorAccount` from Terminal APIs.
* [#960](https://github.com/stripe/stripe-go/pull/960) Remove `issuerfraudrecord` package. Prefer using `earlyfraudwarning`
* [#968](https://github.com/stripe/stripe-go/pull/968) Rename `AccountOpener` to `Representative` and update to latest API version
## 64.1.0 - 2019-10-09
* [#967](https://github.com/stripe/stripe-go/pull/967) Add `Get` method to `OrderReturn`
## 64.0.0 - 2019-10-08
* ~[#968](https://github.com/stripe/stripe-go/pull/968) Update to latest API version [`2019-10-08`](https://docs.stripe.com/changelog/2019-10-08)~
* **Note:** This release is actually a no-op as we failed to merge the changes. Please use 65.0.0 instead.
## 63.5.0 - 2019-10-03
* [#966](https://github.com/stripe/stripe-go/pull/966) Add the `Account` field to `BankAccount`
* [#955](https://github.com/stripe/stripe-go/pull/955) Add FPX `PaymentMethod` Support
## 63.4.0 - 2019-09-30
* [#952](https://github.com/stripe/stripe-go/pull/952) Add AU BECS Debit Support
## 63.3.0 - 2019-09-30
* [#964](https://github.com/stripe/stripe-go/pull/964) Add support for `Status` and `Location` filters when listing `Reader`s
## 63.2.2 - 2019-09-26
* [#963](https://github.com/stripe/stripe-go/pull/963) Update `SourceSourceOrder` `Items` field to fix unmarshalling errors
## 63.2.1 - 2019-09-25
* [#961](https://github.com/stripe/stripe-go/pull/961) Properly tag `Customer` as deprecated in `PaymentMethodDetachParams`
## 63.2.0 - 2019-09-25
* [#957](https://github.com/stripe/stripe-go/pull/957) Add missing error code
* [#959](https://github.com/stripe/stripe-go/pull/959) Mark `Customer` on `PaymentMethodDetachParams` as deprecated
## 63.1.1 - 2019-09-23
* [#954](https://github.com/stripe/stripe-go/pull/954) Add support for `Stripe-Should-Retry` header
## 63.1.0 - 2019-09-13
* [#949](https://github.com/stripe/stripe-go/pull/949) Add support for `DeclineCode` on `Error` top-level
## 63.0.0 - 2019-09-10
This release changes the pinned API version to `2019-09-09`.
* [#947](https://github.com/stripe/stripe-go/pull/947) Bump API version to [`2019-09-09`](https://docs.stripe.com/changelog/2019-09-09)
## 62.10.0 - 2019-09-09
* [#945](https://github.com/stripe/stripe-go/pull/945) Changes to `Account` and `Person` to represent identity verification state
## 62.9.0 - 2019-09-04
* [#943](https://github.com/stripe/stripe-go/pull/943) Add support for `Authentication` and `URL` on Issuing `Authorization`
## 62.8.2 - 2019-08-29
* [#939](https://github.com/stripe/stripe-go/pull/939) Also log error in case of non-`stripe.Error`
## 62.8.1 - 2019-08-29
* [#938](https://github.com/stripe/stripe-go/pull/938) Rearrange error logging so that 402 doesn't log an error
## 62.8.0 - 2019-08-29
* [#937](https://github.com/stripe/stripe-go/pull/937) Add support for `EndBehavior` on `SubscriptionSchedule`
## 62.7.0 - 2019-08-27
* [#935](https://github.com/stripe/stripe-go/pull/935) Retry requests on a 429 that's a lock timeout
## 62.6.0 - 2019-08-26
* [#933](https://github.com/stripe/stripe-go/pull/933) Add `PendingVerification` on `Account`, `Person` and `Capability`
* [#934](https://github.com/stripe/stripe-go/pull/934) Add support for `SubscriptionBillingCycleAnchorNow` and `SubscriptionBillingCycleAnchorUnchanged` on `Invoice`
## 62.5.0 - 2019-08-23
* [#930](https://github.com/stripe/stripe-go/pull/930) Add `FailureReason` to `Refund`
## 62.4.0 - 2019-08-22
* [#926](https://github.com/stripe/stripe-go/pull/926) Add support for decimal amounts on Billing resources
## 62.3.0 - 2019-08-22
* [#928](https://github.com/stripe/stripe-go/pull/928) Bring retry code in-line with current best practices
## 62.2.0 - 2019-08-21
* [#923](https://github.com/stripe/stripe-go/pull/923) Add support for `Mode` on Checkout `Session`
* [#922](https://github.com/stripe/stripe-go/pull/922) A few Billing changes
* Add `Schedule` to `Subscription`
* Add missing parameters for the Upcoming Invoice API: `Schedule`, `SubscriptionCancelAt`, `SubscriptionCancelNow`
* Add missing properties and parameters for a `SubscriptionSchedule` phase: `BillingThresholds`, `CollectionMethod`, `DefaultPaymentMethod`, `InvoiceSettings`
## 62.1.2 - 2019-08-19
* [#921](https://github.com/stripe/stripe-go/pull/921) Mark `Customer` as an invalid parameter on PaymentMethod creation
## 62.1.1 - 2019-08-15
* [#918](https://github.com/stripe/stripe-go/pull/918) Fix `RadarEarlyFraudWarnings` to use the proper API endpoint
## 62.1.0 - 2019-08-15
* [#916](https://github.com/stripe/stripe-go/pull/916) Update generated code
* Add support for `PIN` on Issuing `Card` to reflect the status of a card's PIN
* Add support for `Executive` on Person create, update and list
## 62.0.0 - 2019-08-14
This release changes the pinned API version to `2019-08-14`.
* [#914](https://github.com/stripe/stripe-go/pull/914) Update webhook handler example to use `http.MaxBytesReader`
* [#915](https://github.com/stripe/stripe-go/pull/915) Move to API version [`2019-08-14`](https://docs.stripe.com/changelog/2019-08-14) and other changes
* Pin to API version `2019-08-14`
* Rename `AccountCapabilityPlatformPayments` to `AccountCapabilityTransfers`
* Add `Executive` in `PersonRelationship`
* Remove `PayentMethodOptions` as there was a typo which was fixed
* Make `OffSession` only support booleans on `PaymentIntent`
* Remove `PaymentIntentLastPaymentError` and use `Error` instead
* Move `DeclineCode` on `Error` to the `DeclineCode` type instead of `string`
## 61.27.0 - 2019-08-09
* [#913](https://github.com/stripe/stripe-go/pull/913) Remove `SubscriptionScheduleRevision`
* Note that this is technically a breaking change, however we've chosen to release it as a minor version in light of the fact that this resource and its API methods were virtually unused.
## 61.26.0 - 2019-08-08
* [#911](https://github.com/stripe/stripe-go/pull/911) Update generated code
* Add support for `PaymentMethodDetails.Card.Moto` on `Charge`
* Add support `StatementDescriptorSuffix` on `Charge` and `PaymentIntent`
* Add support `SubscriptionData.ApplicationFeePercent` on Checkout `Session`
## 61.25.0 - 2019-07-30
* [#910](https://github.com/stripe/stripe-go/pull/910) Add `balancetransaction` package with a `Get` and `List` methods
## 61.24.0 - 2019-07-30
* [#906](https://github.com/stripe/stripe-go/pull/906) Add decline code type and constants (for use with card errors)
## 61.23.0 - 2019-07-29
* [#879](https://github.com/stripe/stripe-go/pull/879) Add support for OAuth API endpoints
## 61.22.0 - 2019-07-29
* [#909](https://github.com/stripe/stripe-go/pull/909) Rename `PayentMethodOptions` to `PaymentMethodOptions` on `PaymentIntent` and `SetupIntent`. Keep the old name until the next major version for backwards-compatibility
## 61.21.0 - 2019-07-26
* [#904](https://github.com/stripe/stripe-go/pull/904) Add support for Klarna and source orders
## 61.20.0 - 2019-07-25
* [#897](https://github.com/stripe/stripe-go/pull/897) Add all missing error codes
* [#905](https://github.com/stripe/stripe-go/pull/905) Add missing `Authenticated` field for 3DS charges
* [#903](https://github.com/stripe/stripe-go/pull/903) Disable HTTP/2 by default (until underlying bug in Go's implementation is fixed)
## 61.19.0 - 2019-07-22
* [#902](https://github.com/stripe/stripe-go/pull/902) Add support for `StatementDescriptor` when capturing a `PaymentIntent`
## 61.18.0 - 2019-07-19
* [#898](https://github.com/stripe/stripe-go/pull/898) Add `Customer` filter when listing `CreditNote`
* [#899](https://github.com/stripe/stripe-go/pull/899) Add `OffSession` parameter when updating `SubscriptionItem`
## 61.17.0 - 2019-07-17
* [#895](https://github.com/stripe/stripe-go/pull/895) Add `VoidedAt` on `CreditNote`
## 61.16.0 - 2019-07-16
* [#894](https://github.com/stripe/stripe-go/pull/894) Introduce encoding for high precision decimal fields
## 61.15.0 - 2019-07-15
* [#893](https://github.com/stripe/stripe-go/pull/893) Update generated code
* Add support for `PaymentMethodOptions` on `PaymentIntent` and `SetupIntent`
* Add missing parameters to `PaymentIntentConfirmParams`
## 61.14.0 - 2019-07-15
* [#891](https://github.com/stripe/stripe-go/pull/891) Various changes relaed to SCA for Billing
* Add support for `PendingSetupIntent` on `Subscription`
* Add support for `PaymentBehavior` on `Subscription` creation and update
* Add support for `PaymentBehavior` on `SubscriptionItem` update
* Add support for `OffSession` when paying an `Invoice`
* Add support for `OffSession` on `Subscription` creation and update
## 61.13.0 - 2019-07-05
* [#888](https://github.com/stripe/stripe-go/pull/888) Add support for `SetupFutureUsage` on `PaymentIntent` update and confirm
* [#890](https://github.com/stripe/stripe-go/pull/890) Add support for `SetupFutureUsage` on Checkout `Session`
## 61.12.0 - 2019-07-01
* [#887](https://github.com/stripe/stripe-go/pull/887) Allow `OffSession` to be a bool on `PaymentIntent` creation and confirmation
## 61.11.0 - 2019-07-01
* [#886](https://github.com/stripe/stripe-go/pull/886) Add `CardVerificationUnavailable` constant value
## 61.10.0 - 2019-07-01
* [#884](https://github.com/stripe/stripe-go/pull/884) Add support for the `SetupIntent` resource and APIs
* [#885](https://github.com/stripe/stripe-go/pull/885) Quick fix to the `NextAction` property on `SetupIntent`
## 61.9.0 - 2019-06-27
* [#882](https://github.com/stripe/stripe-go/pull/882) Add `DefaultPaymentMethod` and `DefaultSource` to `SubscriptionSchedule`
## 61.8.0 - 2019-06-27
* **Note:** This release was deleted after we merged some bad code. Please use 61.9.0 instead.
## 61.7.1 - 2019-06-25
* [#881](https://github.com/stripe/stripe-go/pull/881) Documentation fixes
## 61.7.0 - 2019-06-25
* [#880](https://github.com/stripe/stripe-go/pull/880) Update generated code
* Add support for `CollectionMethod` on `Invoice`, `Subscription` and `SubscriptionSchedule`
* Add support for `UnifiedProration` on `InvoiceLine`
## 61.6.0 - 2019-06-24
* [#878](https://github.com/stripe/stripe-go/pull/878) Enable request latency telemetry by default
## 61.5.0 - 2019-06-20
* [#877](https://github.com/stripe/stripe-go/pull/877) Add `CancellationReason` to `PaymentIntent`
## 61.4.0 - 2019-06-18
* [#875](https://github.com/stripe/stripe-go/pull/875) Add missing `Account` settings
* [#845](https://github.com/stripe/stripe-go/pull/845) Add support for `CustomerBalanceTransaction` resource and APIs
## 61.3.0 - 2019-06-18
* [#874](https://github.com/stripe/stripe-go/pull/874) Log only to info on 402 errors from Stripe
## 61.2.0 - 2019-06-14
* [#870](https://github.com/stripe/stripe-go/pull/870) Add support for `MerchantAmount` `MerchantCurrency` to Issuing `Transaction`
* [#871](https://github.com/stripe/stripe-go/pull/871) Add support for `SubmitType` to Checkout `Session`
## 61.1.0 - 2019-06-06
* [#868](https://github.com/stripe/stripe-go/pull/868) Add support for `Balance` and deprecate `AccountBalance` on Customer
* [#867](https://github.com/stripe/stripe-go/pull/867) Add support for `Location` on Terminal `ConnectionToken`
## 61.0.1 - 2019-05-24
* [#865](https://github.com/stripe/stripe-go/pull/865) Fix `earlyfraudwarning` client
## 61.0.0 - 2019-05-24
This release changes the pinned API version to `2019-05-16`.
* [#864](https://github.com/stripe/stripe-go/pull/864) Pin library to API version `2019-05-16`
## 60.19.0 - 2019-05-24
* [#862](https://github.com/stripe/stripe-go/pull/862) Add support for `radar.early_fraud_warning` resource
## 60.18.0 - 2019-05-22
* [#861](https://github.com/stripe/stripe-go/pull/861) Add new tax ID types: `TaxIDTypeINGST` and `TaxIDTypeNOVAT`
## 60.17.0 - 2019-05-16
* [#860](https://github.com/stripe/stripe-go/pull/860) Add `OffSession` parameter to payment intents
## 60.16.0 - 2019-05-14
* [#859](https://github.com/stripe/stripe-go/pull/859) Add missing `InvoiceSettings` to `Customer`
## 60.15.0 - 2019-05-14
* [#855](https://github.com/stripe/stripe-go/pull/855) Add support for the capability resource and APIs
## 60.14.0 - 2019-05-10
* [#858](https://github.com/stripe/stripe-go/pull/858) Add `StartDate` to `Subscription`
## 60.13.2 - 2019-05-10
* [#857](https://github.com/stripe/stripe-go/pull/857) Fix invoice's `PaymentIntent` so its JSON tag uses API snakecase
## 60.13.1 - 2019-05-08
* [#853](https://github.com/stripe/stripe-go/pull/853) Add paymentmethod package to the clients list
## 60.13.0 - 2019-05-07
* [#851](https://github.com/stripe/stripe-go/pull/851) Add `Customer` on the `Source` object
* [#850](https://github.com/stripe/stripe-go/pull/850) `OperatorAccount` is now deprecated across all Terminal endpoints
## 60.12.2 - 2019-05-06
* [#843](https://github.com/stripe/stripe-go/pull/843) Lock mutex while in `SetBackends`
## 60.12.1 - 2019-05-06
* [#848](https://github.com/stripe/stripe-go/pull/848) Fix `Items` on `CheckoutSessionSubscriptionDataParams` to be a slice
## 60.12.0 - 2019-05-05
* [#846](https://github.com/stripe/stripe-go/pull/846) Add support for the `PaymentIntent` filter on `ChargeListParams`
## 60.11.0 - 2019-05-02
* [#841](https://github.com/stripe/stripe-go/pull/841) Add support for the `Customer` filter on `PaymentIntentListParams`
* [#842](https://github.com/stripe/stripe-go/pull/842) Add support for replacing another Issuing `Card` on creation
## 60.10.0 - 2019-04-30
* [#839](https://github.com/stripe/stripe-go/pull/839) Add support for ACSS Debit in `PaymentMethodDetails` on `Charge`
* [#840](https://github.com/stripe/stripe-go/pull/840) Add support for `FileLinkData` on `File` creation
## 60.9.0 - 2019-04-24
* [#828](https://github.com/stripe/stripe-go/pull/828) Add support for the `TaxRate` resource and APIs
## 60.8.0 - 2019-04-23
* [#834](https://github.com/stripe/stripe-go/pull/834) Add support for the `TaxId` resource and APIs
## 60.7.0 - 2019-04-18
* [#829](https://github.com/stripe/stripe-go/pull/829) Add support for `Address`, `Name`, `Phone` and `PreferredLocales` on `Customer` and related fields on `Invoice`
* [#823](https://github.com/stripe/stripe-go/pull/823) Add support for the `CreditNote` resource and APIs
## 60.6.0 - 2019-04-18
* [#837](https://github.com/stripe/stripe-go/pull/837) Add helpers to go from `[]T` to `[]*T` for `string`, `int64`, `float64`, `bool`
## 60.5.1 - 2019-04-16
* [#836](https://github.com/stripe/stripe-go/pull/836) Fix `SpendingLimits` on `AuthorizationControlsParams` and `AuthorizationControls` to be a slice on Issuing `Card` and `Cardholder`
## 60.5.0 - 2019-04-16
* [#740](https://github.com/stripe/stripe-go/pull/740) Add support for the Checkout `Session` resource and APIs
* [#835](https://github.com/stripe/stripe-go/pull/835) Add support for passing `payment_method` on `Customer` creation
* [#832](https://github.com/stripe/stripe-go/pull/832) Add support for `version` and `succeeded` properties in the `payment_method_details[card][three_d_secure]` hash for `Charge`.
## 60.4.0 - 2019-04-15
* [#833](https://github.com/stripe/stripe-go/pull/833) Add more context when failing to unmarshal JSON
## 60.3.0 - 2019-04-12
* [#831](https://github.com/stripe/stripe-go/pull/831) Add support for `authorization_controls` on `Cardholder` and `authorization_controls[spending_limits]` added to `Card` too for Issuing resources
## 60.2.0 - 2019-04-09
* [#827](https://github.com/stripe/stripe-go/pull/827) Add support for `confirmation_method` on `PaymentIntent` creation
## 60.1.0 - 2019-04-09
* [#824](https://github.com/stripe/stripe-go/pull/824) Add support for `PaymentIntent` and `PaymentMethod` on `Customer`, `Subscription` and `Invoice`.
## 60.0.1 - 2019-04-02
* [#825](https://github.com/stripe/stripe-go/pull/825) Fix the API for usage record summary listing
## 60.0.0 - 2019-03-27
* [#820](https://github.com/stripe/stripe-go/pull/820) Add various missing parameters
* On `PIIParams` the previous `PersonalIDNumber` is fixed to `IDNumber` which we're releasing as a minor breaking change even though the old version probably didn't work correctly
## 59.1.0 - 2019-03-22
* [#819](https://github.com/stripe/stripe-go/pull/819) Add default level prefixes in messages from `LeveledLogger`
## 59.0.0 - 2019-03-22
* [#818](https://github.com/stripe/stripe-go/pull/818) Implement leveled logging (very minor breaking change -- only a couple properties were removed from the internal `BackendImplementation`)
## 58.1.0 - 2019-03-19
* [#815](https://github.com/stripe/stripe-go/pull/815) Add support for passing token on account or person creation
## 58.0.0 - 2019-03-19
This release changes the pinned API version to `2019-03-14`.
* [#811](https://github.com/stripe/stripe-go/pull/811) Add support for API version 2019-03-14
* [#814](https://github.com/stripe/stripe-go/pull/814) Properly override API version if it's set in the request
## 57.8.0 - 2019-03-18
* [#812](https://github.com/stripe/stripe-go/pull/812) Add support for deleting a Terminal `Location` and `Reader`
* [#806](https://github.com/stripe/stripe-go/pull/806) Add support for the `PaymentMethod` resource and APIs
## 57.7.0 - 2019-03-13
* [#810](https://github.com/stripe/stripe-go/pull/810) Add support for `columns` on `ReportRun` and `default_columns` on `ReportType`.
## 57.6.0 - 2019-03-06
* [#808](https://github.com/stripe/stripe-go/pull/808) Add support for `backdate_start_date` and `cancel_at` on `Subscription`.
## 57.5.0 - 2019-03-05
* [#807](https://github.com/stripe/stripe-go/pull/807) Add support for `current_period_end` and `current_period_start` filters when listing `Invoice`.
## 57.4.0 - 2019-03-04
* [#798](https://github.com/stripe/stripe-go/pull/798) Properly support serialization of `Event`.
## 57.3.0 - 2019-02-28
* [#803](https://github.com/stripe/stripe-go/pull/803) Add support for `api_version` on `WebhookEndpoint`.
## 57.2.0 - 2019-02-27
* [#795](https://github.com/stripe/stripe-go/pull/795) Add support for `created` and `status_transitions` on `Invoice`
* [#802](https://github.com/stripe/stripe-go/pull/802) Add support for `latest_invoice` on `Subscription`
## 57.1.1 - 2019-02-26
* [#800](https://github.com/stripe/stripe-go/pull/800) Add `UsageRecordSummaries` to the list of clients.
## 57.1.0 - 2019-02-22
* [#796](https://github.com/stripe/stripe-go/pull/796) Correct `InvoiceItems` in `InvoiceParams` to be a slice of structs instead of a struct (this is technically a breaking change, but the previous implementation was non-functional, so we're releasing it as a minor version)
## 57.0.1 - 2019-02-20
* [#794](https://github.com/stripe/stripe-go/pull/794) Properly pin to API version `2019-02-19`. The previous major version incorrectly stayed on API version `2019-02-11` which prevented requests to manage Connected accounts from working and charges to have the new statement descriptor behavior.
## 57.0.0 - 2019-02-19
**Important:** This version is non-functional and has been yanked in favor of 57.0.1.
* [#782](https://github.com/stripe/stripe-go/pull/782) Changes related to the new API version `2019-02-19`:
* The library is now pinned to API version `2019-02-19`
* Numerous changes to the `Account` resource and APIs:
* The `legal_entity` property on the Account API resource has been replaced with `individual`, `company`, and `business_type`
* The `verification` hash has been replaced with a `requirements` hash
* Multiple top-level properties were moved to the `settings` hash
* The `keys` property on `Account` has been removed. Platforms should authenticate as their connected accounts with their own key via the `Stripe-Account` [header](https://stripe.com/docs/connect/authentication#authentication-via-the-stripe-account-header)
* The `requested_capabilities` property on `Account` creation is now required for accounts in the US
* The deprecated parameter `save_source_to_customer` on `PaymentIntent` has now been removed. Use `save_payment_method` instead
## 56.1.0 - 2019-02-18
* [#793](https://github.com/stripe/stripe-go/pull/793) Add support for `save_payment_method` on `PaymentIntent`
* [#737](https://github.com/stripe/stripe-go/pull/737) Add support for setting `request_capabilities` and retrieving `capabilities` on `Account`
## 56.0.0 - 2019-02-13
This release changes the pinned API version to `2019-02-11`.
* [#789](https://github.com/stripe/stripe-go/pull/789) Allow API arrays to be emptied by setting an empty array
* [#785](https://github.com/stripe/stripe-go/pull/785) Changes to the Payment Intent APIs for the next API version
## 55.15.0 - 2019-02-12
* [#764](https://github.com/stripe/stripe-go/pull/764) Add support for `transfer_data[destination]` on `Invoice` and `Subscription`
* [#787](https://github.com/stripe/stripe-go/pull/787) Add support for `transfer_data[amount]` on `Charge`
* [#784](https://github.com/stripe/stripe-go/pull/784) Update generated code
* Add support for `SubscriptionSchedule` and `SubscriptionScheduleRevision`
* Add support for `payment_method_types` on `PaymentIntent`
## 55.14.0 - 2019-01-25
* [#765](https://github.com/stripe/stripe-go/pull/765) Add support for `destination_payment_refund` and `source_refund` on the `Reversal` resource
## 55.13.0 - 2019-01-17
* [#779](https://github.com/stripe/stripe-go/pull/779) Add support for `receipt_url` on `Charge`
## 55.12.0 - 2019-01-17
* [#766](https://github.com/stripe/stripe-go/pull/766) Add optional support for sending request telemetry to Stripe
## 55.11.0 - 2019-01-17
* [#776](https://github.com/stripe/stripe-go/pull/776) Add support for billing thresholds
## 55.10.0 - 2019-01-16
* [#773](https://github.com/stripe/stripe-go/pull/773) Add support for `custom_fields` and `footer` on `Invoice`
* [#774](https://github.com/stripe/stripe-go/pull/774) Revert Go module support
## 55.9.0 - 2019-01-15
* [#769](https://github.com/stripe/stripe-go/pull/769) Add field `Amount` to `IssuingTransaction`
## 55.8.0 - 2019-01-09
* [#763](https://github.com/stripe/stripe-go/pull/763) Add `application_fee_amount` to `Charge` and on charge create and capture params
## 55.7.0 - 2019-01-09
* [#738](https://github.com/stripe/stripe-go/pull/738) Add support for the account link resource
## 55.6.0 - 2019-01-09
* [#762](https://github.com/stripe/stripe-go/pull/762) Add support for new invoice items parameters when retrieving an upcoming invoice
## 55.5.0 - 2019-01-07
* [#744](https://github.com/stripe/stripe-go/pull/744) Add support for `transfer_data[destination]` on Charge struct and params
* [#746](https://github.com/stripe/stripe-go/pull/746) Add support for `wallet_provider` on the Issuing Authorization
## 55.4.0 - 2019-01-07
* [#745](https://github.com/stripe/stripe-go/pull/745) Add support for `pending` parameter when listing invoice items
## 55.3.0 - 2019-01-02
* [#742](https://github.com/stripe/stripe-go/pull/742) Add field `FraudType` to `IssuerFraudRecord`
## 55.2.0 - 2018-12-31
* [#741](https://github.com/stripe/stripe-go/pull/741) Add missing parameters `InvoiceNow` and `Prorate` for subscription cancellation
## 55.1.0 - 2018-12-27
* [#743](https://github.com/stripe/stripe-go/pull/743) Add support for `clear_usage` on `SubscriptionItem` deletion
## 55.0.0 - 2018-12-13
* [#739](https://github.com/stripe/stripe-go/pull/739) Use `ApplicationFee` struct for `FeeRefund.Fee` (minor breaking change)
## 54.2.0 - 2018-11-30
* [#734](https://github.com/stripe/stripe-go/pull/734) Put `/v1/` prefix as part of all paths instead of URL
## 54.1.1 - 2018-11-30
* [#733](https://github.com/stripe/stripe-go/pull/733) Fix malformed URL generated for the uploads API when using `NewBackends`
## 54.1.0 - 2018-11-28
* [#731](https://github.com/stripe/stripe-go/pull/731) Add missing properties on the Refund resource
* [#730](https://github.com/stripe/stripe-go/pull/730) Add support for the Review resource
## 54.0.0 - 2018-11-27
* [#721](https://github.com/stripe/stripe-go/pull/721) Add `PaidOutOfBand` to `InvoicePayParams`
* [#721](https://github.com/stripe/stripe-go/pull/721) Add support for `RadarValueList` and `RadarValueListItem`
* [#721](https://github.com/stripe/stripe-go/pull/721) Remove `Closed` and `Forgiven` from `InvoiceParams`
## 53.4.0 - 2018-11-26
* [#728](https://github.com/stripe/stripe-go/pull/728) Add `IssuingCard` to `EphemeralKeyParams`
## 53.3.0 - 2018-11-26
* [#727](https://github.com/stripe/stripe-go/pull/727) Add support for `TransferData` on payment intent create and update
## 53.2.0 - 2018-11-21
* [#725](https://github.com/stripe/stripe-go/pull/725) Improved error deserialization
## 53.1.0 - 2018-11-15
* [#723](https://github.com/stripe/stripe-go/pull/723) Add support for `last_payment_error` on `PaymentIntent`.
* [#724](https://github.com/stripe/stripe-go/pull/724) Add support for `transfer_data[destination]` on `PaymentIntent`.
## 53.0.1 - 2018-11-12
* [#714](https://github.com/stripe/stripe-go/pull/714) Fix bug in retry logic that would cause the client to panic
## 53.0.0 - 2018-11-08
This release changes the pinned API version to `2018-11-08`.
* [#716](https://github.com/stripe/stripe-go/pull/716) Drop support for Go 1.8.
* [#717](https://github.com/stripe/stripe-go/pull/717) Add support for `flat_amount` on `Plan` tiers.
* [#718](https://github.com/stripe/stripe-go/pull/718) Add support for `supported_transfer_countries` on `CountrySpec`.
* [#715](https://github.com/stripe/stripe-go/pull/715) Ship changes to the `PaymentIntent` resource to match the final layout.
* [#707](https://github.com/stripe/stripe-go/pull/707) Add new invoice methods and fixes to the Issuing Cardholder resource (multiple breaking changes)
* Move to API version 2018-11-08.
* Add support for new API methods, properties and parameters for `Invoice`.
* Add support for `default_source` on `Subscription` and `Invoice`.
* [#720](https://github.com/stripe/stripe-go/pull/720) Add support for `review` on `PaymentIntent`.
## 52.1.0 - 2018-10-31
* [#705](https://github.com/stripe/stripe-go/pull/705) Add support for the `Person` resource
* [#706](https://github.com/stripe/stripe-go/pull/706) Add support for the `WebhookEndpoint` resource
## 52.0.0 - 2018-10-29
* [#711](https://github.com/stripe/stripe-go/pull/711) Drop support for Go 1.7 (hasn't been supported by Go core since the release of Go 1.9 in August 2017)
* [#711](https://github.com/stripe/stripe-go/pull/711) Set `Request.GetBody` when making requests
## 51.4.0 - 2018-10-19
* [#708](https://github.com/stripe/stripe-go/pull/708) Add Stripe Terminal endpoints to master to `client.API`
## 51.3.0 - 2018-10-09
* [#704](https://github.com/stripe/stripe-go/pull/704) Add support for `subscription_cancel_at_period_end` on the Upcoming Invoice API.
## 51.2.0 - 2018-10-09
* [#702](https://github.com/stripe/stripe-go/pull/702) Add support for `delivery_success` filter when listing Events.
## 51.1.0 - 2018-10-03
* [#700](https://github.com/stripe/stripe-go/pull/700) Add support for `on_behalf_of` on Subscription and Charge resources.
## 51.0.0 - 2018-09-27
This release changes the pinned API version to `2018-09-24`.
* [#698](https://github.com/stripe/stripe-go/pull/698) Move to API version 2018-09-24
* Rename `FileUpload` to `File` (and all `FileUpload*` structs to `File*`)
* Fix file links client
## 50.0.0 - 2018-09-24
* [#695](https://github.com/stripe/stripe-go/pull/695) Add support for Stripe Terminal
* [#695](https://github.com/stripe/stripe-go/pull/695) Rename `Transaction` to `DisputedTransaction` in `IssuingDisputeParams` (minor breaking change)
## 49.2.0 - 2018-09-24
* [#697](https://github.com/stripe/stripe-go/pull/697) Fix `number` JSON tag on the `IssuingCardDetails` resource.
## 49.1.0 - 2018-09-11
* [#694](https://github.com/stripe/stripe-go/pull/694) Add `ErrorCodeResourceMissing` error code constant
## 49.0.0 - 2018-09-11
* [#693](https://github.com/stripe/stripe-go/pull/693) Change `Product` under `Plan` from a string to a full `Product` struct pointer (this is a minor breaking change -- upgrade by changing to `plan.Product.ID`)
## 48.3.0 - 2018-09-06
* [#691](https://github.com/stripe/stripe-go/pull/691) Add `InvoicePrefix` to `Customer` and `CustomerParams`
## 48.2.0 - 2018-09-05
* [#690](https://github.com/stripe/stripe-go/pull/690) Add support for reporting resources
## 48.1.0 - 2018-09-05
* [#683](https://github.com/stripe/stripe-go/pull/683) Add `StatusTransitions` filter parameters to `OrderListParams`
## 48.0.0 - 2018-09-05
* [#681](https://github.com/stripe/stripe-go/pull/681) Handle deserialization of `OrderItem` parent into an object if expanded (minor breaking change)
## 47.0.0 - 2018-09-04
* New major version for better compatibility with Go's new module system (no breaking changes)
## 46.1.0 - 2018-09-04
* [#689](https://github.com/stripe/stripe-go/pull/689) Add `go.mod` for the new module system
* [#688](https://github.com/stripe/stripe-go/pull/688) Encode `Params` in `AppendToAsSourceOrExternalAccount` (bug fix)
## 46.0.0 - 2018-09-04
* [#686](https://github.com/stripe/stripe-go/pull/686) Add `Mandate` and `Receiver` to `SourceObjectParams` and change `Date` on `SourceMandateAcceptance` to `int64` (minor breaking change)
## 45.0.0 - 2018-08-30
* [#680](https://github.com/stripe/stripe-go/pull/680) Change `SubscriptionTaxPercent` on `Invoice` from `int64` to `float64` (minor breaking change)
## 44.0.0 - 2018-08-28
* [#678](https://github.com/stripe/stripe-go/pull/678) Allow payment intent capture to take its own parameters
## 43.1.1 - 2018-08-28
* [#675](https://github.com/stripe/stripe-go/pull/675) Fix incorrectly encoded parameter in `UsageRecordSummaryListParams`
## 43.1.0 - 2018-08-28
* [#669](https://github.com/stripe/stripe-go/pull/669) Add `AuthorizationCode` to `Charge`
* [#671](https://github.com/stripe/stripe-go/pull/671) Fix deserialization of `TaxID` on `CustomerTaxInfo`
## 43.0.0 - 2018-08-23
This release changes the pinned API version to `2018-08-23`.
* [#668](https://github.com/stripe/stripe-go/pull/668) Move to API version 2018-08-23
* Add `TaxInfo` and `TaxInfoVerification` to `Customer`
* Rename `Amount` to `UnitAmount` on `PlanTierParams`
* Remove `BusinessVATID` from `Customer`
* Remove `AtPeriodEnd` from `SubscriptionCancelParams`
## 42.3.0 - 2018-08-23
* [#667](https://github.com/stripe/stripe-go/pull/667) Add `Forgive` to `InvoicePayParams`
## 42.2.0 - 2018-08-22
* [#666](https://github.com/stripe/stripe-go/pull/666) Add `Subscription` to `SubscriptionItem`
## 42.1.0 - 2018-08-22
* [#664](https://github.com/stripe/stripe-go/pull/664) Add `AvailablePayoutMethods` to `Card`
## 42.0.0 - 2018-08-20
* [#663](https://github.com/stripe/stripe-go/pull/663) Add support for usage record summaries and rename `Live` on `IssuerFraudRecord, `SourceTransaction`, and `UsageRecord` to `Livemode` (a minor breaking change)
## 41.0.0 - 2018-08-17
* [#661](https://github.com/stripe/stripe-go/pull/661) Correct `IssuingCardShipping`'s type to `int64`
* [#659](https://github.com/stripe/stripe-go/pull/659) Remove mutating Bitcoin receiver API calls (these were no longer functional anyway)
* [#662](https://github.com/stripe/stripe-go/pull/662) Rename `IssuingCardShipping`'s `Eta` to `ETA`
## 40.2.0 - 2018-08-15
* [#657](https://github.com/stripe/stripe-go/pull/657) Use integer-indexed encoding for all arrays
## 40.1.0 - 2018-08-10
* [#656](https://github.com/stripe/stripe-go/pull/656) Expose new `ValidatePayload` functions for validating incoming payloads without constructing an event
## 40.0.2 - 2018-08-07
* [#652](https://github.com/stripe/stripe-go/pull/652) Change the type of `FileUpload.Links` to `FileLinkList` (this is a bug fix given that the previous type would never have worked)
## 40.0.1 - 2018-08-07
* [#653](https://github.com/stripe/stripe-go/pull/653) All `BackendImplementation`s should sleep by default on retries
## 40.0.0 - 2018-08-06
* [#650](https://github.com/stripe/stripe-go/pull/650) Export `webhook.ComputeSignature`
* [#648](https://github.com/stripe/stripe-go/pull/648) Introduce buffers so a request's body can be read multiple times (this modifies the interface of a few exported internal functions so it's technically breaking, but it will probably not be breaking for most users)
* [#649](https://github.com/stripe/stripe-go/pull/649) Rename `BackendConfiguration` to `BackendImplementation` (likewise, technically breaking, but minor)
## 39.0.0 - 2018-08-04
* [#646](https://github.com/stripe/stripe-go/pull/646) Set request body before every retry (this modifies the interface of a few exported internal functions so it's technically breaking, but it will probably not be breaking for most users)
## 38.2.0 - 2018-08-03
* [#645](https://github.com/stripe/stripe-go/pull/645) Add support for `Cancel` to topups
* [#644](https://github.com/stripe/stripe-go/pull/644) Add support for file links
## 38.1.0 - 2018-08-01
* [#643](https://github.com/stripe/stripe-go/pull/643) Bug fix and various code/logging improvements to retry code
## 38.0.0 - 2018-07-30
* [#641](https://github.com/stripe/stripe-go/pull/641) Minor breaking changes to correct a few naming inconsistencies:
* `IdentityVerificationDetailsCodeScanIdCountryNotSupported` becomes `IdentityVerificationDetailsCodeScanIDCountryNotSupported`
* `IdentityVerificationDetailsCodeScanIdTypeNotSupported` becomes `IdentityVerificationDetailsCodeScanIDTypeNotSupported`
* `BitcoinUri` on `BitcoinReceiver` becomes `BitcoinURI`
* `NetworkId` on `IssuingAuthorization` becomes `NetworkID`
## 37.0.0 - 2018-07-30
This release changes the pinned API version to `2018-07-27`.
* [#640](https://github.com/stripe/stripe-go/pull/640) Add missing field `Created` to `Account`
* [#637](https://github.com/stripe/stripe-go/pull/637) Add support for Sigma scheduled query runs
* [#639](https://github.com/stripe/stripe-go/pull/639) Move to API version `2018-07-27` (breaking)
* Remove `SKUs` from `Product`
* Subscription creation and update can no longer take a source
* Change `PercentOff` on coupon struct and params from integer to float
## 36.3.0 - 2018-07-27
* [#636](https://github.com/stripe/stripe-go/pull/636) Add `RiskScore` to `ChargeOutcome`
## 36.2.0 - 2018-07-26
* [#635](https://github.com/stripe/stripe-go/pull/635) Add support for Stripe Issuing
## 36.1.2 - 2018-07-24
* [#633](https://github.com/stripe/stripe-go/pull/633) Fix encoding of list params for bank accounts and cards
## 36.1.1 - 2018-07-17
* [#627](https://github.com/stripe/stripe-go/pull/627) Wire an `http.Client` from `NewBackends` through to backends
## 36.1.0 - 2018-07-11
* [#624](https://github.com/stripe/stripe-go/pull/624) Add `AutoAdvance` for `Invoice`
## 36.0.0 - 2018-07-09
* [#606](https://github.com/stripe/stripe-go/pull/606) Add support for payment intents
* [#623](https://github.com/stripe/stripe-go/pull/623) Changed `Payout.Destination` from `string` to `*PayoutDestination` to support expanding (minor breaking change)
## 35.13.0 - 2018-07-06
* [#622](https://github.com/stripe/stripe-go/pull/622) Correct position of `DeclineChargeOn` (it was added accidentally on `LegalEntityParams` when it should have been on `AccountParams`)
## 35.12.0 - 2018-07-05
* [#620](https://github.com/stripe/stripe-go/pull/620) Add support for `Quantity` and `UnitAmount` to `InvoiceItemParams` and `Quantity` to `InvoiceItem`
## 35.11.0 - 2018-07-05
* [#618](https://github.com/stripe/stripe-go/pull/618) Add support for `DeclineChargeOn` to `Account` and `AccountParams`
## 35.10.0 - 2018-07-04
* [#616](https://github.com/stripe/stripe-go/pull/616) Adding missing clients to the `API` struct including a `UsageRecords` entry
## 35.9.0 - 2018-07-03
* [#611](https://github.com/stripe/stripe-go/pull/611) Introduce `GetBackendWithConfig` and make logging configurable per backend
## 35.8.0 - 2018-06-28
* [#607](https://github.com/stripe/stripe-go/pull/607) Add support for `PartnerID` from `stripe.SetAppInfo`
## 35.7.0 - 2018-06-26
* [#604](https://github.com/stripe/stripe-go/pull/604) Add extra parameters `CustomerReference` and `ShippingFromZip` to `ChargeLevel3Params` and `ChargeLevel3`
## 35.6.0 - 2018-06-25
* [#603](https://github.com/stripe/stripe-go/pull/603) Add support for Level III data on charge creation
## 35.5.0 - 2018-06-22
* [#601](https://github.com/stripe/stripe-go/pull/601) Add missing parameters for retrieving an upcoming invoice
## 35.4.0 - 2018-06-21
* [#599](https://github.com/stripe/stripe-go/pull/599) Add `ExchangeRate` to `BalanceTransaction`
## 35.3.0 - 2018-06-20
* [#596](https://github.com/stripe/stripe-go/pull/596) Add `Type` to `ProductListParams` so that products can be listed by type
## 35.2.0 - 2018-06-19
* [#595](https://github.com/stripe/stripe-go/pull/595) Add `Product` to `PlanListParams` so that plans can be listed by product
## 35.1.0 - 2018-06-17
* [#592](https://github.com/stripe/stripe-go/pull/592) Add `Name` field to `Coupon` and `CouponParams`
## 35.0.0 - 2018-06-15
* [#557](https://github.com/stripe/stripe-go/pull/557) Add automatic retries for intermittent errors (enabling using `BackendConfiguration.SetMaxNetworkRetries`)
* [#589](https://github.com/stripe/stripe-go/pull/589) Fix all `Get` methods to support standardized parameter structs + remove some deprecated functions
* `IssuerFraudRecordListParams` now uses `*string` for `Charge` (set it using `stripe.String` like elsewhere)
* `event.Get` now takes `stripe.EventParams` instead of `Params` for consistency
* The `Get` method for `countryspec`, `exchangerate`, `issuerfraudrecord` now take an extra params struct parameter to be consistent and allow setting a connected account (use `stripe.CountrySpecParams`, `stripe.ExchangeRateParams`, and `IssuerFraudRecordParams`)
* `charge.MarkFraudulent` and `charge.MarkSafe` have been removed; use `charge.Update` instead
* `charge.CloseDispute` and `charge.UpdateDispute` have been removed; use `dispute.Update` or `dispute.Close` instead
* `loginlink.New` now properly passes its params struct into its API call
## 34.3.0 - 2018-06-14
* [#587](https://github.com/stripe/stripe-go/pull/587) Use `net/http` constants instead of string literals for HTTP verbs (this is an internal cleanup and should not affect library behavior)
## 34.2.0 - 2018-06-14
* [#581](https://github.com/stripe/stripe-go/pull/581) Push parameter encoding into `BackendConfiguration.Call` (this is an internal cleanup and should not affect library behavior)
## 34.1.0 - 2018-06-13
* [#586](https://github.com/stripe/stripe-go/pull/586) Add `AmountPaid`, `AmountRemaining`, `BillingReason` (including new `InvoiceBillingReason` and constants), and `SubscriptionProrationDate` to `Invoice`
## 34.0.0 - 2018-06-12
* [#585](https://github.com/stripe/stripe-go/pull/585) Remove `File` in favor of `FileUpload`, and consolidating both classes which were already nearly identical except `MIMEType` has been replaced by `Type` (this is technically a breaking change, but quite a small one)
## 33.1.0 - 2018-06-12
* [#578](https://github.com/stripe/stripe-go/pull/578) Improve expansion parsing by not discarding unmarshal errors
## 33.0.0 - 2018-06-11
* [#583](https://github.com/stripe/stripe-go/pull/583) Add new account constants, rename one, and fix `DueBy` (this is technically a breaking change, but quite a small one)
## 32.4.1 - 2018-06-11
* [#582](https://github.com/stripe/stripe-go/pull/582) Fix unmarshaling of `LegalEntity` (specifically when we have `legal_entity[additional_owners][][verification]`) so that it comes out as a struct
## 32.4.0 - 2018-06-07
* [#577](https://github.com/stripe/stripe-go/pull/577) Add `DocumentBack` to account legal entity identity verification parameters and response
## 32.3.0 - 2018-06-07
* [#576](https://github.com/stripe/stripe-go/pull/576) Fix plan transform usage to use `BucketSize` instead of `DivideBy`; note this is technically a breaking API change, but we've released it as a minor because the previous manifestation didn't work
## 32.2.0 - 2018-06-06
* [#573](https://github.com/stripe/stripe-go/pull/573) Add `FormatURLPath` helper to allow safer URL path building
* [#571](https://github.com/stripe/stripe-go/pull/571) Add `HostedInvoiceURL` and `InvoicePDF` to `Invoice`
## 32.1.0 - 2018-06-06
* [#572](https://github.com/stripe/stripe-go/pull/572) Add `Active` to plan parameters and response
## 32.0.1 - 2018-06-06
* [#569](https://github.com/stripe/stripe-go/pull/569) Fix unmarshaling of expanded transaction sources in balance transactions
## 32.0.0 - 2018-06-06
* [#544](https://github.com/stripe/stripe-go/pull/544) **MAJOR** changes that make all fields on parameter structs pointers, and rename many fields on parameter and response structs to be consistent with naming in the REST API; we've written [a migration guide with complete details](https://github.com/stripe/stripe-go/blob/master/v32_migration_guide.md) to help with the upgrade
## 31.0.0 - 2018-06-06
* [#566](https://github.com/stripe/stripe-go/pull/566) Support `DisputeParams` in `dispute.Close`
## 30.8.1 - 2018-05-24
* [#562](https://github.com/stripe/stripe-go/pull/562) Add `go.mod` for vgo support
## 30.8.0 - 2018-05-22
* [#558](https://github.com/stripe/stripe-go/pull/558) Add `SubscriptionItem` to `InvoiceLine`
## 30.7.0 - 2018-05-09
* [#552](https://github.com/stripe/stripe-go/pull/552) Add support for issuer fraud records
## 30.6.1 - 2018-05-04
* [#550](https://github.com/stripe/stripe-go/pull/550) Append standard `Params` as well as card options when encoding `CardParams`
## 30.6.0 - 2018-04-17
* [#546](https://github.com/stripe/stripe-go/pull/546) Add `SubParams.TrialFromPlan` and `SubItemsParams.ClearUsage`
## 30.5.0 - 2018-04-09
* [#543](https://github.com/stripe/stripe-go/pull/543) Support listing orders by customer (add `Customer` to `OrderListParams`)
## 30.4.0 - 2018-04-06
* [#541](https://github.com/stripe/stripe-go/pull/541) Add `Mandate` on `Source` (and associated mandate structs)
## 30.3.0 - 2018-04-02
* [#538](https://github.com/stripe/stripe-go/pull/538) Introduce flexible billing primitives for subscriptions
## 30.2.0 - 2018-03-23
* [#535](https://github.com/stripe/stripe-go/pull/535) Add constant for redirect status `not_required` (`RedirectFlowStatusNotRequired`)
## 30.1.0 - 2018-03-17
* [#534](https://github.com/stripe/stripe-go/pull/534) Add `AmountZero` to `InvoiceItemParams`
## 30.0.0 - 2018-03-14
* [#533](https://github.com/stripe/stripe-go/pull/533) Make `DestPayment` under `Transfer` expandable by changing it from a string to a `Charge`
## 29.3.1 - 2018-03-08
* [#530](https://github.com/stripe/stripe-go/pull/530) Fix mixed up types in `CountrySpec.SupportedBankAccountCurrencies`
## 29.3.0 - 2018-03-01
* [#527](https://github.com/stripe/stripe-go/pull/527) Add `MaidenName`, `PersonalIDNumber`, `PersonalIDNumberProvided` fields to `Owner` struct
## 29.2.0 - 2018-02-26
* [#526](https://github.com/stripe/stripe-go/pull/526) Fix ignored `commonParams` when returning an order
* [#525](https://github.com/stripe/stripe-go/pull/525) Support shipping carrier and tracking number in orders
## 29.1.1 - 2018-02-21
This release changes the pinned API version to `2018-02-06`.
* [#522](https://github.com/stripe/stripe-go/pull/522) Bump API version and fix creating plans with a product
## 29.1.0 - 2018-02-21
* [#520](https://github.com/stripe/stripe-go/pull/520) Add support for topups
## 29.0.1 - 2018-02-16
**WARNING:** Please use 29.1.1 instead.
* [#519](https://github.com/stripe/stripe-go/pull/519) Correct the implementation of `PaymentSource.MarshalJSON` to also handle bank account sources
## 29.0.0 - 2018-02-14
**WARNING:** Please use 29.1.1 instead.
* [#518](https://github.com/stripe/stripe-go/pull/518) Bump API version to 2018-02-06 and add support for Product & Plan API
## 28.12.0 - 2018-02-09
* [#517](https://github.com/stripe/stripe-go/pull/517) Add `BillingCycleAnchor` to `Sub` and `BillingCycleAnchorUnchanged` to `SubParams`
## 28.11.0 - 2018-01-29
* [#516](https://github.com/stripe/stripe-go/pull/516) Add `AmountZero` to `PlanParams` to it's possible to send zero values when creating or updating a plan
## 28.10.1 - 2018-01-18
* [#512](https://github.com/stripe/stripe-go/pull/512) Encode empty values found in maps (like `Meta`)
## 28.10.0 - 2018-01-09
* [#509](https://github.com/stripe/stripe-go/pull/509) Plumb through additional possible errors when unmarshaling polymorphic types (please test your integrations while upgrading)
## 28.9.0 - 2018-01-08
* [#506](https://github.com/stripe/stripe-go/pull/506) Add support for recursing into slices in `event.GetObjValue`
## 28.8.0 - 2017-12-12
* [#500](https://github.com/stripe/stripe-go/pull/500) Support sharing for bank accounts and cards (adds `ID` field to bank account and charge parameters)
## 28.7.0 - 2017-12-05
* [#494](https://github.com/stripe/stripe-go/pull/494) Add `Automatic` to `Payout` struct
## 28.6.1 - 2017-11-02
* [#492](https://github.com/stripe/stripe-go/pull/492) Correct name of user agent header used to send Go version to Stripe's API
## 28.6.0 - 2017-10-31
* [#491](https://github.com/stripe/stripe-go/pull/491) Support for exchange rates APIs
## 28.5.0 - 2017-10-27
* [#488](https://github.com/stripe/stripe-go/pull/488) Support for listing source transactions
## 28.4.2 - 2017-10-25
* [#487](https://github.com/stripe/stripe-go/pull/487) Make bank account's `account_holder_name` and `account_holder_type` parameters truly optional
* [#486](https://github.com/stripe/stripe-go/pull/486) Send the required `object=bank_account` parameter when adding a bank account through an account
## 28.4.1 - 2017-10-24
* [#484](https://github.com/stripe/stripe-go/pull/484) Error early when params not specified for card-related API calls
## 28.4.0 - 2017-10-19
* [#477](https://github.com/stripe/stripe-go/pull/477) Support context on API requests with `Params.Context` and `ListParams.Context`
## 28.3.2 - 2017-10-19
* [#479](https://github.com/stripe/stripe-go/pull/479) Pass token in only one of `external_account` *or* source when appending card
## 28.3.1 - 2017-10-17
* [#476](https://github.com/stripe/stripe-go/pull/476) Make initializing new backends concurrency-safe
## 28.3.0 - 2017-10-10
* [#359](https://github.com/stripe/stripe-go/pull/359) Add support for verify sources (added `Values` on `SourceVerifyParams`)
## 28.2.0 - 2017-10-09
* [#473](https://github.com/stripe/stripe-go/pull/473) Add support for detaching sources from customers
* [#472](https://github.com/stripe/stripe-go/pull/472) Add support for `statement_descriptor` in source objects
## 28.1.0 - 2017-10-05
* [#471](https://github.com/stripe/stripe-go/pull/471) Add support for `RedirectFlow.FailureReason` for sources
## 28.0.1 - 2017-10-03
* [#470](https://github.com/stripe/stripe-go/pull/470) Fix concurrent race in `form` package's encoding caches
* [#468](https://github.com/stripe/stripe-go/pull/468) Fix encoding of pointer-based scalars (e.g. `Active *bool` in `Product`)
## 28.0.0 - 2017-09-27
* [#467](https://github.com/stripe/stripe-go/pull/467) Change `Product.Get` to include `ProductParams` for request metadata
* [#467](https://github.com/stripe/stripe-go/pull/467) Fix sending extra parameters on product and SKU requests
## 27.0.2 - 2017-09-26
* [#465](https://github.com/stripe/stripe-go/pull/465) Fix encoding of `CVC` parameter in `CardParams`
## 27.0.1 - 2017-09-20
* [#461](https://github.com/stripe/stripe-go/pull/461) Fix encoding of `TypeData` under sources
## 27.0.0 - 2017-09-19
* [#458](https://github.com/stripe/stripe-go/pull/458) Remove `ChargeParams.Token` (this seems like it was added accidentally)
## 26.0.0 - 2017-09-17
* Add `FraudDetails` to `ChargeParams`
* Alphabetize all struct fields -- this may result in position-based struct initialization to fail if it was being used
* Introduce `form` package so it's no longer necessary to build conditional structures to encode parameters -- this may result in parameters that were set but previously not encoded to now be encoded so **PLEASE TEST CAREFULLY WHEN UPGRADING**!
* Remote Displayer interface and Display implementations
* Remove `FraudReport` from `ChargeParams` (use `FraudDetails` instead)
* Switch to stripe-mock for testing (test suite now runs completely!)
## 25.2.0 - 2017-09-13
* Add `OnBehalfOf` to charge parameters.
* Add `OnBehalfOf` to subscription parameters.
## 25.1.0 - 2017-09-06
* Use bearer token authentication for API requests
## 25.0.0 - 2017-08-21
* All `Del` methods now take params as second argument (which may be `nil`)
* Product `Delete` now returns `(*Product, error)` for consistency
* Product `Delete` has been renamed to `Del` for consistency
* SKU `Delete` now returns `(*SKU, error)` for consistency
* SKU `Delete` has been renamed to `Del` for consistency
## 24.3.0 - 2017-08-08
* Add `FeeZero` to invoice and `TaxPercentZero` to subscription for zeroing values
## 24.2.0 - 2017-07-25
* Add "range queries" for supported parameters (e.g. `created[gte]=123`)
## 24.1.0 - 2017-07-17
* Add metadata to subscription items
## 24.0.0 - 2017-06-27
`Pay` on invoice now takes specific pay parameters
## 23.2.1 - 2017-06-26
* Fix bank account retrieval when using a customer ID
## 23.2.0 - 2017-06-26
* Support sharing path while creating a source
## 23.1.0 - 2017-06-26
* Add LoginLinks to client list
## 23.0.0 - 2017-06-23
plan.Del now takes `stripe.PlanParams` as a second argument
## 22.6.0 - 2017-06-19
* Support for ephemeral keys
## 22.5.0 - 2017-06-15
* Support for checking webhook signatures
## 22.4.1 - 2017-06-15
* Fix returned type of subscription items list
* Note: I meant to release this as 22.3.1, but I'm leaving it as it was released
## 22.3.0 - 2017-06-14
* Fix parameters for subscription items list
## 22.2.0 - 2017-06-13
* Support setting subscription's quantity to zero when getting upcoming invoice
* Support subscription items when getting upcoming invoice
## 22.1.1 - 2017-06-12
* Handle `deleted` parameter when updating subscription items in a subscription
## 22.1.0 - 2017-05-25
* Change `Logger` to a `log.Logger`-like interface so other loggers are usable
## 22.0.0 - 2017-05-25
This release changes the pinned API version to `2017-05-25`.
* Add support for login links
* Add support for new `Type` for accounts
* Make `Event` `Request` (renamed from `Req`) a struct with a new idempotency key
* Rename `Event` `UserID` to `Account`
## 21.5.1 - 2017-05-23
* Fix plan update so `TrialPeriod` parameter is sent
## 21.5.0 - 2017-05-15
* Implement `Get` for `RequestValues`
## 21.4.1 - 2017-05-11
* Pass extra parameters to API calls on bank account deletion
## 21.4.0 - 2017-05-04
* Add `Billing` and `DueDate` filters to invoice listing
* Add `Billing` filter to subscription listing
## 21.3.0 - 2017-05-02
* Add `DetailsCode` to `IdentityVerification`
## 21.2.0 - 2017-04-19
* Add `stripe.SetAppInfo` for plugin authors to register app information
* Send user agent information with `X-Stripe-Client-User-Agent`
## 21.1.0 - 2017-04-12
* Allow coupon to be specified when creating orders
* No longer require that items have descriptions when creating orders
## 21.0.0 - 2017-04-07
* Balances are now retrieved by payout instead of by transfer
## 20.0.0 - 2017-04-06
* Add support for payouts and recipient transfers
* Bump API version to 2017-04-06: https://docs.stripe.com/changelog/2017-04-06
* Change the transfer resource to support its new format
* Deprecate recipient creation
* Disputes under charges are now expandable and collapsed by default
* Rules under charge outcomes are now expandable and collapsed by default
## 19.17.0 - 2017-04-06
This release changes the pinned API version to `2017-04-06`.
* Please see 20.0.0 (bad release)
## 19.16.0 - 2017-03-23
* Allow the ID of an identity document to be passed into an account owner update
## 19.15.0 - 2017-03-22
* Add `ShippingCarrier` to dispute evidence
## 19.14.0 - 2017-03-20
* Add `Period`, `Plan`, and `Quantity` to `InvoiceItem`
## 19.13.0 - 2017-03-20
* Add `AdditionalOwnersEmpty` to allow additional owners to be unset
## 19.12.0 - 2017-03-17
* Add new form of file upload using `io.FileReader` and filename
## 19.11.0 - 2017-03-13
* Add `Token` to `SourceObjectParams`
## 19.10.0 - 2017-03-13
* Add `CouponEmpty` (allowing a coupon to be cleared) to customer parameters
* Add `CouponEmpty` (allowing a coupon to be cleared) to subscription parameters
## 19.9.0 - 2017-03-08
* Add missing value "all" to subscription statuses
## 19.8.0 - 2017-03-02
* Add subscription items client to main `client.API` struct
## 19.7.0 - 2017-03-01
* Add `Statement` (statement descriptor) to `CaptureParams`
## 19.6.0 - 2017-02-22
* Add new parameters for invoices and subscriptions
## 19.5.0 - 2017-02-13
* Add new rich `Destination` type to `ChargeParams`
## 19.4.0 - 2017-02-03
* Support Connect account as payment source
## 19.3.0 - 2017-02-02
* Add transfer group to charges and transfers
## 19.2.0 - 2017-01-23
* Add `Rule` to `ChargeOutcome`
## 19.1.0 - 2017-01-18
* Add support for updating sources
## 19.0.2 - 2017-01-04
* Fix subscription `trial_period_days` to be populated by the right value
## 19.0.1 - 2016-12-08
* Include verification document details when persisting `LegalEntity`
## 19.0.0 - 2016-12-07
* Remote `SubProrationDateNow` field from `InvoiceParams`
## 18.14.1 - 2016-12-05
* Truncate `tax_percent` at four decimals (e.g. 3.9750%) instead of two
## 18.14.0 - 2016-11-23
* Add retrieve method for 3-D Secure resources
## 18.13.0 - 2016-11-15
* Add `PaymentSource` to `API`
## 18.12.0 - 2016-11-14
* Allow bank accounts to be created as a customer source
## 18.11.0 - 2016-11-14
* Add `TrialPeriodEnd` to `SubParams`
## 18.10.0 - 2016-11-09
* Add `StatusTransitions` to `Order`
## 18.9.0 - 2016-11-04
* Add `Application` to `Charge`
## 18.8.0 - 2016-10-24
* Add `Review` to `Charge` for the charge reviews
## 18.7.0 - 2016-10-18
* Add `RiskLevel` to `ChargeOutcome`
## 18.6.0 - 2016-10-18
* Support for 403 status codes (permission denied)
## 18.5.0 - 2016-10-18
* Add `Status` to `SubListParams` to allow filtering subscriptions by status
## 18.4.0 - 2016-10-14
* Add `HasEvidence` and `PastDue` to `EvidenceDetails`
## 18.3.0 - 2016-10-10
* Add `NoDiscountable` to `InvoiceItemParams`
## 18.2.0 - 2016-10-10
* Add `BusinessLogo` to `Account`
* Add `DestPayment` to `Transfer`
* Add `ReceiptNumber` to `Charge`
## 18.1.0 - 2016-10-04
* Support for Apple Pay domains
## 18.0.0 - 2016-10-03
* Change `Charge` on `Resource` to be expandable (now a struct instead of string)
* Correct `SourceTx` on `Transfer` to be a `SourceTransaction`
* Support for subscription items
## 17.5.0 - 2016-09-22
* Support customer-related operations for bank accounts
## 17.4.2 - 2016-09-19
* Fix but where some parameters were not being included on order update
## 17.4.1 - 2016-09-15
* Fix bug that required a date of birth to be included on account update
## 17.4.0 - 2016-09-13
* Add missing Kana and Kanji address and name fields to account's legal entity
* Add `ReceiptNumber` and `Status` to `Refund`
## 17.3.0 - 2016-09-07
* Add support for sources endpoint
## 17.2.0 - 2016-08-29
* Add order returns to `API`
## 17.1.0 - 2016-08-22
* Add `DeactiveOn` to `Product`
## 17.0.0 - 2016-08-18
* Allow expansion of destination on transfers
* Allow expansion of sources on balance transactions
## 16.8.0 - 2016-08-17
* Add `OriginatingTransaction` to `Fee`
## 16.7.1 - 2016-08-17
* Allow params to be nil when retrieving a refund
## 16.7.0 - 2016-08-11
* Add support for 3-D Secure
## 16.6.0 - 2016-08-09
* Add `ReceiptNumber` to `Invoice`
## 16.5.0 - 2016-08-08
* Add `Meta` to `Account`
## 16.4.0 - 2016-08-05
* Add `MigratedTo` to `Recipient`
* Allow the migration of recipients to accounts
## 16.3.1 - 2016-07-25
* URL-escape the IDs of coupons and plans when making API requests
## 16.3.0 - 2016-07-19
* Add `NoClosed` to `InvoiceParams` to allow an invoice to be reopened
## 16.2.1 - 2016-07-11
* Consider `SubParams.QuantityZero` when updating a subscription
## 16.2.0 - 2016-07-07
This release changes the pinned API version to `2016-07-06`.
* Upgrade API version to 2016-07-06
## 16.1.0 - 2016-07-07
* Add `Returns` field to `Order`
## 16.0.0 - 2016-06-30
* Remove `Name` field on `SKU`; it's not actually supported
* Support updating `Product` on `SKU`
## 15.6.0 - 2016-06-24
* Allow product and SKU attributes to be updated
## 15.5.0 - 2016-06-24
* Add `TaxPercent` and `TaxPercentZero` to `CustomerParams`
## 15.4.0 - 2016-06-20
* Add `TokenizationMethod` to `Card` struct
## 15.3.0 - 2016-06-15
* Add `BalanceZero` to `CustomerParams` so that balance can be zeroed out
## 15.2.0 - 2016-06-03
* Add `ToValues` to `RequestValues` struct
## 15.1.0 - 2016-05-26
* Add `BusinessVatID` to customer creation parameters
## 15.0.0 - 2016-05-24
* Fix handling of nested objects in arrays in request parameters
## 14.4.0 - 2016-05-24
* Add granular error types in new `Err` field on `stripe.Error`
## 14.3.0 - 2016-05-20
* Allow Relay orders to be returned and add associated types
## 14.2.3 - 2016-05-20
* When creating a bank account token, only send routing number if it's been set
## 14.2.2 - 2016-05-17
* When creating a bank account, only send routing number if it's been set
## 14.2.1 - 2016-05-17
* Add missing SKU clinet to client API type
## 14.2.0 - 2016-05-11
* Add `Reversed` and `AmountReversed` fields to `Transfer`
## 14.1.0 - 2016-05-05
* Allow `default_for_currency` to be set when creating a card
## 14.0.0 - 2016-05-04
* Change the signature for `sub.Delete`. The customer ID is no longer required.
## 13.12.0 - 2016-04-28
* Add `Currency` to `Card`
## 13.11.1 - 2016-04-22
* Fix bug where new external accounts could not be marked default from token
## 13.11.0 - 2016-04-21
* Expose a number of list types that were previously internal (full list below)
* Expose `stripe.AccountList`
* Expose `stripe.BitcoinReceiverList`
* Expose `stripe.ChargeList`
* Expose `stripe.CountrySpecList`
* Expose `stripe.CouponList`
* Expose `stripe.CustomerList`
* Expose `stripe.DisputeList`
* Expose `stripe.EventList`
* Expose `stripe.FeeList`
* Expose `stripe.FileUploadList`
* Expose `stripe.InvoiceList`
* Expose `stripe.OrderList`
* Expose `stripe.ProductList`
* Expose `stripe.RecipientList`
* Expose `stripe.TransactionList`
* Expose `stripe.TransferList`
* Switch to use of `stripe.BitcoinTransactionList`
* Switch to use of `stripe.SKUList`
## 13.10.1 - 2016-04-20
* Add support for `TaxPercentZero` to invoice and subscription updates
## 13.10.0 - 2016-04-19
* Expose `stripe.PlanList` (previously an internal type)
## 13.9.0 - 2016-04-18
* Add `TaxPercentZero` struct to `InvoiceParams`
* Add `TaxPercentZero` to `SubParams`
## 13.8.0 - 2016-04-12
* Add `Outcome` struct to `Charge`
## 13.7.0 - 2016-04-06
* Add `Description`, `IIN`, and `Issuer` to `Card`
## 13.6.0 - 2016-04-05
* Add `SourceType` (and associated constants) to `Transfer`
## 13.5.0 - 2016-03-29
* Add `Meta` (metadata) to `BankAccount`
## 13.4.0 - 2016-03-29
* Add `Meta` (metadata) to `Card`
## 13.3.0 - 2016-03-29
* Add `DefaultCurrency` to `CountrySpec`
## 13.2.0 - 2016-03-18
* Add `SourceTransfer` to `Charge`
* Add `SourceTx` to `Transfer`
## 13.1.0 - 2016-03-15
* Add `Reject` on `Account` to support the new API feature
## 13.0.0 - 2016-03-15
This release changes the pinned API version to `2016-03-07`.
* Remove `Account.BankAccounts` in favor of `ExternalAccounts`
* Remove `Account.Currencies` in favor of `CountrySpec`
* Upgrade API version to 2016-03-07
## 12.1.0 - 2016-03-04
* Add `ListParams.StripeAccount` for making list calls on behalf of connected accounts
* Add `Params.StripeAccount` for symmetry with `ListParams.StripeAccount`
* Deprecate `Params.Account` in favor of `Params.StripeAccount`
## 12.0.0 - 2016-03-02
* Add support for fetching events for managed accounts (`event.Get` now takes `Params`)
## 11.5.0 - 2016-02-26
* Allow a `PII.PersonalIDNumber` number to be used to create a token
## 11.4.0 - 2016-02-24
* Add missing subscription fields to `InvoiceParams` for use with `invoice.GetNext`
## 11.3.0 - 2016-02-19
* Add `AccountHolderName` and `AccountHolderType` to bank accounts
## 11.2.0 - 2016-02-11
* Add `SSNProvided`, `PersonalIDProvided` and `BusinessTaxIDProvided` to `LegalEntity`
* Add support for `CountrySpec`
## 11.1.2 - 2016-02-02
* Fix card update method to correctly take expiration date
## 11.1.1 - 2016-02-01
* Fix recipient update so that it can take a bank token (like create)
## 11.1.0 - 2016-01-25
## 11.0.1 - 2016-01-11
* Add missing field `country` to shipping details of `Charge` and `Customer`
## 11.0.0 - 2016-01-07
* Add missing field `Default` to `BankAccount`
* Add `OrderParams` parameter to `Order` retrieval
* Fix parameter bug when creating a new `Order`
* Support special value of 'now' for trial end when updating subscriptions
## 10.3.0 - 2015-12-10
* Allow an account to be referenced when creating a card
## 10.2.0 - 2015-12-04
* Add `Update` function on `Coupon` client so that metadata can be set
## 10.1.0 - 2015-12-01
* Add a verification routine for external accounts
## 10.0.0 - 2015-11-30
* Fix bug where country parameter wasn't included for some account creation
* Return models along with `error` when deleting resources with `Del`
## 9.0.0 - 2015-11-13
* Return model (`Sub`) when cancelling a subscription (`sub.Cancel`)
## 8.0.0 - 2015-08-17
* Add ability to list and retrieve refunds without a Charge
## 7.0.0 - 2015-08-03
* Add ability to list and retrieve disputes
## 6.8.0 - 2015-07-29
* Add ability to delete an account
## 6.7.1 - 2015-07-17
* Bug fixes
## 6.7.0 - 2015-07-16
This release changes the pinned API version to `2015-07-13`.
* Expand logging object
* Move proration date to subscription update
* Send country when creating/updating account
## 6.6.0 - 2015-07-06
* Add request ID to errors
## 6.5.0 - 2015-07-06
* Add destination, application fee, transfer to Charge struct
* Add missing fields to invoice line item
* Rename deprecated customer param value
* Update bank account creation API
## 6.4.2 - 2015-06-23
* Add BusinessUrl, BusinessUrl, BusinessPrimaryColor, SupportEmail, and
* SupportUrl to Account.
## 6.4.1 - 2015-06-16
* Change card.dynamic_last_four to card.dynamic_last4
## 6.4.0 - 2015-05-28
* Rename customer.default_card -> default_source
## 6.3.0 - 2015-05-19
This release changes the pinned API version to `2015-04-07`.
* Add shipping address to charges
* Bug fixes
* Bump API version to most recent one
* Expose account.tos_acceptance
* Expose card.dynamic_last_four
## 6.2.0 - 2015-04-09
* Add Extra to parameters
* Bug fixes
## 6.1.0 - 2015-03-17
* Add TaxPercent for subscriptions
* Event bug fixes
## 6.0.0 - 2015-03-17
* Add /accounts/bank_accounts endpoint
* Add more operations for /accounts endpoint
* Add support for Stripe-Account header
* Add /transfers/reversals endpoint
## 5.1.0 - 2015-03-01
* Add new dispute status `warning_closed`
* Add SubParams.TrialEndNow to support `trial_end = "now"`
## 5.0.1 - 2015-02-25
* Fix URL for upcoming invoices
## 5.0.0 - 2015-02-19
This release changes the pinned API version to `2015-02-18`.
* Add paymentsource package for manipulating Customer's sources
* Bump to API version 2014-02-18
* Change Card, DefaultCard, Cards to Source, DefaultSource, Sources in Stripe response objects
* Support Update action for Bitcoin Receivers
## 4.4.3 - 2015-02-08
* Modify NewIdempotencyKey() algorithm to increase likelihood of randomness
## 4.4.2 - 2015-01-24
* Add BankAccountParams.Token
* Add LogLevel
* Add Token.ClientIP
## 4.4.1 - 2015-01-24
## 4.4.0 - 2015-01-21
* Add Bitcoin support
## 4.3.0 - 2015-01-13
This release changes the pinned API version to `2015-01-11`.
* Added support for listing FileUploads
* Mime parameter on FileUpload has been changed to Type
## 4.2.1 - 2014-12-27
* Handle charges with customer card tokens
## 4.2.0 - 2014-12-18
* Add idempotency support
## 4.1.0 - 2014-12-17
This release changes the pinned API version to `2014-12-17`.
* Bump to API version 2014-12-17.
## 4.0.0 - 2014-12-17
* Add FileUpload resource. This brings in a new endpoint (uploads.stripe.com) and thus makes changes to some of the existing interfaces.
* This also adds support for multipart content.
## 3.1.0 - 2014-12-17
* Add Charge.FraudDetails
## 3.0.1 - 2014-12-15
* Add timeout value to HTTP requests
## 3.0.0 - 2014-12-05
* Add Dispute.EvidenceDetails
* Change Dispute.Evidence from string to struct
* Remove Dispute.DueDate
## 2.0.0 - 2014-11-26
This release changes the pinned API version to `2014-11-20`.
* Better error messages for Get() methods
* Change List interface to .Next() and .Resource()
* EventData.Raw contains the raw event message
* SubParams.QuantityZero can be used for free subscriptions
## 1.0.3 - 2014-10-22
* Add AddMeta method
## 1.0.2 - 2014-09-23
* Minor fixes
## 1.0.1 - 2014-09-23
* Linter-based updates
## 1.0.0 - 2014-09-22
* Initial version