stripe 23.1.0-alpha.1 → 23.1.0-alpha.2

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.
Files changed (179) hide show
  1. package/CHANGELOG.md +57 -0
  2. package/OPENAPI_VERSION +1 -1
  3. package/VERSION +1 -1
  4. package/cjs/StripeEventNotificationHandler.js +5 -0
  5. package/cjs/StripeEventNotificationHandler.js.map +1 -1
  6. package/cjs/apiVersion.d.ts +1 -1
  7. package/cjs/apiVersion.js +1 -1
  8. package/cjs/resources/Accounts.d.ts +9 -0
  9. package/cjs/resources/Capital/FinancingSummary.d.ts +1 -1
  10. package/cjs/resources/Charges.d.ts +13 -18
  11. package/cjs/resources/Charges.js.map +1 -1
  12. package/cjs/resources/Checkout/Sessions.d.ts +176 -3
  13. package/cjs/resources/Checkout/Sessions.js +240 -0
  14. package/cjs/resources/Checkout/Sessions.js.map +1 -1
  15. package/cjs/resources/CustomerCashBalanceTransactions.d.ts +1 -1
  16. package/cjs/resources/Invoices.d.ts +3 -3
  17. package/cjs/resources/Issuing/Authorizations.d.ts +33 -0
  18. package/cjs/resources/Issuing/Authorizations.js +82 -0
  19. package/cjs/resources/Issuing/Authorizations.js.map +1 -1
  20. package/cjs/resources/Issuing/Transactions.d.ts +26 -0
  21. package/cjs/resources/Issuing/Transactions.js +48 -0
  22. package/cjs/resources/Issuing/Transactions.js.map +1 -1
  23. package/cjs/resources/PaymentAttemptRecords.d.ts +21 -2
  24. package/cjs/resources/PaymentIntents.d.ts +146 -10
  25. package/cjs/resources/PaymentRecords.d.ts +43 -4
  26. package/cjs/resources/QuotePreviewInvoices.d.ts +1 -1
  27. package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +46 -0
  28. package/cjs/resources/Radar/PaymentEvaluations.d.ts +77 -3
  29. package/cjs/resources/Radar/PaymentEvaluations.js.map +1 -1
  30. package/cjs/resources/Radar/Rules.d.ts +18 -0
  31. package/cjs/resources/Radar/Rules.js +4 -0
  32. package/cjs/resources/Radar/Rules.js.map +1 -0
  33. package/cjs/resources/Radar/index.d.ts +3 -0
  34. package/cjs/resources/Radar/index.js.map +1 -1
  35. package/cjs/resources/SetupIntents.d.ts +3 -3
  36. package/cjs/resources/SharedPayment/GrantedTokens.d.ts +1 -1
  37. package/cjs/resources/SharedPayment/IssuedTokens.d.ts +2 -2
  38. package/cjs/resources/SubscriptionSchedules.d.ts +46 -0
  39. package/cjs/resources/Subscriptions.d.ts +26 -3
  40. package/cjs/resources/Tax/Registrations.d.ts +10 -3
  41. package/cjs/resources/Terminal/Readers.d.ts +16 -0
  42. package/cjs/resources/TestHelpers/Issuing/Authorizations.js +112 -0
  43. package/cjs/resources/TestHelpers/Issuing/Authorizations.js.map +1 -1
  44. package/cjs/resources/TestHelpers/Issuing/Transactions.js +48 -0
  45. package/cjs/resources/TestHelpers/Issuing/Transactions.js.map +1 -1
  46. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +1 -1
  47. package/cjs/resources/Treasury/TransactionEntries.js +38 -0
  48. package/cjs/resources/Treasury/TransactionEntries.js.map +1 -1
  49. package/cjs/resources/Treasury/Transactions.js +40 -0
  50. package/cjs/resources/Treasury/Transactions.js.map +1 -1
  51. package/cjs/resources/V2/Core/Accounts.d.ts +6485 -1085
  52. package/cjs/resources/V2/Core/Accounts.js +8481 -3776
  53. package/cjs/resources/V2/Core/Accounts.js.map +1 -1
  54. package/cjs/resources/V2/Core/Events.d.ts +92 -8
  55. package/cjs/resources/V2/Data/QueryRuns.d.ts +1 -1
  56. package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +1 -1
  57. package/cjs/resources/V2/Data/Reports.d.ts +3 -3
  58. package/cjs/resources/V2/Data/Schemas.d.ts +1 -1
  59. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +30 -57
  60. package/cjs/resources/V2/MoneyManagement/FundingSessions.d.ts +111 -0
  61. package/cjs/resources/V2/MoneyManagement/FundingSessions.js +15 -0
  62. package/cjs/resources/V2/MoneyManagement/FundingSessions.js.map +1 -0
  63. package/cjs/resources/V2/MoneyManagement/InboundTransferMandates.d.ts +265 -0
  64. package/cjs/resources/V2/MoneyManagement/InboundTransferMandates.js +39 -0
  65. package/cjs/resources/V2/MoneyManagement/InboundTransferMandates.js.map +1 -0
  66. package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +42 -1
  67. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +18 -2
  68. package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +27 -7
  69. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +8 -6
  70. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
  71. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +39 -1
  72. package/cjs/resources/V2/MoneyManagement/index.d.ts +74 -61
  73. package/cjs/resources/V2/MoneyManagement/index.js +4 -0
  74. package/cjs/resources/V2/MoneyManagement/index.js.map +1 -1
  75. package/cjs/resources/V2/Payments/OffSessionPayments.d.ts +2 -2
  76. package/cjs/resources/V2/Payments/OffSessionPayments.js +1 -1
  77. package/cjs/resources/V2/Provisioning/ProviderServiceDetails.d.ts +72 -0
  78. package/cjs/resources/V2/Provisioning/Resources.d.ts +39 -0
  79. package/cjs/resources/V2/Reporting/ReportRuns.d.ts +1 -1
  80. package/cjs/resources/V2/Risk/Inquiries.d.ts +1 -5
  81. package/cjs/resources/V2/Risk/Inquiries.js.map +1 -1
  82. package/cjs/resources/V2/Signals/AccountEvaluations.d.ts +1 -1
  83. package/cjs/resources/V2/Signals/AccountEvaluations.js +1 -1
  84. package/cjs/resources/V2/Signals/AccountSignals.d.ts +2 -2
  85. package/cjs/resources/V2/Signals/AccountSignals.js +2 -2
  86. package/cjs/resources/V2/Tax/IntegrationConfigurations.d.ts +26 -0
  87. package/cjs/resources.js +4 -0
  88. package/cjs/resources.js.map +1 -1
  89. package/cjs/stripe.cjs.node.d.ts +1252 -1
  90. package/cjs/stripe.cjs.node.js.map +1 -1
  91. package/cjs/stripe.core.js +1 -1
  92. package/esm/StripeEventNotificationHandler.js +5 -0
  93. package/esm/StripeEventNotificationHandler.js.map +1 -1
  94. package/esm/apiVersion.d.ts +1 -1
  95. package/esm/apiVersion.js +1 -1
  96. package/esm/resources/Accounts.d.ts +9 -0
  97. package/esm/resources/Capital/FinancingSummary.d.ts +1 -1
  98. package/esm/resources/Charges.d.ts +13 -18
  99. package/esm/resources/Charges.js.map +1 -1
  100. package/esm/resources/Checkout/Sessions.d.ts +176 -3
  101. package/esm/resources/Checkout/Sessions.js +240 -0
  102. package/esm/resources/Checkout/Sessions.js.map +1 -1
  103. package/esm/resources/CustomerCashBalanceTransactions.d.ts +1 -1
  104. package/esm/resources/Invoices.d.ts +3 -3
  105. package/esm/resources/Issuing/Authorizations.d.ts +33 -0
  106. package/esm/resources/Issuing/Authorizations.js +82 -0
  107. package/esm/resources/Issuing/Authorizations.js.map +1 -1
  108. package/esm/resources/Issuing/Transactions.d.ts +26 -0
  109. package/esm/resources/Issuing/Transactions.js +48 -0
  110. package/esm/resources/Issuing/Transactions.js.map +1 -1
  111. package/esm/resources/PaymentAttemptRecords.d.ts +21 -2
  112. package/esm/resources/PaymentIntents.d.ts +146 -10
  113. package/esm/resources/PaymentRecords.d.ts +43 -4
  114. package/esm/resources/QuotePreviewInvoices.d.ts +1 -1
  115. package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +46 -0
  116. package/esm/resources/Radar/PaymentEvaluations.d.ts +77 -3
  117. package/esm/resources/Radar/PaymentEvaluations.js.map +1 -1
  118. package/esm/resources/Radar/Rules.d.ts +18 -0
  119. package/esm/resources/Radar/Rules.js +3 -0
  120. package/esm/resources/Radar/Rules.js.map +1 -0
  121. package/esm/resources/Radar/index.d.ts +3 -0
  122. package/esm/resources/Radar/index.js.map +1 -1
  123. package/esm/resources/SetupIntents.d.ts +3 -3
  124. package/esm/resources/SharedPayment/GrantedTokens.d.ts +1 -1
  125. package/esm/resources/SharedPayment/IssuedTokens.d.ts +2 -2
  126. package/esm/resources/SubscriptionSchedules.d.ts +46 -0
  127. package/esm/resources/Subscriptions.d.ts +26 -3
  128. package/esm/resources/Tax/Registrations.d.ts +10 -3
  129. package/esm/resources/Terminal/Readers.d.ts +16 -0
  130. package/esm/resources/TestHelpers/Issuing/Authorizations.js +112 -0
  131. package/esm/resources/TestHelpers/Issuing/Authorizations.js.map +1 -1
  132. package/esm/resources/TestHelpers/Issuing/Transactions.js +48 -0
  133. package/esm/resources/TestHelpers/Issuing/Transactions.js.map +1 -1
  134. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +1 -1
  135. package/esm/resources/Treasury/TransactionEntries.js +38 -0
  136. package/esm/resources/Treasury/TransactionEntries.js.map +1 -1
  137. package/esm/resources/Treasury/Transactions.js +40 -0
  138. package/esm/resources/Treasury/Transactions.js.map +1 -1
  139. package/esm/resources/V2/Core/Accounts.d.ts +6485 -1085
  140. package/esm/resources/V2/Core/Accounts.js +8481 -3776
  141. package/esm/resources/V2/Core/Accounts.js.map +1 -1
  142. package/esm/resources/V2/Core/Events.d.ts +92 -8
  143. package/esm/resources/V2/Data/QueryRuns.d.ts +1 -1
  144. package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +1 -1
  145. package/esm/resources/V2/Data/Reports.d.ts +3 -3
  146. package/esm/resources/V2/Data/Schemas.d.ts +1 -1
  147. package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +30 -57
  148. package/esm/resources/V2/MoneyManagement/FundingSessions.d.ts +111 -0
  149. package/esm/resources/V2/MoneyManagement/FundingSessions.js +11 -0
  150. package/esm/resources/V2/MoneyManagement/FundingSessions.js.map +1 -0
  151. package/esm/resources/V2/MoneyManagement/InboundTransferMandates.d.ts +265 -0
  152. package/esm/resources/V2/MoneyManagement/InboundTransferMandates.js +35 -0
  153. package/esm/resources/V2/MoneyManagement/InboundTransferMandates.js.map +1 -0
  154. package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +42 -1
  155. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +18 -2
  156. package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +27 -7
  157. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +8 -6
  158. package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
  159. package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +39 -1
  160. package/esm/resources/V2/MoneyManagement/index.d.ts +74 -61
  161. package/esm/resources/V2/MoneyManagement/index.js +4 -0
  162. package/esm/resources/V2/MoneyManagement/index.js.map +1 -1
  163. package/esm/resources/V2/Payments/OffSessionPayments.d.ts +2 -2
  164. package/esm/resources/V2/Payments/OffSessionPayments.js +1 -1
  165. package/esm/resources/V2/Provisioning/ProviderServiceDetails.d.ts +72 -0
  166. package/esm/resources/V2/Provisioning/Resources.d.ts +39 -0
  167. package/esm/resources/V2/Reporting/ReportRuns.d.ts +1 -1
  168. package/esm/resources/V2/Risk/Inquiries.d.ts +1 -5
  169. package/esm/resources/V2/Risk/Inquiries.js.map +1 -1
  170. package/esm/resources/V2/Signals/AccountEvaluations.d.ts +1 -1
  171. package/esm/resources/V2/Signals/AccountEvaluations.js +1 -1
  172. package/esm/resources/V2/Signals/AccountSignals.d.ts +2 -2
  173. package/esm/resources/V2/Signals/AccountSignals.js +2 -2
  174. package/esm/resources/V2/Tax/IntegrationConfigurations.d.ts +26 -0
  175. package/esm/resources.js +4 -0
  176. package/esm/resources.js.map +1 -1
  177. package/esm/stripe.core.js +1 -1
  178. package/esm/stripe.esm.node.js +1 -1
  179. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -7,6 +7,63 @@ Instead, edit a corresponding `.change.md` file and run `hark build`.
7
7
 
8
8
  > This changelog only covers the **private preview** releases. Each release builds on the most recent GA release; see those notes in [the GA changelog](https://github.com/stripe/stripe-node/blob/master/CHANGELOG.md).
9
9
 
10
+ ## <a id="23-1-0-alpha-2"></a>23.1.0-alpha.2 - 2026-10-07
11
+ This release changes the pinned API version to `2026-10-07.preview`.
12
+
13
+ * ⚠️ [#2882](https://github.com/stripe/stripe-node/pull/2882) Update generated code
14
+ * Add support for new resources `Radar.Rule`, `V2.MoneyManagement.FundingSession`, and `V2.MoneyManagement.InboundTransferMandate`
15
+ * Add support for `cancel`, `create`, `list`, and `retrieve` methods on resource `V2.MoneyManagement.InboundTransferMandate`
16
+ * Add support for `create` method on resource `V2.MoneyManagement.FundingSession`
17
+ * Add support for `excluded_payout_destinations` on `AccountUpdateParams.settings.capital`
18
+ * Add support for `wero_payments` on `Account.capabilities`
19
+ * ⚠️ Change type of `Charge.outcome.rule` from `RadarRule` to `Radar.Rule`
20
+ * Add support for new value `ousd` on enums `Charge.payment_method_details.crypto.token_currency`, `PaymentAttemptRecord.payment_method_details.crypto.token_currency`, and `PaymentRecord.payment_method_details.crypto.token_currency`
21
+ * Add support for `location` and `reader` on `Charge.payment_method_details.swish`, `PaymentAttemptRecord.payment_method_details.swish`, and `PaymentRecord.payment_method_details.swish`
22
+ * Add support for `payment_settings` on `Checkout.SessionCreateParams` and `Checkout.Session`
23
+ * Add support for `on_behalf_of` on `Checkout.Session`
24
+ * Add support for new values `fednow` and `rtp` on enum `CustomerCashBalanceTransaction.funded.bank_transfer.us_bank_transfer.network`
25
+ * Add support for `flexible_credential` on `Issuing.Authorization`
26
+ * Add support for `fuels` on `Issuing.Transaction.purchase_details`
27
+ * Add support for `us_bank_account` on `PaymentAttemptRecordReportFailedParams.payment_method_details`, `PaymentRecordReportPaymentAttemptFailedParams.payment_method_details`, `PaymentRecordReportPaymentAttemptParams.payment_method_details`, `PaymentRecordReportPaymentParams.payment_method_details`, `Radar.PaymentEvaluation.payment_details.money_movement_details`, and `Radar.PaymentEvaluationCreateParams.payment_details.money_movement_details`
28
+ * Change type of `PaymentAttemptRecordReportFailedParams.payment_method_details.type` and `PaymentRecordReportPaymentAttemptFailedParams.payment_method_details.type` from `literal('card')` to `enum('card'|'us_bank_account')`
29
+ * Add support for `fleet` on `PaymentIntent.payment_method_options.card_present`, `PaymentIntentConfirmParams.payment_method_options.card_present`, `PaymentIntentCreateParams.payment_method_options.card_present`, and `PaymentIntentUpdateParams.payment_method_options.card_present`
30
+ * Add support for `subscription_reference` on `PaymentIntent.payment_method_options.paypay`, `PaymentIntentConfirmParams.payment_method_options.paypay`, `PaymentIntentCreateParams.payment_method_options.paypay`, and `PaymentIntentUpdateParams.payment_method_options.paypay`
31
+ * Add support for new value `us_bank_account` on enums `PaymentRecordReportPaymentAttemptParams.payment_method_details.type` and `PaymentRecordReportPaymentParams.payment_method_details.type`
32
+ * Add support for `enablement_details` on `QuotePreviewSubscriptionSchedule.default_settings.automatic_tax`, `QuotePreviewSubscriptionSchedule.phases[].automatic_tax`, `Subscription.automatic_tax`, `SubscriptionSchedule.default_settings.automatic_tax`, and `SubscriptionSchedule.phases[].automatic_tax`
33
+ * Change type of `Radar.PaymentEvaluationCreateParams.payment_details.money_movement_details.money_movement_type` from `literal('card')` to `enum('card'|'us_bank_account')`
34
+ * Add support for `rules` on `Radar.PaymentEvaluation`
35
+ * ⚠️ Change type of `Radar.PaymentEvaluation.payment_details.money_movement_details.money_movement_type` from `literal('card')` to `enum('card'|'us_bank_account')`
36
+ * Add support for new values `request_three_d_secure` and `reroute` on enum `Radar.PaymentEvaluation.recommended_action`
37
+ * Add support for `bank_initiated_return` on `Radar.PaymentEvaluation.signals`
38
+ * Add support for new value `hour` on enums `SharedPayment.GrantedToken.usage_limits.recurring.interval`, `SharedPayment.GrantedTokenCreateParams.testHelpers.usage_limits.recurring.interval`, `SharedPayment.IssuedToken.usage_limits.recurring.interval`, and `SharedPayment.IssuedTokenCreateParams.usage_limits.recurring.interval`
39
+ * Add support for new values `digital_excise_tax` and `utility_users_tax` on enums `Tax.Registration.country_options.us.type` and `Tax.RegistrationCreateParams.country_options.us.type`
40
+ * Add support for `utility_users_tax` on `Tax.Registration.country_options.us`
41
+ * Add support for `enable_customer_cancellation` on `Terminal.ReaderActivateGiftCardParams`, `Terminal.ReaderCashoutGiftCardParams`, `Terminal.ReaderCheckGiftCardBalanceParams`, and `Terminal.ReaderReloadGiftCardParams`
42
+ * Add support for `vipps_payments` on `V2.Core.Account.configuration.merchant.capabilities`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities`, and `V2.Core.AccountUpdateParams.configuration.merchant.capabilities`
43
+ * Add support for `business_custodial_storage` on `V2.Core.Account.configuration.money_manager.capabilities`, `V2.Core.AccountCreateParams.configuration.money_manager.capabilities`, and `V2.Core.AccountUpdateParams.configuration.money_manager.capabilities`
44
+ * Add support for `offramp` and `onramp` on `V2.Core.Account.configuration.money_manager.capabilities.outbound_payments`, `V2.Core.Account.configuration.money_manager.capabilities.outbound_transfers`, `V2.Core.Account.configuration.money_manager.capabilities.received_credits`, `V2.Core.AccountCreateParams.configuration.money_manager.capabilities.outbound_payments`, `V2.Core.AccountCreateParams.configuration.money_manager.capabilities.outbound_transfers`, `V2.Core.AccountCreateParams.configuration.money_manager.capabilities.received_credits`, `V2.Core.AccountUpdateParams.configuration.money_manager.capabilities.outbound_payments`, `V2.Core.AccountUpdateParams.configuration.money_manager.capabilities.outbound_transfers`, and `V2.Core.AccountUpdateParams.configuration.money_manager.capabilities.received_credits`
45
+ * Add support for `pix` on `V2.Core.Account.configuration.recipient.capabilities`, `V2.Core.AccountCreateParams.configuration.recipient.capabilities`, `V2.Core.AccountUpdateParams.configuration.recipient.capabilities`, `V2.MoneyManagement.OutboundSetupIntentCreateParams.payout_method_data`, and `V2.MoneyManagement.PayoutMethod`
46
+ * ⚠️ Add support for new value `pix` on enum `V2.Core.Account.configuration.recipient.default_outbound_destination.type`
47
+ * Add support for new values `pix` and `vipps_payments` on enums `V2.Core.Account.future_requirements.entries[].impact.restricts_capabilities[].capability` and `V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability`
48
+ * Add support for `account` on `V2.MoneyManagement.FinancialAddressCreateParams`, `V2.MoneyManagement.FinancialAddressListParams`, and `V2.MoneyManagement.FinancialAddress`
49
+ * Add support for new values `bre_b`, `nip`, and `pix` on enum `V2.MoneyManagement.FinancialAddress.bank_account.type`
50
+ * Add support for `supported_network_details` on `V2.MoneyManagement.FinancialAddress.crypto_wallet`
51
+ * Add support for new value `bitcoin` on enums `V2.MoneyManagement.FinancialAddress.crypto_wallet.network`, `V2.MoneyManagement.FinancialAddressCreateParams.crypto_wallet.network`, and `V2.MoneyManagement.ReceivedCredit.crypto_wallet_transfer.crypto_wallet.network`
52
+ * Add support for `network_details` on `V2.MoneyManagement.InboundTransferCreateParams` and `V2.MoneyManagement.InboundTransfer`
53
+ * Add support for `bacs_debit` on `V2.MoneyManagement.InboundTransfer.from.payment_method`
54
+ * Add support for new value `pix` on enums `V2.MoneyManagement.OutboundSetupIntentCreateParams.payout_method_data.type`, `V2.MoneyManagement.OutboundSetupIntentUpdateParams.payout_method_data.type`, and `V2.MoneyManagement.PayoutMethod.type`
55
+ * Add support for `bic` on `V2.MoneyManagement.ReceivedCredit.bank_transfer.originating_bank_account.aba` and `V2.MoneyManagement.ReceivedCredit.bank_transfer.originating_bank_account.sort_code`
56
+ * Add support for `originating_crypto_wallet`, `token_currency`, and `transaction_hash` on `V2.MoneyManagement.ReceivedCredit.crypto_wallet_transfer`
57
+ * Add support for `invoices` on `V2.Tax.IntegrationConfigurationUpdateParams` and `V2.Tax.IntegrationConfiguration`
58
+ * ⚠️ Remove support for `account` on `V2.Risk.InquiryListParams`
59
+ * Add support for new values `brl`, `cop`, and `ngn` on enum `V2.MoneyManagement.FinancialAddressCreateParams.bank_account.currency`
60
+ * Add support for `customer` and `subscription` on `EventsV1InvoiceUpcomingEvent`
61
+ * Add support for new value `vipps_payments` on enum `EventsV2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent.updated_capability`
62
+ * Add support for new values `business_custodial_storage.inbound.ousd`, `business_custodial_storage.inbound.usdc`, `business_custodial_storage.outbound.ousd`, `business_custodial_storage.outbound.usdc`, `outbound_payments.offramp.bank_accounts.brl`, `outbound_payments.offramp.bank_accounts.cop`, `outbound_payments.offramp.bank_accounts.eur`, `outbound_payments.offramp.bank_accounts.gbp`, `outbound_payments.offramp.bank_accounts.mxn`, `outbound_payments.offramp.bank_accounts.usd`, `outbound_payments.onramp.crypto_wallets.brl`, `outbound_payments.onramp.crypto_wallets.cop`, `outbound_payments.onramp.crypto_wallets.eur`, `outbound_payments.onramp.crypto_wallets.gbp`, `outbound_payments.onramp.crypto_wallets.mxn`, `outbound_payments.onramp.crypto_wallets.usd`, `outbound_transfers.offramp.bank_accounts.brl`, `outbound_transfers.offramp.bank_accounts.cop`, `outbound_transfers.offramp.bank_accounts.eur`, `outbound_transfers.offramp.bank_accounts.gbp`, `outbound_transfers.offramp.bank_accounts.mxn`, `outbound_transfers.offramp.bank_accounts.usd`, `outbound_transfers.onramp.crypto_wallets.brl`, `outbound_transfers.onramp.crypto_wallets.cop`, `outbound_transfers.onramp.crypto_wallets.eur`, `outbound_transfers.onramp.crypto_wallets.gbp`, `outbound_transfers.onramp.crypto_wallets.mxn`, `outbound_transfers.onramp.crypto_wallets.usd`, `received_credits.offramp.bank_accounts.brl`, `received_credits.offramp.bank_accounts.cop`, `received_credits.offramp.bank_accounts.eur`, `received_credits.offramp.bank_accounts.gbp`, `received_credits.offramp.bank_accounts.mxn`, `received_credits.offramp.bank_accounts.usd`, `received_credits.onramp.crypto_wallets.brl`, `received_credits.onramp.crypto_wallets.cop`, `received_credits.onramp.crypto_wallets.eur`, `received_credits.onramp.crypto_wallets.gbp`, `received_credits.onramp.crypto_wallets.mxn`, and `received_credits.onramp.crypto_wallets.usd` on enum `EventsV2CoreAccountIncludingConfigurationMoneyManagerCapabilityStatusUpdatedEvent.updated_capability`
63
+ * Add support for new value `pix` on enum `EventsV2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent.updated_capability`
64
+ * Add support for event notifications `V2MoneyManagementInboundTransferMandateActivatedEvent`, `V2MoneyManagementInboundTransferMandateCreatedEvent`, `V2MoneyManagementInboundTransferMandateExpiredEvent`, `V2MoneyManagementInboundTransferMandateRefusedEvent`, and `V2MoneyManagementInboundTransferMandateRevokedEvent` with related object `V2.MoneyManagement.InboundTransferMandate`
65
+ * Add support for error code `service_unavailable` on `ServiceUnavailableError`
66
+
10
67
  ## <a id="23-1-0-alpha-1"></a>23.1.0-alpha.1 - 2026-09-30
11
68
  This release changes the pinned API version to `2026-09-30.preview`.
12
69
 
package/OPENAPI_VERSION CHANGED
@@ -1 +1 @@
1
- v2526
1
+ v2544
package/VERSION CHANGED
@@ -1 +1 @@
1
- 23.1.0-alpha.1
1
+ 23.1.0-alpha.2
@@ -398,6 +398,11 @@ const KNOWN_EVENT_TYPES = new Set([
398
398
  'v2.money_management.inbound_transfer.bank_debit_queued',
399
399
  'v2.money_management.inbound_transfer.bank_debit_returned',
400
400
  'v2.money_management.inbound_transfer.bank_debit_succeeded',
401
+ 'v2.money_management.inbound_transfer_mandate.activated',
402
+ 'v2.money_management.inbound_transfer_mandate.created',
403
+ 'v2.money_management.inbound_transfer_mandate.expired',
404
+ 'v2.money_management.inbound_transfer_mandate.refused',
405
+ 'v2.money_management.inbound_transfer_mandate.revoked',
401
406
  'v2.money_management.outbound_payment.canceled',
402
407
  'v2.money_management.outbound_payment.created',
403
408
  'v2.money_management.outbound_payment.failed',
@@ -1 +1 @@
1
- {"version":3,"file":"StripeEventNotificationHandler.js","sourceRoot":"","sources":["../src/StripeEventNotificationHandler.ts"],"names":[],"mappings":";;;AAsBA,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,6BAA6B;IAC7B,4BAA4B;IAC5B,+CAA+C;IAC/C,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,aAAqB,EAC7B,gBAAkC;QAElC,KAAK,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;QAHxB,kBAAa,GAAb,aAAa,CAAQ;QAI7B,IAAI,CAAC,aAAa,EAAE;YAClB,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;SAC7D;IACH,CAAC;IAED,MAAM,CAAC,mBAAmB,CACxB,MAAc,EACd,gBAAkC;QAElC,OAAO,IAAI,iDAAiD,CAC1D,MAAM,EACN,gBAAgB,CACjB,CAAC;IACJ,CAAC;IAEM,KAAK,CAAC,MAAM,CACjB,OAAuB,EACvB,SAAwB;QAExB,0EAA0E;QAC1E,yHAAyH;QACzH,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;QAE5B,OAAO,MAAM,IAAI,CAAC,aAAa,CAC7B,IAAI,CAAC,MAAM,CAAC,sBAAsB,CAAC,OAAO,EAAE,SAAS,EAAE,IAAI,CAAC,aAAa,CAAC,CAC3E,CAAC;IACJ,CAAC;CACF;AAlCD,wEAkCC;AAED;;;;;;;GAOG;AACH,MAAa,iDAAkD,SAAQ,4BAA4B;IAC1F,KAAK,CAAC,MAAM,CAAC,OAAuB;QACzC,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;QAE5B,OAAO,MAAM,IAAI,CAAC,aAAa,CAC7B,IAAI,CAAC,MAAM,CAAC,yCAAyC,CAAC,OAAO,CAAC,CAC/D,CAAC;IACJ,CAAC;CACF;AARD,8GAQC"}
1
+ {"version":3,"file":"StripeEventNotificationHandler.js","sourceRoot":"","sources":["../src/StripeEventNotificationHandler.ts"],"names":[],"mappings":";;;AAsBA,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,6BAA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iBAAiB,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC;aACpD,CACF,CAAC;SACH;IACH,CAAC;CACF;AAED,MAAa,8BAA+B,SAAQ,4BAA4B;IAC9E,YACE,MAAc,EACN,aAAqB,EAC7B,gBAAkC;QAElC,KAAK,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;QAHxB,kBAAa,GAAb,aAAa,CAAQ;QAI7B,IAAI,CAAC,aAAa,EAAE;YAClB,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;SAC7D;IACH,CAAC;IAED,MAAM,CAAC,mBAAmB,CACxB,MAAc,EACd,gBAAkC;QAElC,OAAO,IAAI,iDAAiD,CAC1D,MAAM,EACN,gBAAgB,CACjB,CAAC;IACJ,CAAC;IAEM,KAAK,CAAC,MAAM,CACjB,OAAuB,EACvB,SAAwB;QAExB,0EAA0E;QAC1E,yHAAyH;QACzH,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;QAE5B,OAAO,MAAM,IAAI,CAAC,aAAa,CAC7B,IAAI,CAAC,MAAM,CAAC,sBAAsB,CAAC,OAAO,EAAE,SAAS,EAAE,IAAI,CAAC,aAAa,CAAC,CAC3E,CAAC;IACJ,CAAC;CACF;AAlCD,wEAkCC;AAED;;;;;;;GAOG;AACH,MAAa,iDAAkD,SAAQ,4BAA4B;IAC1F,KAAK,CAAC,MAAM,CAAC,OAAuB;QACzC,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;QAE5B,OAAO,MAAM,IAAI,CAAC,aAAa,CAC7B,IAAI,CAAC,MAAM,CAAC,yCAAyC,CAAC,OAAO,CAAC,CAC/D,CAAC;IACJ,CAAC;CACF;AARD,8GAQC"}
@@ -1,2 +1,2 @@
1
- export declare const ApiVersion = "2026-09-30.preview";
1
+ export declare const ApiVersion = "2026-10-07.preview";
2
2
  export declare const ApiMajorVersion = "";
package/cjs/apiVersion.js CHANGED
@@ -2,6 +2,6 @@
2
2
  // File generated from our OpenAPI spec
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.ApiMajorVersion = exports.ApiVersion = void 0;
5
- exports.ApiVersion = '2026-09-30.preview';
5
+ exports.ApiVersion = '2026-10-07.preview';
6
6
  exports.ApiMajorVersion = '';
7
7
  //# sourceMappingURL=apiVersion.js.map
@@ -630,6 +630,10 @@ export declare namespace Account {
630
630
  * The status of the US customer_balance payments (USD currency) capability of the account, or whether the account can directly process US customer_balance charges.
631
631
  */
632
632
  us_bank_transfer_payments?: Capabilities.UsBankTransferPayments;
633
+ /**
634
+ * The status of the Wero capability of the account, or whether the account can directly process Wero payments.
635
+ */
636
+ wero_payments?: Capabilities.WeroPayments;
633
637
  /**
634
638
  * The status of the Zip capability of the account, or whether the account can directly process Zip charges.
635
639
  */
@@ -967,6 +971,7 @@ export declare namespace Account {
967
971
  type UpiPayments = 'active' | 'inactive' | 'pending' | OtherString;
968
972
  type UsBankAccountAchPayments = 'active' | 'inactive' | 'pending' | OtherString;
969
973
  type UsBankTransferPayments = 'active' | 'inactive' | 'pending' | OtherString;
974
+ type WeroPayments = 'active' | 'inactive' | 'pending' | OtherString;
970
975
  type ZipPayments = 'active' | 'inactive' | 'pending' | OtherString;
971
976
  }
972
977
  namespace Company {
@@ -5223,6 +5228,10 @@ export declare namespace AccountUpdateParams {
5223
5228
  secondary_color?: string;
5224
5229
  }
5225
5230
  interface Capital {
5231
+ /**
5232
+ * The payout destinations excluded from Capital financing payouts.
5233
+ */
5234
+ excluded_payout_destinations?: Emptyable<Array<string>>;
5226
5235
  /**
5227
5236
  * Per-currency mapping of user-selected destination accounts used to pay out loans.
5228
5237
  */
@@ -36,7 +36,7 @@ export declare namespace FinancingSummary {
36
36
  */
37
37
  advance_amount: number;
38
38
  /**
39
- * The time at which the funds were paid out to the connected account's Stripe balance. Given in milliseconds since unix epoch.
39
+ * The time at which the funds were paid out to the connected account's Stripe balance. Given in seconds since unix epoch.
40
40
  */
41
41
  advance_paid_out_at: number | null;
42
42
  /**
@@ -12,6 +12,7 @@ import { CustomerSource } from './CustomerSources.js';
12
12
  import { Transfer } from './Transfers.js';
13
13
  import { PaymentMethod } from './PaymentMethods.js';
14
14
  import { Mandate } from './Mandates.js';
15
+ import * as Radar from './Radar/index.js';
15
16
  import { Emptyable, MetadataParam, AddressParam, OtherString, Address, ShippingAddressParam, PaginationParams, RangeQueryParam, Metadata } from '../shared.js';
16
17
  import { RequestOptions, ApiListPromise, Response, ApiList, ApiSearchResultPromise } from '../lib.js';
17
18
  export declare class ChargeResource extends StripeResource {
@@ -311,7 +312,7 @@ export declare namespace Charge {
311
312
  /**
312
313
  * The ID of the Radar rule that matched the payment, if applicable.
313
314
  */
314
- rule?: string | Outcome.Rule;
315
+ rule?: string | Radar.Rule;
315
316
  /**
316
317
  * A human-readable description of the outcome type and reason, designed for you (the recipient of the payment), not your customer.
317
318
  */
@@ -468,20 +469,6 @@ export declare namespace Charge {
468
469
  }
469
470
  namespace Outcome {
470
471
  type AdviceCode = 'confirm_card_data' | 'do_not_try_again' | 'try_again_later' | OtherString;
471
- interface Rule {
472
- /**
473
- * The action taken on the payment.
474
- */
475
- action: string;
476
- /**
477
- * Unique identifier for the object.
478
- */
479
- id: string;
480
- /**
481
- * The predicate to evaluate the payment against.
482
- */
483
- predicate: string;
484
- }
485
472
  }
486
473
  namespace PaymentMethodDetails {
487
474
  interface AchCreditTransfer {
@@ -1663,10 +1650,18 @@ export declare namespace Charge {
1663
1650
  * Uniquely identifies the payer's Swish account. You can use this attribute to check whether two Swish transactions were paid for by the same payer
1664
1651
  */
1665
1652
  fingerprint: string | null;
1653
+ /**
1654
+ * ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
1655
+ */
1656
+ location?: string;
1666
1657
  /**
1667
1658
  * Payer bank reference number for the payment
1668
1659
  */
1669
1660
  payment_reference: string | null;
1661
+ /**
1662
+ * ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
1663
+ */
1664
+ reader?: string;
1670
1665
  /**
1671
1666
  * The last four digits of the Swish account phone number
1672
1667
  */
@@ -2148,7 +2143,7 @@ export declare namespace Charge {
2148
2143
  }
2149
2144
  namespace Crypto {
2150
2145
  type Network = 'base' | 'ethereum' | 'polygon' | 'solana' | 'sui' | 'tempo' | OtherString;
2151
- type TokenCurrency = 'phantom_cash' | 'usdc' | 'usdg' | 'usdp' | 'usdsui' | 'usdt' | OtherString;
2146
+ type TokenCurrency = 'ousd' | 'phantom_cash' | 'usdc' | 'usdg' | 'usdp' | 'usdsui' | 'usdt' | OtherString;
2152
2147
  }
2153
2148
  namespace Eps {
2154
2149
  type Bank = 'arzte_und_apotheker_bank' | 'austrian_anadi_bank_ag' | 'bank_austria' | 'bankhaus_carl_spangler' | 'bankhaus_schelhammer_und_schattera_ag' | 'bawag_psk_ag' | 'bks_bank_ag' | 'brull_kallmus_bank_ag' | 'btv_vier_lander_bank' | 'capital_bank_grawe_gruppe_ag' | 'deutsche_bank_ag' | 'dolomitenbank' | 'easybank_ag' | 'erste_bank_und_sparkassen' | 'hypo_alpeadriabank_international_ag' | 'hypo_bank_burgenland_aktiengesellschaft' | 'hypo_noe_lb_fur_niederosterreich_u_wien' | 'hypo_oberosterreich_salzburg_steiermark' | 'hypo_tirol_bank_ag' | 'hypo_vorarlberg_bank_ag' | 'marchfelder_bank' | 'oberbank_ag' | 'raiffeisen_bankengruppe_osterreich' | 'schoellerbank_ag' | 'sparda_bank_wien' | 'volksbank_gruppe' | 'volkskreditbank_ag' | 'vr_bank_braunau' | OtherString;
@@ -2391,7 +2386,7 @@ export interface ChargeCreateParams {
2391
2386
  */
2392
2387
  radar_options?: ChargeCreateParams.RadarOptions;
2393
2388
  /**
2394
- * The email address to which this charge's [receipt](https://docs.stripe.com/dashboard/receipts) will be sent. The receipt will not be sent until the charge is paid, and no receipts will be sent for test mode charges. If this charge is for a [Customer](https://docs.stripe.com/api/customers/object), the email address specified here will override the customer's email address. If `receipt_email` is specified for a charge in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails).
2389
+ * The email address to which this charge's [receipt](https://docs.stripe.com/dashboard/receipts) will be sent. The receipt will not be sent until the charge is paid, and receipts are only sent for payments in live mode. If this charge is for a [Customer](https://docs.stripe.com/api/customers/object), the email address specified here will override the customer's email address. If `receipt_email` is specified for a charge in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails).
2395
2390
  */
2396
2391
  receipt_email?: string;
2397
2392
  /**
@@ -4100,7 +4095,7 @@ export interface ChargeCaptureParams {
4100
4095
  */
4101
4096
  payment_details?: ChargeCaptureParams.PaymentDetails;
4102
4097
  /**
4103
- * The email address to send this charge's receipt to. This will override the previously-specified email address for this charge, if one was set. Receipts will not be sent in test mode.
4098
+ * The email address to send this charge's receipt to. This will override the previously-specified email address for this charge, if one was set. Receipts are only sent for payments in live mode.
4104
4099
  */
4105
4100
  receipt_email?: string;
4106
4101
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"Charges.js","sourceRoot":"","sources":["../../src/resources/Charges.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,4DAAoD;AAiCpD,MAAa,cAAe,SAAQ,kCAAc;IAChD;;OAEG;IACH,IAAI,CACF,MAAyB,EACzB,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,OAAO,EAAE;YAC9D,UAAU,EAAE,MAAM;SACnB,CAAQ,CAAC;IACZ,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,MAA2B,EAC3B,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,OAAO,CAAQ,CAAC;IAC1E,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAA6B,EAC7B,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,eAAe,kBAAkB,CAAC,EAAE,CAAC,EAAE,EACvC,MAAM,EACN,OAAO,C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AC,EAAE,CAAC,EAAE,EACvC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,EAAU,EACV,MAA2B,EAC3B,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,eAAe,kBAAkB,CAAC,EAAE,CAAC,EAAE,EACvC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;;;;OAKG;IACH,MAAM,CACJ,MAA0B,EAC1B,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,oBAAoB,EAAE,MAAM,EAAE,OAAO,EAAE;YACrE,UAAU,EAAE,QAAQ;SACrB,CAAQ,CAAC;IACZ,CAAC;IACD;;OAEG;IACH,OAAO,CACL,EAAU,EACV,MAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,eAAe,kBAAkB,CAAC,EAAE,CAAC,UAAU,EAC/C,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF;AAhFD,wCAgFC"}
@@ -89,7 +89,7 @@ export interface Session {
89
89
  *
90
90
  * Default is `auto`, when the customer's attempt to pay is approved automatically with no action required on your server.
91
91
  *
92
- * When set to `manual`, you must approve the customer's attempt to pay by calling [approve](api/checkout/sessions/approve) from your server.
92
+ * When set to `manual`, you must approve the customer's attempt to pay by calling [approve](https://docs.stripe.com/api/checkout/sessions/approve) from your server.
93
93
  */
94
94
  approval_method?: Session.ApprovalMethod | null;
95
95
  automatic_surcharge?: Session.AutomaticSurcharge;
@@ -234,6 +234,10 @@ export interface Session {
234
234
  */
235
235
  mode: Session.Mode;
236
236
  name_collection?: Session.NameCollection;
237
+ /**
238
+ * The account on behalf of which to charge. See the [Connect documentation](https://support.stripe.com/questions/sending-invoices-on-behalf-of-connected-accounts) for details.
239
+ */
240
+ on_behalf_of?: string | null;
237
241
  /**
238
242
  * The optional items presented to the customer at checkout.
239
243
  */
@@ -275,6 +279,7 @@ export interface Session {
275
279
  * The ID of the Payment Reservation for this Checkout Session.
276
280
  */
277
281
  payment_reservation?: string | null;
282
+ payment_settings?: Session.PaymentSettings;
278
283
  /**
279
284
  * The payment status of the Checkout Session, one of `paid`, `unpaid`, or `no_payment_required`.
280
285
  * You can use this value to decide when to fulfill your customer's order.
@@ -737,6 +742,40 @@ export declare namespace Session {
737
742
  us_bank_account?: PaymentMethodOptions.UsBankAccount;
738
743
  wechat_pay?: PaymentMethodOptions.WechatPay;
739
744
  }
745
+ interface PaymentSettings {
746
+ /**
747
+ * Configures an application fee transferred to the application owner's Stripe account.
748
+ */
749
+ application_fee_data?: PaymentSettings.ApplicationFeeData | null;
750
+ /**
751
+ * Controls when the funds will be captured from the customer's account.
752
+ */
753
+ capture_method: string | null;
754
+ /**
755
+ * An arbitrary string attached to the object. Often useful for displaying to users.
756
+ */
757
+ description: string | null;
758
+ /**
759
+ * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
760
+ */
761
+ metadata: Metadata | null;
762
+ /**
763
+ * Indicates that you intend to make future payments with the payment method collected by this Checkout Session.
764
+ */
765
+ setup_future_usage: PaymentSettings.SetupFutureUsage | null;
766
+ /**
767
+ * Text that appears on the customer's statement as the statement descriptor for a non-card charge. This value overrides the account's default statement descriptor.
768
+ */
769
+ statement_descriptor: string | null;
770
+ /**
771
+ * Configures automatic transfers to a connected account when payments succeed.
772
+ */
773
+ transfer_data?: PaymentSettings.TransferData | null;
774
+ /**
775
+ * A string that identifies the initial payment as part of a group.
776
+ */
777
+ transfer_group?: string | null;
778
+ }
740
779
  type PaymentStatus = 'no_payment_required' | 'paid' | 'unpaid' | OtherString;
741
780
  interface Permissions {
742
781
  /**
@@ -2549,6 +2588,41 @@ export declare namespace Session {
2549
2588
  type SetupFutureUsage = 'none' | OtherString;
2550
2589
  }
2551
2590
  }
2591
+ namespace PaymentSettings {
2592
+ interface ApplicationFeeData {
2593
+ /**
2594
+ * The application fee amount, in the currency's smallest unit, applied to the initial payment.
2595
+ */
2596
+ initial_amount: number | null;
2597
+ /**
2598
+ * The percentage of each payment collected as an application fee.
2599
+ */
2600
+ percentage_decimal: Decimal | null;
2601
+ }
2602
+ type SetupFutureUsage = 'off_session' | 'on_session' | OtherString;
2603
+ interface TransferData {
2604
+ /**
2605
+ * The connected account that receives funds from payments created by this Checkout Session.
2606
+ */
2607
+ destination: string;
2608
+ /**
2609
+ * Configures the amount transferred to the destination account.
2610
+ */
2611
+ transfer_amount: TransferData.TransferAmount | null;
2612
+ }
2613
+ namespace TransferData {
2614
+ interface TransferAmount {
2615
+ /**
2616
+ * The amount, in the currency's smallest unit, transferred from the initial payment.
2617
+ */
2618
+ initial_amount: number | null;
2619
+ /**
2620
+ * The percentage of each payment transferred to the destination account.
2621
+ */
2622
+ percentage_decimal: Decimal | null;
2623
+ }
2624
+ }
2625
+ }
2552
2626
  namespace Permissions {
2553
2627
  interface Update {
2554
2628
  /**
@@ -2703,7 +2777,7 @@ export declare namespace Checkout {
2703
2777
  *
2704
2778
  * Default is `auto`, when the customer's attempt to pay is approved automatically with no action required on your server.
2705
2779
  *
2706
- * When set to `manual`, you must approve the customer's attempt to pay by calling [approve](api/checkout/sessions/approve) from your server.
2780
+ * When set to `manual`, you must approve the customer's attempt to pay by calling [approve](https://docs.stripe.com/api/checkout/sessions/approve) from your server.
2707
2781
  */
2708
2782
  approval_method?: SessionCreateParams.ApprovalMethod;
2709
2783
  /**
@@ -2904,6 +2978,10 @@ export declare namespace Checkout {
2904
2978
  * Payment-method-specific configuration.
2905
2979
  */
2906
2980
  payment_method_options?: SessionCreateParams.PaymentMethodOptions;
2981
+ /**
2982
+ * A subset of parameters to configure the payment for this Checkout Session.
2983
+ */
2984
+ payment_settings?: SessionCreateParams.PaymentSettings;
2907
2985
  /**
2908
2986
  * This property is used to set up permissions for various actions (for example, update) on the CheckoutSession object. Can only be set when creating `embedded_page` or `elements` sessions.
2909
2987
  *
@@ -3519,6 +3597,61 @@ export declare namespace Checkout {
3519
3597
  */
3520
3598
  wechat_pay?: PaymentMethodOptions.WechatPay;
3521
3599
  }
3600
+ interface PaymentSettings {
3601
+ /**
3602
+ * Configures an application fee transferred to the application owner's Stripe account.
3603
+ */
3604
+ application_fee_data?: PaymentSettings.ApplicationFeeData;
3605
+ /**
3606
+ * Controls when the funds will be captured from the customer's account.
3607
+ */
3608
+ capture_method?: PaymentSettings.CaptureMethod;
3609
+ /**
3610
+ * An arbitrary string attached to the object. Often useful for displaying to users.
3611
+ */
3612
+ description?: string;
3613
+ /**
3614
+ * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
3615
+ */
3616
+ metadata?: MetadataParam;
3617
+ /**
3618
+ * Indicates that you intend to [make future payments](https://docs.stripe.com/payments/payment-intents#future-usage) with the payment
3619
+ * method collected by this Checkout Session.
3620
+ *
3621
+ * When setting this to `on_session`, Checkout will show a notice to the
3622
+ * customer that their payment details will be saved.
3623
+ *
3624
+ * When setting this to `off_session`, Checkout will show a notice to the
3625
+ * customer that their payment details will be saved and used for future
3626
+ * payments.
3627
+ *
3628
+ * If a Customer has been provided or Checkout creates a new Customer,
3629
+ * Checkout will attach the payment method to the Customer.
3630
+ *
3631
+ * If Checkout does not create a Customer, the payment method is not attached
3632
+ * to a Customer. To reuse the payment method, you can retrieve it from the
3633
+ * Checkout Session's PaymentIntent.
3634
+ *
3635
+ * When processing card payments, Checkout also uses `setup_future_usage`
3636
+ * to dynamically optimize your payment flow and comply with regional
3637
+ * legislation and network rules, such as SCA.
3638
+ */
3639
+ setup_future_usage?: PaymentSettings.SetupFutureUsage;
3640
+ /**
3641
+ * Text that appears on the customer's statement as the statement descriptor for a non-card charge. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).
3642
+ *
3643
+ * Setting this value for a card charge returns an error. For card charges, set the [statement_descriptor_suffix](https://docs.stripe.com/get-started/account/statement-descriptors#dynamic) instead.
3644
+ */
3645
+ statement_descriptor?: string;
3646
+ /**
3647
+ * Configures automatic transfers to a connected account when payments succeed.
3648
+ */
3649
+ transfer_data?: PaymentSettings.TransferData;
3650
+ /**
3651
+ * A string that identifies the initial payment as part of a group.
3652
+ */
3653
+ transfer_group?: string;
3654
+ }
3522
3655
  interface Permissions {
3523
3656
  /**
3524
3657
  * Permissions for updating the Checkout Session.
@@ -5035,7 +5168,7 @@ export declare namespace Checkout {
5035
5168
  */
5036
5169
  amount_includes_iof?: Pix.AmountIncludesIof;
5037
5170
  /**
5038
- * The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
5171
+ * The number of seconds after PaymentIntent confirmation when the Pix expires (between 60 and 1209600, inclusive). If unspecified, defaults to 14400 seconds (4 hours).
5039
5172
  */
5040
5173
  expires_after_seconds?: number;
5041
5174
  /**
@@ -5549,6 +5682,45 @@ export declare namespace Checkout {
5549
5682
  type SetupFutureUsage = 'none' | OtherString;
5550
5683
  }
5551
5684
  }
5685
+ namespace PaymentSettings {
5686
+ interface ApplicationFeeData {
5687
+ /**
5688
+ * The amount of the application fee, in the currency's smallest unit, to apply to the initial payment and transfer to the application owner's Stripe account. The application fee is capped at the total amount captured.
5689
+ */
5690
+ initial_amount?: number;
5691
+ /**
5692
+ * A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of each payment total that will be transferred to the application owner's Stripe account.
5693
+ */
5694
+ percentage_decimal?: Decimal;
5695
+ }
5696
+ type CaptureMethod = 'automatic' | 'automatic_async' | 'manual' | OtherString;
5697
+ type SetupFutureUsage = 'off_session' | 'on_session' | OtherString;
5698
+ interface TransferData {
5699
+ /**
5700
+ * If specified, successful charges will be attributed to the destination
5701
+ * account for tax reporting, and the funds from charges will be transferred
5702
+ * to the destination account. The ID of the resulting transfer will be
5703
+ * returned on the successful charge's `transfer` field.
5704
+ */
5705
+ destination: string;
5706
+ /**
5707
+ * Configures how much of each payment is transferred to the destination account. If omitted, the entire amount is transferred.
5708
+ */
5709
+ transfer_amount?: TransferData.TransferAmount;
5710
+ }
5711
+ namespace TransferData {
5712
+ interface TransferAmount {
5713
+ /**
5714
+ * The amount, in the currency's smallest unit, that will be transferred to the destination account when the initial payment succeeds.
5715
+ */
5716
+ initial_amount?: number;
5717
+ /**
5718
+ * A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of each payment total that will be transferred to the destination account.
5719
+ */
5720
+ percentage_decimal?: Decimal;
5721
+ }
5722
+ }
5723
+ }
5552
5724
  namespace Permissions {
5553
5725
  interface Update {
5554
5726
  /**
@@ -5967,6 +6139,7 @@ export declare namespace Checkout {
5967
6139
  *
5968
6140
  * When processing card payments, Checkout also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as SCA.
5969
6141
  *
6142
+ * You must wrap any Checkout Session update that mutates `setup_future_usage` in [`runServerUpdate`](https://docs.stripe.com/js/custom_checkout/run_server_update) and await it before continuing with the payment.
5970
6143
  * Pass an empty string to remove a previously supplied configuration.
5971
6144
  */
5972
6145
  setup_future_usage?: Emptyable<PaymentIntentData.SetupFutureUsage>;