Skip to content

Releases: stripe/stripe-node

v16.4.0-beta.1

11 Jul 18:48
Compare
Choose a tag to compare
v16.4.0-beta.1 Pre-release
Pre-release
  • #2128 Update generated code for beta
    • Change ConfirmationToken.payment_method_options and CustomerSession.components.payment_element to be required
    • Add support for new value not_qualified on enum Dispute.evidence_details.enhanced_eligibility.visa_compelling_evidence_3.status
  • #2134 Fix merge conflicts

See the changelog for more details.

v16.3.0

11 Jul 18:46
Compare
Choose a tag to compare
  • #2130 Update generated code
    • ⚠️ Remove support for values billing_policy_remote_function_response_invalid, billing_policy_remote_function_timeout, billing_policy_remote_function_unexpected_status_code, and billing_policy_remote_function_unreachable from enums Invoice.last_finalization_error.code, PaymentIntent.last_payment_error.code, SetupAttempt.setup_error.code, SetupIntent.last_setup_error.code, and StripeError.code.
    • ⚠️ Remove support for value payment_intent_fx_quote_invalid from enum StripeError.code. The was mistakenly released last week.
    • Add support for payment_method_options on ConfirmationToken
    • Add support for payment_element on CustomerSession.components and CustomerSessionCreateParams.components
    • Add support for address_validation on Issuing.Card.shipping and Issuing.CardCreateParams.shipping
    • Add support for shipping on Issuing.CardUpdateParams
    • Change Plan.meter and Price.recurring.meter to be required
  • #2133 update node versions in CI
  • #2132 check hasOwnProperty when using for..in
  • #2048 Add generateTestHeaderStringAsync function to Webhooks.ts

See the changelog for more details.

v16.3.0-beta.1

05 Jul 18:53
Compare
Choose a tag to compare
v16.3.0-beta.1 Pre-release
Pre-release
  • #2126 Update generated code for beta
    • ⚠️ Remove support for payment_method_update on CustomerSession.components.payment_element.features and CustomerSessionCreateParams.components.payment_element.features. Users are expected to completely migrate from using payment_method_update.
    • Add support for new resource FinancialConnections.Institution
    • Add support for list and retrieve methods on resource Institution
    • Add support for institution on Checkout.Session.payment_method_options.us_bank_account.financial_connections.filters, FinancialConnections.Session.filters, FinancialConnections.SessionCreateParams.filters, Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections.filters, InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.filters, InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.filters, PaymentIntent.payment_method_options.us_bank_account.financial_connections.filters, PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.filters, PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections.filters, PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.filters, SetupIntent.payment_method_options.us_bank_account.financial_connections.filters, SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.filters, SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections.filters, SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.filters, Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections.filters, SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.filters, and SubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.filters
    • Add support for payment_method_allow_redisplay_filters, payment_method_redisplay_limit, payment_method_redisplay, and payment_method_save_usage on CustomerSession.components.payment_element.features and CustomerSessionCreateParams.components.payment_element.features
    • Add support for new value balance on enums FinancialConnections.Account.subscriptions[], FinancialConnections.AccountSubscribeParams.features[], and FinancialConnections.AccountUnsubscribeParams.features[]

See the changelog for more details.

v16.2.0

05 Jul 18:51
Compare
Choose a tag to compare
  • #2125 Update generated code
    • Add support for add_lines, remove_lines, and update_lines methods on resource Invoice
    • Add support for new value payment_intent_fx_quote_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
    • Add support for posted_at on Tax.TransactionCreateFromCalculationParams and Tax.Transaction

See the changelog for more details.

v16.2.0-beta.1

27 Jun 22:23
Compare
Choose a tag to compare
v16.2.0-beta.1 Pre-release
Pre-release
  • #2110 Update generated code for beta
    • Remove support for payment_method_set_as_default on CustomerSession.components.payment_element.features and CustomerSessionCreateParams.components.payment_element.features
    • Add support for new value ch_uid on enums OrderCreateParams.tax_details.tax_ids[].type and OrderUpdateParams.tax_details.tax_ids[].type
    • Add support for new value ch_uid on enum Order.tax_details.tax_ids[].type

See the changelog for more details.

v16.1.0

27 Jun 21:26
Compare
Choose a tag to compare
  • #2120 Update generated code
    • Add support for filters on Checkout.Session.payment_method_options.us_bank_account.financial_connections, 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 email_type on CreditNoteCreateParams, CreditNotePreviewLinesParams, and CreditNotePreviewParams
    • Add support for account_subcategories on FinancialConnections.Session.filters and FinancialConnections.SessionCreateParams.filters
    • Add support for new values multibanco, twint, and zip on enums PaymentLink.payment_method_types[], PaymentLinkCreateParams.payment_method_types[], and PaymentLinkUpdateParams.payment_method_types[]
    • Add support for reboot_window on Terminal.ConfigurationCreateParams, Terminal.ConfigurationUpdateParams, and Terminal.Configuration

See the changelog for more details.

v16.0.0

24 Jun 23:06
Compare
Choose a tag to compare
  • #2113

    This release changes the pinned API version to 2024-06-20. Please read the API Upgrade Guide and carefully review the API changes before upgrading.

    ⚠️ Breaking changes

    • Remove the unused resource PlatformTaxFee
    • Rename volume_decimal to quantity_decimal on
      • Issuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel,
      • Issuing.Transaction.purchase_details.fuel,
      • Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel, and
      • Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel
    • Capabilities.Requirements.disabled_reason and Capabilities.Requirements.disabled_reason are now enums with the below values
      • other
      • paused.inactivity
      • pending.onboarding
      • pending.review
      • platform_disabled
      • platform_paused
      • rejected.inactivity
      • rejected.other
      • rejected.unsupported_business
      • requirements.fields_needed

    Additions

    • Add support for new values charging_minute, imperial_gallon, kilogram, kilowatt_hour, and pound on enums Issuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel.unit, Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel.unit, and Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel.unit
    • Add support for new values card_canceled, card_expired, cardholder_blocked, insecure_authorization_method, and pin_blocked on enum Issuing.Authorization.request_history[].reason
    • Add support for finalize_amount test helper method on resource Issuing.Authorization
    • Add support for new value ch_uid 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 ch_uid on enums CustomerCreateParams.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, and TaxIdCreateParams.type
    • Add support for fleet on Issuing.AuthorizationCaptureParams.testHelpers.purchase_details, Issuing.AuthorizationCreateParams.testHelpers, Issuing.Authorization, Issuing.Transaction.purchase_details, Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details, and Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details
    • Add support for fuel on Issuing.AuthorizationCreateParams.testHelpers and Issuing.Authorization
    • Add support for industry_product_code and quantity_decimal on Issuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel, Issuing.Transaction.purchase_details.fuel, Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel, and Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel
    • Add support for new value 2024-06-20 on enum WebhookEndpointCreateParams.api_version
  • #2118 Use worker module in Bun

See the changelog for more details.

v15.12.0

17 Jun 16:13
Compare
Choose a tag to compare
  • #2109 Update generated code
    • Add support for new value mobilepay on enums PaymentLink.payment_method_types[], PaymentLinkCreateParams.payment_method_types[], and PaymentLinkUpdateParams.payment_method_types[]
    • Add support for tax_id_collection on PaymentLinkUpdateParams
  • #2111 Where params are union of types, merge the types instead of having numbered suffixes in type names
    • Change type of PaymentIntentConfirmParams.mandate_data from Stripe.Emptyable<PaymentIntentConfirmParams.MandateData1 | PaymentIntentConfirmParams.MandateData2> to Stripe.Emptyable<PaymentIntentConfirmParams.MandateData> where the new MandateData is a union of all the properties of MandateData1 and MandateData2
    • Change type of PaymentMethodCreateParams.card from PaymentMethodCreateParams.Card1 | PaymentMethodCreateParams.Card2 to PaymentMethodCreateParams.Card where the new Card is a union of all the properties of Card1 and Card2
    • Change type of SetupIntentConfirmParams.mandate_data from Stripe.Emptyable<SetupIntentConfirmParams.MandateData1 | SetupIntentConfirmParams.MandateData2> to Stripe.Emptyable<SetupIntentConfirmParams.MandateData> where the new MandateData is a union of all the properties of MandateData1 and MandateData2

See the changelog for more details.

v15.12.0-beta.1

13 Jun 21:19
Compare
Choose a tag to compare
v15.12.0-beta.1 Pre-release
Pre-release
  • #2103 Update generated code for beta
    • Add support for new value de_stn on enums OrderCreateParams.tax_details.tax_ids[].type and OrderUpdateParams.tax_details.tax_ids[].type
    • Add support for new value de_stn on enum Order.tax_details.tax_ids[].type

See the changelog for more details.

v15.11.0

13 Jun 21:05
Compare
Choose a tag to compare
  • #2102 Update generated code
    • Add support for multibanco_payments and twint_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
    • Add support for twint on Charge.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, and SetupIntentUpdateParams.payment_method_data
    • Add support for multibanco on 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, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, PaymentMethodConfiguration, PaymentMethodCreateParams, PaymentMethod, Refund.destination_details, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
    • Add support for new values multibanco and twint on enums Checkout.SessionCreateParams.payment_method_types[], CustomerListPaymentMethodsParams.type, PaymentMethodCreateParams.type, and PaymentMethodListParams.type
    • Add support for new value de_stn 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 values multibanco and twint on enums ConfirmationTokenCreateParams.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, and SetupIntentUpdateParams.payment_method_data.type
    • Add support for new values multibanco and twint on enums ConfirmationToken.payment_method_preview.type and PaymentMethod.type
    • Add support for new value de_stn on enums CustomerCreateParams.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, and TaxIdCreateParams.type
    • Add support for multibanco_display_details on PaymentIntent.next_action
    • Add support for invoice_settings on Subscription

See the changelog for more details.