Skip to content

Releases: stripe/stripe-node

v20.4.0-alpha.4

19 Feb 17:23

Choose a tag to compare

v20.4.0-alpha.4 Pre-release
Pre-release
  • #2574 Update generated code for private-preview
    • ⚠️ Add support for new value spend_threshold on enums Billing.Alert.alert_type, Billing.AlertCreateParams.alert_type, and Billing.AlertListParams.alert_type
    • Add support for spend_threshold on Billing.AlertCreateParams and Billing.Alert
    • Add support for invoice_item, proration_details, proration, and subscription on InvoiceLineItem.parent.schedule_details
    • Add support for custom on PaymentMethodUpdateParams
    • Add support for payment_method_reference and usage on PaymentMethod.custom
    • Add support for outstanding_usage_through and unused_time_from on SubscriptionPauseParams.bill_for
    • ⚠️ Remove support for outstanding_usage and unused_time on SubscriptionPauseParams.bill_for
    • ⚠️ Remove support for payment_behavior on SubscriptionResumeParams

See the changelog for more details.

v20.4.0-alpha.3

11 Feb 19:40

Choose a tag to compare

v20.4.0-alpha.3 Pre-release
Pre-release
  • #2572 Update generated code for private-preview
    • Add support for new resources V2.Billing.CadenceSpendModifier, V2.Billing.OneTimeItem, and V2.Billing.RateCardCustomPricingUnitOverageRate
    • Add support for create, del, list, and retrieve methods on resource V2.Billing.RateCardCustomPricingUnitOverageRate
    • Add support for create, list, retrieve, and update methods on resource V2.Billing.OneTimeItem
    • Add support for retrieve method on resource V2.Billing.CadenceSpendModifier
    • Change EventsV2CoreHealthFraudRateIncreasedEvent.impact.realized_fraud_amount.value, EventsV2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent.impact.approved_amount.value, EventsV2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent.impact.declined_amount.value, EventsV2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent.impact.approved_amount.value, EventsV2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent.impact.declined_amount.value, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent.impact.approved_amount.value, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent.impact.declined_amount.value, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent.impact.approved_amount.value, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent.impact.declined_amount.value, V2.Billing.ServiceAction.credit_grant.amount.monetary.value, V2.Billing.ServiceAction.credit_grant_per_tenant.amount.monetary.value, V2.Billing.ServiceActionCreateParams.credit_grant.amount.monetary.value, V2.Billing.ServiceActionCreateParams.credit_grant_per_tenant.amount.monetary.value, V2.Core.Account.identity.business_details.annual_revenue.amount.value, V2.Core.Account.identity.business_details.monthly_estimated_revenue.amount.value, V2.Core.AccountCreateParams.identity.business_details.annual_revenue.amount.value, V2.Core.AccountCreateParams.identity.business_details.monthly_estimated_revenue.amount.value, V2.Core.AccountTokenCreateParams.identity.business_details.annual_revenue.amount.value, V2.Core.AccountTokenCreateParams.identity.business_details.monthly_estimated_revenue.amount.value, V2.Core.AccountUpdateParams.identity.business_details.annual_revenue.amount.value, V2.Core.AccountUpdateParams.identity.business_details.monthly_estimated_revenue.amount.value, V2.FinancialAddressCreditSimulationCreditParams.amount.value, V2.FinancialAddressGeneratedMicrodeposits.amounts[].value, V2.MoneyManagement.Adjustment.amount.value, V2.MoneyManagement.CurrencyConversion.from.amount.value, V2.MoneyManagement.CurrencyConversion.to.amount.value, V2.MoneyManagement.CurrencyConversionCreateParams.from.amount.value, V2.MoneyManagement.CurrencyConversionCreateParams.to.amount.value, V2.MoneyManagement.FinancialAccount.balance.available.value.value, V2.MoneyManagement.FinancialAccount.balance.inbound_pending.value.value, V2.MoneyManagement.FinancialAccount.balance.outbound_pending.value.value, V2.MoneyManagement.FinancialAccount.payments.starting_balance.available.value.value, V2.MoneyManagement.InboundTransfer.amount.value, V2.MoneyManagement.InboundTransfer.from.debited.value, V2.MoneyManagement.InboundTransfer.to.credited.value, V2.MoneyManagement.InboundTransferCreateParams.amount.value, V2.MoneyManagement.OutboundPayment.amount.value, V2.MoneyManagement.OutboundPayment.from.debited.value, V2.MoneyManagement.OutboundPayment.to.credited.value, V2.MoneyManagement.OutboundPaymentCreateParams.amount.value, V2.MoneyManagement.OutboundPaymentQuote.amount.value, V2.MoneyManagement.OutboundPaymentQuote.estimated_fees[].amount.value, V2.MoneyManagement.OutboundPaymentQuote.from.debited.value, V2.MoneyManagement.OutboundPaymentQuote.to.credited.value, V2.MoneyManagement.OutboundPaymentQuoteCreateParams.amount.value, V2.MoneyManagement.OutboundTransfer.amount.value, V2.MoneyManagement.OutboundTransfer.from.debited.value, V2.MoneyManagement.OutboundTransfer.to.credited.value, V2.MoneyManagement.OutboundTransferCreateParams.amount.value, V2.MoneyManagement.ReceivedCredit.amount.value, V2.MoneyManagement.ReceivedCredit.external_amount.value, V2.MoneyManagement.ReceivedDebit.amount.value, V2.MoneyManagement.ReceivedDebit.card_spend.authorization.amount.value, V2.MoneyManagement.ReceivedDebit.card_spend.card_transactions[].amount.value, V2.MoneyManagement.ReceivedDebit.external_amount.value, V2.MoneyManagement.Transaction.amount.value, V2.MoneyManagement.Transaction.balance_impact.available.value, V2.MoneyManagement.Transaction.balance_impact.inbound_pending.value, V2.MoneyManagement.Transaction.balance_impact.outbound_pending.value, V2.MoneyManagement.TransactionEntry.balance_impact.available.value, V2.MoneyManagement.TransactionEntry.balance_impact.inbound_pending.value, V2.MoneyManagement.TransactionEntry.balance_impact.outbound_pending.value, V2.Payments.OffSessionPayment.amount_capturable.value, V2.Payments.OffSessionPayment.amount_requested.value, V2.Payments.OffSessionPaymentCreateParams.amount.value, V2.Payments.SettlementAllocationIntent.amount.value, V2.Payments.SettlementAllocationIntentCreateParams.amount.value, V2.Payments.SettlementAllocationIntentSplit.amount.value, V2.Payments.SettlementAllocationIntentSplitCreateParams.amount.value, and V2.Payments.SettlementAllocationIntentUpdateParams.amount.value to be required
    • Change EventsV2CoreHealthFraudRateIncreasedEvent.impact.realized_fraud_amount.currency, EventsV2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent.impact.approved_amount.currency, EventsV2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent.impact.declined_amount.currency, EventsV2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent.impact.approved_amount.currency, EventsV2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent.impact.declined_amount.currency, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent.impact.approved_amount.currency, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent.impact.declined_amount.currency, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent.impact.approved_amount.currency, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent.impact.declined_amount.currency, V2.Billing.ServiceAction.credit_grant.amount.monetary.currency, V2.Billing.ServiceAction.credit_grant_per_tenant.amount.monetary.currency, V2.Billing.ServiceActionCreateParams.credit_grant.amount.monetary.currency, V2.Billing.ServiceActionCreateParams.credit_grant_per_tenant.amount.monetary.currency, V2.Core.Account.identity.business_details.annual_revenue.amount.currency, V2.Core.Account.identity.business_details.monthly_estimated_revenue.amount.currency, V2.Core.AccountCreateParams.identity.business_details.annual_revenue.amount.currency, V2.Core.AccountCreateParams.identity.business_details.monthly_estimated_revenue.amount.currency, V2.Core.AccountTokenCreateParams.identity.business_details.annual_revenue.amount.currency, V2.Core.AccountTokenCreateParams.identity.business_details.monthly_estimated_revenue.amount.currency, V2.Core.AccountUpdateParams.identity.business_details.annual_revenue.amount.currency, V2.Core.AccountUpdateParams.identity.business_details.monthly_estimated_revenue.amount.currency, V2.FinancialAddressCreditSimulationCreditParams.amount.currency, V2.FinancialAddressGeneratedMicrodeposits.amounts[].currency, V2.MoneyManagement.Adjustment.amount.currency, V2.MoneyManagement.CurrencyConversion.from.amount.currency, V2.MoneyManagement.CurrencyConversion.to.amount.currency, V2.MoneyManagement.CurrencyConversionCreateParams.from.amount.currency, V2.MoneyManagement.CurrencyConversionCreateParams.to.amount.currency, V2.MoneyManagement.FinancialAccount.balance.available.value.currency, V2.MoneyManagement.FinancialAccount.balance.inbound_pending.value.currency, V2.MoneyManagement.FinancialAccount.balance.outbound_pending.value.currency, V2.MoneyManagement.FinancialAccount.payments.starting_balance.available.value.currency, V2.MoneyManagement.InboundTransfer.amount.currency, V2.MoneyManagement.InboundTransfer.from.debited.currency, V2.MoneyManagement.InboundTransfer.to.credited.currency, V2.MoneyManagement.InboundTransferCreateParams.amount.currency, V2.MoneyManagement.OutboundPayment.amount.currency, V2.MoneyManagement.OutboundPayment.from.debited.currency, V2.MoneyManagement.OutboundPayment.to.credited.currency, V2.MoneyManagement.OutboundPaymentCreateParams.amount.currency, V2.MoneyManagement.OutboundPaymentQuote.amount.currency, V2.MoneyManagement.OutboundPaymentQuote.estimated_fees[].amount.currency, V2.MoneyManagement.OutboundPaymentQuote.from.debited.currency, V2.MoneyManagement.OutboundPaymentQuote.to.credited.currency, V2.MoneyManagement.OutboundPaymentQuoteCreateParams.amount.currency, V2.MoneyManagement.OutboundTransfer.amount.currency, V2.MoneyManagement.OutboundTransfer.from.debited.currency, V2.MoneyManagement.OutboundTransfer.to.credited.currency, V2.MoneyManagement.OutboundTransferCreateParams.amount.currency, V2.MoneyManagement.ReceivedCredit.amount.currency, V2.MoneyManagement.ReceivedCredit.external_amount.currency, V2.MoneyManagement.ReceivedDebit.amount.currency, V2.MoneyManagement.ReceivedDebit.card_spend.authorization.amount.currency, V2.MoneyManagement.ReceivedDebit.card_spend.card_transactions[].amount.currency, V2.MoneyManagement.ReceivedDebit.external_amount.currency, V2.MoneyManagement.Transaction.amount.currency, V2.MoneyManagement.Transaction.balance_impact.available.currency, V2.MoneyManagement.Transaction.balance_impact.inbound_pending.currency, V2.MoneyManagement.Transaction.balance_impact.outbound_pending.currency, `V2.MoneyManagement.TransactionEntry.balance_...
Read more

v20.4.0-beta.2

05 Feb 17:58

Choose a tag to compare

v20.4.0-beta.2 Pre-release
Pre-release
  • #2571 Fix UnhandledPromiseRejection error on failed V2 List operations
    • Fixes a bug where any error returned from the Stripe API on a V2 List call (e.g. a 4xx or 5xx) would crash Node due to an UnhandledPromiseRejection

See the changelog for more details.

v20.3.1

05 Feb 17:49

Choose a tag to compare

  • #2571 Fix UnhandledPromiseRejection error on failed V2 List operations
    • Fixes a bug where any error returned from the Stripe API on a V2 List call (e.g. a 4xx or 5xx) would crash Node due to an UnhandledPromiseRejection

See the changelog for more details.

v20.4.0-alpha.2

04 Feb 17:24

Choose a tag to compare

v20.4.0-alpha.2 Pre-release
Pre-release
  • #2567 Update generated code for private-preview
    • Add support for new resource V2.Core.ConnectionSession
    • Add support for create and retrieve methods on resource V2.Core.ConnectionSession
    • Add support for list method on resources V2.Payments.SettlementAllocationIntentSplit and V2.Payments.SettlementAllocationIntent
    • Add support for agentic_commerce_settings on AccountSessionCreateParams.components
    • Add support for terminal_hardware_orders and terminal_hardware_shop on AccountSession.components and AccountSessionCreateParams.components
    • Add support for network_cost_passthrough_report on AccountSession.components
    • Add support for new values ae_bank_account, ag_bank_account, bh_bank_account, gm_bank_account, hk_bank_account, kh_bank_account, lc_bank_account, mc_bank_account, mg_bank_account, my_bank_account, qa_bank_account, rw_bank_account, th_bank_account, tt_bank_account, and vn_bank_account on enums V2.Account.configuration.recipient_data.default_outbound_destination.type and V2.Core.Account.configuration.recipient.default_outbound_destination.type
    • Add support for cadence_data on V2.Billing.IntentCreateParams and V2.Billing.Intent
    • Add support for cancellation_details on V2.Billing.IntentAction.deactivate, V2.Billing.IntentCreateParams.actions[].deactivate, and V2.Billing.PricingPlanSubscription
    • Add support for contact_phone on V2.Core.AccountCreateParams, V2.Core.AccountTokenCreateParams, V2.Core.AccountUpdateParams, and V2.Core.Account
    • Add support for registration_date on V2.Core.Account.identity.business_details, V2.Core.AccountCreateParams.identity.business_details, V2.Core.AccountTokenCreateParams.identity.business_details, and V2.Core.AccountUpdateParams.identity.business_details
    • Add support for new value gb_vat on enums V2.Core.Account.identity.business_details.id_numbers[].type, V2.Core.AccountCreateParams.identity.business_details.id_numbers[].type, V2.Core.AccountTokenCreateParams.identity.business_details.id_numbers[].type, and V2.Core.AccountUpdateParams.identity.business_details.id_numbers[].type
    • Add support for reference on V2.MoneyManagement.Adjustment
    • Add support for accrued_fees on V2.MoneyManagement.FinancialAccount
    • Add support for starting_balance on V2.MoneyManagement.FinancialAccount.payments
    • Add support for new value accrued_fees on enum V2.MoneyManagement.FinancialAccount.type
    • Add support for account_holder_address and account_holder_name on V2.MoneyManagement.FinancialAddress.credentials.us_bank_account
    • Add support for fingerprint on V2.MoneyManagement.PayoutMethod.card
    • Add support for card_spend on V2.MoneyManagement.ReceivedCredit and V2.MoneyManagement.ReceivedDebit
    • Add support for new value card_spend on enum V2.MoneyManagement.ReceivedCredit.type
    • Add support for new value card_spend on enum V2.MoneyManagement.ReceivedDebit.type
    • Add support for new values advance, anticipation_repayment, balance_transfer, charge_failure, charge, climate_order_purchase, climate_order_refund, connect_collection_transfer, connect_reserved_funds, contribution, dispute_reversal, financing_paydown_reversal, financing_paydown, inbound_transfer_reversal, issuing_dispute_fraud_liability_debit, issuing_dispute_provisional_credit_reversal, issuing_dispute_provisional_credit, issuing_dispute, minimum_balance_hold, network_cost, obligation, outbound_payment_reversal, outbound_transfer_reversal, partial_capture_reversal, payment_network_reserved_funds, platform_earning_refund, platform_earning, platform_fee, received_credit_reversal, received_debit_reversal, refund_failure, risk_reserved_funds, stripe_balance_payment_debit_reversal, stripe_balance_payment_debit, stripe_fee_tax, transfer_reversal, and unreconciled_customer_funds on enums V2.MoneyManagement.Transaction.category and V2.MoneyManagement.TransactionEntry.transaction_details.category
    • Add support for application_fee_refund, application_fee, charge, dispute, payout, refund, reserve_hold, reserve_release, topup, transfer_reversal, and transfer on V2.MoneyManagement.Transaction.flow and V2.MoneyManagement.TransactionEntry.transaction_details.flow
    • Add support for new values application_fee_refund, application_fee, charge, dispute, payout, refund, reserve_hold, reserve_release, topup, transfer_reversal, and transfer on enums V2.MoneyManagement.Transaction.flow.type and V2.MoneyManagement.TransactionEntry.transaction_details.flow.type
    • Change V2.Payments.SettlementAllocationIntentSplit.flow to be optional
    • Add support for new value accrued_fees on enum V2.MoneyManagement.FinancialAccountListParams.types
    • Change V2.Billing.RateCardRateCreateParams.metered_item to be required
    • Add support for error codes blocked_payout_method and unsupported_payout_method on BlockedByStripeError
    • Add support for error code invalid_payout_method_data on InvalidPayoutMethodError
    • Add support for error code limit_payout_method on QuotaExceededError

See the changelog for more details.

v20.4.0-beta.1

28 Jan 21:18

Choose a tag to compare

v20.4.0-beta.1 Pre-release
Pre-release

This release changes the pinned API version to 2026-01-28.preview.

  • #2552 Update generated code for beta
    • Add support for new resource FinancialConnections.Authorization
    • Add support for retrieve method on resource FinancialConnections.Authorization
    • Add support for detach_payment method on resource Invoice
    • Remove support for cancel, list_line_items, and reopen methods on resource Order
    • Remove support for attach_cadence method on resource Subscription
    • Add support for additional_files and site on Account.settings.paypay_payments, AccountCreateParams.settings.paypay_payments, and AccountUpdateParams.settings.paypay_payments
    • Remove support for capital on Account.settings
    • Change type of Charge.payment_method_details.stripe_balance.source_type, ConfirmationToken.payment_method_preview.stripe_balance.source_type, PaymentAttemptRecord.payment_method_details.stripe_balance.source_type, PaymentMethod.stripe_balance.source_type, and PaymentRecord.payment_method_details.stripe_balance.source_type from enum('bank_account'|'card'|'fpx') to enum('bank_account'|'card'|'fpx') | null
    • Add support for new value pl_nip on enums Checkout.Session.collected_information.tax_ids[].type, Order.tax_details.tax_ids[].type, and QuotePreviewInvoice.customer_tax_ids[].type
    • Add support for new value capital.financing_summary.line_of_credit_update on enum Event.type
    • Add support for authorization and status_details on FinancialConnections.Account
    • Add support for relink_options on FinancialConnections.SessionCreateParams and FinancialConnections.Session
    • Change FinancialConnections.SessionCreateParams.account_holder to be optional
    • Add support for relink_result on FinancialConnections.Session
    • Remove support for billing_cadence on InvoiceCreatePreviewParams, SubscriptionCreateParams, SubscriptionUpdateParams, and Subscription
    • Remove support for billing_cadence_details on Invoice.parent and QuotePreviewInvoice.parent
    • Remove support for value billing_cadence_details from enums Invoice.parent.type and QuotePreviewInvoice.parent.type
    • Add support for new value pl_nip on enums OrderCreateParams.tax_details.tax_ids[].type and OrderUpdateParams.tax_details.tax_ids[].type
    • Add support for car_rental_data, flight_data, and lodging_data on PaymentIntent.payment_details
    • Change QuotePreviewInvoice.payment_settings.payment_method_options.payto to be required
    • Add support for new value capital.financing_summary.line_of_credit_update on enums WebhookEndpointCreateParams.enabled_events and WebhookEndpointUpdateParams.enabled_events
    • Add support for new values ae_bank_account, ag_bank_account, bh_bank_account, gm_bank_account, hk_bank_account, kh_bank_account, lc_bank_account, mc_bank_account, mg_bank_account, my_bank_account, qa_bank_account, rw_bank_account, th_bank_account, tt_bank_account, and vn_bank_account on enum V2.Core.Account.configuration.recipient.default_outbound_destination.type
    • Add support for alternative_reference on V2.Core.Vault.GbBankAccount, V2.Core.Vault.UsBankAccount, and V2.MoneyManagement.PayoutMethod
    • Add support for account_holder_address and account_holder_name on V2.MoneyManagement.FinancialAddress.credentials.us_bank_account
    • Add support for fingerprint on V2.MoneyManagement.PayoutMethod.card
    • Add support for snapshot event InvoicePaymentDetachedEvent with resource InvoicePayment
    • Add support for error code request_blocked on QuotePreviewInvoice.last_finalization_error
    • Add support for error codes blocked_payout_method and unsupported_payout_method on BlockedByStripeError
    • Add support for error code invalid_payout_method_data on InvalidPayoutMethodError
    • Add support for error code limit_payout_method on QuotaExceededError

See the changelog for more details.

v20.4.0-alpha.1

28 Jan 21:23

Choose a tag to compare

v20.4.0-alpha.1 Pre-release
Pre-release

This release changes the pinned API version to 2026-01-28.preview.

  • #2565 Update generated code for private-preview
    • Add support for new resources FrMealVouchersOnboarding, Reserve.Hold, Reserve.Plan, and Reserve.Release
    • Add support for create, list, retrieve, and update methods on resource FrMealVouchersOnboarding
    • Add support for list and retrieve methods on resources Reserve.Hold and Reserve.Release
    • Add support for retrieve method on resource Reserve.Plan
    • Add support for pause method on resource Subscription
    • Add support for service_period_details on Discount
    • Add support for agentic_commerce_settings on AccountSession.components
    • Add support for new value risk_reserved on enum BalanceTransaction.balance_type
    • Add support for new value service_period on enums Checkout.SessionCreateParams.discounts[].coupon_data.duration, Checkout.SessionUpdateParams.discounts[].coupon_data.duration, Coupon.duration, and CouponCreateParams.duration
    • Add support for service_period on CouponCreateParams and Coupon
    • Change type of InvoiceItem.pricing.price_details.price and InvoiceLineItem.pricing.price_details.price from string to expandable(Price)
    • Add support for settings on InvoiceCreatePreviewParams.discounts[], InvoiceCreatePreviewParams.schedule_details.amendments[].discount_actions[].add, InvoiceCreatePreviewParams.schedule_details.amendments[].discount_actions[].set, InvoiceCreatePreviewParams.schedule_details.amendments[].item_actions[].add.discounts[], InvoiceCreatePreviewParams.schedule_details.amendments[].item_actions[].set.discounts[], InvoiceCreatePreviewParams.schedule_details.phases[].discounts[], InvoiceCreatePreviewParams.schedule_details.phases[].items[].discounts[], InvoiceCreatePreviewParams.subscription_details.items[].discounts[], QuoteCreateParams.lines[].actions[].add_discount, QuoteCreateParams.lines[].actions[].add_item.discounts[], QuoteCreateParams.lines[].actions[].set_discounts[], QuoteCreateParams.lines[].actions[].set_items[].discounts[], QuoteUpdateParams.lines[].actions[].add_discount, QuoteUpdateParams.lines[].actions[].add_item.discounts[], QuoteUpdateParams.lines[].actions[].set_discounts[], QuoteUpdateParams.lines[].actions[].set_items[].discounts[], SubscriptionCreateParams.discounts[], SubscriptionCreateParams.items[].discounts[], SubscriptionItemCreateParams.discounts[], SubscriptionItemUpdateParams.discounts[], SubscriptionScheduleAmendParams.amendments[].discount_actions[].add, SubscriptionScheduleAmendParams.amendments[].discount_actions[].set, SubscriptionScheduleAmendParams.amendments[].item_actions[].add.discounts[], SubscriptionScheduleAmendParams.amendments[].item_actions[].set.discounts[], SubscriptionScheduleCreateParams.phases[].discounts[], SubscriptionScheduleCreateParams.phases[].items[].discounts[], SubscriptionScheduleUpdateParams.phases[].discounts[], SubscriptionScheduleUpdateParams.phases[].items[].discounts[], SubscriptionUpdateParams.discounts[], and SubscriptionUpdateParams.items[].discounts[]
    • Add support for subtotal on InvoiceLineItem
    • Add support for billing_cadence on SubscriptionListParams

See the changelog for more details.

v20.3.0

28 Jan 21:14

Choose a tag to compare

This release changes the pinned API version to 2026-01-28.clover.

  • #2564 Update generated code
    • Add support for new resource Radar.PaymentEvaluation
    • Add support for create method on resource Radar.PaymentEvaluation
    • Add support for adjustable_quantity on LineItem
    • Add support for new value risk_reserved on enum BalanceTransaction.balance_type
    • Add support for new values reserve_hold and reserve_release on enum BalanceTransaction.type
    • Add support for new values 2.3.0 and 2.3.1 on enums Charge.payment_method_details.card.three_d_secure.version, PaymentIntentConfirmParams.payment_method_options.card.three_d_secure.version, PaymentIntentCreateParams.payment_method_options.card.three_d_secure.version, PaymentIntentUpdateParams.payment_method_options.card.three_d_secure.version, SetupAttempt.payment_method_details.card.three_d_secure.version, SetupIntentConfirmParams.payment_method_options.card.three_d_secure.version, SetupIntentCreateParams.payment_method_options.card.three_d_secure.version, and SetupIntentUpdateParams.payment_method_options.card.three_d_secure.version
    • Add support for new value adyen 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 ADYBNL2A 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 pl_nip 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 pl_nip on enums CustomerCreateParams.tax_id_data[].type, CustomerCreateTaxIdParams.type, InvoiceCreatePreviewParams.customer_details.tax_ids[].type, Tax.CalculationCreateParams.customer_details.tax_ids[].type, and TaxIdCreateParams.type
    • Change Invoice.payment_settings.payment_method_options.payto and Subscription.payment_settings.payment_method_options.payto to be required
    • Add support for enforce_arithmetic_validation on PaymentIntentCaptureParams.amount_details, PaymentIntentConfirmParams.amount_details, PaymentIntentCreateParams.amount_details, PaymentIntentIncrementAuthorizationParams.amount_details, and PaymentIntentUpdateParams.amount_details
    • Add support for error on PaymentIntent.amount_details
    • Remove support for bgn on Terminal.Configuration.tipping, Terminal.ConfigurationCreateParams.tipping, and Terminal.ConfigurationUpdateParams.tipping
    • Add support for topup on Treasury.ReceivedDebit.linked_flows
    • Add support for contact_phone on V2.Core.AccountCreateParams, V2.Core.AccountTokenCreateParams, V2.Core.AccountUpdateParams, and V2.Core.Account
    • Add support for registration_date on V2.Core.Account.identity.business_details, V2.Core.AccountCreateParams.identity.business_details, V2.Core.AccountTokenCreateParams.identity.business_details, and V2.Core.AccountUpdateParams.identity.business_details
    • Add support for new value gb_vat on enums V2.Core.Account.identity.business_details.id_numbers[].type, V2.Core.AccountCreateParams.identity.business_details.id_numbers[].type, V2.Core.AccountTokenCreateParams.identity.business_details.id_numbers[].type, and V2.Core.AccountUpdateParams.identity.business_details.id_numbers[].type
    • Add support for error code request_blocked on Invoice.last_finalization_error, PaymentIntent.last_payment_error, SetupAttempt.setup_error, SetupIntent.last_setup_error, and StripeError
  • #2558 Remove qs dependency
  • #2562 Document usage of undocumented API parameters

See the changelog for more details.

v20.3.0-alpha.1

21 Jan 18:53

Choose a tag to compare

v20.3.0-alpha.1 Pre-release
Pre-release
  • #2559 Update generated code for private-preview
    • Remove support for pause method on resource Subscription
    • Change type of Quote.subscription_data.phase_effective_at and Quote.subscription_data_overrides[].phase_effective_at from enum('billing_period_start'|'phase_start') to enum('billing_period_start'|'phase_start') | null

See the changelog for more details.

v20.2.0

16 Jan 21:25

Choose a tag to compare

  • #2551 Update generated code
    • Add support for event notifications V2CoreAccountClosedEvent, V2CoreAccountCreatedEvent, V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent, V2CoreAccountIncludingConfigurationCustomerUpdatedEvent, V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent, V2CoreAccountIncludingConfigurationMerchantUpdatedEvent, V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent, V2CoreAccountIncludingConfigurationRecipientUpdatedEvent, V2CoreAccountIncludingDefaultsUpdatedEvent, V2CoreAccountIncludingFutureRequirementsUpdatedEvent, V2CoreAccountIncludingIdentityUpdatedEvent, V2CoreAccountIncludingRequirementsUpdatedEvent, and V2CoreAccountUpdatedEvent with related object V2.Core.Account
    • Add support for event notification V2CoreAccountLinkReturnedEvent
    • Add support for event notifications V2CoreAccountPersonCreatedEvent, V2CoreAccountPersonDeletedEvent, and V2CoreAccountPersonUpdatedEvent with related object V2.Core.AccountPerson

See the changelog for more details.