stripe 19.3.0-beta.1 → 19.4.0-alpha.1
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 +235 -1
- package/OPENAPI_VERSION +1 -1
- package/VERSION +1 -1
- package/cjs/RequestSender.js +1 -1
- package/cjs/apiVersion.js +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/TestHelpers/Capital/FinancingOffers.js +16 -0
- package/cjs/resources/V2/Billing/CustomPricingUnits.js +25 -0
- package/cjs/resources/V2/Billing/Intents/Actions.js +17 -0
- package/cjs/resources/V2/Billing/Intents.js +36 -0
- package/cjs/resources/V2/Billing/LicenseFeeSubscriptions.js +12 -0
- package/cjs/resources/V2/Billing/LicenseFees/Versions.js +17 -0
- package/cjs/resources/V2/Billing/LicenseFees.js +27 -0
- package/cjs/resources/V2/Billing/LicensedItems.js +25 -0
- package/cjs/resources/V2/Billing/MeteredItems.js +22 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions/Components.js +12 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +26 -0
- package/cjs/resources/V2/Billing/PricingPlans/Components.js +29 -0
- package/cjs/resources/V2/Billing/PricingPlans/Versions.js +17 -0
- package/cjs/resources/V2/Billing/PricingPlans.js +29 -0
- package/cjs/resources/V2/Billing/RateCardSubscriptions.js +29 -0
- package/cjs/resources/V2/Billing/RateCards/Rates.js +25 -0
- package/cjs/resources/V2/Billing/RateCards/Versions.js +17 -0
- package/cjs/resources/V2/Billing/RateCards.js +29 -0
- package/cjs/resources/V2/Billing/ServiceActions.js +20 -0
- package/cjs/resources/V2/Core/ClaimableSandboxes.js +16 -0
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +20 -0
- package/cjs/resources/V2/Reporting/ReportRuns.js +13 -0
- package/cjs/resources/V2/Reporting/Reports.js +12 -0
- package/cjs/resources/V2/Tax/AutomaticRules.js +22 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js +12 -0
- package/cjs/resources.js +47 -1
- package/cjs/stripe.core.js +1 -1
- package/esm/RequestSender.js +1 -1
- package/esm/apiVersion.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/TestHelpers/Capital/FinancingOffers.js +13 -0
- package/esm/resources/V2/Billing/CustomPricingUnits.js +22 -0
- package/esm/resources/V2/Billing/Intents/Actions.js +14 -0
- package/esm/resources/V2/Billing/Intents.js +33 -0
- package/esm/resources/V2/Billing/LicenseFeeSubscriptions.js +9 -0
- package/esm/resources/V2/Billing/LicenseFees/Versions.js +14 -0
- package/esm/resources/V2/Billing/LicenseFees.js +24 -0
- package/esm/resources/V2/Billing/LicensedItems.js +22 -0
- package/esm/resources/V2/Billing/MeteredItems.js +19 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions/Components.js +9 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +23 -0
- package/esm/resources/V2/Billing/PricingPlans/Components.js +26 -0
- package/esm/resources/V2/Billing/PricingPlans/Versions.js +14 -0
- package/esm/resources/V2/Billing/PricingPlans.js +26 -0
- package/esm/resources/V2/Billing/RateCardSubscriptions.js +26 -0
- package/esm/resources/V2/Billing/RateCards/Rates.js +22 -0
- package/esm/resources/V2/Billing/RateCards/Versions.js +14 -0
- package/esm/resources/V2/Billing/RateCards.js +26 -0
- package/esm/resources/V2/Billing/ServiceActions.js +17 -0
- package/esm/resources/V2/Core/ClaimableSandboxes.js +13 -0
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +17 -0
- package/esm/resources/V2/Reporting/ReportRuns.js +10 -0
- package/esm/resources/V2/Reporting/Reports.js +9 -0
- package/esm/resources/V2/Tax/AutomaticRules.js +19 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.js +9 -0
- package/esm/resources.js +46 -0
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/ApplicationFees.d.ts +6 -1
- package/types/Balance.d.ts +82 -0
- package/types/BalanceTransactions.d.ts +2 -1
- package/types/Billing/AlertTriggereds.d.ts +15 -0
- package/types/Billing/Alerts.d.ts +116 -1
- package/types/Billing/AlertsResource.d.ts +149 -2
- package/types/Billing/Analytics/MeterUsageResource.d.ts +5 -0
- package/types/Billing/Analytics/MeterUsageRows.d.ts +7 -0
- package/types/Billing/CreditBalanceSummary.d.ts +118 -2
- package/types/Billing/CreditBalanceSummaryResource.d.ts +12 -0
- package/types/Billing/CreditBalanceTransactions.d.ts +118 -2
- package/types/Billing/CreditGrants.d.ts +71 -1
- package/types/Billing/CreditGrantsResource.d.ts +32 -1
- package/types/Billing/MeterEventSummaries.d.ts +7 -0
- package/types/Billing/Meters.d.ts +5 -0
- package/types/Billing/MetersResource.d.ts +17 -0
- package/types/Cards.d.ts +14 -0
- package/types/Charges.d.ts +14 -0
- package/types/ChargesResource.d.ts +4 -16
- package/types/Checkout/Sessions.d.ts +58 -0
- package/types/Checkout/SessionsResource.d.ts +50 -0
- package/types/ConfirmationTokens.d.ts +14 -0
- package/types/Coupons.d.ts +3 -1
- package/types/CouponsResource.d.ts +3 -1
- package/types/DelegatedCheckout/RequestedSessions.d.ts +360 -0
- package/types/DelegatedCheckout/RequestedSessionsResource.d.ts +593 -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/InvoiceItems.d.ts +104 -2
- package/types/InvoiceLineItems.d.ts +113 -2
- package/types/InvoicePayments.d.ts +1 -1
- package/types/InvoicesResource.d.ts +5 -0
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +7 -13
- package/types/PaymentIntents.d.ts +37 -18
- package/types/PaymentIntentsResource.d.ts +164 -145
- 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 +24 -1
- package/types/SetupIntentsResource.d.ts +90 -0
- package/types/TestHelpers/Capital/FinancingOffersResource.d.ts +100 -0
- package/types/Transfers.d.ts +4 -0
- package/types/TransfersResource.d.ts +2 -0
- package/types/TransitBalances.d.ts +40 -0
- package/types/V2/Billing/Cadences.d.ts +51 -2
- package/types/V2/Billing/CadencesResource.d.ts +32 -3
- package/types/V2/Billing/CollectionSettingVersions.d.ts +6 -2
- package/types/V2/Billing/CollectionSettings.d.ts +6 -2
- package/types/V2/Billing/CollectionSettingsResource.d.ts +12 -4
- package/types/V2/Billing/CustomPricingUnits.d.ts +56 -0
- package/types/V2/Billing/CustomPricingUnitsResource.d.ts +122 -0
- package/types/V2/Billing/IntentActions.d.ts +459 -0
- package/types/V2/Billing/Intents/ActionsResource.d.ts +58 -0
- package/types/V2/Billing/Intents.d.ts +117 -0
- package/types/V2/Billing/IntentsResource.d.ts +575 -0
- package/types/V2/Billing/LicenseFeeSubscriptions.d.ts +64 -0
- package/types/V2/Billing/LicenseFeeSubscriptionsResource.d.ts +28 -0
- package/types/V2/Billing/LicenseFeeVersions.d.ts +106 -0
- package/types/V2/Billing/LicenseFees/VersionsResource.d.ts +58 -0
- package/types/V2/Billing/LicenseFees.d.ts +164 -0
- package/types/V2/Billing/LicenseFeesResource.d.ts +290 -0
- package/types/V2/Billing/LicensedItems.d.ts +73 -0
- package/types/V2/Billing/LicensedItemsResource.d.ts +157 -0
- package/types/V2/Billing/MeteredItems.d.ts +101 -0
- package/types/V2/Billing/MeteredItemsResource.d.ts +189 -0
- package/types/V2/Billing/PricingPlanComponents.d.ts +109 -0
- package/types/V2/Billing/PricingPlanSubscriptionComponents.d.ts +57 -0
- package/types/V2/Billing/PricingPlanSubscriptions/ComponentsResource.d.ts +40 -0
- package/types/V2/Billing/PricingPlanSubscriptions.d.ts +144 -0
- package/types/V2/Billing/PricingPlanSubscriptionsResource.d.ts +120 -0
- package/types/V2/Billing/PricingPlanVersions.d.ts +49 -0
- package/types/V2/Billing/PricingPlans/ComponentsResource.d.ts +197 -0
- package/types/V2/Billing/PricingPlans/VersionsResource.d.ts +58 -0
- package/types/V2/Billing/PricingPlans.d.ts +84 -0
- package/types/V2/Billing/PricingPlansResource.d.ts +151 -0
- package/types/V2/Billing/RateCardRates.d.ts +144 -0
- package/types/V2/Billing/RateCardSubscriptions.d.ts +144 -0
- package/types/V2/Billing/RateCardSubscriptionsResource.d.ts +157 -0
- package/types/V2/Billing/RateCardVersions.d.ts +39 -0
- package/types/V2/Billing/RateCards/RatesResource.d.ts +203 -0
- package/types/V2/Billing/RateCards/VersionsResource.d.ts +58 -0
- package/types/V2/Billing/RateCards.d.ts +98 -0
- package/types/V2/Billing/RateCardsResource.d.ts +162 -0
- package/types/V2/Billing/ServiceActions.d.ts +274 -0
- package/types/V2/Billing/ServiceActionsResource.d.ts +370 -0
- package/types/V2/Core/Accounts.d.ts +1491 -23
- package/types/V2/Core/AccountsResource.d.ts +1619 -0
- package/types/V2/Core/ClaimableSandboxes.d.ts +132 -0
- package/types/V2/Core/ClaimableSandboxesResource.d.ts +74 -0
- package/types/V2/Core/EventTypes.d.ts +7399 -343
- package/types/V2/Core/Events.d.ts +14 -0
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +14 -0
- package/types/V2/MoneyManagement/InboundTransfers.d.ts +9 -3
- package/types/V2/MoneyManagement/OutboundPayments.d.ts +5 -0
- package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +5 -0
- package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +34 -0
- package/types/V2/MoneyManagement/OutboundTransfers.d.ts +5 -0
- package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +5 -0
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +41 -0
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +5 -0
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +10 -0
- package/types/V2/MoneyManagement/RecipientVerifications.d.ts +112 -0
- package/types/V2/MoneyManagement/RecipientVerificationsResource.d.ts +77 -0
- package/types/V2/Reporting/ReportRuns.d.ts +154 -0
- package/types/V2/Reporting/ReportRunsResource.d.ts +75 -0
- package/types/V2/Reporting/Reports.d.ts +120 -0
- package/types/V2/Reporting/ReportsResource.d.ts +30 -0
- package/types/V2/Tax/AutomaticRules.d.ts +53 -0
- package/types/V2/Tax/AutomaticRulesResource.d.ts +102 -0
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +6 -1
- package/types/V2/TestHelpers/MoneyManagementResource.d.ts +49 -0
- package/types/Webhooks.d.ts +2 -0
- package/types/apiVersion.d.ts +1 -1
- package/types/index.d.ts +82 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 19.4.0-alpha.1 - 2025-11-06
|
|
4
|
+
* [#2489](https://github.com/stripe/stripe-node/pull/2489) Update generated code for private-preview
|
|
5
|
+
* Add support for new resources `TransitBalance`, `V2.Reporting.ReportRun`, `V2.Reporting.Report`
|
|
6
|
+
* Add support for `create` and `retrieve` methods on resource `V2.Reporting.ReportRun`
|
|
7
|
+
* Add support for `retrieve` method on resource `V2.Reporting.Report`
|
|
8
|
+
* Add support for `create` and `refill` test helper methods on resource `Capital.FinancingOffer`
|
|
9
|
+
* Add support for `allocated_funds` on `Charge`, `PaymentIntentConfirmParams`, `PaymentIntentCreateParams`, and `PaymentIntentUpdateParams`
|
|
10
|
+
* Add support for thin events `V2ReportingReportRunCreatedEvent`, `V2ReportingReportRunFailedEvent`, `V2ReportingReportRunSucceededEvent`, and `V2ReportingReportRunUpdatedEvent` with related object `V2.Reporting.ReportRun`
|
|
11
|
+
|
|
3
12
|
## 19.3.0-beta.1 - 2025-10-29
|
|
4
13
|
|
|
5
14
|
This release changes the pinned API version to `2025-10-29.preview`.
|
|
@@ -33,6 +42,73 @@ This release changes the pinned API version to `2025-10-29.preview`.
|
|
|
33
42
|
* Add support for error code `outbound_flow_from_closed_financial_account_unsupported` on `FeatureNotEnabledError`
|
|
34
43
|
* Add support for error code `limit_payout_method_crypto_wallet` on `QuotaExceededError`
|
|
35
44
|
|
|
45
|
+
## 19.3.0-alpha.2 - 2025-10-30
|
|
46
|
+
* [#2484](https://github.com/stripe/stripe-node/pull/2484) Update generated code for private-preview
|
|
47
|
+
* Change `DelegatedCheckout.RequestedSessionUpdateParams.line_item_details[].quantity` to be required
|
|
48
|
+
* Add support for `payment_method_preview` on `DelegatedCheckout.RequestedSession`
|
|
49
|
+
* Add support for `order_id` on `DelegatedCheckout.RequestedSession.order_details`
|
|
50
|
+
* Add support for `lead` on `V2.Core.Account.configuration.card_creator.capabilities.commercial`, `V2.Core.Account.identity.attestations.terms_of_service.card_creator.commercial`, `V2.Core.AccountCreateParams.configuration.card_creator.capabilities.commercial`, `V2.Core.AccountCreateParams.identity.attestations.terms_of_service.card_creator.commercial`, `V2.Core.AccountUpdateParams.configuration.card_creator.capabilities.commercial`, and `V2.Core.AccountUpdateParams.identity.attestations.terms_of_service.card_creator.commercial`
|
|
51
|
+
* Add support for `global_account_holder` on `V2.Core.Account.identity.attestations.terms_of_service.card_creator.commercial`, `V2.Core.AccountCreateParams.identity.attestations.terms_of_service.card_creator.commercial`, and `V2.Core.AccountUpdateParams.identity.attestations.terms_of_service.card_creator.commercial`
|
|
52
|
+
* Add support for new value `commercial.lead.prepaid_card` on enum `V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability`
|
|
53
|
+
* Add support for new value `commercial.lead.prepaid_card` on enum `EventsV2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEvent.updated_capability`
|
|
54
|
+
|
|
55
|
+
## 19.3.0-alpha.1 - 2025-10-29
|
|
56
|
+
|
|
57
|
+
* [#2476](https://github.com/stripe/stripe-node/pull/2476) Update generated code for private-preview
|
|
58
|
+
* Add support for `report_refund` method on resource `PaymentRecord`
|
|
59
|
+
* Add support for `representative_declaration` on `Account.company`, `AccountCreateParams.company`, `AccountUpdateParams.company`, and `TokenCreateParams.account.company`
|
|
60
|
+
* Add support for new value `verification_data_not_found` 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`
|
|
61
|
+
* Add support for `tenants` on `Billing.Analytics.MeterUsageRow`
|
|
62
|
+
* Add support for `transfer` on `ApplicationFee.fee_source`
|
|
63
|
+
* Add support for new value `transfer` on enum `ApplicationFee.fee_source.type`
|
|
64
|
+
* Add support for `transit_balances_total` on `Balance`
|
|
65
|
+
* Add support for new value `transit` on enum `BalanceTransaction.balance_type`
|
|
66
|
+
* Add support for `tenant_group_by_keys` on `Billing.Analytics.MeterUsageRetrieveParams.meters[]`
|
|
67
|
+
* Change `Billing.CreditGrantCreateParams.category` to be optional
|
|
68
|
+
* Add support for `payment_method_configuration` on `BillingPortal.ConfigurationCreateParams.features.payment_method_update` and `BillingPortal.ConfigurationUpdateParams.features.payment_method_update`
|
|
69
|
+
* Add support for new value `solana` on enums `Charge.payment_method_details.crypto.network`, `PaymentAttemptRecord.payment_method_details.crypto.network`, and `PaymentRecord.payment_method_details.crypto.network`
|
|
70
|
+
* Add support for `payment_portal_url` on `Charge.payment_method_details.rechnung`, `PaymentAttemptRecord.payment_method_details.rechnung`, and `PaymentRecord.payment_method_details.rechnung`
|
|
71
|
+
* Add support for `twint` on `Checkout.Session.payment_method_options` and `Checkout.SessionCreateParams.payment_method_options`
|
|
72
|
+
* Add support for new value `custom` on enums `ConfirmationToken.payment_method_preview.type` and `PaymentMethod.type`
|
|
73
|
+
* Change `CreditNote.refunds[].payment_record_refund` to be required
|
|
74
|
+
* Change `CreditNote.refunds[].type` to be required
|
|
75
|
+
* Add support for `customer_sheet`, `mobile_payment_element`, and `tax_id_element` on `CustomerSession.components` and `CustomerSessionCreateParams.components`
|
|
76
|
+
* Add support for new value `custom` on enums `CustomerListPaymentMethodsParams.type`, `PaymentMethodCreateParams.type`, and `PaymentMethodListParams.type`
|
|
77
|
+
* Add support for `provider` on `Customer.tax`
|
|
78
|
+
* Remove support for `risk_details` on `DelegatedCheckout.RequestedSessionCreateParams`
|
|
79
|
+
* Add support for `risk_details` on `DelegatedCheckout.RequestedSessionConfirmParams`
|
|
80
|
+
* Add support for new value `platform_terms_of_service` on enums `File.purpose` and `FileListParams.purpose`
|
|
81
|
+
* Add support for new value `platform_terms_of_service` on enum `FileCreateParams.purpose`
|
|
82
|
+
* Add support for `starting_after` on `PaymentAttemptRecordListParams`
|
|
83
|
+
* Add support for `reference` on `PaymentIntentAmountDetailsLineItem.payment_method_options.klarna`, `PaymentIntentCaptureParams.amount_details.line_items[].payment_method_options.klarna`, `PaymentIntentConfirmParams.amount_details.line_items[].payment_method_options.klarna`, `PaymentIntentCreateParams.amount_details.line_items[].payment_method_options.klarna`, `PaymentIntentIncrementAuthorizationParams.amount_details.line_items[].payment_method_options.klarna`, and `PaymentIntentUpdateParams.amount_details.line_items[].payment_method_options.klarna`
|
|
84
|
+
* Add support for `allocated_funds` on `PaymentIntent`
|
|
85
|
+
* Change `PaymentIntent.payment_details.customer_reference` to be required
|
|
86
|
+
* Change `PaymentIntent.payment_details.order_reference` to be required
|
|
87
|
+
* Add support for `subscription_reference` on `PaymentIntentAmountDetailsLineItem.payment_method_options.klarna`
|
|
88
|
+
* Add support for `name_collection` on `PaymentLinkCreateParams`, `PaymentLinkUpdateParams`, and `PaymentLink`
|
|
89
|
+
* Add support for `crypto` on `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, `PaymentMethodConfiguration`, and `Refund.destination_details`
|
|
90
|
+
* Add support for `mb_way` on `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, and `PaymentMethodConfiguration`
|
|
91
|
+
* Add support for `custom` on `PaymentMethodCreateParams` and `PaymentMethod`
|
|
92
|
+
* Add support for `excluded_payment_method_types` on `SetupIntentCreateParams`, `SetupIntentUpdateParams`, and `SetupIntent`
|
|
93
|
+
* Change `SetupIntent.flow_directions` to be optional
|
|
94
|
+
* Add support for `tw` on `Tax.Registration.country_options` and `Tax.RegistrationCreateParams.country_options`
|
|
95
|
+
* Add support for `gip` on `Terminal.Configuration.tipping`, `Terminal.ConfigurationCreateParams.tipping`, and `Terminal.ConfigurationUpdateParams.tipping`
|
|
96
|
+
* Add support for `last_seen_at` on `Terminal.Reader`
|
|
97
|
+
* Add support for `application_fee_amount` on `TransferCreateParams` and `Transfer`
|
|
98
|
+
* Add support for `application_fee` on `Transfer`
|
|
99
|
+
* Add support for new value `2025-10-29.clover` on enum `WebhookEndpointCreateParams.api_version`
|
|
100
|
+
* Add support for `high_risk_activities_description`, `high_risk_activities`, `money_services_description`, `operates_in_prohibited_countries`, `participates_in_regulated_activity`, `purpose_of_funds_description`, `purpose_of_funds`, `regulated_activity`, `source_of_funds_description`, and `source_of_funds` on `V2.Core.Account.configuration.storer`, `V2.Core.AccountCreateParams.configuration.storer`, and `V2.Core.AccountUpdateParams.configuration.storer`
|
|
101
|
+
* Add support for `crypto_wallets` on `V2.Core.Account.configuration.storer.capabilities.financial_addresses`, `V2.Core.Account.configuration.storer.capabilities.outbound_payments`, `V2.Core.Account.configuration.storer.capabilities.outbound_transfers`, `V2.Core.AccountCreateParams.configuration.storer.capabilities.financial_addresses`, `V2.Core.AccountCreateParams.configuration.storer.capabilities.outbound_payments`, `V2.Core.AccountCreateParams.configuration.storer.capabilities.outbound_transfers`, `V2.Core.AccountUpdateParams.configuration.storer.capabilities.financial_addresses`, `V2.Core.AccountUpdateParams.configuration.storer.capabilities.outbound_payments`, and `V2.Core.AccountUpdateParams.configuration.storer.capabilities.outbound_transfers`
|
|
102
|
+
* Add support for `usdc` on `V2.Core.Account.configuration.storer.capabilities.holds_currencies`, `V2.Core.AccountCreateParams.configuration.storer.capabilities.holds_currencies`, and `V2.Core.AccountUpdateParams.configuration.storer.capabilities.holds_currencies`
|
|
103
|
+
* Add support for `crypto_storer` on `V2.Core.Account.identity.attestations.terms_of_service` and `V2.Core.AccountCreateParams.identity.attestations.terms_of_service`
|
|
104
|
+
* Add support for `compliance_screening_description` on `V2.Core.Account.identity.business_details`, `V2.Core.AccountCreateParams.identity.business_details`, and `V2.Core.AccountUpdateParams.identity.business_details`
|
|
105
|
+
* Add support for `external_amount` on `V2.MoneyManagement.ReceivedCredit` and `V2.MoneyManagement.ReceivedDebit`
|
|
106
|
+
* Add support for error code `payment_intent_rate_limit_exceeded` on `Invoice.last_finalization_error`, `PaymentIntent.last_payment_error`, `QuotePreviewInvoice.last_finalization_error`, `SetupAttempt.setup_error`, `SetupIntent.last_setup_error`, and `StripeError`
|
|
107
|
+
|
|
108
|
+
## 19.2.1 - 2025-11-04
|
|
109
|
+
* [#2492](https://github.com/stripe/stripe-node/pull/2492) Add support for value `payment_record` to enum `InvoicePayment.payment.type`
|
|
110
|
+
* [#2485](https://github.com/stripe/stripe-node/pull/2485) correctly calculate content-length for JSON bodies that contain unicode
|
|
111
|
+
|
|
36
112
|
## 19.2.0 - 2025-10-29
|
|
37
113
|
|
|
38
114
|
This release changes the pinned API version to `2025-10-29.clover`.
|
|
@@ -82,7 +158,45 @@ This release changes the pinned API version to `2025-10-29.clover`.
|
|
|
82
158
|
* Add support for snapshot event `InvoicePaymentAttemptRequiredEvent` with resource `Invoice`
|
|
83
159
|
* Add support for error code `payment_intent_rate_limit_exceeded` on `Invoice.last_finalization_error`, `PaymentIntent.last_payment_error`, `SetupAttempt.setup_error`, `SetupIntent.last_setup_error`, and `StripeError`
|
|
84
160
|
|
|
85
|
-
## 19.2.0-
|
|
161
|
+
## 19.2.0-alpha.4 - 2025-10-23
|
|
162
|
+
* [#2471](https://github.com/stripe/stripe-node/pull/2471) Update generated code for private-preview
|
|
163
|
+
* Add support for new resource `V2.Billing.PricingPlanSubscriptionComponents`
|
|
164
|
+
* Add support for `retrieve` method on resource `V2.Billing.PricingPlanSubscriptionComponents`
|
|
165
|
+
* Add support for `dimension_payload_keys` on `Billing.MeterCreateParams` and `Billing.Meter`
|
|
166
|
+
* Add support for `dimension_filters` and `dimension_group_by_keys` on `Billing.MeterListMeterEventSummariesParams`
|
|
167
|
+
* Add support for `dimensions` on `Billing.MeterEventSummary`
|
|
168
|
+
* Add support for `fulfillment_details` and `payment_method_data` on `DelegatedCheckout.RequestedSessionCreateParams` and `DelegatedCheckout.RequestedSessionUpdateParams`
|
|
169
|
+
* Add support for `line_item_details`, `metadata`, `payment_method`, and `shared_metadata` on `DelegatedCheckout.RequestedSessionCreateParams`, `DelegatedCheckout.RequestedSessionUpdateParams`, and `DelegatedCheckout.RequestedSession`
|
|
170
|
+
* Add support for `currency`, `customer`, and `risk_details` on `DelegatedCheckout.RequestedSessionCreateParams`
|
|
171
|
+
* Add support for `seller_details` and `setup_future_usage` on `DelegatedCheckout.RequestedSessionCreateParams` and `DelegatedCheckout.RequestedSession`
|
|
172
|
+
* Add support for `amount_subtotal`, `amount_total`, `created_at`, `expires_at`, `order_details`, `shared_payment_issued_token`, `status`, `total_details`, and `updated_at` on `DelegatedCheckout.RequestedSession`
|
|
173
|
+
* Add support for `address`, `email`, `fulfillment_options`, `name`, `phone`, and `selected_fulfillment_option` on `DelegatedCheckout.RequestedSession.fulfillment_details`
|
|
174
|
+
* Add support for new values `billie`, `crypto`, `kr_card`, `kriya`, `mb_way`, `mondu`, `ng_bank_transfer`, `ng_bank`, `ng_card`, `ng_market`, `ng_ussd`, `ng_wallet`, `payco`, `paypay`, `rechnung`, `samsung_pay`, `satispay`, `scalapay`, `sequra`, `sunbit`, `us_bank_account`, and `vipps` on enums `EventsV2CoreHealthAuthorizationRateDropFiringEvent.impact.payment_method_type`, `EventsV2CoreHealthAuthorizationRateDropResolvedEvent.impact.payment_method_type`, `EventsV2CoreHealthPaymentMethodErrorFiringEvent.impact.payment_method_type`, and `EventsV2CoreHealthPaymentMethodErrorResolvedEvent.impact.payment_method_type`
|
|
175
|
+
|
|
176
|
+
## 19.2.0-alpha.3 - 2025-10-17
|
|
177
|
+
* [#2463](https://github.com/stripe/stripe-node/pull/2463) Update generated code for private-preview
|
|
178
|
+
* Add support for new resources `DelegatedCheckout.RequestedSession` and `Identity.BlocklistEntry`
|
|
179
|
+
* Add support for `confirm`, `create`, `expire`, `retrieve`, and `update` methods on resource `DelegatedCheckout.RequestedSession`
|
|
180
|
+
* Add support for `create`, `disable`, `list`, and `retrieve` methods on resource `Identity.BlocklistEntry`
|
|
181
|
+
* Add support for `blocked_by_entry` on `Identity.VerificationReport.document`, `Identity.VerificationReport.selfie`, and `Identity.VerificationReportListParams`
|
|
182
|
+
|
|
183
|
+
## 19.2.0-alpha.2 - 2025-10-09
|
|
184
|
+
* [#2457](https://github.com/stripe/stripe-node/pull/2457) Update generated code for private-preview
|
|
185
|
+
* Add support for new resource `PaymentMethodBalance`
|
|
186
|
+
* Add support for `check_balance` method on resource `PaymentMethod`
|
|
187
|
+
* Add support for `benefits` on `Card`, `Charge.payment_method_details.card`, `ConfirmationToken.payment_method_preview.card`, and `PaymentMethod.card`
|
|
188
|
+
* Add support for `benefit` on `PaymentIntent.payment_details`, `PaymentIntentConfirmParams.payment_details`, `PaymentIntentCreateParams.payment_details`, and `PaymentIntentUpdateParams.payment_details`
|
|
189
|
+
* Add support for `setup_details` on `SetupIntentConfirmParams`, `SetupIntentCreateParams`, `SetupIntentUpdateParams`, and `SetupIntent`
|
|
190
|
+
* Add support for new value `card_creator` on enums `V2.Core.Account.applied_configurations` and `V2.Core.AccountCloseParams.applied_configurations`
|
|
191
|
+
* 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`
|
|
192
|
+
* 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`
|
|
193
|
+
* Add support for new value `card_creator` on enum `V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].configuration`
|
|
194
|
+
* Add support for new value `configuration.card_creator` on enums `V2.Core.AccountCreateParams.include`, `V2.Core.AccountRetrieveParams.include`, and `V2.Core.AccountUpdateParams.include`
|
|
195
|
+
* Add support for thin events `V2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEvent` and `V2CoreAccountIncludingConfigurationCardCreatorUpdatedEvent` with related object `V2.Core.Account`
|
|
196
|
+
* Remove support for thin events `V1CustomerDiscountCreatedEvent`, `V1CustomerDiscountDeletedEvent`, and `V1CustomerDiscountUpdatedEvent` with related object `Discount`
|
|
197
|
+
* [#2449](https://github.com/stripe/stripe-node/pull/2449) Update changelog for private preview
|
|
198
|
+
|
|
199
|
+
## 19.2.0-alpha.1 - 2025-10-03
|
|
86
200
|
* Contains bug fixes and improvements from [v19.1.0](https://github.com/stripe/stripe-node/blob/master/CHANGELOG.md#1910---2025-10-03).
|
|
87
201
|
|
|
88
202
|
## 19.1.0 - 2025-10-03
|
|
@@ -159,6 +273,61 @@ This release changes the pinned API version to `2025-09-30.preview`. It is built
|
|
|
159
273
|
* Add support for `billed_until` on `SubscriptionItem`
|
|
160
274
|
* Add support for error codes `financial_connections_account_pending_account_numbers` and `financial_connections_account_unavailable_account_numbers` on `QuotePreviewInvoice.last_finalization_error`
|
|
161
275
|
|
|
276
|
+
## 19.1.0-alpha.1 - 2025-09-30
|
|
277
|
+
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.
|
|
278
|
+
|
|
279
|
+
* [#2417](https://github.com/stripe/stripe-node/pull/2417) parseThinEvent__experimental is no longer needed
|
|
280
|
+
* ⚠️ Remove the `StripeClient.parseThinEvent__experimental` and `PushedThinEvent` classes. They've been replaced with `StripeClient.parseEventNotification` and the *`EventNotification` classes respectively.
|
|
281
|
+
* [#2419](https://github.com/stripe/stripe-node/pull/2419) Update generated code for private-preview
|
|
282
|
+
* Add support for `paypay_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
|
|
283
|
+
* 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`
|
|
284
|
+
* Add support for `credit_grants` on `Billing.AlertCreateParams.credit_balance_threshold.filters[]`
|
|
285
|
+
* 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`
|
|
286
|
+
* Add support for `location` and `reader` on `Charge.payment_method_details.paynow`
|
|
287
|
+
* Add support for new value `paypay` on enum `Checkout.SessionCreateParams.payment_method_types`
|
|
288
|
+
* 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`
|
|
289
|
+
* Add support for new value `paypay` on enums `ConfirmationToken.payment_method_preview.type` and `PaymentMethod.type`
|
|
290
|
+
* Add support for new value `paypay` on enums `CustomerListPaymentMethodsParams.type`, `PaymentMethodCreateParams.type`, and `PaymentMethodListParams.type`
|
|
291
|
+
* Add support for new value `paypay` on enums `PaymentIntent.excluded_payment_method_types` and `PaymentIntentCreateParams.excluded_payment_method_types`
|
|
292
|
+
* Add support for new value `paypay` on enums `PaymentLink.payment_method_types`, `PaymentLinkCreateParams.payment_method_types`, and `PaymentLinkUpdateParams.payment_method_types`
|
|
293
|
+
* Add support for `billing_cadence` on `InvoiceListParams`
|
|
294
|
+
* Add support for `payment_record_refund` and `type` on `CreditNote.refunds[]`, `CreditNoteCreateParams.refunds[]`, `CreditNotePreviewLinesParams.refunds[]`, and `CreditNotePreviewParams.refunds[]`
|
|
295
|
+
* [#2409](https://github.com/stripe/stripe-node/pull/2409) Update generated code for private-preview
|
|
296
|
+
* Add support for new resource `V2.MoneyManagement.RecipientVerification`
|
|
297
|
+
* Add support for `acknowledge`, `create`, `recipient_verifications`, and `retrieve` methods on resource `V2.MoneyManagement.RecipientVerification`
|
|
298
|
+
* Add support for `update` method on resources `V2.Billing.PricingPlanSubscription` and `V2.Billing.ServiceAction`
|
|
299
|
+
* 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`
|
|
300
|
+
* Add support for new value `crypto` on enum `V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability`
|
|
301
|
+
* Add support for new value `crypto_wallet` on enum `V2.Account.configuration.recipient_data.default_outbound_destination.type`
|
|
302
|
+
* Add support for new value `crypto_wallets` on enum `V2.Account.configuration.supportable_features.recipient_data`
|
|
303
|
+
* Add support for new value `crypto_wallets` on enum `V2.Account.requirements[].impact.required_for_features`
|
|
304
|
+
* Add support for `lookup_key` on `V2.Billing.CadenceCreateParams`, `V2.Billing.CadenceUpdateParams`, and `V2.Billing.Cadence`
|
|
305
|
+
* Add support for `settings_data` on `V2.Billing.Cadence`
|
|
306
|
+
* Change type of `V2.Billing.Cadence.payer.billing_profile` from `string | null` to `string`
|
|
307
|
+
* Add support for `v1_event_id` on `V2.Core.Event`
|
|
308
|
+
* Add support for `recipient_verification` on `V2.MoneyManagement.OutboundPaymentCreateParams`, `V2.MoneyManagement.OutboundPayment`, `V2.MoneyManagement.OutboundTransferCreateParams`, and `V2.MoneyManagement.OutboundTransfer`
|
|
309
|
+
* Add support for `crypto_wallet` on `V2.MoneyManagement.OutboundSetupIntentCreateParams.payout_method_data` and `V2.MoneyManagement.PayoutMethod`
|
|
310
|
+
* 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`
|
|
311
|
+
* Add support for `origin_type` on `V2.MoneyManagement.ReceivedDebit.bank_transfer`
|
|
312
|
+
* Add support for new value `sepa_credit_transfer` on enum `V2.FinancialAddressCreditSimulationCreditParams.network`
|
|
313
|
+
* Add support for new value `credentials.sepa_bank_account.iban` on enums `V2.MoneyManagement.FinancialAddressListParams.include` and `V2.MoneyManagement.FinancialAddressRetrieveParams.include`
|
|
314
|
+
* Add support for `sepa_bank_account` on `V2.MoneyManagement.FinancialAddressCreateParams`
|
|
315
|
+
* Remove support for `price` on `V2.Billing.RateCardRateCreateParams`
|
|
316
|
+
* Add support for `lookup_keys` on `V2.Billing.CadenceListParams`
|
|
317
|
+
* 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')`
|
|
318
|
+
* Remove support for `customer` and `type` on `V2.Billing.CadenceCreateParams.payer`
|
|
319
|
+
* Change `V2.Billing.CadenceCreateParams.payer.billing_profile` to be required
|
|
320
|
+
* Add support for new value `crypto_wallets` on enum `EventsAccountConfigurationRecipientDataFeatureStatusUpdatedEvent.feature_name`
|
|
321
|
+
* Add support for new value `crypto_wallets_v2` on enum `EventsV2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent.updated_capability`
|
|
322
|
+
* Remove support for `alert_id` on `EventsV2CoreHealthApiErrorResolvedEvent`, `EventsV2CoreHealthApiLatencyResolvedEvent`, `EventsV2CoreHealthAuthorizationRateDropResolvedEvent`, `EventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent`, `EventsV2CoreHealthPaymentMethodErrorResolvedEvent`, `EventsV2CoreHealthTrafficVolumeDropResolvedEvent`, and `EventsV2CoreHealthWebhookLatencyResolvedEvent`
|
|
323
|
+
* Add support for thin event `V1AccountUpdatedEvent` with related object `V2.Account`
|
|
324
|
+
* 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`
|
|
325
|
+
* Add support for thin event `V2CoreClaimableSandboxCreatedEvent` with related object `V2.Core.ClaimableSandbox`
|
|
326
|
+
* Add support for thin events `V2MoneyManagementRecipientVerificationCreatedEvent` and `V2MoneyManagementRecipientVerificationUpdatedEvent` with related object `V2.MoneyManagement.RecipientVerification`
|
|
327
|
+
* Add support for error code `account_rate_limit_exceeded` on `RateLimitError`
|
|
328
|
+
* Remove support for resources `V2.Reporting.ReportRun`, `V2.Reporting.Report`
|
|
329
|
+
* Remove support for thin events `V2ReportingReportRunCreatedEvent`, `V2ReportingReportRunFailedEvent`, `V2ReportingReportRunSucceededEvent`, and `V2ReportingReportRunUpdatedEvent` with related object `V2.Reporting.ReportRun`
|
|
330
|
+
|
|
162
331
|
## 19.0.0 - 2025-09-30
|
|
163
332
|
This release changes the pinned API version to `2025-09-30.clover` and contains breaking changes (prefixed with ⚠️ below)
|
|
164
333
|
|
|
@@ -231,6 +400,71 @@ This release changes the pinned API version to `2025-09-30.clover` and contains
|
|
|
231
400
|
* Add support for new value `2025-09-30.clover` on enum `WebhookEndpointCreateParams.api_version`
|
|
232
401
|
* Add support for error codes `financial_connections_account_pending_account_numbers` and `financial_connections_account_unavailable_account_numbers` on `Invoice.last_finalization_error`, `PaymentIntent.last_payment_error`, `SetupAttempt.setup_error`, `SetupIntent.last_setup_error`, and `StripeError`
|
|
233
402
|
|
|
403
|
+
## 18.6.0-alpha.2 - 2025-09-17
|
|
404
|
+
|
|
405
|
+
* [#2404](https://github.com/stripe/stripe-node/pull/2404) Update generated code for private-preview
|
|
406
|
+
* Add support for `retrieve` method on resource `V2.Core.ClaimableSandbox`
|
|
407
|
+
* Add support for `month_of_year` on `V2.Billing.Cadence.billing_cycle.month` and `V2.Billing.CadenceCreateParams.billing_cycle.month`
|
|
408
|
+
* Add support for `claimed_at`, `expires_at`, `sandbox_details`, and `status` on `V2.Core.ClaimableSandbox`
|
|
409
|
+
* Remove support for `api_keys` on `V2.Core.ClaimableSandbox`
|
|
410
|
+
* Change type of `V2.Core.ClaimableSandbox.claim_url` from `string` to `string | null`
|
|
411
|
+
* 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`
|
|
412
|
+
* Add support for `will_activate_at` and `will_cancel_at` on `V2.Billing.PricingPlanSubscription.servicing_status_transitions` and `V2.Billing.RateCardSubscription.servicing_status_transitions`
|
|
413
|
+
* 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`
|
|
414
|
+
* Change `V2.Billing.LicenseFeeUpdateParams.display_name` to be optional
|
|
415
|
+
* Add support for `invoices` on `EventsV2BillingCadenceBilledEvent`
|
|
416
|
+
* Add support for thin events `V2CoreClaimableSandboxClaimedEvent`, `V2CoreClaimableSandboxExpiredEvent`, `V2CoreClaimableSandboxExpiringEvent`, and `V2CoreClaimableSandboxSandboxDetailsOwnerAccountUpdatedEvent` with related object `V2.Core.ClaimableSandbox`
|
|
417
|
+
* Remove support for thin event `V2BillingCadenceErroredEvent` with related object `V2.Billing.Cadence`
|
|
418
|
+
|
|
419
|
+
## 18.6.0-alpha.1 - 2025-08-27
|
|
420
|
+
It is built on top of SDK version 18.6.0-beta.1 which contains breaking changes. Please review the changelog for it if upgrading from older SDK versions.
|
|
421
|
+
|
|
422
|
+
* [#2390](https://github.com/stripe/stripe-node/pull/2390) Update generated code for private-preview
|
|
423
|
+
* Add support for `attach_cadence` method on resource `Subscription`
|
|
424
|
+
* Add support for `currency` and `external_customer_id` on `Billing.AlertTriggered`
|
|
425
|
+
* Add support for `custom_pricing_unit` on `Billing.AlertTriggered`, `Billing.CreditBalanceSummary.balances[].available_balance`, `Billing.CreditBalanceSummary.balances[].ledger_balance`, `Billing.CreditBalanceTransaction.credit.amount`, `Billing.CreditBalanceTransaction.debit.amount`, `Billing.CreditGrant.amount`, and `Billing.CreditGrantCreateParams.amount`
|
|
426
|
+
* Add support for `customer` on `Billing.AlertListParams`
|
|
427
|
+
* Change type of `Billing.Alert.alert_type`, `Billing.AlertCreateParams.alert_type`, and `Billing.AlertListParams.alert_type` from `literal('usage_threshold')` to `enum('credit_balance_threshold'|'usage_threshold')`
|
|
428
|
+
* Add support for `credit_balance_threshold` on `Billing.AlertCreateParams` and `Billing.Alert`
|
|
429
|
+
* Add support for `billable_items` on `Billing.CreditBalanceSummaryRetrieveParams.filter.applicability_scope`, `Billing.CreditGrant.applicability_config.scope`, and `Billing.CreditGrantCreateParams.applicability_config.scope`
|
|
430
|
+
* Change type of `Billing.CreditBalanceSummary.balances[].available_balance.type`, `Billing.CreditBalanceSummary.balances[].ledger_balance.type`, `Billing.CreditBalanceTransaction.credit.amount.type`, `Billing.CreditBalanceTransaction.debit.amount.type`, `Billing.CreditGrant.amount.type`, and `Billing.CreditGrantCreateParams.amount.type` from `literal('monetary')` to `enum('custom_pricing_unit'|'monetary')`
|
|
431
|
+
* Add support for `license_fee_subscription_details` and `rate_card_subscription_details` on `InvoiceItem.parent` and `InvoiceLineItem.parent`
|
|
432
|
+
* Change type of `InvoiceItem.parent.type` from `literal('subscription_details')` to `enum('license_fee_subscription_details'|'rate_card_subscription_details'|'subscription_details')`
|
|
433
|
+
* Add support for `license_fee_details` and `rate_card_rate_details` on `InvoiceItem.pricing` and `InvoiceLineItem.pricing`
|
|
434
|
+
* Change type of `InvoiceItem.pricing.type` and `InvoiceLineItem.pricing.type` from `literal('price_details')` to `enum('license_fee_details'|'price_details'|'rate_card_rate_details')`
|
|
435
|
+
* Add support for `billing_cadence` on `InvoiceCreatePreviewParams`, `SubscriptionCreateParams`, and `Subscription`
|
|
436
|
+
* Add support for `billing_cadence_details` on `Invoice.parent` and `QuotePreviewInvoice.parent`
|
|
437
|
+
* Add support for new value `billing_cadence_details` on enums `Invoice.parent.type` and `QuotePreviewInvoice.parent.type`
|
|
438
|
+
* Add support for new values `license_fee_subscription_details` and `rate_card_subscription_details` on enum `InvoiceLineItem.parent.type`
|
|
439
|
+
* Add support for new resources `V2.Billing.BillSettingVersion`, `V2.Billing.BillSetting`, `V2.Billing.Cadence`, `V2.Billing.CollectionSettingVersion`, `V2.Billing.CollectionSetting`, `V2.Billing.CustomPricingUnit`, `V2.Billing.IntentAction`, `V2.Billing.Intent`, `V2.Billing.LicenseFeeSubscription`, `V2.Billing.LicenseFeeVersion`, `V2.Billing.LicenseFee`, `V2.Billing.LicensedItem`, `V2.Billing.MeteredItem`, `V2.Billing.PricingPlanComponent`, `V2.Billing.PricingPlanSubscription`, `V2.Billing.PricingPlanVersion`, `V2.Billing.PricingPlan`, `V2.Billing.Profile`, `V2.Billing.RateCardRate`, `V2.Billing.RateCardSubscription`, `V2.Billing.RateCardVersion`, `V2.Billing.RateCard`, `V2.Billing.ServiceAction`, `V2.Core.ClaimableSandbox`, `V2.Reporting.ReportRun`, `V2.Reporting.Report`, and `V2.Tax.AutomaticRule`
|
|
440
|
+
* Add support for `create`, `deactivate`, `find`, `retrieve`, and `update` methods on resource `V2.Tax.AutomaticRule`
|
|
441
|
+
* Add support for `create` and `retrieve` methods on resources `V2.Billing.ServiceAction` and `V2.Reporting.ReportRun`
|
|
442
|
+
* Add support for `retrieve` method on resources `V2.Billing.LicenseFeeSubscription` and `V2.Reporting.Report`
|
|
443
|
+
* Add support for `create` method on resources `V2.Core.ClaimableSandbox`
|
|
444
|
+
* Add support for `cancel`, `create`, `list`, `retrieve`, and `update` methods on resources `V2.Billing.Cadence` and `V2.Billing.RateCardSubscription`
|
|
445
|
+
* Add support for `create`, `list`, `retrieve`, and `update` methods on resources `V2.Billing.BillSetting`, `V2.Billing.CollectionSetting`, `V2.Billing.CustomPricingUnit`, `V2.Billing.LicenseFee`, `V2.Billing.LicensedItem`, `V2.Billing.MeteredItem`, `V2.Billing.PricingPlan`, `V2.Billing.Profile`, and `V2.Billing.RateCard`
|
|
446
|
+
* Add support for `list` and `retrieve` methods on resources `V2.Billing.BillSettingVersion`, `V2.Billing.CollectionSettingVersion`, `V2.Billing.IntentAction`, `V2.Billing.LicenseFeeVersion`, `V2.Billing.PricingPlanSubscription`, `V2.Billing.PricingPlanVersion`, and `V2.Billing.RateCardVersion`
|
|
447
|
+
* Add support for `create`, `del`, `list`, and `retrieve` methods on resource `V2.Billing.RateCardRate`
|
|
448
|
+
* Add support for `create`, `del`, `list`, `retrieve`, and `update` methods on resource `V2.Billing.PricingPlanComponent`
|
|
449
|
+
* Add support for `cancel`, `commit`, `create`, `list`, `release_reservation`, `reserve`, and `retrieve` methods on resource `V2.Billing.Intent`
|
|
450
|
+
* Add support for `changes` on `V2.Event`
|
|
451
|
+
* Add support for thin events `V2BillingCadenceBilledEvent`, `V2BillingCadenceCanceledEvent`, `V2BillingCadenceCreatedEvent`, and `V2BillingCadenceErroredEvent` with related object `V2.Billing.Cadence`
|
|
452
|
+
* Add support for thin events `V2BillingLicenseFeeCreatedEvent` and `V2BillingLicenseFeeUpdatedEvent` with related object `V2.Billing.LicenseFee`
|
|
453
|
+
* Add support for thin event `V2BillingLicenseFeeVersionCreatedEvent` with related object `V2.Billing.LicenseFeeVersion`
|
|
454
|
+
* Add support for thin events `V2BillingLicensedItemCreatedEvent` and `V2BillingLicensedItemUpdatedEvent` with related object `V2.Billing.LicensedItem`
|
|
455
|
+
* Add support for thin events `V2BillingMeteredItemCreatedEvent` and `V2BillingMeteredItemUpdatedEvent` with related object `V2.Billing.MeteredItem`
|
|
456
|
+
* Add support for thin events `V2BillingPricingPlanCreatedEvent` and `V2BillingPricingPlanUpdatedEvent` with related object `V2.Billing.PricingPlan`
|
|
457
|
+
* Add support for thin events `V2BillingPricingPlanComponentCreatedEvent` and `V2BillingPricingPlanComponentUpdatedEvent` with related object `V2.Billing.PricingPlanComponent`
|
|
458
|
+
* Add support for thin events `V2BillingPricingPlanSubscriptionCollectionAwaitingCustomerActionEvent`, `V2BillingPricingPlanSubscriptionCollectionCurrentEvent`, `V2BillingPricingPlanSubscriptionCollectionPastDueEvent`, `V2BillingPricingPlanSubscriptionCollectionPausedEvent`, `V2BillingPricingPlanSubscriptionCollectionUnpaidEvent`, `V2BillingPricingPlanSubscriptionServicingActivatedEvent`, `V2BillingPricingPlanSubscriptionServicingCanceledEvent`, and `V2BillingPricingPlanSubscriptionServicingPausedEvent` with related object `V2.Billing.PricingPlanSubscription`
|
|
459
|
+
* Add support for thin event `V2BillingPricingPlanVersionCreatedEvent` with related object `V2.Billing.PricingPlanVersion`
|
|
460
|
+
* Add support for thin events `V2BillingRateCardCreatedEvent` and `V2BillingRateCardUpdatedEvent` with related object `V2.Billing.RateCard`
|
|
461
|
+
* Add support for thin event `V2BillingRateCardRateCreatedEvent` with related object `V2.Billing.RateCardRate`
|
|
462
|
+
* Add support for thin events `V2BillingRateCardSubscriptionActivatedEvent`, `V2BillingRateCardSubscriptionCanceledEvent`, `V2BillingRateCardSubscriptionCollectionAwaitingCustomerActionEvent`, `V2BillingRateCardSubscriptionCollectionCurrentEvent`, `V2BillingRateCardSubscriptionCollectionPastDueEvent`, `V2BillingRateCardSubscriptionCollectionPausedEvent`, `V2BillingRateCardSubscriptionCollectionUnpaidEvent`, `V2BillingRateCardSubscriptionServicingActivatedEvent`, `V2BillingRateCardSubscriptionServicingCanceledEvent`, and `V2BillingRateCardSubscriptionServicingPausedEvent` with related object `V2.Billing.RateCardSubscription`
|
|
463
|
+
* Add support for thin event `V2BillingRateCardVersionCreatedEvent` with related object `V2.Billing.RateCardVersion`
|
|
464
|
+
* Add support for thin events `V2CoreHealthApiErrorFiringEvent`, `V2CoreHealthApiErrorResolvedEvent`, `V2CoreHealthApiLatencyFiringEvent`, `V2CoreHealthApiLatencyResolvedEvent`, `V2CoreHealthAuthorizationRateDropFiringEvent`, `V2CoreHealthAuthorizationRateDropResolvedEvent`, `V2CoreHealthEventGenerationFailureResolvedEvent`, `V2CoreHealthFraudRateIncreasedEvent`, `V2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent`, `V2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent`, `V2CoreHealthPaymentMethodErrorFiringEvent`, `V2CoreHealthPaymentMethodErrorResolvedEvent`, `V2CoreHealthTrafficVolumeDropFiringEvent`, `V2CoreHealthTrafficVolumeDropResolvedEvent`, `V2CoreHealthWebhookLatencyFiringEvent`, and `V2CoreHealthWebhookLatencyResolvedEvent`
|
|
465
|
+
* Add support for thin events `V2ReportingReportRunCreatedEvent`, `V2ReportingReportRunFailedEvent`, `V2ReportingReportRunSucceededEvent`, and `V2ReportingReportRunUpdatedEvent` with related object `V2.Reporting.ReportRun`
|
|
466
|
+
* Add support for error type `RateLimitError`
|
|
467
|
+
|
|
234
468
|
## 18.6.0-beta.1 - 2025-08-27
|
|
235
469
|
This release changes the pinned API version to `2025-08-27.preview`.
|
|
236
470
|
|
package/OPENAPI_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
v2110
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
19.
|
|
1
|
+
19.4.0-alpha.1
|
package/cjs/RequestSender.js
CHANGED
|
@@ -430,7 +430,7 @@ class RequestSender {
|
|
|
430
430
|
contentType: apiMode == 'v2'
|
|
431
431
|
? 'application/json'
|
|
432
432
|
: 'application/x-www-form-urlencoded',
|
|
433
|
-
contentLength: requestData
|
|
433
|
+
contentLength: Buffer.byteLength(requestData, 'utf8'),
|
|
434
434
|
apiVersion: apiVersion,
|
|
435
435
|
clientUserAgent,
|
|
436
436
|
method,
|
package/cjs/apiVersion.js
CHANGED
|
@@ -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',
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.FinancingOffers = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../../StripeResource.js");
|
|
6
|
+
const stripeMethod = StripeResource_js_1.StripeResource.method;
|
|
7
|
+
exports.FinancingOffers = StripeResource_js_1.StripeResource.extend({
|
|
8
|
+
create: stripeMethod({
|
|
9
|
+
method: 'POST',
|
|
10
|
+
fullPath: '/v1/test_helpers/capital/financing_offers',
|
|
11
|
+
}),
|
|
12
|
+
refill: stripeMethod({
|
|
13
|
+
method: 'POST',
|
|
14
|
+
fullPath: '/v1/test_helpers/capital/financing_offers/{financing_offer}/refill',
|
|
15
|
+
}),
|
|
16
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.CustomPricingUnits = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../../StripeResource.js");
|
|
6
|
+
const stripeMethod = StripeResource_js_1.StripeResource.method;
|
|
7
|
+
exports.CustomPricingUnits = StripeResource_js_1.StripeResource.extend({
|
|
8
|
+
create: stripeMethod({
|
|
9
|
+
method: 'POST',
|
|
10
|
+
fullPath: '/v2/billing/custom_pricing_units',
|
|
11
|
+
}),
|
|
12
|
+
retrieve: stripeMethod({
|
|
13
|
+
method: 'GET',
|
|
14
|
+
fullPath: '/v2/billing/custom_pricing_units/{id}',
|
|
15
|
+
}),
|
|
16
|
+
update: stripeMethod({
|
|
17
|
+
method: 'POST',
|
|
18
|
+
fullPath: '/v2/billing/custom_pricing_units/{id}',
|
|
19
|
+
}),
|
|
20
|
+
list: stripeMethod({
|
|
21
|
+
method: 'GET',
|
|
22
|
+
fullPath: '/v2/billing/custom_pricing_units',
|
|
23
|
+
methodType: 'list',
|
|
24
|
+
}),
|
|
25
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Actions = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../../../StripeResource.js");
|
|
6
|
+
const stripeMethod = StripeResource_js_1.StripeResource.method;
|
|
7
|
+
exports.Actions = StripeResource_js_1.StripeResource.extend({
|
|
8
|
+
retrieve: stripeMethod({
|
|
9
|
+
method: 'GET',
|
|
10
|
+
fullPath: '/v2/billing/intents/{intent_id}/actions/{id}',
|
|
11
|
+
}),
|
|
12
|
+
list: stripeMethod({
|
|
13
|
+
method: 'GET',
|
|
14
|
+
fullPath: '/v2/billing/intents/{intent_id}/actions',
|
|
15
|
+
methodType: 'list',
|
|
16
|
+
}),
|
|
17
|
+
});
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Intents = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../../StripeResource.js");
|
|
6
|
+
const Actions_js_1 = require("./Intents/Actions.js");
|
|
7
|
+
const stripeMethod = StripeResource_js_1.StripeResource.method;
|
|
8
|
+
exports.Intents = StripeResource_js_1.StripeResource.extend({
|
|
9
|
+
constructor: function (...args) {
|
|
10
|
+
StripeResource_js_1.StripeResource.apply(this, args);
|
|
11
|
+
this.actions = new Actions_js_1.Actions(...args);
|
|
12
|
+
},
|
|
13
|
+
create: stripeMethod({ method: 'POST', fullPath: '/v2/billing/intents' }),
|
|
14
|
+
retrieve: stripeMethod({ method: 'GET', fullPath: '/v2/billing/intents/{id}' }),
|
|
15
|
+
list: stripeMethod({
|
|
16
|
+
method: 'GET',
|
|
17
|
+
fullPath: '/v2/billing/intents',
|
|
18
|
+
methodType: 'list',
|
|
19
|
+
}),
|
|
20
|
+
cancel: stripeMethod({
|
|
21
|
+
method: 'POST',
|
|
22
|
+
fullPath: '/v2/billing/intents/{id}/cancel',
|
|
23
|
+
}),
|
|
24
|
+
commit: stripeMethod({
|
|
25
|
+
method: 'POST',
|
|
26
|
+
fullPath: '/v2/billing/intents/{id}/commit',
|
|
27
|
+
}),
|
|
28
|
+
releaseReservation: stripeMethod({
|
|
29
|
+
method: 'POST',
|
|
30
|
+
fullPath: '/v2/billing/intents/{id}/release_reservation',
|
|
31
|
+
}),
|
|
32
|
+
reserve: stripeMethod({
|
|
33
|
+
method: 'POST',
|
|
34
|
+
fullPath: '/v2/billing/intents/{id}/reserve',
|
|
35
|
+
}),
|
|
36
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.LicenseFeeSubscriptions = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../../StripeResource.js");
|
|
6
|
+
const stripeMethod = StripeResource_js_1.StripeResource.method;
|
|
7
|
+
exports.LicenseFeeSubscriptions = StripeResource_js_1.StripeResource.extend({
|
|
8
|
+
retrieve: stripeMethod({
|
|
9
|
+
method: 'GET',
|
|
10
|
+
fullPath: '/v2/billing/license_fee_subscriptions/{id}',
|
|
11
|
+
}),
|
|
12
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Versions = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../../../StripeResource.js");
|
|
6
|
+
const stripeMethod = StripeResource_js_1.StripeResource.method;
|
|
7
|
+
exports.Versions = StripeResource_js_1.StripeResource.extend({
|
|
8
|
+
retrieve: stripeMethod({
|
|
9
|
+
method: 'GET',
|
|
10
|
+
fullPath: '/v2/billing/license_fees/{license_fee_id}/versions/{id}',
|
|
11
|
+
}),
|
|
12
|
+
list: stripeMethod({
|
|
13
|
+
method: 'GET',
|
|
14
|
+
fullPath: '/v2/billing/license_fees/{license_fee_id}/versions',
|
|
15
|
+
methodType: 'list',
|
|
16
|
+
}),
|
|
17
|
+
});
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.LicenseFees = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../../StripeResource.js");
|
|
6
|
+
const Versions_js_1 = require("./LicenseFees/Versions.js");
|
|
7
|
+
const stripeMethod = StripeResource_js_1.StripeResource.method;
|
|
8
|
+
exports.LicenseFees = StripeResource_js_1.StripeResource.extend({
|
|
9
|
+
constructor: function (...args) {
|
|
10
|
+
StripeResource_js_1.StripeResource.apply(this, args);
|
|
11
|
+
this.versions = new Versions_js_1.Versions(...args);
|
|
12
|
+
},
|
|
13
|
+
create: stripeMethod({ method: 'POST', fullPath: '/v2/billing/license_fees' }),
|
|
14
|
+
retrieve: stripeMethod({
|
|
15
|
+
method: 'GET',
|
|
16
|
+
fullPath: '/v2/billing/license_fees/{id}',
|
|
17
|
+
}),
|
|
18
|
+
update: stripeMethod({
|
|
19
|
+
method: 'POST',
|
|
20
|
+
fullPath: '/v2/billing/license_fees/{id}',
|
|
21
|
+
}),
|
|
22
|
+
list: stripeMethod({
|
|
23
|
+
method: 'GET',
|
|
24
|
+
fullPath: '/v2/billing/license_fees',
|
|
25
|
+
methodType: 'list',
|
|
26
|
+
}),
|
|
27
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.LicensedItems = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../../StripeResource.js");
|
|
6
|
+
const stripeMethod = StripeResource_js_1.StripeResource.method;
|
|
7
|
+
exports.LicensedItems = StripeResource_js_1.StripeResource.extend({
|
|
8
|
+
create: stripeMethod({
|
|
9
|
+
method: 'POST',
|
|
10
|
+
fullPath: '/v2/billing/licensed_items',
|
|
11
|
+
}),
|
|
12
|
+
retrieve: stripeMethod({
|
|
13
|
+
method: 'GET',
|
|
14
|
+
fullPath: '/v2/billing/licensed_items/{id}',
|
|
15
|
+
}),
|
|
16
|
+
update: stripeMethod({
|
|
17
|
+
method: 'POST',
|
|
18
|
+
fullPath: '/v2/billing/licensed_items/{id}',
|
|
19
|
+
}),
|
|
20
|
+
list: stripeMethod({
|
|
21
|
+
method: 'GET',
|
|
22
|
+
fullPath: '/v2/billing/licensed_items',
|
|
23
|
+
methodType: 'list',
|
|
24
|
+
}),
|
|
25
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.MeteredItems = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../../StripeResource.js");
|
|
6
|
+
const stripeMethod = StripeResource_js_1.StripeResource.method;
|
|
7
|
+
exports.MeteredItems = StripeResource_js_1.StripeResource.extend({
|
|
8
|
+
create: stripeMethod({ method: 'POST', fullPath: '/v2/billing/metered_items' }),
|
|
9
|
+
retrieve: stripeMethod({
|
|
10
|
+
method: 'GET',
|
|
11
|
+
fullPath: '/v2/billing/metered_items/{id}',
|
|
12
|
+
}),
|
|
13
|
+
update: stripeMethod({
|
|
14
|
+
method: 'POST',
|
|
15
|
+
fullPath: '/v2/billing/metered_items/{id}',
|
|
16
|
+
}),
|
|
17
|
+
list: stripeMethod({
|
|
18
|
+
method: 'GET',
|
|
19
|
+
fullPath: '/v2/billing/metered_items',
|
|
20
|
+
methodType: 'list',
|
|
21
|
+
}),
|
|
22
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Components = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../../../StripeResource.js");
|
|
6
|
+
const stripeMethod = StripeResource_js_1.StripeResource.method;
|
|
7
|
+
exports.Components = StripeResource_js_1.StripeResource.extend({
|
|
8
|
+
retrieve: stripeMethod({
|
|
9
|
+
method: 'GET',
|
|
10
|
+
fullPath: '/v2/billing/pricing_plan_subscriptions/{id}/components',
|
|
11
|
+
}),
|
|
12
|
+
});
|