Skip to content

Releases: stripe/stripe-node

v14.14.0

25 Jan 17:35
Compare
Choose a tag to compare
  • #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

See the changelog for more details.

v14.14.0-beta.1

18 Jan 22:51
Compare
Choose a tag to compare
v14.14.0-beta.1 Pre-release
Pre-release
  • #1996 Update generated code for beta
    Release specs are identical.
  • #1993 Update generated code for beta
    • Add support for new value nn on enum ConfirmationToken.payment_method_preview.ideal.bank
    • Add support for new value NNBANL2G on enum ConfirmationToken.payment_method_preview.ideal.bic
    • Change Invoice.automatic_tax.liability, Invoice.issuer, and Subscription.automatic_tax.liability to be required
  • #1994 Beta: report raw_request usage

See the changelog for more details.

v14.13.0

18 Jan 22:07
Compare
Choose a tag to compare
  • #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

See the changelog for more details.

v14.13.0-beta.1

12 Jan 18:57
Compare
Choose a tag to compare
v14.13.0-beta.1 Pre-release
Pre-release
  • #1989 Update generated code for beta
    • Add support for amount on ChargeCaptureParams.payment_details.flight.segments[], ChargeUpdateParams.payment_details.flight.segments[], PaymentIntentCaptureParams.payment_details.flight.segments[], PaymentIntentConfirmParams.payment_details.flight.segments[], PaymentIntentCreateParams.payment_details.flight.segments[], and PaymentIntentUpdateParams.payment_details.flight.segments[]
    • Add support for number_of_rooms and room_class on ChargeCaptureParams.payment_details.lodging, ChargeUpdateParams.payment_details.lodging, PaymentIntentCaptureParams.payment_details.lodging, PaymentIntentConfirmParams.payment_details.lodging, PaymentIntentCreateParams.payment_details.lodging, and PaymentIntentUpdateParams.payment_details.lodging
    • Change ConfirmationToken.setup_future_usage to be required
    • Add support for buy_button on CustomerSession.components and CustomerSessionCreateParams.components
    • Add support for new values high_risk_industry, insufficient_margin_ratio, insufficient_operating_profit, insufficient_reserves, insufficient_time_in_network, lacking_cash_account, and poor_payment_history_with_platform on enums Issuing.CreditUnderwritingRecord.decision.application_rejected.reasons[], Issuing.CreditUnderwritingRecordCorrectParams.decision.application_rejected.reasons[], and Issuing.CreditUnderwritingRecordReportDecisionParams.decision.application_rejected.reasons[]
    • Add support for new values high_risk_industry, insufficient_margin_ratio, insufficient_operating_profit, insufficient_reserves, insufficient_time_in_network, and lacking_cash_account on enums Issuing.CreditUnderwritingRecord.decision.credit_limit_decreased.reasons[], Issuing.CreditUnderwritingRecord.decision.credit_line_closed.reasons[], Issuing.CreditUnderwritingRecordCorrectParams.decision.credit_limit_decreased.reasons[], Issuing.CreditUnderwritingRecordCorrectParams.decision.credit_line_closed.reasons[], Issuing.CreditUnderwritingRecordCreateFromProactiveReviewParams.decision.credit_limit_decreased.reasons[], and Issuing.CreditUnderwritingRecordCreateFromProactiveReviewParams.decision.credit_line_closed.reasons[]
  • #1986 Update generated code for beta
    • Change AccountSession.components.capital_financing_promotion.features to be required

See the changelog for more details.

v14.12.0

12 Jan 18:11
Compare
Choose a tag to compare
  • #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

See the changelog for more details.

v14.12.0-beta.1

04 Jan 20:41
Compare
Choose a tag to compare
v14.12.0-beta.1 Pre-release
Pre-release
  • #1986 Update generated code for beta
    • Change AccountSession.components.capital_financing_promotion.features to be required
    • Updated stable APIs to the latest version

See the changelog for more details.

v14.11.0

04 Jan 19:53
Compare
Choose a tag to compare
  • #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

See the changelog for more details.

v14.11.0-beta.1

22 Dec 16:41
Compare
Choose a tag to compare
v14.11.0-beta.1 Pre-release
Pre-release
  • #1977 Update generated code for beta
    • Add support for capital_financing_promotion on AccountSession.components and AccountSessionCreateParams.components
    • Add support for new value shipping_address_invalid 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 FinancialConnections.Account.balance_refresh.next_refresh_available_at, FinancialConnections.Account.subscriptions, and FinancialConnections.Account.transaction_refresh to be required
    • Change type of Invoice.issuer and SubscriptionSchedule.default_settings.invoice_settings.issuer from ConnectAccountReference | null to ConnectAccountReference
    • Change type of PaymentLink.subscription_data.invoice_settings from PaymentLinksResourceSubscriptionDataInvoiceSettings | null to PaymentLinksResourceSubscriptionDataInvoiceSettings
    • Add support for ship_from_details on Tax.CalculationCreateParams, Tax.Calculation, and Tax.Transaction

See the changelog for more details.

v14.10.0

22 Dec 15:43
Compare
Choose a tag to compare
  • #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[]

See the changelog for more details.

v14.10.0-beta.1

15 Dec 02:17
Compare
Choose a tag to compare
v14.10.0-beta.1 Pre-release
Pre-release
  • #1975 Update generated code for beta
    • Add support for preview_mode and subscription_details on InvoiceUpcomingLinesParams and InvoiceUpcomingParams
    • Remove support for subscription_trial_from_plan on InvoiceUpcomingLinesParams and InvoiceUpcomingParams
    • Add support for billing_behavior, end_behavior, and proration_behavior on InvoiceUpcomingLinesParams.schedule_details and InvoiceUpcomingParams.schedule_details

See the changelog for more details.