stripe 22.4.0-alpha.1 → 22.4.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 +155 -0
- package/OPENAPI_VERSION +1 -1
- package/VERSION +1 -1
- package/cjs/StripeEventNotificationHandler.js +5 -0
- package/cjs/StripeEventNotificationHandler.js.map +1 -1
- package/cjs/Webhooks.d.ts +2 -2
- package/cjs/apiVersion.d.ts +1 -1
- package/cjs/apiVersion.js +1 -1
- package/cjs/resources/Accounts.d.ts +7 -5
- package/cjs/resources/Accounts.js +1 -1
- package/cjs/resources/BalanceTransactions.d.ts +5 -5
- package/cjs/resources/BalanceTransactions.js +2 -2
- package/cjs/resources/BankAccounts.d.ts +2 -2
- package/cjs/resources/Billing/AlertRecovereds.d.ts +16 -0
- package/cjs/resources/Billing/CreditBalanceSummary.d.ts +1 -1
- package/cjs/resources/Billing/CreditGrants.d.ts +2 -2
- package/cjs/resources/Capabilities.d.ts +2 -2
- package/cjs/resources/Capital/FinancingOffers.d.ts +5 -0
- package/cjs/resources/Capital/FinancingSummary.d.ts +5 -0
- package/cjs/resources/Capital/FinancingTransactions.d.ts +3 -3
- package/cjs/resources/Cards.d.ts +13 -0
- package/cjs/resources/Charges.d.ts +45 -4
- package/cjs/resources/Checkout/Sessions.d.ts +227 -7
- package/cjs/resources/Checkout/Sessions.js.map +1 -1
- package/cjs/resources/ConfirmationTokens.d.ts +14 -2
- package/cjs/resources/CreditNotes.d.ts +5 -3
- package/cjs/resources/CreditNotes.js +2 -0
- package/cjs/resources/CreditNotes.js.map +1 -1
- package/cjs/resources/Crypto/CustomerConsumerWallets.d.ts +29 -0
- package/cjs/resources/Crypto/CustomerConsumerWallets.js +4 -0
- package/cjs/resources/Crypto/CustomerConsumerWallets.js.map +1 -0
- package/cjs/resources/Crypto/CustomerPaymentTokens.d.ts +79 -0
- package/cjs/resources/Crypto/CustomerPaymentTokens.js +4 -0
- package/cjs/resources/Crypto/CustomerPaymentTokens.js.map +1 -0
- package/cjs/resources/Crypto/Customers.d.ts +111 -0
- package/cjs/resources/Crypto/Customers.js +31 -0
- package/cjs/resources/Crypto/Customers.js.map +1 -0
- package/cjs/resources/Crypto/OnrampSessions.d.ts +413 -0
- package/cjs/resources/Crypto/OnrampSessions.js +47 -0
- package/cjs/resources/Crypto/OnrampSessions.js.map +1 -0
- package/cjs/resources/Crypto/OnrampTransactionLimits.d.ts +60 -0
- package/cjs/resources/Crypto/OnrampTransactionLimits.js +15 -0
- package/cjs/resources/Crypto/OnrampTransactionLimits.js.map +1 -0
- package/cjs/resources/Crypto/index.d.ts +34 -0
- package/cjs/resources/Crypto/index.js +17 -0
- package/cjs/resources/Crypto/index.js.map +1 -0
- package/cjs/resources/Customers.d.ts +13 -0
- package/cjs/resources/Disputes.d.ts +33 -2
- package/cjs/resources/Disputes.js +1 -1
- package/cjs/resources/Events.d.ts +2 -2
- package/cjs/resources/FinancialConnections/Accounts.d.ts +19 -0
- package/cjs/resources/FinancialConnections/Authorizations.d.ts +14 -0
- package/cjs/resources/FinancialConnections/Sessions.d.ts +8 -2
- package/cjs/resources/FinancialConnections/Sessions.js.map +1 -1
- package/cjs/resources/GiftCardOperations.d.ts +1 -7
- package/cjs/resources/Identity/VerificationSessions.d.ts +1 -1
- package/cjs/resources/Invoices.d.ts +70 -9
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Authorizations.d.ts +68 -0
- package/cjs/resources/Issuing/Cardholders.d.ts +13 -0
- package/cjs/resources/Issuing/Cards.d.ts +17 -0
- package/cjs/resources/Issuing/Disputes.d.ts +13 -0
- package/cjs/resources/Issuing/Tokens.d.ts +4 -0
- package/cjs/resources/Issuing/Transactions.d.ts +69 -0
- package/cjs/resources/Orders.d.ts +3 -3
- package/cjs/resources/PaymentAttemptRecords.d.ts +72 -13
- package/cjs/resources/PaymentIntents.d.ts +293 -12
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +3 -0
- package/cjs/resources/PaymentMethods.d.ts +28 -3
- package/cjs/resources/PaymentRecords.d.ts +72 -13
- package/cjs/resources/Persons.d.ts +2 -2
- package/cjs/resources/PromotionCodes.d.ts +2 -2
- package/cjs/resources/QuotePreviewInvoices.d.ts +8 -2
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +44 -0
- package/cjs/resources/Quotes.d.ts +22 -0
- package/cjs/resources/Radar/ValueListItems.d.ts +30 -0
- package/cjs/resources/Reserve/Holds.d.ts +14 -0
- package/cjs/resources/SetupAttempts.d.ts +17 -1
- package/cjs/resources/SetupAttempts.js.map +1 -1
- package/cjs/resources/SetupIntents.d.ts +23 -4
- package/cjs/resources/SetupIntents.js.map +1 -1
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +14 -2
- package/cjs/resources/Sources.d.ts +13 -0
- package/cjs/resources/SubscriptionSchedules.d.ts +49 -5
- package/cjs/resources/Subscriptions.d.ts +72 -6
- package/cjs/resources/Subscriptions.js +1 -1
- package/cjs/resources/Tax/CalculationLineItems.d.ts +1 -1
- package/cjs/resources/Tax/Calculations.d.ts +2 -2
- package/cjs/resources/Tax/Registrations.d.ts +16 -2
- package/cjs/resources/Tax/Transactions.d.ts +1 -1
- package/cjs/resources/TaxFunds.d.ts +48 -0
- package/cjs/resources/Terminal/Readers.d.ts +204 -3
- package/cjs/resources/Terminal/Readers.js +24 -0
- package/cjs/resources/Terminal/Readers.js.map +1 -1
- package/cjs/resources/Terminal/index.d.ts +4 -0
- package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +1 -1
- package/cjs/resources/Tokens.d.ts +15 -0
- package/cjs/resources/Topups.d.ts +18 -0
- package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +2 -2
- package/cjs/resources/V2/Billing/Contracts.d.ts +136 -427
- package/cjs/resources/V2/Billing/Contracts.js +8 -284
- package/cjs/resources/V2/Billing/Contracts.js.map +1 -1
- package/cjs/resources/V2/Core/Accounts.d.ts +22 -1
- package/cjs/resources/V2/Core/Events.d.ts +73 -3
- package/cjs/resources/V2/Data/Analytics/MetricQuery.d.ts +2 -2
- package/cjs/resources/V2/Iam/ApiKeys.d.ts +28 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +39 -3
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +1 -1
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +2 -2
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.d.ts +1 -1
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +11 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +23 -1
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +18 -2
- package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +18 -2
- package/cjs/resources/WebhookEndpoints.d.ts +3 -3
- package/cjs/resources.d.ts +1 -0
- package/cjs/resources.js +13 -5
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.cjs.node.d.ts +377 -56
- package/cjs/stripe.cjs.node.js.map +1 -1
- package/cjs/stripe.core.d.ts +15 -0
- package/cjs/stripe.core.js +41 -39
- package/cjs/stripe.core.js.map +1 -1
- package/esm/StripeEventNotificationHandler.js +5 -0
- package/esm/StripeEventNotificationHandler.js.map +1 -1
- package/esm/Webhooks.d.ts +2 -2
- package/esm/apiVersion.d.ts +1 -1
- package/esm/apiVersion.js +1 -1
- package/esm/resources/Accounts.d.ts +7 -5
- package/esm/resources/Accounts.js +1 -1
- package/esm/resources/BalanceTransactions.d.ts +5 -5
- package/esm/resources/BalanceTransactions.js +2 -2
- package/esm/resources/BankAccounts.d.ts +2 -2
- package/esm/resources/Billing/AlertRecovereds.d.ts +16 -0
- package/esm/resources/Billing/CreditBalanceSummary.d.ts +1 -1
- package/esm/resources/Billing/CreditGrants.d.ts +2 -2
- package/esm/resources/Capabilities.d.ts +2 -2
- package/esm/resources/Capital/FinancingOffers.d.ts +5 -0
- package/esm/resources/Capital/FinancingSummary.d.ts +5 -0
- package/esm/resources/Capital/FinancingTransactions.d.ts +3 -3
- package/esm/resources/Cards.d.ts +13 -0
- package/esm/resources/Charges.d.ts +45 -4
- package/esm/resources/Checkout/Sessions.d.ts +227 -7
- package/esm/resources/Checkout/Sessions.js.map +1 -1
- package/esm/resources/ConfirmationTokens.d.ts +14 -2
- package/esm/resources/CreditNotes.d.ts +5 -3
- package/esm/resources/CreditNotes.js +2 -0
- package/esm/resources/CreditNotes.js.map +1 -1
- package/esm/resources/Crypto/CustomerConsumerWallets.d.ts +29 -0
- package/esm/resources/Crypto/CustomerConsumerWallets.js +3 -0
- package/esm/resources/Crypto/CustomerConsumerWallets.js.map +1 -0
- package/esm/resources/Crypto/CustomerPaymentTokens.d.ts +79 -0
- package/esm/resources/Crypto/CustomerPaymentTokens.js +3 -0
- package/esm/resources/Crypto/CustomerPaymentTokens.js.map +1 -0
- package/esm/resources/Crypto/Customers.d.ts +111 -0
- package/esm/resources/Crypto/Customers.js +27 -0
- package/esm/resources/Crypto/Customers.js.map +1 -0
- package/esm/resources/Crypto/OnrampSessions.d.ts +413 -0
- package/esm/resources/Crypto/OnrampSessions.js +43 -0
- package/esm/resources/Crypto/OnrampSessions.js.map +1 -0
- package/esm/resources/Crypto/OnrampTransactionLimits.d.ts +60 -0
- package/esm/resources/Crypto/OnrampTransactionLimits.js +11 -0
- package/esm/resources/Crypto/OnrampTransactionLimits.js.map +1 -0
- package/esm/resources/Crypto/index.d.ts +34 -0
- package/esm/resources/Crypto/index.js +13 -0
- package/esm/resources/Crypto/index.js.map +1 -0
- package/esm/resources/Customers.d.ts +13 -0
- package/esm/resources/Disputes.d.ts +33 -2
- package/esm/resources/Disputes.js +1 -1
- package/esm/resources/Events.d.ts +2 -2
- package/esm/resources/FinancialConnections/Accounts.d.ts +19 -0
- package/esm/resources/FinancialConnections/Authorizations.d.ts +14 -0
- package/esm/resources/FinancialConnections/Sessions.d.ts +8 -2
- package/esm/resources/FinancialConnections/Sessions.js.map +1 -1
- package/esm/resources/GiftCardOperations.d.ts +1 -7
- package/esm/resources/Identity/VerificationSessions.d.ts +1 -1
- package/esm/resources/Invoices.d.ts +70 -9
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Authorizations.d.ts +68 -0
- package/esm/resources/Issuing/Cardholders.d.ts +13 -0
- package/esm/resources/Issuing/Cards.d.ts +17 -0
- package/esm/resources/Issuing/Disputes.d.ts +13 -0
- package/esm/resources/Issuing/Tokens.d.ts +4 -0
- package/esm/resources/Issuing/Transactions.d.ts +69 -0
- package/esm/resources/Orders.d.ts +3 -3
- package/esm/resources/PaymentAttemptRecords.d.ts +72 -13
- package/esm/resources/PaymentIntents.d.ts +293 -12
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +3 -0
- package/esm/resources/PaymentMethods.d.ts +28 -3
- package/esm/resources/PaymentRecords.d.ts +72 -13
- package/esm/resources/Persons.d.ts +2 -2
- package/esm/resources/PromotionCodes.d.ts +2 -2
- package/esm/resources/QuotePreviewInvoices.d.ts +8 -2
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +44 -0
- package/esm/resources/Quotes.d.ts +22 -0
- package/esm/resources/Radar/ValueListItems.d.ts +30 -0
- package/esm/resources/Reserve/Holds.d.ts +14 -0
- package/esm/resources/SetupAttempts.d.ts +17 -1
- package/esm/resources/SetupAttempts.js.map +1 -1
- package/esm/resources/SetupIntents.d.ts +23 -4
- package/esm/resources/SetupIntents.js.map +1 -1
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +14 -2
- package/esm/resources/Sources.d.ts +13 -0
- package/esm/resources/SubscriptionSchedules.d.ts +49 -5
- package/esm/resources/Subscriptions.d.ts +72 -6
- package/esm/resources/Subscriptions.js +1 -1
- package/esm/resources/Tax/CalculationLineItems.d.ts +1 -1
- package/esm/resources/Tax/Calculations.d.ts +2 -2
- package/esm/resources/Tax/Registrations.d.ts +16 -2
- package/esm/resources/Tax/Transactions.d.ts +1 -1
- package/esm/resources/TaxFunds.d.ts +48 -0
- package/esm/resources/Terminal/Readers.d.ts +204 -3
- package/esm/resources/Terminal/Readers.js +24 -0
- package/esm/resources/Terminal/Readers.js.map +1 -1
- package/esm/resources/Terminal/index.d.ts +4 -0
- package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +1 -1
- package/esm/resources/Tokens.d.ts +15 -0
- package/esm/resources/Topups.d.ts +18 -0
- package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +2 -2
- package/esm/resources/V2/Billing/Contracts.d.ts +136 -427
- package/esm/resources/V2/Billing/Contracts.js +8 -284
- package/esm/resources/V2/Billing/Contracts.js.map +1 -1
- package/esm/resources/V2/Core/Accounts.d.ts +22 -1
- package/esm/resources/V2/Core/Events.d.ts +73 -3
- package/esm/resources/V2/Data/Analytics/MetricQuery.d.ts +2 -2
- package/esm/resources/V2/Iam/ApiKeys.d.ts +28 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +39 -3
- package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +1 -1
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +2 -2
- package/esm/resources/V2/MoneyManagement/PayoutIntents.d.ts +1 -1
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +11 -1
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +23 -1
- package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +18 -2
- package/esm/resources/V2/MoneyManagement/Transactions.d.ts +18 -2
- package/esm/resources/WebhookEndpoints.d.ts +3 -3
- package/esm/resources.d.ts +1 -0
- package/esm/resources.js +8 -0
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +15 -0
- package/esm/stripe.core.js +3 -1
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +15 -0
- package/esm/stripe.esm.node.js +3 -1
- package/esm/stripe.esm.node.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,116 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 22.4.0-alpha.3 - 2026-07-08
|
|
4
|
+
This release changes the pinned API version to 2026-07-08.preview.
|
|
5
|
+
|
|
6
|
+
* [#2777](https://github.com/stripe/stripe-node/pull/2777) Update generated code for private-preview
|
|
7
|
+
* Add support for `activate_gift_card`, `cashout_gift_card`, `check_gift_card_balance`, and `reload_gift_card` methods on resource `Terminal.Reader`
|
|
8
|
+
* Add support for `administrative_address` and `principal_place_of_business` on `Account.company`
|
|
9
|
+
* Add support for `aggregation_period` on `Billing.AlertRecovered`
|
|
10
|
+
* ⚠️ Add support for new values `mass_transit_parking_tax` and `parking_tax` on enums `Tax.Calculation.shipping_cost.tax_breakdown[].tax_rate_details.tax_type`, `Tax.Calculation.tax_breakdown[].tax_rate_details.tax_type`, `Tax.CalculationLineItem.tax_breakdown[].tax_rate_details.tax_type`, and `Tax.Transaction.shipping_cost.tax_breakdown[].tax_rate_details.tax_type`
|
|
11
|
+
* ⚠️ Add support for new values `bnp_paribas`, `citibank`, and `mbsb_bank` on enums `Charge.payment_method_details.fpx.bank`, `ConfirmationToken.payment_method_preview.fpx.bank`, `PaymentAttemptRecord.payment_method_details.fpx.bank`, `PaymentMethod.fpx.bank`, `PaymentRecord.payment_method_details.fpx.bank`, and `SharedPayment.GrantedToken.payment_method_details.fpx.bank`
|
|
12
|
+
* Add support for `address_collection_precision` on `Checkout.Session.automatic_tax`
|
|
13
|
+
* Add support for `tax_id` on `Checkout.Session.collected_information`
|
|
14
|
+
* ⚠️ Remove support for `tax_ids` on `Checkout.Session.collected_information`
|
|
15
|
+
* Add support for `setup_future_usage` on `Checkout.Session.payment_method_options.payco`, `Checkout.Session.payment_method_options.samsung_pay`, `PaymentIntent.payment_method_options.payco`, `PaymentIntent.payment_method_options.paypay`, `PaymentIntent.payment_method_options.samsung_pay`, `PaymentIntentConfirmParams.payment_method_options.paypay`, `PaymentIntentCreateParams.payment_method_options.paypay`, and `PaymentIntentUpdateParams.payment_method_options.paypay`
|
|
16
|
+
* Add support for `network` on `Dispute.payment_method_details.card`
|
|
17
|
+
* Add support for `require_payment_method_support` on `FinancialConnections.Session.filters`
|
|
18
|
+
* Add support for `network_data` on `Issuing.Authorization.request_history[]`
|
|
19
|
+
* Add support for `acquiring_institution_country`, `acquiring_institution_id`, `retrieval_reference_number`, `routed_network`, and `trace_id` on `Issuing.Transaction.network_data`
|
|
20
|
+
* Add support for new values `boku_promptpay`, `capchase_pay`, `check_scan`, `click_to_pay`, `demo_pay`, `duitnow`, `dummy_auth_push`, `dummy_passthrough_card`, `edenred`, `gcash`, `getbalance`, `knet`, `kr_market`, `kriya`, `momo`, `mondu`, `netbanking`, `ng_bank_transfer`, `ng_bank`, `ng_card`, `ng_market`, `ng_ussd`, `ng_wallet`, `octopus`, `paper_check`, `sequra`, `shop_pay`, `south_korea_market`, `test_pay`, `truemoney`, `us_cash_voucher`, `vipps`, and `wero` on enums `PaymentIntentConfirmParams.allowed_payment_method_types`, `PaymentIntentCreateParams.allowed_payment_method_types`, and `PaymentIntentUpdateParams.allowed_payment_method_types`
|
|
21
|
+
* Add support for `custom_fields`, `description`, and `footer` on `Quote.invoice_settings`, `QuotePreviewSubscriptionSchedule.default_settings.invoice_settings`, `QuotePreviewSubscriptionSchedule.phases[].invoice_settings`, `SubscriptionSchedule.default_settings.invoice_settings`, and `SubscriptionSchedule.phases[].invoice_settings`
|
|
22
|
+
* Add support for `paypay` on `SetupAttempt.payment_method_details`
|
|
23
|
+
* Add support for new values `mass_transit_parking_tax` and `parking_tax` on enum `Tax.RegistrationCreateParams.country_options.us.type`
|
|
24
|
+
* Add support for `mass_transit_parking_tax` and `parking_tax` on `Tax.Registration.country_options.us`
|
|
25
|
+
* ⚠️ Add support for new values `mass_transit_parking_tax` and `parking_tax` on enum `Tax.Registration.country_options.us.type`
|
|
26
|
+
* Add support for `gift_card_brand` on `Terminal.ReaderCollectPaymentMethodParams.collect_config` and `Terminal.ReaderProcessPaymentIntentParams.process_config`
|
|
27
|
+
* Add support for `activate_gift_card`, `cashout_gift_card`, `check_gift_card_balance`, `deactivate_gift_card`, and `reload_gift_card` on `Terminal.Reader.action`
|
|
28
|
+
* ⚠️ Add support for new values `activate_gift_card`, `cashout_gift_card`, `check_gift_card_balance`, `deactivate_gift_card`, and `reload_gift_card` on enum `Terminal.Reader.action.type`
|
|
29
|
+
* Add support for `status_transitions` on `V2.Billing.Contract`
|
|
30
|
+
* ⚠️ Remove support for `one_time_fees` on `V2.Billing.ContractCreateParams` and `V2.Billing.Contract`
|
|
31
|
+
* ⚠️ Remove support for `status_details` on `V2.Billing.Contract`
|
|
32
|
+
* Add support for `id` and `priority` on `V2.Billing.Contract.pricing_lines.data[].pricing.price_details.pricing_overrides.data[]`
|
|
33
|
+
* ⚠️ Remove support for `pricing_override` on `V2.Billing.Contract.pricing_lines.data[].pricing.price_details.pricing_overrides.data[]`
|
|
34
|
+
* ⚠️ Remove support for `tiering_mode` and `tiers` on `V2.Billing.Contract.pricing_lines.data[].pricing.price_details.pricing_overrides.data[].overwrite_price`, `V2.Billing.ContractCreateParams.pricing_lines[].pricing.price_details.pricing_overrides[].overwrite_price`, `V2.Billing.ContractUpdateParams.pricing_line_actions[].add.pricing.price_details.pricing_overrides[].overwrite_price`, `V2.Billing.ContractUpdateParams.pricing_line_actions[].update.pricing.price_details.pricing_override_actions[].add.overwrite_price`, and `V2.Billing.ContractUpdateParams.pricing_override_actions[].add.overwrite_price`
|
|
35
|
+
* Add support for `multiply_pricing` on `V2.Billing.Contract.pricing_overrides.data[]`, `V2.Billing.ContractCreateParams.pricing_overrides[]`, and `V2.Billing.ContractUpdateParams.pricing_override_actions[].add`
|
|
36
|
+
* ⚠️ Remove support for `multiplier` on `V2.Billing.Contract.pricing_overrides.data[]`, `V2.Billing.ContractCreateParams.pricing_overrides[]`, and `V2.Billing.ContractUpdateParams.pricing_override_actions[].add`
|
|
37
|
+
* ⚠️ Change type of `V2.Billing.Contract.pricing_overrides.data[].type`, `V2.Billing.ContractCreateParams.pricing_overrides[].type`, and `V2.Billing.ContractUpdateParams.pricing_override_actions[].add.type` from `literal('multiplier')` to `literal('multiply_pricing')`
|
|
38
|
+
* Add support for `related_network_object` on `V2.Core.AccountListParams` and `V2.Core.Account`
|
|
39
|
+
* ⚠️ Add support for new value `network_business_profile_wallet` on enum `V2.Core.Account.configuration.recipient.default_outbound_destination.type`
|
|
40
|
+
* Add support for `network_business_profile_wallet` on `V2.MoneyManagement.PayoutMethod`
|
|
41
|
+
* Add support for new value `network_business_profile_wallet` on enums `V2.MoneyManagement.OutboundSetupIntentCreateParams.payout_method_data.type`, `V2.MoneyManagement.OutboundSetupIntentUpdateParams.payout_method_data.type`, and `V2.MoneyManagement.PayoutMethod.type`
|
|
42
|
+
* Add support for `stripe_network_transfer` on `V2.MoneyManagement.ReceivedCredit`
|
|
43
|
+
* Add support for new value `stripe_network_transfer` on enum `V2.MoneyManagement.ReceivedCredit.type`
|
|
44
|
+
* ⚠️ Remove support for value `one_time_fees` from enums `V2.Billing.ContractActivateParams.include`, `V2.Billing.ContractCancelParams.include`, `V2.Billing.ContractCreateParams.include`, `V2.Billing.ContractListParams.include`, `V2.Billing.ContractRetrieveParams.include`, and `V2.Billing.ContractUpdateParams.include`
|
|
45
|
+
* ⚠️ Change type of `V2.Billing.ContractCreateParams.pricing_lines[].ends_at.type`, `V2.Billing.ContractCreateParams.pricing_lines[].pricing.price_details.pricing_overrides[].ends_at.type`, `V2.Billing.ContractCreateParams.pricing_overrides[].ends_at.type`, and `V2.Billing.ContractUpdateParams.pricing_line_actions[].add.pricing.price_details.pricing_overrides[].ends_at.type` from `enum('contract_end'|'timestamp')` to `literal('timestamp')`
|
|
46
|
+
* ⚠️ Change type of `V2.Billing.ContractCreateParams.pricing_lines[].pricing.price_details.pricing_overrides[].starts_at.type`, `V2.Billing.ContractCreateParams.pricing_lines[].starts_at.type`, `V2.Billing.ContractCreateParams.pricing_overrides[].starts_at.type`, and `V2.Billing.ContractUpdateParams.pricing_line_actions[].add.pricing.price_details.pricing_overrides[].starts_at.type` from `enum('contract_start'|'timestamp')` to `literal('timestamp')`
|
|
47
|
+
* Change `V2.Billing.ContractCreateParams.pricing_overrides[].priority` and `V2.Billing.ContractUpdateParams.pricing_override_actions[].add.priority` to be optional
|
|
48
|
+
* ⚠️ Change type of `V2.Billing.ContractUpdateParams.pricing_line_actions[].add.ends_at.type`, `V2.Billing.ContractUpdateParams.pricing_line_actions[].update.ends_at.type`, `V2.Billing.ContractUpdateParams.pricing_line_actions[].update.pricing.price_details.pricing_override_actions[].add.ends_at.type`, `V2.Billing.ContractUpdateParams.pricing_line_actions[].update.pricing.price_details.pricing_override_actions[].update.ends_at.type`, `V2.Billing.ContractUpdateParams.pricing_override_actions[].add.ends_at.type`, and `V2.Billing.ContractUpdateParams.pricing_override_actions[].update.ends_at.type` from `enum('billing_period_end'|'timestamp')` to `literal('timestamp')`
|
|
49
|
+
* ⚠️ Change type of `V2.Billing.ContractUpdateParams.pricing_line_actions[].add.starts_at.type`, `V2.Billing.ContractUpdateParams.pricing_line_actions[].update.pricing.price_details.pricing_override_actions[].add.starts_at.type`, `V2.Billing.ContractUpdateParams.pricing_line_actions[].update.pricing.price_details.pricing_override_actions[].update.starts_at.type`, `V2.Billing.ContractUpdateParams.pricing_line_actions[].update.starts_at.type`, `V2.Billing.ContractUpdateParams.pricing_override_actions[].add.starts_at.type`, and `V2.Billing.ContractUpdateParams.pricing_override_actions[].update.starts_at.type` from `enum('billing_period_start'|'timestamp')` to `literal('timestamp')`
|
|
50
|
+
* Add support for event notifications `V2BillingContractActivatedEvent`, `V2BillingContractCanceledEvent`, `V2BillingContractCreatedEvent`, `V2BillingContractEndedEvent`, and `V2BillingContractUpdatedEvent` with related object `V2.Billing.Contract`
|
|
51
|
+
|
|
52
|
+
## 22.4.0-alpha.2 - 2026-07-01
|
|
53
|
+
This release changes the pinned API version to 2026-07-01.preview.
|
|
54
|
+
|
|
55
|
+
* [#2774](https://github.com/stripe/stripe-node/pull/2774) Update generated code for private-preview
|
|
56
|
+
* Add support for new resources `Crypto.CustomerConsumerWallet`, `Crypto.CustomerPaymentToken`, `Crypto.Customer`, `Crypto.OnrampSession`, and `Crypto.OnrampTransactionLimits`
|
|
57
|
+
* Add support for `list` and `retrieve` methods on resource `Crypto.Customer`
|
|
58
|
+
* Add support for `checkout`, `create`, `list`, `quote`, and `retrieve` methods on resource `Crypto.OnrampSession`
|
|
59
|
+
* Add support for `retrieve` method on resource `Crypto.OnrampTransactionLimits`
|
|
60
|
+
* Add support for `redaction` on `Card`, `Charge`, `Checkout.Session`, `Customer`, `Issuing.Authorization`, `Issuing.Card`, `Issuing.Cardholder`, `Issuing.Dispute`, `Issuing.Transaction`, `PaymentIntent`, `PaymentMethod`, `SetupIntent`, `Source`, and `Token`
|
|
61
|
+
* ⚠️ Add support for new value `tax_fund` on enum `BalanceTransaction.type`
|
|
62
|
+
* Change `Billing.CreditGrant.priority` to be required
|
|
63
|
+
* Add support for `disclaimer_variant` on `Capital.FinancingOffer` and `Capital.FinancingSummary.details`
|
|
64
|
+
* Add support for `buyer_id` on `Charge.payment_method_details.bizum`, `ConfirmationToken.payment_method_preview.bizum`, `ConfirmationToken.payment_method_preview.blik`, `PaymentAttemptRecord.payment_method_details.bizum`, `PaymentMethod.bizum`, `PaymentMethod.blik`, `PaymentRecord.payment_method_details.bizum`, `SharedPayment.GrantedToken.payment_method_details.bizum`, and `SharedPayment.GrantedToken.payment_method_details.blik`
|
|
65
|
+
* Add support for `electronic_commerce_indicator` and `transaction_link_id` on `Charge.payment_method_details.card`
|
|
66
|
+
* Add support for `amount_received` and `amount_requested` on `Charge.payment_method_details.crypto`, `PaymentAttemptRecord.payment_method_details.crypto`, and `PaymentRecord.payment_method_details.crypto`
|
|
67
|
+
* ⚠️ Add support for new value `sui` on enums `Charge.payment_method_details.crypto.network`, `PaymentAttemptRecord.payment_method_details.crypto.network`, and `PaymentRecord.payment_method_details.crypto.network`
|
|
68
|
+
* ⚠️ Add support for new value `usdsui` on enums `Charge.payment_method_details.crypto.token_currency`, `PaymentAttemptRecord.payment_method_details.crypto.token_currency`, and `PaymentRecord.payment_method_details.crypto.token_currency`
|
|
69
|
+
* Add support for `fingerprint` on `Charge.payment_method_details.gift_card`, `Charge.payment_method_details.pix`, `ConfirmationToken.payment_method_preview.pix`, `PaymentAttemptRecord.payment_method_details.gift_card`, `PaymentMethod.pix`, `PaymentRecord.payment_method_details.gift_card`, `SetupAttempt.payment_method_details.pix`, and `SharedPayment.GrantedToken.payment_method_details.pix`
|
|
70
|
+
* Add support for `address_collection_precision` on `Checkout.SessionCreateParams.automatic_tax`
|
|
71
|
+
* Add support for `sunbit` on `Checkout.Session.payment_method_options`, `Checkout.SessionCreateParams.payment_method_options`, `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_options`, and `PaymentIntentUpdateParams.payment_method_options`
|
|
72
|
+
* Add support for `billing_cycle_anchor_config` on `Checkout.SessionCreateParams.subscription_data`
|
|
73
|
+
* Add support for `subscription` on `Checkout.Session.items[]`
|
|
74
|
+
* Add support for `wechat_pay` on `Checkout.Session.payment_method_options`
|
|
75
|
+
* Add support for `mastercard_compliance` on `Dispute.evidence.enhanced_evidence`, `Dispute.evidence_details.enhanced_eligibility`, and `DisputeUpdateParams.evidence.enhanced_evidence`
|
|
76
|
+
* ⚠️ Add support for new value `mastercard_compliance` on enum `Dispute.enhanced_eligibility_types`
|
|
77
|
+
* Add support for `active` on `FinancialConnections.Account.status_details` and `FinancialConnections.Authorization.status_details`
|
|
78
|
+
* Change type of `FinancialConnections.SessionCreateParams.limits.accounts` from `longInteger` to `emptyable(longInteger)`
|
|
79
|
+
* ⚠️ Remove support for `deactivation` on `GiftCardOperation`
|
|
80
|
+
* ⚠️ Remove support for value `deactivation` from enum `GiftCardOperation.type`
|
|
81
|
+
* ⚠️ Add support for new value `validated` on enum `Identity.VerificationSession.redaction.status`
|
|
82
|
+
* Add support for new value `satispay` on enums `InvoiceCreateParams.payment_settings.payment_method_types`, `InvoiceUpdateParams.payment_settings.payment_method_types`, `SubscriptionCreateParams.payment_settings.payment_method_types`, and `SubscriptionUpdateParams.payment_settings.payment_method_types`
|
|
83
|
+
* Add support for `pause` on `InvoiceCreatePreviewParams.subscription_details`
|
|
84
|
+
* ⚠️ Add support for new value `satispay` on enums `Invoice.payment_settings.payment_method_types`, `QuotePreviewInvoice.payment_settings.payment_method_types`, and `Subscription.payment_settings.payment_method_types`
|
|
85
|
+
* Add support for `merchant_amount_exchange_rate` on `Issuing.Authorization` and `Issuing.Transaction`
|
|
86
|
+
* Add support for `device_id` on `Issuing.Authorization.token_details.network_data.device` and `Issuing.Token.network_data.device`
|
|
87
|
+
* Add support for `program` on `Issuing.Card`
|
|
88
|
+
* Add support for `payment_method_details` on `PaymentAttemptRecordReportFailedParams` and `PaymentRecordReportPaymentAttemptFailedParams`
|
|
89
|
+
* Add support for `reason` on `PaymentAttemptRecordReportRefundParams` and `PaymentRecordReportRefundParams`
|
|
90
|
+
* ⚠️ Remove support for `stored_credential_usage` on `PaymentAttemptRecord.payment_method_details.card` and `PaymentRecord.payment_method_details.card`
|
|
91
|
+
* ⚠️ Change `PaymentAttemptRecord.payment_method_details.card.description` and `PaymentRecord.payment_method_details.card.description` to be optional
|
|
92
|
+
* ⚠️ Change `PaymentAttemptRecord.payment_method_details.card.iin` and `PaymentRecord.payment_method_details.card.iin` to be optional
|
|
93
|
+
* ⚠️ Change `PaymentAttemptRecord.payment_method_details.card.issuer` and `PaymentRecord.payment_method_details.card.issuer` to be optional
|
|
94
|
+
* Add support for `amount_reconciliation` on `PaymentIntent.payment_method_options.crypto`, `PaymentIntentConfirmParams.payment_method_options.crypto`, `PaymentIntentCreateParams.payment_method_options.crypto`, and `PaymentIntentUpdateParams.payment_method_options.crypto`
|
|
95
|
+
* Add support for `setup_future_usage` on `PaymentIntent.payment_method_options.satispay`, `PaymentIntentConfirmParams.payment_method_options.satispay`, `PaymentIntentCreateParams.payment_method_options.satispay`, and `PaymentIntentUpdateParams.payment_method_options.satispay`
|
|
96
|
+
* Add support for `release_details` on `Reserve.Hold`
|
|
97
|
+
* Add support for `satispay` on `SetupAttempt.payment_method_details`
|
|
98
|
+
* Add support for `custom_fields`, `description`, and `footer` on `Subscription.invoice_settings`, `SubscriptionCreateParams.invoice_settings`, and `SubscriptionUpdateParams.invoice_settings`
|
|
99
|
+
* Add support for `payment_method_options` and `payment_method` on `TopupCreateParams`
|
|
100
|
+
* ⚠️ Remove support for value `invoice_payment.detached` from enums `WebhookEndpointCreateParams.enabled_events` and `WebhookEndpointUpdateParams.enabled_events`
|
|
101
|
+
* Add support for new value `2026-06-24.dahlia` on enum `WebhookEndpointCreateParams.api_version`
|
|
102
|
+
* Add support for `connect_permissions` and `permissions` on `V2.Iam.ApiKeyCreateParams`, `V2.Iam.ApiKeyUpdateParams`, and `V2.Iam.ApiKey`
|
|
103
|
+
* Add support for `credit` on `V2.MoneyManagement.FinancialAccount`
|
|
104
|
+
* ⚠️ Add support for new value `credit` on enum `V2.MoneyManagement.FinancialAccount.type`
|
|
105
|
+
* Add support for new value `currency_required` on enum `V2.MoneyManagement.PayoutIntent.next_action.handle_failure.failure_reason`
|
|
106
|
+
* Add support for new values `issuing_authorization`, `issuing_transaction`, and `platform_funded_credit_transaction` on enums `V2.MoneyManagement.Transaction.category` and `V2.MoneyManagement.TransactionEntry.transaction_details.category`
|
|
107
|
+
* Add support for `account`, `issuing_authorization`, `issuing_dispute`, and `issuing_transaction` on `V2.MoneyManagement.Transaction.flow` and `V2.MoneyManagement.TransactionEntry.transaction_details.flow`
|
|
108
|
+
* Add support for new values `issuing_authorization`, `issuing_dispute`, and `issuing_transaction` on enums `V2.MoneyManagement.Transaction.flow.type` and `V2.MoneyManagement.TransactionEntry.transaction_details.flow.type`
|
|
109
|
+
* Add support for new value `credit` on enum `V2.MoneyManagement.FinancialAccountListParams.types`
|
|
110
|
+
* Change type of `V2.MoneyManagement.FinancialAccountCreateParams.type` from `literal('storage')` to `enum('credit'|'storage')`
|
|
111
|
+
* Add support for `expires_at` on `V2.Iam.ApiKeyCreateParams`
|
|
112
|
+
* Add support for error codes `anomalous_money_movement_request`, `failed_tax_calculation`, `financial_account_balance_does_not_support_currency`, `financial_account_capability_not_enabled`, and `financial_account_capability_restricted` on `Invoice.last_finalization_error`, `PaymentIntent.last_payment_error`, `QuotePreviewInvoice.last_finalization_error`, `SetupAttempt.setup_error`, `SetupIntent.last_setup_error`, `StripeError`, and `Terminal.Reader.action.api_error`
|
|
113
|
+
|
|
3
114
|
## 22.4.0-alpha.1 - 2026-06-24
|
|
4
115
|
This release changes the pinned API version to 2026-06-24.preview.
|
|
5
116
|
|
|
@@ -75,6 +186,50 @@ This release changes the pinned API version to 2026-06-24.preview.
|
|
|
75
186
|
* Add support for error codes `us_bank_account_microdeposits_cannot_be_confirmed` and `us_bank_account_microdeposits_cannot_be_sent` on `ControlledByAlternateResourceError`
|
|
76
187
|
* Add support for error code `payout_intent_not_cancelable` on `NotCancelableError`
|
|
77
188
|
|
|
189
|
+
## 22.3.0 - 2026-06-24
|
|
190
|
+
This release changes the pinned API version to 2026-06-24.dahlia.
|
|
191
|
+
|
|
192
|
+
* [#2748](https://github.com/stripe/stripe-node/pull/2748) Update generated code
|
|
193
|
+
* Add support for `release_details` on `Reserve.Hold`
|
|
194
|
+
* ⚠️ Add support for new value `tax_fund` on enum `BalanceTransaction.type`
|
|
195
|
+
* Change `Billing.CreditGrant.priority` to be required
|
|
196
|
+
* Add support for `buyer_id` on `Charge.payment_method_details.bizum`, `ConfirmationToken.payment_method_preview.bizum`, `ConfirmationToken.payment_method_preview.blik`, `PaymentAttemptRecord.payment_method_details.bizum`, `PaymentMethod.bizum`, `PaymentMethod.blik`, and `PaymentRecord.payment_method_details.bizum`
|
|
197
|
+
* Add support for `transaction_link_id` on `Charge.payment_method_details.card`
|
|
198
|
+
* ⚠️ Add support for new value `sui` on enums `Charge.payment_method_details.crypto.network`, `PaymentAttemptRecord.payment_method_details.crypto.network`, and `PaymentRecord.payment_method_details.crypto.network`
|
|
199
|
+
* ⚠️ Add support for new value `usdsui` on enums `Charge.payment_method_details.crypto.token_currency`, `PaymentAttemptRecord.payment_method_details.crypto.token_currency`, and `PaymentRecord.payment_method_details.crypto.token_currency`
|
|
200
|
+
* Add support for `fingerprint` on `Charge.payment_method_details.pix`, `ConfirmationToken.payment_method_preview.pix`, `PaymentMethod.pix`, and `SetupAttempt.payment_method_details.pix`
|
|
201
|
+
* Add support for `sunbit` on `Checkout.Session.payment_method_options`, `Checkout.SessionCreateParams.payment_method_options`, `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_options`, and `PaymentIntentUpdateParams.payment_method_options`
|
|
202
|
+
* Add support for `billing_cycle_anchor_config` on `Checkout.SessionCreateParams.subscription_data`
|
|
203
|
+
* Add support for `wechat_pay` on `Checkout.Session.payment_method_options`
|
|
204
|
+
* Add support for `mastercard_compliance` on `Dispute.evidence.enhanced_evidence`, `Dispute.evidence_details.enhanced_eligibility`, and `DisputeUpdateParams.evidence.enhanced_evidence`
|
|
205
|
+
* ⚠️ Add support for new value `mastercard_compliance` on enum `Dispute.enhanced_eligibility_types`
|
|
206
|
+
* Add support for `status_details` on `FinancialConnections.Account`
|
|
207
|
+
* ⚠️ Add support for new value `validated` on enum `Identity.VerificationSession.redaction.status`
|
|
208
|
+
* Add support for new value `satispay` on enums `InvoiceCreateParams.payment_settings.payment_method_types`, `InvoiceUpdateParams.payment_settings.payment_method_types`, `SubscriptionCreateParams.payment_settings.payment_method_types`, and `SubscriptionUpdateParams.payment_settings.payment_method_types`
|
|
209
|
+
* ⚠️ Add support for new value `satispay` on enums `Invoice.payment_settings.payment_method_types` and `Subscription.payment_settings.payment_method_types`
|
|
210
|
+
* ⚠️ Remove support for `stored_credential_usage` on `PaymentAttemptRecord.payment_method_details.card` and `PaymentRecord.payment_method_details.card`
|
|
211
|
+
* ⚠️ Change `PaymentAttemptRecord.payment_method_details.card.description` and `PaymentRecord.payment_method_details.card.description` to be optional
|
|
212
|
+
* ⚠️ Change `PaymentAttemptRecord.payment_method_details.card.iin` and `PaymentRecord.payment_method_details.card.iin` to be optional
|
|
213
|
+
* ⚠️ Change `PaymentAttemptRecord.payment_method_details.card.issuer` and `PaymentRecord.payment_method_details.card.issuer` to be optional
|
|
214
|
+
* Add support for `setup_future_usage` on `PaymentIntent.payment_method_options.satispay`, `PaymentIntentConfirmParams.payment_method_options.satispay`, `PaymentIntentCreateParams.payment_method_options.satispay`, and `PaymentIntentUpdateParams.payment_method_options.satispay`
|
|
215
|
+
* Change `PaymentRecordReportRefundParams.refunded` to be optional
|
|
216
|
+
* Add support for `satispay` on `SetupAttempt.payment_method_details`
|
|
217
|
+
* Add support for `custom_fields`, `description`, and `footer` on `Subscription.invoice_settings`, `SubscriptionCreateParams.invoice_settings`, and `SubscriptionUpdateParams.invoice_settings`
|
|
218
|
+
* Add support for `payment_method_options` and `payment_method` on `TopupCreateParams`
|
|
219
|
+
* Add support for new value `2026-06-24.dahlia` on enum `WebhookEndpointCreateParams.api_version`
|
|
220
|
+
* Add support for `mode` on `V2.Commerce.ProductCatalogImport`
|
|
221
|
+
* ⚠️ Add support for new value `promotion` on enum `V2.Commerce.ProductCatalogImport.feed_type`
|
|
222
|
+
* Add support for `sunbit_payments` on `V2.Core.Account.configuration.merchant.capabilities`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities`, and `V2.Core.AccountUpdateParams.configuration.merchant.capabilities`
|
|
223
|
+
* Add support for `crypto_money_manager` and `money_manager` on `V2.Core.AccountUpdateParams.identity.attestations.terms_of_service`
|
|
224
|
+
* ⚠️ Remove support for `crypto_storer` and `storer` on `V2.Core.AccountUpdateParams.identity.attestations.terms_of_service`
|
|
225
|
+
* Add support for new value `promotion` on enum `V2.Commerce.ProductCatalogImportCreateParams.feed_type`
|
|
226
|
+
* ⚠️ Add support for new value `sunbit_payments` on enum `EventsV2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent.updated_capability`
|
|
227
|
+
* Add support for error codes `anomalous_money_movement_request`, `failed_tax_calculation`, `financial_account_balance_does_not_support_currency`, `financial_account_capability_not_enabled`, and `financial_account_capability_restricted` on `Invoice.last_finalization_error`, `PaymentIntent.last_payment_error`, `SetupAttempt.setup_error`, `SetupIntent.last_setup_error`, `StripeError`, and `Terminal.Reader.action.api_error`
|
|
228
|
+
* [#2765](https://github.com/stripe/stripe-node/pull/2765) fix: CJS companion namespace access for resource types at all depths
|
|
229
|
+
|
|
230
|
+
- Fixes TypeScript type access for nested namespaces in CJS mode (e.g. `Stripe.Price.Recurring`, `Stripe.Subscription.BillingMode`)
|
|
231
|
+
- Fixes TypeScript type access for nested resource types e.g. `Stripe.Billing.Alert.Status`, `Stripe.Terminal.Configuration.Tipping` in both ESM and CJS modes.
|
|
232
|
+
|
|
78
233
|
## 22.3.0-alpha.4 - 2026-06-17
|
|
79
234
|
* [#2751](https://github.com/stripe/stripe-node/pull/2751) Update generated code for private-preview
|
|
80
235
|
* Add support for `retrieve` method on resource `Radar.CustomerEvaluation`
|
package/OPENAPI_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
v2343
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
22.4.0-alpha.
|
|
1
|
+
22.4.0-alpha.3
|
|
@@ -211,6 +211,11 @@ const KNOWN_EVENT_TYPES = new Set([
|
|
|
211
211
|
'v2.billing.cadence.billed',
|
|
212
212
|
'v2.billing.cadence.canceled',
|
|
213
213
|
'v2.billing.cadence.created',
|
|
214
|
+
'v2.billing.contract.activated',
|
|
215
|
+
'v2.billing.contract.canceled',
|
|
216
|
+
'v2.billing.contract.created',
|
|
217
|
+
'v2.billing.contract.ended',
|
|
218
|
+
'v2.billing.contract.updated',
|
|
214
219
|
'v2.billing.license_fee.created',
|
|
215
220
|
'v2.billing.license_fee.updated',
|
|
216
221
|
'v2.billing.license_fee_version.created',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StripeEventNotificationHandler.js","sourceRoot":"","sources":["../src/StripeEventNotificationHandler.ts"],"names":[],"mappings":";AAAA,yEAAyE;;;AAkBzE,6EAA6E;AAC7E,yFAAyF;AACzF,MAAM,iBAAiB,GAAG,IAAI,GAAG,CAAC;IAChC,4EAA4E;IAC5E,mCAAmC;IACnC,qCAAqC;IACrC,qCAAqC;IACrC,qCAAqC;IACrC,qCAAqC;IACrC,oBAAoB;IACpB,yCAAyC;IACzC,4BAA4B;IAC5B,mCAAmC;IACnC,6BAA6B;IAC7B,sBAAsB;IACtB,4BAA4B;IAC5B,yCAAyC;IACzC,iCAAiC;IACjC,yCAAyC;IACzC,yCAAyC;IACzC,mCAAmC;IACnC,uBAAuB;IACvB,iCAAiC;IACjC,oBAAoB;IACpB,0BAA0B;IAC1B,2BAA2B;IAC3B,oCAAoC;IACpC,mCAAmC;IACnC,2BAA2B;IAC3B,mBAAmB;IACnB,kBAAkB;IAClB,mBAAmB;IACnB,0BAA0B;IAC1B,oBAAoB;IACpB,qBAAqB;IACrB,mBAAmB;IACnB,0CAA0C;IAC1C,6CAA6C;IAC7C,+BAA+B;IAC/B,6BAA6B;IAC7B,2BAA2B;IAC3B,0BAA0B;IAC1B,0BAA0B;IAC1B,4BAA4B;IAC5B,sCAAsC;IACtC,4BAA4B;IAC5B,oCAAoC;IACpC,mBAAmB;IACnB,mBAAmB;IACnB,mBAAmB;IACnB,wBAAwB;IACxB,wBAAwB;IACxB,uBAAuB;IACvB,qBAAqB;IACrB,qBAAqB;IACrB,kCAAkC;IAClC,kCAAkC;IAClC,iCAAiC;IACjC,iDAAiD;IACjD,iDAAiD;IACjD,kCAAkC;IAClC,yCAAyC;IACzC,kCAAkC;IAClC,4BAA4B;IAC5B,4BAA4B;IAC5B,4BAA4B;IAC5B,qBA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,CAAC,MAAM,CAAC,sBAAsB,CAC9C,OAAO,EACP,SAAS,EACT,IAAI,CAAC,aAAa,CACnB,CAAC;QAEF,sFAAsF;QACtF,kEAAkE;QAClE,4FAA4F;QAC5F,sEAAsE;QACtE,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QACtE,MAAM,CAAC,MAAM,CAAC,WAAW,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;QACxC,WAAW,CAAC,IAAI,GAAG;YACjB,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI;YACnB,aAAa,EAAE,KAAK,CAAC,OAAO;SAC7B,CAAC;QAEF,MAAM,OAAO,GAAG,IAAI,CAAC,kBAAkB,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QACpD,IAAI,OAAO,EAAE;YACX,OAAO,MAAM,OAAO,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC;SAC1C;aAAM;YACL,OAAO,MAAM,IAAI,CAAC,gBAAgB,CAChC,KAAwC,EACxC,WAAW,EACX;gBACE,gBAAgB,EAAE,iBAAiB,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC;aACpD,CACF,CAAC;SACH;IACH,CAAC;CACF;AA7ED,wEA6EC"}
|
|
1
|
+
{"version":3,"file":"StripeEventNotificationHandler.js","sourceRoot":"","sources":["../src/StripeEventNotificationHandler.ts"],"names":[],"mappings":";AAAA,yEAAyE;;;AAkBzE,6EAA6E;AAC7E,yFAAyF;AACzF,MAAM,iBAAiB,GAAG,IAAI,GAAG,CAAC;IAChC,4EAA4E;IAC5E,mCAAmC;IACnC,qCAAqC;IACrC,qCAAqC;IACrC,qCAAqC;IACrC,qCAAqC;IACrC,oBAAoB;IACpB,yCAAyC;IACzC,4BAA4B;IAC5B,mCAAmC;IACnC,6BAA6B;IAC7B,sBAAsB;IACtB,4BAA4B;IAC5B,yCAAyC;IACzC,iCAAiC;IACj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AC7B,CAAC;QAEF,MAAM,OAAO,GAAG,IAAI,CAAC,kBAAkB,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QACpD,IAAI,OAAO,EAAE;YACX,OAAO,MAAM,OAAO,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC;SAC1C;aAAM;YACL,OAAO,MAAM,IAAI,CAAC,gBAAgB,CAChC,KAAwC,EACxC,WAAW,EACX;gBACE,gBAAgB,EAAE,iBAAiB,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC;aACpD,CACF,CAAC;SACH;IACH,CAAC;CACF;AA7ED,wEA6EC"}
|
package/cjs/Webhooks.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import { Event } from './resources/Events.js';
|
|
|
12
12
|
* only a string.
|
|
13
13
|
*/
|
|
14
14
|
type WebhookHeader = string | string[] | Uint8Array;
|
|
15
|
-
type WebhookTestHeaderOptions = {
|
|
15
|
+
export type WebhookTestHeaderOptions = {
|
|
16
16
|
timestamp?: number;
|
|
17
17
|
payload: string;
|
|
18
18
|
secret: string;
|
|
@@ -21,7 +21,7 @@ type WebhookTestHeaderOptions = {
|
|
|
21
21
|
cryptoProvider?: CryptoProvider;
|
|
22
22
|
};
|
|
23
23
|
type WebhookPayload = string | Uint8Array;
|
|
24
|
-
type WebhookSignatureObject = {
|
|
24
|
+
export type WebhookSignatureObject = {
|
|
25
25
|
verifyHeader: (encodedPayload: WebhookPayload, encodedHeader: WebhookHeader, secret: string, tolerance?: number, cryptoProvider?: CryptoProvider, receivedAt?: number) => boolean;
|
|
26
26
|
verifyHeaderAsync: (encodedPayload: WebhookPayload, encodedHeader: WebhookHeader, secret: string, tolerance?: number, cryptoProvider?: CryptoProvider, receivedAt?: number) => Promise<boolean>;
|
|
27
27
|
};
|
package/cjs/apiVersion.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ApiVersion = "2026-
|
|
1
|
+
export declare const ApiVersion = "2026-07-08.preview";
|
package/cjs/apiVersion.js
CHANGED
|
@@ -52,7 +52,7 @@ export declare class AccountResource extends StripeResource {
|
|
|
52
52
|
* With [Connect](https://docs.stripe.com/docs/connect), you can create Stripe accounts for your users.
|
|
53
53
|
* To do this, you'll first need to [register your platform](https://dashboard.stripe.com/account/applications/settings).
|
|
54
54
|
*
|
|
55
|
-
* If you've already collected information for your connected accounts, you [can prefill that information](https://docs.stripe.com/
|
|
55
|
+
* If you've already collected information for your connected accounts, you [can prefill that information](https://docs.stripe.com/connect/marketplace/tasks/create#prefill-account-information) when
|
|
56
56
|
* creating the account. Connect Onboarding won't ask for the prefilled information during account onboarding.
|
|
57
57
|
* You can prefill any information on the account.
|
|
58
58
|
*/
|
|
@@ -629,6 +629,7 @@ export declare namespace Account {
|
|
|
629
629
|
* The Kanji variation of the company's primary address (Japan only).
|
|
630
630
|
*/
|
|
631
631
|
address_kanji?: Company.AddressKanji | null;
|
|
632
|
+
administrative_address?: Address;
|
|
632
633
|
/**
|
|
633
634
|
* Whether the company's directors have been provided. This Boolean will be `true` if you've manually indicated that all directors are provided via [the `directors_provided` parameter](https://docs.stripe.com/api/accounts/update#update_account-company-directors_provided).
|
|
634
635
|
*/
|
|
@@ -677,6 +678,7 @@ export declare namespace Account {
|
|
|
677
678
|
* The company's phone number (used for verification).
|
|
678
679
|
*/
|
|
679
680
|
phone?: string | null;
|
|
681
|
+
principal_place_of_business?: Address;
|
|
680
682
|
registration_date?: Company.RegistrationDate;
|
|
681
683
|
/**
|
|
682
684
|
* This hash is used to attest that the representative is authorized to act as the representative of their legal entity.
|
|
@@ -740,7 +742,7 @@ export declare namespace Account {
|
|
|
740
742
|
*/
|
|
741
743
|
disabled_reason: FutureRequirements.DisabledReason | null;
|
|
742
744
|
/**
|
|
743
|
-
*
|
|
745
|
+
* Fields that are `currently_due` and need to be collected again because validation or verification failed.
|
|
744
746
|
*/
|
|
745
747
|
errors: Array<FutureRequirements.Error> | null;
|
|
746
748
|
/**
|
|
@@ -780,7 +782,7 @@ export declare namespace Account {
|
|
|
780
782
|
*/
|
|
781
783
|
disabled_reason: Requirements.DisabledReason | null;
|
|
782
784
|
/**
|
|
783
|
-
*
|
|
785
|
+
* Fields that are `currently_due` and need to be collected again because validation or verification failed.
|
|
784
786
|
*/
|
|
785
787
|
errors: Array<Requirements.Error> | null;
|
|
786
788
|
/**
|
|
@@ -2082,7 +2084,7 @@ export declare namespace AccountCreateParams {
|
|
|
2082
2084
|
*/
|
|
2083
2085
|
company_license?: Documents.CompanyLicense;
|
|
2084
2086
|
/**
|
|
2085
|
-
* One or more documents showing the company's
|
|
2087
|
+
* One or more documents showing the company's governing document (for example, a memorandum of association, constitution, or articles of association).
|
|
2086
2088
|
*/
|
|
2087
2089
|
company_memorandum_of_association?: Documents.CompanyMemorandumOfAssociation;
|
|
2088
2090
|
/**
|
|
@@ -4007,7 +4009,7 @@ export declare namespace AccountUpdateParams {
|
|
|
4007
4009
|
*/
|
|
4008
4010
|
company_license?: Documents.CompanyLicense;
|
|
4009
4011
|
/**
|
|
4010
|
-
* One or more documents showing the company's
|
|
4012
|
+
* One or more documents showing the company's governing document (for example, a memorandum of association, constitution, or articles of association).
|
|
4011
4013
|
*/
|
|
4012
4014
|
company_memorandum_of_association?: Documents.CompanyMemorandumOfAssociation;
|
|
4013
4015
|
/**
|
|
@@ -63,7 +63,7 @@ class AccountResource extends StripeResource_js_1.StripeResource {
|
|
|
63
63
|
* With [Connect](https://docs.stripe.com/docs/connect), you can create Stripe accounts for your users.
|
|
64
64
|
* To do this, you'll first need to [register your platform](https://dashboard.stripe.com/account/applications/settings).
|
|
65
65
|
*
|
|
66
|
-
* If you've already collected information for your connected accounts, you [can prefill that information](https://docs.stripe.com/
|
|
66
|
+
* If you've already collected information for your connected accounts, you [can prefill that information](https://docs.stripe.com/connect/marketplace/tasks/create#prefill-account-information) when
|
|
67
67
|
* creating the account. Connect Onboarding won't ask for the prefilled information during account onboarding.
|
|
68
68
|
* You can prefill any information on the account.
|
|
69
69
|
*/
|
|
@@ -4,9 +4,9 @@ import { PaginationParams, RangeQueryParam } from '../shared.js';
|
|
|
4
4
|
import { RequestOptions, ApiListPromise, Response } from '../lib.js';
|
|
5
5
|
export declare class BalanceTransactionResource extends StripeResource {
|
|
6
6
|
/**
|
|
7
|
-
* Returns a list of transactions that have contributed to the Stripe account balance (
|
|
7
|
+
* Returns a list of transactions that have contributed to the Stripe account balance (for example, charges, transfers, and so on). The transactions return in sorted order, with the most recent transactions appearing first.
|
|
8
8
|
*
|
|
9
|
-
*
|
|
9
|
+
* The previous name of this endpoint was “Balance history,” and it used the path /v1/balance/history.
|
|
10
10
|
*/
|
|
11
11
|
list(params?: BalanceTransactionListParams, options?: RequestOptions): ApiListPromise<BalanceTransaction>;
|
|
12
12
|
/**
|
|
@@ -78,7 +78,7 @@ export interface BalanceTransaction {
|
|
|
78
78
|
*/
|
|
79
79
|
status: string;
|
|
80
80
|
/**
|
|
81
|
-
* Transaction type: `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `inbound_transfer`, `inbound_transfer_reversal`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `obligation_outbound`, `obligation_reversal_inbound`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `payout_minimum_balance_hold`, `payout_minimum_balance_release`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `reserve_hold`, `reserve_release`, `stripe_fee`, `stripe_fx_fee`, `stripe_balance_payment_debit`, `stripe_balance_payment_debit_reversal`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, `transfer_refund`, or `fee_credit_funding`. Learn more about [balance transaction types and what they represent](https://stripe.com/docs/reports/balance-transaction-types). To classify transactions for accounting purposes, consider `reporting_category` instead.
|
|
81
|
+
* Transaction type: `tax_fund`, `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `inbound_transfer`, `inbound_transfer_reversal`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `obligation_outbound`, `obligation_reversal_inbound`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `payout_minimum_balance_hold`, `payout_minimum_balance_release`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `reserve_hold`, `reserve_release`, `stripe_fee`, `stripe_fx_fee`, `stripe_balance_payment_debit`, `stripe_balance_payment_debit_reversal`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, `transfer_refund`, or `fee_credit_funding`. Learn more about [balance transaction types and what they represent](https://stripe.com/docs/reports/balance-transaction-types). To classify transactions for accounting purposes, consider `reporting_category` instead.
|
|
82
82
|
*/
|
|
83
83
|
type: BalanceTransaction.Type;
|
|
84
84
|
}
|
|
@@ -106,7 +106,7 @@ export declare namespace BalanceTransaction {
|
|
|
106
106
|
*/
|
|
107
107
|
type: string;
|
|
108
108
|
}
|
|
109
|
-
type Type = 'adjustment' | 'advance' | 'advance_funding' | 'anticipation_repayment' | 'application_fee' | 'application_fee_refund' | 'charge' | 'climate_order_purchase' | 'climate_order_refund' | 'connect_collection_transfer' | 'contribution' | 'fee_credit_funding' | 'inbound_transfer' | 'inbound_transfer_reversal' | 'issuing_authorization_hold' | 'issuing_authorization_release' | 'issuing_dispute' | 'issuing_transaction' | 'obligation_outbound' | 'obligation_reversal_inbound' | 'payment' | 'payment_failure_refund' | 'payment_network_reserve_hold' | 'payment_network_reserve_release' | 'payment_refund' | 'payment_reversal' | 'payment_unreconciled' | 'payout' | 'payout_cancel' | 'payout_failure' | 'payout_minimum_balance_hold' | 'payout_minimum_balance_release' | 'refund' | 'refund_failure' | 'reserve_hold' | 'reserve_release' | 'reserve_transaction' | 'reserved_funds' | 'stripe_balance_payment_debit' | 'stripe_balance_payment_debit_reversal' | 'stripe_fee' | 'stripe_fx_fee' | 'tax_fee' | 'topup' | 'topup_reversal' | 'transfer' | 'transfer_cancel' | 'transfer_failure' | 'transfer_refund';
|
|
109
|
+
type Type = 'adjustment' | 'advance' | 'advance_funding' | 'anticipation_repayment' | 'application_fee' | 'application_fee_refund' | 'charge' | 'climate_order_purchase' | 'climate_order_refund' | 'connect_collection_transfer' | 'contribution' | 'fee_credit_funding' | 'inbound_transfer' | 'inbound_transfer_reversal' | 'issuing_authorization_hold' | 'issuing_authorization_release' | 'issuing_dispute' | 'issuing_transaction' | 'obligation_outbound' | 'obligation_reversal_inbound' | 'payment' | 'payment_failure_refund' | 'payment_network_reserve_hold' | 'payment_network_reserve_release' | 'payment_refund' | 'payment_reversal' | 'payment_unreconciled' | 'payout' | 'payout_cancel' | 'payout_failure' | 'payout_minimum_balance_hold' | 'payout_minimum_balance_release' | 'refund' | 'refund_failure' | 'reserve_hold' | 'reserve_release' | 'reserve_transaction' | 'reserved_funds' | 'stripe_balance_payment_debit' | 'stripe_balance_payment_debit_reversal' | 'stripe_fee' | 'stripe_fx_fee' | 'tax_fee' | 'tax_fund' | 'topup' | 'topup_reversal' | 'transfer' | 'transfer_cancel' | 'transfer_failure' | 'transfer_refund';
|
|
110
110
|
}
|
|
111
111
|
export interface BalanceTransactionRetrieveParams {
|
|
112
112
|
/**
|
|
@@ -136,7 +136,7 @@ export interface BalanceTransactionListParams extends PaginationParams {
|
|
|
136
136
|
*/
|
|
137
137
|
source?: string;
|
|
138
138
|
/**
|
|
139
|
-
* Only returns transactions of the given type. One of: `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `inbound_transfer`, `inbound_transfer_reversal`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `obligation_outbound`, `obligation_reversal_inbound`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `payout_minimum_balance_hold`, `payout_minimum_balance_release`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `reserve_hold`, `reserve_release`, `stripe_fee`, `stripe_fx_fee`, `stripe_balance_payment_debit`, `stripe_balance_payment_debit_reversal`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, `transfer_refund`, or `fee_credit_funding`.
|
|
139
|
+
* Only returns transactions of the given type. One of: `tax_fund`, `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `inbound_transfer`, `inbound_transfer_reversal`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `obligation_outbound`, `obligation_reversal_inbound`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `payout_minimum_balance_hold`, `payout_minimum_balance_release`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `reserve_hold`, `reserve_release`, `stripe_fee`, `stripe_fx_fee`, `stripe_balance_payment_debit`, `stripe_balance_payment_debit_reversal`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, `transfer_refund`, or `fee_credit_funding`.
|
|
140
140
|
*/
|
|
141
141
|
type?: string;
|
|
142
142
|
}
|
|
@@ -5,9 +5,9 @@ exports.BalanceTransactionResource = void 0;
|
|
|
5
5
|
const StripeResource_js_1 = require("../StripeResource.js");
|
|
6
6
|
class BalanceTransactionResource extends StripeResource_js_1.StripeResource {
|
|
7
7
|
/**
|
|
8
|
-
* Returns a list of transactions that have contributed to the Stripe account balance (
|
|
8
|
+
* Returns a list of transactions that have contributed to the Stripe account balance (for example, charges, transfers, and so on). The transactions return in sorted order, with the most recent transactions appearing first.
|
|
9
9
|
*
|
|
10
|
-
*
|
|
10
|
+
* The previous name of this endpoint was “Balance history,” and it used the path /v1/balance/history.
|
|
11
11
|
*/
|
|
12
12
|
list(params, options) {
|
|
13
13
|
return this._makeRequest('GET', '/v1/balance_transactions', params, options, {
|
|
@@ -111,7 +111,7 @@ export declare namespace BankAccount {
|
|
|
111
111
|
*/
|
|
112
112
|
currently_due: Array<string> | null;
|
|
113
113
|
/**
|
|
114
|
-
*
|
|
114
|
+
* Fields that are `currently_due` and need to be collected again because validation or verification failed.
|
|
115
115
|
*/
|
|
116
116
|
errors: Array<FutureRequirements.Error> | null;
|
|
117
117
|
/**
|
|
@@ -129,7 +129,7 @@ export declare namespace BankAccount {
|
|
|
129
129
|
*/
|
|
130
130
|
currently_due: Array<string> | null;
|
|
131
131
|
/**
|
|
132
|
-
*
|
|
132
|
+
* Fields that are `currently_due` and need to be collected again because validation or verification failed.
|
|
133
133
|
*/
|
|
134
134
|
errors: Array<Requirements.Error> | null;
|
|
135
135
|
/**
|
|
@@ -5,6 +5,10 @@ export interface AlertRecovered {
|
|
|
5
5
|
* String representing the object's type. Objects of the same type share the same value.
|
|
6
6
|
*/
|
|
7
7
|
object: 'billing.alert_recovered';
|
|
8
|
+
/**
|
|
9
|
+
* The aggregation period for which this alert recovered
|
|
10
|
+
*/
|
|
11
|
+
aggregation_period?: AlertRecovered.AggregationPeriod | null;
|
|
8
12
|
/**
|
|
9
13
|
* A billing alert is a resource that notifies you when a certain usage threshold on a meter is crossed. For example, you might create a billing alert to notify you when a certain user made 100 API requests.
|
|
10
14
|
*/
|
|
@@ -38,3 +42,15 @@ export interface AlertRecovered {
|
|
|
38
42
|
*/
|
|
39
43
|
value: Decimal;
|
|
40
44
|
}
|
|
45
|
+
export declare namespace AlertRecovered {
|
|
46
|
+
interface AggregationPeriod {
|
|
47
|
+
/**
|
|
48
|
+
* End time of the aggregation period
|
|
49
|
+
*/
|
|
50
|
+
ends_at: number;
|
|
51
|
+
/**
|
|
52
|
+
* Start time of the aggregation period
|
|
53
|
+
*/
|
|
54
|
+
starts_at: number;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -240,7 +240,7 @@ export declare namespace Billing {
|
|
|
240
240
|
*/
|
|
241
241
|
price_type?: 'metered';
|
|
242
242
|
/**
|
|
243
|
-
* A list of prices that the credit grant can apply to. We currently only support the `metered` prices. Cannot be used in combination with `price_type`.
|
|
243
|
+
* A list of prices that the credit grant can apply to. We currently only support the `metered` prices. Cannot be used in combination with `price_type`. Limit 20 prices.
|
|
244
244
|
*/
|
|
245
245
|
prices?: Array<ApplicabilityScope.Price>;
|
|
246
246
|
}
|
|
@@ -79,7 +79,7 @@ export interface CreditGrant {
|
|
|
79
79
|
/**
|
|
80
80
|
* The priority for applying this credit grant. The highest priority is 0 and the lowest is 100.
|
|
81
81
|
*/
|
|
82
|
-
priority
|
|
82
|
+
priority: number | null;
|
|
83
83
|
/**
|
|
84
84
|
* ID of the test clock this credit grant belongs to.
|
|
85
85
|
*/
|
|
@@ -301,7 +301,7 @@ export declare namespace Billing {
|
|
|
301
301
|
*/
|
|
302
302
|
price_type?: 'metered';
|
|
303
303
|
/**
|
|
304
|
-
* A list of prices that the credit grant can apply to. We currently only support the `metered` prices. Cannot be used in combination with `price_type`.
|
|
304
|
+
* A list of prices that the credit grant can apply to. We currently only support the `metered` prices. Cannot be used in combination with `price_type`. Limit 20 prices.
|
|
305
305
|
*/
|
|
306
306
|
prices?: Array<Scope.Price>;
|
|
307
307
|
}
|
|
@@ -47,7 +47,7 @@ export declare namespace Capability {
|
|
|
47
47
|
*/
|
|
48
48
|
disabled_reason: FutureRequirements.DisabledReason | null;
|
|
49
49
|
/**
|
|
50
|
-
*
|
|
50
|
+
* Fields that are `currently_due` and need to be collected again because validation or verification failed.
|
|
51
51
|
*/
|
|
52
52
|
errors: Array<FutureRequirements.Error>;
|
|
53
53
|
/**
|
|
@@ -84,7 +84,7 @@ export declare namespace Capability {
|
|
|
84
84
|
*/
|
|
85
85
|
disabled_reason: Requirements.DisabledReason | null;
|
|
86
86
|
/**
|
|
87
|
-
*
|
|
87
|
+
* Fields that are `currently_due` and need to be collected again because validation or verification failed.
|
|
88
88
|
*/
|
|
89
89
|
errors: Array<Requirements.Error>;
|
|
90
90
|
/**
|
|
@@ -44,6 +44,10 @@ export interface FinancingOffer {
|
|
|
44
44
|
* Time at which the offer was created. Given in seconds since unix epoch.
|
|
45
45
|
*/
|
|
46
46
|
created: number;
|
|
47
|
+
/**
|
|
48
|
+
* The type of disclaimer to use for a financing offer in user-facing surfaces. The corresponding disclaimer text to use for each disclaimer_variant value can be found in the [marketing docs](https://docs.stripe.com/capital/marketing).
|
|
49
|
+
*/
|
|
50
|
+
disclaimer_variant?: FinancingOffer.DisclaimerVariant;
|
|
47
51
|
/**
|
|
48
52
|
* Time at which the offer expires. Given in seconds since unix epoch.
|
|
49
53
|
*/
|
|
@@ -111,6 +115,7 @@ export declare namespace FinancingOffer {
|
|
|
111
115
|
*/
|
|
112
116
|
withhold_rate: number;
|
|
113
117
|
}
|
|
118
|
+
type DisclaimerVariant = 'celtic_us_loan' | 'fundbox_au_financing' | 'youlend_de_financing' | 'youlend_fr_financing' | 'youlend_uk_mca' | 'youlend_us_mca';
|
|
114
119
|
type FinancingType = 'cash_advance' | 'flex_loan';
|
|
115
120
|
interface OfferedTerms {
|
|
116
121
|
/**
|
|
@@ -46,6 +46,10 @@ export declare namespace FinancingSummary {
|
|
|
46
46
|
* The chronologically current repayment interval for the financing offer.
|
|
47
47
|
*/
|
|
48
48
|
current_repayment_interval: Details.CurrentRepaymentInterval | null;
|
|
49
|
+
/**
|
|
50
|
+
* The type of disclaimer to use for a financing offer in user-facing surfaces. The corresponding disclaimer text to use for each disclaimer_variant value can be found in the [regulatory compliance docs](https://docs.stripe.com/capital/regulatory-compliance).
|
|
51
|
+
*/
|
|
52
|
+
disclaimer_variant?: Details.DisclaimerVariant;
|
|
49
53
|
/**
|
|
50
54
|
* Fixed fee amount, in minor units. For example, 100 USD is represented as 10000.
|
|
51
55
|
*/
|
|
@@ -84,6 +88,7 @@ export declare namespace FinancingSummary {
|
|
|
84
88
|
*/
|
|
85
89
|
remaining_amount: number;
|
|
86
90
|
}
|
|
91
|
+
type DisclaimerVariant = 'celtic_us_loan' | 'fundbox_au_financing' | 'youlend_de_financing' | 'youlend_fr_financing' | 'youlend_uk_mca' | 'youlend_us_mca';
|
|
87
92
|
}
|
|
88
93
|
}
|
|
89
94
|
export declare namespace Capital {
|
|
@@ -71,7 +71,7 @@ export declare namespace FinancingTransaction {
|
|
|
71
71
|
*/
|
|
72
72
|
fee_amount: number;
|
|
73
73
|
/**
|
|
74
|
-
* The linked payment for the transaction. This field only applies to financing transactions of type `
|
|
74
|
+
* The linked payment for the transaction. This field only applies to financing transactions of type `payment` and reason `automatic_withholding`.
|
|
75
75
|
*/
|
|
76
76
|
linked_payment?: string;
|
|
77
77
|
/**
|
|
@@ -118,7 +118,7 @@ export declare namespace Capital {
|
|
|
118
118
|
export declare namespace Capital {
|
|
119
119
|
interface FinancingTransactionListParams extends PaginationParams {
|
|
120
120
|
/**
|
|
121
|
-
* For transactions of type `
|
|
121
|
+
* For transactions of type `payment` and reason `automatic_withholding` only, only returns transactions that were created as a result of this charge.
|
|
122
122
|
*/
|
|
123
123
|
charge?: string;
|
|
124
124
|
/**
|
|
@@ -134,7 +134,7 @@ export declare namespace Capital {
|
|
|
134
134
|
*/
|
|
135
135
|
reversed_transaction?: string;
|
|
136
136
|
/**
|
|
137
|
-
* For transactions of type `
|
|
137
|
+
* For transactions of type `payment` and reason `automatic_withholding` only, only returns transactions that were created as a result of this Treasury Transaction.
|
|
138
138
|
*/
|
|
139
139
|
treasury_transaction?: string;
|
|
140
140
|
}
|
package/cjs/resources/Cards.d.ts
CHANGED
|
@@ -131,6 +131,10 @@ export interface Card {
|
|
|
131
131
|
*/
|
|
132
132
|
name: string | null;
|
|
133
133
|
networks?: Card.Networks;
|
|
134
|
+
/**
|
|
135
|
+
* Redaction status of this card. If not null, this card is associated to a redaction job.
|
|
136
|
+
*/
|
|
137
|
+
redaction?: Card.Redaction | null;
|
|
134
138
|
/**
|
|
135
139
|
* Status of a card based on the card issuer.
|
|
136
140
|
*/
|
|
@@ -181,5 +185,14 @@ export declare namespace Card {
|
|
|
181
185
|
*/
|
|
182
186
|
preferred: string | null;
|
|
183
187
|
}
|
|
188
|
+
interface Redaction {
|
|
189
|
+
/**
|
|
190
|
+
* Indicates whether this object and its related objects have been redacted or not.
|
|
191
|
+
*/
|
|
192
|
+
status: Redaction.Status;
|
|
193
|
+
}
|
|
184
194
|
type RegulatedStatus = 'regulated' | 'unregulated';
|
|
195
|
+
namespace Redaction {
|
|
196
|
+
type Status = 'processing' | 'redacted' | 'validated';
|
|
197
|
+
}
|
|
185
198
|
}
|