Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency stripe to v14 - autoclosed #45

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Nov 25, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
stripe ^8.167.0 -> ^14.0.0 age adoption passing confidence

Release Notes

stripe/stripe-node (stripe)

v14.19.0

Compare Source

  • #​2029 Update generated code
    • Change Identity.VerificationReport.type, SubscriptionSchedule.default_settings.invoice_settings.account_tax_ids, SubscriptionSchedule.phases[].invoice_settings.account_tax_ids, and TaxId.owner to be required
    • Change type of Identity.VerificationSession.type from enum('document'|'id_number') | null to enum('document'|'id_number')
    • Add support for number on InvoiceCreateParams and InvoiceUpdateParams
    • Add support for enable_customer_cancellation on Terminal.Reader.action.process_payment_intent.process_config, Terminal.Reader.action.process_setup_intent.process_config, Terminal.ReaderProcessPaymentIntentParams.process_config, and Terminal.ReaderProcessSetupIntentParams.process_config
    • Add support for refund_payment_config on Terminal.Reader.action.refund_payment and Terminal.ReaderRefundPaymentParams
    • Add support for payment_method on TokenCreateParams.bank_account
  • #​2027 vscode settings: true -> "explicit"

v14.18.0

Compare Source

  • #​2022 Update generated code
    • Add support for client_reference_id on Identity.VerificationReportListParams, Identity.VerificationReport, Identity.VerificationSessionCreateParams, Identity.VerificationSessionListParams, and Identity.VerificationSession
    • Remove support for value include_and_require from enum InvoiceCreateParams.pending_invoice_items_behavior
    • Remove support for value service_tax from enums TaxRate.tax_type, TaxRateCreateParams.tax_type, and TaxRateUpdateParams.tax_type
    • Add support for created on Treasury.OutboundPaymentListParams
  • #​2025 Standardize parameter interface names
    • CapabilityListParams renamed to AccountListCapabilitiesParams
    • CapabilityRetrieveParams renamed to AccountRetrieveCapabilityParams
    • CapabilityUpdateParams renamed to AccountUpdateCapabilityParams
    • CashBalanceRetrieveParams renamed to CustomerRetrieveCashBalanceParams
    • CashBalanceUpdateParams renamed to CustomerUpdateCashBalanceParams
    • CreditNoteLineItemListParams renamed to CreditNoteListLineItemsParams
    • CustomerBalanceTransactionCreateParams renamed to CustomerCreateBalanceTransactionParams
    • CustomerBalanceTransactionListParams renamed to CustomerListBalanceTransactionsParams
    • CustomerBalanceTransactionRetrieveParams renamed to CustomerRetrieveBalanceTransactionParams
    • CustomerBalanceTransactionUpdateParams renamed to CustomerUpdateBalanceTransactionParams
    • CustomerCashBalanceTransactionListParams renamed to CustomerListCashBalanceTransactionsParams
    • CustomerCashBalanceTransactionRetrieveParams renamed to CustomerRetrieveCashBalanceTransactionParams
    • CustomerSourceCreateParams renamed to CustomerCreateSourceParams
    • CustomerSourceDeleteParams renamed to CustomerDeleteSourceParams
    • CustomerSourceListParams renamed to CustomerListSourcesParams
    • CustomerSourceRetrieveParams renamed to CustomerRetrieveSourceParams
    • CustomerSourceUpdateParams renamed to CustomerUpdateSourceParams
    • CustomerSourceVerifyParams renamed to CustomerVerifySourceParams
    • ExternalAccountCreateParams renamed to AccountCreateExternalAccountParams
    • ExternalAccountDeleteParams renamed to AccountDeleteExternalAccountParams
    • ExternalAccountListParams renamed to AccountListExternalAccountsParams
    • ExternalAccountRetrieveParams renamed to AccountRetrieveExternalAccountParams
    • ExternalAccountUpdateParams renamed to AccountUpdateExternalAccountParams
    • FeeRefundCreateParams renamed to ApplicationFeeCreateRefundParams
    • FeeRefundListParams renamed to ApplicationFeeListRefundsParams
    • FeeRefundRetrieveParams renamed to ApplicationFeeRetrieveRefundParams
    • FeeRefundUpdateParams renamed to ApplicationFeeUpdateRefundParams
    • InvoiceLineItemListParams renamed to InvoiceListLineItemsParams
    • InvoiceLineItemUpdateParams renamed to InvoiceUpdateLineItemParams
    • LoginLinkCreateParams renamed to AccountCreateLoginLinkParams
    • PersonCreateParams renamed to AccountCreatePersonParams
    • PersonDeleteParams renamed to AccountDeletePersonParams
    • PersonListParams renamed to AccountListPersonsParams
    • PersonRetrieveParams renamed to AccountRetrievePersonParams
    • PersonUpdateParams renamed to AccountUpdatePersonParams
    • TaxIdCreateParams renamed to CustomerCreateTaxIdParams
    • TaxIdDeleteParams renamed to CustomerDeleteTaxIdParams
    • TaxIdListParams renamed to CustomerListTaxIdsParams
    • TaxIdRetrieveParams renamed to CustomerRetrieveTaxIdParams
    • TransferReversalCreateParams renamed to TransferCreateReversalParams
    • TransferReversalListParams renamed to TransferListReversalsParams
    • TransferReversalRetrieveParams renamed to TransferRetrieveReversalParams
    • TransferReversalUpdateParams renamed to TransferUpdateReversalParams
    • UsageRecordCreateParams renamed to SubscriptionItemCreateUsageRecordParams
    • UsageRecordSummaryListParams renamed to SubscriptionItemListUsageRecordSummariesParams
      Old names will still work but are deprecated and will be removed in future versions.
  • #​2021 Add TaxIds API
    • Add support for create, del, list, and retrieve methods on resource TaxId

v14.17.0

Compare Source

  • #​2018 Update generated code
    • Add support for networks on Card, PaymentMethodCreateParams.card, PaymentMethodUpdateParams.card, and TokenCreateParams.card
    • Add support for new value no_voec on enums Checkout.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, and TaxId.type
    • Add support for new value no_voec on enums CustomerCreateParams.tax_id_data[].type, InvoiceUpcomingLinesParams.customer_details.tax_ids[].type, InvoiceUpcomingParams.customer_details.tax_ids[].type, Tax.CalculationCreateParams.customer_details.tax_ids[].type, and TaxIdCreateParams.type
    • Add support for new value financial_connections.account.refreshed_ownership on enum Event.type
    • Add support for display_brand on PaymentMethod.card
    • Add support for new value financial_connections.account.refreshed_ownership on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]

v14.16.0

Compare Source

  • #​2012 Update generated code
    • Add support for invoices on Account.settings and AccountUpdateParams.settings
    • Add support for new value velobank on enums Charge.payment_method_details.p24.bank, PaymentIntentConfirmParams.payment_method_data.p24.bank, PaymentIntentCreateParams.payment_method_data.p24.bank, PaymentIntentUpdateParams.payment_method_data.p24.bank, PaymentMethod.p24.bank, PaymentMethodCreateParams.p24.bank, SetupIntentConfirmParams.payment_method_data.p24.bank, SetupIntentCreateParams.payment_method_data.p24.bank, and SetupIntentUpdateParams.payment_method_data.p24.bank
    • Add support for setup_future_usage on PaymentIntent.payment_method_options.blik, PaymentIntentConfirmParams.payment_method_options.blik, PaymentIntentCreateParams.payment_method_options.blik, and PaymentIntentUpdateParams.payment_method_options.blik
    • Add support for require_cvc_recollection on PaymentIntent.payment_method_options.card, PaymentIntentConfirmParams.payment_method_options.card, PaymentIntentCreateParams.payment_method_options.card, and PaymentIntentUpdateParams.payment_method_options.card
    • Add support for account_tax_ids on SubscriptionCreateParams.invoice_settings, SubscriptionSchedule.default_settings.invoice_settings, SubscriptionSchedule.phases[].invoice_settings, SubscriptionScheduleCreateParams.default_settings.invoice_settings, SubscriptionScheduleCreateParams.phases[].invoice_settings, SubscriptionScheduleUpdateParams.default_settings.invoice_settings, SubscriptionScheduleUpdateParams.phases[].invoice_settings, and SubscriptionUpdateParams.invoice_settings

v14.15.0

Compare Source

  • #​2001 Update generated code
    • Add support for swish payment method throughout the API
    • Add support for relationship on AccountCreateParams.individual, AccountUpdateParams.individual, and TokenCreateParams.account.individual
    • Add support for jurisdiction_level on TaxRate
    • Change type of Terminal.Reader.status from string to enum('offline'|'online')
  • #​2009 Remove https check for *.stripe.com
    • Stops throwing exceptions if protocol: 'http' is set for requests to api.stripe.com.

v14.14.0

Compare Source

  • #​1998 Update generated code
    • Add support for annual_revenue and estimated_worker_count on Account.business_profile, AccountCreateParams.business_profile, and AccountUpdateParams.business_profile
    • Add support for new value registered_charity on enums Account.company.structure, AccountCreateParams.company.structure, AccountUpdateParams.company.structure, and TokenCreateParams.account.company.structure
    • Add support for collection_options on AccountLinkCreateParams
    • Add support for liability on Checkout.Session.automatic_tax, Checkout.SessionCreateParams.automatic_tax, PaymentLink.automatic_tax, PaymentLinkCreateParams.automatic_tax, PaymentLinkUpdateParams.automatic_tax, Quote.automatic_tax, QuoteCreateParams.automatic_tax, QuoteUpdateParams.automatic_tax, SubscriptionSchedule.default_settings.automatic_tax, SubscriptionSchedule.phases[].automatic_tax, SubscriptionScheduleCreateParams.default_settings.automatic_tax, SubscriptionScheduleCreateParams.phases[].automatic_tax, SubscriptionScheduleUpdateParams.default_settings.automatic_tax, and SubscriptionScheduleUpdateParams.phases[].automatic_tax
    • Add support for issuer on Checkout.Session.invoice_creation.invoice_data, Checkout.SessionCreateParams.invoice_creation.invoice_data, PaymentLink.invoice_creation.invoice_data, PaymentLinkCreateParams.invoice_creation.invoice_data, PaymentLinkUpdateParams.invoice_creation.invoice_data, Quote.invoice_settings, QuoteCreateParams.invoice_settings, QuoteUpdateParams.invoice_settings, SubscriptionSchedule.default_settings.invoice_settings, SubscriptionSchedule.phases[].invoice_settings, SubscriptionScheduleCreateParams.default_settings.invoice_settings, SubscriptionScheduleCreateParams.phases[].invoice_settings, SubscriptionScheduleUpdateParams.default_settings.invoice_settings, and SubscriptionScheduleUpdateParams.phases[].invoice_settings
    • Add support for invoice_settings on Checkout.SessionCreateParams.subscription_data, PaymentLink.subscription_data, PaymentLinkCreateParams.subscription_data, and PaymentLinkUpdateParams.subscription_data
    • Add support for new value challenge on enums Invoice.payment_settings.payment_method_options.card.request_three_d_secure, InvoiceCreateParams.payment_settings.payment_method_options.card.request_three_d_secure, InvoiceUpdateParams.payment_settings.payment_method_options.card.request_three_d_secure, Subscription.payment_settings.payment_method_options.card.request_three_d_secure, SubscriptionCreateParams.payment_settings.payment_method_options.card.request_three_d_secure, and SubscriptionUpdateParams.payment_settings.payment_method_options.card.request_three_d_secure
    • Add support for promotion_code on InvoiceUpcomingLinesParams.discounts[], InvoiceUpcomingLinesParams.invoice_items[].discounts[], InvoiceUpcomingParams.discounts[], and InvoiceUpcomingParams.invoice_items[].discounts[]
    • Add support for account_type on PaymentMethodUpdateParams.us_bank_account
  • #​1995 Update generated code
    • Add support for providing BankAccount, Card, and CardToken details on the external_account parameter in AccountUpdateParams
    • Add support for new value nn on enums Charge.payment_method_details.ideal.bank, PaymentIntentConfirmParams.payment_method_data.ideal.bank, PaymentIntentCreateParams.payment_method_data.ideal.bank, PaymentIntentUpdateParams.payment_method_data.ideal.bank, PaymentMethod.ideal.bank, PaymentMethodCreateParams.ideal.bank, SetupAttempt.payment_method_details.ideal.bank, SetupIntentConfirmParams.payment_method_data.ideal.bank, SetupIntentCreateParams.payment_method_data.ideal.bank, and SetupIntentUpdateParams.payment_method_data.ideal.bank
    • Add support for new value NNBANL2G on enums Charge.payment_method_details.ideal.bic, PaymentMethod.ideal.bic, and SetupAttempt.payment_method_details.ideal.bic
    • Change CustomerSession.components.buy_button, CustomerSession.components.pricing_table, and Subscription.billing_cycle_anchor_config to be required
    • Add support for issuer on InvoiceCreateParams, InvoiceUpcomingLinesParams, InvoiceUpcomingParams, InvoiceUpdateParams, and Invoice
    • Add support for liability on Invoice.automatic_tax, InvoiceCreateParams.automatic_tax, InvoiceUpcomingLinesParams.automatic_tax, InvoiceUpcomingParams.automatic_tax, InvoiceUpdateParams.automatic_tax, Subscription.automatic_tax, SubscriptionCreateParams.automatic_tax, and SubscriptionUpdateParams.automatic_tax
    • Add support for on_behalf_of on InvoiceUpcomingLinesParams and InvoiceUpcomingParams
    • Add support for pin on Issuing.CardCreateParams
    • Add support for revocation_reason on Mandate.payment_method_details.bacs_debit
    • Add support for customer_balance on PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, and PaymentMethodConfiguration
    • Add support for invoice_settings on SubscriptionCreateParams and SubscriptionUpdateParams
  • #​1992 Add a hint about formatting during request forwarding

v14.13.0

Compare Source

  • #​1995 Update generated code
    • Add support for providing BankAccount, Card, and CardToken details on the external_account parameter in AccountUpdateParams
    • Add support for new value nn on enums Charge.payment_method_details.ideal.bank, PaymentIntentConfirmParams.payment_method_data.ideal.bank, PaymentIntentCreateParams.payment_method_data.ideal.bank, PaymentIntentUpdateParams.payment_method_data.ideal.bank, PaymentMethod.ideal.bank, PaymentMethodCreateParams.ideal.bank, SetupAttempt.payment_method_details.ideal.bank, SetupIntentConfirmParams.payment_method_data.ideal.bank, SetupIntentCreateParams.payment_method_data.ideal.bank, and SetupIntentUpdateParams.payment_method_data.ideal.bank
    • Add support for new value NNBANL2G on enums Charge.payment_method_details.ideal.bic, PaymentMethod.ideal.bic, and SetupAttempt.payment_method_details.ideal.bic
    • Change CustomerSession.components.buy_button, CustomerSession.components.pricing_table, and Subscription.billing_cycle_anchor_config to be required
    • Add support for issuer on InvoiceCreateParams, InvoiceUpcomingLinesParams, InvoiceUpcomingParams, InvoiceUpdateParams, and Invoice
    • Add support for liability on Invoice.automatic_tax, InvoiceCreateParams.automatic_tax, InvoiceUpcomingLinesParams.automatic_tax, InvoiceUpcomingParams.automatic_tax, InvoiceUpdateParams.automatic_tax, Subscription.automatic_tax, SubscriptionCreateParams.automatic_tax, and SubscriptionUpdateParams.automatic_tax
    • Add support for on_behalf_of on InvoiceUpcomingLinesParams and InvoiceUpcomingParams
    • Add support for pin on Issuing.CardCreateParams
    • Add support for revocation_reason on Mandate.payment_method_details.bacs_debit
    • Add support for customer_balance on PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, and PaymentMethodConfiguration
    • Add support for invoice_settings on SubscriptionCreateParams and SubscriptionUpdateParams
  • #​1992 Add a hint about formatting during request forwarding

v14.12.0

Compare Source

  • #​1990 Update generated code
    • Add support for new resource CustomerSession
    • Add support for create method on resource CustomerSession
    • Remove support for values obligation_inbound, obligation_payout_failure, obligation_payout, and obligation_reversal_outbound from enum BalanceTransaction.type
    • Add support for new values eps and p24 on enums Invoice.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[], and SubscriptionUpdateParams.payment_settings.payment_method_types[]
    • Remove support for value obligation from enum Reporting.ReportRunCreateParams.parameters.reporting_category
    • Add support for billing_cycle_anchor_config on SubscriptionCreateParams and Subscription

v14.11.0

Compare Source

  • #​1985 Update generated code
    • Add support for retrieve method on resource Tax.Registration
    • Change AccountSession.components.payment_details.features, AccountSession.components.payment_details, AccountSession.components.payments.features, AccountSession.components.payments, AccountSession.components.payouts.features, AccountSession.components.payouts, PaymentLink.inactive_message, and PaymentLink.restrictions to be required
    • Change type of SubscriptionSchedule.default_settings.invoice_settings from InvoiceSettingSubscriptionScheduleSetting | null to InvoiceSettingSubscriptionScheduleSetting
  • #​1987 Update docstrings to indicate removal of deprecated event types

v14.10.0

Compare Source

  • #​1979 Update generated code
    • Add support for collection_method on Mandate.payment_method_details.us_bank_account
    • Add support for mandate_options on PaymentIntent.payment_method_options.us_bank_account, PaymentIntentConfirmParams.payment_method_options.us_bank_account, PaymentIntentCreateParams.payment_method_options.us_bank_account, PaymentIntentUpdateParams.payment_method_options.us_bank_account, SetupIntent.payment_method_options.us_bank_account, SetupIntentConfirmParams.payment_method_options.us_bank_account, SetupIntentCreateParams.payment_method_options.us_bank_account, and SetupIntentUpdateParams.payment_method_options.us_bank_account
  • #​1976 Update generated code
    • Add support for new resource FinancialConnections.Transaction
    • Add support for list and retrieve methods on resource Transaction
    • Add support for subscribe and unsubscribe methods on resource FinancialConnections.Account
    • Add support for features on AccountSessionCreateParams.components.payouts
    • Add support for edit_payout_schedule, instant_payouts, and standard_payouts on AccountSession.components.payouts.features
    • Change type of Checkout.Session.payment_method_options.us_bank_account.financial_connections.prefetch[], Checkout.SessionCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[], Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[], InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[], InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[], PaymentIntent.payment_method_options.us_bank_account.financial_connections.prefetch[], PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.prefetch[], PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[], PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.prefetch[], SetupIntent.payment_method_options.us_bank_account.financial_connections.prefetch[], SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.prefetch[], SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[], SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.prefetch[], Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[], SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[], and SubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[] from literal('balances') to enum('balances'|'transactions')
    • Add support for new value financial_connections.account.refreshed_transactions on enum Event.type
    • Add support for new value transactions on enum FinancialConnections.AccountRefreshParams.features[]
    • Add support for subscriptions and transaction_refresh on FinancialConnections.Account
    • Add support for next_refresh_available_at on FinancialConnections.Account.balance_refresh
    • Add support for new value transactions on enums FinancialConnections.Session.prefetch[] and FinancialConnections.SessionCreateParams.prefetch[]
    • Add support for new value unknown on enums Issuing.Authorization.verification_data.authentication_exemption.type and Issuing.AuthorizationCreateParams.testHelpers.verification_data.authentication_exemption.type
    • Add support for new value challenge on enums PaymentIntent.payment_method_options.card.request_three_d_secure, PaymentIntentConfirmParams.payment_method_options.card.request_three_d_secure, PaymentIntentCreateParams.payment_method_options.card.request_three_d_secure, PaymentIntentUpdateParams.payment_method_options.card.request_three_d_secure, SetupIntent.payment_method_options.card.request_three_d_secure, SetupIntentConfirmParams.payment_method_options.card.request_three_d_secure, SetupIntentCreateParams.payment_method_options.card.request_three_d_secure, and SetupIntentUpdateParams.payment_method_options.card.request_three_d_secure
    • Add support for revolut_pay on PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, and PaymentMethodConfiguration
    • Change type of Quote.invoice_settings from InvoiceSettingQuoteSetting | null to InvoiceSettingQuoteSetting
    • Add support for destination_details on Refund
    • Add support for new value financial_connections.account.refreshed_transactions on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]

v14.9.0

Compare Source

  • #​1973 Add usage to X-Stripe-Client-Telemetry
  • #​1971 Update generated code
    • Add support for payment_method_reuse_agreement on Checkout.Session.consent_collection, Checkout.SessionCreateParams.consent_collection, PaymentLink.consent_collection, and PaymentLinkCreateParams.consent_collection
    • Add support for after_submit on Checkout.Session.custom_text, Checkout.SessionCreateParams.custom_text, PaymentLink.custom_text, PaymentLinkCreateParams.custom_text, and PaymentLinkUpdateParams.custom_text
    • Add support for created on Radar.EarlyFraudWarningListParams

v14.8.0

Compare Source

  • #​1968 Update generated code
    • Add support for payment_details, payments, and payouts on AccountSession.components and AccountSessionCreateParams.components
    • Add support for features on AccountSession.components.account_onboarding and AccountSessionCreateParams.components.account_onboarding
    • Add support for new values customer_tax_location_invalid and financial_connections_no_successful_transaction_refresh on enums Invoice.last_finalization_error.code, PaymentIntent.last_payment_error.code, SetupAttempt.setup_error.code, SetupIntent.last_setup_error.code, and StripeError.code
    • Add support for new values payment_network_reserve_hold and payment_network_reserve_release on enum BalanceTransaction.type
    • Change Climate.Product.metric_tons_available to be required
    • Remove support for value various from enum Climate.Supplier.removal_pathway
    • Remove support for values challenge_only and challenge from enum PaymentIntent.payment_method_options.card.request_three_d_secure
    • Add support for inactive_message and restrictions on PaymentLinkCreateParams, PaymentLinkUpdateParams, and PaymentLink
    • Add support for transfer_group on PaymentLink.payment_intent_data, PaymentLinkCreateParams.payment_intent_data, and PaymentLinkUpdateParams.payment_intent_data
    • Add support for trial_settings on PaymentLink.subscription_data, PaymentLinkCreateParams.subscription_data, and PaymentLinkUpdateParams.subscription_data

v14.7.0

Compare Source

  • #​1965 Update generated code
    • Add support for new resources Climate.Order, Climate.Product, and Climate.Supplier
    • Add support for cancel, create, list, retrieve, and update methods on resource Order
    • Add support for list and retrieve methods on resources Product and Supplier
    • Add support for new value financial_connections_account_inactive on enums Invoice.last_finalization_error.code, PaymentIntent.last_payment_error.code, SetupAttempt.setup_error.code, SetupIntent.last_setup_error.code, and StripeError.code
    • Add support for new values climate_order_purchase and climate_order_refund on enum BalanceTransaction.type
    • Add support for created on Checkout.SessionListParams
    • Add support for validate_location on CustomerCreateParams.tax and CustomerUpdateParams.tax
    • 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 Event.type
    • Add support for new value challenge on enums PaymentIntent.payment_method_options.card.request_three_d_secure and SetupIntent.payment_method_options.card.request_three_d_secure
    • Add support for new values climate_order_purchase and climate_order_refund on enum Reporting.ReportRunCreateParams.parameters.reporting_category
    • 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 enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]

v14.6.0

Compare Source

  • #​1961 Update generated code
    • Add support for electronic_commerce_indicator on Charge.payment_method_details.card.three_d_secure and SetupAttempt.payment_method_details.card.three_d_secure
    • Add support for exemption_indicator_applied and exemption_indicator on Charge.payment_method_details.card.three_d_secure
    • Add support for transaction_id on Charge.payment_method_details.card.three_d_secure, Issuing.Authorization.network_data, Issuing.Transaction.network_data, and SetupAttempt.payment_method_details.card.three_d_secure
    • Add support for offline on Charge.payment_method_details.card_present
    • Add support for system_trace_audit_number on Issuing.Authorization.network_data
    • Add support for network_risk_score on Issuing.Authorization.pending_request and Issuing.Authorization.request_history[]
    • Add support for requested_at on Issuing.Authorization.request_history[]
    • Add support for authorization_code on Issuing.Transaction.network_data
    • Add support for three_d_secure on PaymentIntentConfirmParams.payment_method_options.card, PaymentIntentCreateParams.payment_method_options.card, PaymentIntentUpdateParams.payment_method_options.card, SetupIntentConfirmParams.payment_method_options.card, SetupIntentCreateParams.payment_method_options.card, and SetupIntentUpdateParams.payment_method_options.card

v14.5.0

Compare Source

  • #​1957 Update generated code
    • Add support for bacs_debit_payments on AccountCreateParams.settings and AccountUpdateParams.settings
    • Add support for service_user_number on Account.settings.bacs_debit_payments
    • Change type of Account.settings.bacs_debit_payments.display_name from string to string | null
    • Add support for capture_before on Charge.payment_method_details.card
    • Add support for paypal on Checkout.Session.payment_method_options
    • Add support for tax_amounts on CreditNoteCreateParams.lines[], CreditNotePreviewLinesParams.lines[], and CreditNotePreviewParams.lines[]
    • Add support for network_data on Issuing.Transaction
  • #​1960 Update generated code
    • Add support for status on Checkout.SessionListParams
  • #​1958 Move Webhooks instance to static field
  • #​1952 Use AbortController for native fetch cancellation when available

v14.4.0

Compare Source

  • #​1947 Update generated code
    • Add support for new value terminal_reader_hardware_fault on enums Invoice.last_finalization_error.code, PaymentIntent.last_payment_error.code, SetupAttempt.setup_error.code, SetupIntent.last_setup_error.code, and StripeError.code
    • Change Charge.payment_method_details.card.amount_authorized, Checkout.Session.payment_method_configuration_details, PaymentIntent.latest_charge, PaymentIntent.payment_method_configuration_details, and SetupIntent.payment_method_configuration_details to be required
    • Change Product.features[].name to be optional
    • Add support for metadata on Quote.subscription_data, QuoteCreateParams.subscription_data, and QuoteUpdateParams.subscription_data

v14.3.0

Compare Source

  • #​1943 Update generated code
    • Add support for new resource Tax.Registration
    • Add support for create, list, and update methods on resource Registration
    • Add support for revolut_pay_payments on Account APIs.
    • Add support for new value token_card_network_invalid on error code enums.
    • Add support for new value payment_unreconciled on enum BalanceTransaction.type
    • Add support for revolut_pay throughout the API.
    • Change .paypal.payer_email to be required in several locations.
    • Add support for aba and swift on FundingInstructions.bank_transfer.financial_addresses[] and PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[]
    • Add support for new values ach, domestic_wire_us, and swift on enums FundingInstructions.bank_transfer.financial_addresses[].supported_networks[] and PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].supported_networks[]
    • Add support for new values aba and swift on enums FundingInstructions.bank_transfer.financial_addresses[].type and PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].type
    • Add support for url on Issuing.Authorization.merchant_data, Issuing.AuthorizationCreateParams.testHelpers.merchant_data, Issuing.Transaction.merchant_data, Issuing.TransactionCreateForceCaptureParams.testHelpers.merchant_data, and Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.merchant_data
    • Add support for authentication_exemption and three_d_secure on Issuing.Authorization.verification_data and Issuing.AuthorizationCreateParams.testHelpers.verification_data
    • Add support for description on PaymentLink.payment_intent_data, PaymentLinkCreateParams.payment_intent_data, and PaymentLinkUpdateParams.payment_intent_data
    • Add support for new value unreconciled_customer_funds on enum Reporting.ReportRunCreateParams.parameters.reporting_category

v14.2.0

Compare Source

  • #​1939 Update generated code
    • Add support for new value balance_invalid_parameter on enums Invoice.last_finalization_error.code, PaymentIntent.last_payment_error.code, SetupAttempt.setup_error.code, SetupIntent.last_setup_error.code, and StripeError.code
    • Change Issuing.Cardholder.individual.card_issuing to be optional
  • #​1940 Do not require passing apiVersion

v14.1.0

Compare Source

  • #​1933 Update generated code
    • Add support for new value invalid_dob_age_under_minimum on enums Account.future_requirements.errors[].code, Account.requirements.errors[].code, BankAccount.future_requirements.errors[].code, and BankAccount.requirements.errors[].code
    • Change Checkout.Session.client_secret and Checkout.Session.ui_mode to be required

v14.0.0

Compare Source

  • This release changes the pinned API version to 2023-10-16. Please read the API Upgrade Guide and carefully review the API changes before upgrading stripe package.
  • #​1932 Update generated code
    • Add support for legal_guardian on AccountPersonsParams.relationship and TokenCreateParams.person.relationship
    • 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 Account.future_requirements.errors[].code, Account.requirements.errors[].code, BankAccount.future_requirements.errors[].code, and BankAccount.requirements.errors[].code
    • Add support for additional_tos_acceptances on TokenCreateParams.person
    • Add support for new value 2023-10-16 on enum WebhookEndpointCreateParams.api_version

v13.11.0

Compare Source

  • #​1924 Update generated code
    • Add support for new values issuing_token.created and issuing_token.updated on enum Event.type
    • Add support for new values issuing_token.created and issuing_token.updated on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]
  • #​1926 Add named unions for all polymorphic types
  • #​1921 Add event types

v13.10.0

Compare Source

  • #​1920 Update generated code
    • Add support for redirect_on_completion, return_url, and ui_mode on Checkout.SessionCreateParams and Checkout.Session
    • Change Checkout.Session.custom_fields[].dropdown, Checkout.Session.custom_fields[].numeric, Checkout.Session.custom_fields[].text, Checkout.SessionCreateParams.success_url, PaymentLink.custom_fields[].dropdown, PaymentLink.custom_fields[].numeric, and PaymentLink.custom_fields[].text to be optional
    • Add support for client_secret on Checkout.Session
    • Change type of Checkout.Session.custom_fields[].dropdown from PaymentPagesCheckoutSessionCustomFieldsDropdown | null to PaymentPagesCheckoutSessionCustomFieldsDropdown
    • Change type of Checkout.Session.custom_fields[].numeric and Checkout.Session.custom_fields[].text from PaymentPagesCheckoutSessionCustomFieldsNumeric | null to PaymentPagesCheckoutSessionCustomFieldsNumeric
    • Add support for postal_code on Issuing.Authorization.verification_data
    • Change type of PaymentLink.custom_fields[].dropdown from PaymentLinksResourceCustomFieldsDropdown | null to PaymentLinksResourceCustomFieldsDropdown
    • Change type of PaymentLink.custom_fields[].numeric and PaymentLink.custom_fields[].text from PaymentLinksResourceCustomFieldsNumeric | null to PaymentLinksResourceCustomFieldsNumeric
    • Add support for offline on Terminal.ConfigurationCreateParams, Terminal.ConfigurationUpdateParams, and Terminal.Configuration
  • #​1914 Bump get-func-name from 2.0.0 to 2.0.2

v13.9.0

Compare Source

  • #​1916 Update generated code
    • Add support for new resource Issuing.Token
    • Add support for list, retrieve, and update methods on resource Token
    • Add support for amount_authorized, extended_authorization, incremental_authorization, multicapture, and overcapture on Charge.payment_method_details.card
    • Add support for token on Issuing.Authorization and Issuing.Transaction
    • Add support for authorization_code on Issuing.Authorization.request_history[]
    • Add support for request_extended_authorization, request_multicapture, and request_overcapture on PaymentIntent.payment_method_options.card, PaymentIntentConfirmParams.payment_method_options.card, PaymentIntentCreateParams.payment_method_options.card, and PaymentIntentUpdateParams.payment_method_options.card
    • Add support for request_incremental_authorization on PaymentIntent.payment_method_options.card, PaymentIntentConfirmParams.payment_method_options.card_present, PaymentIntentConfirmParams.payment_method_options.card, PaymentIntentCreateParams.payment_method_options.card_present, PaymentIntentCreateParams.payment_method_options.card, PaymentIntentUpdateParams.payment_method_options.card_present, and PaymentIntentUpdateParams.payment_method_options.card
    • Add support for final_capture on PaymentIntentCaptureParams
    • Add support for metadata on PaymentLink.payment_intent_data, PaymentLink.subscription_data, PaymentLinkCreateParams.payment_intent_data, and PaymentLinkCreateParams.subscription_data
    • Add support for statement_descriptor_suffix and statement_descriptor on PaymentLink.payment_intent_data and PaymentLinkCreateParams.payment_intent_data
    • Add support for payment_intent_data and subscription_data on PaymentLinkUpdateParams

v13.8.0

Compare Source

  • #​1911 Update generated code
    • Add support for rendering on InvoiceCreateParams, InvoiceUpdateParams, and Invoice
    • Change PaymentMethod.us_bank_account.financial_connections_account and PaymentMethod.us_bank_account.status_details to be required

v13.7.0

Compare Source

  • #​1907 Update generated code
    • Add support for terms_of_service_acceptance on Checkout.Session.custom_text, Checkout.SessionCreateParams.custom_text, PaymentLink.custom_text, PaymentLinkCreateParams.custom_text, and PaymentLinkUpdateParams.custom_text

v13.6.0

Compare Source

  • #​1905 Update generated code
    • Add support for new resource PaymentMethodConfiguration
    • Add support for create, list, retrieve, and update methods on resource PaymentMethodConfiguration
    • Add support for payment_method_configuration on Checkout.SessionCreateParams, PaymentIntentCreateParams, PaymentIntentUpdateParams, SetupIntentCreateParams, and SetupIntentUpdateParams
    • Add support for payment_method_configuration_details on Checkout.Session, PaymentIntent, and SetupIntent
  • #​1897 Update generated code
    • Add support for capture, create, expire, increment, and reverse test helper methods on resource Issuing.Authorization
    • Add support for create_force_capture, create_unlinked_refund, and refund test helper methods on resource Issuing.Transaction
    • Add support for new value stripe_tax_inactive on enums Invoice.last_finalization_error.code, PaymentIntent.last_payment_error.code, SetupAttempt.setup_error.code, SetupIntent.last_setup_error.code, and StripeError.code
    • Add support for nonce on EphemeralKeyCreateParams
    • Add support for cashback_amount on Issuing.Authorization.amount_details, Issuing.Authorization.pending_request.amount_details, Issuing.Authorization.request_history[].amount_details, and Issuing.Transaction.amount_details
    • Add support for serial_number on Terminal.ReaderListParams
  • #​1895 feat: webhook signing Nestjs
  • #​1878 Use src/apiVersion.ts, not API_VERSION as source of truth

v13.5.0

Compare Source

  • #​1893 Update generated code
    • Add support for new resource PaymentMethodDomain
    • Add support for create, list, retrieve, update, and validate methods on resource PaymentMethodDomain
    • Add support for new value n26 on enums Charge.payment_method_details.ideal.bank, PaymentIntentConfirmParams.payment_method_data.ideal.bank, PaymentIntentCreateParams.payment_method_data.ideal.bank, PaymentIntentUpdateParams.payment_method_data.ideal.bank, PaymentMethod.ideal.bank, PaymentMethodCreateParams.ideal.bank, SetupAttempt.payment_method_details.ideal.bank, SetupIntentConfirmParams.payment_method_data.ideal.bank, SetupIntentCreateParams.payment_method_data.ideal.bank, and SetupIntentUpdateParams.payment_method_data.ideal.bank
    • Add support for new value NTSBDEB1 on enums Charge.payment_method_details.ideal.bic, PaymentMethod.ideal.bic, and SetupAttempt.payment_method_details.ideal.bic
    • 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 Event.type
    • Remove support for value invoiceitem.updated from enum Event.type
    • Add support for features on ProductCreateParams, ProductUpdateParams, and Product
    • Remove support for value invoiceitem.updated from enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]

v13.4.0

Compare Source

  • #​1884 Update generated code
    • Add support for new resource AccountSession
    • Add support for create 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 BalanceTransaction.type
    • Change type of Event.type from string to enum
    • Add support for application on PaymentLink
    • Add support for new value obligation on enum Reporting.ReportRunCreateParams.parameters.reporting_category

v13.3.0

Compare Source

  • #​1879 Update generated code
    • Add support for retention on BillingPortal.Session.flow.subscription_cancel and BillingPortal.SessionCreateParams.flow_data.subscription_cancel
    • Add support for prefetch on Checkout.Session.payment_method_options.us_bank_account.financial_connections, Checkout.SessionCreateParams.payment_method_options.us_bank_account.financial_connections, FinancialConnections.SessionCreateParams, FinancialConnections.Session, Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections, InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections, InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections, PaymentIntent.payment_method_options.us_bank_account.financial_connections, PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections, PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections, PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections, SetupIntent.payment_method_options.us_bank_account.financial_connections, SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections, SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections, SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections, Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections, SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections, and SubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections
    • Add support for payment_method_details on Dispute
    • Change type of PaymentIntentCreateParams.mandate_data and SetupIntentCreateParams.mandate_data from secret_key_param to emptyStringable(secret_key_param)
    • Change type of PaymentIntentConfirmParams.mandate_data and SetupIntentConfirmParams.mandate_data from secret_key_param | client_key_param to emptyStringable(secret_key_param | client_key_param)
    • Add support for balance_transaction on CustomerCashBalanceTransaction.adjusted_for_overdraft
  • #​1882 Update v13.0.0 CHANGELOG.md
  • #​1880 Improved maxNetworkRetries options JSDoc

v13.2.0

Compare Source

  • #​1876 Update generated code
    • Add support for flat_amount on Tax.TransactionCreateReversalParams

v13.1.0

Compare Source

  • #​1875 Update Typescript types to support version 2023-08-16.

v13.0.0

Compare Source

"⚠️" symbol highlights breaking changes.

  • ⚠️#​1803 Change the default behavior to perform 1 reattempt on retryable request failures (previously the default was 0).
  • #​1808 Allow request-level options to disable retries.
  • ⚠️Remove deprecated del method on Subscriptions. Please use the cancel method instead, which was introduced in v9.14.0:
  • #​1872 Update generated code
    • ⚠️Add support for new values verification_directors_mismatch, verification_document_directors_mismatch, verification_extraneous_directors, and verification_missing_directors on enums Account.future_requirements.errors[].code, Account.requirements.errors[].code, BankAccount.future_requirements.errors[].code, and BankAccount.requirements.errors[].code
    • ⚠️Remove support for values custom_account_update and custom_account_verification from enum AccountLinkCreateParams.type
      • These values are not fully operational. Please use account_update and account_onboarding instead (see API reference).
    • ⚠️Remove support for available_on on BalanceTransactionListParams
      • Use of this parameter is discouraged. Suppress the Typescript error with // @​ts-ignore or any if sending the parameter is still required.
    • ⚠️Remove support for alternate_statement_descriptors and dispute on Charge
      • Use of these fields is discouraged.
    • ⚠️Remove support for destination on Charge
      • Please use transfer_data or on_behalf_of instead.
    • ⚠️Remove support for shipping_rates on `Checkout.SessionCreatePar

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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title Update dependency stripe to v14 Update dependency stripe to v14 - autoclosed Apr 7, 2024
@renovate renovate bot closed this Apr 7, 2024
@renovate renovate bot deleted the renovate/stripe-14.x branch April 7, 2024 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
0 participants