deps(api): update module github.com/stripe/stripe-go/v72 to v74 #1435
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v72.122.0
->v74.22.0
Release Notes
stripe/stripe-go
v74.22.0
Compare Source
TaxabilityReason
onTaxCalculationTaxBreakdown
See the changelog for more details.
v74.21.0
Compare Source
Numeric
andText
onCheckoutSessionCustomFieldsParams
andPaymentLinkCustomFieldsParams
MaximumLength
andMinimumLength
onCheckoutSessionCustomFieldsNumeric
andCheckoutSessionCustomFieldsText
aba
andswift
on enumsCheckoutSessionPaymentMethodOptionsCustomerBalanceBankTransferRequestedAddressTypes
andPaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferRequestedAddressTypes
us_bank_transfer
on enumsCheckoutSessionPaymentMethodOptionsCustomerBalanceBankTransferType
,PaymentIntentNextActionDisplayBankTransferInstructionsType
, andPaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferType
PreferredLocales
onIssuingCardholderParams
andIssuingCardholder
Description
,IIN
, andIssuer
onPaymentMethodCardPresent
andPaymentMethodInteracPresent
PayerEmail
onPaymentMethodPaypal
ZipPayments
onAccountCapabilitiesParams
andAccountCapabilities
Zip
onChargePaymentMethodDetails
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodParams
,PaymentMethod
,SetupIntentConfirmPaymentMethodDataParams
, andSetupIntentPaymentMethodDataParams
zip
on enumPaymentMethodType
See the changelog for more details.
v74.20.0
Compare Source
ZipPayments
onAccountCapabilitiesParams
andAccountCapabilities
Zip
onChargePaymentMethodDetails
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodParams
,PaymentMethod
,SetupIntentConfirmPaymentMethodDataParams
, andSetupIntentPaymentMethodDataParams
zip
on enumPaymentMethodType
See the changelog for more details.
v74.19.0
Compare Source
SubscriptionUpdateConfirm
andSubscriptionUpdate
onBillingPortalSessionFlowDataParams
andBillingPortalSessionFlow
subscription_update_confirm
andsubscription_update
on enumBillingPortalSessionFlowType
Link
onChargePaymentMethodDetailsCardWallet
andPaymentMethodCardWallet
BuyerID
andCashtag
onChargePaymentMethodDetailsCashapp
andPaymentMethodCashapp
amusement_tax
andcommunications_tax
on enumTaxRateTaxType
See the changelog for more details.
v74.18.0
Compare Source
Release specs are identical.
Paypal
onChargePaymentMethodDetails
,CheckoutSessionPaymentMethodOptionsParams
,MandatePaymentMethodDetails
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodParams
,PaymentMethod
,SetupAttemptPaymentMethodDetails
,SetupIntentConfirmPaymentMethodDataParams
,SetupIntentConfirmPaymentMethodOptionsParams
,SetupIntentPaymentMethodDataParams
,SetupIntentPaymentMethodOptionsParams
, andSetupIntentPaymentMethodOptions
NetworkToken
onChargePaymentMethodDetailsCard
TaxabilityReason
andTaxableAmount
onCheckoutSessionShippingCostTaxes
,CheckoutSessionTotalDetailsBreakdownTaxes
,CreditNoteShippingCostTaxes
,CreditNoteTaxAmounts
,InvoiceShippingCostTaxes
,InvoiceTotalTaxAmounts
,LineItemTaxes
,QuoteComputedRecurringTotalDetailsBreakdownTaxes
,QuoteComputedUpfrontTotalDetailsBreakdownTaxes
, andQuoteTotalDetailsBreakdownTaxes
paypal
on enumsInvoicePaymentSettingsPaymentMethodTypes
andSubscriptionPaymentSettingsPaymentMethodTypes
eftpos_au
on enumsPaymentIntentPaymentMethodOptionsCardNetwork
,SetupIntentPaymentMethodOptionsCardNetwork
, andSubscriptionPaymentSettingsPaymentMethodOptionsCardNetwork
paypal
on enumPaymentLinkPaymentMethodTypes
Brand
,CardholderName
,Country
,ExpMonth
,ExpYear
,Fingerprint
,Funding
,Last4
,Networks
, andReadMethod
onPaymentMethodCardPresent
andPaymentMethodInteracPresent
PreferredLocales
onPaymentMethodInteracPresent
paypal
on enumPaymentMethodType
EffectivePercentage
onTaxRate
GBBankTransfer
andJPBankTransfer
onCustomerCashBalanceTransactionFundedBankTransfer
See the changelog for more details.
v74.17.0
Compare Source
Link
onCheckoutSessionPaymentMethodOptionsParams
andCheckoutSessionPaymentMethodOptions
Brand
,Country
,Description
,ExpMonth
,ExpYear
,Fingerprint
,Funding
,IIN
,Issuer
,Last4
,Network
, andWallet
onSetupAttemptPaymentMethodDetailsCard
See the changelog for more details.
v74.16.0
Compare Source
#1644 Update generated code
BillingCycleAnchor
andProrationBehavior
onCheckoutSessionSubscriptionDataParams
TerminalID
onIssuingAuthorizationMerchantData
andIssuingTransactionMerchantData
Metadata
onPaymentIntentCaptureParams
Checks
onSetupAttemptPaymentMethodDetailsCard
TaxBreakdown
onTaxCalculationShippingCost
andTaxTransactionShippingCost
#1643 Update generated code
#1640 Update generated code
See the changelog for more details.
v74.15.0
Compare Source
link
on enumPaymentMethodCardWalletType
Country
onPaymentMethodLink
StatusDetails
onPaymentMethodUsBankAccount
See the changelog for more details.
v74.14.0
Compare Source
New
method on resourceTax.Transaction
CreateFromCalculation
method.ExportLicenseID
andExportPurposeCode
onAccountCompanyParams
,AccountCompany
, andTokenAccountCompanyParams
deleted
from enumInvoiceStatus
AmountTip
onTestHelpersTerminalReaderPresentPaymentMethodParams
Release specs are identical.
Release specs are identical.
See the changelog for more details.
v74.13.0
Compare Source
Tax.CalculationLineItem
,Tax.Calculation
,Tax.TransactionLineItem
, andTax.Transaction
ListLineItems
andNew
methods on resourceCalculation
CreateFromCalculation
,CreateReversal
,Get
,ListLineItems
, andNew
methods on resourceTransaction
CurrencyConversion
onCheckoutSession
link
on enumPaymentLinkPaymentMethodTypes
AutomaticPaymentMethods
onSetupIntentParams
andSetupIntent
See the changelog for more details.
v74.12.0
Compare Source
Add support for
CashAppPayments
onAccountCapabilitiesParams
andAccountCapabilities
Add support for
FutureRequirements
andRequirements
onBankAccount
Add support for
CashApp
onChargePaymentMethodDetails
,CheckoutSessionPaymentMethodOptionsParams
,CheckoutSessionPaymentMethodOptions
,MandatePaymentMethodDetails
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodParams
,PaymentMethod
,SetupAttemptPaymentMethodDetails
,SetupIntentConfirmPaymentMethodDataParams
, andSetupIntentPaymentMethodDataParams
Add support for
Country
onChargePaymentMethodDetailsLink
Add support for new value
cashapp
on enumsInvoicePaymentSettingsPaymentMethodTypes
andSubscriptionPaymentSettingsPaymentMethodTypes
Add support for
PreferredLocale
onPaymentIntentConfirmPaymentMethodOptionsAffirmParams
,PaymentIntentPaymentMethodOptionsAffirmParams
, andPaymentIntentPaymentMethodOptionsAffirm
Add support for new value
automatic_async
on enumsPaymentIntentCaptureMethod
andPaymentLinkPaymentIntentDataCaptureMethod
Add support for
CashAppHandleRedirectOrDisplayQRCode
onPaymentIntentNextAction
andSetupIntentNextAction
Add support for new value
cashapp
on enumPaymentLinkPaymentMethodTypes
Add support for new value
cashapp
on enumPaymentMethodType
CashappPayments
onAccountCapabilitiesParams
andAccountCapabilities
Cashapp
onChargePaymentMethodDetails
,CheckoutSessionPaymentMethodOptionsParams
,CheckoutSessionPaymentMethodOptions
,MandatePaymentMethodDetails
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodParams
,PaymentMethod
,SetupAttemptPaymentMethodDetails
,SetupIntentConfirmPaymentMethodDataParams
, andSetupIntentPaymentMethodDataParams
cashapp
on enumsInvoicePaymentSettingsPaymentMethodTypes
andSubscriptionPaymentSettingsPaymentMethodTypes
PreferredLocale
onPaymentIntentConfirmPaymentMethodOptionsAffirmParams
,PaymentIntentPaymentMethodOptionsAffirmParams
, andPaymentIntentPaymentMethodOptionsAffirm
CashappHandleRedirectOrDisplayQRCode
onPaymentIntentNextAction
andSetupIntentNextAction
cashapp
on enumPaymentLinkPaymentMethodTypes
cashapp
on enumPaymentMethodType
See the changelog for more details.
v74.11.0
Compare Source
CardIssuing
onIssuingCardholderIndividualParams
requirements.past_due
on enumIssuingCardholderRequirementsDisabledReason
CancellationDetails
onSubscriptionCancelParams
,SubscriptionParams
, andSubscription
See the changelog for more details.
v74.10.0
Compare Source
ReconciliationStatus
onPayout
lease_tax
on enumTaxRateTaxType
See the changelog for more details.
v74.9.0
Compare Source
yoursafe
on enumsChargePaymentMethodDetailsIdealBank
,PaymentMethodIdealBank
, andSetupAttemptPaymentMethodDetailsIdealBank
BITSNL2A
on enumsChargePaymentMethodDetailsIdealBic
,PaymentMethodIdealBic
, andSetupAttemptPaymentMethodDetailsIdealBic
igst
on enumTaxRateTaxType
See the changelog for more details.
v74.8.0
Compare Source
RefundPayment
method on resourceTerminal.Reader
name
on enumBillingPortalConfigurationFeaturesCustomerUpdateAllowedUpdates
CustomFields
onCheckoutSessionParams
,CheckoutSession
,PaymentLinkParams
, andPaymentLink
InteracPresent
onTestHelpersTerminalReaderPresentPaymentMethodParams
TestHelpersTerminalReaderPresentPaymentMethodTypeParams
fromliteral('card_present')
toenum('card_present'|'interac_present')
RefundPayment
onTerminalReaderAction
refund_payment
on enumTerminalReaderActionType
See the changelog for more details.
v74.7.0
Compare Source
Resume
method on resourceSubscription
PaymentLink
onCheckoutSessionListParams
TrialSettings
onCheckoutSessionSubscriptionDataParams
,SubscriptionParams
, andSubscription
BE
on enumsCheckoutSessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferCountry
,InvoicePaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferCountry
,PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferCountry
, andSubscriptionPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferCountry
ShippingCost
onCreditNoteParams
,CreditNotePreviewLinesParams
,CreditNotePreviewParams
,CreditNote
,InvoiceParams
, andInvoice
AmountShipping
onCreditNote
andInvoice
ShippingDetails
onInvoiceParams
andInvoice
SubscriptionResumeAt
onInvoiceUpcomingLinesParams
andInvoiceUpcomingParams
InvoiceCreation
onPaymentLinkParams
andPaymentLink
paused
on enumSubscriptionStatus
funding_reversed
on enumCustomerCashBalanceTransactionType
See the changelog for more details.
v74.6.0
Compare Source
VerificationSession
onEphemeralKeyParams
RefundStatus
,PersonVerificationDetailsCode
,PersonVerificationDocumentDetailsCode
,AccountCompanyVerificationDocumentDetailsCode
.See the changelog for more details.
v74.5.0
Compare Source
CardIssuing
onIssuingCardholderIndividual
See the changelog for more details.
v74.4.0
Compare Source
UsingMerchantDefault
onCashBalanceSettings
CheckoutSessionCancelUrl
fromstring
tonullable(string)
See the changelog for more details.
v74.3.0
Compare Source
invoice_overpaid
on enumCustomerBalanceTransactionType
See the changelog for more details.
v74.2.0
Compare Source
FlowData
onBillingPortalSessionParams
Flow
onBillingPortalSession
IndiaInternationalPayments
onAccountCapabilitiesParams
andAccountCapabilities
InvoiceCreation
onCheckoutSessionParams
andCheckoutSession
Invoice
onCheckoutSession
Metadata
onSubscriptionSchedulePhasesItemsParams
andSubscriptionSchedulePhasesItems
See the changelog for more details.
v74.1.0
Compare Source
CustomText
onCheckoutSessionParams
,CheckoutSession
,PaymentLinkParams
, andPaymentLink
HostedInstructionsURL
onPaymentIntentNextActionPaynowDisplayQrCode
andPaymentIntentNextActionWechatPayDisplayQrCode
See the changelog for more details.
v74.0.0
Compare Source
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.
sku
resource (#1557)lineitem.Product
property that was released by mistake. (#1555)CheckoutSessionSubscriptionDataParams.Items
field. (#1555)EphemeralKey.AssociatedObjects
field. (#1566)Amount
,Currency
,Description
,Images
,Name
properties fromCheckoutSessionLineItemParams
(https://github.com/stripe/stripe-go/pull/1570)Charges
field onPaymentIntent
and replace it withLatestCharge
. (https://github.com/stripe/stripe-go/pull/1570)TOSShownAndAccepted
onCheckoutSessionPaymentMethodOptionsPaynowParams
. The property was mistakenly released and never worked (#1571).See the changelog for more details.
v73.16.0
Compare Source
ReasonMessage
onIssuingAuthorizationRequestHistory
webhook_error
on enumIssuingAuthorizationRequestHistoryReason
See the changelog for more details.
v73.15.0
Compare Source
OnBehalfOf
onCheckoutSessionSubscriptionDataParams
,SubscriptionParams
,SubscriptionScheduleDefaultSettingsParams
,SubscriptionScheduleDefaultSettings
,SubscriptionSchedulePhasesParams
,SubscriptionSchedulePhases
, andSubscription
eg_tin
,ph_tin
, andtr_tin
on enumsCheckoutSessionCustomerDetailsTaxIdsType
,InvoiceCustomerTaxIdsType
,OrderTaxDetailsTaxIdsType
, andTaxIdType
TaxBehavior
andTaxCode
onInvoiceItemParams
,InvoiceUpcomingInvoiceItemsParams
, andInvoiceUpcomingLinesInvoiceItemsParams
See the changelog for more details.
v73.14.0
Compare Source
jp_trn
andke_pin
on enumsCheckoutSessionCustomerDetailsTaxIdsType
,InvoiceCustomerTaxIdsType
,OrderTaxDetailsTaxIdsType
, andTaxIdType
Tipping
onTerminalReaderActionProcessPaymentIntentProcessConfig
andTerminalReaderProcessPaymentIntentProcessConfigParams
See the changelog for more details.
v73.13.0
Compare Source
NetworkData
onIssuingAuthorization
See the changelog for more details.
v73.12.0
Compare Source
invalid_dob_age_under_18
on enumsAccountFutureRequirementsErrorsCode
,AccountRequirementsErrorsCode
,CapabilityFutureRequirementsErrorsCode
,CapabilityRequirementsErrorsCode
,PersonFutureRequirementsErrorsCode
, andPersonRequirementsErrorsCode
bank_of_china
on enumsChargePaymentMethodDetailsFpxBank
andPaymentMethodFpxBank
Klarna
onSetupAttemptPaymentMethodDetails
v73.11.0
Compare Source
ChargePaymentMethodDetailsCardPresentIncrementalAuthorizationSupported
andChargePaymentMethodDetailsCardPresentOvercaptureSupported
fromnullable(boolean)
toboolean
Created
onCheckoutSession
SetupFutureUsage
onPaymentIntentConfirmPaymentMethodOptionsPixParams
,PaymentIntentPaymentMethodOptionsPixParams
, andPaymentIntentPaymentMethodOptionsPix
CheckoutSessionSubscriptionDataTransferDataParams.items
andCheckoutSessionSubscriptionDataItemParams
(use theline_items
param instead). This will be removed in the next major version.See the changelog for more details.
v73.10.0
Compare Source
TermsOfService
onCheckoutSessionConsentCollectionParams
,CheckoutSessionConsentCollection
,CheckoutSessionConsent
,PaymentLinkConsentCollectionParams
, andPaymentLinkConsentCollection
Plan
onCheckoutSessionPaymentMethodOptionsCardInstallmentsParams
. The property was mistakenly released and never worked.StatementDescriptor
onPaymentIntentIncrementAuthorizationParams
See the changelog for more details.
v73.9.0
Compare Source
Pix
onChargePaymentMethodDetails
,CheckoutSessionPaymentMethodOptionsParams
,CheckoutSessionPaymentMethodOptions
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodParams
,PaymentMethod
,SetupIntentConfirmPaymentMethodDataParams
, andSetupIntentPaymentMethodDataParams
FromInvoice
onInvoiceParams
andInvoice
LatestRevision
onInvoice
Amount
onIssuingDisputeParams
PixDisplayQRCode
onPaymentIntentNextAction
pix
on enumPaymentLinkPaymentMethodTypes
pix
on enumPaymentMethodType
Created
onTreasuryCreditReversal
andTreasuryDebitReversal
See the changelog for more details.
v73.8.0
Compare Source
RequireSignature
onIssuingCardShippingParams
andIssuingCardShipping
See the changelog for more details.
v73.7.0
Compare Source
terminal_reader_splashscreen
on enumFilePurpose
See the changelog for more details.
v73.6.0
Compare Source
Description
onPaymentLinkSubscriptionDataParams
andPaymentLinkSubscriptionData
See the changelog for more details.
v73.5.0
Compare Source
LoginPage
onBillingPortalConfigurationParams
andBillingPortalConfiguration
deutsche_bank_ag
on enumsChargePaymentMethodDetailsEpsBank
andPaymentMethodEpsBank
Customs
andPhoneNumber
onIssuingCardShippingParams
andIssuingCardShipping
Description
onQuoteSubscriptionDataParams
,QuoteSubscriptionData
,SubscriptionScheduleDefaultSettingsParams
,SubscriptionScheduleDefaultSettings
,SubscriptionSchedulePhasesParams
, andSubscriptionSchedulePhases
See the changelog for more details.
v73.4.0
Compare Source
TreasuryOutboundTransferDestinationPaymentMethod
fromstring
tonullable(string)
FundCashBalance
method onCustomer
fromCustomer
toCustomerCashBalanceTransaction
RetrieveFeatures
andUpdateFeatures
methods onTreasuryFinancialAccount
fromTreasuryFinancialAccount
toTreasuryFinancialAccountFeatures
See the changelog for more details.
v73.3.0
Compare Source
CustomerCashBalanceTransaction
paypal
from enumOrderPaymentSettingsPaymentMethodTypes
Currency
onPaymentLink
Network
onSetupIntentConfirmPaymentMethodOptionsCardParams
,SetupIntentPaymentMethodOptionsCardParams
,SubscriptionPaymentSettingsPaymentMethodOptionsCardParams
, andSubscriptionPaymentSettingsPaymentMethodOptionsCard
TopupSource
from$Source
tonullable($Source)
See the changelog for more details.
v73.2.0
Compare Source
PaymentMethodCollection
onCheckoutSessionParams
,CheckoutSession
,PaymentLinkParams
, andPaymentLink
See the changelog for more details.
v73.1.0
Compare Source
ProcessConfig
onTerminalReaderActionProcessPaymentIntent
ExpiresAt
onAppsSecretParams
andAppsSecret
See the changelog for more details.
v73.0.1
Compare Source
See the changelog for more details.
v73.0.0
Compare Source
Major version release for API version 2022-08-01. Default API version changed to "2022-08-01".
Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the SDK, read more detailed description at https://github.com/stripe/stripe-go/wiki/Migration-guide-for-v73. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#​2022-08-01.
"⚠️ " symbol highlights breaking changes.
See the changelog for more details.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.