Skip to content

Releases: stripe/stripe-node

v20.1.0-alpha.4

04 Dec 17:43

Choose a tag to compare

v20.1.0-alpha.4 Pre-release
Pre-release
  • #2519 Update generated code for private-preview
    • Add support for event notifications V2IamApiKeyCreatedEvent, V2IamApiKeyDefaultSecretRevealedEvent, V2IamApiKeyExpiredEvent, V2IamApiKeyPermissionsUpdatedEvent, V2IamApiKeyRotatedEvent, and V2IamApiKeyUpdatedEvent
  • #2517 Update generated code for private-preview
    • Add support for check_scanning on AccountSession.components
    • Add support for client on V2.Core.Event.reason.request
    • Add support for stripe_balance_payment on V2.MoneyManagement.ReceivedCredit and V2.MoneyManagement.ReceivedDebit
    • Add support for new value stripe_balance_payment on enum V2.MoneyManagement.ReceivedCredit.type
    • Add support for balance_transfer on V2.MoneyManagement.ReceivedDebit
    • Add support for new values balance_transfer and stripe_balance_payment on enum V2.MoneyManagement.ReceivedDebit.type
    • Add support for include on V2.Core.EventListParams and V2.Core.EventRetrieveParams

See the changelog for more details.

v20.1.0-alpha.3

24 Nov 18:11

Choose a tag to compare

v20.1.0-alpha.3 Pre-release
Pre-release
  • #2512 Update generated code for private-preview
    • Add support for new resource ProductCatalog.TrialOffer
    • Add support for create method on resource ProductCatalog.TrialOffer
    • Remove support for amount_subtotal_after_discount on DelegatedCheckout.RequestedSession.line_item_details[] and DelegatedCheckout.RequestedSession.total_details
    • Remove support for amount_total, unit_amount_after_discount, and unit_discount on DelegatedCheckout.RequestedSession.line_item_details[]
    • Add support for amount_cart_discount and amount_items_discount on DelegatedCheckout.RequestedSession.total_details
    • Remove support for amount_discount on DelegatedCheckout.RequestedSession.total_details
    • Add support for payments_orchestration on PaymentIntentCreateParams and PaymentIntent

See the changelog for more details.

v20.1.0-alpha.2

20 Nov 23:24

Choose a tag to compare

v20.1.0-alpha.2 Pre-release
Pre-release

This release changes the pinned API version to 2025-11-17.preview.

  • #2510 Update generated code for private-preview
    • Add support for new resources V2.Core.AccountPersonToken, V2.Core.AccountToken, and V2.MoneyManagement.CurrencyConversion
    • Add support for create, list, and retrieve methods on resource V2.MoneyManagement.CurrencyConversion
    • Add support for create and retrieve methods on resources V2.Core.AccountPersonToken and V2.Core.AccountToken
    • Add support for effective_at on InvoiceCreatePreviewParams.schedule_details.amendments[], InvoiceCreatePreviewParams.schedule_details.phases[], QuoteCreateParams.lines[], QuoteLine, QuotePreviewSubscriptionSchedule.phases[], QuoteUpdateParams.lines[], SubscriptionSchedule.phases[], SubscriptionScheduleAmendParams.amendments[], SubscriptionScheduleCreateParams.phases[], and SubscriptionScheduleUpdateParams.phases[]
    • Add support for trial_offer on InvoiceCreatePreviewParams.schedule_details.amendments[].item_actions[].add, InvoiceCreatePreviewParams.schedule_details.amendments[].item_actions[].set, InvoiceCreatePreviewParams.schedule_details.phases[].items[], QuoteCreateParams.lines[].actions[].add_item, QuoteCreateParams.lines[].actions[].set_items[], QuoteLine.actions[].add_item, QuoteLine.actions[].set_items[], QuotePreviewSubscriptionSchedule.phases[].items[], QuoteUpdateParams.lines[].actions[].add_item, QuoteUpdateParams.lines[].actions[].set_items[], SubscriptionSchedule.phases[].items[], SubscriptionScheduleAmendParams.amendments[].item_actions[].add, SubscriptionScheduleAmendParams.amendments[].item_actions[].set, SubscriptionScheduleCreateParams.phases[].items[], and SubscriptionScheduleUpdateParams.phases[].items[]
    • Change type of DelegatedCheckout.RequestedSession.amount_subtotal from longInteger to longInteger | null
    • Change type of DelegatedCheckout.RequestedSession.amount_total from longInteger to longInteger | null
    • Add support for amount_discount, amount_subtotal, amount_total, unit_amount_after_discount, and unit_discount on DelegatedCheckout.RequestedSession.line_item_details[]
    • Add support for amount_subtotal_after_discount on DelegatedCheckout.RequestedSession.line_item_details[] and DelegatedCheckout.RequestedSession.total_details
    • Change type of InvoiceCreatePreviewParams.schedule_details.billing_schedules from array(billing_schedules_update_params) to emptyable(array(billing_schedules_update_params))
    • Remove support for values amendment_end, line_ends_at, schedule_end, and upcoming_invoice from enums InvoiceCreatePreviewParams.subscription_details.billing_schedules[].bill_until.type, Subscription.billing_schedules[].bill_until.type, SubscriptionCreateParams.billing_schedules[].bill_until.type, SubscriptionScheduleCreateParams.billing_schedules[].bill_until.type, SubscriptionScheduleUpdateParams.billing_schedules[].bill_until.type, and SubscriptionUpdateParams.billing_schedules[].bill_until.type
    • Add support for current_trial on InvoiceCreatePreviewParams.subscription_details.items[], SubscriptionCreateParams.items[], SubscriptionItemCreateParams, SubscriptionItemUpdateParams, SubscriptionItem, and SubscriptionUpdateParams.items[]
    • Change type of QuoteCreateParams.subscription_data.billing_schedules and QuoteCreateParams.subscription_data_overrides[].billing_schedules from emptyable(array(billing_schedules_create_specs)) to array(billing_schedules_create_specs)
    • Add support for new value line_start on enums QuoteCreateParams.subscription_data.phase_effective_at, QuoteCreateParams.subscription_data_overrides[].phase_effective_at, QuoteUpdateParams.subscription_data.phase_effective_at, and QuoteUpdateParams.subscription_data_overrides[].phase_effective_at
    • Remove support for value phase_start from enums QuoteCreateParams.subscription_data.phase_effective_at, QuoteCreateParams.subscription_data_overrides[].phase_effective_at, QuoteUpdateParams.subscription_data.phase_effective_at, and QuoteUpdateParams.subscription_data_overrides[].phase_effective_at
    • Change type of Quote.subscription_data.billing_schedules and Quote.subscription_data_overrides[].billing_schedules from array(SubscriptionsResourceBillingSchedules) | null to array(QuotesResourceSubscriptionDataBillingSchedules)
    • Change type of Quote.subscription_data.phase_effective_at and Quote.subscription_data_overrides[].phase_effective_at from enum('billing_period_start'|'phase_start') | null to enum('billing_period_start'|'line_start')
    • Change type of QuotePreviewSubscriptionSchedule.default_settings.phase_effective_at and SubscriptionSchedule.default_settings.phase_effective_at from enum('billing_period_start'|'phase_start') | null to enum('billing_period_start'|'phase_start')
    • Change type of QuotePreviewSubscriptionSchedule.billing_schedules and SubscriptionSchedule.billing_schedules from array(SubscriptionsResourceBillingSchedules) | null to array(SubscriptionsResourceBillingSchedules)
    • Remove support for amendment_start, line_starts_at, and relative on Subscription.billing_schedules[].bill_from
    • Change type of Subscription.billing_schedules[].bill_from.computed_timestamp from DateTime | null to DateTime
    • Change type of Subscription.billing_schedules[].bill_from.type from enum to literal('timestamp')
    • Remove support for amendment_end and line_ends_at on Subscription.billing_schedules[].bill_until
    • Change type of V2.Billing.ServiceAction.credit_grant.amount.monetary, V2.Billing.ServiceAction.credit_grant_per_tenant.amount.monetary, V2.Billing.ServiceActionCreateParams.credit_grant.amount.monetary, and V2.Billing.ServiceActionCreateParams.credit_grant_per_tenant.amount.monetary from amount to an object
    • Add support for future_requirements on V2.Core.Account
    • Add support for konbini_payments and script_statement_descriptor on V2.Core.Account.configuration.merchant, V2.Core.AccountCreateParams.configuration.merchant, and V2.Core.AccountUpdateParams.configuration.merchant
    • Add support for eur on V2.Core.Account.configuration.storer.capabilities.holds_currencies, V2.Core.AccountCreateParams.configuration.storer.capabilities.holds_currencies, and V2.Core.AccountUpdateParams.configuration.storer.capabilities.holds_currencies
    • Add support for requirements_collector on V2.Core.Account.defaults.responsibilities
    • Add support for new value ar_cuit on enums V2.Core.Account.identity.business_details.id_numbers[].type, V2.Core.AccountCreateParams.identity.business_details.id_numbers[].type, and V2.Core.AccountUpdateParams.identity.business_details.id_numbers[].type
    • Add support for new value ar_dni on enums V2.Core.Account.identity.individual.id_numbers[].type, V2.Core.AccountCreateParams.identity.individual.id_numbers[].type, V2.Core.AccountPerson.id_numbers[].type, V2.Core.AccountPersonCreateParams.id_numbers[].type, V2.Core.AccountPersonUpdateParams.id_numbers[].type, and V2.Core.AccountUpdateParams.identity.individual.id_numbers[].type
    • Remove support for collector on V2.Core.Account.requirements
    • Add support for new value holds_currencies.eur on enum V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability
    • Add support for new values payment_method and person on enum V2.Core.Account.requirements.entries[].reference.type
    • Remove support for value resource from enum V2.Core.Account.requirements.entries[].reference.type
    • Remove support for value future_requirements from enum V2.Core.Account.requirements.entries[].requested_reasons[].code
    • Remove support for v1_event_id on V2.Core.Event
    • Remove support for amount_details and capture_method on V2.Payments.OffSessionPaymentCreateParams and V2.Payments.OffSessionPayment
    • Change type of V2.Payments.OffSessionPayment.amount_capturable from amount to an object
    • Change type of V2.Payments.OffSessionPayment.amount_requested from amount to an object
    • Change type of V2.Payments.OffSessionPaymentCreateParams.amount from amount to an object
    • Add support for new value best_available on enum V2.Payments.OffSessionPaymentCreateParams.retry_details.retry_strategy
    • Remove support for values heuristic, scheduled, and smart from enum V2.Payments.OffSessionPaymentCreateParams.retry_details.retry_strategy
    • Change V2.Payments.OffSessionPaymentCreateParams.retry_details.retry_strategy to be optional
    • Remove support for destination on V2.Payments.OffSessionPaymentCaptureParams.transfer_data
    • Change V2.Payments.OffSessionPaymentCaptureParams.amount_to_capture to be optional
    • Add support for created on V2.Core.EventListParams
    • Remove support for gt, gte, lt, and lte on V2.Core.EventListParams
    • Add support for account_token on V2.Core.AccountCreateParams and V2.Core.AccountUpdateParams
    • Add support for new value future_requirements on enums V2.Core.AccountCreateParams.include, V2.Core.AccountRetrieveParams.include, and V2.Core.AccountUpdateParams.include
    • Add support for person_token on V2.Core.AccountPersonCreateParams and V2.Core.AccountPersonUpdateParams
    • Add support for impacted_requests_percentage on EventsV2CoreHealthApiErrorFiringEvent.impact, EventsV2CoreHealthApiErrorResolvedEvent.impact, EventsV2CoreHealthApiLatencyFiringEvent.impact, EventsV2CoreHealthApiLatencyResolvedEvent.impact, EventsV2CoreHealthPaymentMethodErrorFiringEvent.impact, and EventsV2CoreHealthPaymentMethodErrorResolvedEvent.impact
    • Add support for context and related_object on EventsV2CoreHealthEventGenerationFailureResolvedEvent.impact
    • Remove support for `...
Read more

v20.1.0-beta.1

18 Nov 19:19

Choose a tag to compare

v20.1.0-beta.1 Pre-release
Pre-release

This release changes the pinned API version to 2025-11-17.preview.

  • #2487 Update generated code for beta
    • Add support for new resources V2.Core.AccountPersonToken and V2.Core.AccountToken
    • Remove support for resource V2.Payments.OffSessionPayment
    • Add support for create and retrieve methods on resources V2.Core.AccountPersonToken and V2.Core.AccountToken
    • Remove support for cancel, capture, create, list, and retrieve methods on resource V2.Payments.OffSessionPayment
    • Add support for specified_commercial_transactions_act_url on Account.business_profile, AccountCreateParams.business_profile, and AccountUpdateParams.business_profile
    • Add support for paypay_payments on Account.settings, AccountCreateParams.settings, and AccountUpdateParams.settings
    • Change Tax.Association.tax_transaction_attempts to be required
    • Change type of Billing.Analytics.MeterUsageRetrieveParams.meters[].dimension_filters from string to array(string)
    • Change type of Billing.Analytics.MeterUsageRetrieveParams.meters[].tenant_filters from string to array(string)
    • Add support for car_rental_data, flight_data, and lodging_data on ChargeCaptureParams.payment_details, ChargeUpdateParams.payment_details, PaymentIntentCaptureParams.payment_details, PaymentIntentConfirmParams.payment_details, PaymentIntentCreateParams.payment_details, and PaymentIntentUpdateParams.payment_details
    • Add support for supplementary_purchase_data on OrderCreateParams.payment.settings.payment_method_options.klarna, OrderUpdateParams.payment.settings.payment_method_options.klarna, PaymentIntentConfirmParams.payment_method_options.klarna, PaymentIntentCreateParams.payment_method_options.klarna, and PaymentIntentUpdateParams.payment_method_options.klarna
    • Add support for allow_redisplay and customer_account on PaymentMethodListParams
    • Add support for future_requirements on V2.Core.Account
    • Add support for konbini_payments and script_statement_descriptor on V2.Core.Account.configuration.merchant, V2.Core.AccountCreateParams.configuration.merchant, and V2.Core.AccountUpdateParams.configuration.merchant
    • Add support for eur on V2.Core.Account.configuration.storer.capabilities.holds_currencies, V2.Core.AccountCreateParams.configuration.storer.capabilities.holds_currencies, and V2.Core.AccountUpdateParams.configuration.storer.capabilities.holds_currencies
    • Add support for requirements_collector on V2.Core.Account.defaults.responsibilities
    • Add support for new value ar_cuit on enums V2.Core.Account.identity.business_details.id_numbers[].type, V2.Core.AccountCreateParams.identity.business_details.id_numbers[].type, and V2.Core.AccountUpdateParams.identity.business_details.id_numbers[].type
    • Add support for new value ar_dni on enums V2.Core.Account.identity.individual.id_numbers[].type, V2.Core.AccountCreateParams.identity.individual.id_numbers[].type, V2.Core.AccountPerson.id_numbers[].type, V2.Core.AccountPersonCreateParams.id_numbers[].type, V2.Core.AccountPersonUpdateParams.id_numbers[].type, and V2.Core.AccountUpdateParams.identity.individual.id_numbers[].type
    • Remove support for collector on V2.Core.Account.requirements
    • Add support for new value holds_currencies.eur on enum V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability
    • Add support for new values payment_method and person on enum V2.Core.Account.requirements.entries[].reference.type
    • Remove support for value resource from enum V2.Core.Account.requirements.entries[].reference.type
    • Remove support for value future_requirements from enum V2.Core.Account.requirements.entries[].requested_reasons[].code
    • Add support for changes on V2.Core.Event
    • Remove support for value sepa_bank_account from enums V2.MoneyManagement.FinancialAddress.credentials.type and V2.MoneyManagement.FinancialAddressCreateParams.type
    • Add support for account_token on V2.Core.AccountCreateParams and V2.Core.AccountUpdateParams
    • Add support for new value future_requirements on enums V2.Core.AccountCreateParams.include, V2.Core.AccountRetrieveParams.include, and V2.Core.AccountUpdateParams.include
    • Add support for person_token on V2.Core.AccountPersonCreateParams and V2.Core.AccountPersonUpdateParams
    • Add support for thin event V2CoreHealthEventGenerationFailureResolvedEvent
    • Remove support for thin events V2PaymentsOffSessionPaymentAuthorizationAttemptFailedEvent, V2PaymentsOffSessionPaymentAuthorizationAttemptStartedEvent, V2PaymentsOffSessionPaymentCanceledEvent, V2PaymentsOffSessionPaymentCreatedEvent, V2PaymentsOffSessionPaymentFailedEvent, V2PaymentsOffSessionPaymentRequiresCaptureEvent, and V2PaymentsOffSessionPaymentSucceededEvent with related object V2.Payments.OffSessionPayment

See the changelog for more details.

v20.1.0-alpha.1

18 Nov 19:46

Choose a tag to compare

v20.1.0-alpha.1 Pre-release
Pre-release
  • #2505 Update generated code for private-preview
    • Add support for billing_schedules_actions on InvoiceCreatePreviewParams.schedule_details.amendments[] and SubscriptionScheduleAmendParams.amendments[]
  • #2504 Update generated code for private-preview
    • Add support for new resources BalanceTransfer and Radar.AccountEvaluation
    • Add support for create method on resource BalanceTransfer
    • Add support for create, retrieve, and update methods on resource Radar.AccountEvaluation
    • Add support for specified_commercial_transactions_act_url on Account.business_profile, AccountCreateParams.business_profile, and AccountUpdateParams.business_profile
    • Add support for paypay_payments on Account.settings, AccountCreateParams.settings, and AccountUpdateParams.settings
    • Change Tax.Association.tax_transaction_attempts to be required
    • Change type of Billing.Analytics.MeterUsageRetrieveParams.meters[].dimension_filters from string to array(string)
    • Change type of Billing.Analytics.MeterUsageRetrieveParams.meters[].tenant_filters from string to array(string)
    • Add support for payment_method_configuration on BillingPortal.Configuration.features.payment_method_update
    • Add support for car_rental_data, flight_data, and lodging_data on ChargeCaptureParams.payment_details, ChargeUpdateParams.payment_details, PaymentIntentCaptureParams.payment_details, PaymentIntentConfirmParams.payment_details, PaymentIntentCreateParams.payment_details, and PaymentIntentUpdateParams.payment_details
    • Add support for transaction_id on Charge.payment_method_details.ideal, PaymentAttemptRecord.payment_method_details.ideal, and PaymentRecord.payment_method_details.ideal
    • Add support for new value finom on enums Charge.payment_method_details.ideal.bank, ConfirmationToken.payment_method_preview.ideal.bank, ConfirmationTokenCreateParams.testHelpers.payment_method_data.ideal.bank, PaymentAttemptRecord.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, PaymentRecord.payment_method_details.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 FNOMNL22 on enums Charge.payment_method_details.ideal.bic, ConfirmationToken.payment_method_preview.ideal.bic, PaymentAttemptRecord.payment_method_details.ideal.bic, PaymentMethod.ideal.bic, PaymentRecord.payment_method_details.ideal.bic, and SetupAttempt.payment_method_details.ideal.bic
    • Add support for new value tokenized_account_number_deactivated on enums ConfirmationToken.payment_method_preview.us_bank_account.status_details.blocked.reason and PaymentMethod.us_bank_account.status_details.blocked.reason
    • Add support for created on CustomerListCustomerBalanceTransactionsParams and InvoicePaymentListParams
    • Add support for new values capital.financing_offer.accepted_other_offer, financial_connections.account.account_numbers_updated, and financial_connections.account.upcoming_account_number_expiry on enum Event.type
    • Add support for account_numbers on FinancialConnections.Account
    • Change type of FinancialConnections.Session.client_secret from string to string | null
    • Add support for fraud_risk on Issuing.AuthorizationCreateParams.testHelpers.risk_assessment
    • Add support for latest_fraud_warning on Issuing.Card
    • Add support for supplementary_purchase_data on OrderCreateParams.payment.settings.payment_method_options.klarna, OrderUpdateParams.payment.settings.payment_method_options.klarna, PaymentIntentConfirmParams.payment_method_options.klarna, PaymentIntentCreateParams.payment_method_options.klarna, and PaymentIntentUpdateParams.payment_method_options.klarna
    • Add support for capture_method on PaymentIntent.payment_method_options.card_present, PaymentIntentConfirmParams.payment_method_options.card_present, PaymentIntentCreateParams.payment_method_options.card_present, and PaymentIntentUpdateParams.payment_method_options.card_present
    • Add support for allow_redisplay and customer_account on PaymentMethodListParams
    • Add support for mb_way and twint on Refund.destination_details
    • Change type of SubscriptionScheduleUpdateParams.billing_schedules from array(billing_schedules_update_params) to emptyable(array(billing_schedules_update_params))
    • Add support for new values capital.financing_offer.accepted_other_offer, financial_connections.account.account_numbers_updated, and financial_connections.account.upcoming_account_number_expiry on enums WebhookEndpointCreateParams.enabled_events and WebhookEndpointUpdateParams.enabled_events
    • Add support for new value 2025-11-17.clover on enum WebhookEndpointCreateParams.api_version
    • Add support for snapshot events FinancialConnectionsAccountAccountNumbersUpdatedEvent and FinancialConnectionsAccountUpcomingAccountNumberExpiryEvent with resource FinancialConnections.Account

See the changelog for more details.

v20.0.0

18 Nov 18:49

Choose a tag to compare

This release changes the pinned API version to 2025-11-17.clover.

  • #2502 Update generated code
    • ⚠️ Remove support for gt, gte, lt, and lte on V2.Core.EventListParams in favor of created.
  • #2497 Update v2 array parameter serialization to use indexed format
    • Retrieve and List calls for /v2 endpoints now use indexed format (e.g., ?include[0]=foo&include[1]=bar) instead of repeated parameter format (e.g., ?include=foo&include=bar) when communicating with the Stripe API. This may break any unit tests that expect the latter behavior when setting up a mock server. Instead, they should now expect the former.
  • #2495 Update generated code
    • Add support for new resources Tax.Association and Terminal.OnboardingLink
    • Add support for find method on resource Tax.Association
    • Add support for create method on resource Terminal.OnboardingLink
    • Add support for payment_method_configuration on BillingPortal.Configuration.features.payment_method_update
    • Add support for transaction_id on Charge.payment_method_details.ideal, PaymentAttemptRecord.payment_method_details.ideal, and PaymentRecord.payment_method_details.ideal
    • Add support for new value finom on enums Charge.payment_method_details.ideal.bank, ConfirmationToken.payment_method_preview.ideal.bank, ConfirmationTokenCreateParams.testHelpers.payment_method_data.ideal.bank, PaymentAttemptRecord.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, PaymentRecord.payment_method_details.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 FNOMNL22 on enums Charge.payment_method_details.ideal.bic, ConfirmationToken.payment_method_preview.ideal.bic, PaymentAttemptRecord.payment_method_details.ideal.bic, PaymentMethod.ideal.bic, PaymentRecord.payment_method_details.ideal.bic, and SetupAttempt.payment_method_details.ideal.bic
    • Add support for new value tokenized_account_number_deactivated on enums ConfirmationToken.payment_method_preview.us_bank_account.status_details.blocked.reason and PaymentMethod.us_bank_account.status_details.blocked.reason
    • Add support for created on CustomerListCustomerBalanceTransactionsParams and InvoicePaymentListParams
    • Add support for new values financial_connections.account.account_numbers_updated and financial_connections.account.upcoming_account_number_expiry on enum Event.type
    • Add support for account_numbers on FinancialConnections.Account
    • Change type of FinancialConnections.Session.client_secret from string to string | null
    • Add support for fraud_risk on Issuing.AuthorizationCreateParams.testHelpers.risk_assessment
    • Add support for latest_fraud_warning on Issuing.Card
    • Add support for hooks on PaymentIntentCaptureParams, PaymentIntentConfirmParams, PaymentIntentCreateParams, PaymentIntentIncrementAuthorizationParams, PaymentIntentUpdateParams, and PaymentIntent
    • Add support for mb_way and twint on Refund.destination_details
    • Add support for new values financial_connections.account.account_numbers_updated and financial_connections.account.upcoming_account_number_expiry on enums WebhookEndpointCreateParams.enabled_events and WebhookEndpointUpdateParams.enabled_events
    • Add support for snapshot events FinancialConnectionsAccountAccountNumbersUpdatedEvent and FinancialConnectionsAccountUpcomingAccountNumberExpiryEvent with resource FinancialConnections.Account

See the changelog for more details.

v19.4.0-alpha.2

13 Nov 17:39

Choose a tag to compare

v19.4.0-alpha.2 Pre-release
Pre-release

This release changes the pinned API version to 2025-10-29.preview.

  • #2501 Update generated code for private-preview
    • Add support for new resource Issuing.Program
    • Add support for create, list, retrieve, and update methods on resource Issuing.Program
    • Add support for schedule on Discount
    • Add support for applicable_fees on DelegatedCheckout.RequestedSession.total_details
    • Add support for schedule_details on Invoice.parent, InvoiceItem.parent, InvoiceLineItem.parent, and QuotePreviewInvoice.parent
    • Add support for new value schedule_details on enum InvoiceItem.parent.type
    • Add support for billing_schedules on InvoiceCreatePreviewParams.schedule_details, QuotePreviewSubscriptionSchedule, SubscriptionScheduleCreateParams, SubscriptionScheduleUpdateParams, and SubscriptionSchedule
    • Add support for new value schedule_details on enums Invoice.parent.type and QuotePreviewInvoice.parent.type
    • Add support for new value schedule_details on enum InvoiceLineItem.parent.type
    • Add support for latest_invoice on QuotePreviewSubscriptionSchedule and SubscriptionSchedule
    • Add support for phase_effective_at on QuotePreviewSubscriptionSchedule.default_settings, SubscriptionSchedule.default_settings, SubscriptionScheduleCreateParams.default_settings, and SubscriptionScheduleUpdateParams.default_settings
  • #2494 Update generated code for private-preview
    • Remove support for resource V2.Tax.AutomaticRule
    • Remove support for create, deactivate, find, retrieve, and update methods on resource V2.Tax.AutomaticRule
    • Add support for self_reported_income and self_reported_monthly_housing_payment on AccountCreateParams.individual, AccountCreatePersonParams, AccountUpdateParams.individual, AccountUpdatePersonParams, Person, TokenCreateParams.account.individual, and TokenCreateParams.person
    • Add support for new values amendment_end, line_ends_at, schedule_end, and upcoming_invoice on enums InvoiceCreatePreviewParams.subscription_details.billing_schedules[].bill_until.type, Subscription.billing_schedules[].bill_until.type, SubscriptionCreateParams.billing_schedules[].bill_until.type, and SubscriptionUpdateParams.billing_schedules[].bill_until.type
    • Add support for billing_schedules and phase_effective_at on Quote.subscription_data_overrides[], Quote.subscription_data, QuoteCreateParams.subscription_data_overrides[], QuoteCreateParams.subscription_data, QuoteUpdateParams.subscription_data_overrides[], and QuoteUpdateParams.subscription_data
    • Add support for bill_from on Subscription.billing_schedules[]
    • Add support for amendment_end and line_ends_at on Subscription.billing_schedules[].bill_until

See the changelog for more details.

v19.3.1

12 Nov 19:14

Choose a tag to compare

  • #2500 Use TextEncoder instead of Buffer to ensure support in other JS environments
    • Fixes issues like #2499 and #2493 where use of Buffer.byteLength was causing errors in some runtime environments.

See the changelog for more details.

v19.4.0-alpha.1

06 Nov 21:20

Choose a tag to compare

v19.4.0-alpha.1 Pre-release
Pre-release
  • #2489 Update generated code for private-preview
    • Add support for new resources TransitBalance, V2.Reporting.ReportRun, V2.Reporting.Report
    • Add support for create and retrieve methods on resource V2.Reporting.ReportRun
    • Add support for retrieve method on resource V2.Reporting.Report
    • Add support for create and refill test helper methods on resource Capital.FinancingOffer
    • Add support for allocated_funds on Charge, PaymentIntentConfirmParams, PaymentIntentCreateParams, and PaymentIntentUpdateParams
    • Add support for thin events V2ReportingReportRunCreatedEvent, V2ReportingReportRunFailedEvent, V2ReportingReportRunSucceededEvent, and V2ReportingReportRunUpdatedEvent with related object V2.Reporting.ReportRun

See the changelog for more details.

v19.3.0

05 Nov 22:59

Choose a tag to compare

  • #2488 Update generated code
    • Add support for capture_method on PaymentIntent.payment_method_options.card_present, PaymentIntentConfirmParams.payment_method_options.card_present, PaymentIntentCreateParams.payment_method_options.card_present, and PaymentIntentUpdateParams.payment_method_options.card_present

See the changelog for more details.