stripe 19.2.0-alpha.1 → 19.2.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +88 -44
- package/OPENAPI_VERSION +1 -1
- package/VERSION +1 -1
- package/cjs/resources/DelegatedCheckout/RequestedSessions.js +28 -0
- package/cjs/resources/Identity/BlocklistEntries.js +25 -0
- package/cjs/resources/PaymentMethods.js +4 -0
- package/cjs/resources.js +7 -1
- package/cjs/stripe.core.js +1 -1
- package/esm/resources/DelegatedCheckout/RequestedSessions.js +25 -0
- package/esm/resources/Identity/BlocklistEntries.js +22 -0
- package/esm/resources/PaymentMethods.js +4 -0
- package/esm/resources.js +6 -0
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/Cards.d.ts +14 -0
- package/types/Charges.d.ts +9 -0
- package/types/ConfirmationTokens.d.ts +14 -0
- package/types/DelegatedCheckout/RequestedSessions.d.ts +43 -0
- package/types/DelegatedCheckout/RequestedSessionsResource.d.ts +108 -0
- package/types/Identity/BlocklistEntries.d.ts +78 -0
- package/types/Identity/BlocklistEntriesResource.d.ts +146 -0
- package/types/Identity/VerificationReports.d.ts +10 -0
- package/types/Identity/VerificationReportsResource.d.ts +5 -0
- package/types/PaymentIntents.d.ts +15 -0
- package/types/PaymentIntentsResource.d.ts +63 -0
- package/types/PaymentMethodBalances.d.ts +63 -0
- package/types/PaymentMethods.d.ts +14 -0
- package/types/PaymentMethodsResource.d.ts +20 -0
- package/types/SetupIntents.d.ts +21 -0
- package/types/SetupIntentsResource.d.ts +90 -0
- package/types/V2/Core/Accounts.d.ts +838 -0
- package/types/V2/Core/AccountsResource.d.ts +977 -0
- package/types/V2/Core/EventTypes.d.ts +71 -34
- package/types/index.d.ts +9 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,47 +1,38 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 19.2.0-alpha.3 - 2025-10-17
|
|
4
|
+
* [#2463](https://github.com/stripe/stripe-node/pull/2463) Update generated code for private-preview
|
|
5
|
+
* Add support for new resources `DelegatedCheckout.RequestedSession` and `Identity.BlocklistEntry`
|
|
6
|
+
* Add support for `confirm`, `create`, `expire`, `retrieve`, and `update` methods on resource `DelegatedCheckout.RequestedSession`
|
|
7
|
+
* Add support for `create`, `disable`, `list`, and `retrieve` methods on resource `Identity.BlocklistEntry`
|
|
8
|
+
* Add support for `blocked_by_entry` on `Identity.VerificationReport.document`, `Identity.VerificationReport.selfie`, and `Identity.VerificationReportListParams`
|
|
9
|
+
|
|
10
|
+
## 19.2.0-alpha.2 - 2025-10-09
|
|
11
|
+
* [#2457](https://github.com/stripe/stripe-node/pull/2457) Update generated code for private-preview
|
|
12
|
+
* Add support for new resource `PaymentMethodBalance`
|
|
13
|
+
* Add support for `check_balance` method on resource `PaymentMethod`
|
|
14
|
+
* Add support for `benefits` on `Card`, `Charge.payment_method_details.card`, `ConfirmationToken.payment_method_preview.card`, and `PaymentMethod.card`
|
|
15
|
+
* Add support for `benefit` on `PaymentIntent.payment_details`, `PaymentIntentConfirmParams.payment_details`, `PaymentIntentCreateParams.payment_details`, and `PaymentIntentUpdateParams.payment_details`
|
|
16
|
+
* Add support for `setup_details` on `SetupIntentConfirmParams`, `SetupIntentCreateParams`, `SetupIntentUpdateParams`, and `SetupIntent`
|
|
17
|
+
* Add support for new value `card_creator` on enums `V2.Core.Account.applied_configurations` and `V2.Core.AccountCloseParams.applied_configurations`
|
|
18
|
+
* Add support for `card_creator` on `V2.Core.Account.configuration`, `V2.Core.Account.identity.attestations.terms_of_service`, `V2.Core.AccountCreateParams.configuration`, `V2.Core.AccountCreateParams.identity.attestations.terms_of_service`, `V2.Core.AccountUpdateParams.configuration`, and `V2.Core.AccountUpdateParams.identity.attestations.terms_of_service`
|
|
19
|
+
* Add support for new values `commercial.celtic.charge_card`, `commercial.celtic.spend_card`, `commercial.cross_river_bank.charge_card`, `commercial.cross_river_bank.spend_card`, `commercial.stripe.charge_card`, and `commercial.stripe.prepaid_card` on enum `V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability`
|
|
20
|
+
* Add support for new value `card_creator` on enum `V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].configuration`
|
|
21
|
+
* Add support for new value `configuration.card_creator` on enums `V2.Core.AccountCreateParams.include`, `V2.Core.AccountRetrieveParams.include`, and `V2.Core.AccountUpdateParams.include`
|
|
22
|
+
* Add support for thin events `V2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEvent` and `V2CoreAccountIncludingConfigurationCardCreatorUpdatedEvent` with related object `V2.Core.Account`
|
|
23
|
+
* Remove support for thin events `V1CustomerDiscountCreatedEvent`, `V1CustomerDiscountDeletedEvent`, and `V1CustomerDiscountUpdatedEvent` with related object `Discount`
|
|
24
|
+
* [#2449](https://github.com/stripe/stripe-node/pull/2449) Update changelog for private preview
|
|
25
|
+
|
|
3
26
|
## 19.2.0-alpha.1 - 2025-10-03
|
|
4
27
|
* Contains bug fixes and improvements from [v19.1.0](https://github.com/stripe/stripe-node/blob/master/CHANGELOG.md#1910---2025-10-03).
|
|
5
28
|
|
|
6
|
-
## 19.1.0
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
* [#
|
|
12
|
-
|
|
13
|
-
* Add support for `acknowledge`, `create`, `recipient_verifications`, and `retrieve` methods on resource `V2.MoneyManagement.RecipientVerification`
|
|
14
|
-
* Add support for `update` method on resources `V2.Billing.PricingPlanSubscription` and `V2.Billing.ServiceAction`
|
|
15
|
-
* Add support for `crypto_wallets` 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.AccountCreateParams.configuration.recipient.capabilities`, and `V2.Core.AccountUpdateParams.configuration.recipient.capabilities`
|
|
16
|
-
* Add support for new value `crypto` on enum `V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability`
|
|
17
|
-
* Add support for new value `crypto_wallet` on enum `V2.Account.configuration.recipient_data.default_outbound_destination.type`
|
|
18
|
-
* Add support for new value `crypto_wallets` on enum `V2.Account.configuration.supportable_features.recipient_data`
|
|
19
|
-
* Add support for new value `crypto_wallets` on enum `V2.Account.requirements[].impact.required_for_features`
|
|
20
|
-
* Add support for `lookup_key` on `V2.Billing.CadenceCreateParams`, `V2.Billing.CadenceUpdateParams`, and `V2.Billing.Cadence`
|
|
21
|
-
* Add support for `settings_data` on `V2.Billing.Cadence`
|
|
22
|
-
* Change type of `V2.Billing.Cadence.payer.billing_profile` from `string | null` to `string`
|
|
23
|
-
* Add support for `v1_event_id` on `V2.Core.Event`
|
|
24
|
-
* Add support for `recipient_verification` on `V2.MoneyManagement.OutboundPaymentCreateParams`, `V2.MoneyManagement.OutboundPayment`, `V2.MoneyManagement.OutboundTransferCreateParams`, and `V2.MoneyManagement.OutboundTransfer`
|
|
25
|
-
* Add support for `crypto_wallet` on `V2.MoneyManagement.OutboundSetupIntentCreateParams.payout_method_data` and `V2.MoneyManagement.PayoutMethod`
|
|
26
|
-
* Add support for `custom_pricing_unit_details` on `V2.Billing.RateCardRate.custom_pricing_unit_amount`, `V2.Billing.ServiceAction.credit_grant.amount.custom_pricing_unit`, and `V2.Billing.ServiceAction.credit_grant_per_tenant.amount.custom_pricing_unit`
|
|
27
|
-
* Add support for `origin_type` on `V2.MoneyManagement.ReceivedDebit.bank_transfer`
|
|
28
|
-
* Add support for new value `sepa_credit_transfer` on enum `V2.FinancialAddressCreditSimulationCreditParams.network`
|
|
29
|
-
* Add support for new value `credentials.sepa_bank_account.iban` on enums `V2.MoneyManagement.FinancialAddressListParams.include` and `V2.MoneyManagement.FinancialAddressRetrieveParams.include`
|
|
30
|
-
* Add support for `sepa_bank_account` on `V2.MoneyManagement.FinancialAddressCreateParams`
|
|
31
|
-
* Remove support for `price` on `V2.Billing.RateCardRateCreateParams`
|
|
32
|
-
* Change `V2.Billing.LicenseFeeUpdateParams.display_name` to be optional
|
|
33
|
-
* Add support for `lookup_keys` on `V2.Billing.CadenceListParams`
|
|
34
|
-
* Change type of `V2.Billing.CadenceCancelParams.include`, `V2.Billing.CadenceCreateParams.include`, `V2.Billing.CadenceListParams.include`, `V2.Billing.CadenceRetrieveParams.include`, and `V2.Billing.CadenceUpdateParams.include` from `literal('invoice_discount_rules')` to `enum('invoice_discount_rules'|'settings_data')`
|
|
35
|
-
* Remove support for `customer` and `type` on `V2.Billing.CadenceCreateParams.payer`
|
|
36
|
-
* Change `V2.Billing.CadenceCreateParams.payer.billing_profile` to be required
|
|
37
|
-
* Add support for new value `crypto_wallets` on enum `EventsAccountConfigurationRecipientDataFeatureStatusUpdatedEvent.feature_name`
|
|
38
|
-
* Add support for new value `crypto_wallets_v2` on enum `EventsV2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent.updated_capability`
|
|
39
|
-
* Remove support for `alert_id` on `EventsV2CoreHealthApiErrorResolvedEvent`, `EventsV2CoreHealthApiLatencyResolvedEvent`, `EventsV2CoreHealthAuthorizationRateDropResolvedEvent`, `EventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent`, `EventsV2CoreHealthPaymentMethodErrorResolvedEvent`, `EventsV2CoreHealthTrafficVolumeDropResolvedEvent`, and `EventsV2CoreHealthWebhookLatencyResolvedEvent`
|
|
40
|
-
* Add support for thin event `V1AccountUpdatedEvent` with related object `V2.Account`
|
|
41
|
-
* Add support for thin events `V1ApplicationFeeCreatedEvent`, `V1ApplicationFeeRefundedEvent`, `V1BillingPortalConfigurationCreatedEvent`, `V1BillingPortalConfigurationUpdatedEvent`, `V1CapabilityUpdatedEvent`, `V1ChargeCapturedEvent`, `V1ChargeDisputeClosedEvent`, `V1ChargeDisputeCreatedEvent`, `V1ChargeDisputeFundsReinstatedEvent`, `V1ChargeDisputeFundsWithdrawnEvent`, `V1ChargeDisputeUpdatedEvent`, `V1ChargeExpiredEvent`, `V1ChargeFailedEvent`, `V1ChargePendingEvent`, `V1ChargeRefundUpdatedEvent`, `V1ChargeRefundedEvent`, `V1ChargeSucceededEvent`, `V1ChargeUpdatedEvent`, `V1CheckoutSessionAsyncPaymentFailedEvent`, `V1CheckoutSessionAsyncPaymentSucceededEvent`, `V1CheckoutSessionCompletedEvent`, `V1CheckoutSessionExpiredEvent`, `V1ClimateOrderCanceledEvent`, `V1ClimateOrderCreatedEvent`, `V1ClimateOrderDelayedEvent`, `V1ClimateOrderDeliveredEvent`, `V1ClimateOrderProductSubstitutedEvent`, `V1ClimateProductCreatedEvent`, `V1ClimateProductPricingUpdatedEvent`, `V1CouponCreatedEvent`, `V1CouponDeletedEvent`, `V1CouponUpdatedEvent`, `V1CreditNoteCreatedEvent`, `V1CreditNoteUpdatedEvent`, `V1CreditNoteVoidedEvent`, `V1CustomerCreatedEvent`, `V1CustomerDeletedEvent`, `V1CustomerDiscountCreatedEvent`, `V1CustomerDiscountDeletedEvent`, `V1CustomerDiscountUpdatedEvent`, `V1CustomerSubscriptionCreatedEvent`, `V1CustomerSubscriptionDeletedEvent`, `V1CustomerSubscriptionPausedEvent`, `V1CustomerSubscriptionPendingUpdateAppliedEvent`, `V1CustomerSubscriptionPendingUpdateExpiredEvent`, `V1CustomerSubscriptionResumedEvent`, `V1CustomerSubscriptionTrialWillEndEvent`, `V1CustomerSubscriptionUpdatedEvent`, `V1CustomerTaxIdCreatedEvent`, `V1CustomerTaxIdDeletedEvent`, `V1CustomerTaxIdUpdatedEvent`, `V1CustomerUpdatedEvent`, `V1FileCreatedEvent`, `V1FinancialConnectionsAccountCreatedEvent`, `V1FinancialConnectionsAccountDeactivatedEvent`, `V1FinancialConnectionsAccountDisconnectedEvent`, `V1FinancialConnectionsAccountReactivatedEvent`, `V1FinancialConnectionsAccountRefreshedBalanceEvent`, `V1FinancialConnectionsAccountRefreshedOwnershipEvent`, `V1FinancialConnectionsAccountRefreshedTransactionsEvent`, `V1IdentityVerificationSessionCanceledEvent`, `V1IdentityVerificationSessionCreatedEvent`, `V1IdentityVerificationSessionProcessingEvent`, `V1IdentityVerificationSessionRedactedEvent`, `V1IdentityVerificationSessionRequiresInputEvent`, `V1IdentityVerificationSessionVerifiedEvent`, `V1InvoiceCreatedEvent`, `V1InvoiceDeletedEvent`, `V1InvoiceFinalizationFailedEvent`, `V1InvoiceFinalizedEvent`, `V1InvoiceMarkedUncollectibleEvent`, `V1InvoiceOverdueEvent`, `V1InvoiceOverpaidEvent`, `V1InvoicePaidEvent`, `V1InvoicePaymentActionRequiredEvent`, `V1InvoicePaymentFailedEvent`, `V1InvoicePaymentPaidEvent`, `V1InvoicePaymentSucceededEvent`, `V1InvoiceSentEvent`, `V1InvoiceUpcomingEvent`, `V1InvoiceUpdatedEvent`, `V1InvoiceVoidedEvent`, `V1InvoiceWillBeDueEvent`, `V1InvoiceitemCreatedEvent`, `V1InvoiceitemDeletedEvent`, `V1IssuingAuthorizationCreatedEvent`, `V1IssuingAuthorizationRequestEvent`, `V1IssuingAuthorizationUpdatedEvent`, `V1IssuingCardCreatedEvent`, `V1IssuingCardUpdatedEvent`, `V1IssuingCardholderCreatedEvent`, `V1IssuingCardholderUpdatedEvent`, `V1IssuingDisputeClosedEvent`, `V1IssuingDisputeCreatedEvent`, `V1IssuingDisputeFundsReinstatedEvent`, `V1IssuingDisputeFundsRescindedEvent`, `V1IssuingDisputeSubmittedEvent`, `V1IssuingDisputeUpdatedEvent`, `V1IssuingPersonalizationDesignActivatedEvent`, `V1IssuingPersonalizationDesignDeactivatedEvent`, `V1IssuingPersonalizationDesignRejectedEvent`, `V1IssuingPersonalizationDesignUpdatedEvent`, `V1IssuingTokenCreatedEvent`, `V1IssuingTokenUpdatedEvent`, `V1IssuingTransactionCreatedEvent`, `V1IssuingTransactionPurchaseDetailsReceiptUpdatedEvent`, `V1IssuingTransactionUpdatedEvent`, `V1MandateUpdatedEvent`, `V1PaymentIntentAmountCapturableUpdatedEvent`, `V1PaymentIntentCanceledEvent`, `V1PaymentIntentCreatedEvent`, `V1PaymentIntentPartiallyFundedEvent`, `V1PaymentIntentPaymentFailedEvent`, `V1PaymentIntentProcessingEvent`, `V1PaymentIntentRequiresActionEvent`, `V1PaymentIntentSucceededEvent`, `V1PaymentLinkCreatedEvent`, `V1PaymentLinkUpdatedEvent`, `V1PaymentMethodAttachedEvent`, `V1PaymentMethodAutomaticallyUpdatedEvent`, `V1PaymentMethodDetachedEvent`, `V1PaymentMethodUpdatedEvent`, `V1PayoutCanceledEvent`, `V1PayoutCreatedEvent`, `V1PayoutFailedEvent`, `V1PayoutPaidEvent`, `V1PayoutReconciliationCompletedEvent`, `V1PayoutUpdatedEvent`, `V1PersonCreatedEvent`, `V1PersonDeletedEvent`, `V1PersonUpdatedEvent`, `V1PlanCreatedEvent`, `V1PlanDeletedEvent`, `V1PlanUpdatedEvent`, `V1PriceCreatedEvent`, `V1PriceDeletedEvent`, `V1PriceUpdatedEvent`, `V1ProductCreatedEvent`, `V1ProductDeletedEvent`, `V1ProductUpdatedEvent`, `V1PromotionCodeCreatedEvent`, `V1PromotionCodeUpdatedEvent`, `V1QuoteAcceptedEvent`, `V1QuoteCanceledEvent`, `V1QuoteCreatedEvent`, `V1QuoteFinalizedEvent`, `V1RadarEarlyFraudWarningCreatedEvent`, `V1RadarEarlyFraudWarningUpdatedEvent`, `V1RefundCreatedEvent`, `V1RefundFailedEvent`, `V1RefundUpdatedEvent`, `V1ReviewClosedEvent`, `V1ReviewOpenedEvent`, `V1SetupIntentCanceledEvent`, `V1SetupIntentCreatedEvent`, `V1SetupIntentRequiresActionEvent`, `V1SetupIntentSetupFailedEvent`, `V1SetupIntentSucceededEvent`, `V1SigmaScheduledQueryRunCreatedEvent`, `V1SourceCanceledEvent`, `V1SourceChargeableEvent`, `V1SourceFailedEvent`, `V1SourceRefundAttributesRequiredEvent`, `V1SubscriptionScheduleAbortedEvent`, `V1SubscriptionScheduleCanceledEvent`, `V1SubscriptionScheduleCompletedEvent`, `V1SubscriptionScheduleCreatedEvent`, `V1SubscriptionScheduleExpiringEvent`, `V1SubscriptionScheduleReleasedEvent`, `V1SubscriptionScheduleUpdatedEvent`, `V1TaxRateCreatedEvent`, `V1TaxRateUpdatedEvent`, `V1TerminalReaderActionFailedEvent`, `V1TerminalReaderActionSucceededEvent`, `V1TerminalReaderActionUpdatedEvent`, `V1TestHelpersTestClockAdvancingEvent`, `V1TestHelpersTestClockCreatedEvent`, `V1TestHelpersTestClockDeletedEvent`, `V1TestHelpersTestClockInternalFailureEvent`, `V1TestHelpersTestClockReadyEvent`, `V1TopupCanceledEvent`, `V1TopupCreatedEvent`, `V1TopupFailedEvent`, `V1TopupReversedEvent`, `V1TopupSucceededEvent`, `V1TransferCreatedEvent`, `V1TransferReversedEvent`, `V1TransferUpdatedEvent`, `V2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent`, and `V2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent`
|
|
42
|
-
* Add support for thin event `V2CoreClaimableSandboxCreatedEvent` with related object `V2.Core.ClaimableSandbox`
|
|
43
|
-
* Add support for thin events `V2MoneyManagementRecipientVerificationCreatedEvent` and `V2MoneyManagementRecipientVerificationUpdatedEvent` with related object `V2.MoneyManagement.RecipientVerification`
|
|
44
|
-
* Add support for error code `account_rate_limit_exceeded` on `RateLimitError`
|
|
29
|
+
## 19.1.0 - 2025-10-03
|
|
30
|
+
* [#2453](https://github.com/stripe/stripe-node/pull/2453) add missing fetchEvent type for UnknownEventNotification
|
|
31
|
+
|
|
32
|
+
- Add missing `fetchEvent()` declaration to the `Stripe.Events.UnknownEventNotification` interface
|
|
33
|
+
- Tweak `Stripe.Events.fetchRelatedObject` so that it's always defined and returns `null` if there's no `related_object`. This fixes the situation where the `UnknownEventNotification` says that `fetchRelatedObject()` is defined, but calling it throws an error.
|
|
34
|
+
* [#2447](https://github.com/stripe/stripe-node/pull/2447) Update param in deprecation docs link
|
|
35
|
+
* [#2444](https://github.com/stripe/stripe-node/pull/2444) Update CHANGELOG.md to point to right API version
|
|
45
36
|
|
|
46
37
|
## 19.1.0-beta.1 - 2025-09-30
|
|
47
38
|
This release changes the pinned API version to `2025-09-30.preview`. It is built on top of SDK version 19.0.0 which contains breaking changes. Please review the [changelog for 19.0.0](https://github.com/stripe/stripe-go/blob/master/CHANGELOG.md#1900---2025-09-30) if upgrading from older SDK versions.
|
|
@@ -109,6 +100,59 @@ This release changes the pinned API version to `2025-09-30.preview`. It is built
|
|
|
109
100
|
* Add support for `billed_until` on `SubscriptionItem`
|
|
110
101
|
* Add support for error codes `financial_connections_account_pending_account_numbers` and `financial_connections_account_unavailable_account_numbers` on `QuotePreviewInvoice.last_finalization_error`
|
|
111
102
|
|
|
103
|
+
## 19.1.0-alpha.1 - 2025-09-30
|
|
104
|
+
This release changes the pinned API version to `2025-09-30.preview`. It is built on top of SDK version 19.0.0 and 19.1.0-beta.1 which contain breaking changes. Please review the changelog for these versions if upgrading from older SDK versions.
|
|
105
|
+
|
|
106
|
+
* [#2417](https://github.com/stripe/stripe-node/pull/2417) parseThinEvent__experimental is no longer needed
|
|
107
|
+
* ⚠️ Remove the `StripeClient.parseThinEvent__experimental` and `PushedThinEvent` classes. They've been replaced with `StripeClient.parseEventNotification` and the *`EventNotification` classes respectively.
|
|
108
|
+
* [#2419](https://github.com/stripe/stripe-node/pull/2419) Update generated code for private-preview
|
|
109
|
+
* Add support for `paypay_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
|
|
110
|
+
* Remove support for values `saturday` and `sunday` from enums `Account.settings.payouts.schedule.weekly_payout_days`, `AccountCreateParams.settings.payouts.schedule.weekly_payout_days`, `AccountUpdateParams.settings.payouts.schedule.weekly_payout_days`
|
|
111
|
+
* Add support for `credit_grants` on `Billing.AlertCreateParams.credit_balance_threshold.filters[]`
|
|
112
|
+
* Add support for `paypay` on `Charge.payment_method_details`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.testHelpers.payment_method_data`, `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_data`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_data`, `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_data`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, `PaymentMethodConfiguration`, `PaymentMethodCreateParams`, `PaymentMethod`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data`
|
|
113
|
+
* Add support for `location` and `reader` on `Charge.payment_method_details.paynow`
|
|
114
|
+
* Add support for new value `paypay` on enum `Checkout.SessionCreateParams.payment_method_types`
|
|
115
|
+
* Add support for new value `paypay` 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`
|
|
116
|
+
* Add support for new value `paypay` on enums `ConfirmationToken.payment_method_preview.type` and `PaymentMethod.type`
|
|
117
|
+
* Add support for new value `paypay` on enums `CustomerListPaymentMethodsParams.type`, `PaymentMethodCreateParams.type`, and `PaymentMethodListParams.type`
|
|
118
|
+
* Add support for new value `paypay` on enums `PaymentIntent.excluded_payment_method_types` and `PaymentIntentCreateParams.excluded_payment_method_types`
|
|
119
|
+
* Add support for new value `paypay` on enums `PaymentLink.payment_method_types`, `PaymentLinkCreateParams.payment_method_types`, and `PaymentLinkUpdateParams.payment_method_types`
|
|
120
|
+
* Add support for `billing_cadence` on `InvoiceListParams`
|
|
121
|
+
* Add support for `payment_record_refund` and `type` on `CreditNote.refunds[]`, `CreditNoteCreateParams.refunds[]`, `CreditNotePreviewLinesParams.refunds[]`, and `CreditNotePreviewParams.refunds[]`
|
|
122
|
+
* [#2409](https://github.com/stripe/stripe-node/pull/2409) Update generated code for private-preview
|
|
123
|
+
* Add support for new resource `V2.MoneyManagement.RecipientVerification`
|
|
124
|
+
* Add support for `acknowledge`, `create`, `recipient_verifications`, and `retrieve` methods on resource `V2.MoneyManagement.RecipientVerification`
|
|
125
|
+
* Add support for `update` method on resources `V2.Billing.PricingPlanSubscription` and `V2.Billing.ServiceAction`
|
|
126
|
+
* Add support for `crypto_wallets` 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.AccountCreateParams.configuration.recipient.capabilities`, and `V2.Core.AccountUpdateParams.configuration.recipient.capabilities`
|
|
127
|
+
* Add support for new value `crypto` on enum `V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability`
|
|
128
|
+
* Add support for new value `crypto_wallet` on enum `V2.Account.configuration.recipient_data.default_outbound_destination.type`
|
|
129
|
+
* Add support for new value `crypto_wallets` on enum `V2.Account.configuration.supportable_features.recipient_data`
|
|
130
|
+
* Add support for new value `crypto_wallets` on enum `V2.Account.requirements[].impact.required_for_features`
|
|
131
|
+
* Add support for `lookup_key` on `V2.Billing.CadenceCreateParams`, `V2.Billing.CadenceUpdateParams`, and `V2.Billing.Cadence`
|
|
132
|
+
* Add support for `settings_data` on `V2.Billing.Cadence`
|
|
133
|
+
* Change type of `V2.Billing.Cadence.payer.billing_profile` from `string | null` to `string`
|
|
134
|
+
* Add support for `v1_event_id` on `V2.Core.Event`
|
|
135
|
+
* Add support for `recipient_verification` on `V2.MoneyManagement.OutboundPaymentCreateParams`, `V2.MoneyManagement.OutboundPayment`, `V2.MoneyManagement.OutboundTransferCreateParams`, and `V2.MoneyManagement.OutboundTransfer`
|
|
136
|
+
* Add support for `crypto_wallet` on `V2.MoneyManagement.OutboundSetupIntentCreateParams.payout_method_data` and `V2.MoneyManagement.PayoutMethod`
|
|
137
|
+
* Add support for `custom_pricing_unit_details` on `V2.Billing.RateCardRate.custom_pricing_unit_amount`, `V2.Billing.ServiceAction.credit_grant.amount.custom_pricing_unit`, and `V2.Billing.ServiceAction.credit_grant_per_tenant.amount.custom_pricing_unit`
|
|
138
|
+
* Add support for `origin_type` on `V2.MoneyManagement.ReceivedDebit.bank_transfer`
|
|
139
|
+
* Add support for new value `sepa_credit_transfer` on enum `V2.FinancialAddressCreditSimulationCreditParams.network`
|
|
140
|
+
* Add support for new value `credentials.sepa_bank_account.iban` on enums `V2.MoneyManagement.FinancialAddressListParams.include` and `V2.MoneyManagement.FinancialAddressRetrieveParams.include`
|
|
141
|
+
* Add support for `sepa_bank_account` on `V2.MoneyManagement.FinancialAddressCreateParams`
|
|
142
|
+
* Remove support for `price` on `V2.Billing.RateCardRateCreateParams`
|
|
143
|
+
* Add support for `lookup_keys` on `V2.Billing.CadenceListParams`
|
|
144
|
+
* Change type of `V2.Billing.CadenceCancelParams.include`, `V2.Billing.CadenceCreateParams.include`, `V2.Billing.CadenceListParams.include`, `V2.Billing.CadenceRetrieveParams.include`, and `V2.Billing.CadenceUpdateParams.include` from `literal('invoice_discount_rules')` to `enum('invoice_discount_rules'|'settings_data')`
|
|
145
|
+
* Remove support for `customer` and `type` on `V2.Billing.CadenceCreateParams.payer`
|
|
146
|
+
* Change `V2.Billing.CadenceCreateParams.payer.billing_profile` to be required
|
|
147
|
+
* Add support for new value `crypto_wallets` on enum `EventsAccountConfigurationRecipientDataFeatureStatusUpdatedEvent.feature_name`
|
|
148
|
+
* Add support for new value `crypto_wallets_v2` on enum `EventsV2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent.updated_capability`
|
|
149
|
+
* Remove support for `alert_id` on `EventsV2CoreHealthApiErrorResolvedEvent`, `EventsV2CoreHealthApiLatencyResolvedEvent`, `EventsV2CoreHealthAuthorizationRateDropResolvedEvent`, `EventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent`, `EventsV2CoreHealthPaymentMethodErrorResolvedEvent`, `EventsV2CoreHealthTrafficVolumeDropResolvedEvent`, and `EventsV2CoreHealthWebhookLatencyResolvedEvent`
|
|
150
|
+
* Add support for thin event `V1AccountUpdatedEvent` with related object `V2.Account`
|
|
151
|
+
* Add support for thin events `V1ApplicationFeeCreatedEvent`, `V1ApplicationFeeRefundedEvent`, `V1BillingPortalConfigurationCreatedEvent`, `V1BillingPortalConfigurationUpdatedEvent`, `V1CapabilityUpdatedEvent`, `V1ChargeCapturedEvent`, `V1ChargeDisputeClosedEvent`, `V1ChargeDisputeCreatedEvent`, `V1ChargeDisputeFundsReinstatedEvent`, `V1ChargeDisputeFundsWithdrawnEvent`, `V1ChargeDisputeUpdatedEvent`, `V1ChargeExpiredEvent`, `V1ChargeFailedEvent`, `V1ChargePendingEvent`, `V1ChargeRefundUpdatedEvent`, `V1ChargeRefundedEvent`, `V1ChargeSucceededEvent`, `V1ChargeUpdatedEvent`, `V1CheckoutSessionAsyncPaymentFailedEvent`, `V1CheckoutSessionAsyncPaymentSucceededEvent`, `V1CheckoutSessionCompletedEvent`, `V1CheckoutSessionExpiredEvent`, `V1ClimateOrderCanceledEvent`, `V1ClimateOrderCreatedEvent`, `V1ClimateOrderDelayedEvent`, `V1ClimateOrderDeliveredEvent`, `V1ClimateOrderProductSubstitutedEvent`, `V1ClimateProductCreatedEvent`, `V1ClimateProductPricingUpdatedEvent`, `V1CouponCreatedEvent`, `V1CouponDeletedEvent`, `V1CouponUpdatedEvent`, `V1CreditNoteCreatedEvent`, `V1CreditNoteUpdatedEvent`, `V1CreditNoteVoidedEvent`, `V1CustomerCreatedEvent`, `V1CustomerDeletedEvent`, `V1CustomerDiscountCreatedEvent`, `V1CustomerDiscountDeletedEvent`, `V1CustomerDiscountUpdatedEvent`, `V1CustomerSubscriptionCreatedEvent`, `V1CustomerSubscriptionDeletedEvent`, `V1CustomerSubscriptionPausedEvent`, `V1CustomerSubscriptionPendingUpdateAppliedEvent`, `V1CustomerSubscriptionPendingUpdateExpiredEvent`, `V1CustomerSubscriptionResumedEvent`, `V1CustomerSubscriptionTrialWillEndEvent`, `V1CustomerSubscriptionUpdatedEvent`, `V1CustomerTaxIdCreatedEvent`, `V1CustomerTaxIdDeletedEvent`, `V1CustomerTaxIdUpdatedEvent`, `V1CustomerUpdatedEvent`, `V1FileCreatedEvent`, `V1FinancialConnectionsAccountCreatedEvent`, `V1FinancialConnectionsAccountDeactivatedEvent`, `V1FinancialConnectionsAccountDisconnectedEvent`, `V1FinancialConnectionsAccountReactivatedEvent`, `V1FinancialConnectionsAccountRefreshedBalanceEvent`, `V1FinancialConnectionsAccountRefreshedOwnershipEvent`, `V1FinancialConnectionsAccountRefreshedTransactionsEvent`, `V1IdentityVerificationSessionCanceledEvent`, `V1IdentityVerificationSessionCreatedEvent`, `V1IdentityVerificationSessionProcessingEvent`, `V1IdentityVerificationSessionRedactedEvent`, `V1IdentityVerificationSessionRequiresInputEvent`, `V1IdentityVerificationSessionVerifiedEvent`, `V1InvoiceCreatedEvent`, `V1InvoiceDeletedEvent`, `V1InvoiceFinalizationFailedEvent`, `V1InvoiceFinalizedEvent`, `V1InvoiceMarkedUncollectibleEvent`, `V1InvoiceOverdueEvent`, `V1InvoiceOverpaidEvent`, `V1InvoicePaidEvent`, `V1InvoicePaymentActionRequiredEvent`, `V1InvoicePaymentFailedEvent`, `V1InvoicePaymentPaidEvent`, `V1InvoicePaymentSucceededEvent`, `V1InvoiceSentEvent`, `V1InvoiceUpcomingEvent`, `V1InvoiceUpdatedEvent`, `V1InvoiceVoidedEvent`, `V1InvoiceWillBeDueEvent`, `V1InvoiceitemCreatedEvent`, `V1InvoiceitemDeletedEvent`, `V1IssuingAuthorizationCreatedEvent`, `V1IssuingAuthorizationRequestEvent`, `V1IssuingAuthorizationUpdatedEvent`, `V1IssuingCardCreatedEvent`, `V1IssuingCardUpdatedEvent`, `V1IssuingCardholderCreatedEvent`, `V1IssuingCardholderUpdatedEvent`, `V1IssuingDisputeClosedEvent`, `V1IssuingDisputeCreatedEvent`, `V1IssuingDisputeFundsReinstatedEvent`, `V1IssuingDisputeFundsRescindedEvent`, `V1IssuingDisputeSubmittedEvent`, `V1IssuingDisputeUpdatedEvent`, `V1IssuingPersonalizationDesignActivatedEvent`, `V1IssuingPersonalizationDesignDeactivatedEvent`, `V1IssuingPersonalizationDesignRejectedEvent`, `V1IssuingPersonalizationDesignUpdatedEvent`, `V1IssuingTokenCreatedEvent`, `V1IssuingTokenUpdatedEvent`, `V1IssuingTransactionCreatedEvent`, `V1IssuingTransactionPurchaseDetailsReceiptUpdatedEvent`, `V1IssuingTransactionUpdatedEvent`, `V1MandateUpdatedEvent`, `V1PaymentIntentAmountCapturableUpdatedEvent`, `V1PaymentIntentCanceledEvent`, `V1PaymentIntentCreatedEvent`, `V1PaymentIntentPartiallyFundedEvent`, `V1PaymentIntentPaymentFailedEvent`, `V1PaymentIntentProcessingEvent`, `V1PaymentIntentRequiresActionEvent`, `V1PaymentIntentSucceededEvent`, `V1PaymentLinkCreatedEvent`, `V1PaymentLinkUpdatedEvent`, `V1PaymentMethodAttachedEvent`, `V1PaymentMethodAutomaticallyUpdatedEvent`, `V1PaymentMethodDetachedEvent`, `V1PaymentMethodUpdatedEvent`, `V1PayoutCanceledEvent`, `V1PayoutCreatedEvent`, `V1PayoutFailedEvent`, `V1PayoutPaidEvent`, `V1PayoutReconciliationCompletedEvent`, `V1PayoutUpdatedEvent`, `V1PersonCreatedEvent`, `V1PersonDeletedEvent`, `V1PersonUpdatedEvent`, `V1PlanCreatedEvent`, `V1PlanDeletedEvent`, `V1PlanUpdatedEvent`, `V1PriceCreatedEvent`, `V1PriceDeletedEvent`, `V1PriceUpdatedEvent`, `V1ProductCreatedEvent`, `V1ProductDeletedEvent`, `V1ProductUpdatedEvent`, `V1PromotionCodeCreatedEvent`, `V1PromotionCodeUpdatedEvent`, `V1QuoteAcceptedEvent`, `V1QuoteCanceledEvent`, `V1QuoteCreatedEvent`, `V1QuoteFinalizedEvent`, `V1RadarEarlyFraudWarningCreatedEvent`, `V1RadarEarlyFraudWarningUpdatedEvent`, `V1RefundCreatedEvent`, `V1RefundFailedEvent`, `V1RefundUpdatedEvent`, `V1ReviewClosedEvent`, `V1ReviewOpenedEvent`, `V1SetupIntentCanceledEvent`, `V1SetupIntentCreatedEvent`, `V1SetupIntentRequiresActionEvent`, `V1SetupIntentSetupFailedEvent`, `V1SetupIntentSucceededEvent`, `V1SigmaScheduledQueryRunCreatedEvent`, `V1SourceCanceledEvent`, `V1SourceChargeableEvent`, `V1SourceFailedEvent`, `V1SourceRefundAttributesRequiredEvent`, `V1SubscriptionScheduleAbortedEvent`, `V1SubscriptionScheduleCanceledEvent`, `V1SubscriptionScheduleCompletedEvent`, `V1SubscriptionScheduleCreatedEvent`, `V1SubscriptionScheduleExpiringEvent`, `V1SubscriptionScheduleReleasedEvent`, `V1SubscriptionScheduleUpdatedEvent`, `V1TaxRateCreatedEvent`, `V1TaxRateUpdatedEvent`, `V1TerminalReaderActionFailedEvent`, `V1TerminalReaderActionSucceededEvent`, `V1TerminalReaderActionUpdatedEvent`, `V1TestHelpersTestClockAdvancingEvent`, `V1TestHelpersTestClockCreatedEvent`, `V1TestHelpersTestClockDeletedEvent`, `V1TestHelpersTestClockInternalFailureEvent`, `V1TestHelpersTestClockReadyEvent`, `V1TopupCanceledEvent`, `V1TopupCreatedEvent`, `V1TopupFailedEvent`, `V1TopupReversedEvent`, `V1TopupSucceededEvent`, `V1TransferCreatedEvent`, `V1TransferReversedEvent`, `V1TransferUpdatedEvent`, `V2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent`, and `V2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent`
|
|
152
|
+
* Add support for thin event `V2CoreClaimableSandboxCreatedEvent` with related object `V2.Core.ClaimableSandbox`
|
|
153
|
+
* Add support for thin events `V2MoneyManagementRecipientVerificationCreatedEvent` and `V2MoneyManagementRecipientVerificationUpdatedEvent` with related object `V2.MoneyManagement.RecipientVerification`
|
|
154
|
+
* Add support for error code `account_rate_limit_exceeded` on `RateLimitError`
|
|
155
|
+
|
|
112
156
|
## 19.0.0 - 2025-09-30
|
|
113
157
|
This release changes the pinned API version to `2025-09-30.clover` and contains breaking changes (prefixed with ⚠️ below)
|
|
114
158
|
|
|
@@ -185,14 +229,14 @@ This release changes the pinned API version to `2025-09-30.clover` and contains
|
|
|
185
229
|
|
|
186
230
|
* [#2404](https://github.com/stripe/stripe-node/pull/2404) Update generated code for private-preview
|
|
187
231
|
* Add support for `retrieve` method on resource `V2.Core.ClaimableSandbox`
|
|
188
|
-
* Add support for `month_of_year` on `V2.Billing.Cadence
|
|
232
|
+
* Add support for `month_of_year` on `V2.Billing.Cadence.billing_cycle.month` and `V2.Billing.CadenceCreateParams.billing_cycle.month`
|
|
189
233
|
* Add support for `claimed_at`, `expires_at`, `sandbox_details`, and `status` on `V2.Core.ClaimableSandbox`
|
|
190
234
|
* Remove support for `api_keys` on `V2.Core.ClaimableSandbox`
|
|
191
|
-
* Change type of `V2.Core.ClaimableSandbox.claim_url` from `string` to `
|
|
192
|
-
* Add support for new value `current_billing_period_end` on enums `V2.Billing.
|
|
235
|
+
* Change type of `V2.Core.ClaimableSandbox.claim_url` from `string` to `string | null`
|
|
236
|
+
* Add support for new value `current_billing_period_end` on enums `V2.Billing.IntentAction.deactivate.effective_at.type` and `V2.Billing.IntentCreateParams.actions[].deactivate.effective_at.type`
|
|
193
237
|
* Add support for `will_activate_at` and `will_cancel_at` on `V2.Billing.PricingPlanSubscription.servicing_status_transitions` and `V2.Billing.RateCardSubscription.servicing_status_transitions`
|
|
194
|
-
* Add support for `category` and `priority` on `V2.Billing.ServiceAction
|
|
195
|
-
* Change `V2.Billing.
|
|
238
|
+
* Add support for `category` and `priority` on `V2.Billing.ServiceAction.credit_grant_per_tenant`, `V2.Billing.ServiceAction.credit_grant`, `V2.Billing.ServiceActionCreateParams.credit_grant_per_tenant`, and `V2.Billing.ServiceActionCreateParams.credit_grant`
|
|
239
|
+
* Change `V2.Billing.LicenseFeeUpdateParams.display_name` to be optional
|
|
196
240
|
* Add support for `invoices` on `EventsV2BillingCadenceBilledEvent`
|
|
197
241
|
* Add support for thin events `V2CoreClaimableSandboxClaimedEvent`, `V2CoreClaimableSandboxExpiredEvent`, `V2CoreClaimableSandboxExpiringEvent`, and `V2CoreClaimableSandboxSandboxDetailsOwnerAccountUpdatedEvent` with related object `V2.Core.ClaimableSandbox`
|
|
198
242
|
* Remove support for thin event `V2BillingCadenceErroredEvent` with related object `V2.Billing.Cadence`
|
package/OPENAPI_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
v2080
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
19.2.0-alpha.
|
|
1
|
+
19.2.0-alpha.3
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.RequestedSessions = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../StripeResource.js");
|
|
6
|
+
const stripeMethod = StripeResource_js_1.StripeResource.method;
|
|
7
|
+
exports.RequestedSessions = StripeResource_js_1.StripeResource.extend({
|
|
8
|
+
create: stripeMethod({
|
|
9
|
+
method: 'POST',
|
|
10
|
+
fullPath: '/v1/delegated_checkout/requested_sessions',
|
|
11
|
+
}),
|
|
12
|
+
retrieve: stripeMethod({
|
|
13
|
+
method: 'GET',
|
|
14
|
+
fullPath: '/v1/delegated_checkout/requested_sessions/{requested_session}',
|
|
15
|
+
}),
|
|
16
|
+
update: stripeMethod({
|
|
17
|
+
method: 'POST',
|
|
18
|
+
fullPath: '/v1/delegated_checkout/requested_sessions/{requested_session}',
|
|
19
|
+
}),
|
|
20
|
+
confirm: stripeMethod({
|
|
21
|
+
method: 'POST',
|
|
22
|
+
fullPath: '/v1/delegated_checkout/requested_sessions/{requested_session}/confirm',
|
|
23
|
+
}),
|
|
24
|
+
expire: stripeMethod({
|
|
25
|
+
method: 'POST',
|
|
26
|
+
fullPath: '/v1/delegated_checkout/requested_sessions/{requested_session}/expire',
|
|
27
|
+
}),
|
|
28
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.BlocklistEntries = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../StripeResource.js");
|
|
6
|
+
const stripeMethod = StripeResource_js_1.StripeResource.method;
|
|
7
|
+
exports.BlocklistEntries = StripeResource_js_1.StripeResource.extend({
|
|
8
|
+
create: stripeMethod({
|
|
9
|
+
method: 'POST',
|
|
10
|
+
fullPath: '/v1/identity/blocklist_entries',
|
|
11
|
+
}),
|
|
12
|
+
retrieve: stripeMethod({
|
|
13
|
+
method: 'GET',
|
|
14
|
+
fullPath: '/v1/identity/blocklist_entries/{id}',
|
|
15
|
+
}),
|
|
16
|
+
list: stripeMethod({
|
|
17
|
+
method: 'GET',
|
|
18
|
+
fullPath: '/v1/identity/blocklist_entries',
|
|
19
|
+
methodType: 'list',
|
|
20
|
+
}),
|
|
21
|
+
disable: stripeMethod({
|
|
22
|
+
method: 'POST',
|
|
23
|
+
fullPath: '/v1/identity/blocklist_entries/{id}/disable',
|
|
24
|
+
}),
|
|
25
|
+
});
|
|
@@ -23,6 +23,10 @@ exports.PaymentMethods = StripeResource_js_1.StripeResource.extend({
|
|
|
23
23
|
method: 'POST',
|
|
24
24
|
fullPath: '/v1/payment_methods/{payment_method}/attach',
|
|
25
25
|
}),
|
|
26
|
+
checkBalance: stripeMethod({
|
|
27
|
+
method: 'POST',
|
|
28
|
+
fullPath: '/v1/payment_methods/{payment_method}/check_balance',
|
|
29
|
+
}),
|
|
26
30
|
detach: stripeMethod({
|
|
27
31
|
method: 'POST',
|
|
28
32
|
fullPath: '/v1/payment_methods/{payment_method}/detach',
|
package/cjs/resources.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// File generated from our OpenAPI spec
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.SetupIntents = exports.SetupAttempts = exports.Reviews = exports.Refunds = exports.Quotes = exports.PromotionCodes = exports.Products = exports.Prices = exports.Plans = exports.Payouts = exports.PaymentRecords = exports.PaymentMethods = exports.PaymentMethodDomains = exports.PaymentMethodConfigurations = exports.PaymentLinks = exports.PaymentIntents = exports.PaymentAttemptRecords = exports.Orders = exports.OAuth = exports.Margins = exports.Mandates = exports.Invoices = exports.InvoiceRenderingTemplates = exports.InvoicePayments = exports.InvoiceItems = exports.FxQuotes = exports.Files = exports.FileLinks = exports.ExternalAccounts = exports.ExchangeRates = exports.Events = exports.EphemeralKeys = exports.Disputes = exports.Customers = exports.CustomerSessions = exports.CreditNotes = exports.Coupons = exports.CountrySpecs = exports.ConfirmationTokens = exports.Charges = exports.BalanceTransactions = exports.BalanceSettings = exports.Balance = exports.ApplicationFees = exports.ApplePayDomains = exports.Accounts = exports.AccountSessions = exports.AccountNotices = exports.AccountLinks = exports.Account = void 0;
|
|
5
|
-
exports.V2 = exports.Treasury = exports.TestHelpers = exports.Terminal = exports.Tax = exports.Sigma = exports.Reporting = exports.Radar = exports.Privacy = exports.Issuing = exports.Identity = exports.Forwarding = exports.FinancialConnections = exports.Entitlements = exports.Climate = exports.Checkout = exports.Capital = exports.BillingPortal = exports.Billing = exports.Apps = exports.WebhookEndpoints = exports.Transfers = exports.Topups = exports.Tokens = exports.TaxRates = exports.TaxIds = exports.TaxCodes = exports.Subscriptions = exports.SubscriptionSchedules = exports.SubscriptionItems = exports.Sources = exports.ShippingRates = void 0;
|
|
5
|
+
exports.V2 = exports.Treasury = exports.TestHelpers = exports.Terminal = exports.Tax = exports.Sigma = exports.Reporting = exports.Radar = exports.Privacy = exports.Issuing = exports.Identity = exports.Forwarding = exports.FinancialConnections = exports.Entitlements = exports.DelegatedCheckout = exports.Climate = exports.Checkout = exports.Capital = exports.BillingPortal = exports.Billing = exports.Apps = exports.WebhookEndpoints = exports.Transfers = exports.Topups = exports.Tokens = exports.TaxRates = exports.TaxIds = exports.TaxCodes = exports.Subscriptions = exports.SubscriptionSchedules = exports.SubscriptionItems = exports.Sources = exports.ShippingRates = void 0;
|
|
6
6
|
const ResourceNamespace_js_1 = require("./ResourceNamespace.js");
|
|
7
7
|
const AccountLinks_js_1 = require("./resources/V2/Core/AccountLinks.js");
|
|
8
8
|
const Accounts_js_1 = require("./resources/FinancialConnections/Accounts.js");
|
|
@@ -15,6 +15,7 @@ const Authorizations_js_1 = require("./resources/Issuing/Authorizations.js");
|
|
|
15
15
|
const Authorizations_js_2 = require("./resources/TestHelpers/Issuing/Authorizations.js");
|
|
16
16
|
const AutomaticRules_js_1 = require("./resources/V2/Tax/AutomaticRules.js");
|
|
17
17
|
const BillSettings_js_1 = require("./resources/V2/Billing/BillSettings.js");
|
|
18
|
+
const BlocklistEntries_js_1 = require("./resources/Identity/BlocklistEntries.js");
|
|
18
19
|
const Cadences_js_1 = require("./resources/V2/Billing/Cadences.js");
|
|
19
20
|
const Calculations_js_1 = require("./resources/Tax/Calculations.js");
|
|
20
21
|
const Cardholders_js_1 = require("./resources/Issuing/Cardholders.js");
|
|
@@ -106,6 +107,7 @@ const Refunds_js_1 = require("./resources/TestHelpers/Refunds.js");
|
|
|
106
107
|
const Registrations_js_1 = require("./resources/Tax/Registrations.js");
|
|
107
108
|
const ReportRuns_js_1 = require("./resources/Reporting/ReportRuns.js");
|
|
108
109
|
const ReportTypes_js_1 = require("./resources/Reporting/ReportTypes.js");
|
|
110
|
+
const RequestedSessions_js_1 = require("./resources/DelegatedCheckout/RequestedSessions.js");
|
|
109
111
|
const Requests_js_1 = require("./resources/Forwarding/Requests.js");
|
|
110
112
|
const ScheduledQueryRuns_js_1 = require("./resources/Sigma/ScheduledQueryRuns.js");
|
|
111
113
|
const Secrets_js_1 = require("./resources/Apps/Secrets.js");
|
|
@@ -284,6 +286,9 @@ exports.Climate = (0, ResourceNamespace_js_1.resourceNamespace)('climate', {
|
|
|
284
286
|
Products: Products_js_1.Products,
|
|
285
287
|
Suppliers: Suppliers_js_1.Suppliers,
|
|
286
288
|
});
|
|
289
|
+
exports.DelegatedCheckout = (0, ResourceNamespace_js_1.resourceNamespace)('delegatedCheckout', {
|
|
290
|
+
RequestedSessions: RequestedSessions_js_1.RequestedSessions,
|
|
291
|
+
});
|
|
287
292
|
exports.Entitlements = (0, ResourceNamespace_js_1.resourceNamespace)('entitlements', {
|
|
288
293
|
ActiveEntitlements: ActiveEntitlements_js_1.ActiveEntitlements,
|
|
289
294
|
Features: Features_js_1.Features,
|
|
@@ -298,6 +303,7 @@ exports.Forwarding = (0, ResourceNamespace_js_1.resourceNamespace)('forwarding',
|
|
|
298
303
|
Requests: Requests_js_1.Requests,
|
|
299
304
|
});
|
|
300
305
|
exports.Identity = (0, ResourceNamespace_js_1.resourceNamespace)('identity', {
|
|
306
|
+
BlocklistEntries: BlocklistEntries_js_1.BlocklistEntries,
|
|
301
307
|
VerificationReports: VerificationReports_js_1.VerificationReports,
|
|
302
308
|
VerificationSessions: VerificationSessions_js_1.VerificationSessions,
|
|
303
309
|
});
|
package/cjs/stripe.core.js
CHANGED
|
@@ -37,7 +37,7 @@ const ALLOWED_CONFIG_PROPERTIES = [
|
|
|
37
37
|
];
|
|
38
38
|
const defaultRequestSenderFactory = (stripe) => new RequestSender_js_1.RequestSender(stripe, StripeResource_js_1.StripeResource.MAX_BUFFERED_REQUEST_METRICS);
|
|
39
39
|
function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) {
|
|
40
|
-
Stripe.PACKAGE_VERSION = '19.2.0-alpha.
|
|
40
|
+
Stripe.PACKAGE_VERSION = '19.2.0-alpha.3';
|
|
41
41
|
Stripe.API_VERSION = apiVersion_js_1.ApiVersion;
|
|
42
42
|
Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: 'node', publisher: 'stripe', uname: null, typescript: false }, (0, utils_js_1.determineProcessUserAgentProperties)());
|
|
43
43
|
Stripe.StripeResource = StripeResource_js_1.StripeResource;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const RequestedSessions = StripeResource.extend({
|
|
5
|
+
create: stripeMethod({
|
|
6
|
+
method: 'POST',
|
|
7
|
+
fullPath: '/v1/delegated_checkout/requested_sessions',
|
|
8
|
+
}),
|
|
9
|
+
retrieve: stripeMethod({
|
|
10
|
+
method: 'GET',
|
|
11
|
+
fullPath: '/v1/delegated_checkout/requested_sessions/{requested_session}',
|
|
12
|
+
}),
|
|
13
|
+
update: stripeMethod({
|
|
14
|
+
method: 'POST',
|
|
15
|
+
fullPath: '/v1/delegated_checkout/requested_sessions/{requested_session}',
|
|
16
|
+
}),
|
|
17
|
+
confirm: stripeMethod({
|
|
18
|
+
method: 'POST',
|
|
19
|
+
fullPath: '/v1/delegated_checkout/requested_sessions/{requested_session}/confirm',
|
|
20
|
+
}),
|
|
21
|
+
expire: stripeMethod({
|
|
22
|
+
method: 'POST',
|
|
23
|
+
fullPath: '/v1/delegated_checkout/requested_sessions/{requested_session}/expire',
|
|
24
|
+
}),
|
|
25
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const BlocklistEntries = StripeResource.extend({
|
|
5
|
+
create: stripeMethod({
|
|
6
|
+
method: 'POST',
|
|
7
|
+
fullPath: '/v1/identity/blocklist_entries',
|
|
8
|
+
}),
|
|
9
|
+
retrieve: stripeMethod({
|
|
10
|
+
method: 'GET',
|
|
11
|
+
fullPath: '/v1/identity/blocklist_entries/{id}',
|
|
12
|
+
}),
|
|
13
|
+
list: stripeMethod({
|
|
14
|
+
method: 'GET',
|
|
15
|
+
fullPath: '/v1/identity/blocklist_entries',
|
|
16
|
+
methodType: 'list',
|
|
17
|
+
}),
|
|
18
|
+
disable: stripeMethod({
|
|
19
|
+
method: 'POST',
|
|
20
|
+
fullPath: '/v1/identity/blocklist_entries/{id}/disable',
|
|
21
|
+
}),
|
|
22
|
+
});
|
|
@@ -20,6 +20,10 @@ export const PaymentMethods = StripeResource.extend({
|
|
|
20
20
|
method: 'POST',
|
|
21
21
|
fullPath: '/v1/payment_methods/{payment_method}/attach',
|
|
22
22
|
}),
|
|
23
|
+
checkBalance: stripeMethod({
|
|
24
|
+
method: 'POST',
|
|
25
|
+
fullPath: '/v1/payment_methods/{payment_method}/check_balance',
|
|
26
|
+
}),
|
|
23
27
|
detach: stripeMethod({
|
|
24
28
|
method: 'POST',
|
|
25
29
|
fullPath: '/v1/payment_methods/{payment_method}/detach',
|
package/esm/resources.js
CHANGED
|
@@ -11,6 +11,7 @@ import { Authorizations as IssuingAuthorizations } from './resources/Issuing/Aut
|
|
|
11
11
|
import { Authorizations as TestHelpersIssuingAuthorizations } from './resources/TestHelpers/Issuing/Authorizations.js';
|
|
12
12
|
import { AutomaticRules as V2TaxAutomaticRules } from './resources/V2/Tax/AutomaticRules.js';
|
|
13
13
|
import { BillSettings as V2BillingBillSettings } from './resources/V2/Billing/BillSettings.js';
|
|
14
|
+
import { BlocklistEntries as IdentityBlocklistEntries } from './resources/Identity/BlocklistEntries.js';
|
|
14
15
|
import { Cadences as V2BillingCadences } from './resources/V2/Billing/Cadences.js';
|
|
15
16
|
import { Calculations as TaxCalculations } from './resources/Tax/Calculations.js';
|
|
16
17
|
import { Cardholders as IssuingCardholders } from './resources/Issuing/Cardholders.js';
|
|
@@ -102,6 +103,7 @@ import { Refunds as TestHelpersRefunds } from './resources/TestHelpers/Refunds.j
|
|
|
102
103
|
import { Registrations as TaxRegistrations } from './resources/Tax/Registrations.js';
|
|
103
104
|
import { ReportRuns as ReportingReportRuns } from './resources/Reporting/ReportRuns.js';
|
|
104
105
|
import { ReportTypes as ReportingReportTypes } from './resources/Reporting/ReportTypes.js';
|
|
106
|
+
import { RequestedSessions as DelegatedCheckoutRequestedSessions } from './resources/DelegatedCheckout/RequestedSessions.js';
|
|
105
107
|
import { Requests as ForwardingRequests } from './resources/Forwarding/Requests.js';
|
|
106
108
|
import { ScheduledQueryRuns as SigmaScheduledQueryRuns } from './resources/Sigma/ScheduledQueryRuns.js';
|
|
107
109
|
import { Secrets as AppsSecrets } from './resources/Apps/Secrets.js';
|
|
@@ -218,6 +220,9 @@ export const Climate = resourceNamespace('climate', {
|
|
|
218
220
|
Products: ClimateProducts,
|
|
219
221
|
Suppliers: ClimateSuppliers,
|
|
220
222
|
});
|
|
223
|
+
export const DelegatedCheckout = resourceNamespace('delegatedCheckout', {
|
|
224
|
+
RequestedSessions: DelegatedCheckoutRequestedSessions,
|
|
225
|
+
});
|
|
221
226
|
export const Entitlements = resourceNamespace('entitlements', {
|
|
222
227
|
ActiveEntitlements: EntitlementsActiveEntitlements,
|
|
223
228
|
Features: EntitlementsFeatures,
|
|
@@ -232,6 +237,7 @@ export const Forwarding = resourceNamespace('forwarding', {
|
|
|
232
237
|
Requests: ForwardingRequests,
|
|
233
238
|
});
|
|
234
239
|
export const Identity = resourceNamespace('identity', {
|
|
240
|
+
BlocklistEntries: IdentityBlocklistEntries,
|
|
235
241
|
VerificationReports: IdentityVerificationReports,
|
|
236
242
|
VerificationSessions: IdentityVerificationSessions,
|
|
237
243
|
});
|
package/esm/stripe.core.js
CHANGED
|
@@ -34,7 +34,7 @@ const ALLOWED_CONFIG_PROPERTIES = [
|
|
|
34
34
|
];
|
|
35
35
|
const defaultRequestSenderFactory = (stripe) => new RequestSender(stripe, StripeResource.MAX_BUFFERED_REQUEST_METRICS);
|
|
36
36
|
export function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) {
|
|
37
|
-
Stripe.PACKAGE_VERSION = '19.2.0-alpha.
|
|
37
|
+
Stripe.PACKAGE_VERSION = '19.2.0-alpha.3';
|
|
38
38
|
Stripe.API_VERSION = ApiVersion;
|
|
39
39
|
Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: 'node', publisher: 'stripe', uname: null, typescript: false }, determineProcessUserAgentProperties());
|
|
40
40
|
Stripe.StripeResource = StripeResource;
|
package/package.json
CHANGED
package/types/Cards.d.ts
CHANGED
|
@@ -72,6 +72,8 @@ declare module 'stripe' {
|
|
|
72
72
|
*/
|
|
73
73
|
available_payout_methods?: Array<Card.AvailablePayoutMethod> | null;
|
|
74
74
|
|
|
75
|
+
benefits?: Card.Benefits;
|
|
76
|
+
|
|
75
77
|
/**
|
|
76
78
|
* Card brand. Can be `American Express`, `Cartes Bancaires`, `Diners Club`, `Discover`, `Eftpos Australia`, `Girocard`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
|
|
77
79
|
*/
|
|
@@ -192,6 +194,18 @@ declare module 'stripe' {
|
|
|
192
194
|
|
|
193
195
|
type AvailablePayoutMethod = 'instant' | 'standard';
|
|
194
196
|
|
|
197
|
+
interface Benefits {
|
|
198
|
+
/**
|
|
199
|
+
* Issuer of this benefit card
|
|
200
|
+
*/
|
|
201
|
+
issuer: string | null;
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Available benefit programs for this card
|
|
205
|
+
*/
|
|
206
|
+
programs: Array<string> | null;
|
|
207
|
+
}
|
|
208
|
+
|
|
195
209
|
interface Networks {
|
|
196
210
|
/**
|
|
197
211
|
* The preferred network for co-branded cards. Can be `cartes_bancaires`, `mastercard`, `visa` or `invalid_preference` if requested network is not valid for the card.
|
package/types/Charges.d.ts
CHANGED
|
@@ -988,9 +988,18 @@ declare module 'stripe' {
|
|
|
988
988
|
* If this Card is part of a card wallet, this contains the details of the card wallet.
|
|
989
989
|
*/
|
|
990
990
|
wallet: Card.Wallet | null;
|
|
991
|
+
|
|
992
|
+
benefits?: Card.Benefits;
|
|
991
993
|
}
|
|
992
994
|
|
|
993
995
|
namespace Card {
|
|
996
|
+
interface Benefits {
|
|
997
|
+
/**
|
|
998
|
+
* Issuer of the benefit card utilized on this payment
|
|
999
|
+
*/
|
|
1000
|
+
issuer: string | null;
|
|
1001
|
+
}
|
|
1002
|
+
|
|
994
1003
|
interface Checks {
|
|
995
1004
|
/**
|
|
996
1005
|
* If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
@@ -517,9 +517,23 @@ declare module 'stripe' {
|
|
|
517
517
|
* If this Card is part of a card wallet, this contains the details of the card wallet.
|
|
518
518
|
*/
|
|
519
519
|
wallet: Card.Wallet | null;
|
|
520
|
+
|
|
521
|
+
benefits?: Card.Benefits;
|
|
520
522
|
}
|
|
521
523
|
|
|
522
524
|
namespace Card {
|
|
525
|
+
interface Benefits {
|
|
526
|
+
/**
|
|
527
|
+
* Issuer of this benefit card
|
|
528
|
+
*/
|
|
529
|
+
issuer: string | null;
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* Available benefit programs for this card
|
|
533
|
+
*/
|
|
534
|
+
programs: Array<string> | null;
|
|
535
|
+
}
|
|
536
|
+
|
|
523
537
|
interface Checks {
|
|
524
538
|
/**
|
|
525
539
|
* If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
|
|
3
|
+
declare module 'stripe' {
|
|
4
|
+
namespace Stripe {
|
|
5
|
+
namespace DelegatedCheckout {
|
|
6
|
+
/**
|
|
7
|
+
* A requested session is a session that has been requested by a customer.
|
|
8
|
+
*/
|
|
9
|
+
interface RequestedSession {
|
|
10
|
+
/**
|
|
11
|
+
* Unique identifier for the object.
|
|
12
|
+
*/
|
|
13
|
+
id: string;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* String representing the object's type. Objects of the same type share the same value.
|
|
17
|
+
*/
|
|
18
|
+
object: 'delegated_checkout.requested_session';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
22
|
+
*/
|
|
23
|
+
currency: string;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* The customer for this requested session.
|
|
27
|
+
*/
|
|
28
|
+
customer: string | null;
|
|
29
|
+
|
|
30
|
+
fulfillment_details: RequestedSession.FulfillmentDetails | null;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
34
|
+
*/
|
|
35
|
+
livemode: boolean;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
namespace RequestedSession {
|
|
39
|
+
interface FulfillmentDetails {}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|