Releases: stripe/stripe-node
Releases · stripe/stripe-node
v15.5.0-beta.1
- #2070 Update generated code for beta
- Add support for
payment_method_settings
onAccountSessionCreateParams.components
- Add support for
cancel_subscription_schedule
onQuoteCreateParams.lines[]
,QuoteLine
, andQuoteUpdateParams.lines[]
- Add support for
v15.4.0
- #2071 Update generated code
- Add support for
setup_future_usage
onCheckout.Session.payment_method_options.amazon_pay
,Checkout.Session.payment_method_options.revolut_pay
,PaymentIntent.payment_method_options.amazon_pay
, andPaymentIntent.payment_method_options.revolut_pay
- Change type of
Entitlements.ActiveEntitlement.feature
fromstring
toexpandable(Entitlements.Feature)
- Remove support for inadvertently released identity verification features
email
andphone
onIdentity.VerificationSessionCreateParams.options
andIdentity.VerificationSessionUpdateParams.options
- Change
Identity.VerificationSession.provided_details
,Identity.VerificationSession.verified_outputs.email
, andIdentity.VerificationSession.verified_outputs.phone
to be required - Add support for new values
amazon_pay
andrevolut_pay
on enumsInvoice.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[]
, andSubscriptionUpdateParams.payment_settings.payment_method_types[]
- Add support for
amazon_pay
andrevolut_pay
onMandate.payment_method_details
andSetupAttempt.payment_method_details
- Add support for
ending_before
,limit
, andstarting_after
onPaymentMethodConfigurationListParams
- Add support for
mobilepay
onPaymentMethodConfigurationCreateParams
,PaymentMethodConfigurationUpdateParams
, andPaymentMethodConfiguration
- Add support for
- #2061 Make cloudflare package export
v15.4.0-beta.1
- #2065 Update generated code for beta
- Add support for
capital_overview
,tax_registrations
, andtax_settings
onAccountSessionCreateParams.components
- Add support for
external_account_collection
onAccountSessionCreateParams.components.financial_account.features
- Add support for
subscription_trial_from_plan
onInvoiceUpcomingLinesParams
andInvoiceUpcomingParams
- Add support for
v15.3.0
- #2069 Update generated code
- Add support for
create_preview
method on resourceInvoice
- Add support for
payment_method_data
onCheckout.SessionCreateParams
- Add support for
saved_payment_method_options
onCheckout.SessionCreateParams
andCheckout.Session
- Add support for
mobilepay
onCheckout.Session.payment_method_options
andCheckout.SessionCreateParams.payment_method_options
- Add support for new value
mobilepay
on enumCheckout.SessionCreateParams.payment_method_types[]
- Add support for
allow_redisplay
onConfirmationTokenCreateParams.testHelpers.payment_method_data
,CustomerListPaymentMethodsParams
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_data
,PaymentMethodCreateParams
,PaymentMethodUpdateParams
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
- Add support for
schedule_details
andsubscription_details
onInvoiceUpcomingLinesParams
andInvoiceUpcomingParams
- Add support for new value
other
on enumsIssuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel.unit
,Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel.unit
, andIssuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel.unit
- Add support for
v15.2.0
- #2064 Update generated code
- Add support for new resource
Entitlements.ActiveEntitlementSummary
- Add support for
balances
andpayouts_list
onAccountSession.components
andAccountSessionCreateParams.components
- Change
AccountSession.components.payment_details.features.destination_on_behalf_of_charge_management
andAccountSession.components.payments.features.destination_on_behalf_of_charge_management
to be required - Change
Billing.MeterEventCreateParams.timestamp
andDispute.payment_method_details.card
to be optional - Change type of
Dispute.payment_method_details.card
fromDisputePaymentMethodDetailsCard | null
toDisputePaymentMethodDetailsCard
- Add support for new value
entitlements.active_entitlement_summary.updated
on enumEvent.type
- Remove support for
config
onForwarding.RequestCreateParams
andForwarding.Request
. This field is no longer used by the Forwarding Request API. - Add support for
capture_method
onPaymentIntent.payment_method_options.revolut_pay
,PaymentIntentConfirmParams.payment_method_options.revolut_pay
,PaymentIntentCreateParams.payment_method_options.revolut_pay
, andPaymentIntentUpdateParams.payment_method_options.revolut_pay
- Add support for
swish
onPaymentMethodConfigurationCreateParams
,PaymentMethodConfigurationUpdateParams
, andPaymentMethodConfiguration
- Add support for new value
entitlements.active_entitlement_summary.updated
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
- Add support for new resource
v15.2.0-beta.1
- #2058 Update generated code for beta
- Add support for
retrieve
method on resourcesEntitlements.ActiveEntitlement
andEntitlements.Feature
- Add support for
fees
,losses
,requirement_collection
, andstripe_dashboard
onAccountCreateParams.controller
- Change type of
Entitlements.Feature.metadata
frommap(string: string) | null
tomap(string: string)
- Change
FinancialConnections.Account.ownership_refresh.next_refresh_available_at
to be required - Add support for new values
bh_vat
,kz_bin
,ng_tin
, andom_vat
on enumsInvoiceCreatePreviewParams.customer_details.tax_ids[].type
,OrderCreateParams.tax_details.tax_ids[].type
, andOrderUpdateParams.tax_details.tax_ids[].type
- Add support for new values
bh_vat
,kz_bin
,ng_tin
, andom_vat
on enumOrder.tax_details.tax_ids[].type
- Add support for
hosted_voucher_url
onPaymentIntent.next_action.multibanco_display_details
- Add support for
toggles
onTerminal.Reader.action.collect_inputs.inputs[]
andTerminal.ReaderCollectInputsParams.inputs[]
- Add support for new values
email
,numeric
,phone
, andtext
on enumTerminal.ReaderCollectInputsParams.inputs[].type
- Add support for
email
,numeric
,phone
, andtext
onTerminal.Reader.action.collect_inputs.inputs[]
- Add support for
v15.1.0
- #2062 Update generated code
- Add support for
account_management
andnotification_banner
onAccountSession.components
andAccountSessionCreateParams.components
- Add support for
external_account_collection
onAccountSession.components.account_onboarding.features
andAccountSessionCreateParams.components.account_onboarding.features
- Add support for new values
billing_policy_remote_function_response_invalid
,billing_policy_remote_function_timeout
,billing_policy_remote_function_unexpected_status_code
, andbilling_policy_remote_function_unreachable
on enumsInvoice.last_finalization_error.code
,PaymentIntent.last_payment_error.code
,SetupAttempt.setup_error.code
,SetupIntent.last_setup_error.code
, andStripeError.code
- Change
Billing.MeterEventAdjustmentCreateParams.cancel.identifier
andBilling.MeterEventAdjustmentCreateParams.cancel
to be optional - Change
Billing.MeterEventAdjustmentCreateParams.type
to be required - Change type of
Billing.MeterEventAdjustment.cancel
fromBillingMeterResourceBillingMeterEventAdjustmentCancel
toBillingMeterResourceBillingMeterEventAdjustmentCancel | null
- Add support for
amazon_pay
onCharge.payment_method_details
,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
,SetupIntent.payment_method_options
,SetupIntentConfirmParams.payment_method_data
,SetupIntentConfirmParams.payment_method_options
,SetupIntentCreateParams.payment_method_data
,SetupIntentCreateParams.payment_method_options
,SetupIntentUpdateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_options
- Add support for new value
ownership
on enumsCheckout.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[]
, andSubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]
- Add support for new value
amazon_pay
on enumCheckout.SessionCreateParams.payment_method_types[]
- Add support for new values
bh_vat
,kz_bin
,ng_tin
, andom_vat
on enumsCheckout.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
, andTaxId.type
- Add support for new value
amazon_pay
on enumsConfirmationTokenCreateParams.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
, andSetupIntentUpdateParams.payment_method_data.type
- Add support for new value
amazon_pay
on enumsConfirmationToken.payment_method_preview.type
andPaymentMethod.type
- Add support for new values
bh_vat
,kz_bin
,ng_tin
, andom_vat
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
,Tax.CalculationCreateParams.customer_details.tax_ids[].type
, andTaxIdCreateParams.type
- Add support for new value
amazon_pay
on enumsCustomerListPaymentMethodsParams.type
,PaymentMethodCreateParams.type
, andPaymentMethodListParams.type
- Add support for
next_refresh_available_at
onFinancialConnections.Account.ownership_refresh
- Add support for new value
ownership
on enumsInvoice.payment_settings.payment_method_options.us_bank_account.financial_connections.permissions[]
andSubscription.payment_settings.payment_method_options.us_bank_account.financial_connections.permissions[]
- Add support for
v15.0.0
-
- This release changes the pinned API version to
2024-04-10
. Please read the API Upgrade Guide and carefully review the API changes before upgrading.
⚠️ Breaking changes- Rename event type
InvoiceitemCreatedEvent
toInvoiceItemCreatedEvent
- Rename event type
InvoiceitemDeletedEvent
toInvoiceItemDeletedEvent
- Rename
features
tomarketing_features
onProductCreateOptions
,ProductUpdateOptions
, andProduct
.
⚠️ Removal of enum values, properties and events that are no longer part of the publicly documented Stripe API- Remove
subscription_pause
from the below as the feature to pause subscription on the portal has been deprecated.BillingPortal.Configuration.Features
BillingPortal.ConfigurationCreateParams.Features
BillingPortal.ConfigurationUpdateParams.Features
- Remove the below deprecated values for the type
BalanceTransaction.Type
obligation_inbound
obligation_payout
obligation_payout_failure
'obligation_reversal_outbound'
- Remove deprecated value
various
for the typeClimate.Supplier.RemovalPathway
- Remove deprecated events
invoiceitem.updated
order.created
recipient.created
recipient.deleted
recipient.updated
sku.created
sku.deleted
sku.updated
- Remove types for the deprecated events
InvoiceItemUpdatedEvent
OrderCreatedEvent
RecipientCreatedEvent
RecipientDeletedEvent
RecipientUpdatedEvent
SKUCreatedEvent
SKUDeletedEvent
- Remove the deprecated value
include_and_require
for the typeInvoiceCreateParams.PendingInvoiceItemsBehavior
- Remove the deprecated value
service_tax
for the typesTaxRate.TaxType
,TaxRateCreateParams.TaxType
,TaxRateUpdateParams.TaxType
, andInvoiceUpdateLineItemParams.TaxAmount.TaxRateData
- Remove
request_incremental_authorization
fromPaymentIntentCreateParams.PaymentMethodOptions.CardPresent
,PaymentIntentUpdateParams.PaymentMethodOptions.CardPresent
andPaymentIntentConfirmParams.PaymentMethodOptions.CardPresent
- Remove support for
id_bank_transfer
,multibanco
,netbanking
,pay_by_bank
, andupi
onPaymentMethodConfiguration
- Remove the deprecated value
obligation
for the typeReporting.ReportRunCreateParams.Parameters.ReportingCategory
- Remove the deprecated value
challenge_only
from the typeSetupIntent.PaymentMethodOptions.Card.RequestThreeDSecure
- Remove the legacy field
rendering_options
inInvoice
,InvoiceCreateOptions
andInvoiceUpdateOptions
. Userendering
instead.
- This release changes the pinned API version to
v14.25.0
- #2059 Update generated code
- Add support for new resources
Entitlements.ActiveEntitlement
andEntitlements.Feature
- Add support for
list
andretrieve
methods on resourceActiveEntitlement
- Add support for
create
,list
,retrieve
, andupdate
methods on resourceFeature
- Add support for
controller
onAccountCreateParams
- Add support for
fees
,losses
,requirement_collection
, andstripe_dashboard
onAccount.controller
- Add support for new value
none
on enumAccount.type
- Add support for
event_name
onBilling.MeterEventAdjustmentCreateParams
andBilling.MeterEventAdjustment
- Add support for
cancel
andtype
onBilling.MeterEventAdjustment
- Add support for new resources
v14.25.0-beta.1
- #2054 Update generated code for beta
- Add support for
update
method on resourceEntitlements.Feature
- Add support for
risk_controls
onAccountCreateParams
,AccountUpdateParams
, andAccount
- Change
Discount.subscription_item
,QuoteLine.actions[].add_discount
,QuoteLine.actions[].add_item.discounts
,QuoteLine.actions[].remove_discount
,QuoteLine.actions[].set_discounts
,QuoteLine.actions[].set_items[].discounts
,Subscription.discounts
,SubscriptionItem.discounts
,SubscriptionSchedule.phases[].add_invoice_items[].discounts
,SubscriptionSchedule.phases[].discounts
, andSubscriptionSchedule.phases[].items[].discounts
to be required - Add support for
promotion_code
onInvoiceAddLinesParams.lines[].discounts[]
,InvoiceUpdateLinesParams.lines[].discounts[]
,QuoteCreateParams.line_items[].discounts[]
,QuoteCreateParams.lines[].actions[].add_discount
,QuoteCreateParams.phases[].line_items[].discounts[]
,QuoteUpdateParams.line_items[].discounts[]
,QuoteUpdateParams.lines[].actions[].add_discount
, andQuoteUpdateParams.phases[].line_items[].discounts[]
- Change type of
QuoteLine.actions[].add_item.discounts
,QuoteLine.actions[].set_items[].discounts
,SubscriptionSchedule.phases[].add_invoice_items[].discounts
,SubscriptionSchedule.phases[].discounts
, andSubscriptionSchedule.phases[].items[].discounts
fromarray(DiscountsResourceStackableDiscount) | null
toarray(DiscountsResourceStackableDiscount)
- Change type of
Subscription.discounts
andSubscriptionItem.discounts
fromarray(expandable(Discount)) | null
toarray(expandable(Discount))
- Add support for