Skip to content

Releases: stripe/stripe-node

v22.6.0-alpha.2

v22.6.0-alpha.2 Pre-release
Pre-release

Choose a tag to compare

@xavdid xavdid released this 19 Aug 23:02
  • #2810 Update generated code for private-preview
    • Add support for new resources Billing.FeedbackOption and PaymentPlan
    • ⚠️ Remove support for resource Billing.FeedbackOptions
    • Add support for create, list, retrieve, and update methods on resource PaymentPlan
    • Add support for update method on resource V2.MoneyManagement.Transaction
    • Add support for wechat_pay_payments on Account.settings, AccountCreateParams.settings, and AccountUpdateParams.settings
    • ⚠️ Change type of BillingPortal.Configuration.features.subscription_cancel.cancellation_reason.feedback_options from Billing.FeedbackOptions to Billing.FeedbackOption
    • Change BillingPortal.Configuration.features.subscription_cancel.cancellation_reason.feedback_options to be required
    • Add support for subscription_pause on BillingPortal.Session.flow
    • Add support for new value subscription_pause on enum BillingPortal.Session.flow.type
    • Add support for new value usdt on enums Crypto.OnrampSession.transaction_details.destination_currency, Crypto.OnrampSessionCreateParams.destination_currency, and Crypto.OnrampSessionListParams.destination_currency
    • Add support for new value usdt on enums Crypto.OnrampSession.transaction_details.destination_currencies and Crypto.OnrampSessionCreateParams.destination_currencies
    • Add support for active_entitlements on CustomerSession.components
    • Add support for shared_payment_issued_token on DelegatedCheckout.RequestedSessionConfirmParams
    • Add support for new values payment_plan.created, payment_plan.installment_due, payment_plan.installment_paid, payment_plan.installment_will_be_due, and payment_plan.updated on enum Event.type
    • Add support for managed_payments on InvoiceCreateParams, InvoiceItemCreateParams, InvoiceItem, Invoice, and QuotePreviewInvoice
    • Add support for payment_plan on Invoice
    • Add support for estimated_fee_details and estimated_fee on Issuing.Authorization.pending_request.hold_amount_details and Issuing.Authorization.request_history[].hold_amount_details
    • ⚠️ Remove support for cryptogram on PaymentAttemptRecord.payment_method_details.card.three_d_secure and PaymentRecord.payment_method_details.card.three_d_secure
    • ⚠️ Change type of ProductCatalog.TrialOffer.end_behavior.transition.price from Price to deletable($Price)
    • ⚠️ Change type of Subscription.cancellation_details.feedback_option from Billing.FeedbackOptions to Billing.FeedbackOption
    • Add support for cancel_at_period_end on Subscription.pending_update
    • Change Subscription.cancellation_details.feedback_option to be required
    • Add support for igic on Tax.Registration.country_options.at, Tax.Registration.country_options.be, Tax.Registration.country_options.bg, Tax.Registration.country_options.cy, Tax.Registration.country_options.cz, Tax.Registration.country_options.de, Tax.Registration.country_options.dk, Tax.Registration.country_options.ee, Tax.Registration.country_options.es, Tax.Registration.country_options.fi, Tax.Registration.country_options.fr, Tax.Registration.country_options.gr, Tax.Registration.country_options.hr, Tax.Registration.country_options.hu, Tax.Registration.country_options.ie, Tax.Registration.country_options.it, Tax.Registration.country_options.lt, Tax.Registration.country_options.lu, Tax.Registration.country_options.lv, Tax.Registration.country_options.mt, Tax.Registration.country_options.nl, Tax.Registration.country_options.pl, Tax.Registration.country_options.pt, Tax.Registration.country_options.ro, Tax.Registration.country_options.se, Tax.Registration.country_options.si, and Tax.Registration.country_options.sk
    • Add support for metadata on V2.Billing.Contract.pricing_lines.data[].pricing.price_details.pricing_overrides.data[], V2.Billing.Contract.pricing_overrides.data[], V2.Billing.ContractCreateParams.pricing_overrides[], V2.Billing.ContractUpdateParams.pricing_line_actions[].update, V2.Billing.ContractUpdateParams.pricing_override_actions[].add, V2.Billing.ContractUpdateParams.pricing_override_actions[].update, V2.Billing.ContractUpdateParams, and V2.MoneyManagement.Transaction
    • Add support for tax_amount on V2.MoneyManagement.OutboundPaymentQuote.estimated_fees[]
    • Add support for payout_method_options on V2.MoneyManagement.OutboundPaymentQuote.to and V2.MoneyManagement.OutboundPaymentQuoteCreateParams.to
    • Change type of V2.Billing.ContractUpdateParams.pricing_line_actions[].update.pricing.price_details.pricing_override_actions[].update.metadata from string to emptyable(string)
    • Add support for snapshot events PaymentPlanCreatedEvent, PaymentPlanInstallmentDueEvent, PaymentPlanInstallmentPaidEvent, PaymentPlanInstallmentWillBeDueEvent, and PaymentPlanUpdatedEvent with resource PaymentPlan

See the changelog for more details.

v22.6.0-alpha.1

v22.6.0-alpha.1 Pre-release
Pre-release

Choose a tag to compare

@xavdid xavdid released this 13 Aug 00:25

This release changes the pinned API version to 2026-08-12.preview.

  • #2804 Update generated code for private-preview
    • Add support for new resource V2.Tax.OperationsResolveAddressResult
    • Add support for resolve_address method on resource V2.Tax.OperationsResolveAddressResult
    • Add support for confirm and fx_quote methods on resource V2.MoneyManagement.PayoutIntent
    • ⚠️ Add support for new value partner_disabled on enums Account.future_requirements.errors[].code, Account.requirements.errors[].code, BankAccount.future_requirements.errors[].code, BankAccount.requirements.errors[].code, Capability.future_requirements.errors[].code, Capability.requirements.errors[].code, Person.future_requirements.errors[].code, and Person.requirements.errors[].code
    • ⚠️ Remove support for values partner_disabled_dispute_rate, partner_disabled_responsibilities, partner_disabled_restricted_business, and partner_disabled_suspected_fraud from enums Account.future_requirements.errors[].code, Account.requirements.errors[].code, BankAccount.future_requirements.errors[].code, BankAccount.requirements.errors[].code, Capability.future_requirements.errors[].code, Capability.requirements.errors[].code, Person.future_requirements.errors[].code, and Person.requirements.errors[].code
    • Add support for customer_update on BillingPortal.Session.flow
    • Add support for new value customer_update on enum BillingPortal.Session.flow.type
    • Add support for funding_source_group on Charge.payment_method_details.link
    • ⚠️ Remove support for pricing_group on Charge.payment_method_details.link
    • Add support for new value celo on enum Crypto.CustomerConsumerWallet.network
    • Add support for new value celo on enums Crypto.OnrampSession.transaction_details.destination_network, Crypto.OnrampSessionCreateParams.destination_network, Crypto.OnrampSessionListParams.destination_network, and Crypto.OnrampTransactionLimitRetrieveParams.destination_network
    • Add support for new value celo on enums Crypto.OnrampSession.transaction_details.destination_networks and Crypto.OnrampSessionCreateParams.destination_networks
    • Add support for celo on Crypto.OnrampSession.transaction_details.wallet_addresses
    • Add support for customer_portal on CustomerSession.components
    • Add support for applied_to_invoice and type on CustomerCreateCustomerBalanceTransactionParams
    • Add support for classification_state and enrichment_state on FinancialConnections.Account
    • Add support for country on FinancialConnections.Session.filters
    • Add support for classifications and enrichments on FinancialConnections.Transaction
    • Add support for new values billie, paypay, and vipps on enums Invoice.payment_settings.payment_method_types, InvoiceCreateParams.payment_settings.payment_method_types, InvoiceUpdateParams.payment_settings.payment_method_types, QuotePreviewInvoice.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 customer_balance on Invoice and QuotePreviewInvoice
    • Add support for billie on Invoice.payment_settings.payment_method_options, QuotePreviewInvoice.payment_settings.payment_method_options, and Subscription.payment_settings.payment_method_options
    • Add support for hold_amount_details and hold_amount on Issuing.Authorization.pending_request and Issuing.Authorization.request_history[]
    • Add support for new values hu and ro on enums Issuing.Cardholder.preferred_locales, Issuing.CardholderCreateParams.preferred_locales, and Issuing.CardholderUpdateParams.preferred_locales
    • Add support for new values authentication_failure, expired_payment_method, incorrect_cvc, incorrect_number, incorrect_postal_code, insufficient_funds, payment_method_restricted, and processing_error on enums PaymentAttemptRecordReportFailedParams.failure_code, PaymentRecordReportPaymentAttemptFailedParams.failure_code, PaymentRecordReportPaymentAttemptParams.failed.failure_code, and PaymentRecordReportPaymentParams.failed.failure_code
    • Add support for network_decline_code on PaymentAttemptRecordReportFailedParams.payment_method_details.card and PaymentRecordReportPaymentAttemptFailedParams.payment_method_details.card
    • Add support for setup_future_usage on PaymentIntent.payment_method_options.sequra
    • Add support for status on QuotePreviewSubscriptionSchedule.pause_schedules[].pause, QuotePreviewSubscriptionSchedule.pause_schedules[].resume, SubscriptionSchedule.pause_schedules[].pause, and SubscriptionSchedule.pause_schedules[].resume
    • Change SubscriptionScheduleCreateParams.pause_schedules[].pause to be optional
    • Change type of SubscriptionScheduleUpdateParams.pause_schedules[].resume from pause_schedule_update_resume_params to emptyable(pause_schedule_update_resume_params)
    • Add support for acquirer on EventsV2CoreHealthAuthorizationRateDropFiringEvent.impact.dimensions[], EventsV2CoreHealthAuthorizationRateDropResolvedEvent.impact.dimensions[], V2.Core.Health.Alert.authorization_rate_drop.dimensions[], and V2.Core.Health.AlertHistoryEntry.authorization_rate_drop.dimensions[]
    • ⚠️ Change type of EventsV2CoreHealthAuthorizationRateDropFiringEvent.impact.dimensions[].type, EventsV2CoreHealthAuthorizationRateDropResolvedEvent.impact.dimensions[].type, V2.Core.Health.Alert.authorization_rate_drop.dimensions[].type, and V2.Core.Health.AlertHistoryEntry.authorization_rate_drop.dimensions[].type from literal('issuer') to enum('acquirer'|'issuer')
    • Add support for confirmation_method on V2.MoneyManagement.PayoutIntentCreateParams and V2.MoneyManagement.PayoutIntent
    • Add support for estimated_fees and fx_quote on V2.MoneyManagement.PayoutIntent
    • Add support for debited on V2.MoneyManagement.PayoutIntent.from
    • Add support for confirm on V2.MoneyManagement.PayoutIntent.next_action
    • ⚠️ Change type of V2.MoneyManagement.PayoutIntent.next_action.type from literal('handle_failure') to enum('confirm'|'handle_failure')
    • Add support for credited on V2.MoneyManagement.PayoutIntent.to
    • Add support for new value one_time_fees on enums V2.Billing.ContractActivateParams.include, V2.Billing.ContractCancelParams.include, V2.Billing.ContractCreateParams.include, V2.Billing.ContractListParams.include, V2.Billing.ContractRetrieveParams.include, and V2.Billing.ContractUpdateParams.include
    • Add support for event notification V1BalanceSettingsUpdatedEvent with related object BalanceSettings
    • Add support for event notification V1BillingCreditBalanceTransactionCreatedEvent with related object Billing.CreditBalanceTransaction
    • Add support for event notifications V1BillingCreditGrantCreatedEvent and V1BillingCreditGrantUpdatedEvent with related object Billing.CreditGrant
    • Add support for event notifications V1BillingMeterCreatedEvent, V1BillingMeterDeactivatedEvent, V1BillingMeterReactivatedEvent, and V1BillingMeterUpdatedEvent with related object Billing.Meter
    • Add support for event notifications V1FinancialConnectionsAccountAccountNumbersUpdatedEvent, V1FinancialConnectionsAccountExpectedDeactivationDateUpdatedEvent, V1FinancialConnectionsAccountSupportedPaymentMethodTypesUpdatedEvent, V1FinancialConnectionsAccountUpcomingAccountNumberExpiryEvent, and V1FinancialConnectionsAccountUpcomingDeactivationEvent with related object FinancialConnections.Account
    • Add support for event notification V1InvoicePaymentAttemptRequiredEvent with related object Invoice
    • Add support for error type FxQuoteNeedsRefreshError

See the changelog for more details.

v22.5.0

Choose a tag to compare

@xavdid xavdid released this 10 Aug 22:12
  • #2805 Emit Claude Code plugin hint at module load time

    • Emits new Claude Code plugin hint when CLAUDECODE or CLAUDE_CODE_CHILD_SESSION environment variables are detected.
  • #2794 add/adjust event parsing helpers

    • Added methods that return their respective Event/EventNotification objects without verifying authenticity. Use them when you've previously verified an event (e.g. you verified, put the event in a queue, and are now processing). Supports events from AWS EventBridge and Azure Event Grid natively.
      • stripe.webhooks.constructEventWithoutVerification(payload)
      • stripe.constructEventWithoutVerification(payload)
      • stripe.parseEventNotificationWithoutVerification(payload)
  • #2799 Add stripe.major_api_version constant

See the changelog for more details.

v22.5.0-alpha.2

v22.5.0-alpha.2 Pre-release
Pre-release

Choose a tag to compare

@xavdid xavdid released this 05 Aug 22:24
  • #2797 Update generated code for private-preview
    • Add support for new resource Billing.FeedbackOptions
    • Add support for sequra_payments on Account.capabilities
    • Add support for feedback_options on BillingPortal.Configuration.features.subscription_cancel.cancellation_reason
    • Add support for sequra on Charge.payment_method_details, Checkout.Session.payment_method_options, ConfirmationToken.payment_method_preview, PaymentAttemptRecord.payment_method_details, PaymentIntent.payment_method_options, and PaymentRecord.payment_method_details
    • Add support for retrieval_reference_number on Charge.payment_method_details.card_present, ConfirmationToken.payment_method_preview.card.generated_from.payment_method_details.card_present, PaymentAttemptRecord.payment_method_details.card_present, PaymentMethod.card.generated_from.payment_method_details.card_present, and PaymentRecord.payment_method_details.card_present
    • Add support for pricing_group on Charge.payment_method_details.link
    • Add support for tax_rates on Checkout.Session.shipping_options[], Checkout.SessionCreateParams.shipping_options[], and Checkout.SessionUpdateParams.shipping_options[]
    • ⚠️ Add support for new value daikin on enums Checkout.Session.automatic_surcharge.provider and PaymentLink.automatic_surcharge.provider
    • Add support for funding_types_blocked on Checkout.Session.payment_method_options.card.restrictions
    • Add support for new value sequra 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 sequra on enums ConfirmationToken.payment_method_preview.type and PaymentMethod.type
    • Add support for new value sequra on enums CustomerListPaymentMethodsParams.type, PaymentMethodCreateParams.type, and PaymentMethodListParams.type
    • Add support for healthcare on Issuing.AuthorizationCaptureParams.testHelpers.purchase_details, Issuing.AuthorizationCreateParams.testHelpers, Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details, and Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details
    • Change type of Issuing.Authorization.healthcare.verification_status from enum('iias_merchant_exempt'|'iias_merchant_not_certified'|'iias_verified'|'not_verified') | null to enum('iias_merchant_exempt'|'iias_merchant_not_certified'|'iias_verified'|'not_verified')
    • Add support for is_anomalous on PaymentAttemptRecordReportGuaranteedParams
    • Add support for new value sequra on enums PaymentIntent.excluded_payment_method_types, PaymentIntentConfirmParams.excluded_payment_method_types, PaymentIntentCreateParams.excluded_payment_method_types, PaymentIntentUpdateParams.excluded_payment_method_types, SetupIntent.excluded_payment_method_types, SetupIntentCreateParams.excluded_payment_method_types, and SetupIntentUpdateParams.excluded_payment_method_types
    • Add support for aade_data on PaymentIntent.payment_method_options.card_present
    • Change Radar.PaymentEvaluation.payment_details.payment_method_details.card.first6 to be required
    • Change Radar.PaymentEvaluation.payment_details.payment_method_details.card.last4 to be required
    • Add support for feedback_option on Subscription.cancellation_details
    • Add support for application on V2.Payments.OffSessionPayment
    • Add support for status on V2.MoneyManagement.FinancialAccountStatementListParams
    • Change V2.Billing.ContractCreateParams.pricing_lines to be optional

See the changelog for more details.

v22.5.0-alpha.1

v22.5.0-alpha.1 Pre-release
Pre-release

Choose a tag to compare

@jar-stripe jar-stripe released this 30 Jul 03:31

This release changes the pinned API version to 2026-07-29.preview.

  • #2793 Update generated code for private-preview
    • Add support for new resources V2.MoneyManagement.ReceivedDebitMandate, V2.Risk.Inquiry, V2.Signals.AccountActivity, and V2.Signals.AccountEvaluation
    • Add support for create and retrieve methods on resource V2.Signals.AccountEvaluation
    • Add support for create, del, and retrieve methods on resource V2.Signals.AccountActivity
    • Add support for list, retrieve, and update methods on resource V2.Risk.Inquiry
    • Add support for cancel, list, and retrieve methods on resource V2.MoneyManagement.ReceivedDebitMandate
    • Add support for rate_cards on Billing.CreditBalanceSummaryRetrieveParams.filter.applicability_scope, Billing.CreditGrant.applicability_config.scope, and Billing.CreditGrantCreateParams.applicability_config.scope
    • ⚠️ Change type of ConfirmationToken.payment_method_preview.gift_card.brand, GiftCard.brand, GiftCardCreateParams.brand, PaymentMethod.gift_card.brand, Terminal.ReaderActivateGiftCardParams.brand, Terminal.ReaderCashoutGiftCardParams.brand, Terminal.ReaderCheckGiftCardBalanceParams.brand, and Terminal.ReaderReloadGiftCardParams.brand from enum('fiserv_valuelink'|'givex'|'svs') to literal('svs')
    • Add support for new value tempo on enum Crypto.CustomerConsumerWallet.network
    • Add support for new value tempo on enums Crypto.OnrampSession.transaction_details.destination_network, Crypto.OnrampSessionCreateParams.destination_network, Crypto.OnrampSessionListParams.destination_network, and Crypto.OnrampTransactionLimitRetrieveParams.destination_network
    • Add support for new value tempo on enums Crypto.OnrampSession.transaction_details.destination_networks and Crypto.OnrampSessionCreateParams.destination_networks
    • Add support for tempo on Crypto.OnrampSession.transaction_details.wallet_addresses
    • Add support for new value try_again_later on enum GiftCardOperation.failure_code
    • Add support for healthcare on Issuing.Authorization
    • Add support for product_code on Issuing.CardCreateParams, Issuing.CardUpdateParams, and Issuing.Card
    • Add support for product_graduation_state on Issuing.Card
    • Add support for cvc and number on Radar.PaymentEvaluationCreateParams.payment_details.payment_method_details.card
    • Change Radar.PaymentEvaluationCreateParams.payment_details.payment_method_details.card.first6 to be optional
    • Change Radar.PaymentEvaluationCreateParams.payment_details.payment_method_details.card.last4 to be optional
    • Add support for card on Radar.PaymentEvaluation.payment_details.payment_method_details
    • ⚠️ Change type of Terminal.ReaderCollectPaymentMethodParams.collect_config.gift_card_brand and Terminal.ReaderProcessPaymentIntentParams.process_config.gift_card_brand from enum('fiserv_valuelink'|'givex'|'svs') to literal('svs')
    • Add support for gift_card on Terminal.ReaderPresentPaymentMethodParams.testHelpers
    • Add support for new value gift_card on enum Terminal.ReaderPresentPaymentMethodParams.testHelpers.type
    • Add support for amount_due and customer_balance_applied on V2.Billing.Intent.amount_details
    • ⚠️ Change type of V2.Core.AccountEvaluation.evaluations_triggered from literal('fraudulent_website') to enum('fraudulent_website'|'user_account_sharing'|'user_multi_accounting')
    • Add support for gross_settlement on V2.Core.Account.configuration.merchant, V2.Core.AccountCreateParams.configuration.merchant, and V2.Core.AccountUpdateParams.configuration.merchant
    • ⚠️ Change type of V2.MoneyManagement.DebitDispute.bank_transfer.network from literal('ach') to enum('ach'|'bacs')
    • Add support for new values beneficiary_unrecognized, mandate_canceled_by_stripe, mandate_canceled, no_advance_notice, originator_requested, and signature_invalid on enum V2.MoneyManagement.DebitDispute.bank_transfer.reason
    • ⚠️ Remove support for managed_by on V2.MoneyManagement.FinancialAccount
    • Add support for payout_intent on V2.MoneyManagement.OutboundPayment
    • Add support for settles_at on V2.MoneyManagement.ReceivedDebit
    • Add support for gb_bank_account on V2.MoneyManagement.ReceivedDebit.bank_transfer
    • ⚠️ Change type of V2.MoneyManagement.ReceivedDebit.bank_transfer.origin_type from literal('us_bank_account') to enum('gb_bank_account'|'us_bank_account')
    • ⚠️ Change type of V2.MoneyManagement.ReceivedDebit.bank_transfer.payment_method_type from literal('us_bank_account') to enum('gb_bank_account'|'us_bank_account')
    • Add support for new value scheduled on enum V2.MoneyManagement.ReceivedDebit.status
    • Add support for new value no_mandate on enum V2.MoneyManagement.ReceivedDebit.status_details.failed.reason
    • Add support for target_date on V2.Payments.OffSessionPaymentCreateParams and V2.Payments.OffSessionPayment
    • Add support for account_evaluation, fraudulent_website, payment_delinquency_exposure, user_account_sharing, and user_multi_accounting on V2.Signals.AccountSignal
    • Add support for new values fraudulent_website, user_account_sharing, and user_multi_accounting on enums V2.Signals.AccountSignal.type and V2.Signals.AccountSignalListParams.type
    • Change type of V2.MoneyManagement.FinancialAddressDebitSimulationDebitParams.network from literal('ach') to enum('ach'|'bacs')
    • Add support for received_debit_mandate on V2.MoneyManagement.ReceivedDebitListParams
    • ⚠️ Remove support for payout_intent on V2.MoneyManagement.OutboundPaymentCreateParams
    • Change type of V2.Core.AccountEvaluationCreateParams.signals from literal('fraudulent_website') to enum('fraudulent_website'|'user_account_sharing'|'user_multi_accounting')
    • ⚠️ Remove support for id on EventsV2SignalsAccountSignalFraudulentMerchantReadyEvent
    • Add support for event notifications V2MoneyManagementReceivedDebitCreatedEvent and V2MoneyManagementReceivedDebitScheduledEvent with related object V2.MoneyManagement.ReceivedDebit
    • Add support for event notifications V2MoneyManagementReceivedDebitMandateCanceledEvent, V2MoneyManagementReceivedDebitMandateCreatedEvent, V2MoneyManagementReceivedDebitMandateExpiredEvent, V2MoneyManagementReceivedDebitMandatePendingCancellationEvent, and V2MoneyManagementReceivedDebitMandateUpdatedEvent with related object V2.MoneyManagement.ReceivedDebitMandate
    • Add support for event notification V2SignalsAccountEvaluationCompleteEvent with related object V2.Signals.AccountEvaluation
    • Add support for event notifications V2SignalsAccountSignalFraudulentWebsiteReadyEvent and V2SignalsAccountSignalPaymentDelinquencyExposureReadyEvent with related object V2.Signals.AccountSignal

See the changelog for more details.

v22.5.0-beta.1

v22.5.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@jar-stripe jar-stripe released this 29 Jul 23:41

This release changes the pinned API version to 2026-07-29.preview.

  • #2772 Update generated code for beta
    • Add support for list and retrieve methods on resource ProductCatalog.TrialOffer
    • Add support for tax_items on ChargeCaptureParams.payment_details.car_rental_data[].total.tax, ChargeCaptureParams.payment_details.flight_data[].total.tax, ChargeCaptureParams.payment_details.lodging_data[].total.tax, ChargeUpdateParams.payment_details.car_rental_data[].total.tax, ChargeUpdateParams.payment_details.flight_data[].total.tax, ChargeUpdateParams.payment_details.lodging_data[].total.tax, PaymentIntent.payment_details.car_rental_data[].total.tax, PaymentIntent.payment_details.flight_data[].total.tax, PaymentIntent.payment_details.lodging_data[].total.tax, PaymentIntentCaptureParams.payment_details.car_rental_data[].total.tax, PaymentIntentCaptureParams.payment_details.flight_data[].total.tax, PaymentIntentCaptureParams.payment_details.lodging_data[].total.tax, PaymentIntentConfirmParams.payment_details.car_rental_data[].total.tax, PaymentIntentConfirmParams.payment_details.flight_data[].total.tax, PaymentIntentConfirmParams.payment_details.lodging_data[].total.tax, PaymentIntentCreateParams.payment_details.car_rental_data[].total.tax, PaymentIntentCreateParams.payment_details.flight_data[].total.tax, PaymentIntentCreateParams.payment_details.lodging_data[].total.tax, PaymentIntentUpdateParams.payment_details.car_rental_data[].total.tax, PaymentIntentUpdateParams.payment_details.flight_data[].total.tax, and PaymentIntentUpdateParams.payment_details.lodging_data[].total.tax
    • ⚠️ Remove support for taxes on ChargeCaptureParams.payment_details.car_rental_data[].total.tax, ChargeCaptureParams.payment_details.flight_data[].total.tax, ChargeCaptureParams.payment_details.lodging_data[].total.tax, ChargeUpdateParams.payment_details.car_rental_data[].total.tax, ChargeUpdateParams.payment_details.flight_data[].total.tax, ChargeUpdateParams.payment_details.lodging_data[].total.tax, PaymentIntent.payment_details.car_rental_data[].total.tax, PaymentIntent.payment_details.flight_data[].total.tax, PaymentIntent.payment_details.lodging_data[].total.tax, PaymentIntentCaptureParams.payment_details.car_rental_data[].total.tax, PaymentIntentCaptureParams.payment_details.flight_data[].total.tax, PaymentIntentCaptureParams.payment_details.lodging_data[].total.tax, PaymentIntentConfirmParams.payment_details.car_rental_data[].total.tax, PaymentIntentConfirmParams.payment_details.flight_data[].total.tax, PaymentIntentConfirmParams.payment_details.lodging_data[].total.tax, PaymentIntentCreateParams.payment_details.car_rental_data[].total.tax, PaymentIntentCreateParams.payment_details.flight_data[].total.tax, PaymentIntentCreateParams.payment_details.lodging_data[].total.tax, PaymentIntentUpdateParams.payment_details.car_rental_data[].total.tax, PaymentIntentUpdateParams.payment_details.flight_data[].total.tax, and PaymentIntentUpdateParams.payment_details.lodging_data[].total.tax
    • Add support for tax_id on Checkout.Session.collected_information
    • ⚠️ Remove support for tax_ids on Checkout.Session.collected_information
    • Add support for new value disabled on enum FinancialConnections.SessionCreateParams.manual_entry.mode
    • Add support for mode on FinancialConnections.Session.manual_entry
    • Add support for name on Issuing.CardholderUpdateParams
    • Add support for new value ic_nif on enums OrderCreateParams.tax_details.tax_ids[].type and OrderUpdateParams.tax_details.tax_ids[].type
    • ⚠️ Add support for new value ic_nif on enums Order.tax_details.tax_ids[].type and QuotePreviewInvoice.customer_tax_ids[].type
    • Add support for new values alipay and mb_way on enum QuotePreviewInvoice.payment_settings.payment_method_types
    • Add support for custom_fields, description, and footer on QuotePreviewSubscriptionSchedule.default_settings.invoice_settings and QuotePreviewSubscriptionSchedule.phases[].invoice_settings
    • Add support for trial on QuotePreviewSubscriptionSchedule.phases[]
    • ⚠️ Remove support for acss_debit, afterpay_clearpay, alipay, alma, amazon_pay, au_becs_debit, bacs_debit, bancontact, billie, bizum, blik, boleto, card_present, cashapp, crypto, customer_balance, eps, fpx, giropay, gopay, grabpay, id_bank_transfer, ideal, interac_present, kakao_pay, konbini, kr_card, mb_way, mobilepay, multibanco, naver_pay, nz_bank_account, oxxo, p24, pay_by_bank, payco, paynow, paypal, paypay, payto, pix, promptpay, qris, rechnung, revolut_pay, samsung_pay, satispay, scalapay, sepa_debit, shopeepay, sofort, stripe_balance, sunbit, swish, twint, upi, us_bank_account, wechat_pay, and zip on SharedPayment.GrantedToken.payment_method_details
    • ⚠️ Remove support for values acss_debit, afterpay_clearpay, alipay, alma, amazon_pay, au_becs_debit, bacs_debit, bancontact, billie, bizum, blik, boleto, card_present, cashapp, crypto, custom, customer_balance, eps, fpx, giropay, gopay, grabpay, id_bank_transfer, ideal, interac_present, kakao_pay, konbini, kr_card, mb_way, mobilepay, multibanco, naver_pay, nz_bank_account, oxxo, p24, pay_by_bank, payco, paynow, paypal, paypay, payto, pix, promptpay, qris, rechnung, revolut_pay, samsung_pay, satispay, scalapay, sepa_debit, shopeepay, sofort, stripe_balance, sunbit, swish, twint, upi, us_bank_account, wechat_pay, and zip from enum SharedPayment.GrantedToken.payment_method_details.type
    • Add support for use_stripe_sdk on SharedPayment.IssuedTokenCreateParams and SharedPayment.IssuedToken
    • Add support for redirect_to_url on SharedPayment.IssuedToken.next_action
    • ⚠️ Change type of SharedPayment.IssuedToken.next_action.type from literal('use_stripe_sdk') to enum('redirect_to_url'|'use_stripe_sdk')
    • Add support for livemode on Tax.Location
    • Add support for source on V2.Iam.ActivityLog.details.user_roles
    • Add support for payout on V2.MoneyManagement.ReceivedCredit.balance_transfer
    • ⚠️ Remove support for payout_v1 on V2.MoneyManagement.ReceivedCredit.balance_transfer
    • Add support for new value payout on enum V2.MoneyManagement.ReceivedCredit.balance_transfer.type
    • ⚠️ Change V2.MoneyManagement.ReceivedDebit.bank_transfer.us_bank_account to be optional
    • Add support for error codes us_bank_account_microdeposits_cannot_be_confirmed and us_bank_account_microdeposits_cannot_be_sent on ControlledByAlternateResourceError

See the changelog for more details.

v22.4.0

Choose a tag to compare

@jar-stripe jar-stripe released this 29 Jul 23:33

This release changes the pinned API version to 2026-07-29.dahlia.

  • #2795 Update generated code
    • Add support for new resource FinancialConnections.Authorization
    • Add support for unreject method on resource Account
    • Add support for list method on resource PaymentRecord
    • Add support for administrative_address and principal_place_of_business on Account.company, AccountCreateParams.company, AccountUpdateParams.company, and TokenCreateParams.account.company
    • Add support for sepa_debit_payments on AccountUpdateParams.settings
    • Remove support for proof_of_registration on AccountCreateParams.documents. This field was limited-use and is being deprecated.
    • Add support for payouts_action on AccountRejectParams
    • Add support for new values mass_transit_parking_tax and parking_tax on enums Tax.Calculation.shipping_cost.tax_breakdown[].tax_rate_details.tax_type, Tax.Calculation.tax_breakdown[].tax_rate_details.tax_type, Tax.CalculationLineItem.tax_breakdown[].tax_rate_details.tax_type, and Tax.Transaction.shipping_cost.tax_breakdown[].tax_rate_details.tax_type
    • Add support for new value chaps on enums FundingInstructions.bank_transfer.financial_addresses[].supported_networks and PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].supported_networks
    • Add support for smart_disputes_management on AccountSession.components.disputes_list.features, AccountSession.components.payment_details.features, AccountSession.components.payment_disputes.features, AccountSession.components.payments.features, AccountSessionCreateParams.components.disputes_list.features, AccountSessionCreateParams.components.payment_details.features, AccountSessionCreateParams.components.payment_disputes.features, and AccountSessionCreateParams.components.payments.features
    • Add support for new value data_share_only on enums Charge.payment_method_details.card.three_d_secure.result, PaymentAttemptRecord.payment_method_details.card.three_d_secure.result, PaymentRecord.payment_method_details.card.three_d_secure.result, and SetupAttempt.payment_method_details.card.three_d_secure.result
    • Add support for new values bnp_paribas, citibank, and mbsb_bank on enums Charge.payment_method_details.fpx.bank, ConfirmationToken.payment_method_preview.fpx.bank, PaymentAttemptRecord.payment_method_details.fpx.bank, PaymentMethod.fpx.bank, and PaymentRecord.payment_method_details.fpx.bank
    • Remove support for dynamic_tax_rates on Checkout.SessionCreateParams.line_items[]. This field was limited-use and is being deprecated.
    • Add support for setup_future_usage on Checkout.Session.payment_method_options.payco, Checkout.Session.payment_method_options.samsung_pay, Checkout.SessionCreateParams.payment_method_options.payco, Checkout.SessionCreateParams.payment_method_options.samsung_pay, PaymentIntent.payment_method_options.payco, PaymentIntent.payment_method_options.samsung_pay, PaymentIntentConfirmParams.payment_method_options.payco, PaymentIntentConfirmParams.payment_method_options.samsung_pay, PaymentIntentCreateParams.payment_method_options.payco, PaymentIntentCreateParams.payment_method_options.samsung_pay, PaymentIntentUpdateParams.payment_method_options.payco, PaymentIntentUpdateParams.payment_method_options.samsung_pay, and PaymentLinkUpdateParams.payment_intent_data
    • Add support for new value ic_nif 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 values bnp_paribas, citibank, and mbsb_bank on enums ConfirmationTokenCreateParams.testHelpers.payment_method_data.fpx.bank, PaymentIntentConfirmParams.payment_method_data.fpx.bank, PaymentIntentCreateParams.payment_method_data.fpx.bank, PaymentIntentUpdateParams.payment_method_data.fpx.bank, PaymentMethodCreateParams.fpx.bank, SetupIntentConfirmParams.payment_method_data.fpx.bank, SetupIntentCreateParams.payment_method_data.fpx.bank, and SetupIntentUpdateParams.payment_method_data.fpx.bank
    • Add support for new value ic_nif 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
    • Add support for network on Dispute.payment_method_details.card
    • Add support for new values financial_connections.account.expected_deactivation_date_updated, financial_connections.account.supported_payment_method_types_updated, financial_connections.account.upcoming_deactivation, financial_connections.authorization.expected_deactivation_date_updated, and financial_connections.authorization.upcoming_deactivation on enum Event.type
    • Add support for limits and manual_entry on FinancialConnections.SessionCreateParams and FinancialConnections.Session
    • Add support for require_payment_method_support on FinancialConnections.Session.filters and FinancialConnections.SessionCreateParams.filters
    • Add support for bank_account_token on FinancialConnections.Session
    • Add support for new values alipay and mb_way 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 new values mass_transit_parking_tax and parking_tax on enums InvoiceAddLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type, InvoiceLineItemUpdateParams.tax_amounts[].tax_rate_data.tax_type, InvoiceUpdateLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type, TaxRate.tax_type, TaxRateCreateParams.tax_type, and TaxRateUpdateParams.tax_type
    • Add support for metadata on InvoiceCreatePreviewParams.subscription_details
    • Add support for new value stripe_internal_error on enum Issuing.Authorization.request_history[].reason
    • Add support for business_name on Issuing.Card.shipping, Issuing.CardCreateParams.shipping, and Issuing.CardUpdateParams.shipping
    • Add support for new value correos on enum Issuing.Card.shipping.carrier
    • Add support for allowed_payment_method_types on PaymentIntentConfirmParams, PaymentIntentCreateParams, PaymentIntentUpdateParams, PaymentIntent, SetupIntentConfirmParams, SetupIntentCreateParams, SetupIntentUpdateParams, and SetupIntent
    • Add support for referrer on PaymentIntentConfirmParams.radar_options and PaymentIntentCreateParams.radar_options
    • Add support for consent_collection and shipping_options on PaymentLinkUpdateParams
    • Add support for custom_fields, description, and footer on Quote.invoice_settings, QuoteCreateParams.invoice_settings, QuoteUpdateParams.invoice_settings, SubscriptionSchedule.default_settings.invoice_settings, SubscriptionSchedule.phases[].invoice_settings, SubscriptionScheduleCreateParams.default_settings.invoice_settings, SubscriptionScheduleCreateParams.phases[].invoice_settings, SubscriptionScheduleUpdateParams.default_settings.invoice_settings, and SubscriptionScheduleUpdateParams.phases[].invoice_settings
    • Add support for customer_account and customer on Refund
    • Add support for payment_method on Refund and Topup
    • Add support for trial on SubscriptionSchedule.phases[]
    • Add support for mass_transit_parking_tax and parking_tax on Tax.Registration.country_options.us and Tax.RegistrationCreateParams.country_options.us
    • Add support for new values mass_transit_parking_tax and parking_tax on enum Tax.RegistrationCreateParams.country_options.us.type
    • Add support for new values mass_transit_parking_tax and parking_tax on enum Tax.Registration.country_options.us.type
    • Add support for initiated_by and payment_method_options on Topup
    • Add support for new values financial_connections.account.expected_deactivation_date_updated, financial_connections.account.supported_payment_method_types_updated, financial_connections.account.upcoming_deactivation, financial_connections.authorization.expected_deactivation_date_updated, and financial_connections.authorization.upcoming_deactivation on enums WebhookEndpointCreateParams.enabled_events and WebhookEndpointUpdateParams.enabled_events
    • Add support for new value 2026-07-29.dahlia on enum WebhookEndpointCreateParams.api_version
    • Add support for additional_addresses 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 snapshot events FinancialConnectionsAccountExpectedDeactivationDateUpdatedEvent, FinancialConnectionsAccountSupportedPaymentMethodTypesUpdatedEvent, and FinancialConnectionsAccountUpcomingDeactivationEvent with resource FinancialConnections.Account
    • Add support for snapshot events FinancialConnectionsAuthorizationExpectedDeactivationDateUpdatedEvent and FinancialConnectionsAuthorizationUpcomingDeactivationEvent with resource FinancialConnections.Authorization
  • #2790 Bump brace-expansion from 1.1.11 to 1.1.16
  • #2786 Adds shared OtherString type to better annotate non-exhaustive enums

See the changelog for more details.

v22.4.0-alpha.5

v22.4.0-alpha.5 Pre-release
Pre-release

Choose a tag to compare

@jar-stripe jar-stripe released this 23 Jul 05:06
  • #2791 Update generated code for private-preview
    • Add support for new resources Billing.AlertNotification and Crypto.DepositAddress
    • Add support for create, list, and retrieve methods on resource Crypto.DepositAddress
    • Add support for list method on resource Billing.AlertNotification
    • ⚠️ Add support for new values partner_disabled_dispute_rate, partner_disabled_responsibilities, partner_disabled_restricted_business, and partner_disabled_suspected_fraud on enums Account.future_requirements.errors[].code, Account.requirements.errors[].code, BankAccount.future_requirements.errors[].code, BankAccount.requirements.errors[].code, Capability.future_requirements.errors[].code, Capability.requirements.errors[].code, Person.future_requirements.errors[].code, and Person.requirements.errors[].code
    • Add support for new value data_share_only on enums Charge.payment_method_details.card.three_d_secure.result, PaymentAttemptRecord.payment_method_details.card.three_d_secure.result, PaymentRecord.payment_method_details.card.three_d_secure.result, and SetupAttempt.payment_method_details.card.three_d_secure.result
    • Add support for vipps on 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, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
    • Add support for new value vipps 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 vipps on enums ConfirmationToken.payment_method_preview.type and PaymentMethod.type
    • Add support for new value sui on enum Crypto.CustomerConsumerWallet.network
    • Add support for new value sui on enums Crypto.OnrampSession.transaction_details.destination_network, Crypto.OnrampSessionCreateParams.destination_network, Crypto.OnrampSessionListParams.destination_network, and Crypto.OnrampTransactionLimitRetrieveParams.destination_network
    • Add support for new value sui on enums Crypto.OnrampSession.transaction_details.destination_networks and Crypto.OnrampSessionCreateParams.destination_networks
    • Add support for sui on Crypto.OnrampSession.transaction_details.wallet_addresses
    • Add support for new value vipps on enums CustomerListPaymentMethodsParams.type, PaymentMethodCreateParams.type, and PaymentMethodListParams.type
    • Add support for use_stripe_sdk on DelegatedCheckout.RequestedSessionConfirmParams
    • Add support for new value mb_way on enums Invoice.payment_settings.payment_method_types, InvoiceCreateParams.payment_settings.payment_method_types, InvoiceUpdateParams.payment_settings.payment_method_types, QuotePreviewInvoice.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 ev_charging on PaymentIntentAmountDetailsLineItem.payment_method_options.card, PaymentIntentCaptureParams.amount_details.line_items[].payment_method_options.card, PaymentIntentConfirmParams.amount_details.line_items[].payment_method_options.card, PaymentIntentCreateParams.amount_details.line_items[].payment_method_options.card, PaymentIntentDecrementAuthorizationParams.amount_details.line_items[].payment_method_options.card, PaymentIntentIncrementAuthorizationParams.amount_details.line_items[].payment_method_options.card, and PaymentIntentUpdateParams.amount_details.line_items[].payment_method_options.card
    • Add support for new values ev_battery_exchanges, ev_charging_fee, evc_level_1, evc_level_2, evc_level_3, evc_level_4, and evc_level_5 on enums PaymentIntentCaptureParams.amount_details.line_items[].payment_method_options.card.fleet_data.product_type, PaymentIntentConfirmParams.amount_details.line_items[].payment_method_options.card.fleet_data.product_type, PaymentIntentCreateParams.amount_details.line_items[].payment_method_options.card.fleet_data.product_type, PaymentIntentDecrementAuthorizationParams.amount_details.line_items[].payment_method_options.card.fleet_data.product_type, PaymentIntentIncrementAuthorizationParams.amount_details.line_items[].payment_method_options.card.fleet_data.product_type, and PaymentIntentUpdateParams.amount_details.line_items[].payment_method_options.card.fleet_data.product_type
    • Add support for new value vipps on enums PaymentIntent.excluded_payment_method_types, PaymentIntentConfirmParams.excluded_payment_method_types, PaymentIntentCreateParams.excluded_payment_method_types, PaymentIntentUpdateParams.excluded_payment_method_types, SetupIntent.excluded_payment_method_types, SetupIntentCreateParams.excluded_payment_method_types, and SetupIntentUpdateParams.excluded_payment_method_types
    • ⚠️ Change type of PaymentIntent.allowed_payment_method_types from string to enum
    • Add support for tax_items on PaymentIntent.payment_details.car_rental_data[].total.tax, PaymentIntent.payment_details.flight_data[].total.tax, and PaymentIntent.payment_details.lodging_data[].total.tax
    • ⚠️ Remove support for taxes on PaymentIntent.payment_details.car_rental_data[].total.tax, PaymentIntent.payment_details.flight_data[].total.tax, and PaymentIntent.payment_details.lodging_data[].total.tax
    • Change PaymentRecordCreateParams.closed to be optional
    • Change PaymentRecordCreateParams.funded to be optional
    • Add support for card on Radar.PaymentEvaluationCreateParams.payment_details.payment_method_details
    • ⚠️ Remove support for acss_debit, afterpay_clearpay, alipay, alma, amazon_pay, au_becs_debit, bacs_debit, bancontact, billie, bizum, blik, boleto, card_present, cashapp, crypto, customer_balance, eps, fpx, gift_card, giropay, gopay, grabpay, id_bank_transfer, ideal, interac_present, kakao_pay, konbini, kr_card, mb_way, mobilepay, multibanco, naver_pay, nz_bank_account, oxxo, p24, pay_by_bank, payco, paynow, paypal, paypay, payto, pix, promptpay, qris, rechnung, revolut_pay, samsung_pay, satispay, scalapay, sepa_debit, shopeepay, sofort, stripe_balance, sunbit, swish, tamara, twint, upi, us_bank_account, wechat_pay, and zip on SharedPayment.GrantedToken.payment_method_details
    • ⚠️ Add support for new value shop_pay on enum SharedPayment.GrantedToken.payment_method_details.type
    • ⚠️ Remove support for values acss_debit, afterpay_clearpay, alipay, alma, amazon_pay, au_becs_debit, bacs_debit, bancontact, billie, bizum, blik, boleto, card_present, cashapp, crypto, custom, customer_balance, eps, fpx, gift_card, giropay, gopay, grabpay, id_bank_transfer, ideal, interac_present, kakao_pay, konbini, kr_card, mb_way, mobilepay, multibanco, naver_pay, nz_bank_account, oxxo, p24, pay_by_bank, payco, paynow, paypal, paypay, payto, pix, promptpay, qris, rechnung, revolut_pay, samsung_pay, satispay, scalapay, sepa_debit, shopeepay, sofort, stripe_balance, sunbit, swish, tamara, twint, upi, us_bank_account, wechat_pay, and zip from enum SharedPayment.GrantedToken.payment_method_details.type
    • Add support for spend_card on V2.Core.Account.configuration.card_creator.capabilities.commercial.stripe, V2.Core.AccountCreateParams.configuration.card_creator.capabilities.commercial.stripe, and V2.Core.AccountUpdateParams.configuration.card_creator.capabilities.commercial.stripe
    • Add support for new value commercial.stripe.spend_card on enums V2.Core.Account.future_requirements.entries[].impact.restricts_capabilities[].capability and V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability
    • Add support for new value payment_delinquency_exposure on enums V2.Signals.AccountSignal.type and V2.Signals.AccountSignalListParams.type
    • Add support for new value commercial.stripe.spend_card on enum EventsV2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEvent.updated_capability

See the changelog for more details.

v22.4.0-alpha.4

v22.4.0-alpha.4 Pre-release
Pre-release

Choose a tag to compare

@jar-stripe jar-stripe released this 16 Jul 18:41
  • #2782 Update generated code for private-preview
    • ⚠️ Remove support for resource FrMealVouchersOnboarding
    • ⚠️ Remove support for create, list, retrieve, and update methods on resource FrMealVouchersOnboarding
    • Add support for create method on resource PaymentRecord
    • Add support for new value chaps on enums FundingInstructions.bank_transfer.financial_addresses[].supported_networks and PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].supported_networks
    • ⚠️ Remove support for financial_accounts_transactions, financial_accounts, and recipients_list on AccountSessionCreateParams.components
    • Add support for smart_disputes_management on AccountSession.components.disputes_list.features, AccountSession.components.payment_details.features, AccountSession.components.payment_disputes.features, and AccountSession.components.payments.features
    • ⚠️ Add support for new value ic_nif on enums Checkout.Session.collected_information.tax_id.type, Checkout.Session.customer_details.tax_ids[].type, Invoice.customer_tax_ids[].type, Order.tax_details.tax_ids[].type, QuotePreviewInvoice.customer_tax_ids[].type, Tax.Calculation.customer_details.tax_ids[].type, and Tax.Transaction.customer_details.tax_ids[].type
    • Add support for new values financial_connections.account.expected_deactivation_date_updated, financial_connections.account.supported_payment_method_types_updated, financial_connections.account.upcoming_deactivation, financial_connections.authorization.expected_deactivation_date_updated, and financial_connections.authorization.upcoming_deactivation on enum Event.type
    • Add support for mode on FinancialConnections.Session.manual_entry
    • Add support for new values alipay and sequra on enums Invoice.payment_settings.payment_method_types, InvoiceCreateParams.payment_settings.payment_method_types, InvoiceUpdateParams.payment_settings.payment_method_types, QuotePreviewInvoice.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 new value stripe_internal_error on enum Issuing.Authorization.request_history[].reason
    • Add support for business_name on Issuing.Card.shipping
    • Add support for new value correos on enum Issuing.Card.shipping.carrier
    • ⚠️ Change type of Issuing.Transaction.network_data.trace_id from IssuingTransactionTraceId to IssuingTransactionTraceId | null
    • Add support for pause_schedules on QuotePreviewSubscriptionSchedule, SubscriptionScheduleCreateParams, SubscriptionScheduleUpdateParams, and SubscriptionSchedule
    • Add support for trial on QuotePreviewSubscriptionSchedule.phases[] and SubscriptionSchedule.phases[]
    • Add support for payment_record on RefundCreateParams
    • Add support for redirect_to_url on SharedPayment.IssuedToken.next_action
    • ⚠️ Change type of SharedPayment.IssuedToken.next_action.type from literal('use_stripe_sdk') to enum('redirect_to_url'|'use_stripe_sdk')
    • Add support for new values financial_connections.account.expected_deactivation_date_updated, financial_connections.account.supported_payment_method_types_updated, financial_connections.account.upcoming_deactivation, financial_connections.authorization.expected_deactivation_date_updated, and financial_connections.authorization.upcoming_deactivation on enums WebhookEndpointCreateParams.enabled_events and WebhookEndpointUpdateParams.enabled_events
    • Add support for snapshot events FinancialConnectionsAccountExpectedDeactivationDateUpdatedEvent, FinancialConnectionsAccountSupportedPaymentMethodTypesUpdatedEvent, and FinancialConnectionsAccountUpcomingDeactivationEvent with resource FinancialConnections.Account
    • Add support for snapshot events FinancialConnectionsAuthorizationExpectedDeactivationDateUpdatedEvent and FinancialConnectionsAuthorizationUpcomingDeactivationEvent with resource FinancialConnections.Authorization

See the changelog for more details.

v22.3.2

Choose a tag to compare

@xavdid xavdid released this 16 Jul 00:37
  • #2784 Replace source hash with Telemetry UUID
  • #2783 Make Error fields generated

See the changelog for more details.