|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## 22.1.0-alpha.1 - 2026-04-02 |
| 4 | +This release changes the pinned API version to 2026-04-01.preview and contains additional breaking changes. See the [GA changelog](https://github.com/stripe/stripe-node/blob/master/CHANGELOG.md#2200---2026-04-02) for more information. |
| 5 | + |
| 6 | +* [#2629](https://github.com/stripe/stripe-node/pull/2629) Update generated code for private-preview |
| 7 | + * Add support for new resources `SharedPayment.IssuedToken` and `V2.Data.Reporting.QueryRun` |
| 8 | + * Add support for `create` and `retrieve` methods on resource `V2.Data.Reporting.QueryRun` |
| 9 | + * Add support for `pause` and `resume` methods on resource `V2.Payments.OffSessionPayment` |
| 10 | + * Add support for `tenant_keys`, `tenant_operator`, and `tenant_values` on `Billing.MeterListMeterEventSummariesParams` |
| 11 | + * Add support for `fleet_data` on `ChargeCaptureParams.payment_details`, `ChargeUpdateParams.payment_details`, `PaymentIntent.payment_details`, `PaymentIntentAmountDetailsLineItem.payment_method_options.card`, `PaymentIntentCaptureParams.amount_details.line_items[].payment_method_options.card`, `PaymentIntentCaptureParams.payment_details`, `PaymentIntentConfirmParams.amount_details.line_items[].payment_method_options.card`, `PaymentIntentConfirmParams.payment_details`, `PaymentIntentCreateParams.amount_details.line_items[].payment_method_options.card`, `PaymentIntentCreateParams.payment_details`, `PaymentIntentDecrementAuthorizationParams.amount_details.line_items[].payment_method_options.card`, `PaymentIntentIncrementAuthorizationParams.amount_details.line_items[].payment_method_options.card`, `PaymentIntentUpdateParams.amount_details.line_items[].payment_method_options.card`, and `PaymentIntentUpdateParams.payment_details` |
| 12 | + * Add support for `money_services` on `ChargeCaptureParams.payment_details`, `ChargeUpdateParams.payment_details`, `PaymentIntentCaptureParams.payment_details`, `PaymentIntentConfirmParams.payment_details`, `PaymentIntentCreateParams.payment_details`, and `PaymentIntentUpdateParams.payment_details` |
| 13 | + * Add support for `payment_method_options` on `DelegatedCheckout.RequestedSessionCreateParams`, `DelegatedCheckout.RequestedSessionUpdateParams`, and `DelegatedCheckout.RequestedSession` |
| 14 | + * ⚠️ Remove support for `payment_method_data` on `DelegatedCheckout.RequestedSessionConfirmParams`, `DelegatedCheckout.RequestedSessionCreateParams`, and `DelegatedCheckout.RequestedSessionUpdateParams` |
| 15 | + * Add support for `card_brands` and `payment_method_types` on `DelegatedCheckout.RequestedSession.seller_details` |
| 16 | + * ⚠️ Change type of `DelegatedCheckout.RequestedSession.shared_payment_issued_token` from `string` to `expandable(SharedPayment.IssuedToken)` |
| 17 | + * ⚠️ Add support for new value `requires_action` on enum `DelegatedCheckout.RequestedSession.status` |
| 18 | + * Add support for `check_scan` on `Invoice.payment_settings.payment_method_options`, `InvoiceCreateParams.payment_settings.payment_method_options`, `InvoiceUpdateParams.payment_settings.payment_method_options`, `QuotePreviewInvoice.payment_settings.payment_method_options`, `Subscription.payment_settings.payment_method_options`, `SubscriptionCreateParams.payment_settings.payment_method_options`, and `SubscriptionUpdateParams.payment_settings.payment_method_options` |
| 19 | + * ⚠️ Add support for new value `check_scan` 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` |
| 20 | + * Add support for `processor_details` on `PaymentAttemptRecordReportFailedParams`, `PaymentAttemptRecordReportGuaranteedParams`, `PaymentRecordReportPaymentAttemptFailedParams`, `PaymentRecordReportPaymentAttemptGuaranteedParams`, `PaymentRecordReportPaymentAttemptParams.failed`, `PaymentRecordReportPaymentAttemptParams.guaranteed`, `PaymentRecordReportPaymentParams.failed`, and `PaymentRecordReportPaymentParams.guaranteed` |
| 21 | + * Add support for `payment_details` on `PaymentIntentConfirmParams.payment_method_options.card_present`, `PaymentIntentConfirmParams.payment_method_options.card`, `PaymentIntentCreateParams.payment_method_options.card_present`, `PaymentIntentCreateParams.payment_method_options.card`, `PaymentIntentUpdateParams.payment_method_options.card_present`, and `PaymentIntentUpdateParams.payment_method_options.card` |
| 22 | + * ⚠️ Remove support for `bill_from` on `QuotePreviewSubscriptionSchedule.billing_schedules[]`, `Subscription.billing_schedules[]`, and `SubscriptionSchedule.billing_schedules[]` |
| 23 | + * Add support for `agent_details`, `payment_method_details`, and `risk_details` on `SharedPayment.GrantedToken` |
| 24 | + * Add support for `paper_checks` on `V2.Account.configuration.recipient_data.features`, `V2.AccountCreateParams.configuration.recipient_data.features`, `V2.AccountUpdateParams.configuration.recipient_data.features`, `V2.Core.Account.configuration.recipient.capabilities`, `V2.Core.Account.configuration.storer.capabilities.outbound_payments`, `V2.Core.AccountCreateParams.configuration.recipient.capabilities`, `V2.Core.AccountCreateParams.configuration.storer.capabilities.outbound_payments`, `V2.Core.AccountUpdateParams.configuration.recipient.capabilities`, and `V2.Core.AccountUpdateParams.configuration.storer.capabilities.outbound_payments` |
| 25 | + * ⚠️ Add support for new value `paper_checks` on enum `V2.Account.configuration.supportable_features.recipient_data` |
| 26 | + * ⚠️ Add support for new value `paper_checks` on enum `V2.Account.requirements[].impact.required_for_features` |
| 27 | + * ⚠️ Change type of `V2.Billing.Cadence.settings_data.collection.payment_method_options.konbini`, `V2.Billing.CollectionSetting.payment_method_options.konbini`, `V2.Billing.CollectionSettingCreateParams.payment_method_options.konbini`, `V2.Billing.CollectionSettingUpdateParams.payment_method_options.konbini`, and `V2.Billing.CollectionSettingVersion.payment_method_options.konbini` from `map(string: dynamic)` to `an object` |
| 28 | + * ⚠️ Change type of `V2.Billing.Cadence.settings_data.collection.payment_method_options.sepa_debit`, `V2.Billing.CollectionSetting.payment_method_options.sepa_debit`, `V2.Billing.CollectionSettingCreateParams.payment_method_options.sepa_debit`, `V2.Billing.CollectionSettingUpdateParams.payment_method_options.sepa_debit`, and `V2.Billing.CollectionSettingVersion.payment_method_options.sepa_debit` from `map(string: dynamic)` to `an object` |
| 29 | + * Add support for `id` on `V2.Billing.CadenceSpendModifier.max_billing_period_spend.amount.custom_pricing_unit`, `V2.Billing.IntentAction.apply.spend_modifier_rule.max_billing_period_spend.amount.custom_pricing_unit`, and `V2.Billing.IntentCreateParams.actions[].apply.spend_modifier_rule.max_billing_period_spend.amount.custom_pricing_unit` |
| 30 | + * ⚠️ Add support for new values `outbound_payments.paper_checks` and `paper_checks` on enums `V2.Core.Account.future_requirements.entries[].impact.restricts_capabilities[].capability` and `V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability` |
| 31 | + * ⚠️ Add support for new values `bm_crn`, `bo_tin`, `bt_tpn`, `co_nit`, `ec_ruc`, `eg_tin`, `gh_tin`, `gy_tin`, `hn_rtn`, `jm_trn`, `jo_crn`, `ke_pin`, `ky_crn`, `lk_tin`, `mo_tin`, `mv_tin`, `ng_tin`, `pa_ruc`, `ph_tin`, `py_ruc`, `sl_tin`, `sv_nit`, `uy_ruc`, `vg_cn`, and `za_tin` 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` |
| 32 | + * ⚠️ Add support for new values `bm_pp`, `bo_ci`, `bt_cid`, `eg_tin`, `gh_pin`, `gy_tin`, `hn_rtn`, `jm_trn`, `jo_pin`, `ky_pp`, `lk_nic`, `mo_bir`, `mt_nic`, `mv_tin`, `pa_ruc`, `ph_tin`, `py_ruc`, `si_pin`, `sv_nit`, and `vg_pp` on enums `V2.Core.Account.identity.individual.id_numbers[].type`, `V2.Core.AccountCreateParams.identity.individual.id_numbers[].type`, `V2.Core.AccountPerson.id_numbers[].type`, `V2.Core.AccountPersonCreateParams.id_numbers[].type`, `V2.Core.AccountPersonTokenCreateParams.id_numbers[].type`, `V2.Core.AccountPersonUpdateParams.id_numbers[].type`, `V2.Core.AccountTokenCreateParams.identity.individual.id_numbers[].type`, and `V2.Core.AccountUpdateParams.identity.individual.id_numbers[].type` |
| 33 | + * ⚠️ Change type of `V2.Core.Event.reason.request.client.stripe_action` from `map(string: dynamic)` to `an object` |
| 34 | + * ⚠️ Change type of `V2.MoneyManagement.InboundTransfer.transfer_history[].bank_debit_processing` from `map(string: dynamic)` to `an object` |
| 35 | + * ⚠️ Change type of `V2.MoneyManagement.InboundTransfer.transfer_history[].bank_debit_queued` from `map(string: dynamic)` to `an object` |
| 36 | + * ⚠️ Change type of `V2.MoneyManagement.InboundTransfer.transfer_history[].bank_debit_succeeded` from `map(string: dynamic)` to `an object` |
| 37 | + * ⚠️ Add support for new values `paper_check_attachment_too_large`, `paper_check_expired`, and `paper_check_undeliverable` on enum `V2.MoneyManagement.OutboundPayment.status_details.failed.reason` |
| 38 | + * ⚠️ Remove support for `town` on `V2.MoneyManagement.OutboundPayment.tracking_details.paper_check.mailing_address` |
| 39 | + * Change `V2.MoneyManagement.OutboundPayment.delivery_options.paper_check.memo` to be required |
| 40 | + * ⚠️ Add support for new value `payout_method_amount_limit_exceeded` on enum `V2.MoneyManagement.OutboundTransfer.status_details.failed.reason` |
| 41 | + * Add support for `application_fee_amount_requested` on `V2.Payments.OffSessionPayment` |
| 42 | + * ⚠️ Remove support for `compartment_id` on `V2.Payments.OffSessionPayment` |
| 43 | + * ⚠️ Add support for new value `exceeded_retry_window` on enum `V2.Payments.OffSessionPayment.failure_reason` |
| 44 | + * Add support for `retry_until` on `V2.Payments.OffSessionPayment.retry_details` |
| 45 | + * ⚠️ Add support for new value `paused` on enum `V2.Payments.OffSessionPayment.status` |
| 46 | + * ⚠️ Change `V2.Reporting.ReportRun.result.file` to be optional |
| 47 | + * Add support for `application_fee_amount` on `V2.Payments.OffSessionPaymentCaptureParams` and `V2.Payments.OffSessionPaymentCreateParams` |
| 48 | + * ⚠️ Add support for new value `paper_checks` on enum `EventsV2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent.updated_capability` |
| 49 | + * ⚠️ Add support for new value `outbound_payments.paper_checks` on enum `EventsV2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent.updated_capability` |
| 50 | + * Add support for `alert_id` on `EventsV2CoreHealthApiErrorResolvedEvent`, `EventsV2CoreHealthApiLatencyResolvedEvent`, `EventsV2CoreHealthAuthorizationRateDropResolvedEvent`, `EventsV2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent`, `EventsV2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent`, `EventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent`, `EventsV2CoreHealthPaymentMethodErrorResolvedEvent`, `EventsV2CoreHealthSepaDebitDelayedFiringEvent`, `EventsV2CoreHealthSepaDebitDelayedResolvedEvent`, `EventsV2CoreHealthTrafficVolumeDropResolvedEvent`, and `EventsV2CoreHealthWebhookLatencyResolvedEvent` |
| 51 | + * Add support for `api_key` on `EventsV2IamApiKeyCreatedEvent`, `EventsV2IamApiKeyDefaultSecretRevealedEvent`, `EventsV2IamApiKeyExpiredEvent`, `EventsV2IamApiKeyPermissionsUpdatedEvent`, `EventsV2IamApiKeyRotatedEvent`, and `EventsV2IamApiKeyUpdatedEvent` |
| 52 | + * Add support for `stripe_access_grant` on `EventsV2IamStripeAccessGrantApprovedEvent`, `EventsV2IamStripeAccessGrantCanceledEvent`, `EventsV2IamStripeAccessGrantDeniedEvent`, `EventsV2IamStripeAccessGrantRemovedEvent`, `EventsV2IamStripeAccessGrantRequestedEvent`, and `EventsV2IamStripeAccessGrantUpdatedEvent` |
| 53 | + * Add support for event notifications `V2DataReportingQueryRunCreatedEvent`, `V2DataReportingQueryRunFailedEvent`, `V2DataReportingQueryRunSucceededEvent`, and `V2DataReportingQueryRunUpdatedEvent` with related object `V2.Data.Reporting.QueryRun` |
| 54 | + * Add support for event notifications `V2PaymentsOffSessionPaymentPausedEvent` and `V2PaymentsOffSessionPaymentResumedEvent` with related object `V2.Payments.OffSessionPayment` |
| 55 | +* [#2647](https://github.com/stripe/stripe-node/pull/2647) Merge to private-preview |
| 56 | +* [#2641](https://github.com/stripe/stripe-node/pull/2641) Merge to private-preview |
| 57 | +* [#2636](https://github.com/stripe/stripe-node/pull/2636) Prathmesh/merge node private preview |
| 58 | + |
3 | 59 | ## 21.1.0-alpha.2 - 2026-03-26 |
4 | 60 | * [#2628](https://github.com/stripe/stripe-node/pull/2628) Fix export for Stripe.Decimal in CJS and ESM. Resolves [#2625](https://github.com/stripe/stripe-node/issues/2625) |
5 | 61 |
|
|
0 commit comments