fix(deps): update dependency stripe to v17 #1249
Open
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:
16.12.0
->17.5.0
Release Notes
stripe/stripe-node (stripe)
v17.5.0
Compare Source
2024-12-18.acacia
.Account.business_profile.annual_revenue
andAccount.business_profile.estimated_worker_count
to be optionalnetwork_advice_code
andnetwork_decline_code
onCharge.outcome
,Invoice.last_finalization_error
,PaymentIntent.last_payment_error
,SetupAttempt.setup_error
,SetupIntent.last_setup_error
, andStripeError
payout_minimum_balance_hold
andpayout_minimum_balance_release
on enumBalanceTransaction.type
credits_application_invoice_voided
onBilling.CreditBalanceTransaction.credit
Billing.CreditBalanceTransaction.credit.type
fromliteral('credits_granted')
toenum('credits_application_invoice_voided'|'credits_granted')
BillingPortal.Configuration.features.subscription_update.schedule_at_period_end
,Issuing.Authorization.verified_by_fraud_challenge
,LineItem.description
, andPayout.trace_id
to be requiredallow_redisplay
onCard
andSource
regulated_status
onCard
,Charge.payment_method_details.card
,ConfirmationToken.payment_method_preview.card
, andPaymentMethod.card
funding
onCharge.payment_method_details.amazon_pay
andCharge.payment_method_details.revolut_pay
network_transaction_id
onCharge.payment_method_details.card
reference_prefix
onCheckout.Session.payment_method_options.bacs_debit.mandate_options
,Checkout.Session.payment_method_options.sepa_debit.mandate_options
,Checkout.SessionCreateParams.payment_method_options.bacs_debit.mandate_options
,Checkout.SessionCreateParams.payment_method_options.sepa_debit.mandate_options
,PaymentIntent.payment_method_options.bacs_debit.mandate_options
,PaymentIntent.payment_method_options.sepa_debit.mandate_options
,PaymentIntentConfirmParams.payment_method_options.bacs_debit.mandate_options
,PaymentIntentConfirmParams.payment_method_options.sepa_debit.mandate_options
,PaymentIntentCreateParams.payment_method_options.bacs_debit.mandate_options
,PaymentIntentCreateParams.payment_method_options.sepa_debit.mandate_options
,PaymentIntentUpdateParams.payment_method_options.bacs_debit.mandate_options
,PaymentIntentUpdateParams.payment_method_options.sepa_debit.mandate_options
,SetupIntent.payment_method_options.bacs_debit.mandate_options
,SetupIntent.payment_method_options.sepa_debit.mandate_options
,SetupIntentConfirmParams.payment_method_options.bacs_debit.mandate_options
,SetupIntentConfirmParams.payment_method_options.sepa_debit.mandate_options
,SetupIntentCreateParams.payment_method_options.bacs_debit.mandate_options
,SetupIntentCreateParams.payment_method_options.sepa_debit.mandate_options
,SetupIntentUpdateParams.payment_method_options.bacs_debit.mandate_options
, andSetupIntentUpdateParams.payment_method_options.sepa_debit.mandate_options
al_tin
,am_tin
,ao_tin
,ba_tin
,bb_tin
,bs_tin
,cd_nif
,gn_nif
,kh_tin
,me_pib
,mk_vat
,mr_nif
,np_pan
,sn_ninea
,sr_fin
,tj_tin
,ug_tin
,zm_tin
, andzw_tin
on enumsCheckout.Session.customer_details.tax_ids[].type
,Invoice.customer_tax_ids[].type
,Tax.Calculation.customer_details.tax_ids[].type
,Tax.Transaction.customer_details.tax_ids[].type
, andTaxId.type
al_tin
,am_tin
,ao_tin
,ba_tin
,bb_tin
,bs_tin
,cd_nif
,gn_nif
,kh_tin
,me_pib
,mk_vat
,mr_nif
,np_pan
,sn_ninea
,sr_fin
,tj_tin
,ug_tin
,zm_tin
, andzw_tin
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceCreatePreviewParams.customer_details.tax_ids[].type
,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
,Tax.CalculationCreateParams.customer_details.tax_ids[].type
, andTaxIdCreateParams.type
visa_compliance
onDispute.evidence.enhanced_evidence
,Dispute.evidence_details.enhanced_eligibility
, andDisputeUpdateParams.evidence.enhanced_evidence
request_signature
on enumsForwarding.Request.replacements[]
andForwarding.RequestCreateParams.replacements[]
account_holder_address
andbank_address
onFundingInstructions.bank_transfer.financial_addresses[].iban
,FundingInstructions.bank_transfer.financial_addresses[].sort_code
,FundingInstructions.bank_transfer.financial_addresses[].spei
,FundingInstructions.bank_transfer.financial_addresses[].zengin
,PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].iban
,PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].sort_code
,PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].spei
, andPaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].zengin
account_holder_name
onFundingInstructions.bank_transfer.financial_addresses[].spei
andPaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].spei
disabled_reason
onInvoice.automatic_tax
,Subscription.automatic_tax
,SubscriptionSchedule.default_settings.automatic_tax
, andSubscriptionSchedule.phases[].automatic_tax
tax_id
onIssuing.Authorization.merchant_data
andIssuing.Transaction.merchant_data
LineItem.description
fromstring
tostring | null
trial_period_days
onPaymentLinkUpdateParams.subscription_data
al
,am
,ao
,ba
,bb
,bs
,cd
,gn
,kh
,me
,mk
,mr
,np
,pe
,sn
,sr
,tj
,ug
,uy
,zm
, andzw
onTax.Registration.country_options
andTax.RegistrationCreateParams.country_options
2024-12-18.acacia
on enumWebhookEndpointCreateParams.api_version
v17.4.0
Compare Source
2024-11-20.acacia
.respond
test helper method on resourceIssuing.Authorization
authorizer
onAccountPersonsParams.relationship
andTokenCreateParams.person.relationship
Account.future_requirements.disabled_reason
andAccount.requirements.disabled_reason
fromstring
toenum
AccountSession.components.account_management.features.disable_stripe_user_authentication
,AccountSession.components.account_onboarding.features.disable_stripe_user_authentication
,AccountSession.components.balances.features.disable_stripe_user_authentication
,AccountSession.components.notification_banner.features.disable_stripe_user_authentication
, andAccountSession.components.payouts.features.disable_stripe_user_authentication
to be requiredadaptive_pricing
onCheckout.SessionCreateParams
andCheckout.Session
mandate_options
onCheckout.Session.payment_method_options.bacs_debit
,Checkout.Session.payment_method_options.sepa_debit
,Checkout.SessionCreateParams.payment_method_options.bacs_debit
, andCheckout.SessionCreateParams.payment_method_options.sepa_debit
request_extended_authorization
,request_incremental_authorization
,request_multicapture
, andrequest_overcapture
onCheckout.Session.payment_method_options.card
andCheckout.SessionCreateParams.payment_method_options.card
capture_method
onCheckout.SessionCreateParams.payment_method_options.kakao_pay
,Checkout.SessionCreateParams.payment_method_options.kr_card
,Checkout.SessionCreateParams.payment_method_options.naver_pay
,Checkout.SessionCreateParams.payment_method_options.payco
, andCheckout.SessionCreateParams.payment_method_options.samsung_pay
subscribe
on enumsCheckout.Session.submit_type
,Checkout.SessionCreateParams.submit_type
,PaymentLink.submit_type
, andPaymentLinkCreateParams.submit_type
li_vat
on enumsCheckout.Session.customer_details.tax_ids[].type
,Invoice.customer_tax_ids[].type
,Tax.Calculation.customer_details.tax_ids[].type
,Tax.Transaction.customer_details.tax_ids[].type
, andTaxId.type
li_vat
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceCreatePreviewParams.customer_details.tax_ids[].type
,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
,Tax.CalculationCreateParams.customer_details.tax_ids[].type
, andTaxIdCreateParams.type
financial_account_statement
on enumsFile.purpose
andFileListParams.purpose
account_holder_address
,account_holder_name
,account_type
, andbank_address
onFundingInstructions.bank_transfer.financial_addresses[].aba
,FundingInstructions.bank_transfer.financial_addresses[].swift
,PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].aba
, andPaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].swift
service_tax
on enumsInvoiceAddLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type
,InvoiceUpdateLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type
,Tax.Calculation.shipping_cost.tax_breakdown[].tax_rate_details.tax_type
,Tax.Calculation.tax_breakdown[].tax_rate_details.tax_type
,Tax.CalculationLineItem.tax_breakdown[].tax_rate_details.tax_type
,Tax.Transaction.shipping_cost.tax_breakdown[].tax_rate_details.tax_type
,TaxRate.tax_type
,TaxRateCreateParams.tax_type
, andTaxRateUpdateParams.tax_type
merchant_amount
andmerchant_currency
onIssuing.AuthorizationCreateParams.testHelpers
Issuing.AuthorizationCreateParams.testHelpers.amount
to be optionalfraud_challenges
andverified_by_fraud_challenge
onIssuing.Authorization
link
on enumsPaymentIntent.payment_method_options.card.network
,PaymentIntentConfirmParams.payment_method_options.card.network
,PaymentIntentCreateParams.payment_method_options.card.network
,PaymentIntentUpdateParams.payment_method_options.card.network
,SetupIntent.payment_method_options.card.network
,SetupIntentConfirmParams.payment_method_options.card.network
,SetupIntentCreateParams.payment_method_options.card.network
,SetupIntentUpdateParams.payment_method_options.card.network
,Subscription.payment_settings.payment_method_options.card.network
,SubscriptionCreateParams.payment_settings.payment_method_options.card.network
, andSubscriptionUpdateParams.payment_settings.payment_method_options.card.network
submit_type
onPaymentLinkUpdateParams
trace_id
onPayout
network_decline_code
onRefund.destination_details.blik
andRefund.destination_details.swish
Treasury.InboundTransfer.origin_payment_method
fromstring
tostring | null
2024-11-20.acacia
on enumWebhookEndpointCreateParams.api_version
Stripe.V2.BillingResource
,Stripe.V2.CoreResource
, andStripe.V2Resource
types from the public interface as they are no longer needed. SDK usage will not be affected but any references to these types in your application will need to be removed.v17.3.1
Compare Source
latestapiversion
was not updated to2024-10-28.acacia
in the last release.v17.3.0
Compare Source
2024-10-28.acacia
.V2.EventDestinations
create
,retrieve
,update
,list
,del
,disable
,enable
andping
methods on resourceV2.EventDestinations
submit_card
test helper method on resourceIssuing.Card
groups
onAccountCreateParams
,AccountUpdateParams
, andAccount
alma_payments
,kakao_pay_payments
,kr_card_payments
,naver_pay_payments
,payco_payments
, andsamsung_pay_payments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
disable_stripe_user_authentication
onAccountSession.components.account_management.features
,AccountSession.components.account_onboarding.features
,AccountSession.components.balances.features
,AccountSession.components.notification_banner.features
,AccountSession.components.payouts.features
,AccountSessionCreateParams.components.account_management.features
,AccountSessionCreateParams.components.account_onboarding.features
,AccountSessionCreateParams.components.balances.features
,AccountSessionCreateParams.components.notification_banner.features
, andAccountSessionCreateParams.components.payouts.features
schedule_at_period_end
onBillingPortal.Configuration.features.subscription_update
,BillingPortal.ConfigurationCreateParams.features.subscription_update
, andBillingPortal.ConfigurationUpdateParams.features.subscription_update
BillingPortal.ConfigurationCreateParams.business_profile
andRefund.next_action.display_details
to be optionalalma
onCharge.payment_method_details
,ConfirmationToken.payment_method_preview
,ConfirmationTokenCreateParams.testHelpers.payment_method_data
,PaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentMethodConfigurationCreateParams
,PaymentMethodConfigurationUpdateParams
,PaymentMethodConfiguration
,PaymentMethodCreateParams
,PaymentMethod
,Refund.destination_details
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
kakao_pay
andkr_card
onCharge.payment_method_details
,Checkout.Session.payment_method_options
,Checkout.SessionCreateParams.payment_method_options
,ConfirmationToken.payment_method_preview
,ConfirmationTokenCreateParams.testHelpers.payment_method_data
,Mandate.payment_method_details
,PaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentMethodCreateParams
,PaymentMethod
,SetupAttempt.payment_method_details
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
naver_pay
onCharge.payment_method_details
,Checkout.Session.payment_method_options
,Checkout.SessionCreateParams.payment_method_options
,ConfirmationToken.payment_method_preview
,ConfirmationTokenCreateParams.testHelpers.payment_method_data
,PaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentMethodCreateParams
,PaymentMethodUpdateParams
,PaymentMethod
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
payco
andsamsung_pay
onCharge.payment_method_details
,Checkout.Session.payment_method_options
,Checkout.SessionCreateParams.payment_method_options
,ConfirmationToken.payment_method_preview
,ConfirmationTokenCreateParams.testHelpers.payment_method_data
,PaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentMethodCreateParams
,PaymentMethod
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
alma
,kakao_pay
,kr_card
,naver_pay
,payco
, andsamsung_pay
on enumsCheckout.SessionCreateParams.payment_method_types[]
,CustomerListPaymentMethodsParams.type
,PaymentMethodCreateParams.type
, andPaymentMethodListParams.type
by_tin
,ma_vat
,md_vat
,tz_vat
,uz_tin
, anduz_vat
on enumsCheckout.Session.customer_details.tax_ids[].type
,Invoice.customer_tax_ids[].type
,Tax.Calculation.customer_details.tax_ids[].type
,Tax.Transaction.customer_details.tax_ids[].type
, andTaxId.type
alma
,kakao_pay
,kr_card
,naver_pay
,payco
, andsamsung_pay
on enumsConfirmationTokenCreateParams.testHelpers.payment_method_data.type
,PaymentIntentConfirmParams.payment_method_data.type
,PaymentIntentCreateParams.payment_method_data.type
,PaymentIntentUpdateParams.payment_method_data.type
,SetupIntentConfirmParams.payment_method_data.type
,SetupIntentCreateParams.payment_method_data.type
, andSetupIntentUpdateParams.payment_method_data.type
alma
,kakao_pay
,kr_card
,naver_pay
,payco
, andsamsung_pay
on enumsConfirmationToken.payment_method_preview.type
andPaymentMethod.type
auto
on enumCustomerUpdateParams.tax.validate_location
by_tin
,ma_vat
,md_vat
,tz_vat
,uz_tin
, anduz_vat
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceCreatePreviewParams.customer_details.tax_ids[].type
,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
,Tax.CalculationCreateParams.customer_details.tax_ids[].type
, andTaxIdCreateParams.type
enhanced_evidence
onDispute.evidence
andDisputeUpdateParams.evidence
enhanced_eligibility_types
onDispute
enhanced_eligibility
onDispute.evidence_details
issuing_transaction.purchase_details_receipt_updated
andrefund.failed
on enumEvent.type
metadata
onForwarding.RequestCreateParams
andForwarding.Request
automatically_finalizes_at
onInvoiceCreateParams
andInvoiceUpdateParams
jp_credit_transfer
,kakao_pay
,kr_card
,naver_pay
, andpayco
on enumsInvoice.payment_settings.payment_method_types[]
,InvoiceCreateParams.payment_settings.payment_method_types[]
,InvoiceUpdateParams.payment_settings.payment_method_types[]
,Subscription.payment_settings.payment_method_types[]
,SubscriptionCreateParams.payment_settings.payment_method_types[]
, andSubscriptionUpdateParams.payment_settings.payment_method_types[]
retail_delivery_fee
on enumsInvoiceAddLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type
,InvoiceUpdateLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type
,Tax.Calculation.shipping_cost.tax_breakdown[].tax_rate_details.tax_type
,Tax.Calculation.tax_breakdown[].tax_rate_details.tax_type
,Tax.CalculationLineItem.tax_breakdown[].tax_rate_details.tax_type
,Tax.Transaction.shipping_cost.tax_breakdown[].tax_rate_details.tax_type
,TaxRate.tax_type
,TaxRateCreateParams.tax_type
, andTaxRateUpdateParams.tax_type
alma
on enumsPaymentLink.payment_method_types[]
,PaymentLinkCreateParams.payment_method_types[]
, andPaymentLinkUpdateParams.payment_method_types[]
amazon_pay
onPaymentMethodDomain
Refund.next_action.display_details
fromRefundNextActionDisplayDetails | null
toRefundNextActionDisplayDetails
flat_amount
andrate_type
onTax.Calculation.tax_breakdown[].tax_rate_details
andTaxRate
by
,cr
,ec
,ma
,md
,rs
,ru
,tz
, anduz
onTax.Registration.country_options
andTax.RegistrationCreateParams.country_options
state_retail_delivery_fee
on enumsTax.Registration.country_options.us.type
andTax.RegistrationCreateParams.country_options.us.type
pln
onTerminal.Configuration.tipping
,Terminal.ConfigurationCreateParams.tipping
, andTerminal.ConfigurationUpdateParams.tipping
issuing_transaction.purchase_details_receipt_updated
andrefund.failed
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
2024-10-28.acacia
on enumWebhookEndpointCreateParams.api_version
v17.2.1
Compare Source
#2210 update object tags for meter-related classes
object
property of theMeterEvent
,MeterEventAdjustment
, andMeterEventSession
didn't match the server.#2208 Update signature verification docs link
v17.2.0
Compare Source
fetchRelatedObject
is added to events retrieved usingstripe.v2.core.events
and can be used to easily fetch the Stripe object related to a retrieved eventv17.1.0
Compare Source
Margin
that was accidentally made public in the last releasev17.0.0
Compare Source
#2192 Support for APIs in the new API version 2024-09-30.acacia
This release changes the pinned API version to
2024-09-30.acacia
. Please read the API Upgrade Guide and carefully review the API changes before upgrading.usage_threshold_config
tousage_threshold
onBilling.AlertCreateParams
andBilling.Alert
filter
onBilling.AlertCreateParams
andBilling.Alert
. Use the filters on theusage_threshold
insteadcustomer_consent_collected
onTerminal.ReaderProcessSetupIntentParams
.1
->2
2
->5
Additions
custom_unit_amount
onProductCreateParams.default_price_data
allow_redisplay
onTerminal.ReaderProcessPaymentIntentParams.process_config
andTerminal.ReaderProcessSetupIntentParams
international_transaction
on enumTreasury.ReceivedCredit.failure_code
2024-09-30.acacia
on enumWebhookEndpointCreateParams.api_version
Billing.MeterEvent
,Billing.MeterEventAdjustments
,Billing.MeterEventSession
,Billing.MeterEventStream
and the new Events APICore.Events
in the v2 namespaceparseThinEvent()
on theStripe
class to parse thin events.Stripe
class that takes a HTTP method type, url and relevant parameters to make requests to the Stripe API that are not yet supported in the SDK.Changes
BillingPortal.ConfigurationCreateParams.features.subscription_update.default_allowed_updates
andBillingPortal.ConfigurationCreateParams.features.subscription_update.products
to be optionalConfiguration
📅 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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.