Skip to content

Releases: stripe/stripe-node

v14.15.0-beta.2

02 Feb 02:13
Compare
Choose a tag to compare
v14.15.0-beta.2 Pre-release
Pre-release
  • #2002 Update generated code for beta
    • Add support for new resources Entitlements.Event and Entitlements.Feature
    • Add support for create method on resource Event
    • Add support for create and list methods on resource Feature
    • Add support for swish on ConfirmationToken.payment_method_preview
    • Add support for new value swish on enum ConfirmationToken.payment_method_preview.type
    • Add support for new value customer.entitlement_summary.updated on enum Event.type
    • Add support for account_tax_ids on InvoiceCreatePreviewParams.schedule_details.phases[].invoice_settings, InvoiceUpcomingLinesParams.schedule_details.phases[].invoice_settings, and InvoiceUpcomingParams.schedule_details.phases[].invoice_settings
    • Add support for feature on Product.features[], ProductCreateParams.features[], and ProductUpdateParams.features[]
    • Add support for new value customer.entitlement_summary.updated on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]

See the changelog for more details.

v14.15.0-beta.1

25 Jan 23:21
Compare
Choose a tag to compare
v14.15.0-beta.1 Pre-release
Pre-release
  • #1997 Update generated code for beta
    • Add support for create_preview method on resource Invoice
    • Add support for charged_off_at on Capital.FinancingOffer
    • Change Checkout.Session.automatic_tax.liability, Checkout.Session.invoice_creation.invoice_data.issuer, PaymentLink.automatic_tax.liability, PaymentLink.invoice_creation.invoice_data.issuer, PaymentLink.subscription_data.invoice_settings.issuer, PaymentLink.subscription_data.invoice_settings, Quote.automatic_tax.liability, Quote.invoice_settings.issuer, SubscriptionSchedule.default_settings.automatic_tax.liability, SubscriptionSchedule.default_settings.invoice_settings.issuer, SubscriptionSchedule.phases[].automatic_tax.liability, and SubscriptionSchedule.phases[].invoice_settings.issuer to be required
    • Add support for new values disabled and enabled on enums CustomerSession.components.payment_element.features.payment_method_remove, CustomerSession.components.payment_element.features.payment_method_save, CustomerSession.components.payment_element.features.payment_method_set_as_default, CustomerSession.components.payment_element.features.payment_method_update, CustomerSessionCreateParams.components.payment_element.features.payment_method_remove, CustomerSessionCreateParams.components.payment_element.features.payment_method_save, CustomerSessionCreateParams.components.payment_element.features.payment_method_set_as_default, and CustomerSessionCreateParams.components.payment_element.features.payment_method_update
    • Remove support for values auto and never from enums CustomerSession.components.payment_element.features.payment_method_remove, CustomerSession.components.payment_element.features.payment_method_save, CustomerSession.components.payment_element.features.payment_method_set_as_default, CustomerSession.components.payment_element.features.payment_method_update, CustomerSessionCreateParams.components.payment_element.features.payment_method_remove, CustomerSessionCreateParams.components.payment_element.features.payment_method_save, CustomerSessionCreateParams.components.payment_element.features.payment_method_set_as_default, and CustomerSessionCreateParams.components.payment_element.features.payment_method_update
    • Add support for enhanced_evidence on Dispute.evidence and DisputeUpdateParams.evidence
    • Add support for enhanced_eligibility_types on Dispute
    • Add support for enhanced_eligibility on Dispute.evidence_details
    • Add support for promotion_code on InvoiceUpcomingLinesParams.schedule_details.amendments[].discount_actions[].add, InvoiceUpcomingLinesParams.schedule_details.amendments[].discount_actions[].remove, InvoiceUpcomingLinesParams.schedule_details.amendments[].discount_actions[].set, InvoiceUpcomingLinesParams.schedule_details.amendments[].item_actions[].add.discounts[], InvoiceUpcomingLinesParams.schedule_details.amendments[].item_actions[].set.discounts[], InvoiceUpcomingLinesParams.schedule_details.phases[].add_invoice_items[].discounts[], InvoiceUpcomingLinesParams.schedule_details.phases[].discounts[], InvoiceUpcomingLinesParams.schedule_details.phases[].items[].discounts[], InvoiceUpcomingLinesParams.subscription_details.items[].discounts[], InvoiceUpcomingLinesParams.subscription_items[].discounts[], InvoiceUpcomingParams.schedule_details.amendments[].discount_actions[].add, InvoiceUpcomingParams.schedule_details.amendments[].discount_actions[].remove, InvoiceUpcomingParams.schedule_details.amendments[].discount_actions[].set, InvoiceUpcomingParams.schedule_details.amendments[].item_actions[].add.discounts[], InvoiceUpcomingParams.schedule_details.amendments[].item_actions[].set.discounts[], InvoiceUpcomingParams.schedule_details.phases[].add_invoice_items[].discounts[], InvoiceUpcomingParams.schedule_details.phases[].discounts[], InvoiceUpcomingParams.schedule_details.phases[].items[].discounts[], InvoiceUpcomingParams.subscription_details.items[].discounts[], InvoiceUpcomingParams.subscription_items[].discounts[], QuoteCreateParams.lines[].actions[].add_item.discounts[], QuoteCreateParams.lines[].actions[].remove_discount, QuoteCreateParams.lines[].actions[].set_discounts[], QuoteCreateParams.lines[].actions[].set_items[].discounts[], QuoteCreateParams.phases[].discounts[], QuoteLine.actions[].add_discount, QuoteLine.actions[].add_item.discounts[], QuoteLine.actions[].remove_discount, QuoteLine.actions[].set_discounts[], QuoteLine.actions[].set_items[].discounts[], QuoteUpdateParams.lines[].actions[].add_item.discounts[], QuoteUpdateParams.lines[].actions[].remove_discount, QuoteUpdateParams.lines[].actions[].set_discounts[], QuoteUpdateParams.lines[].actions[].set_items[].discounts[], QuoteUpdateParams.phases[].discounts[], SubscriptionCreateParams.add_invoice_items[].discounts[], SubscriptionCreateParams.discounts[], SubscriptionCreateParams.items[].discounts[], SubscriptionItemCreateParams.discounts[], SubscriptionItemUpdateParams.discounts[], SubscriptionSchedule.phases[].add_invoice_items[].discounts[], SubscriptionSchedule.phases[].discounts[], SubscriptionSchedule.phases[].items[].discounts[], SubscriptionScheduleAmendParams.amendments[].discount_actions[].add, SubscriptionScheduleAmendParams.amendments[].discount_actions[].remove, SubscriptionScheduleAmendParams.amendments[].discount_actions[].set, SubscriptionScheduleAmendParams.amendments[].item_actions[].add.discounts[], SubscriptionScheduleAmendParams.amendments[].item_actions[].set.discounts[], SubscriptionScheduleCreateParams.phases[].add_invoice_items[].discounts[], SubscriptionScheduleCreateParams.phases[].discounts[], SubscriptionScheduleCreateParams.phases[].items[].discounts[], SubscriptionScheduleUpdateParams.phases[].add_invoice_items[].discounts[], SubscriptionScheduleUpdateParams.phases[].discounts[], SubscriptionScheduleUpdateParams.phases[].items[].discounts[], SubscriptionUpdateParams.add_invoice_items[].discounts[], SubscriptionUpdateParams.discounts[], and SubscriptionUpdateParams.items[].discounts[]
  • #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.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.