[Snyk] Upgrade stripe from 10.17.0 to 17.4.0 #278
+1
−1
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.
Snyk has created this PR to upgrade stripe from 10.17.0 to 17.4.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 203 versions ahead of your current version.
The recommended version was released on 24 days ago.
Release notes
Package name: stripe
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.See the changelog for more details.
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
subscribe
on enumPaymentLinkUpdateParams.submit_type
respond
test helper method on resourceIssuing.Authorization
fraud_challenges
andverified_by_fraud_challenge
onIssuing.Authorization
See the changelog for more details.
Issuing.FraudLiabilityDebit
,PaymentAttemptRecord
, andPaymentRecord
list
andretrieve
methods on resourcesFraudLiabilityDebit
andPaymentAttemptRecord
report_payment_attempt_canceled
,report_payment_attempt_failed
,report_payment_attempt_guaranteed
,report_payment_attempt
,report_payment
, andretrieve
methods on resourcePaymentRecord
Account.future_requirements.disabled_reason
andAccount.requirements.disabled_reason
fromstring
toenum
money_movement
onAccountSessionCreateParams.components.financial_account.features
card_management
,card_spend_dispute_management
,cardholder_management
, andspend_control_management
onAccountSessionCreateParams.components.issuing_card.features
disable_stripe_user_authentication
onAccountSessionCreateParams.components.issuing_cards_list.features
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_decremental_authorization
,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
li_vat
on enumsCheckout.Session.collected_information.tax_ids[].type
,Checkout.Session.customer_details.tax_ids[].type
,Invoice.customer_tax_ids[].type
,Order.tax_details.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
,OrderCreateParams.tax_details.tax_ids[].type
,OrderUpdateParams.tax_details.tax_ids[].type
,Tax.CalculationCreateParams.customer_details.tax_ids[].type
, andTaxIdCreateParams.type
invoice.payment_attempt_required
andissuing_fraud_liability_debit.created
on enumEvent.type
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
custom
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[]
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
payment_record_data
andpayment_record
onInvoiceAttachPaymentParams
out_of_band_payment
onInvoiceAttachPaymentParams
amount_overpaid
onInvoice
merchant_amount
andmerchant_currency
onIssuing.AuthorizationCreateParams.testHelpers
Issuing.AuthorizationCreateParams.testHelpers.amount
to be optionallink
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
Treasury.InboundTransfer.origin_payment_method
fromstring
tostring | null
invoice.payment_attempt_required
andissuing_fraud_liability_debit.created
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
See the changelog for more details.
trigger_action
method on resourcePaymentIntent
id_bank_transfer_payments_bca
andid_bank_transfer_payments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
bank_bca_onboarding
onAccount.settings
,AccountCreateParams.settings
, andAccountUpdateParams.settings
send_money
onAccountSessionCreateParams.components.recipients.features
payout_statement_descriptor_profanity
from enumsInvoice.last_finalization_error.code
,PaymentIntent.last_payment_error.code
,SetupAttempt.setup_error.code
,SetupIntent.last_setup_error.code
, andStripeError.code
id_bank_transfer
onCharge.payment_method_details
,ConfirmationToken.payment_method_preview
,ConfirmationTokenCreateParams.testHelpers.payment_method_data
,Invoice.payment_settings.payment_method_options
,InvoiceCreateParams.payment_settings.payment_method_options
,InvoiceUpdateParams.payment_settings.payment_method_options
,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
,SetupAttempt.payment_method_details
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
,SetupIntentUpdateParams.payment_method_data
,Subscription.payment_settings.payment_method_options
,SubscriptionCreateParams.payment_settings.payment_method_options
, andSubscriptionUpdateParams.payment_settings.payment_method_options
Dispute.enhanced_eligibility_types
,Dispute.evidence.enhanced_evidence
, andDispute.evidence_details.enhanced_eligibility
to be requiredgopay
,qris
, andshopeepay
onPaymentMethodConfigurationCreateParams
,PaymentMethodConfigurationUpdateParams
, andPaymentMethodConfiguration
See the changelog for more details.
latestapiversion
was not updated to2024-10-28.acacia
in the last release.See the changelog for more details.
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
See the changelog for more details.
alma_payments
,gopay_payments
,kakao_pay_payments
,kr_card_payments
,naver_pay_payments
,payco_payments
,qris_payments
,samsung_pay_payments
,shopeepay_payments
,treasury_evolve
,treasury_fifth_third
, andtreasury_goldman_sachs
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
schedule_at_period_end
onBillingPortal.Configuration.features.subscription_update
,BillingPortal.ConfigurationCreateParams.features.subscription_update
, andBillingPortal.ConfigurationUpdateParams.features.subscription_update
BillingPortal.ConfigurationCreateParams.business_profile
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
gopay
,qris
, andshopeepay
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
,PaymentMethodCreateParams
,PaymentMethod
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
alma
,gopay
,qris
, andshopeepay
on enumsCheckout.SessionCreateParams.payment_method_types[]
,CustomerListPaymentMethodsParams.type
,PaymentMethodCreateParams.type
, andPaymentMethodListParams.type
alma
,gopay
,qris
, andshopeepay
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
,gopay
,qris
, andshopeepay
on enumsConfirmationToken.payment_method_preview.type
andPaymentMethod.type
auto
on enumCustomerUpdateParams.tax.validate_location
metadata
onForwarding.RequestCreateParams
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[]
expired
from enumsIssuing.Authorization.status
andIssuing.AuthorizationListParams.status
alma
,gopay
,qris
, andshopeepay
on enumsPaymentLink.payment_method_types[]
,PaymentLinkCreateParams.payment_method_types[]
, andPaymentLinkUpdateParams.payment_method_types[]
amazon_pay
onPaymentMethodDomain
Tax.Calculation.tax_breakdown[].tax_rate_details.flat_amount
,Tax.Calculation.tax_breakdown[].tax_rate_details.rate_type
,TaxRate.flat_amount
, andTaxRate.rate_type
to be requiredexternal_reference
onTax.Form.payee
andTax.FormListParams.payee
Tax.Form.payee.type
andTax.FormListParams.payee.type
fromliteral('account')
toenum('account'|'external_reference')
au_serr
,ca_mrdp
,eu_dac7
,gb_mrdp
, andnz_mrdp
on enumsTax.Form.type
andTax.FormListParams.type
au_serr
,ca_mrdp
,eu_dac7
,gb_mrdp
, andnz_mrdp
onTax.Form
pln
onTerminal.Configuration.tipping
,Terminal.ConfigurationCreateParams.tipping
, andTerminal.ConfigurationUpdateParams.tipping
bank
onTreasury.FinancialAccountCreateParams.features.financial_addresses.aba
,Treasury.FinancialAccountFeatures.financial_addresses.aba
,Treasury.FinancialAccountUpdateFeaturesParams.financial_addresses.aba
, andTreasury.FinancialAccountUpdateParams.features.financial_addresses.aba
See the changelog for more details.
#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
See the changelog for more details.
fetchRelatedObject
is added to events retrieved usingstripe.v2.core.events
and can be used to easily fetch the Stripe object related to a retrieved eventSee the changelog for more details.
submit_card
test helper method on resourceIssuing.Card
groups
onAccountCreateParams
,AccountUpdateParams
, andAccount
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.financial_account.features
,AccountSessionCreateParams.components.notification_banner.features
, andAccountSessionCreateParams.components.payouts.features
card_spend_dispute_management
andspend_control_management
onAccountSessionCreateParams.components.issuing_cards_list.features
payout_statement_descriptor_profanity
on enumsInvoice.last_finalization_error.code
,PaymentIntent.last_payment_error.code
,SetupAttempt.setup_error.code
,SetupIntent.last_setup_error.code
, andStripeError.code
kakao_pay
andkr_card
onCharge.payment_method_details
,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
,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
,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
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.collected_information.tax_ids[].type
,Checkout.Session.customer_details.tax_ids[].type
,Invoice.customer_tax_ids[].type
,Order.tax_details.tax_ids[].type
,Tax.Calculation.customer_details.tax_ids[].type
,Tax.Transaction.customer_details.tax_ids[].type
, andTaxId.type
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
kakao_pay
,kr_card
,naver_pay
,payco
, andsamsung_pay
on enumsConfirmationToken.payment_method_preview.type
andPaymentMethod.type
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
,OrderCreateParams.tax_details.tax_ids[].type
,OrderUpdateParams.tax_details.tax_ids[].type
,Tax.CalculationCreateParams.customer_details.tax_ids[].type
, andTaxIdCreateParams.type
refund.failed
on enumEvent.type
metadata
onForwarding.Request
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
expired
on enumsIssuing.Authorization.status
andIssuing.AuthorizationListParams.status
line_items
onOrder.payment.settings.payment_method_options.paypal
,OrderCreateParams.payment.settings.payment_method_options.paypal
,OrderUpdateParams.payment.settings.payment_method_options.paypal
,PaymentIntent.payment_method_options.paypal
,PaymentIntentConfirmParams.payment_method_options.paypal
,PaymentIntentCreateParams.payment_method_options.paypal
, andPaymentIntentUpdateParams.payment_method_options.paypal
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
refund.failed
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
See the changelog for more details.