Releases: stripe/stripe-node
Releases · stripe/stripe-node
v15.7.0-beta.1
- #2079 Update generated code for beta
- No new beta features. Merging changes from the main branch.
v15.6.0
- #2086 Update generated code
- Remove support for
pending_invoice_items_behavior
onSubscriptionCreateParams
- Remove support for
- #2080 Update generated code
- Add support for
update
test helper method on resourcesTreasury.OutboundPayment
andTreasury.OutboundTransfer
- Add support for
allow_redisplay
onConfirmationToken.payment_method_preview
andPaymentMethod
- Add support for new values
treasury.outbound_payment.tracking_details_updated
andtreasury.outbound_transfer.tracking_details_updated
on enumEvent.type
- Add support for
preview_mode
onInvoiceCreatePreviewParams
,InvoiceUpcomingLinesParams
, andInvoiceUpcomingParams
- Add support for
pending_invoice_items_behavior
onSubscriptionCreateParams
- Add support for
tracking_details
onTreasury.OutboundPayment
andTreasury.OutboundTransfer
- Add support for new values
treasury.outbound_payment.tracking_details_updated
andtreasury.outbound_transfer.tracking_details_updated
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
- Add support for
- #2085 Remove unnecessary pointer to description in deprecation message
v15.6.0-beta.1
- #2073 Update generated code for beta
- Add support for
rechnung_payments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
- Add support for
rechnung
onCharge.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
,PaymentMethodUpdateParams
,PaymentMethod
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
- Add support for
multibanco
onCheckout.Session.payment_method_options
andCheckout.SessionCreateParams.payment_method_options
- Add support for new value
multibanco
on enumCheckout.SessionCreateParams.payment_method_types[]
- Add support for new value
rechnung
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
rechnung
on enumsConfirmationToken.payment_method_preview.type
andPaymentMethod.type
- Add support for new value
rechnung
on enumsCustomerListPaymentMethodsParams.type
,PaymentMethodCreateParams.type
, andPaymentMethodListParams.type
- Change
GiftCards.Card.code
andGiftCards.Card.transactions
to be optional - Change
Tax.Calculation.ship_from_details
andTax.Transaction.ship_from_details
to be required
- Add support for
v15.5.0
- #2072 Update generated code
- Add support for new value
shipping_address_invalid
on enumsInvoice.last_finalization_error.code
,PaymentIntent.last_payment_error.code
,SetupAttempt.setup_error.code
,SetupIntent.last_setup_error.code
, andStripeError.code
- Fix properties incorrectly marked as required in the OpenAPI spec.
- Change
Apps.Secret.payload
,BillingPortal.Configuration.features.subscription_update.products
,Charge.refunds
,ConfirmationToken.payment_method_preview.klarna.dob
,Identity.VerificationReport.document.dob
,Identity.VerificationReport.document.expiration_date
,Identity.VerificationReport.document.number
,Identity.VerificationReport.id_number.dob
,Identity.VerificationReport.id_number.id_number
,Identity.VerificationSession.provided_details
,Identity.VerificationSession.verified_outputs.dob
,Identity.VerificationSession.verified_outputs.id_number
,Identity.VerificationSession.verified_outputs
,Issuing.Dispute.balance_transactions
,Issuing.Transaction.purchase_details
,PaymentMethod.klarna.dob
,Tax.Calculation.line_items
,Tax.CalculationLineItem.tax_breakdown
,Tax.Transaction.line_items
,Treasury.FinancialAccount.financial_addresses[].aba.account_number
,Treasury.ReceivedCredit.linked_flows.source_flow_details
,Treasury.Transaction.entries
,Treasury.Transaction.flow_details
, andTreasury.TransactionEntry.flow_details
to be optional
- Change
- Add support for
paypal
onDispute.payment_method_details
- Change type of
Dispute.payment_method_details.type
fromliteral('card')
toenum('card'|'paypal')
- Change type of
Entitlements.FeatureUpdateParams.metadata
frommap(string: string)
toemptyable(map(string: string))
- Add support for
payment_method_types
onPaymentIntentConfirmParams
- Add support for
ship_from_details
onTax.CalculationCreateParams
,Tax.Calculation
, andTax.Transaction
- Add support for
bh
,eg
,ge
,ke
,kz
,ng
, andom
onTax.Registration.country_options
andTax.RegistrationCreateParams.country_options
- Add support for new value
- #2077 Deprecate Node methods and params based on OpenAPI spec
- Mark as deprecated the
approve
anddecline
methods onIssuing.Authorization
. Instead, respond directly to the webhook request to approve an authorization. - Mark as deprecated the
persistent_token
property onConfirmationToken.PaymentMethodPreview.Link
,PaymentIntent.PaymentMethodOptions.Link
,PaymentIntentResource.PaymentMethodOptions.Link
,PaymentMethod.Link.persistent_token
.SetupIntents.PaymentMethodOptions.Card.Link.persistent_token
,SetupIntentsResource.persistent_token
. This is a legacy parameter that no longer has any function.
- Mark as deprecated the
- #2074 Add a more explicit comment on
limit
param inautoPagingToArray
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