Skip to content

Releases: stripe/stripe-node

v15.7.0-beta.1

09 May 19:45
Compare
Choose a tag to compare
v15.7.0-beta.1 Pre-release
Pre-release
  • #2079 Update generated code for beta
    • No new beta features. Merging changes from the main branch.

See the changelog for more details.

v15.6.0

09 May 19:36
Compare
Choose a tag to compare
  • #2086 Update generated code
    • Remove support for pending_invoice_items_behavior on SubscriptionCreateParams
  • #2080 Update generated code
    • Add support for update test helper method on resources Treasury.OutboundPayment and Treasury.OutboundTransfer
    • Add support for allow_redisplay on ConfirmationToken.payment_method_preview and PaymentMethod
    • Add support for new values treasury.outbound_payment.tracking_details_updated and treasury.outbound_transfer.tracking_details_updated on enum Event.type
    • Add support for preview_mode on InvoiceCreatePreviewParams, InvoiceUpcomingLinesParams, and InvoiceUpcomingParams
    • Add support for pending_invoice_items_behavior on SubscriptionCreateParams
    • Add support for tracking_details on Treasury.OutboundPayment and Treasury.OutboundTransfer
    • Add support for new values treasury.outbound_payment.tracking_details_updated and treasury.outbound_transfer.tracking_details_updated on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]
  • #2085 Remove unnecessary pointer to description in deprecation message

See the changelog for more details.

v15.6.0-beta.1

02 May 22:24
Compare
Choose a tag to compare
v15.6.0-beta.1 Pre-release
Pre-release
  • #2073 Update generated code for beta
    • Add support for rechnung_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
    • Add support for rechnung 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, PaymentMethodUpdateParams, PaymentMethod, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
    • Add support for multibanco on Checkout.Session.payment_method_options and Checkout.SessionCreateParams.payment_method_options
    • Add support for new value multibanco on enum Checkout.SessionCreateParams.payment_method_types[]
    • Add support for new value rechnung 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 value rechnung on enums ConfirmationToken.payment_method_preview.type and PaymentMethod.type
    • Add support for new value rechnung on enums CustomerListPaymentMethodsParams.type, PaymentMethodCreateParams.type, and PaymentMethodListParams.type
    • Change GiftCards.Card.code and GiftCards.Card.transactions to be optional
    • Change Tax.Calculation.ship_from_details and Tax.Transaction.ship_from_details to be required

See the changelog for more details.

v15.5.0

02 May 20:57
Compare
Choose a tag to compare
  • #2072 Update generated code
    • 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
    • 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, and Treasury.TransactionEntry.flow_details to be optional
    • Add support for paypal on Dispute.payment_method_details
    • Change type of Dispute.payment_method_details.type from literal('card') to enum('card'|'paypal')
    • Change type of Entitlements.FeatureUpdateParams.metadata from map(string: string) to emptyable(map(string: string))
    • Add support for payment_method_types on PaymentIntentConfirmParams
    • Add support for ship_from_details on Tax.CalculationCreateParams, Tax.Calculation, and Tax.Transaction
    • Add support for bh, eg, ge, ke, kz, ng, and om on Tax.Registration.country_options and Tax.RegistrationCreateParams.country_options
  • #2077 Deprecate Node methods and params based on OpenAPI spec
    • Mark as deprecated the approve and decline methods on Issuing.Authorization. Instead, respond directly to the webhook request to approve an authorization.
    • Mark as deprecated the persistent_token property on ConfirmationToken.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.
  • #2074 Add a more explicit comment on limit param in autoPagingToArray

See the changelog for more details.

v15.5.0-beta.1

25 Apr 20:48
Compare
Choose a tag to compare
v15.5.0-beta.1 Pre-release
Pre-release
  • #2070 Update generated code for beta
    • Add support for payment_method_settings on AccountSessionCreateParams.components
    • Add support for cancel_subscription_schedule on QuoteCreateParams.lines[], QuoteLine, and QuoteUpdateParams.lines[]

See the changelog for more details.

v15.4.0

25 Apr 20:37
Compare
Choose a tag to compare
  • #2071 Update generated code
    • Add support for setup_future_usage on Checkout.Session.payment_method_options.amazon_pay, Checkout.Session.payment_method_options.revolut_pay, PaymentIntent.payment_method_options.amazon_pay, and PaymentIntent.payment_method_options.revolut_pay
    • Change type of Entitlements.ActiveEntitlement.feature from string to expandable(Entitlements.Feature)
    • Remove support for inadvertently released identity verification features email and phone on Identity.VerificationSessionCreateParams.options and Identity.VerificationSessionUpdateParams.options
    • Change Identity.VerificationSession.provided_details, Identity.VerificationSession.verified_outputs.email, and Identity.VerificationSession.verified_outputs.phone to be required
    • Add support for new values amazon_pay and revolut_pay 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[]
    • Add support for amazon_pay and revolut_pay on Mandate.payment_method_details and SetupAttempt.payment_method_details
    • Add support for ending_before, limit, and starting_after on PaymentMethodConfigurationListParams
    • Add support for mobilepay on PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, and PaymentMethodConfiguration
  • #2061 Make cloudflare package export

See the changelog for more details.

v15.4.0-beta.1

18 Apr 21:43
Compare
Choose a tag to compare
v15.4.0-beta.1 Pre-release
Pre-release
  • #2065 Update generated code for beta
    • Add support for capital_overview, tax_registrations, and tax_settings on AccountSessionCreateParams.components
    • Add support for external_account_collection on AccountSessionCreateParams.components.financial_account.features
    • Add support for subscription_trial_from_plan on InvoiceUpcomingLinesParams and InvoiceUpcomingParams

See the changelog for more details.

v15.3.0

18 Apr 21:24
Compare
Choose a tag to compare
  • #2069 Update generated code
    • Add support for create_preview method on resource Invoice
    • Add support for payment_method_data on Checkout.SessionCreateParams
    • Add support for saved_payment_method_options on Checkout.SessionCreateParams and Checkout.Session
    • Add support for mobilepay on Checkout.Session.payment_method_options and Checkout.SessionCreateParams.payment_method_options
    • Add support for new value mobilepay on enum Checkout.SessionCreateParams.payment_method_types[]
    • Add support for allow_redisplay on ConfirmationTokenCreateParams.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, and SetupIntentUpdateParams.payment_method_data
    • Add support for schedule_details and subscription_details on InvoiceUpcomingLinesParams and InvoiceUpcomingParams
    • Add support for new value other on enums Issuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel.unit, Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel.unit, and Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel.unit

See the changelog for more details.

v15.2.0

16 Apr 15:57
Compare
Choose a tag to compare
  • #2064 Update generated code
    • Add support for new resource Entitlements.ActiveEntitlementSummary
    • Add support for balances and payouts_list on AccountSession.components and AccountSessionCreateParams.components
    • Change AccountSession.components.payment_details.features.destination_on_behalf_of_charge_management and AccountSession.components.payments.features.destination_on_behalf_of_charge_management to be required
    • Change Billing.MeterEventCreateParams.timestamp and Dispute.payment_method_details.card to be optional
    • Change type of Dispute.payment_method_details.card from DisputePaymentMethodDetailsCard | null to DisputePaymentMethodDetailsCard
    • Add support for new value entitlements.active_entitlement_summary.updated on enum Event.type
    • Remove support for config on Forwarding.RequestCreateParams and Forwarding.Request. This field is no longer used by the Forwarding Request API.
    • Add support for capture_method on PaymentIntent.payment_method_options.revolut_pay, PaymentIntentConfirmParams.payment_method_options.revolut_pay, PaymentIntentCreateParams.payment_method_options.revolut_pay, and PaymentIntentUpdateParams.payment_method_options.revolut_pay
    • Add support for swish on PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, and PaymentMethodConfiguration
    • Add support for new value entitlements.active_entitlement_summary.updated on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]

See the changelog for more details.

v15.2.0-beta.1

12 Apr 05:05
Compare
Choose a tag to compare
v15.2.0-beta.1 Pre-release
Pre-release
  • #2058 Update generated code for beta
    • Add support for retrieve method on resources Entitlements.ActiveEntitlement and Entitlements.Feature
    • Add support for fees, losses, requirement_collection, and stripe_dashboard on AccountCreateParams.controller
    • Change type of Entitlements.Feature.metadata from map(string: string) | null to map(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, and om_vat on enums InvoiceCreatePreviewParams.customer_details.tax_ids[].type, OrderCreateParams.tax_details.tax_ids[].type, and OrderUpdateParams.tax_details.tax_ids[].type
    • Add support for new values bh_vat, kz_bin, ng_tin, and om_vat on enum Order.tax_details.tax_ids[].type
    • Add support for hosted_voucher_url on PaymentIntent.next_action.multibanco_display_details
    • Add support for toggles on Terminal.Reader.action.collect_inputs.inputs[] and Terminal.ReaderCollectInputsParams.inputs[]
    • Add support for new values email, numeric, phone, and text on enum Terminal.ReaderCollectInputsParams.inputs[].type
    • Add support for email, numeric, phone, and text on Terminal.Reader.action.collect_inputs.inputs[]

See the changelog for more details.