From f0f0b76ecf1d77196353020ff2a70cbe71c0d48a Mon Sep 17 00:00:00 2001 From: Ramya Rao Date: Tue, 29 Oct 2024 16:07:50 -0700 Subject: [PATCH] Bump version to 81.1.0-beta.1 --- CHANGELOG.md | 4035 +++++++++-------- VERSION | 2 +- account.go | 2 +- account/client.go | 4 +- account/client_test.go | 4 +- account_test.go | 2 +- accountlink/client.go | 2 +- accountlink/client_test.go | 4 +- accountnotice/client.go | 4 +- accountsession/client.go | 2 +- applepaydomain/client.go | 4 +- applepaydomain/client_test.go | 4 +- applicationfee/client.go | 4 +- applicationfee/client_test.go | 4 +- apps/secret/client.go | 4 +- balance/client.go | 2 +- balance/client_test.go | 2 +- balancetransaction/client.go | 4 +- balancetransaction/client_test.go | 4 +- bankaccount.go | 2 +- bankaccount/client.go | 4 +- bankaccount/client_test.go | 4 +- bankaccount_test.go | 2 +- billing/alert/client.go | 4 +- billing/creditbalancesummary/client.go | 2 +- billing/creditbalancetransaction/client.go | 4 +- billing/creditgrant/client.go | 4 +- billing/meter/client.go | 4 +- billing/meterevent/client.go | 2 +- billing/metereventadjustment/client.go | 2 +- billing/metereventsummary/client.go | 4 +- billingportal/configuration/client.go | 4 +- billingportal/configuration/client_test.go | 4 +- billingportal/session/client.go | 2 +- billingportal/session/client_test.go | 4 +- capability/client.go | 4 +- capability/client_test.go | 4 +- capital/financingoffer/client.go | 4 +- capital/financingsummary/client.go | 2 +- capital/financingtransaction/client.go | 4 +- card.go | 2 +- card/client.go | 4 +- card/client_test.go | 4 +- card_test.go | 2 +- cashbalance/client.go | 2 +- charge/client.go | 4 +- charge/client_test.go | 4 +- checkout/session/client.go | 4 +- checkout/session/client_test.go | 4 +- client/api.go | 310 +- climate/order/client.go | 4 +- climate/product/client.go | 4 +- climate/supplier/client.go | 4 +- confirmationtoken/client.go | 2 +- countryspec/client.go | 4 +- countryspec/client_test.go | 4 +- coupon/client.go | 4 +- coupon/client_test.go | 4 +- creditnote/client.go | 4 +- creditnote/client_test.go | 4 +- customer/client.go | 4 +- customer/client_test.go | 4 +- customerbalancetransaction/client.go | 4 +- customerbalancetransaction/client_test.go | 4 +- customercashbalancetransaction/client.go | 4 +- customersession/client.go | 2 +- dispute/client.go | 4 +- dispute/client_test.go | 4 +- entitlements/activeentitlement/client.go | 4 +- entitlements/feature/client.go | 4 +- ephemeralkey/client.go | 2 +- ephemeralkey/client_test.go | 4 +- event/client.go | 4 +- event/client_test.go | 4 +- example/deserialization_test.go | 2 +- example/generated_examples_test.go | 208 +- .../meter_event_stream/meter_event_stream.go | 4 +- .../thinevent_webhook_handler.go | 8 +- example_test.go | 10 +- feerefund/client.go | 4 +- feerefund/client_test.go | 4 +- file.go | 2 +- file/client.go | 4 +- file/client_test.go | 6 +- filelink.go | 2 +- filelink/client.go | 4 +- filelink/client_test.go | 4 +- filelink_test.go | 2 +- financialconnections/account/client.go | 4 +- .../accountinferredbalance/client.go | 4 +- financialconnections/institution/client.go | 4 +- financialconnections/session/client.go | 2 +- financialconnections/transaction/client.go | 4 +- forwarding/request/client.go | 4 +- giftcards/card/client.go | 4 +- giftcards/transaction/client.go | 4 +- go.mod | 2 +- identity/verificationreport/client.go | 4 +- identity/verificationreport/client_test.go | 4 +- identity/verificationsession/client.go | 4 +- identity/verificationsession/client_test.go | 4 +- invoice.go | 2 +- invoice/client.go | 4 +- invoice/client_test.go | 4 +- invoice_test.go | 2 +- invoiceitem/client.go | 4 +- invoiceitem/client_test.go | 4 +- invoicelineitem/client.go | 2 +- invoicepayment/client.go | 4 +- invoicerenderingtemplate/client.go | 4 +- issuing/authorization/client.go | 4 +- issuing/authorization/client_test.go | 4 +- issuing/card/client.go | 4 +- issuing/card/client_test.go | 4 +- issuing/cardholder/client.go | 4 +- issuing/cardholder/client_test.go | 4 +- issuing/creditunderwritingrecord/client.go | 4 +- issuing/dispute/client.go | 4 +- issuing/dispute/client_test.go | 4 +- issuing/disputesettlementdetail/client.go | 4 +- issuing/personalizationdesign/client.go | 4 +- issuing/physicalbundle/client.go | 4 +- issuing/token/client.go | 4 +- issuing/transaction/client.go | 4 +- issuing/transaction/client_test.go | 4 +- iter.go | 2 +- iter_test.go | 2 +- loginlink/client.go | 2 +- loginlink/client_test.go | 4 +- mandate/client.go | 2 +- mandate/client_test.go | 2 +- margin/client.go | 4 +- oauth/client.go | 4 +- oauth/client_test.go | 4 +- order/client.go | 4 +- params.go | 2 +- params_test.go | 6 +- paymentintent/client.go | 4 +- paymentintent/client_test.go | 4 +- paymentlink/client.go | 4 +- paymentmethod/client.go | 4 +- paymentmethod/client_test.go | 4 +- paymentmethodconfiguration/client.go | 4 +- paymentmethoddomain/client.go | 4 +- paymentsource.go | 2 +- paymentsource/client.go | 4 +- paymentsource/client_test.go | 4 +- paymentsource_test.go | 2 +- payout/client.go | 4 +- payout/client_test.go | 4 +- person/client.go | 4 +- person/client_test.go | 4 +- plan.go | 2 +- plan/client.go | 4 +- plan/client_test.go | 4 +- plan_test.go | 2 +- price.go | 2 +- price/client.go | 4 +- price/client_test.go | 4 +- price_test.go | 2 +- product.go | 2 +- product/client.go | 4 +- product/client_test.go | 4 +- productfeature/client.go | 4 +- promotioncode/client.go | 4 +- promotioncode/client_test.go | 4 +- quote.go | 2 +- quote/client.go | 4 +- quote/client_test.go | 4 +- quote_test.go | 2 +- quotepreviewinvoice/client.go | 4 +- quotepreviewsubscriptionschedule/client.go | 4 +- radar/earlyfraudwarning/client.go | 4 +- radar/earlyfraudwarning/client_test.go | 4 +- radar/valuelist/client.go | 4 +- radar/valuelist/client_test.go | 4 +- radar/valuelistitem/client.go | 4 +- radar/valuelistitem/client_test.go | 4 +- rawrequest/client.go | 2 +- rawrequest/client_test.go | 4 +- refund/client.go | 4 +- refund/client_test.go | 4 +- reporting/reportrun/client.go | 4 +- reporting/reportrun/client_test.go | 4 +- reporting/reporttype/client.go | 4 +- reporting/reporttype/client_test.go | 4 +- review/client.go | 4 +- review/client_test.go | 4 +- search_iter.go | 2 +- search_iter_test.go | 2 +- search_params_test.go | 6 +- setupattempt/client.go | 4 +- setupattempt/client_test.go | 4 +- setupintent/client.go | 4 +- setupintent/client_test.go | 4 +- shippingrate/client.go | 4 +- sigma/scheduledqueryrun/client.go | 4 +- sigma/scheduledqueryrun/client_test.go | 4 +- source/client.go | 2 +- source/client_test.go | 4 +- sourcetransaction/client.go | 4 +- sourcetransaction/client_test.go | 4 +- stripe.go | 4 +- sub_test.go | 2 +- subschedule_test.go | 2 +- subscription.go | 2 +- subscription/client.go | 4 +- subscription/client_test.go | 4 +- subscriptionitem/client.go | 4 +- subscriptionitem/client_test.go | 4 +- subscriptionschedule.go | 2 +- subscriptionschedule/client.go | 4 +- subscriptionschedule/client_test.go | 4 +- tax/association/client.go | 2 +- tax/calculation/client.go | 4 +- tax/form/client.go | 4 +- tax/registration/client.go | 4 +- tax/settings/client.go | 2 +- tax/transaction/client.go | 4 +- tax_registration.go | 2 +- taxcode/client.go | 4 +- taxcode/client_test.go | 4 +- taxid/client.go | 4 +- taxid/client_test.go | 4 +- taxrate/client.go | 4 +- taxrate/client_test.go | 4 +- terminal/configuration/client.go | 4 +- terminal/connectiontoken/client.go | 2 +- terminal/connectiontoken/client_test.go | 4 +- terminal/location/client.go | 4 +- terminal/location/client_test.go | 4 +- terminal/reader/client.go | 4 +- terminal/reader/client_test.go | 4 +- terminal/readercollecteddata/client.go | 2 +- testhelpers/confirmationtoken/client.go | 2 +- testhelpers/customer/client.go | 2 +- testhelpers/issuing/authorization/client.go | 2 +- testhelpers/issuing/card/client.go | 2 +- .../issuing/personalizationdesign/client.go | 2 +- testhelpers/issuing/transaction/client.go | 2 +- testhelpers/refund/client.go | 2 +- testhelpers/terminal/reader/client.go | 2 +- testhelpers/terminal/reader/client_test.go | 4 +- testhelpers/testclock/client.go | 4 +- .../treasury/inboundtransfer/client.go | 2 +- .../treasury/outboundpayment/client.go | 2 +- .../treasury/outboundtransfer/client.go | 2 +- testhelpers/treasury/receivedcredit/client.go | 2 +- testhelpers/treasury/receiveddebit/client.go | 2 +- testing/testing.go | 4 +- token/client.go | 2 +- token/client_test.go | 4 +- topup/client.go | 4 +- topup/client_test.go | 4 +- transfer/client.go | 4 +- transfer/client_test.go | 4 +- transferreversal/client.go | 4 +- transferreversal/client_test.go | 4 +- treasury/creditreversal/client.go | 4 +- treasury/debitreversal/client.go | 4 +- treasury/financialaccount/client.go | 4 +- treasury/inboundtransfer/client.go | 4 +- treasury/outboundpayment/client.go | 4 +- treasury/outboundtransfer/client.go | 4 +- treasury/receivedcredit/client.go | 4 +- treasury/receiveddebit/client.go | 4 +- treasury/transaction/client.go | 4 +- treasury/transactionentry/client.go | 4 +- usagerecord.go | 2 +- usagerecord/client.go | 2 +- usagerecord/client_test.go | 4 +- usagerecord_test.go | 2 +- usagerecordsummary/client.go | 4 +- usagerecordsummary/client_test.go | 4 +- webhook/client.go | 2 +- webhook/client_handler_test.go | 2 +- webhook/client_test.go | 2 +- webhookendpoint/client.go | 4 +- webhookendpoint/client_test.go | 4 +- 279 files changed, 2766 insertions(+), 2753 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f8e899b8f5..935901ed90 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## 81.1.0-beta.1 - 2024-10-29 +* [#1945](https://github.com/stripe/stripe-go/pull/1945) Update generated code for beta + * Add support for `TriggerAction` method on resource `PaymentIntent` + * Add support for `IDBankTransferPaymentsBca` and `IDBankTransferPayments` on `AccountCapabilitiesParams` and `AccountCapabilities` + * Add support for `BankBcaOnboarding` on `AccountSettingsParams` and `AccountSettings` + * Add support for `SendMoney` on `AccountSessionComponentsRecipientsFeaturesParams` + * Remove support for value `payout_statement_descriptor_profanity` from enums `InvoiceLastFinalizationErrorCode`, `PaymentIntentLastPaymentErrorCode`, `SetupAttemptSetupErrorCode`, `SetupIntentLastSetupErrorCode`, and `StripeErrorCode` + * Add support for `IDBankTransfer` on `ChargePaymentMethodDetails`, `ConfirmationTokenPaymentMethodDataParams`, `ConfirmationTokenPaymentMethodPreview`, `InvoicePaymentSettingsPaymentMethodOptionsParams`, `InvoicePaymentSettingsPaymentMethodOptions`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodConfigurationParams`, `PaymentMethodConfiguration`, `PaymentMethodParams`, `PaymentMethod`, `RefundDestinationDetails`, `SetupAttemptPaymentMethodDetails`, `SetupIntentConfirmPaymentMethodDataParams`, `SetupIntentPaymentMethodDataParams`, `SubscriptionPaymentSettingsPaymentMethodOptionsParams`, and `SubscriptionPaymentSettingsPaymentMethodOptions` + * Add support for `Gopay`, `Qris`, and `Shopeepay` on `PaymentMethodConfigurationParams` and `PaymentMethodConfiguration` +* [#1941](https://github.com/stripe/stripe-go/pull/1941) Do not allow setting API Version directly + * `stripe.APIVersion` is no longer settable. If you were using this to set the beta headers, use the helper method `stripe.AddBetaVersion()` instead. + + ## 81.0.0 - 2024-10-29 * [#1931](https://github.com/stripe/stripe-go/pull/1931) This release changes the pinned API version to `2024-10-28.acacia`. * Add support for new resource `V2.EventDestinations` @@ -81,9 +94,9 @@ ## 80.2.0-beta.1 - 2024-10-03 * [#1930](https://github.com/stripe/stripe-go/pull/1930) Updates beta branch with changes in master - * Add support for `ReportingChart` on `AccountSessionComponentsParams` - * Remove support for `FromSchedule` on `QuoteSubscriptionData` - * Add support for `AllowRedisplay` on `TerminalReaderCollectPaymentMethodCollectConfigParams` + * Add support for `ReportingChart` on `AccountSessionComponentsParams` + * Remove support for `FromSchedule` on `QuoteSubscriptionData` + * Add support for `AllowRedisplay` on `TerminalReaderCollectPaymentMethodCollectConfigParams` * Moved raw request functionality from `preview` package to `rawrequest` package, and removed `preview` ## 80.1.0 - 2024-10-03 @@ -195,10 +208,10 @@ ## 79.8.0-beta.1 - 2024-08-12 * [#1900](https://github.com/stripe/stripe-go/pull/1900) Update generated code for beta - * Add support for `CapitalFinancingApplication` and `CapitalFinancing` on `AccountSessionComponents` - * Add support for `Payto` on `CheckoutSessionPaymentMethodOptionsParams` and `CheckoutSessionPaymentMethodOptions` - * Add support for new value `custom` on enum `CheckoutSessionUiMode` - * ⚠️ Remove support for `RiskCorrelationID` on `PaymentIntentConfirmPaymentMethodOptionsRechnungParams`, `PaymentIntentPaymentMethodOptionsRechnungParams`, and `PaymentIntentPaymentMethodOptionsRechnung` + * Add support for `CapitalFinancingApplication` and `CapitalFinancing` on `AccountSessionComponents` + * Add support for `Payto` on `CheckoutSessionPaymentMethodOptionsParams` and `CheckoutSessionPaymentMethodOptions` + * Add support for new value `custom` on enum `CheckoutSessionUiMode` + * ⚠️ Remove support for `RiskCorrelationID` on `PaymentIntentConfirmPaymentMethodOptionsRechnungParams`, `PaymentIntentPaymentMethodOptionsRechnungParams`, and `PaymentIntentPaymentMethodOptionsRechnung` * Add support for new value `payto` on enum `PaymentLinkPaymentMethodTypes` ## 79.7.0 - 2024-08-08 @@ -251,76 +264,76 @@ * Add support for `TWINT` on `PaymentMethodConfigurationParams` and `PaymentMethodConfiguration` ## 79.6.0-beta.1 - 2024-07-25 -* [#1889](https://github.com/stripe/stripe-go/pull/1889) Update generated code for beta - * Add support for new resource `Tax.Association` - * Add support for `Find` method on resource `Association` - * Add support for `Capital` on `AccountSettingsParams` and `AccountSettings` - * Add support for `AsyncWorkflows` on `PaymentIntentCaptureParams`, `PaymentIntentConfirmParams`, `PaymentIntentDecrementAuthorizationParams`, `PaymentIntentIncrementAuthorizationParams`, `PaymentIntentParams`, and `PaymentIntent` +* [#1889](https://github.com/stripe/stripe-go/pull/1889) Update generated code for beta + * Add support for new resource `Tax.Association` + * Add support for `Find` method on resource `Association` + * Add support for `Capital` on `AccountSettingsParams` and `AccountSettings` + * Add support for `AsyncWorkflows` on `PaymentIntentCaptureParams`, `PaymentIntentConfirmParams`, `PaymentIntentDecrementAuthorizationParams`, `PaymentIntentIncrementAuthorizationParams`, `PaymentIntentParams`, and `PaymentIntent` * Add support for `Payto` on `PaymentMethodConfigurationParams` and `PaymentMethodConfiguration` ## 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` +* [#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 -* [#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` +* [#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` * [#1888](https://github.com/stripe/stripe-go/pull/1888) Update changelog ## 79.4.0-beta.1 - 2024-07-11 -* [#1885](https://github.com/stripe/stripe-go/pull/1885) Update generated code for beta +* [#1885](https://github.com/stripe/stripe-go/pull/1885) Update generated code for beta * Add support for new value `not_qualified` on enum `DisputeEvidenceDetailsEnhancedEligibilityVisaCompellingEvidence3Status` ## 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` +* [#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.3.0-beta.1 - 2024-07-05 -* [#1882](https://github.com/stripe/stripe-go/pull/1882) Update generated code for beta - * ⚠️ Remove support for `PaymentMethodUpdate` on `CustomerSessionComponentsPaymentElementFeaturesParams` and `CustomerSessionComponentsPaymentElementFeatures`. Users are expected to completely migrate from using `payment_method_update`. - * Add support for new resource `FinancialConnections.Institution` - * Add support for `Get` and `List` methods on resource `Institution` - * Add support for `Institution` on `CheckoutSessionPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters`, `FinancialConnectionsSessionFiltersParams`, `FinancialConnectionsSessionFilters`, `InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersParams`, `InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters`, `PaymentIntentConfirmPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersParams`, `PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersParams`, `PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters`, `SetupIntentConfirmPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersParams`, `SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersParams`, `SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters`, `SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersParams`, and `SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters` - * Add support for `PaymentMethodAllowRedisplayFilters`, `PaymentMethodRedisplayLimit`, `PaymentMethodRedisplay`, and `PaymentMethodSaveUsage` on `CustomerSessionComponentsPaymentElementFeaturesParams` and `CustomerSessionComponentsPaymentElementFeatures` +* [#1882](https://github.com/stripe/stripe-go/pull/1882) Update generated code for beta + * ⚠️ Remove support for `PaymentMethodUpdate` on `CustomerSessionComponentsPaymentElementFeaturesParams` and `CustomerSessionComponentsPaymentElementFeatures`. Users are expected to completely migrate from using `payment_method_update`. + * Add support for new resource `FinancialConnections.Institution` + * Add support for `Get` and `List` methods on resource `Institution` + * Add support for `Institution` on `CheckoutSessionPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters`, `FinancialConnectionsSessionFiltersParams`, `FinancialConnectionsSessionFilters`, `InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersParams`, `InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters`, `PaymentIntentConfirmPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersParams`, `PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersParams`, `PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters`, `SetupIntentConfirmPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersParams`, `SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersParams`, `SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters`, `SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersParams`, and `SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters` + * Add support for `PaymentMethodAllowRedisplayFilters`, `PaymentMethodRedisplayLimit`, `PaymentMethodRedisplay`, and `PaymentMethodSaveUsage` on `CustomerSessionComponentsPaymentElementFeaturesParams` and `CustomerSessionComponentsPaymentElementFeatures` * Add support for new value `balance` on enum `FinancialConnectionsAccountSubscriptions` ## 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` +* [#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.2.0-beta.1 - 2024-06-27 -* [#1877](https://github.com/stripe/stripe-go/pull/1877) Update generated code for beta - * Remove support for `PaymentMethodSetAsDefault` on `CustomerSessionComponentsPaymentElementFeaturesParams` and `CustomerSessionComponentsPaymentElementFeatures` +* [#1877](https://github.com/stripe/stripe-go/pull/1877) Update generated code for beta + * Remove support for `PaymentMethodSetAsDefault` on `CustomerSessionComponentsPaymentElementFeaturesParams` and `CustomerSessionComponentsPaymentElementFeatures` * Add support for new value `ch_uid` on enum `OrderTaxDetailsTaxIdsType` ## 79.1.0 - 2024-06-27 -* [#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` -* [#1880](https://github.com/stripe/stripe-go/pull/1880) Add object param to list method for BankAccount/Card +* [#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` +* [#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` ## 79.0.0 - 2024-06-24 @@ -343,2477 +356,2477 @@ * 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` +* [#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.12.0-beta.1 - 2024-06-13 -* [#1872](https://github.com/stripe/stripe-go/pull/1872) Update generated code for beta +* [#1872](https://github.com/stripe/stripe-go/pull/1872) Update generated code for beta * Add support for new value `de_stn` on enum `OrderTaxDetailsTaxIdsType` ## 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` +* [#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.11.0-beta.1 - 2024-06-06 -* [#1869](https://github.com/stripe/stripe-go/pull/1869) Update generated code for beta +* [#1869](https://github.com/stripe/stripe-go/pull/1869) Update generated code for beta * Add support for `TWINT` on `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptionsParams`, and `PaymentIntentPaymentMethodOptions` ## 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` +* [#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.10.0-beta.1 - 2024-05-30 -* [#1867](https://github.com/stripe/stripe-go/pull/1867) Update generated code for beta +* [#1867](https://github.com/stripe/stripe-go/pull/1867) Update generated code for beta * Keeping up with the changes from version 78.9.0 ## 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` +* [#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.9.0-beta.1 - 2024-05-23 * [#1865](https://github.com/stripe/stripe-go/pull/1865) Update generated code for beta ## 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` +* [#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.8.0-beta.1 - 2024-05-16 * [#1861](https://github.com/stripe/stripe-go/pull/1861) Update generated code for beta ## 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` +* [#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.7.0-beta.1 - 2024-05-09 -* [#1857](https://github.com/stripe/stripe-go/pull/1857) Update generated code for beta +* [#1857](https://github.com/stripe/stripe-go/pull/1857) Update generated code for beta * No new beta features. Merging changes from the main branch. ## 78.6.0 - 2024-05-09 -* [#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` +* [#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` * [#1859](https://github.com/stripe/stripe-go/pull/1859) Update method descriptions to reflect OpenAPI ## 78.6.0-beta.1 - 2024-05-02 -* [#1854](https://github.com/stripe/stripe-go/pull/1854) Update generated code for beta - * Add support for `RechnungPayments` on `AccountCapabilitiesParams` and `AccountCapabilities` - * Add support for `Rechnung` on `ChargePaymentMethodDetails`, `ConfirmationTokenPaymentMethodDataParams`, `ConfirmationTokenPaymentMethodPreview`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams` - * Add support for `Multibanco` on `CheckoutSessionPaymentMethodOptionsParams` and `CheckoutSessionPaymentMethodOptions` +* [#1854](https://github.com/stripe/stripe-go/pull/1854) Update generated code for beta + * Add support for `RechnungPayments` on `AccountCapabilitiesParams` and `AccountCapabilities` + * Add support for `Rechnung` on `ChargePaymentMethodDetails`, `ConfirmationTokenPaymentMethodDataParams`, `ConfirmationTokenPaymentMethodPreview`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams` + * Add support for `Multibanco` on `CheckoutSessionPaymentMethodOptionsParams` and `CheckoutSessionPaymentMethodOptions` * Add support for new value `rechnung` on enums `ConfirmationTokenPaymentMethodPreviewType` and `PaymentMethodType` ## 78.5.0 - 2024-05-02 -* [#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` -* [#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). +* [#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` +* [#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. ## 78.5.0-beta.1 - 2024-04-25 -* [#1850](https://github.com/stripe/stripe-go/pull/1850) Update generated code for beta - * Add support for `PaymentMethodSettings` on `AccountSessionComponentsParams` +* [#1850](https://github.com/stripe/stripe-go/pull/1850) Update generated code for beta + * Add support for `PaymentMethodSettings` on `AccountSessionComponentsParams` * Add support for `CancelSubscriptionSchedule` on `QuoteLine` and `QuoteLinesParams` ## 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` +* [#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.4.0-beta.1 - 2024-04-18 -* [#1848](https://github.com/stripe/stripe-go/pull/1848) Update generated code for beta - * Add support for `CapitalOverview`, `TaxRegistrations`, and `TaxSettings` on `AccountSessionComponentsParams` - * Add support for `ExternalAccountCollection` on `AccountSessionComponentsFinancialAccountFeaturesParams` +* [#1848](https://github.com/stripe/stripe-go/pull/1848) Update generated code for beta + * Add support for `CapitalOverview`, `TaxRegistrations`, and `TaxSettings` on `AccountSessionComponentsParams` + * Add support for `ExternalAccountCollection` on `AccountSessionComponentsFinancialAccountFeaturesParams` * Add support for `SubscriptionTrialFromPlan` on `InvoiceUpcomingLinesParams` and `InvoiceUpcomingParams` ## 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` +* [#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` +* [#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.2.0-beta.1 - 2024-04-11 -* [#1843](https://github.com/stripe/stripe-go/pull/1843) Update generated code for beta - * Add support for `Get` method on resources `Entitlements.ActiveEntitlement` and `Entitlements.Feature` - * Add support for `Fees`, `Losses`, `RequirementCollection`, and `StripeDashboard` on `AccountControllerParams` - * Add support for new values `bh_vat`, `kz_bin`, `ng_tin`, and `om_vat` on enum `OrderTaxDetailsTaxIdsType` - * Add support for `HostedVoucherURL` on `PaymentIntentNextActionMultibancoDisplayDetails` - * Add support for `Toggles` on `TerminalReaderActionCollectInputsInputs` and `TerminalReaderCollectInputsInputsParams` +* [#1843](https://github.com/stripe/stripe-go/pull/1843) Update generated code for beta + * Add support for `Get` method on resources `Entitlements.ActiveEntitlement` and `Entitlements.Feature` + * Add support for `Fees`, `Losses`, `RequirementCollection`, and `StripeDashboard` on `AccountControllerParams` + * Add support for new values `bh_vat`, `kz_bin`, `ng_tin`, and `om_vat` on enum `OrderTaxDetailsTaxIdsType` + * Add support for `HostedVoucherURL` on `PaymentIntentNextActionMultibancoDisplayDetails` + * Add support for `Toggles` on `TerminalReaderActionCollectInputsInputs` and `TerminalReaderCollectInputsInputsParams` * Add support for `Email`, `Numeric`, `Phone`, and `Text` on `TerminalReaderActionCollectInputsInputs` ## 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` +* [#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 -* [#1841](https://github.com/stripe/stripe-go/pull/1841) - - * This release changes the pinned API version to `2024-04-10`. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#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` +* [#1841](https://github.com/stripe/stripe-go/pull/1841) + + * This release changes the pinned API version to `2024-04-10`. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#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` +* [#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.25.0-beta.1 - 2024-04-04 -* [#1839](https://github.com/stripe/stripe-go/pull/1839) Update generated code for beta - * Add support for `Update` method on resource `Entitlements.Feature` - * Add support for `RiskControls` on `AccountParams` and `Account` +* [#1839](https://github.com/stripe/stripe-go/pull/1839) Update generated code for beta + * Add support for `Update` method on resource `Entitlements.Feature` + * Add support for `RiskControls` on `AccountParams` and `Account` * Add support for `PromotionCode` on `InvoiceAddLinesLinesDiscountsParams`, `InvoiceUpdateLinesLinesDiscountsParams`, `QuoteLineItemsDiscountsParams`, `QuoteLinesActionsAddDiscountParams`, and `QuotePhasesLineItemsDiscountsParams` ## 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` +* [#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.24.0-beta.1 - 2024-03-28 -* [#1831](https://github.com/stripe/stripe-go/pull/1831) Update generated code for beta - * Add support for `FinancialAccountTransactions`, `FinancialAccount`, `IssuingCard`, and `IssuingCardsList` on `AccountSessionComponentsParams` +* [#1831](https://github.com/stripe/stripe-go/pull/1831) Update generated code for beta + * Add support for `FinancialAccountTransactions`, `FinancialAccount`, `IssuingCard`, and `IssuingCardsList` on `AccountSessionComponentsParams` * Remove support for `SubscriptionBillingCycleAnchor`, `SubscriptionCancelAtPeriodEnd`, `SubscriptionCancelAt`, `SubscriptionCancelNow`, `SubscriptionDefaultTaxRates`, `SubscriptionItems`, `SubscriptionPrebilling`, `SubscriptionProrationBehavior`, `SubscriptionProrationDate`, `SubscriptionResumeAt`, `SubscriptionStartDate`, and `SubscriptionTrialEnd` on `InvoiceCreatePreviewParams` ## 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` +* [#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.23.0-beta.1 - 2024-03-21 -* [#1827](https://github.com/stripe/stripe-go/pull/1827) Update generated code for beta - * Add support for new resources `Entitlements.ActiveEntitlementSummary` and `Entitlements.ActiveEntitlement` - * Add support for `List` method on resource `ActiveEntitlement` - * Add support for `Mobilepay` on `ConfirmationTokenPaymentMethodDataParams` and `ConfirmationTokenPaymentMethodPreview` - * Add support for `UseStripeSDK` on `ConfirmationToken` - * Remove support for `PaymentMethod` on `ConfirmationToken` - * Change type of `ConfirmationTokenMandateData` from `ConfirmationTokensResourceMandateData` to `nullable(ConfirmationTokensResourceMandateData)` - * Add support for new value `mobilepay` on enum `ConfirmationTokenPaymentMethodPreviewType` - * Add support for `Metadata` on `EntitlementsFeatureParams` and `EntitlementsFeature` - * Add support for `Active` on `EntitlementsFeature` - * Add support for new value `entitlements.active_entitlement_summary.updated` on enum `EventType` +* [#1827](https://github.com/stripe/stripe-go/pull/1827) Update generated code for beta + * Add support for new resources `Entitlements.ActiveEntitlementSummary` and `Entitlements.ActiveEntitlement` + * Add support for `List` method on resource `ActiveEntitlement` + * Add support for `Mobilepay` on `ConfirmationTokenPaymentMethodDataParams` and `ConfirmationTokenPaymentMethodPreview` + * Add support for `UseStripeSDK` on `ConfirmationToken` + * Remove support for `PaymentMethod` on `ConfirmationToken` + * Change type of `ConfirmationTokenMandateData` from `ConfirmationTokensResourceMandateData` to `nullable(ConfirmationTokensResourceMandateData)` + * Add support for new value `mobilepay` on enum `ConfirmationTokenPaymentMethodPreviewType` + * Add support for `Metadata` on `EntitlementsFeatureParams` and `EntitlementsFeature` + * Add support for `Active` on `EntitlementsFeature` + * Add support for new value `entitlements.active_entitlement_summary.updated` on enum `EventType` * Remove support for value `customer.entitlement_summary.updated` from enum `EventType` ## 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` +* [#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.22.0-beta.1 - 2024-03-14 -* [#1825](https://github.com/stripe/stripe-go/pull/1825) Update generated code for beta - * 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 `New` test helper method on resource `ConfirmationToken` - * Add support for `AddLines`, `RemoveLines`, and `UpdateLines` methods on resource `Invoice` - * Add support for `Multibanco` on `ConfirmationTokenPaymentMethodPreview`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodConfigurationParams`, `PaymentMethodConfiguration`, `PaymentMethodParams`, `PaymentMethod`, `RefundDestinationDetails`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams` - * Add support for new value `multibanco` on enums `ConfirmationTokenPaymentMethodPreviewType` and `PaymentMethodType` - * Add support for `SecondLine` on `IssuingPhysicalBundleFeatures` - * Add support for `MultibancoDisplayDetails` on `PaymentIntentNextAction` +* [#1825](https://github.com/stripe/stripe-go/pull/1825) Update generated code for beta + * 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 `New` test helper method on resource `ConfirmationToken` + * Add support for `AddLines`, `RemoveLines`, and `UpdateLines` methods on resource `Invoice` + * Add support for `Multibanco` on `ConfirmationTokenPaymentMethodPreview`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodConfigurationParams`, `PaymentMethodConfiguration`, `PaymentMethodParams`, `PaymentMethod`, `RefundDestinationDetails`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams` + * Add support for new value `multibanco` on enums `ConfirmationTokenPaymentMethodPreviewType` and `PaymentMethodType` + * Add support for `SecondLine` on `IssuingPhysicalBundleFeatures` + * Add support for `MultibancoDisplayDetails` on `PaymentIntentNextAction` * Add support for `Meter` on `PlanParams`, `Plan`, `PriceListRecurringParams`, `PriceRecurringParams`, and `PriceRecurring` ## 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)` +* [#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.21.0-beta.1 - 2024-03-07 -* [#1822](https://github.com/stripe/stripe-go/pull/1822) Update generated code for beta +* [#1822](https://github.com/stripe/stripe-go/pull/1822) Update generated code for beta * Add support for new value `billing_period_end` on enum `QuoteLineEndsAtType` ## 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` +* [#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.20.0-beta.1 - 2024-02-29 -* [#1816](https://github.com/stripe/stripe-go/pull/1816) Update generated code for beta - * Remove support for resource `Entitlements.Event` - * Change type of `ConfirmationTokenMandateData` from `nullable(ConfirmationTokensResourceMandateData)` to `ConfirmationTokensResourceMandateData` - * Remove support for `Quantity` and `Type` on `EntitlementsFeatureParams` and `EntitlementsFeature` - * Add support for `Livemode` on `IssuingPersonalizationDesign` - * Add support for `ApplicationFeeAmount`, `Description`, `Metadata`, and `TransferData` on `PaymentIntentDecrementAuthorizationParams` - * Add support for `EnableCustomerCancellation` on `TerminalReaderActionCollectPaymentMethodCollectConfig` and `TerminalReaderCollectPaymentMethodCollectConfigParams` +* [#1816](https://github.com/stripe/stripe-go/pull/1816) Update generated code for beta + * Remove support for resource `Entitlements.Event` + * Change type of `ConfirmationTokenMandateData` from `nullable(ConfirmationTokensResourceMandateData)` to `ConfirmationTokensResourceMandateData` + * Remove support for `Quantity` and `Type` on `EntitlementsFeatureParams` and `EntitlementsFeature` + * Add support for `Livemode` on `IssuingPersonalizationDesign` + * Add support for `ApplicationFeeAmount`, `Description`, `Metadata`, and `TransferData` on `PaymentIntentDecrementAuthorizationParams` + * Add support for `EnableCustomerCancellation` on `TerminalReaderActionCollectPaymentMethodCollectConfig` and `TerminalReaderCollectPaymentMethodCollectConfigParams` * [#1819](https://github.com/stripe/stripe-go/pull/1819) Add helper to set beta version ## 76.19.0 - 2024-02-29 -* [#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` -* [#1820](https://github.com/stripe/stripe-go/pull/1820) Update README to use AddBetaVersion +* [#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` +* [#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 ## 76.19.0-beta.1 - 2024-02-22 * [#1815](https://github.com/stripe/stripe-go/pull/1815) Update generated code for beta ## 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` +* [#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.18.0-beta.1 - 2024-02-16 -* [#1813](https://github.com/stripe/stripe-go/pull/1813) Update generated code for beta - * Add support for `DecrementAuthorization` method on resource `PaymentIntent` - * Add support for `PaytoPayments` and `TWINTPayments` on `AccountCapabilitiesParams` and `AccountCapabilities` - * Add support for `Payto` on `ChargePaymentMethodDetails`, `ConfirmationTokenPaymentMethodPreview`, `MandatePaymentMethodDetails`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SetupAttemptPaymentMethodDetails`, `SetupIntentConfirmPaymentMethodDataParams`, `SetupIntentConfirmPaymentMethodOptionsParams`, `SetupIntentPaymentMethodDataParams`, `SetupIntentPaymentMethodOptionsParams`, and `SetupIntentPaymentMethodOptions` - * Add support for `TWINT` on `ChargePaymentMethodDetails`, `ConfirmationTokenPaymentMethodPreview`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentMethodParams`, `PaymentMethod`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams` - * Add support for `DecrementalAuthorization` on `ChargePaymentMethodDetailsCard` - * Add support for `DisplayBrand` on `ConfirmationTokenPaymentMethodPreviewCard` - * Add support for new values `payto` and `twint` on enums `ConfirmationTokenPaymentMethodPreviewType` and `PaymentMethodType` - * Add support for new value `no_voec` on enum `OrderTaxDetailsTaxIdsType` +* [#1813](https://github.com/stripe/stripe-go/pull/1813) Update generated code for beta + * Add support for `DecrementAuthorization` method on resource `PaymentIntent` + * Add support for `PaytoPayments` and `TWINTPayments` on `AccountCapabilitiesParams` and `AccountCapabilities` + * Add support for `Payto` on `ChargePaymentMethodDetails`, `ConfirmationTokenPaymentMethodPreview`, `MandatePaymentMethodDetails`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SetupAttemptPaymentMethodDetails`, `SetupIntentConfirmPaymentMethodDataParams`, `SetupIntentConfirmPaymentMethodOptionsParams`, `SetupIntentPaymentMethodDataParams`, `SetupIntentPaymentMethodOptionsParams`, and `SetupIntentPaymentMethodOptions` + * Add support for `TWINT` on `ChargePaymentMethodDetails`, `ConfirmationTokenPaymentMethodPreview`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentMethodParams`, `PaymentMethod`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams` + * Add support for `DecrementalAuthorization` on `ChargePaymentMethodDetailsCard` + * Add support for `DisplayBrand` on `ConfirmationTokenPaymentMethodPreviewCard` + * Add support for new values `payto` and `twint` on enums `ConfirmationTokenPaymentMethodPreviewType` and `PaymentMethodType` + * Add support for new value `no_voec` on enum `OrderTaxDetailsTaxIdsType` * Add support for `RequestDecrementalAuthorization` on `PaymentIntentConfirmPaymentMethodOptionsCardParams`, `PaymentIntentPaymentMethodOptionsCardParams`, and `PaymentIntentPaymentMethodOptionsCard` ## 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` +* [#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.17.0-beta.1 - 2024-02-08 -* [#1810](https://github.com/stripe/stripe-go/pull/1810) Update generated code for beta - * Add support for `PaymentMethodOptions` on `ConfirmationToken` +* [#1810](https://github.com/stripe/stripe-go/pull/1810) Update generated code for beta + * Add support for `PaymentMethodOptions` on `ConfirmationToken` * Add support for new value `velobank` on enum `ConfirmationTokenPaymentMethodPreviewP24Bank` ## 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` +* [#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.16.0-beta.1 - 2024-02-01 -* [#1806](https://github.com/stripe/stripe-go/pull/1806) Update generated code for beta - * Add support for new resources `Entitlements.Event` and `Entitlements.Feature` - * Add support for `New` method on resource `Event` - * Add support for `List` and `New` methods on resource `Feature` - * Add support for `Swish` on `ConfirmationTokenPaymentMethodPreview` - * Add support for new value `swish` on enum `ConfirmationTokenPaymentMethodPreviewType` - * Add support for new value `customer.entitlement_summary.updated` on enum `EventType` - * Add support for `AccountTaxIDs` on `InvoiceCreatePreviewScheduleDetailsPhasesInvoiceSettingsParams`, `InvoiceUpcomingLinesScheduleDetailsPhasesInvoiceSettingsParams`, and `InvoiceUpcomingScheduleDetailsPhasesInvoiceSettingsParams` +* [#1806](https://github.com/stripe/stripe-go/pull/1806) Update generated code for beta + * Add support for new resources `Entitlements.Event` and `Entitlements.Feature` + * Add support for `New` method on resource `Event` + * Add support for `List` and `New` methods on resource `Feature` + * Add support for `Swish` on `ConfirmationTokenPaymentMethodPreview` + * Add support for new value `swish` on enum `ConfirmationTokenPaymentMethodPreviewType` + * Add support for new value `customer.entitlement_summary.updated` on enum `EventType` + * Add support for `AccountTaxIDs` on `InvoiceCreatePreviewScheduleDetailsPhasesInvoiceSettingsParams`, `InvoiceUpcomingLinesScheduleDetailsPhasesInvoiceSettingsParams`, and `InvoiceUpcomingScheduleDetailsPhasesInvoiceSettingsParams` * Add support for `Feature` on `ProductFeaturesParams` and `ProductFeatures` ## 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` + 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.15.0-beta.1 - 2024-01-25 -* [#1802](https://github.com/stripe/stripe-go/pull/1802) Update generated code for beta - * Add support for `CreatePreview` method on resource `Invoice` - * Add support for `ChargedOffAt` on `CapitalFinancingOffer` - * Add support for new values `disabled` and `enabled` on enums `CustomerSessionComponentsPaymentElementFeaturesPaymentMethodRemove`, `CustomerSessionComponentsPaymentElementFeaturesPaymentMethodSave`, `CustomerSessionComponentsPaymentElementFeaturesPaymentMethodSetAsDefault`, and `CustomerSessionComponentsPaymentElementFeaturesPaymentMethodUpdate` - * Remove support for values `auto` and `never` from enums `CustomerSessionComponentsPaymentElementFeaturesPaymentMethodRemove`, `CustomerSessionComponentsPaymentElementFeaturesPaymentMethodSave`, `CustomerSessionComponentsPaymentElementFeaturesPaymentMethodSetAsDefault`, and `CustomerSessionComponentsPaymentElementFeaturesPaymentMethodUpdate` - * Add support for `EnhancedEvidence` on `DisputeEvidenceParams` and `DisputeEvidence` - * Add support for `EnhancedEligibilityTypes` on `Dispute` - * Add support for `EnhancedEligibility` on `DisputeEvidenceDetails` - * Add support for `PromotionCode` on `InvoiceUpcomingLinesScheduleDetailsAmendmentsDiscountActionsAddParams`, `InvoiceUpcomingLinesScheduleDetailsAmendmentsDiscountActionsRemoveParams`, `InvoiceUpcomingLinesScheduleDetailsAmendmentsDiscountActionsSetParams`, `InvoiceUpcomingLinesScheduleDetailsAmendmentsItemActionsAddDiscountsParams`, `InvoiceUpcomingLinesScheduleDetailsAmendmentsItemActionsSetDiscountsParams`, `InvoiceUpcomingLinesScheduleDetailsPhasesAddInvoiceItemsDiscountsParams`, `InvoiceUpcomingLinesScheduleDetailsPhasesDiscountsParams`, `InvoiceUpcomingLinesScheduleDetailsPhasesItemsDiscountsParams`, `InvoiceUpcomingLinesSubscriptionDetailsItemsDiscountsParams`, `InvoiceUpcomingLinesSubscriptionItemsDiscountsParams`, `InvoiceUpcomingScheduleDetailsAmendmentsDiscountActionsAddParams`, `InvoiceUpcomingScheduleDetailsAmendmentsDiscountActionsRemoveParams`, `InvoiceUpcomingScheduleDetailsAmendmentsDiscountActionsSetParams`, `InvoiceUpcomingScheduleDetailsAmendmentsItemActionsAddDiscountsParams`, `InvoiceUpcomingScheduleDetailsAmendmentsItemActionsSetDiscountsParams`, `InvoiceUpcomingScheduleDetailsPhasesAddInvoiceItemsDiscountsParams`, `InvoiceUpcomingScheduleDetailsPhasesDiscountsParams`, `InvoiceUpcomingScheduleDetailsPhasesItemsDiscountsParams`, `InvoiceUpcomingSubscriptionDetailsItemsDiscountsParams`, `InvoiceUpcomingSubscriptionItemsDiscountsParams`, `QuoteLineActionsAddDiscount`, `QuoteLineActionsAddItemDiscounts`, `QuoteLineActionsRemoveDiscount`, `QuoteLineActionsSetDiscounts`, `QuoteLineActionsSetItemsDiscounts`, `QuoteLinesActionsAddItemDiscountsParams`, `QuoteLinesActionsRemoveDiscountParams`, `QuoteLinesActionsSetDiscountsParams`, `QuoteLinesActionsSetItemsDiscountsParams`, `QuotePhasesDiscountsParams`, `SubscriptionAddInvoiceItemsDiscountsParams`, `SubscriptionDiscountsParams`, `SubscriptionItemDiscountsParams`, `SubscriptionItemsDiscountsParams`, `SubscriptionScheduleAmendAmendmentsDiscountActionsAddParams`, `SubscriptionScheduleAmendAmendmentsDiscountActionsRemoveParams`, `SubscriptionScheduleAmendAmendmentsDiscountActionsSetParams`, `SubscriptionScheduleAmendAmendmentsItemActionsAddDiscountsParams`, `SubscriptionScheduleAmendAmendmentsItemActionsSetDiscountsParams`, `SubscriptionSchedulePhasesAddInvoiceItemsDiscountsParams`, `SubscriptionSchedulePhasesAddInvoiceItemsDiscounts`, `SubscriptionSchedulePhasesDiscountsParams`, `SubscriptionSchedulePhasesDiscounts`, `SubscriptionSchedulePhasesItemsDiscountsParams`, and `SubscriptionSchedulePhasesItemsDiscounts` -* [#1801](https://github.com/stripe/stripe-go/pull/1801) Update generated code for beta - Release specs are identical. -* [#1799](https://github.com/stripe/stripe-go/pull/1799) Update generated code for beta - * Add support for new value `nn` on enum `ConfirmationTokenPaymentMethodPreviewIdealBank` +* [#1802](https://github.com/stripe/stripe-go/pull/1802) Update generated code for beta + * Add support for `CreatePreview` method on resource `Invoice` + * Add support for `ChargedOffAt` on `CapitalFinancingOffer` + * Add support for new values `disabled` and `enabled` on enums `CustomerSessionComponentsPaymentElementFeaturesPaymentMethodRemove`, `CustomerSessionComponentsPaymentElementFeaturesPaymentMethodSave`, `CustomerSessionComponentsPaymentElementFeaturesPaymentMethodSetAsDefault`, and `CustomerSessionComponentsPaymentElementFeaturesPaymentMethodUpdate` + * Remove support for values `auto` and `never` from enums `CustomerSessionComponentsPaymentElementFeaturesPaymentMethodRemove`, `CustomerSessionComponentsPaymentElementFeaturesPaymentMethodSave`, `CustomerSessionComponentsPaymentElementFeaturesPaymentMethodSetAsDefault`, and `CustomerSessionComponentsPaymentElementFeaturesPaymentMethodUpdate` + * Add support for `EnhancedEvidence` on `DisputeEvidenceParams` and `DisputeEvidence` + * Add support for `EnhancedEligibilityTypes` on `Dispute` + * Add support for `EnhancedEligibility` on `DisputeEvidenceDetails` + * Add support for `PromotionCode` on `InvoiceUpcomingLinesScheduleDetailsAmendmentsDiscountActionsAddParams`, `InvoiceUpcomingLinesScheduleDetailsAmendmentsDiscountActionsRemoveParams`, `InvoiceUpcomingLinesScheduleDetailsAmendmentsDiscountActionsSetParams`, `InvoiceUpcomingLinesScheduleDetailsAmendmentsItemActionsAddDiscountsParams`, `InvoiceUpcomingLinesScheduleDetailsAmendmentsItemActionsSetDiscountsParams`, `InvoiceUpcomingLinesScheduleDetailsPhasesAddInvoiceItemsDiscountsParams`, `InvoiceUpcomingLinesScheduleDetailsPhasesDiscountsParams`, `InvoiceUpcomingLinesScheduleDetailsPhasesItemsDiscountsParams`, `InvoiceUpcomingLinesSubscriptionDetailsItemsDiscountsParams`, `InvoiceUpcomingLinesSubscriptionItemsDiscountsParams`, `InvoiceUpcomingScheduleDetailsAmendmentsDiscountActionsAddParams`, `InvoiceUpcomingScheduleDetailsAmendmentsDiscountActionsRemoveParams`, `InvoiceUpcomingScheduleDetailsAmendmentsDiscountActionsSetParams`, `InvoiceUpcomingScheduleDetailsAmendmentsItemActionsAddDiscountsParams`, `InvoiceUpcomingScheduleDetailsAmendmentsItemActionsSetDiscountsParams`, `InvoiceUpcomingScheduleDetailsPhasesAddInvoiceItemsDiscountsParams`, `InvoiceUpcomingScheduleDetailsPhasesDiscountsParams`, `InvoiceUpcomingScheduleDetailsPhasesItemsDiscountsParams`, `InvoiceUpcomingSubscriptionDetailsItemsDiscountsParams`, `InvoiceUpcomingSubscriptionItemsDiscountsParams`, `QuoteLineActionsAddDiscount`, `QuoteLineActionsAddItemDiscounts`, `QuoteLineActionsRemoveDiscount`, `QuoteLineActionsSetDiscounts`, `QuoteLineActionsSetItemsDiscounts`, `QuoteLinesActionsAddItemDiscountsParams`, `QuoteLinesActionsRemoveDiscountParams`, `QuoteLinesActionsSetDiscountsParams`, `QuoteLinesActionsSetItemsDiscountsParams`, `QuotePhasesDiscountsParams`, `SubscriptionAddInvoiceItemsDiscountsParams`, `SubscriptionDiscountsParams`, `SubscriptionItemDiscountsParams`, `SubscriptionItemsDiscountsParams`, `SubscriptionScheduleAmendAmendmentsDiscountActionsAddParams`, `SubscriptionScheduleAmendAmendmentsDiscountActionsRemoveParams`, `SubscriptionScheduleAmendAmendmentsDiscountActionsSetParams`, `SubscriptionScheduleAmendAmendmentsItemActionsAddDiscountsParams`, `SubscriptionScheduleAmendAmendmentsItemActionsSetDiscountsParams`, `SubscriptionSchedulePhasesAddInvoiceItemsDiscountsParams`, `SubscriptionSchedulePhasesAddInvoiceItemsDiscounts`, `SubscriptionSchedulePhasesDiscountsParams`, `SubscriptionSchedulePhasesDiscounts`, `SubscriptionSchedulePhasesItemsDiscountsParams`, and `SubscriptionSchedulePhasesItemsDiscounts` +* [#1801](https://github.com/stripe/stripe-go/pull/1801) Update generated code for beta + Release specs are identical. +* [#1799](https://github.com/stripe/stripe-go/pull/1799) Update generated code for beta + * Add support for new value `nn` on enum `ConfirmationTokenPaymentMethodPreviewIdealBank` * Add support for new value `NNBANL2G` on enum `ConfirmationTokenPaymentMethodPreviewIdealBic` ## 76.14.0 - 2024-01-25 -* [#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` -* [#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` +* [#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` +* [#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.14.0-beta.1 - 2024-01-18 -* [#1801](https://github.com/stripe/stripe-go/pull/1801) Update generated code for beta - Release specs are identical. -* [#1799](https://github.com/stripe/stripe-go/pull/1799) Update generated code for beta - * Add support for new value `nn` on enum `ConfirmationTokenPaymentMethodPreviewIdealBank` - * Add support for new value `NNBANL2G` on enum `ConfirmationTokenPaymentMethodPreviewIdealBic` -* [#1795](https://github.com/stripe/stripe-go/pull/1795) Update generated code for beta - * Add support for `Amount` on `ChargeCapturePaymentDetailsFlightSegmentsParams`, `ChargePaymentDetailsFlightSegmentsParams`, `PaymentIntentCapturePaymentDetailsFlightSegmentsParams`, `PaymentIntentConfirmPaymentDetailsFlightSegmentsParams`, and `PaymentIntentPaymentDetailsFlightSegmentsParams` - * Add support for `NumberOfRooms` and `RoomClass` on `ChargeCapturePaymentDetailsLodgingParams`, `ChargePaymentDetailsLodgingParams`, `PaymentIntentCapturePaymentDetailsLodgingParams`, `PaymentIntentConfirmPaymentDetailsLodgingParams`, and `PaymentIntentPaymentDetailsLodgingParams` - * Add support for `BuyButton` on `CustomerSessionComponentsParams` and `CustomerSessionComponents` - * Add support for new values `high_risk_industry`, `insufficient_margin_ratio`, `insufficient_operating_profit`, `insufficient_reserves`, `insufficient_time_in_network`, `lacking_cash_account`, and `poor_payment_history_with_platform` on enum `IssuingCreditUnderwritingRecordDecisionApplicationRejectedReasons` +* [#1801](https://github.com/stripe/stripe-go/pull/1801) Update generated code for beta + Release specs are identical. +* [#1799](https://github.com/stripe/stripe-go/pull/1799) Update generated code for beta + * Add support for new value `nn` on enum `ConfirmationTokenPaymentMethodPreviewIdealBank` + * Add support for new value `NNBANL2G` on enum `ConfirmationTokenPaymentMethodPreviewIdealBic` +* [#1795](https://github.com/stripe/stripe-go/pull/1795) Update generated code for beta + * Add support for `Amount` on `ChargeCapturePaymentDetailsFlightSegmentsParams`, `ChargePaymentDetailsFlightSegmentsParams`, `PaymentIntentCapturePaymentDetailsFlightSegmentsParams`, `PaymentIntentConfirmPaymentDetailsFlightSegmentsParams`, and `PaymentIntentPaymentDetailsFlightSegmentsParams` + * Add support for `NumberOfRooms` and `RoomClass` on `ChargeCapturePaymentDetailsLodgingParams`, `ChargePaymentDetailsLodgingParams`, `PaymentIntentCapturePaymentDetailsLodgingParams`, `PaymentIntentConfirmPaymentDetailsLodgingParams`, and `PaymentIntentPaymentDetailsLodgingParams` + * Add support for `BuyButton` on `CustomerSessionComponentsParams` and `CustomerSessionComponents` + * Add support for new values `high_risk_industry`, `insufficient_margin_ratio`, `insufficient_operating_profit`, `insufficient_reserves`, `insufficient_time_in_network`, `lacking_cash_account`, and `poor_payment_history_with_platform` on enum `IssuingCreditUnderwritingRecordDecisionApplicationRejectedReasons` * Add support for new values `high_risk_industry`, `insufficient_margin_ratio`, `insufficient_operating_profit`, `insufficient_reserves`, `insufficient_time_in_network`, and `lacking_cash_account` on enums `IssuingCreditUnderwritingRecordDecisionCreditLimitDecreasedReasons` and `IssuingCreditUnderwritingRecordDecisionCreditLineClosedReasons` ## 76.13.0 - 2024-01-18 -* [#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` -* [#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` +* [#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` +* [#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.13.0-beta.1 - 2024-01-12 -* [#1795](https://github.com/stripe/stripe-go/pull/1795) Update generated code for beta - * Add support for `Amount` on `ChargeCapturePaymentDetailsFlightSegmentsParams`, `ChargePaymentDetailsFlightSegmentsParams`, `PaymentIntentCapturePaymentDetailsFlightSegmentsParams`, `PaymentIntentConfirmPaymentDetailsFlightSegmentsParams`, and `PaymentIntentPaymentDetailsFlightSegmentsParams` - * Add support for `NumberOfRooms` and `RoomClass` on `ChargeCapturePaymentDetailsLodgingParams`, `ChargePaymentDetailsLodgingParams`, `PaymentIntentCapturePaymentDetailsLodgingParams`, `PaymentIntentConfirmPaymentDetailsLodgingParams`, and `PaymentIntentPaymentDetailsLodgingParams` - * Add support for `BuyButton` on `CustomerSessionComponentsParams` and `CustomerSessionComponents` - * Add support for new values `high_risk_industry`, `insufficient_margin_ratio`, `insufficient_operating_profit`, `insufficient_reserves`, `insufficient_time_in_network`, `lacking_cash_account`, and `poor_payment_history_with_platform` on enum `IssuingCreditUnderwritingRecordDecisionApplicationRejectedReasons` - * Add support for new values `high_risk_industry`, `insufficient_margin_ratio`, `insufficient_operating_profit`, `insufficient_reserves`, `insufficient_time_in_network`, and `lacking_cash_account` on enums `IssuingCreditUnderwritingRecordDecisionCreditLimitDecreasedReasons` and `IssuingCreditUnderwritingRecordDecisionCreditLineClosedReasons` +* [#1795](https://github.com/stripe/stripe-go/pull/1795) Update generated code for beta + * Add support for `Amount` on `ChargeCapturePaymentDetailsFlightSegmentsParams`, `ChargePaymentDetailsFlightSegmentsParams`, `PaymentIntentCapturePaymentDetailsFlightSegmentsParams`, `PaymentIntentConfirmPaymentDetailsFlightSegmentsParams`, and `PaymentIntentPaymentDetailsFlightSegmentsParams` + * Add support for `NumberOfRooms` and `RoomClass` on `ChargeCapturePaymentDetailsLodgingParams`, `ChargePaymentDetailsLodgingParams`, `PaymentIntentCapturePaymentDetailsLodgingParams`, `PaymentIntentConfirmPaymentDetailsLodgingParams`, and `PaymentIntentPaymentDetailsLodgingParams` + * Add support for `BuyButton` on `CustomerSessionComponentsParams` and `CustomerSessionComponents` + * Add support for new values `high_risk_industry`, `insufficient_margin_ratio`, `insufficient_operating_profit`, `insufficient_reserves`, `insufficient_time_in_network`, `lacking_cash_account`, and `poor_payment_history_with_platform` on enum `IssuingCreditUnderwritingRecordDecisionApplicationRejectedReasons` + * Add support for new values `high_risk_industry`, `insufficient_margin_ratio`, `insufficient_operating_profit`, `insufficient_reserves`, `insufficient_time_in_network`, and `lacking_cash_account` on enums `IssuingCreditUnderwritingRecordDecisionCreditLimitDecreasedReasons` and `IssuingCreditUnderwritingRecordDecisionCreditLineClosedReasons` * [#1793](https://github.com/stripe/stripe-go/pull/1793) Update generated code for beta ## 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` +* [#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.12.0-beta.1 - 2024-01-04 -* [#1793](https://github.com/stripe/stripe-go/pull/1793) Update generated code for beta +* [#1793](https://github.com/stripe/stripe-go/pull/1793) Update generated code for beta * Updated stable APIs to the latest version ## 76.11.0 - 2024-01-04 -* [#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` -* [#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` -* [#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` +* [#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` +* [#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` +* [#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` * [#1788](https://github.com/stripe/stripe-go/pull/1788) Use gofmt to format and lint ## 76.11.0-beta.1 - 2023-12-22 -* [#1791](https://github.com/stripe/stripe-go/pull/1791) Update generated code for beta - * Add support for `CapitalFinancingPromotion` on `AccountSessionComponentsParams` and `AccountSessionComponents` - * Add support for new value `shipping_address_invalid` on enums `InvoiceLastFinalizationErrorCode`, `PaymentIntentLastPaymentErrorCode`, `SetupAttemptSetupErrorCode`, `SetupIntentLastSetupErrorCode`, and `StripeErrorCode` - * Change type of `InvoiceIssuer` and `SubscriptionScheduleDefaultSettingsInvoiceSettingsIssuer` from `nullable(ConnectAccountReference)` to `ConnectAccountReference` - * Change type of `PaymentLinkSubscriptionDataInvoiceSettings` from `nullable(PaymentLinksResourceSubscriptionDataInvoiceSettings)` to `PaymentLinksResourceSubscriptionDataInvoiceSettings` +* [#1791](https://github.com/stripe/stripe-go/pull/1791) Update generated code for beta + * Add support for `CapitalFinancingPromotion` on `AccountSessionComponentsParams` and `AccountSessionComponents` + * Add support for new value `shipping_address_invalid` on enums `InvoiceLastFinalizationErrorCode`, `PaymentIntentLastPaymentErrorCode`, `SetupAttemptSetupErrorCode`, `SetupIntentLastSetupErrorCode`, and `StripeErrorCode` + * Change type of `InvoiceIssuer` and `SubscriptionScheduleDefaultSettingsInvoiceSettingsIssuer` from `nullable(ConnectAccountReference)` to `ConnectAccountReference` + * Change type of `PaymentLinkSubscriptionDataInvoiceSettings` from `nullable(PaymentLinksResourceSubscriptionDataInvoiceSettings)` to `PaymentLinksResourceSubscriptionDataInvoiceSettings` * Add support for `ShipFromDetails` on `TaxCalculationParams`, `TaxCalculation`, and `TaxTransaction` ## 76.10.0 - 2023-12-22 -* [#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` -* [#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` +* [#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` * [#1788](https://github.com/stripe/stripe-go/pull/1788) Use gofmt to format and lint ## 76.10.0-beta.1 - 2023-12-14 -* [#1785](https://github.com/stripe/stripe-go/pull/1785) Update generated code for beta - * Add support for `PreviewMode` and `SubscriptionDetails` on `InvoiceUpcomingLinesParams` and `InvoiceUpcomingParams` - * Remove support for `SubscriptionTrialFromPlan` on `InvoiceUpcomingLinesParams` and `InvoiceUpcomingParams` - * Add support for `BillingBehavior`, `EndBehavior`, and `ProrationBehavior` on `InvoiceUpcomingLinesScheduleDetailsParams` and `InvoiceUpcomingScheduleDetailsParams` +* [#1785](https://github.com/stripe/stripe-go/pull/1785) Update generated code for beta + * Add support for `PreviewMode` and `SubscriptionDetails` on `InvoiceUpcomingLinesParams` and `InvoiceUpcomingParams` + * Remove support for `SubscriptionTrialFromPlan` on `InvoiceUpcomingLinesParams` and `InvoiceUpcomingParams` + * Add support for `BillingBehavior`, `EndBehavior`, and `ProrationBehavior` on `InvoiceUpcomingLinesScheduleDetailsParams` and `InvoiceUpcomingScheduleDetailsParams` * [#1779](https://github.com/stripe/stripe-go/pull/1779) Track usage of `raw_request` ## 76.9.0 - 2023-12-14 -* [#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` - +* [#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` + * [#1780](https://github.com/stripe/stripe-go/pull/1780) Usage telemetry infrastructure ## 76.9.0-beta.1 - 2023-12-08 -* [#1776](https://github.com/stripe/stripe-go/pull/1776) Update generated code for beta - * Add support for `Get` method on resource `FinancialConnections.Transaction` - * Remove support for `IssuingCard` and `IssuingCardsList` on `AccountSessionComponentsParams` - * Add support for `PaymentMethodRemove`, `PaymentMethodSave`, and `PaymentMethodSetAsDefault` on `CustomerSessionComponentsPaymentElementFeaturesParams` and `CustomerSessionComponentsPaymentElementFeatures` +* [#1776](https://github.com/stripe/stripe-go/pull/1776) Update generated code for beta + * Add support for `Get` method on resource `FinancialConnections.Transaction` + * Remove support for `IssuingCard` and `IssuingCardsList` on `AccountSessionComponentsParams` + * Add support for `PaymentMethodRemove`, `PaymentMethodSave`, and `PaymentMethodSetAsDefault` on `CustomerSessionComponentsPaymentElementFeaturesParams` and `CustomerSessionComponentsPaymentElementFeatures` * Remove support for `PaymentMethodDetach` and `PaymentMethodSetAsCustomerDefault` on `CustomerSessionComponentsPaymentElementFeaturesParams` and `CustomerSessionComponentsPaymentElementFeatures` ## 76.8.0 - 2023-12-07 -* [#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` -* [#1777](https://github.com/stripe/stripe-go/pull/1777) Add back PlanParams.ProductID +* [#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` +* [#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 . ## 76.8.0-beta.1 - 2023-11-30 * [#1773](https://github.com/stripe/stripe-go/pull/1773) Update generated code for beta ## 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` +* [#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.7.0-beta.1 - 2023-11-21 -* [#1770](https://github.com/stripe/stripe-go/pull/1770) Update generated code for beta - * Rename `Receipient` to `Recipient` beneath `PaymentDetails` on `Charge` and `PaymentIntent` APIs. +* [#1770](https://github.com/stripe/stripe-go/pull/1770) Update generated code for beta + * Rename `Receipient` to `Recipient` beneath `PaymentDetails` on `Charge` and `PaymentIntent` APIs. * Add support for `Components` on `CustomerSessionParams` and `CustomerSession` ## 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` +* [#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.6.0-beta.1 - 2023-11-16 -* [#1765](https://github.com/stripe/stripe-go/pull/1765) Update generated code for beta - * Add support for `IssuingCard` and `IssuingCardsList` on `AccountSessionComponentsParams` - * Add support for `EventDetails` and `Subscription` on `ChargeCapturePaymentDetailsParams`, `ChargePaymentDetailsParams`, `PaymentIntentCapturePaymentDetailsParams`, `PaymentIntentConfirmPaymentDetailsParams`, `PaymentIntentPaymentDetailsParams`, and `PaymentIntentPaymentDetails` - * Add support for `Affiliate` and `Delivery` on `ChargeCapturePaymentDetailsCarRentalParams`, `ChargeCapturePaymentDetailsFlightParams`, `ChargeCapturePaymentDetailsLodgingParams`, `ChargePaymentDetailsCarRentalParams`, `ChargePaymentDetailsFlightParams`, `ChargePaymentDetailsLodgingParams`, `PaymentIntentCapturePaymentDetailsCarRentalParams`, `PaymentIntentCapturePaymentDetailsFlightParams`, `PaymentIntentCapturePaymentDetailsLodgingParams`, `PaymentIntentConfirmPaymentDetailsCarRentalParams`, `PaymentIntentConfirmPaymentDetailsFlightParams`, `PaymentIntentConfirmPaymentDetailsLodgingParams`, `PaymentIntentPaymentDetailsCarRentalParams`, `PaymentIntentPaymentDetailsCarRental`, `PaymentIntentPaymentDetailsFlightParams`, and `PaymentIntentPaymentDetailsLodgingParams` - * Add support for `Drivers` on `ChargeCapturePaymentDetailsCarRentalParams`, `ChargePaymentDetailsCarRentalParams`, `PaymentIntentCapturePaymentDetailsCarRentalParams`, `PaymentIntentConfirmPaymentDetailsCarRentalParams`, `PaymentIntentPaymentDetailsCarRentalParams`, and `PaymentIntentPaymentDetailsCarRental` - * Add support for `Passengers` on `ChargeCapturePaymentDetailsFlightParams`, `ChargeCapturePaymentDetailsLodgingParams`, `ChargePaymentDetailsFlightParams`, `ChargePaymentDetailsLodgingParams`, `PaymentIntentCapturePaymentDetailsFlightParams`, `PaymentIntentCapturePaymentDetailsLodgingParams`, `PaymentIntentConfirmPaymentDetailsFlightParams`, `PaymentIntentConfirmPaymentDetailsLodgingParams`, `PaymentIntentPaymentDetailsFlightParams`, and `PaymentIntentPaymentDetailsLodgingParams` +* [#1765](https://github.com/stripe/stripe-go/pull/1765) Update generated code for beta + * Add support for `IssuingCard` and `IssuingCardsList` on `AccountSessionComponentsParams` + * Add support for `EventDetails` and `Subscription` on `ChargeCapturePaymentDetailsParams`, `ChargePaymentDetailsParams`, `PaymentIntentCapturePaymentDetailsParams`, `PaymentIntentConfirmPaymentDetailsParams`, `PaymentIntentPaymentDetailsParams`, and `PaymentIntentPaymentDetails` + * Add support for `Affiliate` and `Delivery` on `ChargeCapturePaymentDetailsCarRentalParams`, `ChargeCapturePaymentDetailsFlightParams`, `ChargeCapturePaymentDetailsLodgingParams`, `ChargePaymentDetailsCarRentalParams`, `ChargePaymentDetailsFlightParams`, `ChargePaymentDetailsLodgingParams`, `PaymentIntentCapturePaymentDetailsCarRentalParams`, `PaymentIntentCapturePaymentDetailsFlightParams`, `PaymentIntentCapturePaymentDetailsLodgingParams`, `PaymentIntentConfirmPaymentDetailsCarRentalParams`, `PaymentIntentConfirmPaymentDetailsFlightParams`, `PaymentIntentConfirmPaymentDetailsLodgingParams`, `PaymentIntentPaymentDetailsCarRentalParams`, `PaymentIntentPaymentDetailsCarRental`, `PaymentIntentPaymentDetailsFlightParams`, and `PaymentIntentPaymentDetailsLodgingParams` + * Add support for `Drivers` on `ChargeCapturePaymentDetailsCarRentalParams`, `ChargePaymentDetailsCarRentalParams`, `PaymentIntentCapturePaymentDetailsCarRentalParams`, `PaymentIntentConfirmPaymentDetailsCarRentalParams`, `PaymentIntentPaymentDetailsCarRentalParams`, and `PaymentIntentPaymentDetailsCarRental` + * Add support for `Passengers` on `ChargeCapturePaymentDetailsFlightParams`, `ChargeCapturePaymentDetailsLodgingParams`, `ChargePaymentDetailsFlightParams`, `ChargePaymentDetailsLodgingParams`, `PaymentIntentCapturePaymentDetailsFlightParams`, `PaymentIntentCapturePaymentDetailsLodgingParams`, `PaymentIntentConfirmPaymentDetailsFlightParams`, `PaymentIntentConfirmPaymentDetailsLodgingParams`, `PaymentIntentPaymentDetailsFlightParams`, and `PaymentIntentPaymentDetailsLodgingParams` * Add support for `Created` on `CustomerSession` ## 76.5.0 - 2023-11-16 -* [#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` +* [#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` * [#1764](https://github.com/stripe/stripe-go/pull/1764) Fix TestDo_RetryOnTimeout flakiness ## 76.5.0-beta.1 - 2023-11-10 -* [#1763](https://github.com/stripe/stripe-go/pull/1763) Update generated code for beta - * Add support for new value `quote.reestimate_failed` on enum `EventType` - * Add support for `Metadata` on `QuotePhase` and `QuotePhasesParams` +* [#1763](https://github.com/stripe/stripe-go/pull/1763) Update generated code for beta + * Add support for new value `quote.reestimate_failed` on enum `EventType` + * Add support for `Metadata` on `QuotePhase` and `QuotePhasesParams` * Add support for `LastReestimationDetails` on `QuoteComputed` ## 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` +* [#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.4.0-beta.1 - 2023-11-02 -* [#1761](https://github.com/stripe/stripe-go/pull/1761) Update generated code for beta - * Add support for `AttachPaymentIntent` method on resource `Invoice` - * Add support for `RevolutPay` on `ConfirmationTokenPaymentMethodPreview` - * Add support for new value `revolut_pay` on enum `ConfirmationTokenPaymentMethodPreviewType` - * Add support for `Refunds` on `CreditNoteParams`, `CreditNotePreviewLinesParams`, `CreditNotePreviewParams`, and `CreditNote` - * Add support for `PostPaymentAmount` and `PrePaymentAmount` on `CreditNote` - * Add support for new value `invoice.payment.overpaid` on enum `EventType` - * Add support for `ScheduleDetails` on `InvoiceUpcomingLinesParams` and `InvoiceUpcomingParams` - * Add support for `AmountsDue` on `InvoiceParams` and `Invoice` - * Add support for `Payments` on `Invoice` +* [#1761](https://github.com/stripe/stripe-go/pull/1761) Update generated code for beta + * Add support for `AttachPaymentIntent` method on resource `Invoice` + * Add support for `RevolutPay` on `ConfirmationTokenPaymentMethodPreview` + * Add support for new value `revolut_pay` on enum `ConfirmationTokenPaymentMethodPreviewType` + * Add support for `Refunds` on `CreditNoteParams`, `CreditNotePreviewLinesParams`, `CreditNotePreviewParams`, and `CreditNote` + * Add support for `PostPaymentAmount` and `PrePaymentAmount` on `CreditNote` + * Add support for new value `invoice.payment.overpaid` on enum `EventType` + * Add support for `ScheduleDetails` on `InvoiceUpcomingLinesParams` and `InvoiceUpcomingParams` + * Add support for `AmountsDue` on `InvoiceParams` and `Invoice` + * Add support for `Payments` on `Invoice` * Add support for `Created` on `IssuingPersonalizationDesign` ## 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` +* [#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.3.0-beta.1 - 2023-10-26 -* [#1758](https://github.com/stripe/stripe-go/pull/1758) Update generated code for beta - * Add support for new resource `Margin` - * Add support for `Get`, `List`, `New`, and `Update` methods on resource `Margin` - * Add support for `Subsellers` on `CheckoutSessionPaymentMethodOptionsPaypalParams`, `OrderPaymentSettingsPaymentMethodOptionsPaypalParams`, `OrderPaymentSettingsPaymentMethodOptionsPaypal`, `PaymentIntentConfirmPaymentMethodOptionsPaypalParams`, `PaymentIntentPaymentMethodOptionsPaypalParams`, `PaymentIntentPaymentMethodOptionsPaypal`, `SetupIntentConfirmPaymentMethodOptionsPaypalParams`, `SetupIntentPaymentMethodOptionsPaypalParams`, and `SetupIntentPaymentMethodOptionsPaypal` - * Add support for `DefaultMargins` on `InvoiceParams` and `Invoice` - * Add support for `TotalMarginAmounts` on `Invoice` - * Add support for `Margins` on `InvoiceItemParams` and `InvoiceItem` - * Add support for new values `applicant_is_not_beneficial_owner`, `current_account_tier_ineligible`, `customer_requested_account_closure`, `dispute_rate_too_high`, and `invalid_business_license` on enum `IssuingCreditUnderwritingRecordDecisionApplicationRejectedReasons` - * Remove support for values `change_in_financial_state`, `change_in_utilization_of_credit_line`, `decrease_in_income_to_expense_ratio`, `decrease_in_social_media_performance`, `exceeds_acceptable_platform_exposure`, `has_recent_credit_limit_increase`, `insufficient_credit_utilization`, `insufficient_usage_as_qualified_expenses`, and `poor_payment_history_with_platform` from enum `IssuingCreditUnderwritingRecordDecisionApplicationRejectedReasons` - * Add support for new values `applicant_is_not_beneficial_owner`, `current_account_tier_ineligible`, `customer_requested_account_closure`, `dispute_rate_too_high`, and `invalid_business_license` on enums `IssuingCreditUnderwritingRecordDecisionCreditLimitDecreasedReasons` and `IssuingCreditUnderwritingRecordDecisionCreditLineClosedReasons` - * Add support for `IsDefault` on `IssuingPersonalizationDesignListPreferencesParams`, `IssuingPersonalizationDesignPreferencesParams`, and `IssuingPersonalizationDesignPreferences` - * Add support for `IsPlatformDefault` on `IssuingPersonalizationDesignListPreferencesParams` and `IssuingPersonalizationDesignPreferences` - * Remove support for `AccountDefault` on `IssuingPersonalizationDesignListPreferencesParams`, `IssuingPersonalizationDesignPreferencesParams`, and `IssuingPersonalizationDesignPreferences` - * Remove support for `PlatformDefault` on `IssuingPersonalizationDesignListPreferencesParams` and `IssuingPersonalizationDesignPreferences` - * Add support for `Liability` on `PaymentLinkAutomaticTaxParams` and `PaymentLinkAutomaticTax` - * Add support for `Issuer` on `PaymentLinkInvoiceCreationInvoiceDataParams` and `PaymentLinkInvoiceCreationInvoiceData` - * Add support for `InvoiceSettings` on `PaymentLinkSubscriptionDataParams` and `PaymentLinkSubscriptionData` +* [#1758](https://github.com/stripe/stripe-go/pull/1758) Update generated code for beta + * Add support for new resource `Margin` + * Add support for `Get`, `List`, `New`, and `Update` methods on resource `Margin` + * Add support for `Subsellers` on `CheckoutSessionPaymentMethodOptionsPaypalParams`, `OrderPaymentSettingsPaymentMethodOptionsPaypalParams`, `OrderPaymentSettingsPaymentMethodOptionsPaypal`, `PaymentIntentConfirmPaymentMethodOptionsPaypalParams`, `PaymentIntentPaymentMethodOptionsPaypalParams`, `PaymentIntentPaymentMethodOptionsPaypal`, `SetupIntentConfirmPaymentMethodOptionsPaypalParams`, `SetupIntentPaymentMethodOptionsPaypalParams`, and `SetupIntentPaymentMethodOptionsPaypal` + * Add support for `DefaultMargins` on `InvoiceParams` and `Invoice` + * Add support for `TotalMarginAmounts` on `Invoice` + * Add support for `Margins` on `InvoiceItemParams` and `InvoiceItem` + * Add support for new values `applicant_is_not_beneficial_owner`, `current_account_tier_ineligible`, `customer_requested_account_closure`, `dispute_rate_too_high`, and `invalid_business_license` on enum `IssuingCreditUnderwritingRecordDecisionApplicationRejectedReasons` + * Remove support for values `change_in_financial_state`, `change_in_utilization_of_credit_line`, `decrease_in_income_to_expense_ratio`, `decrease_in_social_media_performance`, `exceeds_acceptable_platform_exposure`, `has_recent_credit_limit_increase`, `insufficient_credit_utilization`, `insufficient_usage_as_qualified_expenses`, and `poor_payment_history_with_platform` from enum `IssuingCreditUnderwritingRecordDecisionApplicationRejectedReasons` + * Add support for new values `applicant_is_not_beneficial_owner`, `current_account_tier_ineligible`, `customer_requested_account_closure`, `dispute_rate_too_high`, and `invalid_business_license` on enums `IssuingCreditUnderwritingRecordDecisionCreditLimitDecreasedReasons` and `IssuingCreditUnderwritingRecordDecisionCreditLineClosedReasons` + * Add support for `IsDefault` on `IssuingPersonalizationDesignListPreferencesParams`, `IssuingPersonalizationDesignPreferencesParams`, and `IssuingPersonalizationDesignPreferences` + * Add support for `IsPlatformDefault` on `IssuingPersonalizationDesignListPreferencesParams` and `IssuingPersonalizationDesignPreferences` + * Remove support for `AccountDefault` on `IssuingPersonalizationDesignListPreferencesParams`, `IssuingPersonalizationDesignPreferencesParams`, and `IssuingPersonalizationDesignPreferences` + * Remove support for `PlatformDefault` on `IssuingPersonalizationDesignListPreferencesParams` and `IssuingPersonalizationDesignPreferences` + * Add support for `Liability` on `PaymentLinkAutomaticTaxParams` and `PaymentLinkAutomaticTax` + * Add support for `Issuer` on `PaymentLinkInvoiceCreationInvoiceDataParams` and `PaymentLinkInvoiceCreationInvoiceData` + * Add support for `InvoiceSettings` on `PaymentLinkSubscriptionDataParams` and `PaymentLinkSubscriptionData` * Add support for new value `accept_failed_validations` on enum `QuoteStatusDetailsStaleLastReasonType` ## 76.2.0 - 2023-10-26 -* [#1759](https://github.com/stripe/stripe-go/pull/1759) Update generated code +* [#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.2.0-beta.1 - 2023-10-17 -* [#1757](https://github.com/stripe/stripe-go/pull/1757) Update generated code for beta -* [#1754](https://github.com/stripe/stripe-go/pull/1754) Update generated code for beta +* [#1757](https://github.com/stripe/stripe-go/pull/1757) Update generated code for beta +* [#1754](https://github.com/stripe/stripe-go/pull/1754) Update generated code for beta - Update pinned API version to `2023-10-16` ## 76.1.0 - 2023-10-17 -* [#1756](https://github.com/stripe/stripe-go/pull/1756) Update generated code +* [#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 Upgrade Guide](https://stripe.com/docs/upgrades#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` +* This release changes the pinned API version to `2023-10-16`. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#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.12.0-beta.1 - 2023-10-16 * [#1752](https://github.com/stripe/stripe-go/pull/1752) Update generated code for beta ## 75.11.0 - 2023-10-16 -* [#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` +* [#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` * [#1748](https://github.com/stripe/stripe-go/pull/1748) add NewBackendsWithConfig helper ## 75.11.0-beta.1 - 2023-10-11 -* [#1745](https://github.com/stripe/stripe-go/pull/1745) Update generated code for beta - * Add support for new resources `AccountNotice` and `Issuing.CreditUnderwritingRecord` - * Add support for `Get`, `List`, and `Update` methods on resource `AccountNotice` - * Add support for `Correct`, `CreateFromApplication`, `CreateFromProactiveReview`, `Get`, `List`, and `ReportDecision` methods on resource `CreditUnderwritingRecord` - * Change type of `CheckoutSessionAutomaticTaxLiabilityAccount`, `CheckoutSessionInvoiceCreationInvoiceDataIssuerAccount`, `InvoiceAutomaticTaxLiabilityAccount`, `InvoiceIssuerAccount`, `QuoteAutomaticTaxLiabilityAccount`, `QuoteInvoiceSettingsIssuerAccount`, `SubscriptionAutomaticTaxLiabilityAccount`, `SubscriptionScheduleDefaultSettingsAutomaticTaxLiabilityAccount`, `SubscriptionScheduleDefaultSettingsInvoiceSettingsIssuerAccount`, `SubscriptionSchedulePhasesAutomaticTaxLiabilityAccount`, and `SubscriptionSchedulePhasesInvoiceSettingsIssuerAccount` from `nullable(expandable($Account))` to `expandable($Account)` - * Add support for new values `account_notice.created` and `account_notice.updated` on enum `EventType` +* [#1745](https://github.com/stripe/stripe-go/pull/1745) Update generated code for beta + * Add support for new resources `AccountNotice` and `Issuing.CreditUnderwritingRecord` + * Add support for `Get`, `List`, and `Update` methods on resource `AccountNotice` + * Add support for `Correct`, `CreateFromApplication`, `CreateFromProactiveReview`, `Get`, `List`, and `ReportDecision` methods on resource `CreditUnderwritingRecord` + * Change type of `CheckoutSessionAutomaticTaxLiabilityAccount`, `CheckoutSessionInvoiceCreationInvoiceDataIssuerAccount`, `InvoiceAutomaticTaxLiabilityAccount`, `InvoiceIssuerAccount`, `QuoteAutomaticTaxLiabilityAccount`, `QuoteInvoiceSettingsIssuerAccount`, `SubscriptionAutomaticTaxLiabilityAccount`, `SubscriptionScheduleDefaultSettingsAutomaticTaxLiabilityAccount`, `SubscriptionScheduleDefaultSettingsInvoiceSettingsIssuerAccount`, `SubscriptionSchedulePhasesAutomaticTaxLiabilityAccount`, and `SubscriptionSchedulePhasesInvoiceSettingsIssuerAccount` from `nullable(expandable($Account))` to `expandable($Account)` + * Add support for new values `account_notice.created` and `account_notice.updated` on enum `EventType` * Add support for new values `local_amusement_tax` and `state_communications_tax` on enum `TaxRegistrationCountryOptionsUsType` ## 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` +* [#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.10.0-beta.1 - 2023-10-05 -* [#1744](https://github.com/stripe/stripe-go/pull/1744) Update generated code for beta - * Add support for `MarkDraft` and `MarkStale` methods on resource `Quote` - * Remove support for `DraftQuote` and `MarkStaleQuote` methods on resource `Quote` - * Add support for `Liability` on `CheckoutSessionAutomaticTaxParams` and `CheckoutSessionAutomaticTax` - * Add support for `Issuer` on `CheckoutSessionInvoiceCreationInvoiceDataParams` and `CheckoutSessionInvoiceCreationInvoiceData` - * Add support for `InvoiceSettings` on `CheckoutSessionSubscriptionDataParams` - * Add support for `PersonalizationDesign` on `IssuingCardListParams` +* [#1744](https://github.com/stripe/stripe-go/pull/1744) Update generated code for beta + * Add support for `MarkDraft` and `MarkStale` methods on resource `Quote` + * Remove support for `DraftQuote` and `MarkStaleQuote` methods on resource `Quote` + * Add support for `Liability` on `CheckoutSessionAutomaticTaxParams` and `CheckoutSessionAutomaticTax` + * Add support for `Issuer` on `CheckoutSessionInvoiceCreationInvoiceDataParams` and `CheckoutSessionInvoiceCreationInvoiceData` + * Add support for `InvoiceSettings` on `CheckoutSessionSubscriptionDataParams` + * Add support for `PersonalizationDesign` on `IssuingCardListParams` * Add support for `AllowBackdatedLines` on `QuoteParams` and `Quote` ## 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` +* [#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.9.0-beta.1 - 2023-09-28 -* [#1740](https://github.com/stripe/stripe-go/pull/1740) Update generated code for beta - * Rename resources `Issuing.CardDesign` and `Issuing.CardBundle` to `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle` - * Add support for `Features` on `AccountSessionComponentsAccountOnboardingParams`, `AccountSessionComponentsPaymentDetailsParams`, `AccountSessionComponentsPaymentDetails`, `AccountSessionComponentsPaymentsParams`, `AccountSessionComponentsPayments`, `AccountSessionComponentsPayoutsParams`, and `AccountSessionComponentsPayouts` - * Add support for `Reason` on `Event` +* [#1740](https://github.com/stripe/stripe-go/pull/1740) Update generated code for beta + * Rename resources `Issuing.CardDesign` and `Issuing.CardBundle` to `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle` + * Add support for `Features` on `AccountSessionComponentsAccountOnboardingParams`, `AccountSessionComponentsPaymentDetailsParams`, `AccountSessionComponentsPaymentDetails`, `AccountSessionComponentsPaymentsParams`, `AccountSessionComponentsPayments`, `AccountSessionComponentsPayoutsParams`, and `AccountSessionComponentsPayouts` + * Add support for `Reason` on `Event` * [#1742](https://github.com/stripe/stripe-go/pull/1742) Beta: fix incompatible combination ## 75.8.0 - 2023-09-28 -* [#1741](https://github.com/stripe/stripe-go/pull/1741) Update generated code +* [#1741](https://github.com/stripe/stripe-go/pull/1741) Update generated code * Add support for `Rendering` on `InvoiceParams` and `Invoice` ## 75.8.0-beta.1 - 2023-09-21 -* [#1737](https://github.com/stripe/stripe-go/pull/1737) Update generated code for beta - * Remove support for `Customer` on `ConfirmationToken` - * Add support for `Issuer` on `InvoiceParams`, `InvoiceUpcomingLinesParams`, `InvoiceUpcomingParams`, `Invoice`, `QuoteInvoiceSettingsParams`, `QuoteInvoiceSettings`, `SubscriptionScheduleDefaultSettingsInvoiceSettingsParams`, `SubscriptionScheduleDefaultSettingsInvoiceSettings`, `SubscriptionSchedulePhasesInvoiceSettingsParams`, and `SubscriptionSchedulePhasesInvoiceSettings` - * Add support for `OnBehalfOf` on `InvoiceUpcomingLinesParams` and `InvoiceUpcomingParams` - * Add support for `Liability` on `InvoiceAutomaticTaxParams`, `InvoiceAutomaticTax`, `InvoiceUpcomingAutomaticTaxParams`, `InvoiceUpcomingLinesAutomaticTaxParams`, `QuoteAutomaticTaxParams`, `QuoteAutomaticTax`, `SubscriptionAutomaticTaxParams`, `SubscriptionAutomaticTax`, `SubscriptionScheduleDefaultSettingsAutomaticTaxParams`, `SubscriptionScheduleDefaultSettingsAutomaticTax`, `SubscriptionSchedulePhasesAutomaticTaxParams`, and `SubscriptionSchedulePhasesAutomaticTax` +* [#1737](https://github.com/stripe/stripe-go/pull/1737) Update generated code for beta + * Remove support for `Customer` on `ConfirmationToken` + * Add support for `Issuer` on `InvoiceParams`, `InvoiceUpcomingLinesParams`, `InvoiceUpcomingParams`, `Invoice`, `QuoteInvoiceSettingsParams`, `QuoteInvoiceSettings`, `SubscriptionScheduleDefaultSettingsInvoiceSettingsParams`, `SubscriptionScheduleDefaultSettingsInvoiceSettings`, `SubscriptionSchedulePhasesInvoiceSettingsParams`, and `SubscriptionSchedulePhasesInvoiceSettings` + * Add support for `OnBehalfOf` on `InvoiceUpcomingLinesParams` and `InvoiceUpcomingParams` + * Add support for `Liability` on `InvoiceAutomaticTaxParams`, `InvoiceAutomaticTax`, `InvoiceUpcomingAutomaticTaxParams`, `InvoiceUpcomingLinesAutomaticTaxParams`, `QuoteAutomaticTaxParams`, `QuoteAutomaticTax`, `SubscriptionAutomaticTaxParams`, `SubscriptionAutomaticTax`, `SubscriptionScheduleDefaultSettingsAutomaticTaxParams`, `SubscriptionScheduleDefaultSettingsAutomaticTax`, `SubscriptionSchedulePhasesAutomaticTaxParams`, and `SubscriptionSchedulePhasesAutomaticTax` * Add support for `InvoiceSettings` on `SubscriptionParams` ## 75.7.0 - 2023-09-21 -* [#1738](https://github.com/stripe/stripe-go/pull/1738) Update generated code +* [#1738](https://github.com/stripe/stripe-go/pull/1738) Update generated code * Add support for `TermsOfServiceAcceptance` on `CheckoutSessionCustomTextParams`, `CheckoutSessionCustomText`, `PaymentLinkCustomTextParams`, and `PaymentLinkCustomText` ## 75.7.0-beta.1 - 2023-09-14 -* [#1732](https://github.com/stripe/stripe-go/pull/1732) Update generated code for beta - * Add support for new resource `ConfirmationToken` - * Add support for `Get` method on resource `ConfirmationToken` - * Add support for `New` method on resource `Issuing.CardDesign` - * Add support for `RejectTestmode` test helper method on resource `Issuing.CardDesign` - * Add support for new value `issuing_card_design.rejected` on enum `EventType` - * Add support for `Features` on `IssuingCardBundle` - * Add support for `Preferences` on `IssuingCardDesignListParams`, `IssuingCardDesignParams`, and `IssuingCardDesign` - * Remove support for `Preference` on `IssuingCardDesignListParams`, `IssuingCardDesignParams`, and `IssuingCardDesign` - * Add support for `CardBundle` on `IssuingCardDesignParams` - * Add support for `CardLogo` and `CarrierText` on `IssuingCardDesignParams` and `IssuingCardDesign` - * Change type of `IssuingCardDesignLookupKeyParams` and `IssuingCardDesignNameParams` from `string` to `emptyStringable(string)` - * Add support for `RejectionReasons` on `IssuingCardDesign` +* [#1732](https://github.com/stripe/stripe-go/pull/1732) Update generated code for beta + * Add support for new resource `ConfirmationToken` + * Add support for `Get` method on resource `ConfirmationToken` + * Add support for `New` method on resource `Issuing.CardDesign` + * Add support for `RejectTestmode` test helper method on resource `Issuing.CardDesign` + * Add support for new value `issuing_card_design.rejected` on enum `EventType` + * Add support for `Features` on `IssuingCardBundle` + * Add support for `Preferences` on `IssuingCardDesignListParams`, `IssuingCardDesignParams`, and `IssuingCardDesign` + * Remove support for `Preference` on `IssuingCardDesignListParams`, `IssuingCardDesignParams`, and `IssuingCardDesign` + * Add support for `CardBundle` on `IssuingCardDesignParams` + * Add support for `CardLogo` and `CarrierText` on `IssuingCardDesignParams` and `IssuingCardDesign` + * Change type of `IssuingCardDesignLookupKeyParams` and `IssuingCardDesignNameParams` from `string` to `emptyStringable(string)` + * Add support for `RejectionReasons` on `IssuingCardDesign` * Add support for `ConfirmationToken` on `PaymentIntentConfirmParams`, `PaymentIntentParams`, `SetupIntentConfirmParams`, and `SetupIntentParams` ## 75.6.0 - 2023-09-14 -* [#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` -* [#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` +* [#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` +* [#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` ## 75.5.0 - 2023-09-13 -* [#1735](https://github.com/stripe/stripe-go/pull/1735) Bugfix: point files.New back to files.stripe.com +* [#1735](https://github.com/stripe/stripe-go/pull/1735) Bugfix: point files.New back to files.stripe.com * [#1731](https://github.com/stripe/stripe-go/pull/1731) Delay calculation of Stripe-User-Agent ## 75.5.0-beta.1 - 2023-09-07 -* [#1730](https://github.com/stripe/stripe-go/pull/1730) Update generated code for beta - Release specs are identical. -* [#1725](https://github.com/stripe/stripe-go/pull/1725) Update generated code for beta - * Remove support for `SubmitCard` test helper method on resource `Issuing.Card` - * Add support for `TaxForms` on `AccountSettingsParams` and `AccountSettings` - * Add support for `CardDesign` on `IssuingCardParams` - * Remove support for value `submitted` from enum `IssuingCardShippingStatus` +* [#1730](https://github.com/stripe/stripe-go/pull/1730) Update generated code for beta + Release specs are identical. +* [#1725](https://github.com/stripe/stripe-go/pull/1725) Update generated code for beta + * Remove support for `SubmitCard` test helper method on resource `Issuing.Card` + * Add support for `TaxForms` on `AccountSettingsParams` and `AccountSettings` + * Add support for `CardDesign` on `IssuingCardParams` + * Remove support for value `submitted` from enum `IssuingCardShippingStatus` * Add support for new value `platform_default` on enum `IssuingCardDesignPreference` ## 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` +* [#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.4.0-beta.1 - 2023-08-31 -* [#1721](https://github.com/stripe/stripe-go/pull/1721) Update generated code for beta - * Rename `quote.PreviewInvoices` and `quote.PreviewSubscriptionSchedules` to `quotepreviewinvoice.List` and `quotepreviewschedule.List` +* [#1721](https://github.com/stripe/stripe-go/pull/1721) Update generated code for beta + * Rename `quote.PreviewInvoices` and `quote.PreviewSubscriptionSchedules` to `quotepreviewinvoice.List` and `quotepreviewschedule.List` * Add support for `Components` on `AccountSessionParams` and `AccountSession` ## 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` +* [#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 -* [#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` -* [#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` +* [#1717](https://github.com/stripe/stripe-go/pull/1717) Replace import placeholder before running formatting * [#1716](https://github.com/stripe/stripe-go/pull/1716) Replace version placeholder with an actual version during format ## 75.1.0 - 2023-08-17 -* [#1713](https://github.com/stripe/stripe-go/pull/1713) Update generated code - * Add support for `FlatAmount` on `TaxTransactionCreateReversalParams` +* [#1713](https://github.com/stripe/stripe-go/pull/1713) Update generated code + * Add support for `FlatAmount` on `TaxTransactionCreateReversalParams` * [#1712](https://github.com/stripe/stripe-go/pull/1712) Fix link title to go migration guide ## 75.0.0 - 2023-08-16 -* This release changes the pinned API version to `2023-08-16`. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2023-08-16) and carefully review the API changes before upgrading `stripe-go`. -* More information is available in the [stripe-go v75 migration guide](https://github.com/stripe/stripe-go/wiki/Migration-guide-for-v75) -* [#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. -* [#1699](https://github.com/stripe/stripe-go/pull/1699) - * 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`. +* This release changes the pinned API version to `2023-08-16`. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2023-08-16) and carefully review the API changes before upgrading `stripe-go`. +* More information is available in the [stripe-go v75 migration guide](https://github.com/stripe/stripe-go/wiki/Migration-guide-for-v75) +* [#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. +* [#1699](https://github.com/stripe/stripe-go/pull/1699) + * 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`. ## 75.0.0-beta.1 - 2023-08-24 -* [#1719](https://github.com/stripe/stripe-go/pull/1719) Move beta version back -* [#1715](https://github.com/stripe/stripe-go/pull/1715) Update generated code for beta - * Add support for new resources `QuotePreviewInvoice` and `QuotePreviewSchedule` - * Remove support for `AppliesTo` on `Invoice` and `SubscriptionSchedule` - * Add support for `Cl`, `Co`, `ID`, `Kr`, `MX`, `My`, `Sa`, `TH`, `TR`, and `Vn` on `TaxRegistrationCountryOptionsParams` and `TaxRegistrationCountryOptions` - * Remove support for `Hk` on `TaxRegistrationCountryOptionsParams` and `TaxRegistrationCountryOptions` +* [#1719](https://github.com/stripe/stripe-go/pull/1719) Move beta version back +* [#1715](https://github.com/stripe/stripe-go/pull/1715) Update generated code for beta + * Add support for new resources `QuotePreviewInvoice` and `QuotePreviewSchedule` + * Remove support for `AppliesTo` on `Invoice` and `SubscriptionSchedule` + * Add support for `Cl`, `Co`, `ID`, `Kr`, `MX`, `My`, `Sa`, `TH`, `TR`, and `Vn` on `TaxRegistrationCountryOptionsParams` and `TaxRegistrationCountryOptions` + * Remove support for `Hk` on `TaxRegistrationCountryOptionsParams` and `TaxRegistrationCountryOptions` * [#1714](https://github.com/stripe/stripe-go/pull/1714) Merge master ## 74.31.0-beta.1 - 2023-08-10 -* [#1701](https://github.com/stripe/stripe-go/pull/1701) Update generated code for beta +* [#1701](https://github.com/stripe/stripe-go/pull/1701) Update generated code for beta * Add support for `Paypal` on `PaymentMethodConfigurationParams` and `PaymentMethodConfiguration` ## 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` +* [#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.30.0-beta.1 - 2023-08-03 -* [#1697](https://github.com/stripe/stripe-go/pull/1697) Update generated code for beta - * Add support for `SubmitCard` test helper method on resource `Issuing.Card` - * Add support for `AddressValidation` on `IssuingCardShippingParams` and `IssuingCardShipping` - * Add support for new value `submitted` on enum `IssuingCardShippingStatus` - * Change type of `OrderDescriptionParams`, `OrderLineItemsProductDataDescriptionParams`, `OrderLineItemsProductDataTaxCodeParams`, `OrderShippingDetailsPhoneParams`, `PaymentMethodConfigurationListApplicationParams`, and `QuoteSubscriptionDataOverridesDescriptionParams` from `string` to `emptyStringable(string)` - * Add support for `Reason` on `QuoteMarkStaleQuoteParams` +* [#1697](https://github.com/stripe/stripe-go/pull/1697) Update generated code for beta + * Add support for `SubmitCard` test helper method on resource `Issuing.Card` + * Add support for `AddressValidation` on `IssuingCardShippingParams` and `IssuingCardShipping` + * Add support for new value `submitted` on enum `IssuingCardShippingStatus` + * Change type of `OrderDescriptionParams`, `OrderLineItemsProductDataDescriptionParams`, `OrderLineItemsProductDataTaxCodeParams`, `OrderShippingDetailsPhoneParams`, `PaymentMethodConfigurationListApplicationParams`, and `QuoteSubscriptionDataOverridesDescriptionParams` from `string` to `emptyStringable(string)` + * Add support for `Reason` on `QuoteMarkStaleQuoteParams` * Add support for `MarkedStale` on `QuoteStatusDetailsStaleLastReason` ## 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 +* [#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.29.0-beta.1 - 2023-07-28 -* [#1694](https://github.com/stripe/stripe-go/pull/1694) Update generated code for beta - * Release specs are identical. -* [#1692](https://github.com/stripe/stripe-go/pull/1692) Update generated code for beta - * Add support for new resource `Tax.Form` - * Add support for `Get`, `List`, and `PDF` methods on resource `Form` - * Add support for `PaymentMethodConfiguration` on `CheckoutSessionParams` and `SetupIntentParams` - * Add support for `PaymentMethodConfigurationDetails` on `CheckoutSession` and `SetupIntent` -* [#1690](https://github.com/stripe/stripe-go/pull/1690) Update generated code for beta - * Remove support for values `excluded_territory`, `jurisdiction_unsupported`, and `vat_exempt` from enums `OrderShippingCostTaxesTaxabilityReason`, `OrderTotalDetailsBreakdownTaxesTaxabilityReason`, and `QuotePhaseTotalDetailsBreakdownTaxesTaxabilityReason` - * Add support for new value `ro_tin` on enum `OrderTaxDetailsTaxIdsType` +* [#1694](https://github.com/stripe/stripe-go/pull/1694) Update generated code for beta + * Release specs are identical. +* [#1692](https://github.com/stripe/stripe-go/pull/1692) Update generated code for beta + * Add support for new resource `Tax.Form` + * Add support for `Get`, `List`, and `PDF` methods on resource `Form` + * Add support for `PaymentMethodConfiguration` on `CheckoutSessionParams` and `SetupIntentParams` + * Add support for `PaymentMethodConfigurationDetails` on `CheckoutSession` and `SetupIntent` +* [#1690](https://github.com/stripe/stripe-go/pull/1690) Update generated code for beta + * Remove support for values `excluded_territory`, `jurisdiction_unsupported`, and `vat_exempt` from enums `OrderShippingCostTaxesTaxabilityReason`, `OrderTotalDetailsBreakdownTaxesTaxabilityReason`, and `QuotePhaseTotalDetailsBreakdownTaxesTaxabilityReason` + * Add support for new value `ro_tin` on enum `OrderTaxDetailsTaxIdsType` * Add support for new values `email`, `numeric`, `phone`, and `text` on enum `TerminalReaderActionCollectInputsInputsType` ## 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` +* [#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 -* [#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` -* [#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` +* [#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` +* [#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.27.0-beta.1 - 2023-07-13 -* [#1689](https://github.com/stripe/stripe-go/pull/1689) Update generated code for beta - Release specs are identical. -* [#1687](https://github.com/stripe/stripe-go/pull/1687) Update generated code for beta - * Add support for new resource `PaymentMethodConfiguration` - * Add support for `Get`, `List`, `New`, and `Update` methods on resource `PaymentMethodConfiguration` - * Add support for `PaymentMethodConfiguration` on `PaymentIntentParams` - * Add support for `PaymentMethodConfigurationDetails` on `PaymentIntent` +* [#1689](https://github.com/stripe/stripe-go/pull/1689) Update generated code for beta + Release specs are identical. +* [#1687](https://github.com/stripe/stripe-go/pull/1687) Update generated code for beta + * Add support for new resource `PaymentMethodConfiguration` + * Add support for `Get`, `List`, `New`, and `Update` methods on resource `PaymentMethodConfiguration` + * Add support for `PaymentMethodConfiguration` on `PaymentIntentParams` + * Add support for `PaymentMethodConfigurationDetails` on `PaymentIntent` * [#1685](https://github.com/stripe/stripe-go/pull/1685) Update generated code for beta ## 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` +* [#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` +* [#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.25.0-beta.1 - 2023-06-29 -* [#1683](https://github.com/stripe/stripe-go/pull/1683) Update generated code for beta - * Add support for `Metadata` on `InvoiceSubscriptionDetails` +* [#1683](https://github.com/stripe/stripe-go/pull/1683) Update generated code for beta + * Add support for `Metadata` on `InvoiceSubscriptionDetails` * 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 enum `OrderTaxDetailsTaxIdsType` ## 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` +* [#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.24.0-beta.1 - 2023-06-22 -* [#1677](https://github.com/stripe/stripe-go/pull/1677) Update generated code for beta - * Add support for new resource `CustomerSession` - * Add support for `New` method on resource `CustomerSession` +* [#1677](https://github.com/stripe/stripe-go/pull/1677) Update generated code for beta + * Add support for new resource `CustomerSession` + * Add support for `New` method on resource `CustomerSession` * Change type of `TaxRegistrationCountryOptionsUsTypeParams` and `TaxRegistrationCountryOptionsUsType` from `literal('state_sales_tax')` to `enum('local_lease_tax'|'state_sales_tax')` ## 74.23.0 - 2023-06-22 -* [#1678](https://github.com/stripe/stripe-go/pull/1678) Update generated code - * Add support for `OnBehalfOf` on `Mandate` +* [#1678](https://github.com/stripe/stripe-go/pull/1678) Update generated code + * Add support for `OnBehalfOf` on `Mandate` * [#1680](https://github.com/stripe/stripe-go/pull/1680) Deserialization test ## 74.23.0-beta.2 - 2023-06-15 -* [#1675](https://github.com/stripe/stripe-go/pull/1675) Update generated code for beta - * Add support for `PaymentDetails` on `ChargeCaptureParams`, `ChargeParams`, `PaymentIntentCaptureParams`, `PaymentIntentConfirmParams`, `PaymentIntentParams`, and `PaymentIntent` - * Add support for `StatementDetails` on `PaymentIntentConfirmPaymentMethodOptionsCardParams`, `PaymentIntentPaymentMethodOptionsCardParams`, and `PaymentIntentPaymentMethodOptionsCard` -* [#1673](https://github.com/stripe/stripe-go/pull/1673) Update generated code for beta - -* [#1669](https://github.com/stripe/stripe-go/pull/1669) Update generated code for beta - -* [#1666](https://github.com/stripe/stripe-go/pull/1666) Consolidate Beta SDKs section in README -* [#1665](https://github.com/stripe/stripe-go/pull/1665) Update generated code for beta - * Add support for `SubscriptionDetails` on `Invoice` - * Add support for new values `aba` and `swift` on enum `OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferRequestedAddressTypes` - * Add support for new value `us_bank_transfer` on enum `OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferType` - * Add support for `SetPauseCollection` on `QuoteLine`, `QuoteLinesParams`, and `SubscriptionScheduleAmendAmendmentsParams` - * Add support for new value `pause_collection_start` on enums `QuoteSubscriptionDataBillOnAcceptanceBillFromType` and `QuoteSubscriptionDataOverridesBillOnAcceptanceBillFromType` - * Add support for `PauseCollection` on `SubscriptionSchedulePhasesParams` and `SubscriptionSchedulePhases` - * Add support for `LocalAmusementTax` on `TaxRegistrationCountryOptionsUsParams` and `TaxRegistrationCountryOptionsUs` +* [#1675](https://github.com/stripe/stripe-go/pull/1675) Update generated code for beta + * Add support for `PaymentDetails` on `ChargeCaptureParams`, `ChargeParams`, `PaymentIntentCaptureParams`, `PaymentIntentConfirmParams`, `PaymentIntentParams`, and `PaymentIntent` + * Add support for `StatementDetails` on `PaymentIntentConfirmPaymentMethodOptionsCardParams`, `PaymentIntentPaymentMethodOptionsCardParams`, and `PaymentIntentPaymentMethodOptionsCard` +* [#1673](https://github.com/stripe/stripe-go/pull/1673) Update generated code for beta + +* [#1669](https://github.com/stripe/stripe-go/pull/1669) Update generated code for beta + +* [#1666](https://github.com/stripe/stripe-go/pull/1666) Consolidate Beta SDKs section in README +* [#1665](https://github.com/stripe/stripe-go/pull/1665) Update generated code for beta + * Add support for `SubscriptionDetails` on `Invoice` + * Add support for new values `aba` and `swift` on enum `OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferRequestedAddressTypes` + * Add support for new value `us_bank_transfer` on enum `OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferType` + * Add support for `SetPauseCollection` on `QuoteLine`, `QuoteLinesParams`, and `SubscriptionScheduleAmendAmendmentsParams` + * Add support for new value `pause_collection_start` on enums `QuoteSubscriptionDataBillOnAcceptanceBillFromType` and `QuoteSubscriptionDataOverridesBillOnAcceptanceBillFromType` + * Add support for `PauseCollection` on `SubscriptionSchedulePhasesParams` and `SubscriptionSchedulePhases` + * Add support for `LocalAmusementTax` on `TaxRegistrationCountryOptionsUsParams` and `TaxRegistrationCountryOptionsUs` * Remove support for `Locations` on `TaxSettingsParams` and `TaxSettings` ## 74.23.0-beta.1 - 2023-06-08 -* [#1669](https://github.com/stripe/stripe-go/pull/1669) Update generated code for beta +* [#1669](https://github.com/stripe/stripe-go/pull/1669) Update generated code for beta * Updated stable APIs to the latest version ## 74.22.0 - 2023-06-08 -* [#1670](https://github.com/stripe/stripe-go/pull/1670) Update generated code - * Add support for `TaxabilityReason` on `TaxCalculationTaxBreakdown` +* [#1670](https://github.com/stripe/stripe-go/pull/1670) Update generated code + * Add support for `TaxabilityReason` on `TaxCalculationTaxBreakdown` * [#1668](https://github.com/stripe/stripe-go/pull/1668) Remove v71 migration guide, moved to wiki ## 74.22.0-beta.1 - 2023-06-01 -* [#1665](https://github.com/stripe/stripe-go/pull/1665) Update generated code for beta - * Add support for `SubscriptionDetails` on `Invoice` - * Add support for new values `aba` and `swift` on enum `OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferRequestedAddressTypes` - * Add support for new value `us_bank_transfer` on enum `OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferType` - * Add support for `SetPauseCollection` on `QuoteLine`, `QuoteLinesParams`, and `SubscriptionScheduleAmendAmendmentsParams` - * Add support for new value `pause_collection_start` on enums `QuoteSubscriptionDataBillOnAcceptanceBillFromType` and `QuoteSubscriptionDataOverridesBillOnAcceptanceBillFromType` - * Add support for `PauseCollection` on `SubscriptionSchedulePhasesParams` and `SubscriptionSchedulePhases` - * Add support for `LocalAmusementTax` on `TaxRegistrationCountryOptionsUsParams` and `TaxRegistrationCountryOptionsUs` - * Remove support for `Locations` on `TaxSettingsParams` and `TaxSettings` -* [#1659](https://github.com/stripe/stripe-go/pull/1659) Update generated code for beta -* [#1663](https://github.com/stripe/stripe-go/pull/1663) Handle developer message in preview error responses -* [#1648](https://github.com/stripe/stripe-go/pull/1648) Introduce stripe.RawRequest as a canonical way to request APIs without definitions +* [#1665](https://github.com/stripe/stripe-go/pull/1665) Update generated code for beta + * Add support for `SubscriptionDetails` on `Invoice` + * Add support for new values `aba` and `swift` on enum `OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferRequestedAddressTypes` + * Add support for new value `us_bank_transfer` on enum `OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferType` + * Add support for `SetPauseCollection` on `QuoteLine`, `QuoteLinesParams`, and `SubscriptionScheduleAmendAmendmentsParams` + * Add support for new value `pause_collection_start` on enums `QuoteSubscriptionDataBillOnAcceptanceBillFromType` and `QuoteSubscriptionDataOverridesBillOnAcceptanceBillFromType` + * Add support for `PauseCollection` on `SubscriptionSchedulePhasesParams` and `SubscriptionSchedulePhases` + * Add support for `LocalAmusementTax` on `TaxRegistrationCountryOptionsUsParams` and `TaxRegistrationCountryOptionsUs` + * Remove support for `Locations` on `TaxSettingsParams` and `TaxSettings` +* [#1659](https://github.com/stripe/stripe-go/pull/1659) Update generated code for beta +* [#1663](https://github.com/stripe/stripe-go/pull/1663) Handle developer message in preview error responses +* [#1648](https://github.com/stripe/stripe-go/pull/1648) Introduce stripe.RawRequest as a canonical way to request APIs without definitions * Please refer to the [Custom Requests README section](https://github.com/stripe/stripe-go/tree/beta#custom-requests) for usage instructions. ## 74.21.0 - 2023-06-01 -* [#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` -* [#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` -* [#1661](https://github.com/stripe/stripe-go/pull/1661) Generate error codes +* [#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` +* [#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` +* [#1661](https://github.com/stripe/stripe-go/pull/1661) Generate error codes * [#1660](https://github.com/stripe/stripe-go/pull/1660) Update generated code ## 74.21.0-beta.1 - 2023-05-25 -* [#1659](https://github.com/stripe/stripe-go/pull/1659) Update generated code for beta - -* [#1663](https://github.com/stripe/stripe-go/pull/1663) Handle developer message in preview error responses +* [#1659](https://github.com/stripe/stripe-go/pull/1659) Update generated code for beta + +* [#1663](https://github.com/stripe/stripe-go/pull/1663) Handle developer message in preview error responses * [#1648](https://github.com/stripe/stripe-go/pull/1648) Introduce stripe.RawRequest as a canonical way to request APIs without definitions ## 74.20.0 - 2023-05-25 -* [#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` -* [#1661](https://github.com/stripe/stripe-go/pull/1661) Generate error codes +* [#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` +* [#1661](https://github.com/stripe/stripe-go/pull/1661) Generate error codes * [#1660](https://github.com/stripe/stripe-go/pull/1660) Update generated code ## 74.20.0-beta.1 - 2023-05-19 -* [#1658](https://github.com/stripe/stripe-go/pull/1658) Update generated code for beta - * Add support for `Subscribe` and `Unsubscribe` methods on resource `FinancialConnections.Account` - * Add support for `NextRefreshAvailableAt` on `FinancialConnectionsAccountBalanceRefresh`, `FinancialConnectionsAccountInferredBalancesRefresh`, `FinancialConnectionsAccountOwnershipRefresh`, and `FinancialConnectionsAccountTransactionRefresh` +* [#1658](https://github.com/stripe/stripe-go/pull/1658) Update generated code for beta + * Add support for `Subscribe` and `Unsubscribe` methods on resource `FinancialConnections.Account` + * Add support for `NextRefreshAvailableAt` on `FinancialConnectionsAccountBalanceRefresh`, `FinancialConnectionsAccountInferredBalancesRefresh`, `FinancialConnectionsAccountOwnershipRefresh`, and `FinancialConnectionsAccountTransactionRefresh` * Add support for `StatusDetails` and `Status` on `TaxSettings` ## 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` +* [#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.19.0-beta.1 - 2023-05-11 -* [#1654](https://github.com/stripe/stripe-go/pull/1654) Update generated code for beta - * Add support for `PayerEmail`, `PayerName`, and `SellerProtection` on `ChargePaymentMethodDetailsPaypal` - * Add support for `CaptureMethod`, `PreferredLocale`, `ReferenceID`, and `SetupFutureUsage` on `CheckoutSessionPaymentMethodOptionsPaypalParams` - * Add support for `Reference` on `CheckoutSessionPaymentMethodOptionsPaypalParams`, `OrderPaymentSettingsPaymentMethodOptionsPaypalParams`, `OrderPaymentSettingsPaymentMethodOptionsPaypal`, `PaymentIntentConfirmPaymentMethodOptionsPaypalParams`, `PaymentIntentPaymentMethodOptionsPaypalParams`, and `PaymentIntentPaymentMethodOptionsPaypal` - * Add support for `RiskCorrelationID` on `CheckoutSessionPaymentMethodOptionsPaypalParams`, `OrderPaymentSettingsPaymentMethodOptionsPaypalParams`, `PaymentIntentConfirmPaymentMethodOptionsPaypalParams`, and `PaymentIntentPaymentMethodOptionsPaypalParams` - * Remove support for `BillingAgreementID` and `Currency` on `CheckoutSessionPaymentMethodOptionsPaypalParams` - * Add support for `Fingerprint`, `PayerID`, and `VerifiedEmail` on `MandatePaymentMethodDetailsPaypal` and `PaymentMethodPaypal` - * Add support for `TaxabilityReason` and `TaxableAmount` on `OrderShippingCostTaxes`, `OrderTotalDetailsBreakdownTaxes`, and `QuotePhaseTotalDetailsBreakdownTaxes` +* [#1654](https://github.com/stripe/stripe-go/pull/1654) Update generated code for beta + * Add support for `PayerEmail`, `PayerName`, and `SellerProtection` on `ChargePaymentMethodDetailsPaypal` + * Add support for `CaptureMethod`, `PreferredLocale`, `ReferenceID`, and `SetupFutureUsage` on `CheckoutSessionPaymentMethodOptionsPaypalParams` + * Add support for `Reference` on `CheckoutSessionPaymentMethodOptionsPaypalParams`, `OrderPaymentSettingsPaymentMethodOptionsPaypalParams`, `OrderPaymentSettingsPaymentMethodOptionsPaypal`, `PaymentIntentConfirmPaymentMethodOptionsPaypalParams`, `PaymentIntentPaymentMethodOptionsPaypalParams`, and `PaymentIntentPaymentMethodOptionsPaypal` + * Add support for `RiskCorrelationID` on `CheckoutSessionPaymentMethodOptionsPaypalParams`, `OrderPaymentSettingsPaymentMethodOptionsPaypalParams`, `PaymentIntentConfirmPaymentMethodOptionsPaypalParams`, and `PaymentIntentPaymentMethodOptionsPaypalParams` + * Remove support for `BillingAgreementID` and `Currency` on `CheckoutSessionPaymentMethodOptionsPaypalParams` + * Add support for `Fingerprint`, `PayerID`, and `VerifiedEmail` on `MandatePaymentMethodDetailsPaypal` and `PaymentMethodPaypal` + * Add support for `TaxabilityReason` and `TaxableAmount` on `OrderShippingCostTaxes`, `OrderTotalDetailsBreakdownTaxes`, and `QuotePhaseTotalDetailsBreakdownTaxes` * Add support for `HeadOffice` on `TaxSettingsParams` and `TaxSettings` ## 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` +* [#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.18.0-beta.1 - 2023-05-04 -* [#1651](https://github.com/stripe/stripe-go/pull/1651) Update generated code for beta +* [#1651](https://github.com/stripe/stripe-go/pull/1651) Update generated code for beta * Updated stable APIs to the latest version ## 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` +* [#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.17.0-beta.1 - 2023-04-27 -* [#1645](https://github.com/stripe/stripe-go/pull/1645) Update generated code for beta - * 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` +* [#1645](https://github.com/stripe/stripe-go/pull/1645) Update generated code for beta + * 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` * Change type of `TaxRegistrationActiveFromParams` and `TaxRegistrationExpiresAtParams` from `longInteger` to `longInteger | literal('now')` ## 74.16.0 - 2023-04-27 -* [#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` -* [#1643](https://github.com/stripe/stripe-go/pull/1643) Update generated code - -* [#1640](https://github.com/stripe/stripe-go/pull/1640) 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` +* [#1643](https://github.com/stripe/stripe-go/pull/1643) Update generated code + +* [#1640](https://github.com/stripe/stripe-go/pull/1640) Update generated code * Release specs are identical. ## 74.16.0-beta.3 - 2023-04-20 -* [#1642](https://github.com/stripe/stripe-go/pull/1642) Update generated code for beta - * Add support for `Zip` on `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptionsParams`, and `PaymentIntentPaymentMethodOptions` - * Add support for `CountryOptions` on `TaxRegistrationParams` and `TaxRegistration` +* [#1642](https://github.com/stripe/stripe-go/pull/1642) Update generated code for beta + * Add support for `Zip` on `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptionsParams`, and `PaymentIntentPaymentMethodOptions` + * Add support for `CountryOptions` on `TaxRegistrationParams` and `TaxRegistration` * Remove support for `State` and `Type` on `TaxRegistrationParams` and `TaxRegistration` ## 74.16.0-beta.2 - 2023-04-13 -* [#1639](https://github.com/stripe/stripe-go/pull/1639) Update generated code for beta - * Add support for `CollectPaymentMethod` and `ConfirmPaymentIntent` methods on resource `Terminal.Reader` - * Add support for `PaypalPayments` on `AccountCapabilitiesParams` and `AccountCapabilities` - * Add support for new value `REVOIE23` on enums `ChargePaymentMethodDetailsIdealBic`, `PaymentMethodIdealBic`, and `SetupAttemptPaymentMethodDetailsIdealBic` - * Add support for `CollectPaymentMethod` and `ConfirmPaymentIntent` on `TerminalReaderAction` - * Add support for `StripeAccount` on `TerminalReaderActionProcessPaymentIntent` and `TerminalReaderActionRefundPayment` +* [#1639](https://github.com/stripe/stripe-go/pull/1639) Update generated code for beta + * Add support for `CollectPaymentMethod` and `ConfirmPaymentIntent` methods on resource `Terminal.Reader` + * Add support for `PaypalPayments` on `AccountCapabilitiesParams` and `AccountCapabilities` + * Add support for new value `REVOIE23` on enums `ChargePaymentMethodDetailsIdealBic`, `PaymentMethodIdealBic`, and `SetupAttemptPaymentMethodDetailsIdealBic` + * Add support for `CollectPaymentMethod` and `ConfirmPaymentIntent` on `TerminalReaderAction` + * Add support for `StripeAccount` on `TerminalReaderActionProcessPaymentIntent` and `TerminalReaderActionRefundPayment` * Add support for new values `collect_payment_method` and `confirm_payment_intent` on enum `TerminalReaderActionType` ## 74.16.0-beta.1 - 2023-04-06 -* [#1637](https://github.com/stripe/stripe-go/pull/1637) Update generated code for beta - * Add support for `TreasuryTransaction` on `CapitalFinancingTransactionListParams` - * Add support for `Transaction` on `CapitalFinancingTransactionDetails` +* [#1637](https://github.com/stripe/stripe-go/pull/1637) Update generated code for beta + * Add support for `TreasuryTransaction` on `CapitalFinancingTransactionListParams` + * Add support for `Transaction` on `CapitalFinancingTransactionDetails` * Add support for new value `link` on enum `PaymentMethodCardWalletType` ## 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` +* [#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.15.0-beta.1 - 2023-03-30 -* [#1634](https://github.com/stripe/stripe-go/pull/1634) Update generated code +* [#1634](https://github.com/stripe/stripe-go/pull/1634) Update generated code * Add support for new value `ioss` on enum `TaxRegistrationType` ## 74.14.0 - 2023-03-30 -* [#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` -* [#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) +* [#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` +* [#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. ## 74.14.0-beta.1 - 2023-03-23 -* [#1623](https://github.com/stripe/stripe-go/pull/1623) Update generated code for beta (new) - * Add support for new resources `Tax.CalculationLineItem` and `Tax.TransactionLineItem` - * Add support for `CollectInputs` method on resource `Terminal.Reader` - * Add support for `FinancingOffer` on `CapitalFinancingSummary` - * Add support for `FxRate` on `CheckoutSessionCurrencyConversion` - * Add support for new value `link` on enum `PaymentLinkPaymentMethodTypes` - * Add support for `AutomaticPaymentMethods` on `SetupIntentParams` and `SetupIntent` - * Remove support for `Preview` on `TaxCalculationParams` - * Add support for `TaxBreakdown` on `TaxCalculation` - * Remove support for `TaxSummary` on `TaxCalculation` - * Change type of `TaxCalculationLineItems` from `$LineItem` to `$Tax.CalculationLineItem` - * Change type of `TaxTransactionLineItems` from `$LineItem` to `$Tax.TransactionLineItem` - * Add support for `CollectInputs` on `TerminalReaderAction` +* [#1623](https://github.com/stripe/stripe-go/pull/1623) Update generated code for beta (new) + * Add support for new resources `Tax.CalculationLineItem` and `Tax.TransactionLineItem` + * Add support for `CollectInputs` method on resource `Terminal.Reader` + * Add support for `FinancingOffer` on `CapitalFinancingSummary` + * Add support for `FxRate` on `CheckoutSessionCurrencyConversion` + * Add support for new value `link` on enum `PaymentLinkPaymentMethodTypes` + * Add support for `AutomaticPaymentMethods` on `SetupIntentParams` and `SetupIntent` + * Remove support for `Preview` on `TaxCalculationParams` + * Add support for `TaxBreakdown` on `TaxCalculation` + * Remove support for `TaxSummary` on `TaxCalculation` + * Change type of `TaxCalculationLineItems` from `$LineItem` to `$Tax.CalculationLineItem` + * Change type of `TaxTransactionLineItems` from `$LineItem` to `$Tax.TransactionLineItem` + * Add support for `CollectInputs` on `TerminalReaderAction` * Add support for new value `collect_inputs` on enum `TerminalReaderActionType` ## 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` +* [#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.13.0-beta.1 - 2023-03-16 -* [#1621](https://github.com/stripe/stripe-go/pull/1621) API Updates - * Add support for `CreateFromCalculation` method on resource `Tax.Transaction` - * Change type of `InvoiceAppliesTo` from `nullable(QuotesResourceQuoteLinesAppliesTo)` to `QuotesResourceQuoteLinesAppliesTo` - * Add support for `Paypal` on `MandatePaymentMethodDetails`, `SetupAttemptPaymentMethodDetails`, `SetupIntentConfirmPaymentMethodOptionsParams`, `SetupIntentPaymentMethodOptionsParams`, and `SetupIntentPaymentMethodOptions` - * Add support for `SetupFutureUsage` on `OrderPaymentSettingsPaymentMethodOptionsPaypalParams`, `OrderPaymentSettingsPaymentMethodOptionsPaypal`, `PaymentIntentConfirmPaymentMethodOptionsPaypalParams`, `PaymentIntentPaymentMethodOptionsPaypalParams`, and `PaymentIntentPaymentMethodOptionsPaypal` - * Add support for new value `automatic_async` on enums `OrderPaymentSettingsPaymentMethodOptionsAfterpayClearpayCaptureMethod` and `OrderPaymentSettingsPaymentMethodOptionsCardCaptureMethod` - * Remove support for `AppliesTo` on `QuotePreviewInvoiceLinesParams` - * Add support for `ShippingCost` on `TaxCalculationParams`, `TaxCalculation`, `TaxTransactionCreateReversalParams`, and `TaxTransaction` - * Add support for `TaxBreakdown` on `TaxCalculation` - * Remove support for `TaxSummary` on `TaxCalculation` - +* [#1621](https://github.com/stripe/stripe-go/pull/1621) API Updates + * Add support for `CreateFromCalculation` method on resource `Tax.Transaction` + * Change type of `InvoiceAppliesTo` from `nullable(QuotesResourceQuoteLinesAppliesTo)` to `QuotesResourceQuoteLinesAppliesTo` + * Add support for `Paypal` on `MandatePaymentMethodDetails`, `SetupAttemptPaymentMethodDetails`, `SetupIntentConfirmPaymentMethodOptionsParams`, `SetupIntentPaymentMethodOptionsParams`, and `SetupIntentPaymentMethodOptions` + * Add support for `SetupFutureUsage` on `OrderPaymentSettingsPaymentMethodOptionsPaypalParams`, `OrderPaymentSettingsPaymentMethodOptionsPaypal`, `PaymentIntentConfirmPaymentMethodOptionsPaypalParams`, `PaymentIntentPaymentMethodOptionsPaypalParams`, and `PaymentIntentPaymentMethodOptionsPaypal` + * Add support for new value `automatic_async` on enums `OrderPaymentSettingsPaymentMethodOptionsAfterpayClearpayCaptureMethod` and `OrderPaymentSettingsPaymentMethodOptionsCardCaptureMethod` + * Remove support for `AppliesTo` on `QuotePreviewInvoiceLinesParams` + * Add support for `ShippingCost` on `TaxCalculationParams`, `TaxCalculation`, `TaxTransactionCreateReversalParams`, and `TaxTransaction` + * Add support for `TaxBreakdown` on `TaxCalculation` + * Remove support for `TaxSummary` on `TaxCalculation` + * [#1620](https://github.com/stripe/stripe-go/pull/1620) Merge upstream master ## 74.12.0 - 2023-03-16 -* [#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` - - -* [#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` + + +* [#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` * [#1618](https://github.com/stripe/stripe-go/pull/1618) Install goimports before trying to run it ## 74.12.0-beta.1 - 2023-03-09 -* [#1617](https://github.com/stripe/stripe-go/pull/1617) API Updates for beta branch - * Updated stable APIs to the latest version - * Remove support for `ListTransactions` method on resource `Tax.Transaction` - * Add support for `UpdateBehavior` on `SubscriptionPrebillingParams`, `SubscriptionPrebilling`, `SubscriptionSchedulePrebillingParams`, and `SubscriptionSchedulePrebilling` - * Add support for `Prebilling` on `SubscriptionScheduleAmendParams` - * Change type of `SubscriptionScheduleAppliesTo` from `nullable(QuotesResourceQuoteLinesAppliesTo)` to `QuotesResourceQuoteLinesAppliesTo` - * Add support for `TaxabilityOverride` on `TaxCalculationCustomerDetailsParams`, `TaxCalculationCustomerDetails`, and `TaxTransactionCustomerDetails` - * Add support for `TaxSummary` on `TaxCalculation` - * Remove support for `TaxBreakdown` on `TaxCalculation` +* [#1617](https://github.com/stripe/stripe-go/pull/1617) API Updates for beta branch + * Updated stable APIs to the latest version + * Remove support for `ListTransactions` method on resource `Tax.Transaction` + * Add support for `UpdateBehavior` on `SubscriptionPrebillingParams`, `SubscriptionPrebilling`, `SubscriptionSchedulePrebillingParams`, and `SubscriptionSchedulePrebilling` + * Add support for `Prebilling` on `SubscriptionScheduleAmendParams` + * Change type of `SubscriptionScheduleAppliesTo` from `nullable(QuotesResourceQuoteLinesAppliesTo)` to `QuotesResourceQuoteLinesAppliesTo` + * Add support for `TaxabilityOverride` on `TaxCalculationCustomerDetailsParams`, `TaxCalculationCustomerDetails`, and `TaxTransactionCustomerDetails` + * Add support for `TaxSummary` on `TaxCalculation` + * Remove support for `TaxBreakdown` on `TaxCalculation` * Add support for `TaxBehavior` on `TaxSettingsDefaultsParams` and `TaxSettingsDefaults` ## 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` +* [#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.11.0-beta.1 - 2023-03-02 -* [#1615](https://github.com/stripe/stripe-go/pull/1615) API Updates for beta branch - * Updated stable APIs to the latest version - * Add support for new resources `Issuing.CardBundle` and `Issuing.CardDesign` - * Add support for `Get` and `List` methods on resource `CardBundle` - * Add support for `Get`, `List`, and `Update` methods on resource `CardDesign` - * Remove support for `Controller` on `AccountParams` +* [#1615](https://github.com/stripe/stripe-go/pull/1615) API Updates for beta branch + * Updated stable APIs to the latest version + * Add support for new resources `Issuing.CardBundle` and `Issuing.CardDesign` + * Add support for `Get` and `List` methods on resource `CardBundle` + * Add support for `Get`, `List`, and `Update` methods on resource `CardDesign` + * Remove support for `Controller` on `AccountParams` * Add support for `CardDesign` on `IssuingCardParams` and `IssuingCard` ## 74.10.0 - 2023-03-02 -* [#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` - -* [#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` + +* [#1613](https://github.com/stripe/stripe-go/pull/1613) Update golang.org/x/net * [#1611](https://github.com/stripe/stripe-go/pull/1611) Run goimports on generated test suite ## 74.10.0-beta.1 - 2023-02-23 -* [#1610](https://github.com/stripe/stripe-go/pull/1610) API Updates for beta branch - * Updated stable APIs to the latest version - * Add support for `ManualEntry` on `CheckoutSessionPaymentMethodOptionsUsBankAccountFinancialConnections`, `PaymentIntentConfirmPaymentMethodOptionsUsBankAccountFinancialConnectionsParams`, `PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsParams`, `PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnections`, `SetupIntentConfirmPaymentMethodOptionsUsBankAccountFinancialConnectionsParams`, `SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsParams`, and `SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnections` +* [#1610](https://github.com/stripe/stripe-go/pull/1610) API Updates for beta branch + * Updated stable APIs to the latest version + * Add support for `ManualEntry` on `CheckoutSessionPaymentMethodOptionsUsBankAccountFinancialConnections`, `PaymentIntentConfirmPaymentMethodOptionsUsBankAccountFinancialConnectionsParams`, `PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsParams`, `PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnections`, `SetupIntentConfirmPaymentMethodOptionsUsBankAccountFinancialConnectionsParams`, `SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsParams`, and `SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnections` * Add support for new value `igst` on enum `TaxCalculationTaxBreakdownTaxRateDetailsTaxType` ## 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` +* [#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.9.0-beta.1 - 2023-02-16 -* [#1608](https://github.com/stripe/stripe-go/pull/1608) API Updates for beta branch - * Updated stable APIs to the latest version - * Add support for `CurrencyConversion` on `CheckoutSession` - * Add support for `Limits` on `FinancialConnectionsSessionParams` and `FinancialConnectionsSession` - * Remove support for `Enabled` on `FinancialConnectionsSessionManualEntryParams` - * Change type of `QuoteStatusDetailsCanceled` from `nullable(QuotesResourceStatusDetailsCanceledStatusDetails)` to `QuotesResourceStatusDetailsCanceledStatusDetails` - * Change type of `QuoteStatusDetailsStale` from `nullable(QuotesResourceStatusDetailsStaleStatusDetails)` to `QuotesResourceStatusDetailsStaleStatusDetails` - * Remove support for `Reference` on `TaxCalculationParams` and `TaxCalculation` +* [#1608](https://github.com/stripe/stripe-go/pull/1608) API Updates for beta branch + * Updated stable APIs to the latest version + * Add support for `CurrencyConversion` on `CheckoutSession` + * Add support for `Limits` on `FinancialConnectionsSessionParams` and `FinancialConnectionsSession` + * Remove support for `Enabled` on `FinancialConnectionsSessionManualEntryParams` + * Change type of `QuoteStatusDetailsCanceled` from `nullable(QuotesResourceStatusDetailsCanceledStatusDetails)` to `QuotesResourceStatusDetailsCanceledStatusDetails` + * Change type of `QuoteStatusDetailsStale` from `nullable(QuotesResourceStatusDetailsStaleStatusDetails)` to `QuotesResourceStatusDetailsStaleStatusDetails` + * Remove support for `Reference` on `TaxCalculationParams` and `TaxCalculation` * Add support for `Reference` on `TaxTransactionParams` ## 74.8.0 - 2023-02-16 -* [#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` -* [#1607](https://github.com/stripe/stripe-go/pull/1607) fix: deterministic encoding -* [#1603](https://github.com/stripe/stripe-go/pull/1603) Add an example of client mocking +* [#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` +* [#1607](https://github.com/stripe/stripe-go/pull/1607) fix: deterministic encoding +* [#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 ## 74.8.0-beta.1 - 2023-02-02 -* [#1601](https://github.com/stripe/stripe-go/pull/1601) API Updates for beta branch - * Updated stable APIs to the latest version - * Add support for new resource `FinancialConnections.Transaction` - * Add support for `List` method on resource `Transaction` - * Add support for `Prefetch` on `-PaymentMethodOptionsUsBankAccountFinancialConnectionsParams` and `-PaymentMethodOptionsUsBankAccountFinancialConnections` across several APIs. - * * Add support for `InferredBalancesRefresh`, `Subscriptions`, and `TransactionRefresh` on `FinancialConnectionsAccount` - * Add support for `ManualEntry` on `FinancialConnectionsSessionParams` and `FinancialConnectionsSession` - * Add support for `StatusDetails` and `Status` on `FinancialConnectionsSession` - * Add support for new value `ownership` on enums `InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPermissions` and `SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPermissions` - * Add support for `AccountNumber` on `PaymentMethodUsBankAccount` +* [#1601](https://github.com/stripe/stripe-go/pull/1601) API Updates for beta branch + * Updated stable APIs to the latest version + * Add support for new resource `FinancialConnections.Transaction` + * Add support for `List` method on resource `Transaction` + * Add support for `Prefetch` on `-PaymentMethodOptionsUsBankAccountFinancialConnectionsParams` and `-PaymentMethodOptionsUsBankAccountFinancialConnections` across several APIs. + * * Add support for `InferredBalancesRefresh`, `Subscriptions`, and `TransactionRefresh` on `FinancialConnectionsAccount` + * Add support for `ManualEntry` on `FinancialConnectionsSessionParams` and `FinancialConnectionsSession` + * Add support for `StatusDetails` and `Status` on `FinancialConnectionsSession` + * Add support for new value `ownership` on enums `InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPermissions` and `SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPermissions` + * Add support for `AccountNumber` on `PaymentMethodUsBankAccount` * Remove support for `ID` on `QuoteLinesStartsAtLineEndsAtParams` ## 74.7.0 - 2023-02-02 -* [#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` - +* [#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` + * [#1562](https://github.com/stripe/stripe-go/pull/1562) add missing verify with micro-deposits next action ## 74.7.0-beta.2 - 2023-01-26 -* [#1598](https://github.com/stripe/stripe-go/pull/1598) API Updates for beta branch - * Updated stable APIs to the latest version - * Add support for `ListTransactions` method on resource `Tax.Transaction` - * Add support for `BillingAgreementID` on `CheckoutSessionPaymentMethodOptionsPaypalParams` +* [#1598](https://github.com/stripe/stripe-go/pull/1598) API Updates for beta branch + * Updated stable APIs to the latest version + * Add support for `ListTransactions` method on resource `Tax.Transaction` + * Add support for `BillingAgreementID` on `CheckoutSessionPaymentMethodOptionsPaypalParams` * Change type of `QuoteSubscriptionDataOverridesParams` from `array(create_specs)` to `emptyStringable(array(update_specs))` ## 74.7.0-beta.1 - 2023-01-19 -* [#1596](https://github.com/stripe/stripe-go/pull/1596) API Updates for beta branch - * Updated stable APIs to the latest version +* [#1596](https://github.com/stripe/stripe-go/pull/1596) API Updates for beta branch + * Updated stable APIs to the latest version * Add support for `Tax.Settings` resource. ## 74.6.0 - 2023-01-19 -* [#1595](https://github.com/stripe/stripe-go/pull/1595) API Updates - * Add support for `VerificationSession` on `EphemeralKeyParams` +* [#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.6.0-beta.2 - 2023-01-12 -* [#1591](https://github.com/stripe/stripe-go/pull/1591) API Updates for beta branch - * Updated stable APIs to the latest version - * Add support for new resource `Tax.Registration` - * Add support for `List`, `New`, and `Update` methods on resource `Registration` - * Add support for `Controller` on `AccountParams` - * Add support for `Application` and `Dashboard` on `AccountController` - * Remove support for `Timestamp` on `QuoteLineActionsAddDiscountDiscountEnd` - * Change type of `QuoteLineActionsAddDiscountDiscountEndType` from `literal('timestamp')` to `literal('line_ends_at')` +* [#1591](https://github.com/stripe/stripe-go/pull/1591) API Updates for beta branch + * Updated stable APIs to the latest version + * Add support for new resource `Tax.Registration` + * Add support for `List`, `New`, and `Update` methods on resource `Registration` + * Add support for `Controller` on `AccountParams` + * Add support for `Application` and `Dashboard` on `AccountController` + * Remove support for `Timestamp` on `QuoteLineActionsAddDiscountDiscountEnd` + * Change type of `QuoteLineActionsAddDiscountDiscountEndType` from `literal('timestamp')` to `literal('line_ends_at')` * Remove support for `Index` on `QuoteLineActionsAddItemDiscounts`, `QuoteLineActionsRemoveDiscount`, `QuoteLineActionsSetDiscounts`, `QuoteLineActionsSetItemsDiscounts`, `SubscriptionSchedulePhasesAddInvoiceItemsDiscounts`, `SubscriptionSchedulePhasesDiscounts`, and `SubscriptionSchedulePhasesItemsDiscounts` ## 74.6.0-beta.1 - 2023-01-05 -* [#1589](https://github.com/stripe/stripe-go/pull/1589) API Updates for beta branch - * Updated stable APIs to the latest version - * Add support for `MarkStaleQuote` method on resource `Quote` - * Add support for `Duration` and `LineEndsAt` on `QuoteSubscriptionDataBillOnAcceptanceBillUntilParams` and `QuoteSubscriptionDataOverridesBillOnAcceptanceBillUntilParams` - * Remove support for `LineStartsAt` on `QuoteSubscriptionDataBillOnAcceptanceBillUntilParams` and `QuoteSubscriptionDataOverridesBillOnAcceptanceBillUntilParams` +* [#1589](https://github.com/stripe/stripe-go/pull/1589) API Updates for beta branch + * Updated stable APIs to the latest version + * Add support for `MarkStaleQuote` method on resource `Quote` + * Add support for `Duration` and `LineEndsAt` on `QuoteSubscriptionDataBillOnAcceptanceBillUntilParams` and `QuoteSubscriptionDataOverridesBillOnAcceptanceBillUntilParams` + * Remove support for `LineStartsAt` on `QuoteSubscriptionDataBillOnAcceptanceBillUntilParams` and `QuoteSubscriptionDataOverridesBillOnAcceptanceBillUntilParams` * Add support for `Metadata` on `TerminalReaderActionRefundPayment` and `TerminalReaderRefundPaymentParams` ## 74.5.0 - 2023-01-05 -* [#1588](https://github.com/stripe/stripe-go/pull/1588) API Updates +* [#1588](https://github.com/stripe/stripe-go/pull/1588) API Updates * Add support for `CardIssuing` on `IssuingCardholderIndividual` ## 74.5.0-beta.1 - 2022-12-22 -* [#1587](https://github.com/stripe/stripe-go/pull/1587) API Updates for beta branch - * Updated stable APIs to the latest version +* [#1587](https://github.com/stripe/stripe-go/pull/1587) API Updates for beta branch + * Updated stable APIs to the latest version * Move `taxcalculation` package to `tax/calculation` package, and `taxtransaction` package to `tax/transaction` package. ## 74.4.0 - 2022-12-22 -* [#1586](https://github.com/stripe/stripe-go/pull/1586) API Updates - * Add support for `UsingMerchantDefault` on `CashBalanceSettings` +* [#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.4.0-beta.1 - 2022-12-15 -* [#1585](https://github.com/stripe/stripe-go/pull/1585) API Updates for beta branch - * Updated stable APIs to the latest version - * Add support for new resources `QuoteLine`, `TaxCalculation`, and `TaxTransaction` - * Add support for `ListLineItems` and `New` methods on resource `TaxCalculation` +* [#1585](https://github.com/stripe/stripe-go/pull/1585) API Updates for beta branch + * Updated stable APIs to the latest version + * Add support for new resources `QuoteLine`, `TaxCalculation`, and `TaxTransaction` + * Add support for `ListLineItems` and `New` methods on resource `TaxCalculation` * Add support for `CreateReversal`, `Get`, and `New` methods on resource `TaxTransaction` ## 74.3.0 - 2022-12-15 -* [#1584](https://github.com/stripe/stripe-go/pull/1584) API Updates - * Add support for new value `invoice_overpaid` on enum `CustomerBalanceTransactionType` +* [#1584](https://github.com/stripe/stripe-go/pull/1584) API Updates + * Add support for new value `invoice_overpaid` on enum `CustomerBalanceTransactionType` * [#1581](https://github.com/stripe/stripe-go/pull/1581) API Updates ## 74.3.0-beta.1 - 2022-12-08 -* [#1582](https://github.com/stripe/stripe-go/pull/1582) API Updates for beta branch - * Updated stable APIs to the latest version -* [#1580](https://github.com/stripe/stripe-go/pull/1580) API Updates for beta branch +* [#1582](https://github.com/stripe/stripe-go/pull/1582) API Updates for beta branch + * Updated stable APIs to the latest version +* [#1580](https://github.com/stripe/stripe-go/pull/1580) API Updates for beta branch * Updated stable APIs to the latest version ## 74.2.0 - 2022-12-06 -* [#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` +* [#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` * [#1575](https://github.com/stripe/stripe-go/pull/1575) Add version to go reference path ## 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` +* [#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-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://stripe.com/docs/upgrades#2022-11-15. - -"⚠️" symbol highlights breaking changes. - -⚠️ Removed -- Removed deprecated `sku` resource (#1557) -- Removed `lineitem.Product` property that was released by mistake. (#1555) -- Removed deprecated `CheckoutSessionSubscriptionDataParams.Items` field. (#1555) -- Removed deprecated `EphemeralKey.AssociatedObjects` field. (#1566) -- Removed deprecated `Amount`, `Currency`, `Description`, `Images`, `Name` properties from `CheckoutSessionLineItemParams` (https://github.com/stripe/stripe-go/pull/1570) -- Removed `Charges` field on `PaymentIntent` and replace it with `LatestCharge`. (https://github.com/stripe/stripe-go/pull/1570) -- Dropped support for Go versions less than 1.15 (#1554) + +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://stripe.com/docs/upgrades#2022-11-15. + +"⚠️" symbol highlights breaking changes. + +⚠️ Removed +- Removed deprecated `sku` resource (#1557) +- Removed `lineitem.Product` property that was released by mistake. (#1555) +- Removed deprecated `CheckoutSessionSubscriptionDataParams.Items` field. (#1555) +- Removed deprecated `EphemeralKey.AssociatedObjects` field. (#1566) +- Removed deprecated `Amount`, `Currency`, `Description`, `Images`, `Name` properties from `CheckoutSessionLineItemParams` (https://github.com/stripe/stripe-go/pull/1570) +- Removed `Charges` field on `PaymentIntent` and replace it with `LatestCharge`. (https://github.com/stripe/stripe-go/pull/1570) +- Dropped support for Go versions less than 1.15 (#1554) - Remove support for `TOSShownAndAccepted` on `CheckoutSessionPaymentMethodOptionsPaynowParams`. The property was mistakenly released and never worked ([#1571](https://github.com/stripe/stripe-go/pull/1571)). ## 73.17.0-beta.1 - 2022-11-10 -* [#1572](https://github.com/stripe/stripe-go/pull/1572) API Updates for beta branch - * Updated stable APIs to the latest version - * Add support for `DiscountEnd` on `*DiscountParams`. +* [#1572](https://github.com/stripe/stripe-go/pull/1572) API Updates for beta branch + * Updated stable APIs to the latest version + * Add support for `DiscountEnd` on `*DiscountParams`. * Add support for `URL` on `IssuingAuthorizationMerchantData`. ## 73.16.0 - 2022-11-08 -* [#1568](https://github.com/stripe/stripe-go/pull/1568) API Updates - * Add support for `ReasonMessage` on `IssuingAuthorizationRequestHistory` +* [#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` +* [#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.15.0-beta.2 - 2022-11-02 -* [#1564](https://github.com/stripe/stripe-go/pull/1564) API Updates for beta branch +* [#1564](https://github.com/stripe/stripe-go/pull/1564) API Updates for beta branch * Updated stable APIs to the latest version ## 73.15.0-beta.1 - 2022-10-21 -* [#1561](https://github.com/stripe/stripe-go/pull/1561) API Updates for beta branch - * Updated stable APIs to the latest version - * Add support for `Paypal` on `ChargePaymentMethodDetails` and `Source` - * Add support for `NetworkData` on `IssuingTransaction` - * Add support for new value `paypal` on enum `SourceType` +* [#1561](https://github.com/stripe/stripe-go/pull/1561) API Updates for beta branch + * Updated stable APIs to the latest version + * Add support for `Paypal` on `ChargePaymentMethodDetails` and `Source` + * Add support for `NetworkData` on `IssuingTransaction` + * Add support for new value `paypal` on enum `SourceType` * Add support for `BillingCycleAnchor` on `SubscriptionScheduleAmendAmendmentsParams` ## 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` +* [#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.14.0-beta.1 - 2022-10-14 -* [#1559](https://github.com/stripe/stripe-go/pull/1559) API Updates for beta branch - * Updated stable APIs to the latest version +* [#1559](https://github.com/stripe/stripe-go/pull/1559) API Updates for beta branch + * Updated stable APIs to the latest version * Add support for `ScheduleSettings` on `SubscriptionScheduleAmendParams` ## 73.13.0 - 2022-10-13 -* [#1558](https://github.com/stripe/stripe-go/pull/1558) API Updates - * Add support for `NetworkData` on `IssuingAuthorization` +* [#1558](https://github.com/stripe/stripe-go/pull/1558) API Updates + * Add support for `NetworkData` on `IssuingAuthorization` * [#1553](https://github.com/stripe/stripe-go/pull/1553) Add RequestLogURL on Error ## 73.13.0-beta.1 - 2022-10-07 -* [#1552](https://github.com/stripe/stripe-go/pull/1552) API Updates for beta branch - * Updated stable APIs to the latest version - * Add `ReferenceID` to `OrderPaymentSettingsPaymentMethodOptionsPaypalParams` and `OrderPaymentSettingsPaymentMethodOptionsPaypal` +* [#1552](https://github.com/stripe/stripe-go/pull/1552) API Updates for beta branch + * Updated stable APIs to the latest version + * Add `ReferenceID` to `OrderPaymentSettingsPaymentMethodOptionsPaypalParams` and `OrderPaymentSettingsPaymentMethodOptionsPaypal` * Rename `CapitalFinancingSummaries` client to `CapitalFinancingSummary`. ## 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` +* [#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` +* [#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.11.0-beta.1 - 2022-09-26 -* [#1548](https://github.com/stripe/stripe-go/pull/1548) API Updates for beta branch - * Updated stable APIs to the latest version +* [#1548](https://github.com/stripe/stripe-go/pull/1548) API Updates for beta branch + * Updated stable APIs to the latest version * Add `FinancingOffer`, `FinancingSummary` and `FinancingTransaction` resources. ## 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. +* [#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 -* [#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` +* [#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` * [#1545](https://github.com/stripe/stripe-go/pull/1545) Export UnsignedPayload/SignedPayload fields ## 73.8.0 - 2022-09-09 -* [#1543](https://github.com/stripe/stripe-go/pull/1543) API Updates +* [#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 +* [#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 +* [#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 -* [#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` -* [#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` +* [#1536](https://github.com/stripe/stripe-go/pull/1536) Add test coverage using coveralls * [#1533](https://github.com/stripe/stripe-go/pull/1533) Update README.md to clarify that API version can only be change in beta ## 73.5.0-beta.1 - 2022-08-26 -* [#1535](https://github.com/stripe/stripe-go/pull/1535) API Updates for beta branch - * Updated stable APIs to the latest version +* [#1535](https://github.com/stripe/stripe-go/pull/1535) API Updates for beta branch + * Updated stable APIs to the latest version * Add support for the beta [Gift Card API](https://stripe.com/docs/gift-cards). ## 73.4.0 - 2022-08-23 -* [#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. +* [#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. * [#1530](https://github.com/stripe/stripe-go/pull/1530) Add beta readme.md section ## 73.4.0-beta.1 - 2022-08-23 -* [#1531](https://github.com/stripe/stripe-go/pull/1531) API Updates for beta branch - - Updated stable APIs to the latest version - - `Stripe-Version` beta headers are not pinned by-default and need to be manually specified, please refer to [beta SDKs README section](https://github.com/stripe/stripe-go/blob/master/README.md#beta-sdks) +* [#1531](https://github.com/stripe/stripe-go/pull/1531) API Updates for beta branch + - Updated stable APIs to the latest version + - `Stripe-Version` beta headers are not pinned by-default and need to be manually specified, please refer to [beta SDKs README section](https://github.com/stripe/stripe-go/blob/master/README.md#beta-sdks) * [#1529](https://github.com/stripe/stripe-go/pull/1529) Allow setting APIVersion ## 73.3.0 - 2022-08-19 -* [#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)` +* [#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)` * [#1526](https://github.com/stripe/stripe-go/pull/1526) Add a support section to the readme ## 73.3.0-beta.1 - 2022-08-11 -* [#1525](https://github.com/stripe/stripe-go/pull/1525) API Updates for beta branch - - Updated stable APIs to the latest version +* [#1525](https://github.com/stripe/stripe-go/pull/1525) API Updates for beta branch + - Updated stable APIs to the latest version - Add `RefundPayment` method to Terminal resource ## 73.2.0 - 2022-08-11 -* [#1524](https://github.com/stripe/stripe-go/pull/1524) API Updates +* [#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 -* [#1522](https://github.com/stripe/stripe-go/pull/1522) API Updates - * Add support for `ProcessConfig` on `TerminalReaderActionProcessPaymentIntent` -* [#1282](https://github.com/stripe/stripe-go/pull/1282) Miscellaneous fixes to README.md -* [#1520](https://github.com/stripe/stripe-go/pull/1520) Add GenerateTestSignedPayload to test webhook signing -* [#1402](https://github.com/stripe/stripe-go/pull/1402) Update testify version -* [#1519](https://github.com/stripe/stripe-go/pull/1519) API Updates +* [#1522](https://github.com/stripe/stripe-go/pull/1522) API Updates + * Add support for `ProcessConfig` on `TerminalReaderActionProcessPaymentIntent` +* [#1282](https://github.com/stripe/stripe-go/pull/1282) Miscellaneous fixes to README.md +* [#1520](https://github.com/stripe/stripe-go/pull/1520) Add GenerateTestSignedPayload to test webhook signing +* [#1402](https://github.com/stripe/stripe-go/pull/1402) Update testify version +* [#1519](https://github.com/stripe/stripe-go/pull/1519) API Updates * Add support for `ExpiresAt` on `AppsSecretParams` and `AppsSecret` ## 73.1.0-beta.1 - 2022-08-03 -* [#1514](https://github.com/stripe/stripe-go/pull/1514) API Updates for beta branch - - Updated stable APIs to the latest version +* [#1514](https://github.com/stripe/stripe-go/pull/1514) API Updates for beta branch + - Updated stable APIs to the latest version - Added the `Order` resource support ## 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 includes breaking changes resulting from: - -* Moving to use the new API version "2022-08-01". To learn more about these changes to Stripe products, see https://stripe.com/docs/upgrades#2022-08-01 -* 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-v74. - -"⚠️" symbol highlights breaking changes. - -* [#1513](https://github.com/stripe/stripe-go/pull/1513) API Updates + +This release includes breaking changes resulting from: + +* Moving to use the new API version "2022-08-01". To learn more about these changes to Stripe products, see https://stripe.com/docs/upgrades#2022-08-01 +* 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-v74. + +"⚠️" symbol highlights breaking changes. + +* [#1513](https://github.com/stripe/stripe-go/pull/1513) API Updates * [#1512](https://github.com/stripe/stripe-go/pull/1512) Next major release changes ## 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` +* [#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` +* [#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.121.0-beta.1 - 2022-07-22 -* [#1506](https://github.com/stripe/stripe-go/pull/1506) API Updates for beta branch - - Updated stable APIs to the latest version -* [#1503](https://github.com/stripe/stripe-go/pull/1503) API Updates for beta branch - - Updated stable APIs to the latest version - - Add `QuotePhase` resource -* [#1498](https://github.com/stripe/stripe-go/pull/1498) API Updates for beta branch - - Updated stable APIs to the latest version - - Add `Price.MigrateTo` property - - Add `SubscriptionSchedule.Amend` method. - - Add `Discount.SubscriptionItem` property. - - Add `Quote.SubscriptionData.BillingBehavior`, `BillingCycleAnchor`, `EndBehavior`, `FromSchedule`, `FromSubscription`, `Prebilling`, `ProrationBehavior` properties. - - Add `Phases` parameter to `Quote.Create` +* [#1506](https://github.com/stripe/stripe-go/pull/1506) API Updates for beta branch + - Updated stable APIs to the latest version +* [#1503](https://github.com/stripe/stripe-go/pull/1503) API Updates for beta branch + - Updated stable APIs to the latest version + - Add `QuotePhase` resource +* [#1498](https://github.com/stripe/stripe-go/pull/1498) API Updates for beta branch + - Updated stable APIs to the latest version + - Add `Price.MigrateTo` property + - Add `SubscriptionSchedule.Amend` method. + - Add `Discount.SubscriptionItem` property. + - Add `Quote.SubscriptionData.BillingBehavior`, `BillingCycleAnchor`, `EndBehavior`, `FromSchedule`, `FromSubscription`, `Prebilling`, `ProrationBehavior` properties. + - Add `Phases` parameter to `Quote.Create` - Add `Subscription.Discounts`, `Prebilling` properties. ## 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` +* [#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 +* [#1494](https://github.com/stripe/stripe-go/pull/1494) API Updates * Add support for `CustomerDetails` on `CheckoutSessionListParams` ## 72.119.0-beta.1 - 2022-07-07 -* [#1493](https://github.com/stripe/stripe-go/pull/1493) API Updates for beta branch - - Include `server_side_confirmation_beta=v1` beta +* [#1493](https://github.com/stripe/stripe-go/pull/1493) API Updates for beta branch + - Include `server_side_confirmation_beta=v1` beta - Add `secretKeyConfirmation` to `PaymentIntent` ## 72.118.0 - 2022-07-07 -* [#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` -* [#1491](https://github.com/stripe/stripe-go/pull/1491) API Updates - * Add support for `Customer` on `CheckoutSessionListParams` and `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` +* [#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` ## 72.117.0 - 2022-06-29 -* [#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` - +* [#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` + * [#1483](https://github.com/stripe/stripe-go/pull/1483) Document use of undocumented parameters/properties ## 72.116.0 - 2022-06-23 -* [#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` - +* [#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` + * [#1482](https://github.com/stripe/stripe-go/pull/1482) Use the generated API version ## 72.115.0 - 2022-06-17 -* [#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` -* [#1478](https://github.com/stripe/stripe-go/pull/1478) Fix test assert to allow beta versions +* [#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` +* [#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 ## 72.115.0-beta.1 - 2022-06-15 -* [#1476](https://github.com/stripe/stripe-go/pull/1476) API Updates for beta branch +* [#1476](https://github.com/stripe/stripe-go/pull/1476) API Updates for beta branch Add support for NetworkDetails properties on ReceivedCredits/ReceivedDebits resource ## 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` +* [#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 -* [#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` +* [#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` * [#1469](https://github.com/stripe/stripe-go/pull/1469) Add test for cash balance methods. ## 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` +* [#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` +* [#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 +* [#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` +* [#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 -* [#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` -* [#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` +* [#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` + * [#1462](https://github.com/stripe/stripe-go/pull/1462) update build status label and remove outdated code coverage label ## 72.107.0 - 2022-05-11 -* [#1459](https://github.com/stripe/stripe-go/pull/1459) API Updates +* [#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` +* [#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 -* [#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` - -* [#1454](https://github.com/stripe/stripe-go/pull/1454) API Updates - * Add support for `RegisteredAddress` on `AccountIndividualParams`, `PersonParams`, `Person`, `TokenAccountIndividualParams`, and `TokenPersonParams` +* [#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` + +* [#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` ## 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` +* [#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 +* [#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 -* [#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` - -* [#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` +* [#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` + +* [#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` ## 72.101.0 - 2022-04-08 -* [#1446](https://github.com/stripe/stripe-go/pull/1446) API Updates +* [#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` +* [#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` +* [#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 +* [#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) +* [#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` +* [#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 -* [#1433](https://github.com/stripe/stripe-go/pull/1433) API Updates - * Add support for `Status` on `Card` -* [#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` +* [#1432](https://github.com/stripe/stripe-go/pull/1432) Add StringSlice example to readme * [#1324](https://github.com/stripe/stripe-go/pull/1324) Add support for SearchResult objects ## 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` +* [#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 -* [#1430](https://github.com/stripe/stripe-go/pull/1430) API Updates - * Add support for `TestClock` on `CustomerListParams` +* [#1430](https://github.com/stripe/stripe-go/pull/1430) API Updates + * Add support for `TestClock` on `CustomerListParams` * [#1429](https://github.com/stripe/stripe-go/pull/1429) Fix unmarshalling error on schedule create from subscription (ApplicationFeePercent) ## 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` +* [#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)` +* [#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 -* [#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` +* [#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` * [#1420](https://github.com/stripe/stripe-go/pull/1420) Generate enums in samples ## 72.88.0 - 2022-02-23 -* [#1421](https://github.com/stripe/stripe-go/pull/1421) API Updates - * Add support for `SetupFutureUsage` on `PaymentIntentPaymentMethodOptions.*` +* [#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 -* [#1419](https://github.com/stripe/stripe-go/pull/1419) Add tests for verify_microdeposits -* [#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` -* [#1415](https://github.com/stripe/stripe-go/pull/1415) API Updates - * Add support for `PIN` on `IssuingCardParams` +* [#1419](https://github.com/stripe/stripe-go/pull/1419) Add tests for verify_microdeposits +* [#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` +* [#1415](https://github.com/stripe/stripe-go/pull/1415) API Updates + * Add support for `PIN` on `IssuingCardParams` * [#1414](https://github.com/stripe/stripe-go/pull/1414) Add comments for deprecated error types ## 72.86.0 - 2022-01-25 -* [#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` +* [#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` * [#1384](https://github.com/stripe/stripe-go/pull/1384) godoc is no more ## 72.85.0 - 2022-01-20 -* [#1408](https://github.com/stripe/stripe-go/pull/1408) API Updates - * Add support for new resource `PaymentLink` +* [#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 -* [#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` - +* [#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` + * [#1405](https://github.com/stripe/stripe-go/pull/1405) Generate struct field docstrings ## 72.83.0 - 2022-01-13 -* [#1404](https://github.com/stripe/stripe-go/pull/1404) API Updates +* [#1404](https://github.com/stripe/stripe-go/pull/1404) API Updates * Add support for `PaidOutOfBand` on `Invoice` ## 72.82.0 - 2022-01-12 -* [#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` -* [#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` -* [#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` -* [#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` +* [#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` +* [#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` +* [#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` +* [#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` * [#1398](https://github.com/stripe/stripe-go/pull/1398) Update docs URLs. ## 72.81.0 - 2021-12-22 -* [#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` - -* [#1393](https://github.com/stripe/stripe-go/pull/1393) API Updates +* [#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` + +* [#1393](https://github.com/stripe/stripe-go/pull/1393) API Updates * Add support for `Processing` on `PaymentIntent` ## 72.80.0 - 2021-12-15 -* [#1391](https://github.com/stripe/stripe-go/pull/1391) API Updates - * Add support for new resource `PaymentIntentTypeSpecificPaymentMethodOptionsClient` +* [#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 -* [#1390](https://github.com/stripe/stripe-go/pull/1390) API Updates - * Add support for `Metadata` on `BillingPortalConfiguration` -* [#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` +* [#1390](https://github.com/stripe/stripe-go/pull/1390) API Updates + * Add support for `Metadata` on `BillingPortalConfiguration` +* [#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`. ## 72.78.0 - 2021-12-09 -* [#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` - -* [#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` +* [#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` + +* [#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` ## 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` +* [#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 +* [#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` +* [#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 -* [#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` -* [#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` -* 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` +* [#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` +* [#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` +* 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. +* [#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 -* [#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` -* [#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` +* [#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` * [#1364](https://github.com/stripe/stripe-go/pull/1364) Update references in test suite to be fully qualified. ## 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 +* [#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 -* [#1357](https://github.com/stripe/stripe-go/pull/1357) API Updates - * Change type of `UsageRecordTimestampParams` from `integer` to `literal('now') | integer` -* [#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` +* [#1357](https://github.com/stripe/stripe-go/pull/1357) API Updates + * Change type of `UsageRecordTimestampParams` from `integer` to `literal('now') | integer` +* [#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` ## 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` +* [#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 -* [#1352](https://github.com/stripe/stripe-go/pull/1352) API Updates - * Add support for `ListPaymentMethods` method on resource `Customer` +* [#1352](https://github.com/stripe/stripe-go/pull/1352) API Updates + * Add support for `ListPaymentMethods` method on resource `Customer` * [#1331](https://github.com/stripe/stripe-go/pull/1331) Add missing decline codes following official documentation. ## 72.68.0 - 2021-10-07 -* [#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` -* [#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` +* [#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` +* [#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` ## 72.67.0 - 2021-09-29 -* [#1345](https://github.com/stripe/stripe-go/pull/1345) API Updates +* [#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 +* [#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 -* [#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`. -* [#1339](https://github.com/stripe/stripe-go/pull/1339) API Updates - * Add support for new value `rst` on enum `TaxRateTaxType` -* [#1336](https://github.com/stripe/stripe-go/pull/1336) Adding missing dispute reasons following official documentation (http… +* [#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`. +* [#1339](https://github.com/stripe/stripe-go/pull/1339) API Updates + * Add support for new value `rst` on enum `TaxRateTaxType` +* [#1336](https://github.com/stripe/stripe-go/pull/1336) Adding missing dispute reasons following official documentation (http… * [#1337](https://github.com/stripe/stripe-go/pull/1337) Generated go test suites ## 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` +* [#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` +* [#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 +* [#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 -* [#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 +* [#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 * [#1323](https://github.com/stripe/stripe-go/pull/1323) codegen: api.go ## 72.60.0 - 2021-08-11 -* [#1325](https://github.com/stripe/stripe-go/pull/1325) API Updates - * Add support for `locale` on ` BillingPortalSessionParams` and ` BillingPortalSession` -* [#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` +* [#1325](https://github.com/stripe/stripe-go/pull/1325) API Updates + * Add support for `locale` on ` BillingPortalSessionParams` and ` BillingPortalSession` +* [#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` ## 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`. +* [#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 -* [#1319](https://github.com/stripe/stripe-go/pull/1319) API Updates - * Add support for `payment_settings` on `Subscription` and `SubscriptionParams`. -* [#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`. +* [#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` * [#1315](https://github.com/stripe/stripe-go/pull/1315) Explicit iter property ## 72.57.0 - 2021-07-14 -* [#1314](https://github.com/stripe/stripe-go/pull/1314) API Updates - * Add support for `ListComputedUpfrontLineItems` method on resource `Quote` -* [#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` +* [#1314](https://github.com/stripe/stripe-go/pull/1314) API Updates + * Add support for `ListComputedUpfrontLineItems` method on resource `Quote` +* [#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. ## 72.56.0 - 2021-07-09 -* [#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` +* [#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` * [#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) ## 72.55.0 - 2021-06-30 -* [#1306](https://github.com/stripe/stripe-go/pull/1306) API Updates +* [#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` +* [#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` +* [#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 -* [#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` -* [#1299](https://github.com/stripe/stripe-go/pull/1299) API Updates +* [#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` +* [#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`. ## 72.51.0 - 2021-06-16 -* [#1298](https://github.com/stripe/stripe-go/pull/1298) API Updates +* [#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 +* [#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 -* [#1292](https://github.com/stripe/stripe-go/pull/1292) API Updates - * Add support for `Controller` to `Account` -* [#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` +* [#1292](https://github.com/stripe/stripe-go/pull/1292) API Updates + * Add support for `Controller` to `Account` +* [#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 ## 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` +* [#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 +* [#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 +* [#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 +* [#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`. +* [#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. +* [#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` +* [#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 -* [#1273](https://github.com/stripe/stripe-go/pull/1273) API Updates - * Add support for `SubscriptionPause` on `BillingPortalConfigurationFeatures` and `BillingPortalConfigurationFeaturesParams` -* [#1271](https://github.com/stripe/stripe-go/pull/1271) codegen: add several client.go files -* [#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` -* [#1272](https://github.com/stripe/stripe-go/pull/1272) API Updates +* [#1273](https://github.com/stripe/stripe-go/pull/1273) API Updates + * Add support for `SubscriptionPause` on `BillingPortalConfigurationFeatures` and `BillingPortalConfigurationFeaturesParams` +* [#1271](https://github.com/stripe/stripe-go/pull/1271) codegen: add several client.go files +* [#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` +* [#1272](https://github.com/stripe/stripe-go/pull/1272) API Updates * Add support for `TransferData` on `CheckoutSessionSubscriptionDataParams` ## 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` +* [#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` +* [#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 -* [#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` +* [#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` * [#1250](https://github.com/stripe/stripe-go/pull/1250) Support `SubscriptionTrialEndNow` on the Retrieve Upcoming Invoice API ## 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 +* [#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 -* [#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` +* [#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` * [#1249](https://github.com/stripe/stripe-go/pull/1249) Fix edge case panic in ParseID ## 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 -* [#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` -* [#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` +* [#1246](https://github.com/stripe/stripe-go/pull/1246) Add SubscriptionStartDate to InvoiceParams (to use with GetNext) * [#1243](https://github.com/stripe/stripe-go/pull/1243) Added missing decline code 'invalid_expiry_month' ## 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` +* [#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 +* [#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 @@ -2829,11 +2842,11 @@ This release includes breaking changes resulting from: * [#1229](https://github.com/stripe/stripe-go/pull/1229) Add support for `GrabpayPayments` as a capability on `Account` ## 72.24.0 - 2020-11-18 -* [#1224](https://github.com/stripe/stripe-go/pull/1224) Add support for GrabPay as a PaymentMethod +* [#1224](https://github.com/stripe/stripe-go/pull/1224) Add support for GrabPay as a PaymentMethod * [#1225](https://github.com/stripe/stripe-go/pull/1225) Fix bad comments to make the linter happy ## 72.23.0 - 2020-11-09 -* [#1222](https://github.com/stripe/stripe-go/pull/1222) Add `LastFinalizationError` to `Invoice` and `PaymentMethodType` to `Error` +* [#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 @@ -2843,16 +2856,16 @@ This release includes breaking changes resulting from: * [#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` +* [#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 -* [#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` +* [#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` * [#1214](https://github.com/stripe/stripe-go/pull/1214) Put a `Deprecated` notice on `TotalCount` ## 72.17.0 - 2020-10-20 @@ -2889,18 +2902,18 @@ This release includes breaking changes resulting from: * [#1192](https://github.com/stripe/stripe-go/pull/1192) Add support for OXXO Payments capability on `Account` ## 72.7.0 - 2020-09-24 -* [#1190](https://github.com/stripe/stripe-go/pull/1190) Add support for BalanceTransactionTypeContribution` on `BalanceTransaction` +* [#1190](https://github.com/stripe/stripe-go/pull/1190) Add support for BalanceTransactionTypeContribution` on `BalanceTransaction` * [#1183](https://github.com/stripe/stripe-go/pull/1183) Add support for OXXO on `PaymentIntent` and `PaymentMethod` ## 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 -* [#1187](https://github.com/stripe/stripe-go/pull/1187) Don't retry requests on context cancellation + a few other errors +* [#1187](https://github.com/stripe/stripe-go/pull/1187) Don't retry requests on context cancellation + a few other errors * [#1188](https://github.com/stripe/stripe-go/pull/1188) Add support for `InstantAvailable` on `Balance` ## 72.4.0 - 2020-09-21 -* [#1185](https://github.com/stripe/stripe-go/pull/1185) Add support for `AmountCaptured` on `Charge` +* [#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 @@ -2910,29 +2923,29 @@ This release includes breaking changes resulting from: * [#1180](https://github.com/stripe/stripe-go/pull/1180) Add support for Sofort on `PaymentMethod` and `PaymentIntent` ## 72.1.0 - 2020-09-02 -* [#1178](https://github.com/stripe/stripe-go/pull/1178) Fix the constant names for `BankAccountAvailablePayoutMethod` -* [#1177](https://github.com/stripe/stripe-go/pull/1177) Add support for `AvailablePayoutMethods` on `BankAccount` -* [#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` +* [#1177](https://github.com/stripe/stripe-go/pull/1177) Add support for `AvailablePayoutMethods` on `BankAccount` +* [#1176](https://github.com/stripe/stripe-go/pull/1176) Add support for `PaymentStatus` on Checkout `Session` * [#1174](https://github.com/stripe/stripe-go/pull/1174) Add support for the Issuing Dispute APIs ## 72.0.0 - 2020-08-31 -* [#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 -* [#1172](https://github.com/stripe/stripe-go/pull/1172) Properly remove ThreeDSecure class entirely +* [#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 +* [#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` ## 71.48.0 - 2020-08-24 @@ -2945,11 +2958,11 @@ This release includes breaking changes resulting from: * [#1163](https://github.com/stripe/stripe-go/pull/1163) Add support for `AmountDetails` on Issuing `Authorization` and `Transaction` ## 71.45.0 - 2020-08-13 -* [#1160](https://github.com/stripe/stripe-go/pull/1160) Add support for `BankName` on `ChargePaymentMethodDetailsAcssDebit` +* [#1160](https://github.com/stripe/stripe-go/pull/1160) Add support for `BankName` on `ChargePaymentMethodDetailsAcssDebit` * [#1156](https://github.com/stripe/stripe-go/pull/1156) Re-enable HTTP/2 on the default HTTP client for Go 1.15+ ## 71.44.0 - 2020-08-10 -* [#1148](https://github.com/stripe/stripe-go/pull/1148) Make original list object accessible on iterators +* [#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 @@ -2962,13 +2975,13 @@ This release includes breaking changes resulting from: * [#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` +* [#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 @@ -2996,7 +3009,7 @@ This release includes breaking changes resulting from: * [#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` +* [#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 @@ -3006,7 +3019,7 @@ This release includes breaking changes resulting from: * [#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` +* [#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 @@ -3019,7 +3032,7 @@ This release includes breaking changes resulting from: * [#1123](https://github.com/stripe/stripe-go/pull/1123) Attach LastResponse after unmarshaling ## 71.25.0 - 2020-06-11 -* [#1122](https://github.com/stripe/stripe-go/pull/1122) Add support for `Transaction` on Issuing `Dispute` +* [#1122](https://github.com/stripe/stripe-go/pull/1122) Add support for `Transaction` on Issuing `Dispute` * [#1121](https://github.com/stripe/stripe-go/pull/1121) Add `Mandate`, `InstitutionNumber` and `TransitNumber` to `ChargePaymentMethodDetailsAcssDebit` ## 71.24.0 - 2020-06-10 @@ -3041,8 +3054,8 @@ This release includes breaking changes resulting from: * [#1113](https://github.com/stripe/stripe-go/pull/1113) Add support for `TransferGroup` on Checkout `Session` ## 71.18.0 - 2020-06-03 -* [#1110](https://github.com/stripe/stripe-go/pull/1110) Add support for reading SEPA and BACS debit settings 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` +* [#1111](https://github.com/stripe/stripe-go/pull/1111) Add support for Bancontact, EPS, Giropay and P24 on `PaymentMethod` * [#1112](https://github.com/stripe/stripe-go/pull/1112) Add support for BACS Debit as a `Capability` on `Account` ## 71.17.0 - 2020-05-29 @@ -3052,26 +3065,26 @@ This release includes breaking changes resulting from: * [#1108](https://github.com/stripe/stripe-go/pull/1108) Add `Metadata` and `Object` on `Topup` ## 71.15.0 - 2020-05-28 -* [#1106](https://github.com/stripe/stripe-go/pull/1106) Add support for `ProductData` on `LineItems` for Checkout `Session` +* [#1106](https://github.com/stripe/stripe-go/pull/1106) Add support for `ProductData` on `LineItems` for Checkout `Session` * [#1105](https://github.com/stripe/stripe-go/pull/1105) Add `AuthenticationFlow` to `ChargePaymentMethodDetailsCardThreeDSecure` ## 71.14.0 - 2020-05-22 -* [#1104](https://github.com/stripe/stripe-go/pull/1104) Add support for `TaxIDTypeAETRN`, `TaxIDTypeCLTIN` and `TaxIDTypeSAVAT` on `TaxId` +* [#1104](https://github.com/stripe/stripe-go/pull/1104) Add support for `TaxIDTypeAETRN`, `TaxIDTypeCLTIN` and `TaxIDTypeSAVAT` on `TaxId` * [#1103](https://github.com/stripe/stripe-go/pull/1103) Add support for `Result` and `ResultReason` on `ChargePaymentMethodDetailsCardThreeDSecure` ## 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` +* [#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` +* [#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 @@ -3084,20 +3097,20 @@ This release includes breaking changes resulting from: * [#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 +* [#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 -* [#1087](https://github.com/stripe/stripe-go/pull/1087) Add support for Brazilian tax ids on `TaxID` -* [#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` +* [#1085](https://github.com/stripe/stripe-go/pull/1085) Add `Object` on `BankAccount` * [#1065](https://github.com/stripe/stripe-go/pull/1065) Adding support for the `Price` resource and APIs ## 71.6.0 - 2020-04-23 -* [#1083](https://github.com/stripe/stripe-go/pull/1083) Add support for `JCBPayments` and `CardIssuing` as a `Capability` +* [#1083](https://github.com/stripe/stripe-go/pull/1083) Add support for `JCBPayments` and `CardIssuing` as a `Capability` * [#1082](https://github.com/stripe/stripe-go/pull/1082) Add support for expandable `CVC` and `Number` on Issuing `Card` ## 71.5.0 - 2020-04-22 @@ -3107,28 +3120,28 @@ This release includes breaking changes resulting from: * [#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` +* [#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` +* [#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. - -* [#1052](https://github.com/stripe/stripe-go/pull/1052) Remove all beta features from Issuing APIs -* [#1054](https://github.com/stripe/stripe-go/pull/1054) Make API response accessible on returned API structs -* [#1061](https://github.com/stripe/stripe-go/pull/1061) Start using Go Modules -* [#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` -* [#1069](https://github.com/stripe/stripe-go/pull/1069) Default number of network retries to 2 +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. + +* [#1052](https://github.com/stripe/stripe-go/pull/1052) Remove all beta features from Issuing APIs +* [#1054](https://github.com/stripe/stripe-go/pull/1054) Make API response accessible on returned API structs +* [#1061](https://github.com/stripe/stripe-go/pull/1061) Start using Go Modules +* [#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` +* [#1069](https://github.com/stripe/stripe-go/pull/1069) Default number of network retries to 2 * [#1070](https://github.com/stripe/stripe-go/pull/1070) Clean up logging for next major ## 70.15.0 - 2020-04-14 @@ -3138,7 +3151,7 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#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` +* [#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 @@ -3151,11 +3164,11 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#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` +* [#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 @@ -3168,9 +3181,9 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#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` +* [#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 @@ -3186,8 +3199,8 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#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 -* [#1039](https://github.com/stripe/stripe-go/pull/1039) Multiple API changes: - * Move to latest API version `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 @@ -3200,7 +3213,7 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#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` +* [#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 @@ -3210,17 +3223,17 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#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` +* [#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. +* [#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 -* [#1024](https://github.com/stripe/stripe-go/pull/1024) Add `FilePurposeAdditionalVerification` and `FilePurposeBusinessIcon` on `File` +* [#1024](https://github.com/stripe/stripe-go/pull/1024) Add `FilePurposeAdditionalVerification` and `FilePurposeBusinessIcon` on `File` * [#1018](https://github.com/stripe/stripe-go/pull/1018) Add support for `ErrorOnRequiresAction` on `PaymentIntent` ## 68.16.0 - 2020-01-31 @@ -3236,7 +3249,7 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#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 -* [#1017](https://github.com/stripe/stripe-go/pull/1017) Add new values for `TaxIDType` and fix `TaxIDTypeCHVAT` +* [#1017](https://github.com/stripe/stripe-go/pull/1017) Add new values for `TaxIDType` and fix `TaxIDTypeCHVAT` * [#1015](https://github.com/stripe/stripe-go/pull/1015) Replace duplicate code in GetBackend method ## 68.11.0 - 2020-01-17 @@ -3273,11 +3286,11 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#1001](https://github.com/stripe/stripe-go/pull/1001) Add support for `Network` on `Charge` ## 68.0.0 - 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`. +* [#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 @@ -3290,7 +3303,7 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#998](https://github.com/stripe/stripe-go/pull/998) Add support for `CreditNote` preview ## 67.7.0 - 2019-11-25 -* [#996](https://github.com/stripe/stripe-go/pull/996) Add support for `OutOfBandAmount` on `CreditNote` creation +* [#996](https://github.com/stripe/stripe-go/pull/996) Add support for `OutOfBandAmount` on `CreditNote` creation * [#995](https://github.com/stripe/stripe-go/pull/995) Fix comment typos ## 67.6.0 - 2019-11-22 @@ -3309,52 +3322,52 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#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` +* [#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 -* [#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` +* [#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 -* [#983](https://github.com/stripe/stripe-go/pull/983) Add support for cloning saved PaymentMethods +* [#983](https://github.com/stripe/stripe-go/pull/983) Add support for cloning saved PaymentMethods * [#980](https://github.com/stripe/stripe-go/pull/980) Improve docs for ephemeral keys ## 66.1.1 - 2019-10-24 -* [#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 +* [#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 * [#977](https://github.com/stripe/stripe-go/pull/977) Contributor Convenant ## 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` +* [#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 -* [#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` +* [#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 +* [#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 @@ -3364,30 +3377,30 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#969](https://github.com/stripe/stripe-go/pull/969) Add `DeviceType` filter when listing Terminal `Reader`s ## 65.0.0 - 2019-10-09 -* [#951](https://github.com/stripe/stripe-go/pull/951) Move to API version [`2019-10-08`](https://stripe.com/docs/upgrades#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` +* [#951](https://github.com/stripe/stripe-go/pull/951) Move to API version [`2019-10-08`](https://stripe.com/docs/upgrades#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://stripe.com/docs/upgrades#2019-10-08)~ +* ~[#968](https://github.com/stripe/stripe-go/pull/968) Update to latest API version [`2019-10-08`](https://stripe.com/docs/upgrades#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 -* [#955](https://github.com/stripe/stripe-go/pull/955) Add FPX `PaymentMethod` Support +* [#955](https://github.com/stripe/stripe-go/pull/955) Add FPX `PaymentMethod` Support * [#966](https://github.com/stripe/stripe-go/pull/966) Add the `Account` field to `BankAccount` ## 63.4.0 - 2019-09-30 @@ -3403,7 +3416,7 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#961](https://github.com/stripe/stripe-go/pull/961) Properly tag `Customer` as deprecated in `PaymentMethodDetachParams` ## 63.2.0 - 2019-09-25 -* [#959](https://github.com/stripe/stripe-go/pull/959) Mark `Customer` on `PaymentMethodDetachParams` as deprecated +* [#959](https://github.com/stripe/stripe-go/pull/959) Mark `Customer` on `PaymentMethodDetachParams` as deprecated * [#957](https://github.com/stripe/stripe-go/pull/957) Add missing error code ## 63.1.1 - 2019-09-23 @@ -3434,7 +3447,7 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#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 -* [#934](https://github.com/stripe/stripe-go/pull/934) Add support for `SubscriptionBillingCycleAnchorNow` and `SubscriptionBillingCycleAnchorUnchanged` on `Invoice` +* [#934](https://github.com/stripe/stripe-go/pull/934) Add support for `SubscriptionBillingCycleAnchorNow` and `SubscriptionBillingCycleAnchorUnchanged` on `Invoice` * [#933](https://github.com/stripe/stripe-go/pull/933) Add `PendingVerification` on `Account`, `Person` and `Capability` ## 62.5.0 - 2019-08-23 @@ -3447,10 +3460,10 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#928](https://github.com/stripe/stripe-go/pull/928) Bring retry code in-line with current best practices ## 62.2.0 - 2019-08-21 -* [#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` +* [#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` * [#923](https://github.com/stripe/stripe-go/pull/923) Add support for `Mode` on Checkout `Session` ## 62.1.2 - 2019-08-19 @@ -3460,29 +3473,29 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#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) - * Add support for `PIN` on Issuing `Card` to reflect the status of a card's PIN +* [#916](https://github.com/stripe/stripe-go/pull/916) + * 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 -* [#915](https://github.com/stripe/stripe-go/pull/915) Move to API version [`2019-08-14`](https://stripe.com/docs/upgrades#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` +* [#915](https://github.com/stripe/stripe-go/pull/915) Move to API version [`2019-08-14`](https://stripe.com/docs/upgrades#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` * [#914](https://github.com/stripe/stripe-go/pull/914) Update webhook handler example to use `http.MaxBytesReader` ## 61.27.0 - 2019-08-09 -* [#913](https://github.com/stripe/stripe-go/pull/913) Remove `SubscriptionScheduleRevision` +* [#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) - * Add support for `PaymentMethodDetails.Card.Moto` on `Charge` - * Add support `StatementDescriptorSuffix` on `Charge` and `PaymentIntent` +* [#911](https://github.com/stripe/stripe-go/pull/911) + * 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 @@ -3501,15 +3514,15 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#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 -* [#903](https://github.com/stripe/stripe-go/pull/903) Disable HTTP/2 by default (until underlying bug in Go's implementation is fixed) +* [#897](https://github.com/stripe/stripe-go/pull/897) Add all missing error codes +* [#903](https://github.com/stripe/stripe-go/pull/903) Disable HTTP/2 by default (until underlying bug in Go's implementation is fixed) * [#905](https://github.com/stripe/stripe-go/pull/905) Add missing `Authenticated` field for 3DS charges ## 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` +* [#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 @@ -3519,20 +3532,20 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#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) - * Add support for `PaymentMethodOptions` on `PaymentIntent` and `SetupIntent` +* [#893](https://github.com/stripe/stripe-go/pull/893) + * 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` +* [#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 +* [#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 @@ -3542,7 +3555,7 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#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 +* [#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 @@ -3555,8 +3568,8 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#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) - * Add support for `CollectionMethod` on `Invoice`, `Subscription` and `SubscriptionSchedule` +* [#880](https://github.com/stripe/stripe-go/pull/880) + * Add support for `CollectionMethod` on `Invoice`, `Subscription` and `SubscriptionSchedule` * Add support for `UnifiedProration` on `InvoiceLine` ## 61.6.0 - 2019-06-24 @@ -3566,18 +3579,18 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#877](https://github.com/stripe/stripe-go/pull/877) Add `CancellationReason` to `PaymentIntent` ## 61.4.0 - 2019-06-18 -* [#845](https://github.com/stripe/stripe-go/pull/845) Add support for `CustomerBalanceTransaction` resource and APIs +* [#845](https://github.com/stripe/stripe-go/pull/845) Add support for `CustomerBalanceTransaction` resource and APIs * [#875](https://github.com/stripe/stripe-go/pull/875) Add missing `Account` settings ## 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` +* [#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 -* [#867](https://github.com/stripe/stripe-go/pull/867) Add support for `Location` on Terminal `ConnectionToken` +* [#867](https://github.com/stripe/stripe-go/pull/867) Add support for `Location` on Terminal `ConnectionToken` * [#868](https://github.com/stripe/stripe-go/pull/868) Add support for `Balance` and deprecate `AccountBalance` on Customer ## 61.0.1 - 2019-05-24 @@ -3611,7 +3624,7 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#853](https://github.com/stripe/stripe-go/pull/853) Add paymentmethod package to the clients list ## 60.13.0 - 2019-05-07 -* [#850](https://github.com/stripe/stripe-go/pull/850) `OperatorAccount` is now deprecated across all Terminal endpoints +* [#850](https://github.com/stripe/stripe-go/pull/850) `OperatorAccount` is now deprecated across all Terminal endpoints * [#851](https://github.com/stripe/stripe-go/pull/851) Add `Customer` on the `Source` object ## 60.12.2 - 2019-05-06 @@ -3624,11 +3637,11 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#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` +* [#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` +* [#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 @@ -3638,7 +3651,7 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#834](https://github.com/stripe/stripe-go/pull/834) Add support for the `TaxId` resource and APIs ## 60.7.0 - 2019-04-18 -* [#823](https://github.com/stripe/stripe-go/pull/823) Add support for the `CreditNote` resource and APIs +* [#823](https://github.com/stripe/stripe-go/pull/823) Add support for the `CreditNote` resource and APIs * [#829](https://github.com/stripe/stripe-go/pull/829) Add support for `Address`, `Name`, `Phone` and `PreferredLocales` on `Customer` and related fields on `Invoice` ## 60.6.0 - 2019-04-18 @@ -3648,8 +3661,8 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#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 -* [#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`. +* [#740](https://github.com/stripe/stripe-go/pull/740) Add support for the Checkout `Session` resource and APIs +* [#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`. * [#835](https://github.com/stripe/stripe-go/pull/835) Add support for passing `payment_method` on `Customer` creation ## 60.4.0 - 2019-04-15 @@ -3668,7 +3681,7 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#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 +* [#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 @@ -3681,11 +3694,11 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#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 -* [#811](https://github.com/stripe/stripe-go/pull/811) Add support for API version 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 -* [#806](https://github.com/stripe/stripe-go/pull/806) Add support for the `PaymentMethod` resource and APIs +* [#806](https://github.com/stripe/stripe-go/pull/806) Add support for the `PaymentMethod` resource and APIs * [#812](https://github.com/stripe/stripe-go/pull/812) Add support for deleting a Terminal `Location` and `Reader` ## 57.7.0 - 2019-03-13 @@ -3704,7 +3717,7 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#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` +* [#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 @@ -3717,30 +3730,30 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#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 +**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 -* [#737](https://github.com/stripe/stripe-go/pull/737) Add support for setting `request_capabilities` and retrieving `capabilities` on `Account` +* [#737](https://github.com/stripe/stripe-go/pull/737) Add support for setting `request_capabilities` and retrieving `capabilities` on `Account` * [#793](https://github.com/stripe/stripe-go/pull/793) Add support for `save_payment_method` on `PaymentIntent` ## 56.0.0 - 2019-02-13 -* [#785](https://github.com/stripe/stripe-go/pull/785) Changes to the Payment Intent APIs for the next API version +* [#785](https://github.com/stripe/stripe-go/pull/785) Changes to the Payment Intent APIs for the next API version * [#789](https://github.com/stripe/stripe-go/pull/789) Allow API arrays to be emptied by setting an empty array ## 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` -* [#784](https://github.com/stripe/stripe-go/pull/784) - * Add support for `SubscriptionSchedule` and `SubscriptionScheduleRevision` - * Add support for `payment_method_types` on `PaymentIntent` +* [#764](https://github.com/stripe/stripe-go/pull/764) Add support for `transfer_data[destination]` on `Invoice` and `Subscription` +* [#784](https://github.com/stripe/stripe-go/pull/784) + * Add support for `SubscriptionSchedule` and `SubscriptionScheduleRevision` + * Add support for `payment_method_types` on `PaymentIntent` * [#787](https://github.com/stripe/stripe-go/pull/787) Add support for `transfer_data[amount]` on `Charge` ## 55.14.0 - 2019-01-25 @@ -3756,7 +3769,7 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#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` +* [#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 @@ -3772,7 +3785,7 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#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 +* [#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 @@ -3797,12 +3810,12 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#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 -* [#730](https://github.com/stripe/stripe-go/pull/730) Add support for the Review resource +* [#730](https://github.com/stripe/stripe-go/pull/730) Add support for the Review resource * [#731](https://github.com/stripe/stripe-go/pull/731) Add missing properties on the Refund resource ## 54.0.0 - 2018-11-27 -* [#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` +* [#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` * [#721](https://github.com/stripe/stripe-go/pull/721) Add `PaidOutOfBand` to `InvoicePayParams` ## 53.4.0 - 2018-11-26 @@ -3815,29 +3828,29 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#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`. +* [#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 -* [#716](https://github.com/stripe/stripe-go/pull/716) Drop support for Go 1.8. -* [#715](https://github.com/stripe/stripe-go/pull/715) Ship changes to the `PaymentIntent` resource to match the final layout. -* [#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`. -* [#720](https://github.com/stripe/stripe-go/pull/720) Add support for `review` on `PaymentIntent`. -* [#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`. +* [#716](https://github.com/stripe/stripe-go/pull/716) Drop support for Go 1.8. +* [#715](https://github.com/stripe/stripe-go/pull/715) Ship changes to the `PaymentIntent` resource to match the final layout. +* [#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`. +* [#720](https://github.com/stripe/stripe-go/pull/720) Add support for `review` on `PaymentIntent`. +* [#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`. ## 52.1.0 - 2018-10-31 -* [#705](https://github.com/stripe/stripe-go/pull/705) Add support for the `Person` resource +* [#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) Set `Request.GetBody` when making requests +* [#711](https://github.com/stripe/stripe-go/pull/711) Set `Request.GetBody` when making requests * [#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) ## 51.4.0 - 2018-10-19 @@ -3853,12 +3866,12 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#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 -* [#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*`) +* [#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) Rename `Transaction` to `DisputedTransaction` in `IssuingDisputeParams` (minor breaking change) +* [#695](https://github.com/stripe/stripe-go/pull/695) Rename `Transaction` to `DisputedTransaction` in `IssuingDisputeParams` (minor breaking change) * [#695](https://github.com/stripe/stripe-go/pull/695) Add support for Stripe Terminal ## 49.2.0 - 2018-09-24 @@ -3886,7 +3899,7 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * New major version for better compatibility with Go's new module system (no breaking changes) ## 46.1.0 - 2018-09-04 -* [#688](https://github.com/stripe/stripe-go/pull/688) Encode `Params` in `AppendToAsSourceOrExternalAccount` (bug fix) +* [#688](https://github.com/stripe/stripe-go/pull/688) Encode `Params` in `AppendToAsSourceOrExternalAccount` (bug fix) * [#689](https://github.com/stripe/stripe-go/pull/689) Add `go.mod` for the new module system ## 46.0.0 - 2018-09-04 @@ -3902,14 +3915,14 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#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` +* [#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 -* [#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` +* [#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 @@ -3925,8 +3938,8 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#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 -* [#659](https://github.com/stripe/stripe-go/pull/659) Remove mutating Bitcoin receiver API calls (these were no longer functional anyway) -* [#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) +* [#661](https://github.com/stripe/stripe-go/pull/661) Correct `IssuingCardShipping`'s type to `int64` * [#662](https://github.com/stripe/stripe-go/pull/662) Rename `IssuingCardShipping`'s `Eta` to `ETA` ## 40.2.0 - 2018-08-15 @@ -3942,33 +3955,33 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#653](https://github.com/stripe/stripe-go/pull/653) All `BackendImplementation`s should sleep by default on retries ## 40.0.0 - 2018-08-06 -* [#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) +* [#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) * [#650](https://github.com/stripe/stripe-go/pull/650) Export `webhook.ComputeSignature` ## 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 -* [#644](https://github.com/stripe/stripe-go/pull/644) Add support for file links +* [#644](https://github.com/stripe/stripe-go/pull/644) Add support for file links * [#645](https://github.com/stripe/stripe-go/pull/645) Add support for `Cancel` to topups ## 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` +* [#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 -* [#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 +* [#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 * [#640](https://github.com/stripe/stripe-go/pull/640) Add missing field `Created` to `Account` ## 36.3.0 - 2018-07-27 @@ -3987,7 +4000,7 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#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 +* [#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 @@ -4030,13 +4043,13 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#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 +* [#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 @@ -4067,7 +4080,7 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#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 -* [#571](https://github.com/stripe/stripe-go/pull/571) Add `HostedInvoiceURL` and `InvoicePDF` to `Invoice` +* [#571](https://github.com/stripe/stripe-go/pull/571) Add `HostedInvoiceURL` and `InvoicePDF` to `Invoice` * [#573](https://github.com/stripe/stripe-go/pull/573) Add `FormatURLPath` helper to allow safer URL path building ## 32.1.0 - 2018-06-06 @@ -4122,7 +4135,7 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#527](https://github.com/stripe/stripe-go/pull/527) Add `MaidenName`, `PersonalIDNumber`, `PersonalIDNumberProvided` fields to `Owner` struct ## 29.2.0 - 2018-02-26 -* [#525](https://github.com/stripe/stripe-go/pull/525) Support shipping carrier and tracking number in orders +* [#525](https://github.com/stripe/stripe-go/pull/525) Support shipping carrier and tracking number in orders * [#526](https://github.com/stripe/stripe-go/pull/526) Fix ignored `commonParams` when returning an order ## 29.1.1 - 2018-02-21 @@ -4132,11 +4145,11 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#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. +**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. +**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 @@ -4170,7 +4183,7 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#488](https://github.com/stripe/stripe-go/pull/488) Support for listing source transactions ## 28.4.2 - 2017-10-25 -* [#486](https://github.com/stripe/stripe-go/pull/486) Send the required `object=bank_account` parameter when adding a bank account through an account +* [#486](https://github.com/stripe/stripe-go/pull/486) Send the required `object=bank_account` parameter when adding a bank account through an account * [#487](https://github.com/stripe/stripe-go/pull/487) Make bank account's `account_holder_name` and `account_holder_type` parameters truly optional ## 28.4.1 - 2017-10-24 @@ -4189,18 +4202,18 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#359](https://github.com/stripe/stripe-go/pull/359) Add support for verify sources (added `Values` on `SourceVerifyParams`) ## 28.2.0 - 2017-10-09 -* [#472](https://github.com/stripe/stripe-go/pull/472) Add support for `statement_descriptor` in source objects +* [#472](https://github.com/stripe/stripe-go/pull/472) Add support for `statement_descriptor` in source objects * [#473](https://github.com/stripe/stripe-go/pull/473) Add support for detaching sources from customers ## 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 -* [#468](https://github.com/stripe/stripe-go/pull/468) Fix encoding of pointer-based scalars (e.g. `Active *bool` in `Product`) +* [#468](https://github.com/stripe/stripe-go/pull/468) Fix encoding of pointer-based scalars (e.g. `Active *bool` in `Product`) * [#470](https://github.com/stripe/stripe-go/pull/470) Fix concurrent race in `form` package's encoding caches ## 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) 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 @@ -4213,25 +4226,25 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * [#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 -* 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**! -* Alphabetize all struct fields -- this may result in position-based struct initialization to fail if it was being used -* Switch to stripe-mock for testing (test suite now runs completely!) -* Remote Displayer interface and Display implementations -* Add `FraudDetails` to `ChargeParams` +* 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**! +* Alphabetize all struct fields -- this may result in position-based struct initialization to fail if it was being used +* Switch to stripe-mock for testing (test suite now runs completely!) +* Remote Displayer interface and Display implementations +* Add `FraudDetails` to `ChargeParams` * Remove `FraudReport` from `ChargeParams` (use `FraudDetails` instead) ## 25.2.0 - 2017-09-13 -* Add `OnBehalfOf` to charge parameters. +* 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` has been renamed to `Del` for consistency -* Product `Delete` now returns `(*Product, error)` for consistency -* SKU `Delete` has been renamed to `Del` for consistency +* All `Del` methods now take params as second argument (which may be `nil`) +* Product `Delete` has been renamed to `Del` for consistency +* Product `Delete` now returns `(*Product, error)` for consistency +* SKU `Delete` has been renamed to `Del` for consistency * SKU `Delete` now returns `(*SKU, error)` for consistency ## 24.3.0 - 2017-08-08 @@ -4265,14 +4278,14 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * Support for checking webhook signatures ## 22.4.1 - 2017-06-15 -* Fix returned type of subscription items list +* 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 subscription items when getting upcoming invoice +* Support subscription items when getting upcoming invoice * Support setting subscription's quantity to zero when getting upcoming invoice ## 22.1.1 - 2017-06-12 @@ -4282,9 +4295,9 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * Change `Logger` to a `log.Logger`-like interface so other loggers are usable ## 22.0.0 - 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 +* 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 @@ -4297,29 +4310,29 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * 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` 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 -* Send user agent information with `X-Stripe-Client-User-Agent` +* Send user agent information with `X-Stripe-Client-User-Agent` * Add `stripe.SetAppInfo` for plugin authors to register app information ## 21.1.0 - 2017-04-12 -* Allow coupon to be specified when creating orders +* 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 -* Bump API version to 2017-04-06: https://stripe.com/docs/upgrades#2017-04-06 -* Add support for payouts and recipient transfers -* Change the transfer resource to support its new format -* Deprecate recipient creation -* Disputes under charges are now expandable and collapsed by default +* Bump API version to 2017-04-06: https://stripe.com/docs/upgrades#2017-04-06 +* Add support for payouts and recipient transfers +* 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 @@ -4344,7 +4357,7 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * 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 customer parameters * Add `CouponEmpty` (allowing a coupon to be cleared) to subscription parameters ## 19.9.0 - 2017-03-08 @@ -4423,16 +4436,16 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * Add `NoDiscountable` to `InvoiceItemParams` ## 18.2.0 - 2016-10-10 -* Add `BusinessLogo` to `Account` -* Add `ReceiptNumber` to `Charge` +* Add `BusinessLogo` to `Account` +* Add `ReceiptNumber` to `Charge` * Add `DestPayment` to `Transfer` ## 18.1.0 - 2016-10-04 * Support for Apple Pay domains ## 18.0.0 - 2016-10-03 -* Support for subscription items -* Correct `SourceTx` on `Transfer` to be a `SourceTransaction` +* Support for subscription items +* Correct `SourceTx` on `Transfer` to be a `SourceTransaction` * Change `Charge` on `Resource` to be expandable (now a struct instead of string) ## 17.5.0 - 2016-09-22 @@ -4445,7 +4458,7 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * 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 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 @@ -4458,7 +4471,7 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * Add `DeactiveOn` to `Product` ## 17.0.0 - 2016-08-18 -* Allow expansion of destination on transfers +* Allow expansion of destination on transfers * Allow expansion of sources on balance transactions ## 16.8.0 - 2016-08-17 @@ -4477,7 +4490,7 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * Add `Meta` to `Account` ## 16.4.0 - 2016-08-05 -* Allow the migration of recipients to accounts +* Allow the migration of recipients to accounts * Add `MigratedTo` to `Recipient` ## 16.3.1 - 2016-07-25 @@ -4496,7 +4509,7 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * Add `Returns` field to `Order` ## 16.0.0 - 2016-06-30 -* Remove `Name` field on `SKU`; it's not actually supported +* Remove `Name` field on `SKU`; it's not actually supported * Support updating `Product` on `SKU` ## 15.6.0 - 2016-06-24 @@ -4551,24 +4564,24 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * 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.TransactionList` -* 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.TransferList` -* Switch to use of `stripe.BitcoinTransactionList` +* Expose a number of list types that were previously internal (full list below) +* Expose `stripe.AccountList` +* Expose `stripe.TransactionList` +* 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.TransferList` +* Switch to use of `stripe.BitcoinTransactionList` * Switch to use of `stripe.SKUList` ## 13.10.1 - 2016-04-20 @@ -4578,7 +4591,7 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * Expose `stripe.PlanList` (previously an internal type) ## 13.9.0 - 2016-04-18 -* Add `TaxPercentZero` struct to `InvoiceParams` +* Add `TaxPercentZero` struct to `InvoiceParams` * Add `TaxPercentZero` to `SubParams` ## 13.8.0 - 2016-04-12 @@ -4600,20 +4613,20 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * Add `DefaultCurrency` to `CountrySpec` ## 13.2.0 - 2016-03-18 -* Add `SourceTransfer` to `Charge` +* 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 -* Upgrade API version to 2016-03-07 -* Remove `Account.BankAccounts` in favor of `ExternalAccounts` +* Upgrade API version to 2016-03-07 +* Remove `Account.BankAccounts` in favor of `ExternalAccounts` * Remove `Account.Currencies` in favor of `CountrySpec` ## 12.1.0 - 2016-02-04 -* Add `ListParams.StripeAccount` for making list calls on behalf of connected accounts -* Add `Params.StripeAccount` for symmetry with `ListParams.StripeAccount` +* 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-02-02 @@ -4629,7 +4642,7 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * Add `AccountHolderName` and `AccountHolderType` to bank accounts ## 11.2.0 - 2016-02-11 -* Add support for `CountrySpec` +* Add support for `CountrySpec` * Add `SSNProvided`, `PersonalIDProvided` and `BusinessTaxIDProvided` to `LegalEntity` ## 11.1.2 - 2016-02-02 @@ -4642,9 +4655,9 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * 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` +* 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 @@ -4657,7 +4670,7 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * Add a verification routine for external accounts ## 10.0.0 - 2015-11-30 -* Return models along with `error` when deleting resources with `Del` +* Return models along with `error` when deleting resources with `Del` * Fix bug where country parameter wasn't included for some account creation ## 9.0.0 - 2015-11-13 @@ -4676,21 +4689,21 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * Bug fixes ## 6.7.0 - 2015-07-16 -* Expand logging object -* Move proration date to subscription update +* 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 -* Update bank account creation API -* Add destination, application fee, transfer to Charge struct -* Add missing fields to invoice line item +* Update bank account creation API +* Add destination, application fee, transfer to Charge struct +* Add missing fields to invoice line item * Rename deprecated customer param value ## 6.4.2 - 2015-06-23 -* Add BusinessUrl, BusinessUrl, BusinessPrimaryColor, SupportEmail, and +* Add BusinessUrl, BusinessUrl, BusinessPrimaryColor, SupportEmail, and * SupportUrl to Account. ## 6.4.1 - 2015-06-16 @@ -4700,52 +4713,52 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * Rename customer.default_card -> default_source ## 6.3.0 - 2015-05-19 -* Add shipping address to charges -* Expose card.dynamic_last_four -* Expose account.tos_acceptance -* Bug fixes +* Add shipping address to charges +* Expose card.dynamic_last_four +* Expose account.tos_acceptance +* Bug fixes * Bump API version to most recent one ## 6.2.0 - 2015-04-09 -* Bug fixes +* Bug fixes * Add Extra to parameters ## 6.1.0 - 2015-03-17 -* Add TaxPercent for subscriptions +* Add TaxPercent for subscriptions * Event bug fixes ## 6.0.0 - 2015-03-15 -* Add more operations for /accounts endpoint -* Add /transfers/reversals endpoint -* Add /accounts/bank_accounts endpoint +* Add more operations for /accounts endpoint +* Add /transfers/reversals endpoint +* Add /accounts/bank_accounts endpoint * Add support for Stripe-Account header ## 5.1.0 - 2015-02-25 -* Add new dispute status `warning_closed` +* 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 -* Bump to API version 2014-02-18 -* Change Card, DefaultCard, Cards to Source, DefaultSource, Sources in Stripe response objects -* 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 +* Add paymentsource package for manipulating Customer's sources * 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 Token.ClientIP +* Add BankAccountParams.Token +* Add Token.ClientIP * Add LogLevel ## 4.4.0 - 2015-01-20 * Add Bitcoin support ## 4.3.0 - 2015-01-13 -* Added support for listing FileUploads +* Added support for listing FileUploads * Mime parameter on FileUpload has been changed to Type ## 4.2.1 - 2014-12-28 @@ -4758,7 +4771,7 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * Bump to API version 2014-12-17. ## 4.0.0 - 2014-12-16 -* Add FileUpload resource. This brings in a new endpoint (uploads.stripe.com) and thus makes changes to some of the existing interfaces. +* 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-16 @@ -4768,14 +4781,14 @@ Version 71 of stripe-go contains some major changes. Many of them are breaking, * Add timeout value to HTTP requests ## 3.0.0 - 2014-12-05 -* Add Dispute.EvidenceDetails -* Remove Dispute.DueDate +* Add Dispute.EvidenceDetails +* Remove Dispute.DueDate * Change Dispute.Evidence from string to struct ## 2.0.0 - 2014-11-26 -* Change List interface to .Next() and .Resource() -* Better error messages for Get() methods -* EventData.Raw contains the raw event message +* Change List interface to .Next() and .Resource() +* Better error messages for Get() methods +* EventData.Raw contains the raw event message * SubParams.QuantityZero can be used for free subscriptions ## 1.0.3 - 2014-10-22 diff --git a/VERSION b/VERSION index 75ebc16f01..4028209d4c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -80.3.0-beta.1 +81.1.0-beta.1 diff --git a/account.go b/account.go index f8c1cbe965..8d518f48f8 100644 --- a/account.go +++ b/account.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" ) // The business type. After you create an [Account Link](https://stripe.com/api/account_links) or [Account Session](https://stripe.com/api/account_sessions), this property is only returned for accounts where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. diff --git a/account/client.go b/account/client.go index 24464efbf3..f7de5d7f9a 100644 --- a/account/client.go +++ b/account/client.go @@ -10,8 +10,8 @@ package account import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /accounts APIs. diff --git a/account/client_test.go b/account/client_test.go index 2060aead36..babbe92d60 100644 --- a/account/client_test.go +++ b/account/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestAccountDel(t *testing.T) { diff --git a/account_test.go b/account_test.go index 4e7a661602..b67f46f1e6 100644 --- a/account_test.go +++ b/account_test.go @@ -5,7 +5,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" ) func TestAccountExternalAccountParams_AppendTo(t *testing.T) { diff --git a/accountlink/client.go b/accountlink/client.go index 4a1189ce7c..c9714941b9 100644 --- a/accountlink/client.go +++ b/accountlink/client.go @@ -10,7 +10,7 @@ package accountlink import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /account_links APIs. diff --git a/accountlink/client_test.go b/accountlink/client_test.go index 2d9137a608..2f5dff910c 100644 --- a/accountlink/client_test.go +++ b/accountlink/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestAccountLinkNew(t *testing.T) { diff --git a/accountnotice/client.go b/accountnotice/client.go index e4300a9fc9..d41ac86407 100644 --- a/accountnotice/client.go +++ b/accountnotice/client.go @@ -10,8 +10,8 @@ package accountnotice import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /account_notices APIs. diff --git a/accountsession/client.go b/accountsession/client.go index 031188efaf..360bd90e4b 100644 --- a/accountsession/client.go +++ b/accountsession/client.go @@ -10,7 +10,7 @@ package accountsession import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /account_sessions APIs. diff --git a/applepaydomain/client.go b/applepaydomain/client.go index fece725979..47497fcef4 100644 --- a/applepaydomain/client.go +++ b/applepaydomain/client.go @@ -10,8 +10,8 @@ package applepaydomain import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /apple_pay/domains APIs. diff --git a/applepaydomain/client_test.go b/applepaydomain/client_test.go index f40c67fc1a..fd6965e02d 100644 --- a/applepaydomain/client_test.go +++ b/applepaydomain/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestApplePayDomainDel(t *testing.T) { diff --git a/applicationfee/client.go b/applicationfee/client.go index a2361339c9..e5e4c4291d 100644 --- a/applicationfee/client.go +++ b/applicationfee/client.go @@ -10,8 +10,8 @@ package applicationfee import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /application_fees APIs. diff --git a/applicationfee/client_test.go b/applicationfee/client_test.go index d69d308827..68216b32da 100644 --- a/applicationfee/client_test.go +++ b/applicationfee/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestApplicationFeeGet(t *testing.T) { diff --git a/apps/secret/client.go b/apps/secret/client.go index fbfab39a44..84e0b02385 100644 --- a/apps/secret/client.go +++ b/apps/secret/client.go @@ -10,8 +10,8 @@ package secret import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /apps/secrets APIs. diff --git a/balance/client.go b/balance/client.go index c0f7f9f67e..8cc14ee86b 100644 --- a/balance/client.go +++ b/balance/client.go @@ -10,7 +10,7 @@ package balance import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /balance APIs. diff --git a/balance/client_test.go b/balance/client_test.go index 536db03f9b..0d4b4e22ca 100644 --- a/balance/client_test.go +++ b/balance/client_test.go @@ -4,7 +4,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - _ "github.com/stripe/stripe-go/v80/testing" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestBalanceGet(t *testing.T) { diff --git a/balancetransaction/client.go b/balancetransaction/client.go index c05c734aca..759519b768 100644 --- a/balancetransaction/client.go +++ b/balancetransaction/client.go @@ -10,8 +10,8 @@ package balancetransaction import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /balance_transactions APIs. diff --git a/balancetransaction/client_test.go b/balancetransaction/client_test.go index 11bb7a348c..27e565edbe 100644 --- a/balancetransaction/client_test.go +++ b/balancetransaction/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestBalanceTransactionGet(t *testing.T) { diff --git a/bankaccount.go b/bankaccount.go index 486c99f2b8..a1d39b9fb8 100644 --- a/bankaccount.go +++ b/bankaccount.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" "strconv" ) diff --git a/bankaccount/client.go b/bankaccount/client.go index 8b19dba3ca..1916276038 100644 --- a/bankaccount/client.go +++ b/bankaccount/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke bankaccount related APIs. diff --git a/bankaccount/client_test.go b/bankaccount/client_test.go index e73493c931..22e97c4cda 100644 --- a/bankaccount/client_test.go +++ b/bankaccount/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestBankAccountDel_ByAccount(t *testing.T) { diff --git a/bankaccount_test.go b/bankaccount_test.go index 2ec4e81e98..ea5a2f8993 100644 --- a/bankaccount_test.go +++ b/bankaccount_test.go @@ -5,7 +5,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" ) func TestBankAccount_UnmarshalJSON(t *testing.T) { diff --git a/billing/alert/client.go b/billing/alert/client.go index 1be3aa57a1..e877217c85 100644 --- a/billing/alert/client.go +++ b/billing/alert/client.go @@ -10,8 +10,8 @@ package alert import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /billing/alerts APIs. diff --git a/billing/creditbalancesummary/client.go b/billing/creditbalancesummary/client.go index a35bd01e82..b41730740e 100644 --- a/billing/creditbalancesummary/client.go +++ b/billing/creditbalancesummary/client.go @@ -10,7 +10,7 @@ package creditbalancesummary import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /billing/credit_balance_summary APIs. diff --git a/billing/creditbalancetransaction/client.go b/billing/creditbalancetransaction/client.go index d5978fb11f..0cc1fa8923 100644 --- a/billing/creditbalancetransaction/client.go +++ b/billing/creditbalancetransaction/client.go @@ -10,8 +10,8 @@ package creditbalancetransaction import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /billing/credit_balance_transactions APIs. diff --git a/billing/creditgrant/client.go b/billing/creditgrant/client.go index 7caa455599..3540800bf5 100644 --- a/billing/creditgrant/client.go +++ b/billing/creditgrant/client.go @@ -10,8 +10,8 @@ package creditgrant import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /billing/credit_grants APIs. diff --git a/billing/meter/client.go b/billing/meter/client.go index 14c1daf7a2..4bbe7ce0de 100644 --- a/billing/meter/client.go +++ b/billing/meter/client.go @@ -10,8 +10,8 @@ package meter import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /billing/meters APIs. diff --git a/billing/meterevent/client.go b/billing/meterevent/client.go index 9fc450164c..8d95b1ea13 100644 --- a/billing/meterevent/client.go +++ b/billing/meterevent/client.go @@ -10,7 +10,7 @@ package meterevent import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /billing/meter_events APIs. diff --git a/billing/metereventadjustment/client.go b/billing/metereventadjustment/client.go index e36040be06..4d4318a3c7 100644 --- a/billing/metereventadjustment/client.go +++ b/billing/metereventadjustment/client.go @@ -10,7 +10,7 @@ package metereventadjustment import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /billing/meter_event_adjustments APIs. diff --git a/billing/metereventsummary/client.go b/billing/metereventsummary/client.go index 48ffc6929a..880706b904 100644 --- a/billing/metereventsummary/client.go +++ b/billing/metereventsummary/client.go @@ -10,8 +10,8 @@ package metereventsummary import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /billing/meters/{id}/event_summaries APIs. diff --git a/billingportal/configuration/client.go b/billingportal/configuration/client.go index 67b3d06dde..2091931c5b 100644 --- a/billingportal/configuration/client.go +++ b/billingportal/configuration/client.go @@ -10,8 +10,8 @@ package configuration import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /billing_portal/configurations APIs. diff --git a/billingportal/configuration/client_test.go b/billingportal/configuration/client_test.go index c4ba53f136..8401db1d04 100644 --- a/billingportal/configuration/client_test.go +++ b/billingportal/configuration/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestBillingPortalConfigurationGet(t *testing.T) { diff --git a/billingportal/session/client.go b/billingportal/session/client.go index 061589fdec..b86e84e37e 100644 --- a/billingportal/session/client.go +++ b/billingportal/session/client.go @@ -10,7 +10,7 @@ package session import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /billing_portal/sessions APIs. diff --git a/billingportal/session/client_test.go b/billingportal/session/client_test.go index c8770c80f5..13d5b52eed 100644 --- a/billingportal/session/client_test.go +++ b/billingportal/session/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestBillingPortalSessionNew(t *testing.T) { diff --git a/capability/client.go b/capability/client.go index daaf6dc01f..7d092a121a 100644 --- a/capability/client.go +++ b/capability/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /accounts/{account}/capabilities APIs. diff --git a/capability/client_test.go b/capability/client_test.go index 8646eff257..fb7e3501a7 100644 --- a/capability/client_test.go +++ b/capability/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestCapabilityGet(t *testing.T) { diff --git a/capital/financingoffer/client.go b/capital/financingoffer/client.go index f556dbe373..5a94c035d8 100644 --- a/capital/financingoffer/client.go +++ b/capital/financingoffer/client.go @@ -10,8 +10,8 @@ package financingoffer import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /capital/financing_offers APIs. diff --git a/capital/financingsummary/client.go b/capital/financingsummary/client.go index 099db3d594..d7c967e366 100644 --- a/capital/financingsummary/client.go +++ b/capital/financingsummary/client.go @@ -10,7 +10,7 @@ package financingsummary import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /capital/financing_summary APIs. diff --git a/capital/financingtransaction/client.go b/capital/financingtransaction/client.go index d746b8a2fc..1c1e182e03 100644 --- a/capital/financingtransaction/client.go +++ b/capital/financingtransaction/client.go @@ -10,8 +10,8 @@ package financingtransaction import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /capital/financing_transactions APIs. diff --git a/card.go b/card.go index 9853f5b15d..c10835b4c3 100644 --- a/card.go +++ b/card.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" "strconv" ) diff --git a/card/client.go b/card/client.go index 418a9f499d..bfbf19d580 100644 --- a/card/client.go +++ b/card/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke card related APIs. diff --git a/card/client_test.go b/card/client_test.go index ba870e9c8f..da4ee75ff1 100644 --- a/card/client_test.go +++ b/card/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestCardDel(t *testing.T) { diff --git a/card_test.go b/card_test.go index 383cf64b30..c3281092fd 100644 --- a/card_test.go +++ b/card_test.go @@ -5,7 +5,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" ) func TestCardListParams_AppendTo(t *testing.T) { diff --git a/cashbalance/client.go b/cashbalance/client.go index d12b989175..be48f63aee 100644 --- a/cashbalance/client.go +++ b/cashbalance/client.go @@ -11,7 +11,7 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /customers/{customer}/cash_balance APIs. diff --git a/charge/client.go b/charge/client.go index 081640ed10..2be30ba0bd 100644 --- a/charge/client.go +++ b/charge/client.go @@ -10,8 +10,8 @@ package charge import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /charges APIs. diff --git a/charge/client_test.go b/charge/client_test.go index 6ce1ae849c..5f6f608f1e 100644 --- a/charge/client_test.go +++ b/charge/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestChargeCapture(t *testing.T) { diff --git a/checkout/session/client.go b/checkout/session/client.go index 7658e77423..6c0e3f6196 100644 --- a/checkout/session/client.go +++ b/checkout/session/client.go @@ -10,8 +10,8 @@ package session import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /checkout/sessions APIs. diff --git a/checkout/session/client_test.go b/checkout/session/client_test.go index c6164e8d3f..36188deb4b 100644 --- a/checkout/session/client_test.go +++ b/checkout/session/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestCheckoutSessionGet(t *testing.T) { diff --git a/client/api.go b/client/api.go index 4f1f67103e..cd57127700 100644 --- a/client/api.go +++ b/client/api.go @@ -8,161 +8,161 @@ package client import ( - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/account" - "github.com/stripe/stripe-go/v80/accountlink" - "github.com/stripe/stripe-go/v80/accountnotice" - "github.com/stripe/stripe-go/v80/accountsession" - "github.com/stripe/stripe-go/v80/applepaydomain" - "github.com/stripe/stripe-go/v80/applicationfee" - appssecret "github.com/stripe/stripe-go/v80/apps/secret" - "github.com/stripe/stripe-go/v80/balance" - "github.com/stripe/stripe-go/v80/balancetransaction" - "github.com/stripe/stripe-go/v80/bankaccount" - billingalert "github.com/stripe/stripe-go/v80/billing/alert" - billingcreditbalancesummary "github.com/stripe/stripe-go/v80/billing/creditbalancesummary" - billingcreditbalancetransaction "github.com/stripe/stripe-go/v80/billing/creditbalancetransaction" - billingcreditgrant "github.com/stripe/stripe-go/v80/billing/creditgrant" - billingmeter "github.com/stripe/stripe-go/v80/billing/meter" - billingmeterevent "github.com/stripe/stripe-go/v80/billing/meterevent" - billingmetereventadjustment "github.com/stripe/stripe-go/v80/billing/metereventadjustment" - billingmetereventsummary "github.com/stripe/stripe-go/v80/billing/metereventsummary" - billingportalconfiguration "github.com/stripe/stripe-go/v80/billingportal/configuration" - billingportalsession "github.com/stripe/stripe-go/v80/billingportal/session" - "github.com/stripe/stripe-go/v80/capability" - capitalfinancingoffer "github.com/stripe/stripe-go/v80/capital/financingoffer" - capitalfinancingsummary "github.com/stripe/stripe-go/v80/capital/financingsummary" - capitalfinancingtransaction "github.com/stripe/stripe-go/v80/capital/financingtransaction" - "github.com/stripe/stripe-go/v80/card" - "github.com/stripe/stripe-go/v80/cashbalance" - "github.com/stripe/stripe-go/v80/charge" - checkoutsession "github.com/stripe/stripe-go/v80/checkout/session" - climateorder "github.com/stripe/stripe-go/v80/climate/order" - climateproduct "github.com/stripe/stripe-go/v80/climate/product" - climatesupplier "github.com/stripe/stripe-go/v80/climate/supplier" - "github.com/stripe/stripe-go/v80/confirmationtoken" - "github.com/stripe/stripe-go/v80/countryspec" - "github.com/stripe/stripe-go/v80/coupon" - "github.com/stripe/stripe-go/v80/creditnote" - "github.com/stripe/stripe-go/v80/customer" - "github.com/stripe/stripe-go/v80/customerbalancetransaction" - "github.com/stripe/stripe-go/v80/customercashbalancetransaction" - "github.com/stripe/stripe-go/v80/customersession" - "github.com/stripe/stripe-go/v80/dispute" - entitlementsactiveentitlement "github.com/stripe/stripe-go/v80/entitlements/activeentitlement" - entitlementsfeature "github.com/stripe/stripe-go/v80/entitlements/feature" - "github.com/stripe/stripe-go/v80/ephemeralkey" - "github.com/stripe/stripe-go/v80/event" - "github.com/stripe/stripe-go/v80/feerefund" - "github.com/stripe/stripe-go/v80/file" - "github.com/stripe/stripe-go/v80/filelink" - financialconnectionsaccount "github.com/stripe/stripe-go/v80/financialconnections/account" - financialconnectionsaccountinferredbalance "github.com/stripe/stripe-go/v80/financialconnections/accountinferredbalance" - financialconnectionsinstitution "github.com/stripe/stripe-go/v80/financialconnections/institution" - financialconnectionssession "github.com/stripe/stripe-go/v80/financialconnections/session" - financialconnectionstransaction "github.com/stripe/stripe-go/v80/financialconnections/transaction" - forwardingrequest "github.com/stripe/stripe-go/v80/forwarding/request" - giftcardscard "github.com/stripe/stripe-go/v80/giftcards/card" - giftcardstransaction "github.com/stripe/stripe-go/v80/giftcards/transaction" - identityverificationreport "github.com/stripe/stripe-go/v80/identity/verificationreport" - identityverificationsession "github.com/stripe/stripe-go/v80/identity/verificationsession" - "github.com/stripe/stripe-go/v80/invoice" - "github.com/stripe/stripe-go/v80/invoiceitem" - "github.com/stripe/stripe-go/v80/invoicelineitem" - "github.com/stripe/stripe-go/v80/invoicepayment" - "github.com/stripe/stripe-go/v80/invoicerenderingtemplate" - issuingauthorization "github.com/stripe/stripe-go/v80/issuing/authorization" - issuingcard "github.com/stripe/stripe-go/v80/issuing/card" - issuingcardholder "github.com/stripe/stripe-go/v80/issuing/cardholder" - issuingcreditunderwritingrecord "github.com/stripe/stripe-go/v80/issuing/creditunderwritingrecord" - issuingdispute "github.com/stripe/stripe-go/v80/issuing/dispute" - issuingdisputesettlementdetail "github.com/stripe/stripe-go/v80/issuing/disputesettlementdetail" - issuingpersonalizationdesign "github.com/stripe/stripe-go/v80/issuing/personalizationdesign" - issuingphysicalbundle "github.com/stripe/stripe-go/v80/issuing/physicalbundle" - issuingtoken "github.com/stripe/stripe-go/v80/issuing/token" - issuingtransaction "github.com/stripe/stripe-go/v80/issuing/transaction" - "github.com/stripe/stripe-go/v80/loginlink" - "github.com/stripe/stripe-go/v80/mandate" - "github.com/stripe/stripe-go/v80/margin" - "github.com/stripe/stripe-go/v80/oauth" - "github.com/stripe/stripe-go/v80/order" - "github.com/stripe/stripe-go/v80/paymentintent" - "github.com/stripe/stripe-go/v80/paymentlink" - "github.com/stripe/stripe-go/v80/paymentmethod" - "github.com/stripe/stripe-go/v80/paymentmethodconfiguration" - "github.com/stripe/stripe-go/v80/paymentmethoddomain" - "github.com/stripe/stripe-go/v80/paymentsource" - "github.com/stripe/stripe-go/v80/payout" - "github.com/stripe/stripe-go/v80/person" - "github.com/stripe/stripe-go/v80/plan" - "github.com/stripe/stripe-go/v80/price" - "github.com/stripe/stripe-go/v80/product" - "github.com/stripe/stripe-go/v80/productfeature" - "github.com/stripe/stripe-go/v80/promotioncode" - "github.com/stripe/stripe-go/v80/quote" - "github.com/stripe/stripe-go/v80/quotepreviewinvoice" - "github.com/stripe/stripe-go/v80/quotepreviewsubscriptionschedule" - radarearlyfraudwarning "github.com/stripe/stripe-go/v80/radar/earlyfraudwarning" - radarvaluelist "github.com/stripe/stripe-go/v80/radar/valuelist" - radarvaluelistitem "github.com/stripe/stripe-go/v80/radar/valuelistitem" - "github.com/stripe/stripe-go/v80/refund" - reportingreportrun "github.com/stripe/stripe-go/v80/reporting/reportrun" - reportingreporttype "github.com/stripe/stripe-go/v80/reporting/reporttype" - "github.com/stripe/stripe-go/v80/review" - "github.com/stripe/stripe-go/v80/setupattempt" - "github.com/stripe/stripe-go/v80/setupintent" - "github.com/stripe/stripe-go/v80/shippingrate" - sigmascheduledqueryrun "github.com/stripe/stripe-go/v80/sigma/scheduledqueryrun" - "github.com/stripe/stripe-go/v80/source" - "github.com/stripe/stripe-go/v80/sourcetransaction" - "github.com/stripe/stripe-go/v80/subscription" - "github.com/stripe/stripe-go/v80/subscriptionitem" - "github.com/stripe/stripe-go/v80/subscriptionschedule" - taxassociation "github.com/stripe/stripe-go/v80/tax/association" - taxcalculation "github.com/stripe/stripe-go/v80/tax/calculation" - taxform "github.com/stripe/stripe-go/v80/tax/form" - taxregistration "github.com/stripe/stripe-go/v80/tax/registration" - taxsettings "github.com/stripe/stripe-go/v80/tax/settings" - taxtransaction "github.com/stripe/stripe-go/v80/tax/transaction" - "github.com/stripe/stripe-go/v80/taxcode" - "github.com/stripe/stripe-go/v80/taxid" - "github.com/stripe/stripe-go/v80/taxrate" - terminalconfiguration "github.com/stripe/stripe-go/v80/terminal/configuration" - terminalconnectiontoken "github.com/stripe/stripe-go/v80/terminal/connectiontoken" - terminallocation "github.com/stripe/stripe-go/v80/terminal/location" - terminalreader "github.com/stripe/stripe-go/v80/terminal/reader" - terminalreadercollecteddata "github.com/stripe/stripe-go/v80/terminal/readercollecteddata" - testhelpersconfirmationtoken "github.com/stripe/stripe-go/v80/testhelpers/confirmationtoken" - testhelperscustomer "github.com/stripe/stripe-go/v80/testhelpers/customer" - testhelpersissuingauthorization "github.com/stripe/stripe-go/v80/testhelpers/issuing/authorization" - testhelpersissuingcard "github.com/stripe/stripe-go/v80/testhelpers/issuing/card" - testhelpersissuingpersonalizationdesign "github.com/stripe/stripe-go/v80/testhelpers/issuing/personalizationdesign" - testhelpersissuingtransaction "github.com/stripe/stripe-go/v80/testhelpers/issuing/transaction" - testhelpersrefund "github.com/stripe/stripe-go/v80/testhelpers/refund" - testhelpersterminalreader "github.com/stripe/stripe-go/v80/testhelpers/terminal/reader" - testhelperstestclock "github.com/stripe/stripe-go/v80/testhelpers/testclock" - testhelperstreasuryinboundtransfer "github.com/stripe/stripe-go/v80/testhelpers/treasury/inboundtransfer" - testhelperstreasuryoutboundpayment "github.com/stripe/stripe-go/v80/testhelpers/treasury/outboundpayment" - testhelperstreasuryoutboundtransfer "github.com/stripe/stripe-go/v80/testhelpers/treasury/outboundtransfer" - testhelperstreasuryreceivedcredit "github.com/stripe/stripe-go/v80/testhelpers/treasury/receivedcredit" - testhelperstreasuryreceiveddebit "github.com/stripe/stripe-go/v80/testhelpers/treasury/receiveddebit" - "github.com/stripe/stripe-go/v80/token" - "github.com/stripe/stripe-go/v80/topup" - "github.com/stripe/stripe-go/v80/transfer" - "github.com/stripe/stripe-go/v80/transferreversal" - treasurycreditreversal "github.com/stripe/stripe-go/v80/treasury/creditreversal" - treasurydebitreversal "github.com/stripe/stripe-go/v80/treasury/debitreversal" - treasuryfinancialaccount "github.com/stripe/stripe-go/v80/treasury/financialaccount" - treasuryinboundtransfer "github.com/stripe/stripe-go/v80/treasury/inboundtransfer" - treasuryoutboundpayment "github.com/stripe/stripe-go/v80/treasury/outboundpayment" - treasuryoutboundtransfer "github.com/stripe/stripe-go/v80/treasury/outboundtransfer" - treasuryreceivedcredit "github.com/stripe/stripe-go/v80/treasury/receivedcredit" - treasuryreceiveddebit "github.com/stripe/stripe-go/v80/treasury/receiveddebit" - treasurytransaction "github.com/stripe/stripe-go/v80/treasury/transaction" - treasurytransactionentry "github.com/stripe/stripe-go/v80/treasury/transactionentry" - "github.com/stripe/stripe-go/v80/usagerecord" - "github.com/stripe/stripe-go/v80/usagerecordsummary" - "github.com/stripe/stripe-go/v80/webhookendpoint" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/account" + "github.com/stripe/stripe-go/v81/accountlink" + "github.com/stripe/stripe-go/v81/accountnotice" + "github.com/stripe/stripe-go/v81/accountsession" + "github.com/stripe/stripe-go/v81/applepaydomain" + "github.com/stripe/stripe-go/v81/applicationfee" + appssecret "github.com/stripe/stripe-go/v81/apps/secret" + "github.com/stripe/stripe-go/v81/balance" + "github.com/stripe/stripe-go/v81/balancetransaction" + "github.com/stripe/stripe-go/v81/bankaccount" + billingalert "github.com/stripe/stripe-go/v81/billing/alert" + billingcreditbalancesummary "github.com/stripe/stripe-go/v81/billing/creditbalancesummary" + billingcreditbalancetransaction "github.com/stripe/stripe-go/v81/billing/creditbalancetransaction" + billingcreditgrant "github.com/stripe/stripe-go/v81/billing/creditgrant" + billingmeter "github.com/stripe/stripe-go/v81/billing/meter" + billingmeterevent "github.com/stripe/stripe-go/v81/billing/meterevent" + billingmetereventadjustment "github.com/stripe/stripe-go/v81/billing/metereventadjustment" + billingmetereventsummary "github.com/stripe/stripe-go/v81/billing/metereventsummary" + billingportalconfiguration "github.com/stripe/stripe-go/v81/billingportal/configuration" + billingportalsession "github.com/stripe/stripe-go/v81/billingportal/session" + "github.com/stripe/stripe-go/v81/capability" + capitalfinancingoffer "github.com/stripe/stripe-go/v81/capital/financingoffer" + capitalfinancingsummary "github.com/stripe/stripe-go/v81/capital/financingsummary" + capitalfinancingtransaction "github.com/stripe/stripe-go/v81/capital/financingtransaction" + "github.com/stripe/stripe-go/v81/card" + "github.com/stripe/stripe-go/v81/cashbalance" + "github.com/stripe/stripe-go/v81/charge" + checkoutsession "github.com/stripe/stripe-go/v81/checkout/session" + climateorder "github.com/stripe/stripe-go/v81/climate/order" + climateproduct "github.com/stripe/stripe-go/v81/climate/product" + climatesupplier "github.com/stripe/stripe-go/v81/climate/supplier" + "github.com/stripe/stripe-go/v81/confirmationtoken" + "github.com/stripe/stripe-go/v81/countryspec" + "github.com/stripe/stripe-go/v81/coupon" + "github.com/stripe/stripe-go/v81/creditnote" + "github.com/stripe/stripe-go/v81/customer" + "github.com/stripe/stripe-go/v81/customerbalancetransaction" + "github.com/stripe/stripe-go/v81/customercashbalancetransaction" + "github.com/stripe/stripe-go/v81/customersession" + "github.com/stripe/stripe-go/v81/dispute" + entitlementsactiveentitlement "github.com/stripe/stripe-go/v81/entitlements/activeentitlement" + entitlementsfeature "github.com/stripe/stripe-go/v81/entitlements/feature" + "github.com/stripe/stripe-go/v81/ephemeralkey" + "github.com/stripe/stripe-go/v81/event" + "github.com/stripe/stripe-go/v81/feerefund" + "github.com/stripe/stripe-go/v81/file" + "github.com/stripe/stripe-go/v81/filelink" + financialconnectionsaccount "github.com/stripe/stripe-go/v81/financialconnections/account" + financialconnectionsaccountinferredbalance "github.com/stripe/stripe-go/v81/financialconnections/accountinferredbalance" + financialconnectionsinstitution "github.com/stripe/stripe-go/v81/financialconnections/institution" + financialconnectionssession "github.com/stripe/stripe-go/v81/financialconnections/session" + financialconnectionstransaction "github.com/stripe/stripe-go/v81/financialconnections/transaction" + forwardingrequest "github.com/stripe/stripe-go/v81/forwarding/request" + giftcardscard "github.com/stripe/stripe-go/v81/giftcards/card" + giftcardstransaction "github.com/stripe/stripe-go/v81/giftcards/transaction" + identityverificationreport "github.com/stripe/stripe-go/v81/identity/verificationreport" + identityverificationsession "github.com/stripe/stripe-go/v81/identity/verificationsession" + "github.com/stripe/stripe-go/v81/invoice" + "github.com/stripe/stripe-go/v81/invoiceitem" + "github.com/stripe/stripe-go/v81/invoicelineitem" + "github.com/stripe/stripe-go/v81/invoicepayment" + "github.com/stripe/stripe-go/v81/invoicerenderingtemplate" + issuingauthorization "github.com/stripe/stripe-go/v81/issuing/authorization" + issuingcard "github.com/stripe/stripe-go/v81/issuing/card" + issuingcardholder "github.com/stripe/stripe-go/v81/issuing/cardholder" + issuingcreditunderwritingrecord "github.com/stripe/stripe-go/v81/issuing/creditunderwritingrecord" + issuingdispute "github.com/stripe/stripe-go/v81/issuing/dispute" + issuingdisputesettlementdetail "github.com/stripe/stripe-go/v81/issuing/disputesettlementdetail" + issuingpersonalizationdesign "github.com/stripe/stripe-go/v81/issuing/personalizationdesign" + issuingphysicalbundle "github.com/stripe/stripe-go/v81/issuing/physicalbundle" + issuingtoken "github.com/stripe/stripe-go/v81/issuing/token" + issuingtransaction "github.com/stripe/stripe-go/v81/issuing/transaction" + "github.com/stripe/stripe-go/v81/loginlink" + "github.com/stripe/stripe-go/v81/mandate" + "github.com/stripe/stripe-go/v81/margin" + "github.com/stripe/stripe-go/v81/oauth" + "github.com/stripe/stripe-go/v81/order" + "github.com/stripe/stripe-go/v81/paymentintent" + "github.com/stripe/stripe-go/v81/paymentlink" + "github.com/stripe/stripe-go/v81/paymentmethod" + "github.com/stripe/stripe-go/v81/paymentmethodconfiguration" + "github.com/stripe/stripe-go/v81/paymentmethoddomain" + "github.com/stripe/stripe-go/v81/paymentsource" + "github.com/stripe/stripe-go/v81/payout" + "github.com/stripe/stripe-go/v81/person" + "github.com/stripe/stripe-go/v81/plan" + "github.com/stripe/stripe-go/v81/price" + "github.com/stripe/stripe-go/v81/product" + "github.com/stripe/stripe-go/v81/productfeature" + "github.com/stripe/stripe-go/v81/promotioncode" + "github.com/stripe/stripe-go/v81/quote" + "github.com/stripe/stripe-go/v81/quotepreviewinvoice" + "github.com/stripe/stripe-go/v81/quotepreviewsubscriptionschedule" + radarearlyfraudwarning "github.com/stripe/stripe-go/v81/radar/earlyfraudwarning" + radarvaluelist "github.com/stripe/stripe-go/v81/radar/valuelist" + radarvaluelistitem "github.com/stripe/stripe-go/v81/radar/valuelistitem" + "github.com/stripe/stripe-go/v81/refund" + reportingreportrun "github.com/stripe/stripe-go/v81/reporting/reportrun" + reportingreporttype "github.com/stripe/stripe-go/v81/reporting/reporttype" + "github.com/stripe/stripe-go/v81/review" + "github.com/stripe/stripe-go/v81/setupattempt" + "github.com/stripe/stripe-go/v81/setupintent" + "github.com/stripe/stripe-go/v81/shippingrate" + sigmascheduledqueryrun "github.com/stripe/stripe-go/v81/sigma/scheduledqueryrun" + "github.com/stripe/stripe-go/v81/source" + "github.com/stripe/stripe-go/v81/sourcetransaction" + "github.com/stripe/stripe-go/v81/subscription" + "github.com/stripe/stripe-go/v81/subscriptionitem" + "github.com/stripe/stripe-go/v81/subscriptionschedule" + taxassociation "github.com/stripe/stripe-go/v81/tax/association" + taxcalculation "github.com/stripe/stripe-go/v81/tax/calculation" + taxform "github.com/stripe/stripe-go/v81/tax/form" + taxregistration "github.com/stripe/stripe-go/v81/tax/registration" + taxsettings "github.com/stripe/stripe-go/v81/tax/settings" + taxtransaction "github.com/stripe/stripe-go/v81/tax/transaction" + "github.com/stripe/stripe-go/v81/taxcode" + "github.com/stripe/stripe-go/v81/taxid" + "github.com/stripe/stripe-go/v81/taxrate" + terminalconfiguration "github.com/stripe/stripe-go/v81/terminal/configuration" + terminalconnectiontoken "github.com/stripe/stripe-go/v81/terminal/connectiontoken" + terminallocation "github.com/stripe/stripe-go/v81/terminal/location" + terminalreader "github.com/stripe/stripe-go/v81/terminal/reader" + terminalreadercollecteddata "github.com/stripe/stripe-go/v81/terminal/readercollecteddata" + testhelpersconfirmationtoken "github.com/stripe/stripe-go/v81/testhelpers/confirmationtoken" + testhelperscustomer "github.com/stripe/stripe-go/v81/testhelpers/customer" + testhelpersissuingauthorization "github.com/stripe/stripe-go/v81/testhelpers/issuing/authorization" + testhelpersissuingcard "github.com/stripe/stripe-go/v81/testhelpers/issuing/card" + testhelpersissuingpersonalizationdesign "github.com/stripe/stripe-go/v81/testhelpers/issuing/personalizationdesign" + testhelpersissuingtransaction "github.com/stripe/stripe-go/v81/testhelpers/issuing/transaction" + testhelpersrefund "github.com/stripe/stripe-go/v81/testhelpers/refund" + testhelpersterminalreader "github.com/stripe/stripe-go/v81/testhelpers/terminal/reader" + testhelperstestclock "github.com/stripe/stripe-go/v81/testhelpers/testclock" + testhelperstreasuryinboundtransfer "github.com/stripe/stripe-go/v81/testhelpers/treasury/inboundtransfer" + testhelperstreasuryoutboundpayment "github.com/stripe/stripe-go/v81/testhelpers/treasury/outboundpayment" + testhelperstreasuryoutboundtransfer "github.com/stripe/stripe-go/v81/testhelpers/treasury/outboundtransfer" + testhelperstreasuryreceivedcredit "github.com/stripe/stripe-go/v81/testhelpers/treasury/receivedcredit" + testhelperstreasuryreceiveddebit "github.com/stripe/stripe-go/v81/testhelpers/treasury/receiveddebit" + "github.com/stripe/stripe-go/v81/token" + "github.com/stripe/stripe-go/v81/topup" + "github.com/stripe/stripe-go/v81/transfer" + "github.com/stripe/stripe-go/v81/transferreversal" + treasurycreditreversal "github.com/stripe/stripe-go/v81/treasury/creditreversal" + treasurydebitreversal "github.com/stripe/stripe-go/v81/treasury/debitreversal" + treasuryfinancialaccount "github.com/stripe/stripe-go/v81/treasury/financialaccount" + treasuryinboundtransfer "github.com/stripe/stripe-go/v81/treasury/inboundtransfer" + treasuryoutboundpayment "github.com/stripe/stripe-go/v81/treasury/outboundpayment" + treasuryoutboundtransfer "github.com/stripe/stripe-go/v81/treasury/outboundtransfer" + treasuryreceivedcredit "github.com/stripe/stripe-go/v81/treasury/receivedcredit" + treasuryreceiveddebit "github.com/stripe/stripe-go/v81/treasury/receiveddebit" + treasurytransaction "github.com/stripe/stripe-go/v81/treasury/transaction" + treasurytransactionentry "github.com/stripe/stripe-go/v81/treasury/transactionentry" + "github.com/stripe/stripe-go/v81/usagerecord" + "github.com/stripe/stripe-go/v81/usagerecordsummary" + "github.com/stripe/stripe-go/v81/webhookendpoint" ) // API is the Stripe client. It contains all the different resources available. diff --git a/climate/order/client.go b/climate/order/client.go index 8239eb7783..77da6a6b81 100644 --- a/climate/order/client.go +++ b/climate/order/client.go @@ -10,8 +10,8 @@ package order import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /climate/orders APIs. diff --git a/climate/product/client.go b/climate/product/client.go index 0e525e9787..6ed801ebae 100644 --- a/climate/product/client.go +++ b/climate/product/client.go @@ -10,8 +10,8 @@ package product import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /climate/products APIs. diff --git a/climate/supplier/client.go b/climate/supplier/client.go index a8bc34d3b1..c88933705e 100644 --- a/climate/supplier/client.go +++ b/climate/supplier/client.go @@ -10,8 +10,8 @@ package supplier import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /climate/suppliers APIs. diff --git a/confirmationtoken/client.go b/confirmationtoken/client.go index 89bcea3184..4b8675d4fa 100644 --- a/confirmationtoken/client.go +++ b/confirmationtoken/client.go @@ -10,7 +10,7 @@ package confirmationtoken import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /confirmation_tokens APIs. diff --git a/countryspec/client.go b/countryspec/client.go index 5c383188b7..83581dff82 100644 --- a/countryspec/client.go +++ b/countryspec/client.go @@ -10,8 +10,8 @@ package countryspec import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /country_specs APIs. diff --git a/countryspec/client_test.go b/countryspec/client_test.go index 91e089ae1b..71bb13d108 100644 --- a/countryspec/client_test.go +++ b/countryspec/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestCountrySpecGet(t *testing.T) { diff --git a/coupon/client.go b/coupon/client.go index 4c4b0ca840..2549bbe22c 100644 --- a/coupon/client.go +++ b/coupon/client.go @@ -10,8 +10,8 @@ package coupon import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /coupons APIs. diff --git a/coupon/client_test.go b/coupon/client_test.go index e180d6ef36..57267af0b7 100644 --- a/coupon/client_test.go +++ b/coupon/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestCouponDel(t *testing.T) { diff --git a/creditnote/client.go b/creditnote/client.go index 1b214d430b..9820a80104 100644 --- a/creditnote/client.go +++ b/creditnote/client.go @@ -10,8 +10,8 @@ package creditnote import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /credit_notes APIs. diff --git a/creditnote/client_test.go b/creditnote/client_test.go index 8ee1a87f0b..68c99da61b 100644 --- a/creditnote/client_test.go +++ b/creditnote/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestCreditNoteGet(t *testing.T) { diff --git a/customer/client.go b/customer/client.go index e3d207bc50..92d8c29b47 100644 --- a/customer/client.go +++ b/customer/client.go @@ -10,8 +10,8 @@ package customer import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /customers APIs. diff --git a/customer/client_test.go b/customer/client_test.go index bba4ab448d..f68c73240c 100644 --- a/customer/client_test.go +++ b/customer/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestCustomerDel(t *testing.T) { diff --git a/customerbalancetransaction/client.go b/customerbalancetransaction/client.go index 19af671d8b..76097e7cc6 100644 --- a/customerbalancetransaction/client.go +++ b/customerbalancetransaction/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /customers/{customer}/balance_transactions APIs. diff --git a/customerbalancetransaction/client_test.go b/customerbalancetransaction/client_test.go index 08bb76e4ce..9dcb83a31f 100644 --- a/customerbalancetransaction/client_test.go +++ b/customerbalancetransaction/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestCustomerBalanceTransactionGet(t *testing.T) { diff --git a/customercashbalancetransaction/client.go b/customercashbalancetransaction/client.go index 16966a2f06..53a567115e 100644 --- a/customercashbalancetransaction/client.go +++ b/customercashbalancetransaction/client.go @@ -10,8 +10,8 @@ package customercashbalancetransaction import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /customers/{customer}/cash_balance_transactions APIs. diff --git a/customersession/client.go b/customersession/client.go index deb6cf9b23..a870597066 100644 --- a/customersession/client.go +++ b/customersession/client.go @@ -10,7 +10,7 @@ package customersession import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /customer_sessions APIs. diff --git a/dispute/client.go b/dispute/client.go index 0f9181ddf1..f0d1e21834 100644 --- a/dispute/client.go +++ b/dispute/client.go @@ -10,8 +10,8 @@ package dispute import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /disputes APIs. diff --git a/dispute/client_test.go b/dispute/client_test.go index fc7e04567f..df6a5bdefd 100644 --- a/dispute/client_test.go +++ b/dispute/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestDisputeClose(t *testing.T) { diff --git a/entitlements/activeentitlement/client.go b/entitlements/activeentitlement/client.go index 91a929e25c..4dc1d4aa96 100644 --- a/entitlements/activeentitlement/client.go +++ b/entitlements/activeentitlement/client.go @@ -10,8 +10,8 @@ package activeentitlement import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /entitlements/active_entitlements APIs. diff --git a/entitlements/feature/client.go b/entitlements/feature/client.go index 1771f27f19..436b2e3763 100644 --- a/entitlements/feature/client.go +++ b/entitlements/feature/client.go @@ -10,8 +10,8 @@ package feature import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /entitlements/features APIs. diff --git a/ephemeralkey/client.go b/ephemeralkey/client.go index 9353b438aa..c6a819c94d 100644 --- a/ephemeralkey/client.go +++ b/ephemeralkey/client.go @@ -11,7 +11,7 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /ephemeral_keys APIs. diff --git a/ephemeralkey/client_test.go b/ephemeralkey/client_test.go index 776a3608a6..ef93aa69fd 100644 --- a/ephemeralkey/client_test.go +++ b/ephemeralkey/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestEphemeralKeyDel(t *testing.T) { diff --git a/event/client.go b/event/client.go index 2258531fa5..614ba1912a 100644 --- a/event/client.go +++ b/event/client.go @@ -10,8 +10,8 @@ package event import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /events APIs. diff --git a/event/client_test.go b/event/client_test.go index 985cd9a340..362cff00ca 100644 --- a/event/client_test.go +++ b/event/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestEventGet(t *testing.T) { diff --git a/example/deserialization_test.go b/example/deserialization_test.go index a46367e74f..f0b23559ed 100644 --- a/example/deserialization_test.go +++ b/example/deserialization_test.go @@ -5,7 +5,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) type APIResource = stripe.APIResource diff --git a/example/generated_examples_test.go b/example/generated_examples_test.go index 6c8ad4b45d..056edb2138 100644 --- a/example/generated_examples_test.go +++ b/example/generated_examples_test.go @@ -10,110 +10,110 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - account "github.com/stripe/stripe-go/v80/account" - accountlink "github.com/stripe/stripe-go/v80/accountlink" - applicationfee "github.com/stripe/stripe-go/v80/applicationfee" - apps_secret "github.com/stripe/stripe-go/v80/apps/secret" - balancetransaction "github.com/stripe/stripe-go/v80/balancetransaction" - billingportal_configuration "github.com/stripe/stripe-go/v80/billingportal/configuration" - billingportal_session "github.com/stripe/stripe-go/v80/billingportal/session" - capability "github.com/stripe/stripe-go/v80/capability" - card "github.com/stripe/stripe-go/v80/card" - cashbalance "github.com/stripe/stripe-go/v80/cashbalance" - charge "github.com/stripe/stripe-go/v80/charge" - checkout_session "github.com/stripe/stripe-go/v80/checkout/session" - countryspec "github.com/stripe/stripe-go/v80/countryspec" - coupon "github.com/stripe/stripe-go/v80/coupon" - customer "github.com/stripe/stripe-go/v80/customer" - customerbalancetransaction "github.com/stripe/stripe-go/v80/customerbalancetransaction" - customercashbalancetransaction "github.com/stripe/stripe-go/v80/customercashbalancetransaction" - customersession "github.com/stripe/stripe-go/v80/customersession" - dispute "github.com/stripe/stripe-go/v80/dispute" - event "github.com/stripe/stripe-go/v80/event" - feerefund "github.com/stripe/stripe-go/v80/feerefund" - financialconnections_account "github.com/stripe/stripe-go/v80/financialconnections/account" - financialconnections_session "github.com/stripe/stripe-go/v80/financialconnections/session" - financialconnections_transaction "github.com/stripe/stripe-go/v80/financialconnections/transaction" - identity_verificationreport "github.com/stripe/stripe-go/v80/identity/verificationreport" - identity_verificationsession "github.com/stripe/stripe-go/v80/identity/verificationsession" - invoice "github.com/stripe/stripe-go/v80/invoice" - invoiceitem "github.com/stripe/stripe-go/v80/invoiceitem" - issuing_authorization "github.com/stripe/stripe-go/v80/issuing/authorization" - issuing_card "github.com/stripe/stripe-go/v80/issuing/card" - issuing_cardholder "github.com/stripe/stripe-go/v80/issuing/cardholder" - issuing_dispute "github.com/stripe/stripe-go/v80/issuing/dispute" - issuing_personalizationdesign "github.com/stripe/stripe-go/v80/issuing/personalizationdesign" - issuing_physicalbundle "github.com/stripe/stripe-go/v80/issuing/physicalbundle" - issuing_transaction "github.com/stripe/stripe-go/v80/issuing/transaction" - loginlink "github.com/stripe/stripe-go/v80/loginlink" - mandate "github.com/stripe/stripe-go/v80/mandate" - paymentintent "github.com/stripe/stripe-go/v80/paymentintent" - paymentlink "github.com/stripe/stripe-go/v80/paymentlink" - paymentmethod "github.com/stripe/stripe-go/v80/paymentmethod" - paymentmethodconfiguration "github.com/stripe/stripe-go/v80/paymentmethodconfiguration" - paymentsource "github.com/stripe/stripe-go/v80/paymentsource" - payout "github.com/stripe/stripe-go/v80/payout" - person "github.com/stripe/stripe-go/v80/person" - plan "github.com/stripe/stripe-go/v80/plan" - price "github.com/stripe/stripe-go/v80/price" - product "github.com/stripe/stripe-go/v80/product" - promotioncode "github.com/stripe/stripe-go/v80/promotioncode" - quote "github.com/stripe/stripe-go/v80/quote" - radar_earlyfraudwarning "github.com/stripe/stripe-go/v80/radar/earlyfraudwarning" - radar_valuelist "github.com/stripe/stripe-go/v80/radar/valuelist" - radar_valuelistitem "github.com/stripe/stripe-go/v80/radar/valuelistitem" - refund "github.com/stripe/stripe-go/v80/refund" - reporting_reportrun "github.com/stripe/stripe-go/v80/reporting/reportrun" - reporting_reporttype "github.com/stripe/stripe-go/v80/reporting/reporttype" - review "github.com/stripe/stripe-go/v80/review" - setupattempt "github.com/stripe/stripe-go/v80/setupattempt" - setupintent "github.com/stripe/stripe-go/v80/setupintent" - shippingrate "github.com/stripe/stripe-go/v80/shippingrate" - sigma_scheduledqueryrun "github.com/stripe/stripe-go/v80/sigma/scheduledqueryrun" - source "github.com/stripe/stripe-go/v80/source" - subscription "github.com/stripe/stripe-go/v80/subscription" - subscriptionitem "github.com/stripe/stripe-go/v80/subscriptionitem" - subscriptionschedule "github.com/stripe/stripe-go/v80/subscriptionschedule" - tax_calculation "github.com/stripe/stripe-go/v80/tax/calculation" - tax_form "github.com/stripe/stripe-go/v80/tax/form" - tax_settings "github.com/stripe/stripe-go/v80/tax/settings" - tax_transaction "github.com/stripe/stripe-go/v80/tax/transaction" - taxcode "github.com/stripe/stripe-go/v80/taxcode" - taxid "github.com/stripe/stripe-go/v80/taxid" - taxrate "github.com/stripe/stripe-go/v80/taxrate" - terminal_configuration "github.com/stripe/stripe-go/v80/terminal/configuration" - terminal_connectiontoken "github.com/stripe/stripe-go/v80/terminal/connectiontoken" - terminal_location "github.com/stripe/stripe-go/v80/terminal/location" - terminal_reader "github.com/stripe/stripe-go/v80/terminal/reader" - testhelpers_customer "github.com/stripe/stripe-go/v80/testhelpers/customer" - testhelpers_issuing_authorization "github.com/stripe/stripe-go/v80/testhelpers/issuing/authorization" - testhelpers_issuing_card "github.com/stripe/stripe-go/v80/testhelpers/issuing/card" - testhelpers_issuing_personalizationdesign "github.com/stripe/stripe-go/v80/testhelpers/issuing/personalizationdesign" - testhelpers_issuing_transaction "github.com/stripe/stripe-go/v80/testhelpers/issuing/transaction" - testhelpers_refund "github.com/stripe/stripe-go/v80/testhelpers/refund" - testhelpers_testclock "github.com/stripe/stripe-go/v80/testhelpers/testclock" - testhelpers_treasury_inboundtransfer "github.com/stripe/stripe-go/v80/testhelpers/treasury/inboundtransfer" - testhelpers_treasury_outboundtransfer "github.com/stripe/stripe-go/v80/testhelpers/treasury/outboundtransfer" - testhelpers_treasury_receivedcredit "github.com/stripe/stripe-go/v80/testhelpers/treasury/receivedcredit" - testhelpers_treasury_receiveddebit "github.com/stripe/stripe-go/v80/testhelpers/treasury/receiveddebit" - _ "github.com/stripe/stripe-go/v80/testing" - token "github.com/stripe/stripe-go/v80/token" - topup "github.com/stripe/stripe-go/v80/topup" - transfer "github.com/stripe/stripe-go/v80/transfer" - transferreversal "github.com/stripe/stripe-go/v80/transferreversal" - treasury_creditreversal "github.com/stripe/stripe-go/v80/treasury/creditreversal" - treasury_debitreversal "github.com/stripe/stripe-go/v80/treasury/debitreversal" - treasury_financialaccount "github.com/stripe/stripe-go/v80/treasury/financialaccount" - treasury_inboundtransfer "github.com/stripe/stripe-go/v80/treasury/inboundtransfer" - treasury_outboundpayment "github.com/stripe/stripe-go/v80/treasury/outboundpayment" - treasury_outboundtransfer "github.com/stripe/stripe-go/v80/treasury/outboundtransfer" - treasury_receivedcredit "github.com/stripe/stripe-go/v80/treasury/receivedcredit" - treasury_receiveddebit "github.com/stripe/stripe-go/v80/treasury/receiveddebit" - treasury_transaction "github.com/stripe/stripe-go/v80/treasury/transaction" - treasury_transactionentry "github.com/stripe/stripe-go/v80/treasury/transactionentry" - usagerecord "github.com/stripe/stripe-go/v80/usagerecord" - webhookendpoint "github.com/stripe/stripe-go/v80/webhookendpoint" + stripe "github.com/stripe/stripe-go/v81" + account "github.com/stripe/stripe-go/v81/account" + accountlink "github.com/stripe/stripe-go/v81/accountlink" + applicationfee "github.com/stripe/stripe-go/v81/applicationfee" + apps_secret "github.com/stripe/stripe-go/v81/apps/secret" + balancetransaction "github.com/stripe/stripe-go/v81/balancetransaction" + billingportal_configuration "github.com/stripe/stripe-go/v81/billingportal/configuration" + billingportal_session "github.com/stripe/stripe-go/v81/billingportal/session" + capability "github.com/stripe/stripe-go/v81/capability" + card "github.com/stripe/stripe-go/v81/card" + cashbalance "github.com/stripe/stripe-go/v81/cashbalance" + charge "github.com/stripe/stripe-go/v81/charge" + checkout_session "github.com/stripe/stripe-go/v81/checkout/session" + countryspec "github.com/stripe/stripe-go/v81/countryspec" + coupon "github.com/stripe/stripe-go/v81/coupon" + customer "github.com/stripe/stripe-go/v81/customer" + customerbalancetransaction "github.com/stripe/stripe-go/v81/customerbalancetransaction" + customercashbalancetransaction "github.com/stripe/stripe-go/v81/customercashbalancetransaction" + customersession "github.com/stripe/stripe-go/v81/customersession" + dispute "github.com/stripe/stripe-go/v81/dispute" + event "github.com/stripe/stripe-go/v81/event" + feerefund "github.com/stripe/stripe-go/v81/feerefund" + financialconnections_account "github.com/stripe/stripe-go/v81/financialconnections/account" + financialconnections_session "github.com/stripe/stripe-go/v81/financialconnections/session" + financialconnections_transaction "github.com/stripe/stripe-go/v81/financialconnections/transaction" + identity_verificationreport "github.com/stripe/stripe-go/v81/identity/verificationreport" + identity_verificationsession "github.com/stripe/stripe-go/v81/identity/verificationsession" + invoice "github.com/stripe/stripe-go/v81/invoice" + invoiceitem "github.com/stripe/stripe-go/v81/invoiceitem" + issuing_authorization "github.com/stripe/stripe-go/v81/issuing/authorization" + issuing_card "github.com/stripe/stripe-go/v81/issuing/card" + issuing_cardholder "github.com/stripe/stripe-go/v81/issuing/cardholder" + issuing_dispute "github.com/stripe/stripe-go/v81/issuing/dispute" + issuing_personalizationdesign "github.com/stripe/stripe-go/v81/issuing/personalizationdesign" + issuing_physicalbundle "github.com/stripe/stripe-go/v81/issuing/physicalbundle" + issuing_transaction "github.com/stripe/stripe-go/v81/issuing/transaction" + loginlink "github.com/stripe/stripe-go/v81/loginlink" + mandate "github.com/stripe/stripe-go/v81/mandate" + paymentintent "github.com/stripe/stripe-go/v81/paymentintent" + paymentlink "github.com/stripe/stripe-go/v81/paymentlink" + paymentmethod "github.com/stripe/stripe-go/v81/paymentmethod" + paymentmethodconfiguration "github.com/stripe/stripe-go/v81/paymentmethodconfiguration" + paymentsource "github.com/stripe/stripe-go/v81/paymentsource" + payout "github.com/stripe/stripe-go/v81/payout" + person "github.com/stripe/stripe-go/v81/person" + plan "github.com/stripe/stripe-go/v81/plan" + price "github.com/stripe/stripe-go/v81/price" + product "github.com/stripe/stripe-go/v81/product" + promotioncode "github.com/stripe/stripe-go/v81/promotioncode" + quote "github.com/stripe/stripe-go/v81/quote" + radar_earlyfraudwarning "github.com/stripe/stripe-go/v81/radar/earlyfraudwarning" + radar_valuelist "github.com/stripe/stripe-go/v81/radar/valuelist" + radar_valuelistitem "github.com/stripe/stripe-go/v81/radar/valuelistitem" + refund "github.com/stripe/stripe-go/v81/refund" + reporting_reportrun "github.com/stripe/stripe-go/v81/reporting/reportrun" + reporting_reporttype "github.com/stripe/stripe-go/v81/reporting/reporttype" + review "github.com/stripe/stripe-go/v81/review" + setupattempt "github.com/stripe/stripe-go/v81/setupattempt" + setupintent "github.com/stripe/stripe-go/v81/setupintent" + shippingrate "github.com/stripe/stripe-go/v81/shippingrate" + sigma_scheduledqueryrun "github.com/stripe/stripe-go/v81/sigma/scheduledqueryrun" + source "github.com/stripe/stripe-go/v81/source" + subscription "github.com/stripe/stripe-go/v81/subscription" + subscriptionitem "github.com/stripe/stripe-go/v81/subscriptionitem" + subscriptionschedule "github.com/stripe/stripe-go/v81/subscriptionschedule" + tax_calculation "github.com/stripe/stripe-go/v81/tax/calculation" + tax_form "github.com/stripe/stripe-go/v81/tax/form" + tax_settings "github.com/stripe/stripe-go/v81/tax/settings" + tax_transaction "github.com/stripe/stripe-go/v81/tax/transaction" + taxcode "github.com/stripe/stripe-go/v81/taxcode" + taxid "github.com/stripe/stripe-go/v81/taxid" + taxrate "github.com/stripe/stripe-go/v81/taxrate" + terminal_configuration "github.com/stripe/stripe-go/v81/terminal/configuration" + terminal_connectiontoken "github.com/stripe/stripe-go/v81/terminal/connectiontoken" + terminal_location "github.com/stripe/stripe-go/v81/terminal/location" + terminal_reader "github.com/stripe/stripe-go/v81/terminal/reader" + testhelpers_customer "github.com/stripe/stripe-go/v81/testhelpers/customer" + testhelpers_issuing_authorization "github.com/stripe/stripe-go/v81/testhelpers/issuing/authorization" + testhelpers_issuing_card "github.com/stripe/stripe-go/v81/testhelpers/issuing/card" + testhelpers_issuing_personalizationdesign "github.com/stripe/stripe-go/v81/testhelpers/issuing/personalizationdesign" + testhelpers_issuing_transaction "github.com/stripe/stripe-go/v81/testhelpers/issuing/transaction" + testhelpers_refund "github.com/stripe/stripe-go/v81/testhelpers/refund" + testhelpers_testclock "github.com/stripe/stripe-go/v81/testhelpers/testclock" + testhelpers_treasury_inboundtransfer "github.com/stripe/stripe-go/v81/testhelpers/treasury/inboundtransfer" + testhelpers_treasury_outboundtransfer "github.com/stripe/stripe-go/v81/testhelpers/treasury/outboundtransfer" + testhelpers_treasury_receivedcredit "github.com/stripe/stripe-go/v81/testhelpers/treasury/receivedcredit" + testhelpers_treasury_receiveddebit "github.com/stripe/stripe-go/v81/testhelpers/treasury/receiveddebit" + _ "github.com/stripe/stripe-go/v81/testing" + token "github.com/stripe/stripe-go/v81/token" + topup "github.com/stripe/stripe-go/v81/topup" + transfer "github.com/stripe/stripe-go/v81/transfer" + transferreversal "github.com/stripe/stripe-go/v81/transferreversal" + treasury_creditreversal "github.com/stripe/stripe-go/v81/treasury/creditreversal" + treasury_debitreversal "github.com/stripe/stripe-go/v81/treasury/debitreversal" + treasury_financialaccount "github.com/stripe/stripe-go/v81/treasury/financialaccount" + treasury_inboundtransfer "github.com/stripe/stripe-go/v81/treasury/inboundtransfer" + treasury_outboundpayment "github.com/stripe/stripe-go/v81/treasury/outboundpayment" + treasury_outboundtransfer "github.com/stripe/stripe-go/v81/treasury/outboundtransfer" + treasury_receivedcredit "github.com/stripe/stripe-go/v81/treasury/receivedcredit" + treasury_receiveddebit "github.com/stripe/stripe-go/v81/treasury/receiveddebit" + treasury_transaction "github.com/stripe/stripe-go/v81/treasury/transaction" + treasury_transactionentry "github.com/stripe/stripe-go/v81/treasury/transactionentry" + usagerecord "github.com/stripe/stripe-go/v81/usagerecord" + webhookendpoint "github.com/stripe/stripe-go/v81/webhookendpoint" ) func TestAccountLinksPost(t *testing.T) { diff --git a/example/v2/meter_event_stream/meter_event_stream.go b/example/v2/meter_event_stream/meter_event_stream.go index e231a49ede..80194831cc 100644 --- a/example/v2/meter_event_stream/meter_event_stream.go +++ b/example/v2/meter_event_stream/meter_event_stream.go @@ -18,8 +18,8 @@ import ( "os" "time" - stripe "github.com/stripe/stripe-go/v80" - rawrequest "github.com/stripe/stripe-go/v80/rawrequest" + stripe "github.com/stripe/stripe-go/v81" + rawrequest "github.com/stripe/stripe-go/v81/rawrequest" ) var sessionAuthToken string = "" diff --git a/example/v2/thinevent_webhook_handler/thinevent_webhook_handler.go b/example/v2/thinevent_webhook_handler/thinevent_webhook_handler.go index d76a3bd085..6dfe8f5a40 100644 --- a/example/v2/thinevent_webhook_handler/thinevent_webhook_handler.go +++ b/example/v2/thinevent_webhook_handler/thinevent_webhook_handler.go @@ -18,10 +18,10 @@ import ( "net/http" "os" - "github.com/stripe/stripe-go/v80" - billingMeters "github.com/stripe/stripe-go/v80/billing/meter" - "github.com/stripe/stripe-go/v80/rawrequest" - webhook "github.com/stripe/stripe-go/v80/webhook" + "github.com/stripe/stripe-go/v81" + billingMeters "github.com/stripe/stripe-go/v81/billing/meter" + "github.com/stripe/stripe-go/v81/rawrequest" + webhook "github.com/stripe/stripe-go/v81/webhook" ) var apiKey = "{{API_KEY}}" diff --git a/example_test.go b/example_test.go index 7db27e2a2c..c4fd350ed0 100644 --- a/example_test.go +++ b/example_test.go @@ -3,11 +3,11 @@ package stripe_test import ( "log" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/charge" - "github.com/stripe/stripe-go/v80/customer" - "github.com/stripe/stripe-go/v80/invoice" - "github.com/stripe/stripe-go/v80/plan" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/charge" + "github.com/stripe/stripe-go/v81/customer" + "github.com/stripe/stripe-go/v81/invoice" + "github.com/stripe/stripe-go/v81/plan" ) func ExampleCharge_new() { diff --git a/feerefund/client.go b/feerefund/client.go index d3ccb7a3b4..72babd48ba 100644 --- a/feerefund/client.go +++ b/feerefund/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /application_fees/{id}/refunds APIs. diff --git a/feerefund/client_test.go b/feerefund/client_test.go index d24fdf4101..68d2760302 100644 --- a/feerefund/client_test.go +++ b/feerefund/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestFeeRefundGet(t *testing.T) { diff --git a/file.go b/file.go index 95f397fb2e..1f7f73289c 100644 --- a/file.go +++ b/file.go @@ -9,7 +9,7 @@ package stripe import ( "bytes" "encoding/json" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" "io" "mime/multipart" "net/url" diff --git a/file/client.go b/file/client.go index a90057e6b6..a125fd0831 100644 --- a/file/client.go +++ b/file/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /files APIs. diff --git a/file/client_test.go b/file/client_test.go index adc0108989..d8fc9f689a 100644 --- a/file/client_test.go +++ b/file/client_test.go @@ -17,9 +17,9 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" + _ "github.com/stripe/stripe-go/v81/testing" ) const ( diff --git a/filelink.go b/filelink.go index d0c4e6ca19..1bc091f951 100644 --- a/filelink.go +++ b/filelink.go @@ -6,7 +6,7 @@ package stripe -import "github.com/stripe/stripe-go/v80/form" +import "github.com/stripe/stripe-go/v81/form" // Returns a list of file links. type FileLinkListParams struct { diff --git a/filelink/client.go b/filelink/client.go index 5c57fa7d45..3a7dfb00ae 100644 --- a/filelink/client.go +++ b/filelink/client.go @@ -10,8 +10,8 @@ package filelink import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /file_links APIs. diff --git a/filelink/client_test.go b/filelink/client_test.go index 86c2f768b0..ee01937369 100644 --- a/filelink/client_test.go +++ b/filelink/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestFileLinkGet(t *testing.T) { diff --git a/filelink_test.go b/filelink_test.go index 6ba5ab376b..a5cbd04aaa 100644 --- a/filelink_test.go +++ b/filelink_test.go @@ -4,7 +4,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" ) func TestFileLinkParams_AppendTo(t *testing.T) { diff --git a/financialconnections/account/client.go b/financialconnections/account/client.go index 80035f1eb4..b722d2e1aa 100644 --- a/financialconnections/account/client.go +++ b/financialconnections/account/client.go @@ -10,8 +10,8 @@ package account import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /financial_connections/accounts APIs. diff --git a/financialconnections/accountinferredbalance/client.go b/financialconnections/accountinferredbalance/client.go index 432213a272..9862c0d3f2 100644 --- a/financialconnections/accountinferredbalance/client.go +++ b/financialconnections/accountinferredbalance/client.go @@ -10,8 +10,8 @@ package accountinferredbalance import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /financial_connections/accounts/{account}/inferred_balances APIs. diff --git a/financialconnections/institution/client.go b/financialconnections/institution/client.go index 6455fc1e5d..c859b40954 100644 --- a/financialconnections/institution/client.go +++ b/financialconnections/institution/client.go @@ -10,8 +10,8 @@ package institution import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /financial_connections/institutions APIs. diff --git a/financialconnections/session/client.go b/financialconnections/session/client.go index d2779f04df..e08cdc7f2d 100644 --- a/financialconnections/session/client.go +++ b/financialconnections/session/client.go @@ -10,7 +10,7 @@ package session import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /financial_connections/sessions APIs. diff --git a/financialconnections/transaction/client.go b/financialconnections/transaction/client.go index f045fbb9e0..6e4d45d513 100644 --- a/financialconnections/transaction/client.go +++ b/financialconnections/transaction/client.go @@ -10,8 +10,8 @@ package transaction import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /financial_connections/transactions APIs. diff --git a/forwarding/request/client.go b/forwarding/request/client.go index 19cd14f4c3..ec436eb495 100644 --- a/forwarding/request/client.go +++ b/forwarding/request/client.go @@ -10,8 +10,8 @@ package request import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /forwarding/requests APIs. diff --git a/giftcards/card/client.go b/giftcards/card/client.go index 9f533b6705..7d18f1b236 100644 --- a/giftcards/card/client.go +++ b/giftcards/card/client.go @@ -10,8 +10,8 @@ package card import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /gift_cards/cards APIs. diff --git a/giftcards/transaction/client.go b/giftcards/transaction/client.go index 52d4548107..e4b4c401ea 100644 --- a/giftcards/transaction/client.go +++ b/giftcards/transaction/client.go @@ -10,8 +10,8 @@ package transaction import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /gift_cards/transactions APIs. diff --git a/go.mod b/go.mod index 0e2ad2970d..4fa0fd4f5c 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/stripe/stripe-go/v80 +module github.com/stripe/stripe-go/v81 go 1.13 diff --git a/identity/verificationreport/client.go b/identity/verificationreport/client.go index 897a803e85..e3b931df6d 100644 --- a/identity/verificationreport/client.go +++ b/identity/verificationreport/client.go @@ -10,8 +10,8 @@ package verificationreport import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /identity/verification_reports APIs. diff --git a/identity/verificationreport/client_test.go b/identity/verificationreport/client_test.go index 5430a5b126..8b6f29a97b 100644 --- a/identity/verificationreport/client_test.go +++ b/identity/verificationreport/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestIdentityVerificationReportGet(t *testing.T) { diff --git a/identity/verificationsession/client.go b/identity/verificationsession/client.go index 695d47871a..913828d471 100644 --- a/identity/verificationsession/client.go +++ b/identity/verificationsession/client.go @@ -10,8 +10,8 @@ package verificationsession import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /identity/verification_sessions APIs. diff --git a/identity/verificationsession/client_test.go b/identity/verificationsession/client_test.go index aed06985d2..b80e4287cb 100644 --- a/identity/verificationsession/client_test.go +++ b/identity/verificationsession/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestIdentityVerificationSessionCancel(t *testing.T) { diff --git a/invoice.go b/invoice.go index 5fb8425e58..e5e5f29b91 100644 --- a/invoice.go +++ b/invoice.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" ) // The status of the payment, one of `open`, `paid`, or `past_due` diff --git a/invoice/client.go b/invoice/client.go index 28df61852b..6cc789f797 100644 --- a/invoice/client.go +++ b/invoice/client.go @@ -10,8 +10,8 @@ package invoice import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /invoices APIs. diff --git a/invoice/client_test.go b/invoice/client_test.go index cd8ff1af92..30f7b0dfe8 100644 --- a/invoice/client_test.go +++ b/invoice/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestInvoiceGet(t *testing.T) { diff --git a/invoice_test.go b/invoice_test.go index c16447decc..6d863bf917 100644 --- a/invoice_test.go +++ b/invoice_test.go @@ -5,7 +5,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" ) func TestInvoiceParams_AppendTo(t *testing.T) { diff --git a/invoiceitem/client.go b/invoiceitem/client.go index b5dff6dd31..84cb31b192 100644 --- a/invoiceitem/client.go +++ b/invoiceitem/client.go @@ -10,8 +10,8 @@ package invoiceitem import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /invoiceitems APIs. diff --git a/invoiceitem/client_test.go b/invoiceitem/client_test.go index 60c7aa5ba7..e48ac5e4f7 100644 --- a/invoiceitem/client_test.go +++ b/invoiceitem/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestInvoiceItemDel(t *testing.T) { diff --git a/invoicelineitem/client.go b/invoicelineitem/client.go index 78dbb0fefa..87b8a520cf 100644 --- a/invoicelineitem/client.go +++ b/invoicelineitem/client.go @@ -10,7 +10,7 @@ package invoicelineitem import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /invoices/{invoice}/lines APIs. diff --git a/invoicepayment/client.go b/invoicepayment/client.go index d1c401a5b2..f1622da58c 100644 --- a/invoicepayment/client.go +++ b/invoicepayment/client.go @@ -10,8 +10,8 @@ package invoicepayment import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /invoices/{invoice}/payments APIs. diff --git a/invoicerenderingtemplate/client.go b/invoicerenderingtemplate/client.go index 4a0d2a1479..4a9385acfa 100644 --- a/invoicerenderingtemplate/client.go +++ b/invoicerenderingtemplate/client.go @@ -10,8 +10,8 @@ package invoicerenderingtemplate import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /invoice_rendering_templates APIs. diff --git a/issuing/authorization/client.go b/issuing/authorization/client.go index 0c859e9781..2279ea31a5 100644 --- a/issuing/authorization/client.go +++ b/issuing/authorization/client.go @@ -10,8 +10,8 @@ package authorization import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /issuing/authorizations APIs. diff --git a/issuing/authorization/client_test.go b/issuing/authorization/client_test.go index 8c3132d3ed..852f33b6f0 100644 --- a/issuing/authorization/client_test.go +++ b/issuing/authorization/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestIssuingAuthorizationApprove(t *testing.T) { diff --git a/issuing/card/client.go b/issuing/card/client.go index cf04e557f0..97fd7631ff 100644 --- a/issuing/card/client.go +++ b/issuing/card/client.go @@ -10,8 +10,8 @@ package card import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /issuing/cards APIs. diff --git a/issuing/card/client_test.go b/issuing/card/client_test.go index 72f61d2300..9fd3678dcc 100644 --- a/issuing/card/client_test.go +++ b/issuing/card/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestIssuingCardGet(t *testing.T) { diff --git a/issuing/cardholder/client.go b/issuing/cardholder/client.go index c1d33122be..7b1300a9a4 100644 --- a/issuing/cardholder/client.go +++ b/issuing/cardholder/client.go @@ -11,8 +11,8 @@ package cardholder import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /issuing/cardholders APIs. diff --git a/issuing/cardholder/client_test.go b/issuing/cardholder/client_test.go index e710862aae..67a30763cd 100644 --- a/issuing/cardholder/client_test.go +++ b/issuing/cardholder/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestIssuingCardholderGet(t *testing.T) { diff --git a/issuing/creditunderwritingrecord/client.go b/issuing/creditunderwritingrecord/client.go index 5a95bf4fbf..a672dae422 100644 --- a/issuing/creditunderwritingrecord/client.go +++ b/issuing/creditunderwritingrecord/client.go @@ -10,8 +10,8 @@ package creditunderwritingrecord import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /issuing/credit_underwriting_records APIs. diff --git a/issuing/dispute/client.go b/issuing/dispute/client.go index de349e6f6f..f1350f6feb 100644 --- a/issuing/dispute/client.go +++ b/issuing/dispute/client.go @@ -10,8 +10,8 @@ package dispute import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /issuing/disputes APIs. diff --git a/issuing/dispute/client_test.go b/issuing/dispute/client_test.go index 02409fa910..e833f4ff1c 100644 --- a/issuing/dispute/client_test.go +++ b/issuing/dispute/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestIssuingDisputeGet(t *testing.T) { diff --git a/issuing/disputesettlementdetail/client.go b/issuing/disputesettlementdetail/client.go index eb424b5570..9aed24cf95 100644 --- a/issuing/disputesettlementdetail/client.go +++ b/issuing/disputesettlementdetail/client.go @@ -10,8 +10,8 @@ package disputesettlementdetail import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /issuing/dispute_settlement_details APIs. diff --git a/issuing/personalizationdesign/client.go b/issuing/personalizationdesign/client.go index f44ffb5616..bb03049547 100644 --- a/issuing/personalizationdesign/client.go +++ b/issuing/personalizationdesign/client.go @@ -10,8 +10,8 @@ package personalizationdesign import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /issuing/personalization_designs APIs. diff --git a/issuing/physicalbundle/client.go b/issuing/physicalbundle/client.go index 0f27bab038..8d1b55de7e 100644 --- a/issuing/physicalbundle/client.go +++ b/issuing/physicalbundle/client.go @@ -10,8 +10,8 @@ package physicalbundle import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /issuing/physical_bundles APIs. diff --git a/issuing/token/client.go b/issuing/token/client.go index 37c571fd05..f33e8ebec7 100644 --- a/issuing/token/client.go +++ b/issuing/token/client.go @@ -10,8 +10,8 @@ package token import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /issuing/tokens APIs. diff --git a/issuing/transaction/client.go b/issuing/transaction/client.go index 8ef46eb060..80d218c6e0 100644 --- a/issuing/transaction/client.go +++ b/issuing/transaction/client.go @@ -10,8 +10,8 @@ package transaction import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /issuing/transactions APIs. diff --git a/issuing/transaction/client_test.go b/issuing/transaction/client_test.go index f71369ba30..f9cc27bb83 100644 --- a/issuing/transaction/client_test.go +++ b/issuing/transaction/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestIssuingTransactionGet(t *testing.T) { diff --git a/iter.go b/iter.go index 4a4e768263..c2f1417558 100644 --- a/iter.go +++ b/iter.go @@ -3,7 +3,7 @@ package stripe import ( "reflect" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" ) // diff --git a/iter_test.go b/iter_test.go index e4b8d51351..891a92d965 100644 --- a/iter_test.go +++ b/iter_test.go @@ -5,7 +5,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" ) func TestIterEmpty(t *testing.T) { diff --git a/loginlink/client.go b/loginlink/client.go index 43b63d261f..6783149471 100644 --- a/loginlink/client.go +++ b/loginlink/client.go @@ -11,7 +11,7 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /accounts/{account}/login_links APIs. diff --git a/loginlink/client_test.go b/loginlink/client_test.go index fc2eab8a80..e060555028 100644 --- a/loginlink/client_test.go +++ b/loginlink/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestLoginLinkNew(t *testing.T) { diff --git a/mandate/client.go b/mandate/client.go index c05b028971..38d8419f96 100644 --- a/mandate/client.go +++ b/mandate/client.go @@ -10,7 +10,7 @@ package mandate import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /mandates APIs. diff --git a/mandate/client_test.go b/mandate/client_test.go index 13021dd115..5ae9e1fda8 100644 --- a/mandate/client_test.go +++ b/mandate/client_test.go @@ -4,7 +4,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - _ "github.com/stripe/stripe-go/v80/testing" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestMandateMethodGet(t *testing.T) { diff --git a/margin/client.go b/margin/client.go index 510875622c..2cdd2b8775 100644 --- a/margin/client.go +++ b/margin/client.go @@ -10,8 +10,8 @@ package margin import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /billing/margins APIs. diff --git a/oauth/client.go b/oauth/client.go index 2877fdc879..b1f22aa102 100644 --- a/oauth/client.go +++ b/oauth/client.go @@ -5,8 +5,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /oauth and related APIs. diff --git a/oauth/client_test.go b/oauth/client_test.go index f12ad91815..75fd890994 100644 --- a/oauth/client_test.go +++ b/oauth/client_test.go @@ -7,8 +7,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestAuthorizeURL(t *testing.T) { diff --git a/order/client.go b/order/client.go index 320cda13a9..f5c6731b8a 100644 --- a/order/client.go +++ b/order/client.go @@ -10,8 +10,8 @@ package order import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /orders APIs. diff --git a/params.go b/params.go index 8ef863961a..4b8b01e195 100644 --- a/params.go +++ b/params.go @@ -9,7 +9,7 @@ import ( "net/url" "time" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" ) // diff --git a/params_test.go b/params_test.go index b9d129a59d..c137c9aca2 100644 --- a/params_test.go +++ b/params_test.go @@ -5,9 +5,9 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" - . "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" + . "github.com/stripe/stripe-go/v81/testing" ) func TestRangeQueryParamsAppendTo(t *testing.T) { diff --git a/paymentintent/client.go b/paymentintent/client.go index 1693f9020f..2669415586 100644 --- a/paymentintent/client.go +++ b/paymentintent/client.go @@ -10,8 +10,8 @@ package paymentintent import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /payment_intents APIs. diff --git a/paymentintent/client_test.go b/paymentintent/client_test.go index 4621def778..60c347b683 100644 --- a/paymentintent/client_test.go +++ b/paymentintent/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestPaymentIntentCancel(t *testing.T) { diff --git a/paymentlink/client.go b/paymentlink/client.go index 0a8416d582..99876332b1 100644 --- a/paymentlink/client.go +++ b/paymentlink/client.go @@ -10,8 +10,8 @@ package paymentlink import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /payment_links APIs. diff --git a/paymentmethod/client.go b/paymentmethod/client.go index 3abdc7fa5e..2d70b62724 100644 --- a/paymentmethod/client.go +++ b/paymentmethod/client.go @@ -10,8 +10,8 @@ package paymentmethod import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /payment_methods APIs. diff --git a/paymentmethod/client_test.go b/paymentmethod/client_test.go index 8649599dba..0bc61f9392 100644 --- a/paymentmethod/client_test.go +++ b/paymentmethod/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestPaymentMethodAttach(t *testing.T) { diff --git a/paymentmethodconfiguration/client.go b/paymentmethodconfiguration/client.go index db9a48992b..75bca004db 100644 --- a/paymentmethodconfiguration/client.go +++ b/paymentmethodconfiguration/client.go @@ -10,8 +10,8 @@ package paymentmethodconfiguration import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /payment_method_configurations APIs. diff --git a/paymentmethoddomain/client.go b/paymentmethoddomain/client.go index 1842bc59ff..b3dfff6834 100644 --- a/paymentmethoddomain/client.go +++ b/paymentmethoddomain/client.go @@ -10,8 +10,8 @@ package paymentmethoddomain import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /payment_method_domains APIs. diff --git a/paymentsource.go b/paymentsource.go index 5d73e10886..333cec6516 100644 --- a/paymentsource.go +++ b/paymentsource.go @@ -9,7 +9,7 @@ package stripe import ( "encoding/json" "fmt" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" ) type PaymentSourceType string diff --git a/paymentsource/client.go b/paymentsource/client.go index 033c74e025..569ff7f97a 100644 --- a/paymentsource/client.go +++ b/paymentsource/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /customers/{customer}/sources APIs. diff --git a/paymentsource/client_test.go b/paymentsource/client_test.go index 66b5eb5c08..deb610c854 100644 --- a/paymentsource/client_test.go +++ b/paymentsource/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestSourceGet(t *testing.T) { diff --git a/paymentsource_test.go b/paymentsource_test.go index defd9408ba..c3a829014b 100644 --- a/paymentsource_test.go +++ b/paymentsource_test.go @@ -5,7 +5,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" ) func TestSourceParams_AppendTo(t *testing.T) { diff --git a/payout/client.go b/payout/client.go index f407b5ba2e..139b9d1fd4 100644 --- a/payout/client.go +++ b/payout/client.go @@ -10,8 +10,8 @@ package payout import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /payouts APIs. diff --git a/payout/client_test.go b/payout/client_test.go index eccd430dac..57fc03fbc6 100644 --- a/payout/client_test.go +++ b/payout/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestPayoutCancel(t *testing.T) { diff --git a/person/client.go b/person/client.go index e8d88b8ea2..863a6ad93d 100644 --- a/person/client.go +++ b/person/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /accounts/{account}/persons APIs. diff --git a/person/client_test.go b/person/client_test.go index 717d2f2b4a..3bd023eaeb 100644 --- a/person/client_test.go +++ b/person/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestPersonDel(t *testing.T) { diff --git a/plan.go b/plan.go index e98d703c4a..53c701ec6c 100644 --- a/plan.go +++ b/plan.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" "strconv" ) diff --git a/plan/client.go b/plan/client.go index f60a564666..8259b9484f 100644 --- a/plan/client.go +++ b/plan/client.go @@ -10,8 +10,8 @@ package plan import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /plans APIs. diff --git a/plan/client_test.go b/plan/client_test.go index 70179047d9..a83e83f7b0 100644 --- a/plan/client_test.go +++ b/plan/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestPlanDel(t *testing.T) { diff --git a/plan_test.go b/plan_test.go index b15851a19e..59a5fcb837 100644 --- a/plan_test.go +++ b/plan_test.go @@ -6,7 +6,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" ) func TestPlan_Unmarshal(t *testing.T) { diff --git a/price.go b/price.go index ef57be9bc0..2066709803 100644 --- a/price.go +++ b/price.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" ) // Describes how to compute the price per period. Either `per_unit` or `tiered`. `per_unit` indicates that the fixed amount (specified in `unit_amount` or `unit_amount_decimal`) will be charged per unit in `quantity` (for prices with `usage_type=licensed`), or per unit of total usage (for prices with `usage_type=metered`). `tiered` indicates that the unit pricing will be computed using a tiering strategy as defined using the `tiers` and `tiers_mode` attributes. diff --git a/price/client.go b/price/client.go index 1c401f4209..0f9114e66c 100644 --- a/price/client.go +++ b/price/client.go @@ -10,8 +10,8 @@ package price import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /prices APIs. diff --git a/price/client_test.go b/price/client_test.go index c9d95bfaca..f3ae5a42a4 100644 --- a/price/client_test.go +++ b/price/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestPriceGet(t *testing.T) { diff --git a/price_test.go b/price_test.go index c378f8515d..dd9a196ba5 100644 --- a/price_test.go +++ b/price_test.go @@ -5,7 +5,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" ) func TestPrice_Unmarshal(t *testing.T) { diff --git a/product.go b/product.go index 18dd75cdbf..4bf3bc8f13 100644 --- a/product.go +++ b/product.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" ) // The specific type of gift_card provisioning, only `fixed_amount` currently supported. diff --git a/product/client.go b/product/client.go index 62b7fe1776..9227d48360 100644 --- a/product/client.go +++ b/product/client.go @@ -10,8 +10,8 @@ package product import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /products APIs. diff --git a/product/client_test.go b/product/client_test.go index a6e1623f30..8b3b96423f 100644 --- a/product/client_test.go +++ b/product/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestProductDel(t *testing.T) { diff --git a/productfeature/client.go b/productfeature/client.go index cb039f71ce..74940bbd69 100644 --- a/productfeature/client.go +++ b/productfeature/client.go @@ -10,8 +10,8 @@ package productfeature import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /products/{product}/features APIs. diff --git a/promotioncode/client.go b/promotioncode/client.go index e9fd57df8c..2e6a2d071e 100644 --- a/promotioncode/client.go +++ b/promotioncode/client.go @@ -10,8 +10,8 @@ package promotioncode import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /promotion_codes APIs. diff --git a/promotioncode/client_test.go b/promotioncode/client_test.go index 2e42103803..63296518f1 100644 --- a/promotioncode/client_test.go +++ b/promotioncode/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestPromotionCodeGet(t *testing.T) { diff --git a/quote.go b/quote.go index 1d5482763a..2896e7a4cc 100644 --- a/quote.go +++ b/quote.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" ) // Type of the account referenced. diff --git a/quote/client.go b/quote/client.go index 30290e42a6..2399e11b4d 100644 --- a/quote/client.go +++ b/quote/client.go @@ -10,8 +10,8 @@ package quote import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /quotes APIs. diff --git a/quote/client_test.go b/quote/client_test.go index 71e6b1b6c6..b599d8f5c7 100644 --- a/quote/client_test.go +++ b/quote/client_test.go @@ -5,8 +5,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestQuoteGet(t *testing.T) { diff --git a/quote_test.go b/quote_test.go index 66aad0b030..2fbcc92762 100644 --- a/quote_test.go +++ b/quote_test.go @@ -5,7 +5,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" ) func TestQuoteSubscriptionDataParams_AppendTo(t *testing.T) { diff --git a/quotepreviewinvoice/client.go b/quotepreviewinvoice/client.go index e2dfa476e3..8cce5f2a35 100644 --- a/quotepreviewinvoice/client.go +++ b/quotepreviewinvoice/client.go @@ -10,8 +10,8 @@ package quotepreviewinvoice import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /quotes/{quote}/preview_invoices APIs. diff --git a/quotepreviewsubscriptionschedule/client.go b/quotepreviewsubscriptionschedule/client.go index 98e055dcf3..af4062059f 100644 --- a/quotepreviewsubscriptionschedule/client.go +++ b/quotepreviewsubscriptionschedule/client.go @@ -10,8 +10,8 @@ package quotepreviewsubscriptionschedule import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /quotes/{quote}/preview_subscription_schedules APIs. diff --git a/radar/earlyfraudwarning/client.go b/radar/earlyfraudwarning/client.go index 7d9b7ef9b3..86a6331280 100644 --- a/radar/earlyfraudwarning/client.go +++ b/radar/earlyfraudwarning/client.go @@ -10,8 +10,8 @@ package earlyfraudwarning import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /radar/early_fraud_warnings APIs. diff --git a/radar/earlyfraudwarning/client_test.go b/radar/earlyfraudwarning/client_test.go index 53d8e5c9f0..533cd40544 100644 --- a/radar/earlyfraudwarning/client_test.go +++ b/radar/earlyfraudwarning/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestRadarEarlyFraudWarningGet(t *testing.T) { diff --git a/radar/valuelist/client.go b/radar/valuelist/client.go index 0b2b393bbd..2b1e7544ab 100644 --- a/radar/valuelist/client.go +++ b/radar/valuelist/client.go @@ -10,8 +10,8 @@ package valuelist import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /radar/value_lists APIs. diff --git a/radar/valuelist/client_test.go b/radar/valuelist/client_test.go index 4eecb9ccb2..8090706d92 100644 --- a/radar/valuelist/client_test.go +++ b/radar/valuelist/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestRadarValueListDel(t *testing.T) { diff --git a/radar/valuelistitem/client.go b/radar/valuelistitem/client.go index fde7862a66..a5cedd3c18 100644 --- a/radar/valuelistitem/client.go +++ b/radar/valuelistitem/client.go @@ -11,8 +11,8 @@ package valuelistitem import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /radar/value_list_items APIs. diff --git a/radar/valuelistitem/client_test.go b/radar/valuelistitem/client_test.go index 1c8da4d0c7..f052f4b4c4 100644 --- a/radar/valuelistitem/client_test.go +++ b/radar/valuelistitem/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestRadarValueListItemDel(t *testing.T) { diff --git a/rawrequest/client.go b/rawrequest/client.go index 4028f96862..9514a2bf8d 100644 --- a/rawrequest/client.go +++ b/rawrequest/client.go @@ -2,7 +2,7 @@ package rawrequest import ( - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke raw requests against the specified backend diff --git a/rawrequest/client_test.go b/rawrequest/client_test.go index 3b288cf723..e5a3237ae9 100644 --- a/rawrequest/client_test.go +++ b/rawrequest/client_test.go @@ -7,8 +7,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func createTestClient(testServer *httptest.Server) Client { diff --git a/refund/client.go b/refund/client.go index 7961e4d1a4..c7bcfb1680 100644 --- a/refund/client.go +++ b/refund/client.go @@ -10,8 +10,8 @@ package refund import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /refunds APIs. diff --git a/refund/client_test.go b/refund/client_test.go index 95a94df069..485059d4aa 100644 --- a/refund/client_test.go +++ b/refund/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestRefundGet(t *testing.T) { diff --git a/reporting/reportrun/client.go b/reporting/reportrun/client.go index 957bb2bc8b..4de80b33e1 100644 --- a/reporting/reportrun/client.go +++ b/reporting/reportrun/client.go @@ -10,8 +10,8 @@ package reportrun import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /reporting/report_runs APIs. diff --git a/reporting/reportrun/client_test.go b/reporting/reportrun/client_test.go index ebc799c268..a0452cc46e 100644 --- a/reporting/reportrun/client_test.go +++ b/reporting/reportrun/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestReportingReportRunGet(t *testing.T) { diff --git a/reporting/reporttype/client.go b/reporting/reporttype/client.go index b093515094..face867325 100644 --- a/reporting/reporttype/client.go +++ b/reporting/reporttype/client.go @@ -10,8 +10,8 @@ package reporttype import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /reporting/report_types APIs. diff --git a/reporting/reporttype/client_test.go b/reporting/reporttype/client_test.go index c3a512f23c..3e7b40f428 100644 --- a/reporting/reporttype/client_test.go +++ b/reporting/reporttype/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestReportTestGet(t *testing.T) { diff --git a/review/client.go b/review/client.go index 7eadaee790..5b7170d5fc 100644 --- a/review/client.go +++ b/review/client.go @@ -10,8 +10,8 @@ package review import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /reviews APIs. diff --git a/review/client_test.go b/review/client_test.go index 25f164c800..10b064d379 100644 --- a/review/client_test.go +++ b/review/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestReviewApprove(t *testing.T) { diff --git a/search_iter.go b/search_iter.go index 9a67764b1e..be29f051d8 100644 --- a/search_iter.go +++ b/search_iter.go @@ -3,7 +3,7 @@ package stripe import ( "reflect" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" ) // diff --git a/search_iter_test.go b/search_iter_test.go index 5be1f7f131..97d1cf3073 100644 --- a/search_iter_test.go +++ b/search_iter_test.go @@ -7,7 +7,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" ) var nextPageTestToken = "next_page_test_token" diff --git a/search_params_test.go b/search_params_test.go index c4926f40f0..b0502cca36 100644 --- a/search_params_test.go +++ b/search_params_test.go @@ -5,9 +5,9 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" - . "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" + . "github.com/stripe/stripe-go/v81/testing" ) type testSearchParams struct { diff --git a/setupattempt/client.go b/setupattempt/client.go index a4799b31f2..1dee41c579 100644 --- a/setupattempt/client.go +++ b/setupattempt/client.go @@ -11,8 +11,8 @@ package setupattempt import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /setup_attempts APIs. diff --git a/setupattempt/client_test.go b/setupattempt/client_test.go index 0934c5c5ef..18fb0dc4b5 100644 --- a/setupattempt/client_test.go +++ b/setupattempt/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestSetupAttemptList(t *testing.T) { diff --git a/setupintent/client.go b/setupintent/client.go index d39edd062d..213cec3db3 100644 --- a/setupintent/client.go +++ b/setupintent/client.go @@ -10,8 +10,8 @@ package setupintent import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /setup_intents APIs. diff --git a/setupintent/client_test.go b/setupintent/client_test.go index c6838978b9..a8dabf99b6 100644 --- a/setupintent/client_test.go +++ b/setupintent/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestSetupIntentCancel(t *testing.T) { diff --git a/shippingrate/client.go b/shippingrate/client.go index 393d533d4d..10d8317314 100644 --- a/shippingrate/client.go +++ b/shippingrate/client.go @@ -10,8 +10,8 @@ package shippingrate import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /shipping_rates APIs. diff --git a/sigma/scheduledqueryrun/client.go b/sigma/scheduledqueryrun/client.go index 144ddbad28..b172f5de2f 100644 --- a/sigma/scheduledqueryrun/client.go +++ b/sigma/scheduledqueryrun/client.go @@ -11,8 +11,8 @@ package scheduledqueryrun import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /sigma/scheduled_query_runs APIs. diff --git a/sigma/scheduledqueryrun/client_test.go b/sigma/scheduledqueryrun/client_test.go index fdc956a9b6..0fd60e86f1 100644 --- a/sigma/scheduledqueryrun/client_test.go +++ b/sigma/scheduledqueryrun/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestSigmaScheduledQueryRunGet(t *testing.T) { diff --git a/source/client.go b/source/client.go index a326391f50..71a530bbe1 100644 --- a/source/client.go +++ b/source/client.go @@ -11,7 +11,7 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /sources APIs. diff --git a/source/client_test.go b/source/client_test.go index 49dd7b4da6..805c0cf05e 100644 --- a/source/client_test.go +++ b/source/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestSourceGet(t *testing.T) { diff --git a/sourcetransaction/client.go b/sourcetransaction/client.go index 813f035e88..74e3aa10e1 100644 --- a/sourcetransaction/client.go +++ b/sourcetransaction/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /sources/:source_id/transactions APIs. diff --git a/sourcetransaction/client_test.go b/sourcetransaction/client_test.go index dbe952f5f1..ac82d85614 100644 --- a/sourcetransaction/client_test.go +++ b/sourcetransaction/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestSourceTransactionList(t *testing.T) { diff --git a/stripe.go b/stripe.go index 1d22d63da8..900d2e47ee 100644 --- a/stripe.go +++ b/stripe.go @@ -22,7 +22,7 @@ import ( "sync" "time" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" ) // @@ -1394,7 +1394,7 @@ func AddBetaVersion(betaName string, betaVersion string) error { // // clientversion is the binding version -const clientversion = "80.3.0-beta.1" +const clientversion = "81.1.0-beta.1" // defaultHTTPTimeout is the default timeout on the http.Client used by the library. // This is chosen to be consistent with the other Stripe language libraries and diff --git a/sub_test.go b/sub_test.go index 67421854f2..45e4bcd509 100644 --- a/sub_test.go +++ b/sub_test.go @@ -5,7 +5,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" ) func TestSubscriptionParams_AppendTo(t *testing.T) { diff --git a/subschedule_test.go b/subschedule_test.go index f94aae6c91..f1e2e59334 100644 --- a/subschedule_test.go +++ b/subschedule_test.go @@ -5,7 +5,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" ) func TestSubscriptionScheduleParams_AppendTo(t *testing.T) { diff --git a/subscription.go b/subscription.go index 285a0bcb01..ace2d9e77d 100644 --- a/subscription.go +++ b/subscription.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" ) // Type of the account referenced. diff --git a/subscription/client.go b/subscription/client.go index d0d885939f..6c3a4cc9ce 100644 --- a/subscription/client.go +++ b/subscription/client.go @@ -10,8 +10,8 @@ package subscription import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /subscriptions APIs. diff --git a/subscription/client_test.go b/subscription/client_test.go index b89b2a4a8a..9b226718f4 100644 --- a/subscription/client_test.go +++ b/subscription/client_test.go @@ -5,8 +5,8 @@ import ( "time" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestSubscriptionCancel(t *testing.T) { diff --git a/subscriptionitem/client.go b/subscriptionitem/client.go index f4ee3edc9b..eb99a9223e 100644 --- a/subscriptionitem/client.go +++ b/subscriptionitem/client.go @@ -10,8 +10,8 @@ package subscriptionitem import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /subscription_items APIs. diff --git a/subscriptionitem/client_test.go b/subscriptionitem/client_test.go index 564f023803..0fad7f756f 100644 --- a/subscriptionitem/client_test.go +++ b/subscriptionitem/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestSubscriptionItemDel(t *testing.T) { diff --git a/subscriptionschedule.go b/subscriptionschedule.go index d66d8ec08e..1967fa8a4e 100644 --- a/subscriptionschedule.go +++ b/subscriptionschedule.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" ) // Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front. diff --git a/subscriptionschedule/client.go b/subscriptionschedule/client.go index f265578482..1aca72104e 100644 --- a/subscriptionschedule/client.go +++ b/subscriptionschedule/client.go @@ -10,8 +10,8 @@ package subscriptionschedule import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /subscription_schedules APIs. diff --git a/subscriptionschedule/client_test.go b/subscriptionschedule/client_test.go index 0b7a4d37c8..e8d97a1ca6 100644 --- a/subscriptionschedule/client_test.go +++ b/subscriptionschedule/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestSubscriptionScheduleCancel(t *testing.T) { diff --git a/tax/association/client.go b/tax/association/client.go index e6a5bad8cc..8c4aba1370 100644 --- a/tax/association/client.go +++ b/tax/association/client.go @@ -10,7 +10,7 @@ package association import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke association related APIs. diff --git a/tax/calculation/client.go b/tax/calculation/client.go index 93fe938f30..ef1e8b3bf9 100644 --- a/tax/calculation/client.go +++ b/tax/calculation/client.go @@ -10,8 +10,8 @@ package calculation import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /tax/calculations APIs. diff --git a/tax/form/client.go b/tax/form/client.go index 4e21e12537..337b629f71 100644 --- a/tax/form/client.go +++ b/tax/form/client.go @@ -10,8 +10,8 @@ package form import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /tax/forms APIs. diff --git a/tax/registration/client.go b/tax/registration/client.go index 4e0355cf70..9ca6ab8cee 100644 --- a/tax/registration/client.go +++ b/tax/registration/client.go @@ -10,8 +10,8 @@ package registration import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /tax/registrations APIs. diff --git a/tax/settings/client.go b/tax/settings/client.go index d1b2774ff7..61a3ee0a76 100644 --- a/tax/settings/client.go +++ b/tax/settings/client.go @@ -10,7 +10,7 @@ package settings import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /tax/settings APIs. diff --git a/tax/transaction/client.go b/tax/transaction/client.go index 880b48f4c0..52c6f52079 100644 --- a/tax/transaction/client.go +++ b/tax/transaction/client.go @@ -10,8 +10,8 @@ package transaction import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /tax/transactions APIs. diff --git a/tax_registration.go b/tax_registration.go index f5b511068c..da45eaa239 100644 --- a/tax_registration.go +++ b/tax_registration.go @@ -6,7 +6,7 @@ package stripe -import "github.com/stripe/stripe-go/v80/form" +import "github.com/stripe/stripe-go/v81/form" // Type of registration in `country`. type TaxRegistrationCountryOptionsAeType string diff --git a/taxcode/client.go b/taxcode/client.go index cd8757bc89..e2262a4fdd 100644 --- a/taxcode/client.go +++ b/taxcode/client.go @@ -10,8 +10,8 @@ package taxcode import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /tax_codes APIs. diff --git a/taxcode/client_test.go b/taxcode/client_test.go index 4ce99cc187..180b1f5b5a 100644 --- a/taxcode/client_test.go +++ b/taxcode/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestTaxCodeGet(t *testing.T) { diff --git a/taxid/client.go b/taxid/client.go index c6996dce35..a974d5ff48 100644 --- a/taxid/client.go +++ b/taxid/client.go @@ -10,8 +10,8 @@ package taxid import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /tax_ids APIs. diff --git a/taxid/client_test.go b/taxid/client_test.go index 8580308913..24aed374a7 100644 --- a/taxid/client_test.go +++ b/taxid/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestTaxIDDel(t *testing.T) { diff --git a/taxrate/client.go b/taxrate/client.go index 0d9930ef29..638e4c2803 100644 --- a/taxrate/client.go +++ b/taxrate/client.go @@ -10,8 +10,8 @@ package taxrate import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /tax_rates APIs. diff --git a/taxrate/client_test.go b/taxrate/client_test.go index aae0386cb6..af8e08a453 100644 --- a/taxrate/client_test.go +++ b/taxrate/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestTaxRateGet(t *testing.T) { diff --git a/terminal/configuration/client.go b/terminal/configuration/client.go index a729d93a4a..a7cb9deb13 100644 --- a/terminal/configuration/client.go +++ b/terminal/configuration/client.go @@ -10,8 +10,8 @@ package configuration import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /terminal/configurations APIs. diff --git a/terminal/connectiontoken/client.go b/terminal/connectiontoken/client.go index 889826a71f..0560a3637b 100644 --- a/terminal/connectiontoken/client.go +++ b/terminal/connectiontoken/client.go @@ -10,7 +10,7 @@ package connectiontoken import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /terminal/connection_tokens APIs. diff --git a/terminal/connectiontoken/client_test.go b/terminal/connectiontoken/client_test.go index 8d9c73be4a..a858e922bc 100644 --- a/terminal/connectiontoken/client_test.go +++ b/terminal/connectiontoken/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestTerminalConnectionTokenNew(t *testing.T) { diff --git a/terminal/location/client.go b/terminal/location/client.go index 919ecf41cf..922ebf7caa 100644 --- a/terminal/location/client.go +++ b/terminal/location/client.go @@ -10,8 +10,8 @@ package location import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /terminal/locations APIs. diff --git a/terminal/location/client_test.go b/terminal/location/client_test.go index 8ba037c445..d865088b56 100644 --- a/terminal/location/client_test.go +++ b/terminal/location/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestTerminalLocationDel(t *testing.T) { diff --git a/terminal/reader/client.go b/terminal/reader/client.go index 532fb345a9..2840a0a884 100644 --- a/terminal/reader/client.go +++ b/terminal/reader/client.go @@ -10,8 +10,8 @@ package reader import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /terminal/readers APIs. diff --git a/terminal/reader/client_test.go b/terminal/reader/client_test.go index 0c1f9e419b..4f098b502d 100644 --- a/terminal/reader/client_test.go +++ b/terminal/reader/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestTerminalReaderDel(t *testing.T) { diff --git a/terminal/readercollecteddata/client.go b/terminal/readercollecteddata/client.go index d12aa36f47..651bf8aba0 100644 --- a/terminal/readercollecteddata/client.go +++ b/terminal/readercollecteddata/client.go @@ -10,7 +10,7 @@ package readercollecteddata import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /terminal/reader_collected_data APIs. diff --git a/testhelpers/confirmationtoken/client.go b/testhelpers/confirmationtoken/client.go index fa18d6c1ae..390a3c130f 100644 --- a/testhelpers/confirmationtoken/client.go +++ b/testhelpers/confirmationtoken/client.go @@ -10,7 +10,7 @@ package confirmationtoken import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /confirmation_tokens APIs. diff --git a/testhelpers/customer/client.go b/testhelpers/customer/client.go index fcbd5605f9..fcd8eeb99a 100644 --- a/testhelpers/customer/client.go +++ b/testhelpers/customer/client.go @@ -10,7 +10,7 @@ package customer import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /customers APIs. diff --git a/testhelpers/issuing/authorization/client.go b/testhelpers/issuing/authorization/client.go index 793a5113fa..3aa469040c 100644 --- a/testhelpers/issuing/authorization/client.go +++ b/testhelpers/issuing/authorization/client.go @@ -10,7 +10,7 @@ package authorization import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /issuing/authorizations APIs. diff --git a/testhelpers/issuing/card/client.go b/testhelpers/issuing/card/client.go index fe22758986..7d12259b22 100644 --- a/testhelpers/issuing/card/client.go +++ b/testhelpers/issuing/card/client.go @@ -10,7 +10,7 @@ package card import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /issuing/cards APIs. diff --git a/testhelpers/issuing/personalizationdesign/client.go b/testhelpers/issuing/personalizationdesign/client.go index 89b393778c..648d6eb038 100644 --- a/testhelpers/issuing/personalizationdesign/client.go +++ b/testhelpers/issuing/personalizationdesign/client.go @@ -10,7 +10,7 @@ package personalizationdesign import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /issuing/personalization_designs APIs. diff --git a/testhelpers/issuing/transaction/client.go b/testhelpers/issuing/transaction/client.go index 60fc3c00df..cfb1ec7acf 100644 --- a/testhelpers/issuing/transaction/client.go +++ b/testhelpers/issuing/transaction/client.go @@ -10,7 +10,7 @@ package transaction import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /issuing/transactions APIs. diff --git a/testhelpers/refund/client.go b/testhelpers/refund/client.go index 1d68e99fea..115321332e 100644 --- a/testhelpers/refund/client.go +++ b/testhelpers/refund/client.go @@ -10,7 +10,7 @@ package refund import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /refunds APIs. diff --git a/testhelpers/terminal/reader/client.go b/testhelpers/terminal/reader/client.go index a50a5372c1..726bd50001 100644 --- a/testhelpers/terminal/reader/client.go +++ b/testhelpers/terminal/reader/client.go @@ -10,7 +10,7 @@ package reader import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /terminal/readers APIs. diff --git a/testhelpers/terminal/reader/client_test.go b/testhelpers/terminal/reader/client_test.go index fd92dcd1a7..4a97fb9bcd 100644 --- a/testhelpers/terminal/reader/client_test.go +++ b/testhelpers/terminal/reader/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestTerminalReaderUpdate(t *testing.T) { diff --git a/testhelpers/testclock/client.go b/testhelpers/testclock/client.go index 498c301074..b849b2efff 100644 --- a/testhelpers/testclock/client.go +++ b/testhelpers/testclock/client.go @@ -10,8 +10,8 @@ package testclock import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /test_helpers/test_clocks APIs. diff --git a/testhelpers/treasury/inboundtransfer/client.go b/testhelpers/treasury/inboundtransfer/client.go index a25c3a273b..13e6400219 100644 --- a/testhelpers/treasury/inboundtransfer/client.go +++ b/testhelpers/treasury/inboundtransfer/client.go @@ -10,7 +10,7 @@ package inboundtransfer import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /treasury/inbound_transfers APIs. diff --git a/testhelpers/treasury/outboundpayment/client.go b/testhelpers/treasury/outboundpayment/client.go index 111f6b2763..5592a2642c 100644 --- a/testhelpers/treasury/outboundpayment/client.go +++ b/testhelpers/treasury/outboundpayment/client.go @@ -10,7 +10,7 @@ package outboundpayment import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /treasury/outbound_payments APIs. diff --git a/testhelpers/treasury/outboundtransfer/client.go b/testhelpers/treasury/outboundtransfer/client.go index 71f4424eff..9a2d50eef8 100644 --- a/testhelpers/treasury/outboundtransfer/client.go +++ b/testhelpers/treasury/outboundtransfer/client.go @@ -10,7 +10,7 @@ package outboundtransfer import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /treasury/outbound_transfers APIs. diff --git a/testhelpers/treasury/receivedcredit/client.go b/testhelpers/treasury/receivedcredit/client.go index df621a80d9..51ad58c95c 100644 --- a/testhelpers/treasury/receivedcredit/client.go +++ b/testhelpers/treasury/receivedcredit/client.go @@ -10,7 +10,7 @@ package receivedcredit import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /treasury/received_credits APIs. diff --git a/testhelpers/treasury/receiveddebit/client.go b/testhelpers/treasury/receiveddebit/client.go index 9dcef1685d..d03263b2f9 100644 --- a/testhelpers/treasury/receiveddebit/client.go +++ b/testhelpers/treasury/receiveddebit/client.go @@ -10,7 +10,7 @@ package receiveddebit import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /treasury/received_debits APIs. diff --git a/testing/testing.go b/testing/testing.go index d723109748..f59c22a124 100644 --- a/testing/testing.go +++ b/testing/testing.go @@ -8,8 +8,8 @@ import ( "strconv" "strings" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" "golang.org/x/net/http2" ) diff --git a/token/client.go b/token/client.go index f7c26dbe81..bd0bcd0b06 100644 --- a/token/client.go +++ b/token/client.go @@ -10,7 +10,7 @@ package token import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /tokens APIs. diff --git a/token/client_test.go b/token/client_test.go index cb97dc754c..398f268935 100644 --- a/token/client_test.go +++ b/token/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestTokenGet(t *testing.T) { diff --git a/topup/client.go b/topup/client.go index 740e004984..bd4453bef5 100644 --- a/topup/client.go +++ b/topup/client.go @@ -10,8 +10,8 @@ package topup import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /topups APIs. diff --git a/topup/client_test.go b/topup/client_test.go index 166838cec0..b5bb39bb4b 100644 --- a/topup/client_test.go +++ b/topup/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestTopupCancel(t *testing.T) { diff --git a/transfer/client.go b/transfer/client.go index 2a42ef040e..51ba46ccc9 100644 --- a/transfer/client.go +++ b/transfer/client.go @@ -10,8 +10,8 @@ package transfer import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /transfers APIs. diff --git a/transfer/client_test.go b/transfer/client_test.go index 5b724aa984..05a20cd9de 100644 --- a/transfer/client_test.go +++ b/transfer/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestTransferGet(t *testing.T) { diff --git a/transferreversal/client.go b/transferreversal/client.go index 9f286f019e..af0d165021 100644 --- a/transferreversal/client.go +++ b/transferreversal/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /transfers/{id}/reversals APIs. diff --git a/transferreversal/client_test.go b/transferreversal/client_test.go index 1cd78235d6..9e9a7f7939 100644 --- a/transferreversal/client_test.go +++ b/transferreversal/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestTransferReversalGet(t *testing.T) { diff --git a/treasury/creditreversal/client.go b/treasury/creditreversal/client.go index 168f1b8e71..2a98186ede 100644 --- a/treasury/creditreversal/client.go +++ b/treasury/creditreversal/client.go @@ -10,8 +10,8 @@ package creditreversal import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /treasury/credit_reversals APIs. diff --git a/treasury/debitreversal/client.go b/treasury/debitreversal/client.go index e7fe2000a8..e59b905f51 100644 --- a/treasury/debitreversal/client.go +++ b/treasury/debitreversal/client.go @@ -10,8 +10,8 @@ package debitreversal import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /treasury/debit_reversals APIs. diff --git a/treasury/financialaccount/client.go b/treasury/financialaccount/client.go index 9c82e3eaff..76befd7551 100644 --- a/treasury/financialaccount/client.go +++ b/treasury/financialaccount/client.go @@ -10,8 +10,8 @@ package financialaccount import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /treasury/financial_accounts APIs. diff --git a/treasury/inboundtransfer/client.go b/treasury/inboundtransfer/client.go index d91947ad44..194d2808fd 100644 --- a/treasury/inboundtransfer/client.go +++ b/treasury/inboundtransfer/client.go @@ -10,8 +10,8 @@ package inboundtransfer import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /treasury/inbound_transfers APIs. diff --git a/treasury/outboundpayment/client.go b/treasury/outboundpayment/client.go index 1e7f86e449..04236c2eba 100644 --- a/treasury/outboundpayment/client.go +++ b/treasury/outboundpayment/client.go @@ -10,8 +10,8 @@ package outboundpayment import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /treasury/outbound_payments APIs. diff --git a/treasury/outboundtransfer/client.go b/treasury/outboundtransfer/client.go index c164f9fa75..9a3fcbd580 100644 --- a/treasury/outboundtransfer/client.go +++ b/treasury/outboundtransfer/client.go @@ -10,8 +10,8 @@ package outboundtransfer import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /treasury/outbound_transfers APIs. diff --git a/treasury/receivedcredit/client.go b/treasury/receivedcredit/client.go index c3ac47ed50..54dffa9b2a 100644 --- a/treasury/receivedcredit/client.go +++ b/treasury/receivedcredit/client.go @@ -10,8 +10,8 @@ package receivedcredit import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /treasury/received_credits APIs. diff --git a/treasury/receiveddebit/client.go b/treasury/receiveddebit/client.go index b2d369c3ef..a5adc1530f 100644 --- a/treasury/receiveddebit/client.go +++ b/treasury/receiveddebit/client.go @@ -10,8 +10,8 @@ package receiveddebit import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /treasury/received_debits APIs. diff --git a/treasury/transaction/client.go b/treasury/transaction/client.go index cd5c6f1d69..4c17068387 100644 --- a/treasury/transaction/client.go +++ b/treasury/transaction/client.go @@ -10,8 +10,8 @@ package transaction import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /treasury/transactions APIs. diff --git a/treasury/transactionentry/client.go b/treasury/transactionentry/client.go index 9399840408..4b7bcc63ed 100644 --- a/treasury/transactionentry/client.go +++ b/treasury/transactionentry/client.go @@ -10,8 +10,8 @@ package transactionentry import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /treasury/transaction_entries APIs. diff --git a/usagerecord.go b/usagerecord.go index c7a52407e4..482f19307e 100644 --- a/usagerecord.go +++ b/usagerecord.go @@ -6,7 +6,7 @@ package stripe -import "github.com/stripe/stripe-go/v80/form" +import "github.com/stripe/stripe-go/v81/form" // Possible values for the action parameter on usage record creation. const ( diff --git a/usagerecord/client.go b/usagerecord/client.go index 5d7725a278..f0271054d3 100644 --- a/usagerecord/client.go +++ b/usagerecord/client.go @@ -10,7 +10,7 @@ package usagerecord import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /subscription_items/{subscription_item}/usage_records APIs. diff --git a/usagerecord/client_test.go b/usagerecord/client_test.go index 87aaa3c72e..f8f2d72f59 100644 --- a/usagerecord/client_test.go +++ b/usagerecord/client_test.go @@ -5,8 +5,8 @@ import ( "time" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestUsageRecordNew(t *testing.T) { diff --git a/usagerecord_test.go b/usagerecord_test.go index ef066d5053..787f54d753 100644 --- a/usagerecord_test.go +++ b/usagerecord_test.go @@ -5,7 +5,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" ) func TestUsageRecordParams_AppendTo(t *testing.T) { diff --git a/usagerecordsummary/client.go b/usagerecordsummary/client.go index 0ec93e58f5..40c5f116bd 100644 --- a/usagerecordsummary/client.go +++ b/usagerecordsummary/client.go @@ -10,8 +10,8 @@ package usagerecordsummary import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /subscription_items/{subscription_item}/usage_record_summaries APIs. diff --git a/usagerecordsummary/client_test.go b/usagerecordsummary/client_test.go index 887871c427..461e3495e8 100644 --- a/usagerecordsummary/client_test.go +++ b/usagerecordsummary/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestUsageRecordSummaryList(t *testing.T) { diff --git a/webhook/client.go b/webhook/client.go index ea8861a273..2af3a8d0f9 100644 --- a/webhook/client.go +++ b/webhook/client.go @@ -11,7 +11,7 @@ import ( "strings" "time" - "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v81" ) // diff --git a/webhook/client_handler_test.go b/webhook/client_handler_test.go index f7a80ec94c..0a6ab19303 100644 --- a/webhook/client_handler_test.go +++ b/webhook/client_handler_test.go @@ -6,7 +6,7 @@ import ( "log" "net/http" - "github.com/stripe/stripe-go/v80/webhook" + "github.com/stripe/stripe-go/v81/webhook" ) func Example() { diff --git a/webhook/client_test.go b/webhook/client_test.go index 50904a7902..a5f9860c7b 100644 --- a/webhook/client_test.go +++ b/webhook/client_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v81" ) var testPayloadFormat = `{ diff --git a/webhookendpoint/client.go b/webhookendpoint/client.go index 2ee1724467..054553a828 100644 --- a/webhookendpoint/client.go +++ b/webhookendpoint/client.go @@ -10,8 +10,8 @@ package webhookendpoint import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /webhook_endpoints APIs. diff --git a/webhookendpoint/client_test.go b/webhookendpoint/client_test.go index ea5f746895..3ab3c635d9 100644 --- a/webhookendpoint/client_test.go +++ b/webhookendpoint/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestWebhookEndpointDel(t *testing.T) {