stripe 19.2.0-beta.1 → 19.3.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (214) hide show
  1. package/CHANGELOG.md +300 -1
  2. package/OPENAPI_VERSION +1 -1
  3. package/VERSION +1 -1
  4. package/cjs/resources/DelegatedCheckout/RequestedSessions.js +28 -0
  5. package/cjs/resources/Identity/BlocklistEntries.js +25 -0
  6. package/cjs/resources/PaymentMethods.js +4 -0
  7. package/cjs/resources/PaymentRecords.js +4 -0
  8. package/cjs/resources/V2/Billing/CustomPricingUnits.js +25 -0
  9. package/cjs/resources/V2/Billing/Intents/Actions.js +17 -0
  10. package/cjs/resources/V2/Billing/Intents.js +36 -0
  11. package/cjs/resources/V2/Billing/LicenseFeeSubscriptions.js +12 -0
  12. package/cjs/resources/V2/Billing/LicenseFees/Versions.js +17 -0
  13. package/cjs/resources/V2/Billing/LicenseFees.js +27 -0
  14. package/cjs/resources/V2/Billing/LicensedItems.js +25 -0
  15. package/cjs/resources/V2/Billing/MeteredItems.js +22 -0
  16. package/cjs/resources/V2/Billing/PricingPlanSubscriptions/Components.js +12 -0
  17. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +26 -0
  18. package/cjs/resources/V2/Billing/PricingPlans/Components.js +29 -0
  19. package/cjs/resources/V2/Billing/PricingPlans/Versions.js +17 -0
  20. package/cjs/resources/V2/Billing/PricingPlans.js +29 -0
  21. package/cjs/resources/V2/Billing/RateCardSubscriptions.js +29 -0
  22. package/cjs/resources/V2/Billing/RateCards/Rates.js +25 -0
  23. package/cjs/resources/V2/Billing/RateCards/Versions.js +17 -0
  24. package/cjs/resources/V2/Billing/RateCards.js +29 -0
  25. package/cjs/resources/V2/Billing/ServiceActions.js +20 -0
  26. package/cjs/resources/V2/Core/ClaimableSandboxes.js +16 -0
  27. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +5 -0
  28. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +13 -0
  29. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +4 -0
  30. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +20 -0
  31. package/cjs/resources/V2/Tax/AutomaticRules.js +22 -0
  32. package/cjs/resources/V2/TestHelpers/MoneyManagement.js +12 -0
  33. package/cjs/resources.js +37 -1
  34. package/cjs/stripe.core.js +1 -1
  35. package/esm/resources/DelegatedCheckout/RequestedSessions.js +25 -0
  36. package/esm/resources/Identity/BlocklistEntries.js +22 -0
  37. package/esm/resources/PaymentMethods.js +4 -0
  38. package/esm/resources/PaymentRecords.js +4 -0
  39. package/esm/resources/V2/Billing/CustomPricingUnits.js +22 -0
  40. package/esm/resources/V2/Billing/Intents/Actions.js +14 -0
  41. package/esm/resources/V2/Billing/Intents.js +33 -0
  42. package/esm/resources/V2/Billing/LicenseFeeSubscriptions.js +9 -0
  43. package/esm/resources/V2/Billing/LicenseFees/Versions.js +14 -0
  44. package/esm/resources/V2/Billing/LicenseFees.js +24 -0
  45. package/esm/resources/V2/Billing/LicensedItems.js +22 -0
  46. package/esm/resources/V2/Billing/MeteredItems.js +19 -0
  47. package/esm/resources/V2/Billing/PricingPlanSubscriptions/Components.js +9 -0
  48. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +23 -0
  49. package/esm/resources/V2/Billing/PricingPlans/Components.js +26 -0
  50. package/esm/resources/V2/Billing/PricingPlans/Versions.js +14 -0
  51. package/esm/resources/V2/Billing/PricingPlans.js +26 -0
  52. package/esm/resources/V2/Billing/RateCardSubscriptions.js +26 -0
  53. package/esm/resources/V2/Billing/RateCards/Rates.js +22 -0
  54. package/esm/resources/V2/Billing/RateCards/Versions.js +14 -0
  55. package/esm/resources/V2/Billing/RateCards.js +26 -0
  56. package/esm/resources/V2/Billing/ServiceActions.js +17 -0
  57. package/esm/resources/V2/Core/ClaimableSandboxes.js +13 -0
  58. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +5 -0
  59. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +13 -0
  60. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +4 -0
  61. package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +17 -0
  62. package/esm/resources/V2/Tax/AutomaticRules.js +19 -0
  63. package/esm/resources/V2/TestHelpers/MoneyManagement.js +9 -0
  64. package/esm/resources.js +36 -0
  65. package/esm/stripe.core.js +1 -1
  66. package/package.json +1 -1
  67. package/types/Accounts.d.ts +24 -0
  68. package/types/AccountsResource.d.ts +44 -0
  69. package/types/ApplicationFees.d.ts +6 -1
  70. package/types/Balance.d.ts +82 -0
  71. package/types/BalanceTransactions.d.ts +2 -1
  72. package/types/BankAccounts.d.ts +2 -0
  73. package/types/Billing/AlertTriggereds.d.ts +15 -0
  74. package/types/Billing/Alerts.d.ts +116 -1
  75. package/types/Billing/AlertsResource.d.ts +149 -2
  76. package/types/Billing/Analytics/MeterUsageResource.d.ts +5 -0
  77. package/types/Billing/Analytics/MeterUsageRows.d.ts +7 -0
  78. package/types/Billing/CreditBalanceSummary.d.ts +118 -2
  79. package/types/Billing/CreditBalanceSummaryResource.d.ts +12 -0
  80. package/types/Billing/CreditBalanceTransactions.d.ts +118 -2
  81. package/types/Billing/CreditGrants.d.ts +71 -1
  82. package/types/Billing/CreditGrantsResource.d.ts +34 -3
  83. package/types/Billing/MeterEventSummaries.d.ts +7 -0
  84. package/types/Billing/Meters.d.ts +5 -0
  85. package/types/Billing/MetersResource.d.ts +17 -0
  86. package/types/BillingPortal/Configurations.d.ts +1 -1
  87. package/types/BillingPortal/ConfigurationsResource.d.ts +10 -0
  88. package/types/Capabilities.d.ts +2 -0
  89. package/types/Cards.d.ts +14 -0
  90. package/types/Charges.d.ts +16 -2
  91. package/types/Checkout/Sessions.d.ts +73 -0
  92. package/types/Checkout/SessionsResource.d.ts +71 -3
  93. package/types/ConfirmationTokens.d.ts +15 -0
  94. package/types/CreditNotes.d.ts +26 -0
  95. package/types/CreditNotesResource.d.ts +78 -0
  96. package/types/CustomerSessions.d.ts +161 -0
  97. package/types/CustomerSessionsResource.d.ts +161 -0
  98. package/types/Customers.d.ts +7 -0
  99. package/types/CustomersResource.d.ts +1 -0
  100. package/types/DelegatedCheckout/RequestedSessions.d.ts +292 -0
  101. package/types/DelegatedCheckout/RequestedSessionsResource.d.ts +593 -0
  102. package/types/Files.d.ts +1 -0
  103. package/types/FilesResource.d.ts +2 -0
  104. package/types/FinancialConnections/AccountsResource.d.ts +1 -1
  105. package/types/Identity/BlocklistEntries.d.ts +78 -0
  106. package/types/Identity/BlocklistEntriesResource.d.ts +146 -0
  107. package/types/Identity/VerificationReports.d.ts +10 -0
  108. package/types/Identity/VerificationReportsResource.d.ts +5 -0
  109. package/types/InvoiceItems.d.ts +104 -2
  110. package/types/InvoiceLineItems.d.ts +113 -2
  111. package/types/Invoices.d.ts +1 -0
  112. package/types/InvoicesResource.d.ts +5 -0
  113. package/types/PaymentAttemptRecords.d.ts +7 -2
  114. package/types/PaymentAttemptRecordsResource.d.ts +5 -0
  115. package/types/PaymentIntentAmountDetailsLineItems.d.ts +4 -0
  116. package/types/PaymentIntents.d.ts +30 -2
  117. package/types/PaymentIntentsResource.d.ts +88 -0
  118. package/types/PaymentLinks.d.ts +34 -0
  119. package/types/PaymentLinksResource.d.ts +88 -0
  120. package/types/PaymentMethodBalances.d.ts +63 -0
  121. package/types/PaymentMethodConfigurations.d.ts +72 -0
  122. package/types/PaymentMethodConfigurationsResource.d.ts +100 -0
  123. package/types/PaymentMethods.d.ts +48 -0
  124. package/types/PaymentMethodsResource.d.ts +35 -1
  125. package/types/PaymentRecords.d.ts +7 -2
  126. package/types/PaymentRecordsResource.d.ts +89 -0
  127. package/types/PayoutsResource.d.ts +1 -1
  128. package/types/Persons.d.ts +2 -0
  129. package/types/QuotePreviewInvoices.d.ts +1 -0
  130. package/types/Refunds.d.ts +9 -0
  131. package/types/SetupAttempts.d.ts +1 -0
  132. package/types/SetupIntents.d.ts +87 -0
  133. package/types/SetupIntentsResource.d.ts +220 -0
  134. package/types/Tax/Registrations.d.ts +9 -0
  135. package/types/Tax/RegistrationsResource.d.ts +12 -0
  136. package/types/Terminal/Configurations.d.ts +19 -0
  137. package/types/Terminal/ConfigurationsResource.d.ts +44 -0
  138. package/types/Terminal/Readers.d.ts +14 -9
  139. package/types/Terminal/ReadersResource.d.ts +30 -30
  140. package/types/TestHelpers/Terminal/ReadersResource.d.ts +1 -1
  141. package/types/TokensResource.d.ts +22 -0
  142. package/types/Transfers.d.ts +4 -0
  143. package/types/TransfersResource.d.ts +2 -0
  144. package/types/V2/Billing/Cadences.d.ts +47 -2
  145. package/types/V2/Billing/CadencesResource.d.ts +32 -3
  146. package/types/V2/Billing/CollectionSettingVersions.d.ts +2 -2
  147. package/types/V2/Billing/CollectionSettings.d.ts +2 -2
  148. package/types/V2/Billing/CollectionSettingsResource.d.ts +4 -4
  149. package/types/V2/Billing/CustomPricingUnits.d.ts +56 -0
  150. package/types/V2/Billing/CustomPricingUnitsResource.d.ts +122 -0
  151. package/types/V2/Billing/IntentActions.d.ts +459 -0
  152. package/types/V2/Billing/Intents/ActionsResource.d.ts +58 -0
  153. package/types/V2/Billing/Intents.d.ts +117 -0
  154. package/types/V2/Billing/IntentsResource.d.ts +575 -0
  155. package/types/V2/Billing/LicenseFeeSubscriptions.d.ts +64 -0
  156. package/types/V2/Billing/LicenseFeeSubscriptionsResource.d.ts +28 -0
  157. package/types/V2/Billing/LicenseFeeVersions.d.ts +106 -0
  158. package/types/V2/Billing/LicenseFees/VersionsResource.d.ts +58 -0
  159. package/types/V2/Billing/LicenseFees.d.ts +164 -0
  160. package/types/V2/Billing/LicenseFeesResource.d.ts +290 -0
  161. package/types/V2/Billing/LicensedItems.d.ts +73 -0
  162. package/types/V2/Billing/LicensedItemsResource.d.ts +157 -0
  163. package/types/V2/Billing/MeteredItems.d.ts +101 -0
  164. package/types/V2/Billing/MeteredItemsResource.d.ts +189 -0
  165. package/types/V2/Billing/PricingPlanComponents.d.ts +109 -0
  166. package/types/V2/Billing/PricingPlanSubscriptionComponents.d.ts +57 -0
  167. package/types/V2/Billing/PricingPlanSubscriptions/ComponentsResource.d.ts +40 -0
  168. package/types/V2/Billing/PricingPlanSubscriptions.d.ts +144 -0
  169. package/types/V2/Billing/PricingPlanSubscriptionsResource.d.ts +120 -0
  170. package/types/V2/Billing/PricingPlanVersions.d.ts +49 -0
  171. package/types/V2/Billing/PricingPlans/ComponentsResource.d.ts +197 -0
  172. package/types/V2/Billing/PricingPlans/VersionsResource.d.ts +58 -0
  173. package/types/V2/Billing/PricingPlans.d.ts +84 -0
  174. package/types/V2/Billing/PricingPlansResource.d.ts +151 -0
  175. package/types/V2/Billing/RateCardRates.d.ts +144 -0
  176. package/types/V2/Billing/RateCardSubscriptions.d.ts +144 -0
  177. package/types/V2/Billing/RateCardSubscriptionsResource.d.ts +157 -0
  178. package/types/V2/Billing/RateCardVersions.d.ts +39 -0
  179. package/types/V2/Billing/RateCards/RatesResource.d.ts +203 -0
  180. package/types/V2/Billing/RateCards/VersionsResource.d.ts +58 -0
  181. package/types/V2/Billing/RateCards.d.ts +98 -0
  182. package/types/V2/Billing/RateCardsResource.d.ts +162 -0
  183. package/types/V2/Billing/ServiceActions.d.ts +274 -0
  184. package/types/V2/Billing/ServiceActionsResource.d.ts +370 -0
  185. package/types/V2/Core/Accounts.d.ts +1394 -29
  186. package/types/V2/Core/AccountsResource.d.ts +1475 -5
  187. package/types/V2/Core/ClaimableSandboxes.d.ts +132 -0
  188. package/types/V2/Core/ClaimableSandboxesResource.d.ts +74 -0
  189. package/types/V2/Core/EventTypes.d.ts +7308 -367
  190. package/types/V2/Core/Events.d.ts +12 -0
  191. package/types/V2/Core/EventsResource.d.ts +29 -3
  192. package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +22 -0
  193. package/types/V2/Core/Vault/UsBankAccounts.d.ts +46 -0
  194. package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +75 -0
  195. package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +25 -0
  196. package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +14 -0
  197. package/types/V2/MoneyManagement/OutboundPayments.d.ts +5 -0
  198. package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +6 -1
  199. package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +34 -0
  200. package/types/V2/MoneyManagement/OutboundTransfers.d.ts +5 -0
  201. package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +5 -0
  202. package/types/V2/MoneyManagement/PayoutMethods.d.ts +41 -0
  203. package/types/V2/MoneyManagement/ReceivedCredits.d.ts +5 -0
  204. package/types/V2/MoneyManagement/ReceivedDebits.d.ts +10 -0
  205. package/types/V2/MoneyManagement/RecipientVerifications.d.ts +112 -0
  206. package/types/V2/MoneyManagement/RecipientVerificationsResource.d.ts +77 -0
  207. package/types/V2/Tax/AutomaticRules.d.ts +53 -0
  208. package/types/V2/Tax/AutomaticRulesResource.d.ts +102 -0
  209. package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +6 -1
  210. package/types/V2/TestHelpers/MoneyManagementResource.d.ts +49 -0
  211. package/types/WebhookEndpointsResource.d.ts +2 -1
  212. package/types/Webhooks.d.ts +2 -0
  213. package/types/crypto/crypto.d.ts +1 -1
  214. package/types/index.d.ts +69 -0
@@ -0,0 +1,77 @@
1
+ // File generated from our OpenAPI spec
2
+
3
+ declare module 'stripe' {
4
+ namespace Stripe {
5
+ namespace V2 {
6
+ namespace MoneyManagement {
7
+ interface RecipientVerificationCreateParams {
8
+ /**
9
+ * ID of the payout method.
10
+ */
11
+ payout_method: string;
12
+
13
+ /**
14
+ * ID of the recipient account. Required if the recipient distinct from the sender. Leave empty if the recipient and sender are the same entity (i.e. for me-to-me payouts).
15
+ */
16
+ recipient?: string;
17
+ }
18
+ }
19
+
20
+ namespace MoneyManagement {
21
+ interface RecipientVerificationRetrieveParams {}
22
+ }
23
+
24
+ namespace MoneyManagement {
25
+ interface RecipientVerificationAcknowledgeParams {}
26
+ }
27
+
28
+ namespace MoneyManagement {
29
+ class RecipientVerificationsResource {
30
+ /**
31
+ * Creates a RecipientVerification to verify the recipient you intend to send funds to.
32
+ */
33
+ create(
34
+ params: RecipientVerificationCreateParams,
35
+ options?: RequestOptions
36
+ ): Promise<
37
+ Stripe.Response<Stripe.V2.MoneyManagement.RecipientVerification>
38
+ >;
39
+
40
+ /**
41
+ * Retrieves the details of an existing RecipientVerification by passing the unique RecipientVerification ID.
42
+ */
43
+ retrieve(
44
+ id: string,
45
+ params?: RecipientVerificationRetrieveParams,
46
+ options?: RequestOptions
47
+ ): Promise<
48
+ Stripe.Response<Stripe.V2.MoneyManagement.RecipientVerification>
49
+ >;
50
+ retrieve(
51
+ id: string,
52
+ options?: RequestOptions
53
+ ): Promise<
54
+ Stripe.Response<Stripe.V2.MoneyManagement.RecipientVerification>
55
+ >;
56
+
57
+ /**
58
+ * Acknowledges an existing RecipientVerification. Only RecipientVerification awaiting acknowledgement can be acknowledged.
59
+ */
60
+ acknowledge(
61
+ id: string,
62
+ params?: RecipientVerificationAcknowledgeParams,
63
+ options?: RequestOptions
64
+ ): Promise<
65
+ Stripe.Response<Stripe.V2.MoneyManagement.RecipientVerification>
66
+ >;
67
+ acknowledge(
68
+ id: string,
69
+ options?: RequestOptions
70
+ ): Promise<
71
+ Stripe.Response<Stripe.V2.MoneyManagement.RecipientVerification>
72
+ >;
73
+ }
74
+ }
75
+ }
76
+ }
77
+ }
@@ -0,0 +1,53 @@
1
+ // File generated from our OpenAPI spec
2
+
3
+ declare module 'stripe' {
4
+ namespace Stripe {
5
+ namespace V2 {
6
+ namespace Tax {
7
+ /**
8
+ * An AutomaticRule holds automatic Tax configuration for a BillableItem.
9
+ */
10
+ interface AutomaticRule {
11
+ /**
12
+ * The ID of the AutomaticRule object.
13
+ */
14
+ id: string;
15
+
16
+ /**
17
+ * String representing the object's type. Objects of the same type share the same value of the object field.
18
+ */
19
+ object: 'v2.tax.automatic_rule';
20
+
21
+ /**
22
+ * The ID of the BillableItem.
23
+ */
24
+ billable_item: string;
25
+
26
+ /**
27
+ * The time at which the AutomaticRule object was created.
28
+ */
29
+ created: string;
30
+
31
+ /**
32
+ * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
33
+ */
34
+ livemode: boolean;
35
+
36
+ /**
37
+ * The status of the AutomaticRule object.
38
+ */
39
+ status: AutomaticRule.Status;
40
+
41
+ /**
42
+ * A TaxCode object that will be used for automatic tax calculations.
43
+ */
44
+ tax_code: string;
45
+ }
46
+
47
+ namespace AutomaticRule {
48
+ type Status = 'active' | 'inactive';
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
@@ -0,0 +1,102 @@
1
+ // File generated from our OpenAPI spec
2
+
3
+ declare module 'stripe' {
4
+ namespace Stripe {
5
+ namespace V2 {
6
+ namespace Tax {
7
+ interface AutomaticRuleCreateParams {
8
+ /**
9
+ * The BillableItem ID to set automatic Tax configuration for.
10
+ */
11
+ billable_item: string;
12
+
13
+ /**
14
+ * The TaxCode object to be used for automatic tax calculations.
15
+ */
16
+ tax_code: string;
17
+ }
18
+ }
19
+
20
+ namespace Tax {
21
+ interface AutomaticRuleRetrieveParams {}
22
+ }
23
+
24
+ namespace Tax {
25
+ interface AutomaticRuleUpdateParams {
26
+ /**
27
+ * The TaxCode object to be used for automatic tax calculations.
28
+ */
29
+ tax_code: string;
30
+ }
31
+ }
32
+
33
+ namespace Tax {
34
+ interface AutomaticRuleDeactivateParams {}
35
+ }
36
+
37
+ namespace Tax {
38
+ interface AutomaticRuleFindParams {
39
+ /**
40
+ * The BillableItem ID to search by.
41
+ */
42
+ billable_item: string;
43
+ }
44
+ }
45
+
46
+ namespace Tax {
47
+ class AutomaticRulesResource {
48
+ /**
49
+ * Creates an AutomaticRule object.
50
+ */
51
+ create(
52
+ params: AutomaticRuleCreateParams,
53
+ options?: RequestOptions
54
+ ): Promise<Stripe.Response<Stripe.V2.Tax.AutomaticRule>>;
55
+
56
+ /**
57
+ * Retrieves an AutomaticRule object by ID.
58
+ */
59
+ retrieve(
60
+ id: string,
61
+ params?: AutomaticRuleRetrieveParams,
62
+ options?: RequestOptions
63
+ ): Promise<Stripe.Response<Stripe.V2.Tax.AutomaticRule>>;
64
+ retrieve(
65
+ id: string,
66
+ options?: RequestOptions
67
+ ): Promise<Stripe.Response<Stripe.V2.Tax.AutomaticRule>>;
68
+
69
+ /**
70
+ * Updates the automatic Tax configuration for an AutomaticRule object.
71
+ */
72
+ update(
73
+ id: string,
74
+ params: AutomaticRuleUpdateParams,
75
+ options?: RequestOptions
76
+ ): Promise<Stripe.Response<Stripe.V2.Tax.AutomaticRule>>;
77
+
78
+ /**
79
+ * Deactivates an AutomaticRule object. Deactivated AutomaticRule objects are ignored in future tax calculations.
80
+ */
81
+ deactivate(
82
+ id: string,
83
+ params?: AutomaticRuleDeactivateParams,
84
+ options?: RequestOptions
85
+ ): Promise<Stripe.Response<Stripe.V2.Tax.AutomaticRule>>;
86
+ deactivate(
87
+ id: string,
88
+ options?: RequestOptions
89
+ ): Promise<Stripe.Response<Stripe.V2.Tax.AutomaticRule>>;
90
+
91
+ /**
92
+ * Finds an AutomaticRule object by BillableItem ID.
93
+ */
94
+ find(
95
+ params: AutomaticRuleFindParams,
96
+ options?: RequestOptions
97
+ ): Promise<Stripe.Response<Stripe.V2.Tax.AutomaticRule>>;
98
+ }
99
+ }
100
+ }
101
+ }
102
+ }
@@ -22,7 +22,12 @@ declare module 'stripe' {
22
22
  }
23
23
 
24
24
  namespace FinancialAddressCreditParams {
25
- type Network = 'ach' | 'fps' | 'rtp' | 'wire';
25
+ type Network =
26
+ | 'ach'
27
+ | 'fps'
28
+ | 'rtp'
29
+ | 'sepa_credit_transfer'
30
+ | 'wire';
26
31
  }
27
32
  }
28
33
 
@@ -0,0 +1,49 @@
1
+ // File generated from our OpenAPI spec
2
+
3
+ declare module 'stripe' {
4
+ namespace Stripe {
5
+ namespace V2 {
6
+ namespace TestHelpers {
7
+ interface MoneyManagementRecipientVerificationsParams {
8
+ /**
9
+ * Expected match level of the RecipientVerification to be created: `match`, `close_match`, `no_match`, `unavailable`.
10
+ * For `close_match`, the simulated response appends "close_match" to the provided name in match_result_details.matched_name.
11
+ */
12
+ match_result: MoneyManagementRecipientVerificationsParams.MatchResult;
13
+
14
+ /**
15
+ * ID of the payout method.
16
+ */
17
+ payout_method: string;
18
+
19
+ /**
20
+ * ID of the recipient account. Required if the recipient distinct from the sender. Leave empty if the recipient and sender are the same entity (i.e. for me-to-me payouts).
21
+ */
22
+ recipient?: string;
23
+ }
24
+
25
+ namespace MoneyManagementRecipientVerificationsParams {
26
+ type MatchResult =
27
+ | 'close_match'
28
+ | 'match'
29
+ | 'no_match'
30
+ | 'unavailable';
31
+ }
32
+ }
33
+
34
+ namespace TestHelpers {
35
+ class MoneyManagementResource {
36
+ /**
37
+ * Creates a RecipientVerification with a specified match result for testing purposes in a Sandbox environment.
38
+ */
39
+ recipientVerifications(
40
+ params: MoneyManagementRecipientVerificationsParams,
41
+ options?: RequestOptions
42
+ ): Promise<
43
+ Stripe.Response<Stripe.V2.MoneyManagement.RecipientVerification>
44
+ >;
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
@@ -156,7 +156,8 @@ declare module 'stripe' {
156
156
  | '2025-06-30.basil'
157
157
  | '2025-07-30.basil'
158
158
  | '2025-08-27.basil'
159
- | '2025-09-30.clover';
159
+ | '2025-09-30.clover'
160
+ | '2025-10-29.clover';
160
161
 
161
162
  type EnabledEvent =
162
163
  | '*'
@@ -2,6 +2,8 @@
2
2
 
3
3
  declare module 'stripe' {
4
4
  namespace Stripe {
5
+ export type WebhookEvent = Record<string, unknown>;
6
+
5
7
  export class Webhooks {
6
8
  /**
7
9
  * Constructs and verifies the signature of an Event from the provided details.
@@ -20,7 +20,7 @@ declare module 'stripe' {
20
20
  computeHMACSignature: (payload: string, secret: string) => string;
21
21
 
22
22
  /**
23
- * Asynchrnously computes a SHA-256 HMAC with a given secret and a payload
23
+ * Asynchronously computes a SHA-256 HMAC with a given secret and a payload
24
24
  * (encoded in UTF-8). The output HMAC should be encoded in hexadecimal
25
25
  * and respect the contract of computeHMACSignature.
26
26
  */
package/types/index.d.ts CHANGED
@@ -44,6 +44,7 @@
44
44
  ///<reference path='./CreditNotesResource.d.ts' />
45
45
  ///<reference path='./CustomerSessionsResource.d.ts' />
46
46
  ///<reference path='./CustomersResource.d.ts' />
47
+ ///<reference path='./DelegatedCheckout/RequestedSessionsResource.d.ts' />
47
48
  ///<reference path='./DisputesResource.d.ts' />
48
49
  ///<reference path='./Entitlements/ActiveEntitlementsResource.d.ts' />
49
50
  ///<reference path='./Entitlements/FeaturesResource.d.ts' />
@@ -59,6 +60,7 @@
59
60
  ///<reference path='./FinancialConnections/TransactionsResource.d.ts' />
60
61
  ///<reference path='./Forwarding/RequestsResource.d.ts' />
61
62
  ///<reference path='./FxQuotesResource.d.ts' />
63
+ ///<reference path='./Identity/BlocklistEntriesResource.d.ts' />
62
64
  ///<reference path='./Identity/VerificationReportsResource.d.ts' />
63
65
  ///<reference path='./Identity/VerificationSessionsResource.d.ts' />
64
66
  ///<reference path='./InvoiceItemsResource.d.ts' />
@@ -155,14 +157,33 @@
155
157
  ///<reference path='./V2/Billing/CadencesResource.d.ts' />
156
158
  ///<reference path='./V2/Billing/CollectionSettings/VersionsResource.d.ts' />
157
159
  ///<reference path='./V2/Billing/CollectionSettingsResource.d.ts' />
160
+ ///<reference path='./V2/Billing/CustomPricingUnitsResource.d.ts' />
161
+ ///<reference path='./V2/Billing/Intents/ActionsResource.d.ts' />
162
+ ///<reference path='./V2/Billing/IntentsResource.d.ts' />
163
+ ///<reference path='./V2/Billing/LicenseFeeSubscriptionsResource.d.ts' />
164
+ ///<reference path='./V2/Billing/LicenseFees/VersionsResource.d.ts' />
165
+ ///<reference path='./V2/Billing/LicenseFeesResource.d.ts' />
166
+ ///<reference path='./V2/Billing/LicensedItemsResource.d.ts' />
158
167
  ///<reference path='./V2/Billing/MeterEventAdjustmentsResource.d.ts' />
159
168
  ///<reference path='./V2/Billing/MeterEventSessionResource.d.ts' />
160
169
  ///<reference path='./V2/Billing/MeterEventStreamResource.d.ts' />
161
170
  ///<reference path='./V2/Billing/MeterEventsResource.d.ts' />
171
+ ///<reference path='./V2/Billing/MeteredItemsResource.d.ts' />
172
+ ///<reference path='./V2/Billing/PricingPlanSubscriptions/ComponentsResource.d.ts' />
173
+ ///<reference path='./V2/Billing/PricingPlanSubscriptionsResource.d.ts' />
174
+ ///<reference path='./V2/Billing/PricingPlans/ComponentsResource.d.ts' />
175
+ ///<reference path='./V2/Billing/PricingPlans/VersionsResource.d.ts' />
176
+ ///<reference path='./V2/Billing/PricingPlansResource.d.ts' />
162
177
  ///<reference path='./V2/Billing/ProfilesResource.d.ts' />
178
+ ///<reference path='./V2/Billing/RateCardSubscriptionsResource.d.ts' />
179
+ ///<reference path='./V2/Billing/RateCards/RatesResource.d.ts' />
180
+ ///<reference path='./V2/Billing/RateCards/VersionsResource.d.ts' />
181
+ ///<reference path='./V2/Billing/RateCardsResource.d.ts' />
182
+ ///<reference path='./V2/Billing/ServiceActionsResource.d.ts' />
163
183
  ///<reference path='./V2/Core/AccountLinksResource.d.ts' />
164
184
  ///<reference path='./V2/Core/Accounts/PersonsResource.d.ts' />
165
185
  ///<reference path='./V2/Core/AccountsResource.d.ts' />
186
+ ///<reference path='./V2/Core/ClaimableSandboxesResource.d.ts' />
166
187
  ///<reference path='./V2/Core/EventDestinationsResource.d.ts' />
167
188
  ///<reference path='./V2/Core/EventsResource.d.ts' />
168
189
  ///<reference path='./V2/Core/Vault/GbBankAccountsResource.d.ts' />
@@ -179,10 +200,13 @@
179
200
  ///<reference path='./V2/MoneyManagement/PayoutMethodsResource.d.ts' />
180
201
  ///<reference path='./V2/MoneyManagement/ReceivedCreditsResource.d.ts' />
181
202
  ///<reference path='./V2/MoneyManagement/ReceivedDebitsResource.d.ts' />
203
+ ///<reference path='./V2/MoneyManagement/RecipientVerificationsResource.d.ts' />
182
204
  ///<reference path='./V2/MoneyManagement/TransactionEntriesResource.d.ts' />
183
205
  ///<reference path='./V2/MoneyManagement/TransactionsResource.d.ts' />
184
206
  ///<reference path='./V2/Payments/OffSessionPaymentsResource.d.ts' />
207
+ ///<reference path='./V2/Tax/AutomaticRulesResource.d.ts' />
185
208
  ///<reference path='./V2/TestHelpers/FinancialAddressesResource.d.ts' />
209
+ ///<reference path='./V2/TestHelpers/MoneyManagementResource.d.ts' />
186
210
  ///<reference path='./WebhookEndpointsResource.d.ts' />
187
211
  ///<reference path='./AccountLinks.d.ts' />
188
212
  ///<reference path='./AccountNotices.d.ts' />
@@ -232,6 +256,7 @@
232
256
  ///<reference path='./CustomerSessions.d.ts' />
233
257
  ///<reference path='./CustomerSources.d.ts' />
234
258
  ///<reference path='./Customers.d.ts' />
259
+ ///<reference path='./DelegatedCheckout/RequestedSessions.d.ts' />
235
260
  ///<reference path='./Discounts.d.ts' />
236
261
  ///<reference path='./Disputes.d.ts' />
237
262
  ///<reference path='./Entitlements/ActiveEntitlementSummaries.d.ts' />
@@ -254,6 +279,7 @@
254
279
  ///<reference path='./Forwarding/Requests.d.ts' />
255
280
  ///<reference path='./FundingInstructions.d.ts' />
256
281
  ///<reference path='./FxQuotes.d.ts' />
282
+ ///<reference path='./Identity/BlocklistEntries.d.ts' />
257
283
  ///<reference path='./Identity/VerificationReports.d.ts' />
258
284
  ///<reference path='./Identity/VerificationSessions.d.ts' />
259
285
  ///<reference path='./InvoiceItems.d.ts' />
@@ -282,6 +308,7 @@
282
308
  ///<reference path='./PaymentIntentAmountDetailsLineItems.d.ts' />
283
309
  ///<reference path='./PaymentIntents.d.ts' />
284
310
  ///<reference path='./PaymentLinks.d.ts' />
311
+ ///<reference path='./PaymentMethodBalances.d.ts' />
285
312
  ///<reference path='./PaymentMethodConfigurations.d.ts' />
286
313
  ///<reference path='./PaymentMethodDomains.d.ts' />
287
314
  ///<reference path='./PaymentMethods.d.ts' />
@@ -356,13 +383,32 @@
356
383
  ///<reference path='./V2/Billing/Cadences.d.ts' />
357
384
  ///<reference path='./V2/Billing/CollectionSettingVersions.d.ts' />
358
385
  ///<reference path='./V2/Billing/CollectionSettings.d.ts' />
386
+ ///<reference path='./V2/Billing/CustomPricingUnits.d.ts' />
387
+ ///<reference path='./V2/Billing/IntentActions.d.ts' />
388
+ ///<reference path='./V2/Billing/Intents.d.ts' />
389
+ ///<reference path='./V2/Billing/LicenseFeeSubscriptions.d.ts' />
390
+ ///<reference path='./V2/Billing/LicenseFeeVersions.d.ts' />
391
+ ///<reference path='./V2/Billing/LicenseFees.d.ts' />
392
+ ///<reference path='./V2/Billing/LicensedItems.d.ts' />
359
393
  ///<reference path='./V2/Billing/MeterEventAdjustments.d.ts' />
360
394
  ///<reference path='./V2/Billing/MeterEventSessions.d.ts' />
361
395
  ///<reference path='./V2/Billing/MeterEvents.d.ts' />
396
+ ///<reference path='./V2/Billing/MeteredItems.d.ts' />
397
+ ///<reference path='./V2/Billing/PricingPlanComponents.d.ts' />
398
+ ///<reference path='./V2/Billing/PricingPlanSubscriptionComponents.d.ts' />
399
+ ///<reference path='./V2/Billing/PricingPlanSubscriptions.d.ts' />
400
+ ///<reference path='./V2/Billing/PricingPlanVersions.d.ts' />
401
+ ///<reference path='./V2/Billing/PricingPlans.d.ts' />
362
402
  ///<reference path='./V2/Billing/Profiles.d.ts' />
403
+ ///<reference path='./V2/Billing/RateCardRates.d.ts' />
404
+ ///<reference path='./V2/Billing/RateCardSubscriptions.d.ts' />
405
+ ///<reference path='./V2/Billing/RateCardVersions.d.ts' />
406
+ ///<reference path='./V2/Billing/RateCards.d.ts' />
407
+ ///<reference path='./V2/Billing/ServiceActions.d.ts' />
363
408
  ///<reference path='./V2/Core/AccountLinks.d.ts' />
364
409
  ///<reference path='./V2/Core/AccountPersons.d.ts' />
365
410
  ///<reference path='./V2/Core/Accounts.d.ts' />
411
+ ///<reference path='./V2/Core/ClaimableSandboxes.d.ts' />
366
412
  ///<reference path='./V2/Core/EventDestinations.d.ts' />
367
413
  ///<reference path='./V2/Core/Events.d.ts' />
368
414
  ///<reference path='./V2/Core/Vault/GbBankAccounts.d.ts' />
@@ -382,9 +428,11 @@
382
428
  ///<reference path='./V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts' />
383
429
  ///<reference path='./V2/MoneyManagement/ReceivedCredits.d.ts' />
384
430
  ///<reference path='./V2/MoneyManagement/ReceivedDebits.d.ts' />
431
+ ///<reference path='./V2/MoneyManagement/RecipientVerifications.d.ts' />
385
432
  ///<reference path='./V2/MoneyManagement/TransactionEntries.d.ts' />
386
433
  ///<reference path='./V2/MoneyManagement/Transactions.d.ts' />
387
434
  ///<reference path='./V2/Payments/OffSessionPayments.d.ts' />
435
+ ///<reference path='./V2/Tax/AutomaticRules.d.ts' />
388
436
  ///<reference path='./WebhookEndpoints.d.ts' />
389
437
  // Imports: The end of the section generated from our OpenAPI spec
390
438
 
@@ -498,6 +546,9 @@ declare module 'stripe' {
498
546
  products: Stripe.Climate.ProductsResource;
499
547
  suppliers: Stripe.Climate.SuppliersResource;
500
548
  };
549
+ delegatedCheckout: {
550
+ requestedSessions: Stripe.DelegatedCheckout.RequestedSessionsResource;
551
+ };
501
552
  entitlements: {
502
553
  activeEntitlements: Stripe.Entitlements.ActiveEntitlementsResource;
503
554
  features: Stripe.Entitlements.FeaturesResource;
@@ -512,6 +563,7 @@ declare module 'stripe' {
512
563
  requests: Stripe.Forwarding.RequestsResource;
513
564
  };
514
565
  identity: {
566
+ blocklistEntries: Stripe.Identity.BlocklistEntriesResource;
515
567
  verificationReports: Stripe.Identity.VerificationReportsResource;
516
568
  verificationSessions: Stripe.Identity.VerificationSessionsResource;
517
569
  };
@@ -598,15 +650,27 @@ declare module 'stripe' {
598
650
  billSettings: Stripe.V2.Billing.BillSettingsResource;
599
651
  cadences: Stripe.V2.Billing.CadencesResource;
600
652
  collectionSettings: Stripe.V2.Billing.CollectionSettingsResource;
653
+ customPricingUnits: Stripe.V2.Billing.CustomPricingUnitsResource;
654
+ intents: Stripe.V2.Billing.IntentsResource;
655
+ licenseFees: Stripe.V2.Billing.LicenseFeesResource;
656
+ licenseFeeSubscriptions: Stripe.V2.Billing.LicenseFeeSubscriptionsResource;
657
+ licensedItems: Stripe.V2.Billing.LicensedItemsResource;
601
658
  meterEvents: Stripe.V2.Billing.MeterEventsResource;
602
659
  meterEventAdjustments: Stripe.V2.Billing.MeterEventAdjustmentsResource;
603
660
  meterEventSession: Stripe.V2.Billing.MeterEventSessionResource;
604
661
  meterEventStream: Stripe.V2.Billing.MeterEventStreamResource;
662
+ meteredItems: Stripe.V2.Billing.MeteredItemsResource;
663
+ pricingPlans: Stripe.V2.Billing.PricingPlansResource;
664
+ pricingPlanSubscriptions: Stripe.V2.Billing.PricingPlanSubscriptionsResource;
605
665
  profiles: Stripe.V2.Billing.ProfilesResource;
666
+ rateCards: Stripe.V2.Billing.RateCardsResource;
667
+ rateCardSubscriptions: Stripe.V2.Billing.RateCardSubscriptionsResource;
668
+ serviceActions: Stripe.V2.Billing.ServiceActionsResource;
606
669
  };
607
670
  core: {
608
671
  accounts: Stripe.V2.Core.AccountsResource;
609
672
  accountLinks: Stripe.V2.Core.AccountLinksResource;
673
+ claimableSandboxes: Stripe.V2.Core.ClaimableSandboxesResource;
610
674
  events: Stripe.V2.Core.EventsResource;
611
675
  eventDestinations: Stripe.V2.Core.EventDestinationsResource;
612
676
  vault: {
@@ -627,14 +691,19 @@ declare module 'stripe' {
627
691
  payoutMethodsBankAccountSpec: Stripe.V2.MoneyManagement.PayoutMethodsBankAccountSpecResource;
628
692
  receivedCredits: Stripe.V2.MoneyManagement.ReceivedCreditsResource;
629
693
  receivedDebits: Stripe.V2.MoneyManagement.ReceivedDebitsResource;
694
+ recipientVerifications: Stripe.V2.MoneyManagement.RecipientVerificationsResource;
630
695
  transactions: Stripe.V2.MoneyManagement.TransactionsResource;
631
696
  transactionEntries: Stripe.V2.MoneyManagement.TransactionEntriesResource;
632
697
  };
633
698
  payment: {
634
699
  offSessionPayments: Stripe.V2.Payments.OffSessionPaymentsResource;
635
700
  };
701
+ tax: {
702
+ automaticRules: Stripe.V2.Tax.AutomaticRulesResource;
703
+ };
636
704
  testHelper: {
637
705
  financialAddresses: Stripe.V2.TestHelpers.FinancialAddressesResource;
706
+ moneyManagement: Stripe.V2.TestHelpers.MoneyManagementResource;
638
707
  };
639
708
  };
640
709
  // Fields: The end of the section generated from our OpenAPI spec