stripe 22.7.0-beta.1 → 23.0.0

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 (948) hide show
  1. package/CHANGELOG.md +1566 -3386
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +73 -43
  4. package/VERSION +1 -1
  5. package/cjs/Error.d.ts +1 -51
  6. package/cjs/Error.js +2 -125
  7. package/cjs/Error.js.map +1 -1
  8. package/cjs/RequestSender.js +35 -13
  9. package/cjs/RequestSender.js.map +1 -1
  10. package/cjs/StripeEventNotificationHandler.js +217 -80
  11. package/cjs/StripeEventNotificationHandler.js.map +1 -1
  12. package/cjs/StripeResource.js +7 -7
  13. package/cjs/StripeResource.js.map +1 -1
  14. package/cjs/Types.d.ts +3 -5
  15. package/cjs/Types.js.map +1 -1
  16. package/cjs/Webhooks.js +14 -17
  17. package/cjs/Webhooks.js.map +1 -1
  18. package/cjs/apiVersion.d.ts +2 -2
  19. package/cjs/apiVersion.js +2 -2
  20. package/cjs/apiVersion.js.map +1 -1
  21. package/cjs/lib.d.ts +0 -21
  22. package/cjs/multipart.js +18 -11
  23. package/cjs/multipart.js.map +1 -1
  24. package/cjs/net/NodeHttpClient.d.ts +4 -1
  25. package/cjs/net/NodeHttpClient.js +13 -42
  26. package/cjs/net/NodeHttpClient.js.map +1 -1
  27. package/cjs/platform/ExtensibilityPlatformFunctions.d.ts +1 -1
  28. package/cjs/platform/ExtensibilityPlatformFunctions.js +1 -1
  29. package/cjs/platform/NodePlatformFunctions.d.ts +0 -2
  30. package/cjs/platform/NodePlatformFunctions.js +0 -8
  31. package/cjs/platform/NodePlatformFunctions.js.map +1 -1
  32. package/cjs/platform/PlatformFunctions.d.ts +3 -1
  33. package/cjs/platform/PlatformFunctions.js +7 -6
  34. package/cjs/platform/PlatformFunctions.js.map +1 -1
  35. package/cjs/resources/AccountLinks.d.ts +1 -1
  36. package/cjs/resources/AccountSessions.d.ts +1 -245
  37. package/cjs/resources/AccountSessions.js +1 -1
  38. package/cjs/resources/AccountSessions.js.map +1 -1
  39. package/cjs/resources/Accounts.d.ts +94 -655
  40. package/cjs/resources/Accounts.js +0 -14
  41. package/cjs/resources/Accounts.js.map +1 -1
  42. package/cjs/resources/Apps/Installs.d.ts +204 -0
  43. package/cjs/resources/Apps/Installs.js +41 -0
  44. package/cjs/resources/Apps/Installs.js.map +1 -0
  45. package/cjs/resources/Apps/index.d.ts +14 -5
  46. package/cjs/resources/Apps/index.js +2 -0
  47. package/cjs/resources/Apps/index.js.map +1 -1
  48. package/cjs/resources/Balance.d.ts +1 -68
  49. package/cjs/resources/BalanceTransactions.d.ts +3 -3
  50. package/cjs/resources/BankAccounts.d.ts +2 -2
  51. package/cjs/resources/Billing/AlertTriggereds.d.ts +1 -2
  52. package/cjs/resources/Billing/FeedbackOptions.d.ts +8 -2
  53. package/cjs/resources/Billing/FeedbackOptions.js +2 -2
  54. package/cjs/resources/Billing/index.d.ts +0 -3
  55. package/cjs/resources/Billing/index.js +0 -2
  56. package/cjs/resources/Billing/index.js.map +1 -1
  57. package/cjs/resources/Capabilities.d.ts +2 -2
  58. package/cjs/resources/Cards.d.ts +0 -17
  59. package/cjs/resources/Charges.d.ts +84 -3083
  60. package/cjs/resources/Charges.js +2 -8
  61. package/cjs/resources/Charges.js.map +1 -1
  62. package/cjs/resources/Checkout/Sessions.d.ts +66 -384
  63. package/cjs/resources/ConfirmationTokens.d.ts +3 -63
  64. package/cjs/resources/Coupons.d.ts +0 -53
  65. package/cjs/resources/Coupons.js +0 -13
  66. package/cjs/resources/Coupons.js.map +1 -1
  67. package/cjs/resources/CreditNoteLineItems.d.ts +1 -15
  68. package/cjs/resources/CreditNotes.d.ts +1 -1
  69. package/cjs/resources/CustomerSessions.d.ts +0 -68
  70. package/cjs/resources/Customers.d.ts +4 -23
  71. package/cjs/resources/Customers.js +0 -14
  72. package/cjs/resources/Customers.js.map +1 -1
  73. package/cjs/resources/Discounts.d.ts +9 -2
  74. package/cjs/resources/Disputes.d.ts +0 -29
  75. package/cjs/resources/Events.d.ts +49 -554
  76. package/cjs/resources/ExternalAccounts.d.ts +1 -212
  77. package/cjs/resources/ExternalAccounts.js +0 -44
  78. package/cjs/resources/ExternalAccounts.js.map +1 -1
  79. package/cjs/resources/Files.d.ts +2 -2
  80. package/cjs/resources/FinancialConnections/Accounts.d.ts +6 -71
  81. package/cjs/resources/FinancialConnections/Accounts.js +1 -9
  82. package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
  83. package/cjs/resources/FinancialConnections/Authorizations.d.ts +1 -46
  84. package/cjs/resources/FinancialConnections/Authorizations.js +0 -11
  85. package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -1
  86. package/cjs/resources/FinancialConnections/Sessions.d.ts +11 -130
  87. package/cjs/resources/FinancialConnections/index.d.ts +9 -21
  88. package/cjs/resources/FinancialConnections/index.js +0 -4
  89. package/cjs/resources/FinancialConnections/index.js.map +1 -1
  90. package/cjs/resources/InvoiceItems.d.ts +16 -84
  91. package/cjs/resources/InvoiceItems.js.map +1 -1
  92. package/cjs/resources/InvoiceLineItems.d.ts +2 -40
  93. package/cjs/resources/InvoicePayments.d.ts +1 -1
  94. package/cjs/resources/Invoices.d.ts +161 -1275
  95. package/cjs/resources/Invoices.js +2 -42
  96. package/cjs/resources/Invoices.js.map +1 -1
  97. package/cjs/resources/Issuing/Authorizations.d.ts +0 -13
  98. package/cjs/resources/Issuing/Cardholders.d.ts +7 -25
  99. package/cjs/resources/Issuing/Cards.d.ts +0 -13
  100. package/cjs/resources/Issuing/Disputes.d.ts +0 -13
  101. package/cjs/resources/Issuing/Tokens.d.ts +3 -3
  102. package/cjs/resources/Issuing/Transactions.d.ts +0 -22
  103. package/cjs/resources/Issuing/Transactions.js.map +1 -1
  104. package/cjs/resources/Issuing/index.d.ts +22 -47
  105. package/cjs/resources/Issuing/index.js +0 -6
  106. package/cjs/resources/Issuing/index.js.map +1 -1
  107. package/cjs/resources/LineItems.d.ts +3 -30
  108. package/cjs/resources/Mandates.d.ts +25 -33
  109. package/cjs/resources/Mandates.js +0 -8
  110. package/cjs/resources/Mandates.js.map +1 -1
  111. package/cjs/resources/PaymentAttemptRecords.d.ts +30 -82
  112. package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +2 -2
  113. package/cjs/resources/PaymentIntents.d.ts +7153 -17732
  114. package/cjs/resources/PaymentIntents.js +1 -28
  115. package/cjs/resources/PaymentIntents.js.map +1 -1
  116. package/cjs/resources/PaymentLinks.d.ts +13 -13
  117. package/cjs/resources/PaymentMethodConfigurations.d.ts +14 -224
  118. package/cjs/resources/PaymentMethods.d.ts +10 -171
  119. package/cjs/resources/PaymentMethods.js.map +1 -1
  120. package/cjs/resources/PaymentRecords.d.ts +54 -86
  121. package/cjs/resources/Payouts.d.ts +1 -1
  122. package/cjs/resources/Persons.d.ts +6 -6
  123. package/cjs/resources/Plans.d.ts +1 -1
  124. package/cjs/resources/Prices.d.ts +0 -36
  125. package/cjs/resources/ProductCatalog/TrialOffers.d.ts +37 -8
  126. package/cjs/resources/ProductCatalog/TrialOffers.js +6 -0
  127. package/cjs/resources/ProductCatalog/TrialOffers.js.map +1 -1
  128. package/cjs/resources/ProductCatalog/index.d.ts +1 -0
  129. package/cjs/resources/Products.d.ts +3 -3
  130. package/cjs/resources/PromotionCodes.d.ts +0 -12
  131. package/cjs/resources/PromotionCodes.js +0 -27
  132. package/cjs/resources/PromotionCodes.js.map +1 -1
  133. package/cjs/resources/Quotes.d.ts +153 -2362
  134. package/cjs/resources/Quotes.js +13 -1181
  135. package/cjs/resources/Quotes.js.map +1 -1
  136. package/cjs/resources/Radar/PaymentEvaluations.d.ts +50 -8
  137. package/cjs/resources/Radar/ValueListItems.d.ts +1 -31
  138. package/cjs/resources/Refunds.d.ts +0 -11
  139. package/cjs/resources/Reserve/Holds.d.ts +6 -53
  140. package/cjs/resources/Reserve/Holds.js +0 -19
  141. package/cjs/resources/Reserve/Holds.js.map +1 -1
  142. package/cjs/resources/Reserve/Plans.d.ts +10 -18
  143. package/cjs/resources/Reserve/Plans.js +0 -11
  144. package/cjs/resources/Reserve/Plans.js.map +1 -1
  145. package/cjs/resources/Reserve/Releases.d.ts +7 -42
  146. package/cjs/resources/Reserve/Releases.js +0 -19
  147. package/cjs/resources/Reserve/Releases.js.map +1 -1
  148. package/cjs/resources/Reserve/index.d.ts +6 -17
  149. package/cjs/resources/Reserve/index.js +0 -9
  150. package/cjs/resources/Reserve/index.js.map +1 -1
  151. package/cjs/resources/SetupAttempts.d.ts +12 -30
  152. package/cjs/resources/SetupIntents.d.ts +116 -330
  153. package/cjs/resources/Sigma/ScheduledQueryRuns.d.ts +1 -1
  154. package/cjs/resources/Sigma/ScheduledQueryRuns.js +1 -1
  155. package/cjs/resources/Sources.d.ts +1 -29
  156. package/cjs/resources/SubscriptionItems.d.ts +6 -120
  157. package/cjs/resources/SubscriptionSchedules.d.ts +443 -1149
  158. package/cjs/resources/SubscriptionSchedules.js +0 -6
  159. package/cjs/resources/SubscriptionSchedules.js.map +1 -1
  160. package/cjs/resources/Subscriptions.d.ts +136 -409
  161. package/cjs/resources/Subscriptions.js +0 -42
  162. package/cjs/resources/Subscriptions.js.map +1 -1
  163. package/cjs/resources/Tax/CalculationLineItems.d.ts +2 -2
  164. package/cjs/resources/Tax/Calculations.d.ts +2 -2
  165. package/cjs/resources/Tax/Locations.d.ts +3 -3
  166. package/cjs/resources/Tax/Locations.js +2 -2
  167. package/cjs/resources/Tax/Registrations.d.ts +10 -625
  168. package/cjs/resources/Tax/Settings.d.ts +2 -2
  169. package/cjs/resources/Tax/Settings.js +1 -1
  170. package/cjs/resources/Tax/Transactions.d.ts +1 -1
  171. package/cjs/resources/Tax/index.d.ts +17 -24
  172. package/cjs/resources/Tax/index.js +0 -2
  173. package/cjs/resources/Tax/index.js.map +1 -1
  174. package/cjs/resources/TaxCodes.d.ts +3 -3
  175. package/cjs/resources/TaxRates.d.ts +3 -3
  176. package/cjs/resources/Terminal/Configurations.d.ts +4 -31
  177. package/cjs/resources/Terminal/Readers.d.ts +6 -22
  178. package/cjs/resources/Terminal/index.d.ts +0 -5
  179. package/cjs/resources/Terminal/index.js +0 -2
  180. package/cjs/resources/Terminal/index.js.map +1 -1
  181. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +6 -71
  182. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +1 -23
  183. package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
  184. package/cjs/resources/TestHelpers/index.d.ts +0 -3
  185. package/cjs/resources/TestHelpers/index.js +4 -6
  186. package/cjs/resources/TestHelpers/index.js.map +1 -1
  187. package/cjs/resources/ThreeDSecure/Authentications.d.ts +860 -0
  188. package/cjs/resources/ThreeDSecure/Authentications.js +44 -0
  189. package/cjs/resources/ThreeDSecure/Authentications.js.map +1 -0
  190. package/cjs/resources/ThreeDSecure/index.d.ts +16 -0
  191. package/cjs/resources/ThreeDSecure/index.js +13 -0
  192. package/cjs/resources/ThreeDSecure/index.js.map +1 -0
  193. package/cjs/resources/Tokens.d.ts +13 -28
  194. package/cjs/resources/Topups.d.ts +1 -1
  195. package/cjs/resources/Transfers.d.ts +0 -8
  196. package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
  197. package/cjs/resources/Treasury/FinancialAccounts.d.ts +2 -35
  198. package/cjs/resources/Treasury/InboundTransfers.d.ts +1 -1
  199. package/cjs/resources/Treasury/OutboundPayments.d.ts +0 -8
  200. package/cjs/resources/Treasury/OutboundTransfers.d.ts +0 -44
  201. package/cjs/resources/Treasury/ReceivedCredits.d.ts +7 -29
  202. package/cjs/resources/Treasury/ReceivedDebits.d.ts +5 -31
  203. package/cjs/resources/Treasury/TransactionEntries.d.ts +7 -7
  204. package/cjs/resources/Treasury/Transactions.d.ts +7 -7
  205. package/cjs/resources/V2/Billing/MeterEventAdjustments.d.ts +4 -2
  206. package/cjs/resources/V2/Billing/index.d.ts +6 -45
  207. package/cjs/resources/V2/Billing/index.js +0 -8
  208. package/cjs/resources/V2/Billing/index.js.map +1 -1
  209. package/cjs/resources/V2/Core/AccountLinks.d.ts +4 -22
  210. package/cjs/resources/V2/Core/AccountPersons.d.ts +16 -5
  211. package/cjs/resources/V2/Core/AccountTokens.d.ts +241 -32
  212. package/cjs/resources/V2/Core/AccountTokens.js.map +1 -1
  213. package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +112 -9
  214. package/cjs/resources/V2/Core/Accounts/Persons.d.ts +128 -14
  215. package/cjs/resources/V2/Core/Accounts/Persons.js.map +1 -1
  216. package/cjs/resources/V2/Core/Accounts.d.ts +767 -1719
  217. package/cjs/resources/V2/Core/Accounts.js.map +1 -1
  218. package/cjs/resources/V2/Core/EventDestinations.d.ts +61 -54
  219. package/cjs/resources/V2/Core/Events.d.ts +2871 -1063
  220. package/cjs/resources/V2/Core/index.d.ts +9 -27
  221. package/cjs/resources/V2/Core/index.js +0 -6
  222. package/cjs/resources/V2/Core/index.js.map +1 -1
  223. package/cjs/resources/V2/index.d.ts +0 -30
  224. package/cjs/resources/V2/index.js +0 -16
  225. package/cjs/resources/V2/index.js.map +1 -1
  226. package/cjs/resources/WebhookEndpoints.d.ts +4 -4
  227. package/cjs/resources.d.ts +1 -9
  228. package/cjs/resources.js +17 -149
  229. package/cjs/resources.js.map +1 -1
  230. package/cjs/shared.d.ts +5 -2
  231. package/cjs/stripe.cjs.node.d.ts +1173 -6585
  232. package/cjs/stripe.cjs.node.js.map +1 -1
  233. package/cjs/stripe.core.d.ts +34 -118
  234. package/cjs/stripe.core.js +73 -70
  235. package/cjs/stripe.core.js.map +1 -1
  236. package/cjs/utils.d.ts +18 -0
  237. package/cjs/utils.js +27 -1
  238. package/cjs/utils.js.map +1 -1
  239. package/esm/Error.d.ts +1 -51
  240. package/esm/Error.js +1 -109
  241. package/esm/Error.js.map +1 -1
  242. package/esm/RequestSender.js +36 -14
  243. package/esm/RequestSender.js.map +1 -1
  244. package/esm/StripeEventNotificationHandler.js +217 -80
  245. package/esm/StripeEventNotificationHandler.js.map +1 -1
  246. package/esm/StripeResource.js +7 -7
  247. package/esm/StripeResource.js.map +1 -1
  248. package/esm/Types.d.ts +3 -5
  249. package/esm/Types.js.map +1 -1
  250. package/esm/Webhooks.js +14 -17
  251. package/esm/Webhooks.js.map +1 -1
  252. package/esm/apiVersion.d.ts +2 -2
  253. package/esm/apiVersion.js +2 -2
  254. package/esm/apiVersion.js.map +1 -1
  255. package/esm/lib.d.ts +0 -21
  256. package/esm/multipart.js +18 -11
  257. package/esm/multipart.js.map +1 -1
  258. package/esm/net/NodeHttpClient.d.ts +4 -1
  259. package/esm/net/NodeHttpClient.js +13 -42
  260. package/esm/net/NodeHttpClient.js.map +1 -1
  261. package/esm/platform/ExtensibilityPlatformFunctions.d.ts +1 -1
  262. package/esm/platform/ExtensibilityPlatformFunctions.js +1 -1
  263. package/esm/platform/NodePlatformFunctions.d.ts +0 -2
  264. package/esm/platform/NodePlatformFunctions.js +0 -8
  265. package/esm/platform/NodePlatformFunctions.js.map +1 -1
  266. package/esm/platform/PlatformFunctions.d.ts +3 -1
  267. package/esm/platform/PlatformFunctions.js +7 -6
  268. package/esm/platform/PlatformFunctions.js.map +1 -1
  269. package/esm/resources/AccountLinks.d.ts +1 -1
  270. package/esm/resources/AccountSessions.d.ts +1 -245
  271. package/esm/resources/AccountSessions.js +1 -1
  272. package/esm/resources/AccountSessions.js.map +1 -1
  273. package/esm/resources/Accounts.d.ts +94 -655
  274. package/esm/resources/Accounts.js +0 -14
  275. package/esm/resources/Accounts.js.map +1 -1
  276. package/esm/resources/Apps/Installs.d.ts +204 -0
  277. package/esm/resources/Apps/Installs.js +37 -0
  278. package/esm/resources/Apps/Installs.js.map +1 -0
  279. package/esm/resources/Apps/index.d.ts +14 -5
  280. package/esm/resources/Apps/index.js +2 -0
  281. package/esm/resources/Apps/index.js.map +1 -1
  282. package/esm/resources/Balance.d.ts +1 -68
  283. package/esm/resources/BalanceTransactions.d.ts +3 -3
  284. package/esm/resources/BankAccounts.d.ts +2 -2
  285. package/esm/resources/Billing/AlertTriggereds.d.ts +1 -2
  286. package/esm/resources/Billing/FeedbackOptions.d.ts +8 -2
  287. package/esm/resources/Billing/FeedbackOptions.js +2 -2
  288. package/esm/resources/Billing/index.d.ts +0 -3
  289. package/esm/resources/Billing/index.js +0 -2
  290. package/esm/resources/Billing/index.js.map +1 -1
  291. package/esm/resources/Capabilities.d.ts +2 -2
  292. package/esm/resources/Cards.d.ts +0 -17
  293. package/esm/resources/Charges.d.ts +84 -3083
  294. package/esm/resources/Charges.js +2 -8
  295. package/esm/resources/Charges.js.map +1 -1
  296. package/esm/resources/Checkout/Sessions.d.ts +66 -384
  297. package/esm/resources/ConfirmationTokens.d.ts +3 -63
  298. package/esm/resources/Coupons.d.ts +0 -53
  299. package/esm/resources/Coupons.js +0 -13
  300. package/esm/resources/Coupons.js.map +1 -1
  301. package/esm/resources/CreditNoteLineItems.d.ts +1 -15
  302. package/esm/resources/CreditNotes.d.ts +1 -1
  303. package/esm/resources/CustomerSessions.d.ts +0 -68
  304. package/esm/resources/Customers.d.ts +4 -23
  305. package/esm/resources/Customers.js +0 -14
  306. package/esm/resources/Customers.js.map +1 -1
  307. package/esm/resources/Discounts.d.ts +9 -2
  308. package/esm/resources/Disputes.d.ts +0 -29
  309. package/esm/resources/Events.d.ts +49 -554
  310. package/esm/resources/ExternalAccounts.d.ts +1 -212
  311. package/esm/resources/ExternalAccounts.js +1 -42
  312. package/esm/resources/ExternalAccounts.js.map +1 -1
  313. package/esm/resources/Files.d.ts +2 -2
  314. package/esm/resources/FinancialConnections/Accounts.d.ts +6 -71
  315. package/esm/resources/FinancialConnections/Accounts.js +1 -9
  316. package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
  317. package/esm/resources/FinancialConnections/Authorizations.d.ts +1 -46
  318. package/esm/resources/FinancialConnections/Authorizations.js +1 -9
  319. package/esm/resources/FinancialConnections/Authorizations.js.map +1 -1
  320. package/esm/resources/FinancialConnections/Sessions.d.ts +11 -130
  321. package/esm/resources/FinancialConnections/index.d.ts +9 -21
  322. package/esm/resources/FinancialConnections/index.js +0 -4
  323. package/esm/resources/FinancialConnections/index.js.map +1 -1
  324. package/esm/resources/InvoiceItems.d.ts +16 -84
  325. package/esm/resources/InvoiceItems.js.map +1 -1
  326. package/esm/resources/InvoiceLineItems.d.ts +2 -40
  327. package/esm/resources/InvoicePayments.d.ts +1 -1
  328. package/esm/resources/Invoices.d.ts +161 -1275
  329. package/esm/resources/Invoices.js +2 -42
  330. package/esm/resources/Invoices.js.map +1 -1
  331. package/esm/resources/Issuing/Authorizations.d.ts +0 -13
  332. package/esm/resources/Issuing/Cardholders.d.ts +7 -25
  333. package/esm/resources/Issuing/Cards.d.ts +0 -13
  334. package/esm/resources/Issuing/Disputes.d.ts +0 -13
  335. package/esm/resources/Issuing/Tokens.d.ts +3 -3
  336. package/esm/resources/Issuing/Transactions.d.ts +0 -22
  337. package/esm/resources/Issuing/Transactions.js.map +1 -1
  338. package/esm/resources/Issuing/index.d.ts +22 -47
  339. package/esm/resources/Issuing/index.js +0 -6
  340. package/esm/resources/Issuing/index.js.map +1 -1
  341. package/esm/resources/LineItems.d.ts +3 -30
  342. package/esm/resources/Mandates.d.ts +25 -33
  343. package/esm/resources/Mandates.js +0 -8
  344. package/esm/resources/Mandates.js.map +1 -1
  345. package/esm/resources/PaymentAttemptRecords.d.ts +30 -82
  346. package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +2 -2
  347. package/esm/resources/PaymentIntents.d.ts +7153 -17732
  348. package/esm/resources/PaymentIntents.js +1 -28
  349. package/esm/resources/PaymentIntents.js.map +1 -1
  350. package/esm/resources/PaymentLinks.d.ts +13 -13
  351. package/esm/resources/PaymentMethodConfigurations.d.ts +14 -224
  352. package/esm/resources/PaymentMethods.d.ts +10 -171
  353. package/esm/resources/PaymentMethods.js.map +1 -1
  354. package/esm/resources/PaymentRecords.d.ts +54 -86
  355. package/esm/resources/Payouts.d.ts +1 -1
  356. package/esm/resources/Persons.d.ts +6 -6
  357. package/esm/resources/Plans.d.ts +1 -1
  358. package/esm/resources/Prices.d.ts +0 -36
  359. package/esm/resources/ProductCatalog/TrialOffers.d.ts +37 -8
  360. package/esm/resources/ProductCatalog/TrialOffers.js +6 -0
  361. package/esm/resources/ProductCatalog/TrialOffers.js.map +1 -1
  362. package/esm/resources/ProductCatalog/index.d.ts +1 -0
  363. package/esm/resources/Products.d.ts +3 -3
  364. package/esm/resources/PromotionCodes.d.ts +0 -12
  365. package/esm/resources/PromotionCodes.js +0 -27
  366. package/esm/resources/PromotionCodes.js.map +1 -1
  367. package/esm/resources/Quotes.d.ts +153 -2362
  368. package/esm/resources/Quotes.js +13 -1181
  369. package/esm/resources/Quotes.js.map +1 -1
  370. package/esm/resources/Radar/PaymentEvaluations.d.ts +50 -8
  371. package/esm/resources/Radar/ValueListItems.d.ts +1 -31
  372. package/esm/resources/Refunds.d.ts +0 -11
  373. package/esm/resources/Reserve/Holds.d.ts +6 -53
  374. package/esm/resources/Reserve/Holds.js +1 -17
  375. package/esm/resources/Reserve/Holds.js.map +1 -1
  376. package/esm/resources/Reserve/Plans.d.ts +10 -18
  377. package/esm/resources/Reserve/Plans.js +1 -9
  378. package/esm/resources/Reserve/Plans.js.map +1 -1
  379. package/esm/resources/Reserve/Releases.d.ts +7 -42
  380. package/esm/resources/Reserve/Releases.js +1 -17
  381. package/esm/resources/Reserve/Releases.js.map +1 -1
  382. package/esm/resources/Reserve/index.d.ts +6 -17
  383. package/esm/resources/Reserve/index.js +0 -9
  384. package/esm/resources/Reserve/index.js.map +1 -1
  385. package/esm/resources/SetupAttempts.d.ts +12 -30
  386. package/esm/resources/SetupIntents.d.ts +116 -330
  387. package/esm/resources/Sigma/ScheduledQueryRuns.d.ts +1 -1
  388. package/esm/resources/Sigma/ScheduledQueryRuns.js +1 -1
  389. package/esm/resources/Sources.d.ts +1 -29
  390. package/esm/resources/SubscriptionItems.d.ts +6 -120
  391. package/esm/resources/SubscriptionSchedules.d.ts +443 -1149
  392. package/esm/resources/SubscriptionSchedules.js +0 -6
  393. package/esm/resources/SubscriptionSchedules.js.map +1 -1
  394. package/esm/resources/Subscriptions.d.ts +136 -409
  395. package/esm/resources/Subscriptions.js +0 -42
  396. package/esm/resources/Subscriptions.js.map +1 -1
  397. package/esm/resources/Tax/CalculationLineItems.d.ts +2 -2
  398. package/esm/resources/Tax/Calculations.d.ts +2 -2
  399. package/esm/resources/Tax/Locations.d.ts +3 -3
  400. package/esm/resources/Tax/Locations.js +2 -2
  401. package/esm/resources/Tax/Registrations.d.ts +10 -625
  402. package/esm/resources/Tax/Settings.d.ts +2 -2
  403. package/esm/resources/Tax/Settings.js +1 -1
  404. package/esm/resources/Tax/Transactions.d.ts +1 -1
  405. package/esm/resources/Tax/index.d.ts +17 -24
  406. package/esm/resources/Tax/index.js +0 -2
  407. package/esm/resources/Tax/index.js.map +1 -1
  408. package/esm/resources/TaxCodes.d.ts +3 -3
  409. package/esm/resources/TaxRates.d.ts +3 -3
  410. package/esm/resources/Terminal/Configurations.d.ts +4 -31
  411. package/esm/resources/Terminal/Readers.d.ts +6 -22
  412. package/esm/resources/Terminal/index.d.ts +0 -5
  413. package/esm/resources/Terminal/index.js +0 -2
  414. package/esm/resources/Terminal/index.js.map +1 -1
  415. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +6 -71
  416. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +1 -23
  417. package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
  418. package/esm/resources/TestHelpers/index.d.ts +0 -3
  419. package/esm/resources/TestHelpers/index.js +0 -2
  420. package/esm/resources/TestHelpers/index.js.map +1 -1
  421. package/esm/resources/ThreeDSecure/Authentications.d.ts +860 -0
  422. package/esm/resources/ThreeDSecure/Authentications.js +40 -0
  423. package/esm/resources/ThreeDSecure/Authentications.js.map +1 -0
  424. package/esm/resources/ThreeDSecure/index.d.ts +16 -0
  425. package/esm/resources/ThreeDSecure/index.js +9 -0
  426. package/esm/resources/ThreeDSecure/index.js.map +1 -0
  427. package/esm/resources/Tokens.d.ts +13 -28
  428. package/esm/resources/Topups.d.ts +1 -1
  429. package/esm/resources/Transfers.d.ts +0 -8
  430. package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
  431. package/esm/resources/Treasury/FinancialAccounts.d.ts +2 -35
  432. package/esm/resources/Treasury/InboundTransfers.d.ts +1 -1
  433. package/esm/resources/Treasury/OutboundPayments.d.ts +0 -8
  434. package/esm/resources/Treasury/OutboundTransfers.d.ts +0 -44
  435. package/esm/resources/Treasury/ReceivedCredits.d.ts +7 -29
  436. package/esm/resources/Treasury/ReceivedDebits.d.ts +5 -31
  437. package/esm/resources/Treasury/TransactionEntries.d.ts +7 -7
  438. package/esm/resources/Treasury/Transactions.d.ts +7 -7
  439. package/esm/resources/V2/Billing/MeterEventAdjustments.d.ts +4 -2
  440. package/esm/resources/V2/Billing/index.d.ts +6 -45
  441. package/esm/resources/V2/Billing/index.js +0 -8
  442. package/esm/resources/V2/Billing/index.js.map +1 -1
  443. package/esm/resources/V2/Core/AccountLinks.d.ts +4 -22
  444. package/esm/resources/V2/Core/AccountPersons.d.ts +16 -5
  445. package/esm/resources/V2/Core/AccountTokens.d.ts +241 -32
  446. package/esm/resources/V2/Core/AccountTokens.js.map +1 -1
  447. package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +112 -9
  448. package/esm/resources/V2/Core/Accounts/Persons.d.ts +128 -14
  449. package/esm/resources/V2/Core/Accounts/Persons.js.map +1 -1
  450. package/esm/resources/V2/Core/Accounts.d.ts +767 -1719
  451. package/esm/resources/V2/Core/Accounts.js.map +1 -1
  452. package/esm/resources/V2/Core/EventDestinations.d.ts +61 -54
  453. package/esm/resources/V2/Core/Events.d.ts +2871 -1063
  454. package/esm/resources/V2/Core/index.d.ts +9 -27
  455. package/esm/resources/V2/Core/index.js +0 -6
  456. package/esm/resources/V2/Core/index.js.map +1 -1
  457. package/esm/resources/V2/index.d.ts +0 -30
  458. package/esm/resources/V2/index.js +0 -16
  459. package/esm/resources/V2/index.js.map +1 -1
  460. package/esm/resources/WebhookEndpoints.d.ts +4 -4
  461. package/esm/resources.d.ts +1 -9
  462. package/esm/resources.js +9 -136
  463. package/esm/resources.js.map +1 -1
  464. package/esm/shared.d.ts +5 -2
  465. package/esm/stripe.core.d.ts +34 -118
  466. package/esm/stripe.core.js +41 -38
  467. package/esm/stripe.core.js.map +1 -1
  468. package/esm/stripe.esm.node.d.ts +34 -116
  469. package/esm/stripe.esm.node.js +42 -37
  470. package/esm/stripe.esm.node.js.map +1 -1
  471. package/esm/utils.d.ts +18 -0
  472. package/esm/utils.js +25 -0
  473. package/esm/utils.js.map +1 -1
  474. package/package.json +4 -4
  475. package/cjs/resources/AccountNotices.d.ts +0 -140
  476. package/cjs/resources/AccountNotices.js +0 -29
  477. package/cjs/resources/AccountNotices.js.map +0 -1
  478. package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +0 -85
  479. package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -15
  480. package/cjs/resources/Billing/Analytics/MeterUsage.js.map +0 -1
  481. package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
  482. package/cjs/resources/Billing/Analytics/MeterUsageRows.js +0 -4
  483. package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
  484. package/cjs/resources/Billing/Analytics/index.d.ts +0 -15
  485. package/cjs/resources/Billing/Analytics/index.js +0 -13
  486. package/cjs/resources/Billing/Analytics/index.js.map +0 -1
  487. package/cjs/resources/Capital/FinancingOffers.d.ts +0 -194
  488. package/cjs/resources/Capital/FinancingOffers.js +0 -30
  489. package/cjs/resources/Capital/FinancingOffers.js.map +0 -1
  490. package/cjs/resources/Capital/FinancingSummary.d.ts +0 -102
  491. package/cjs/resources/Capital/FinancingSummary.js +0 -15
  492. package/cjs/resources/Capital/FinancingSummary.js.map +0 -1
  493. package/cjs/resources/Capital/FinancingTransactions.d.ts +0 -141
  494. package/cjs/resources/Capital/FinancingTransactions.js +0 -24
  495. package/cjs/resources/Capital/FinancingTransactions.js.map +0 -1
  496. package/cjs/resources/Capital/index.d.ts +0 -25
  497. package/cjs/resources/Capital/index.js +0 -17
  498. package/cjs/resources/Capital/index.js.map +0 -1
  499. package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
  500. package/cjs/resources/FinancialConnections/AccountInferredBalances.js +0 -4
  501. package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
  502. package/cjs/resources/FinancialConnections/Institutions.d.ts +0 -99
  503. package/cjs/resources/FinancialConnections/Institutions.js +0 -23
  504. package/cjs/resources/FinancialConnections/Institutions.js.map +0 -1
  505. package/cjs/resources/FxQuotes.d.ts +0 -212
  506. package/cjs/resources/FxQuotes.js +0 -29
  507. package/cjs/resources/FxQuotes.js.map +0 -1
  508. package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -638
  509. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -47
  510. package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
  511. package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +0 -93
  512. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -23
  513. package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
  514. package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
  515. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -23
  516. package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
  517. package/cjs/resources/Issuing/Settlements.d.ts +0 -83
  518. package/cjs/resources/Issuing/Settlements.js +0 -4
  519. package/cjs/resources/Issuing/Settlements.js.map +0 -1
  520. package/cjs/resources/Margins.d.ts +0 -115
  521. package/cjs/resources/Margins.js +0 -35
  522. package/cjs/resources/Margins.js.map +0 -1
  523. package/cjs/resources/Orders.d.ts +0 -4693
  524. package/cjs/resources/Orders.js +0 -457
  525. package/cjs/resources/Orders.js.map +0 -1
  526. package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -36
  527. package/cjs/resources/Privacy/RedactionJobValidationErrors.js +0 -4
  528. package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
  529. package/cjs/resources/Privacy/RedactionJobs.d.ts +0 -227
  530. package/cjs/resources/Privacy/RedactionJobs.js +0 -73
  531. package/cjs/resources/Privacy/RedactionJobs.js.map +0 -1
  532. package/cjs/resources/Privacy/index.d.ts +0 -22
  533. package/cjs/resources/Privacy/index.js +0 -13
  534. package/cjs/resources/Privacy/index.js.map +0 -1
  535. package/cjs/resources/QuoteLines.d.ts +0 -507
  536. package/cjs/resources/QuoteLines.js +0 -4
  537. package/cjs/resources/QuoteLines.js.map +0 -1
  538. package/cjs/resources/QuotePreviewInvoices.d.ts +0 -1126
  539. package/cjs/resources/QuotePreviewInvoices.js +0 -4
  540. package/cjs/resources/QuotePreviewInvoices.js.map +0 -1
  541. package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -786
  542. package/cjs/resources/QuotePreviewSubscriptionSchedules.js +0 -4
  543. package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
  544. package/cjs/resources/SharedPayment/GrantedTokens.d.ts +0 -418
  545. package/cjs/resources/SharedPayment/GrantedTokens.js +0 -15
  546. package/cjs/resources/SharedPayment/GrantedTokens.js.map +0 -1
  547. package/cjs/resources/SharedPayment/IssuedTokens.d.ts +0 -330
  548. package/cjs/resources/SharedPayment/IssuedTokens.js +0 -27
  549. package/cjs/resources/SharedPayment/IssuedTokens.js.map +0 -1
  550. package/cjs/resources/SharedPayment/index.d.ts +0 -19
  551. package/cjs/resources/SharedPayment/index.js +0 -15
  552. package/cjs/resources/SharedPayment/index.js.map +0 -1
  553. package/cjs/resources/Tax/Forms.d.ts +0 -228
  554. package/cjs/resources/Tax/Forms.js +0 -32
  555. package/cjs/resources/Tax/Forms.js.map +0 -1
  556. package/cjs/resources/Terminal/ReaderCollectedData.d.ts +0 -50
  557. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -15
  558. package/cjs/resources/Terminal/ReaderCollectedData.js.map +0 -1
  559. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
  560. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -21
  561. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
  562. package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
  563. package/cjs/resources/TestHelpers/SharedPayment/index.js +0 -13
  564. package/cjs/resources/TestHelpers/SharedPayment/index.js.map +0 -1
  565. package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +0 -72
  566. package/cjs/resources/V2/Billing/BillSettingVersions.js +0 -4
  567. package/cjs/resources/V2/Billing/BillSettingVersions.js.map +0 -1
  568. package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
  569. package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -23
  570. package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
  571. package/cjs/resources/V2/Billing/BillSettings.d.ts +0 -281
  572. package/cjs/resources/V2/Billing/BillSettings.js +0 -41
  573. package/cjs/resources/V2/Billing/BillSettings.js.map +0 -1
  574. package/cjs/resources/V2/Billing/Cadences.d.ts +0 -947
  575. package/cjs/resources/V2/Billing/Cadences.js +0 -198
  576. package/cjs/resources/V2/Billing/Cadences.js.map +0 -1
  577. package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -237
  578. package/cjs/resources/V2/Billing/CollectionSettingVersions.js +0 -4
  579. package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
  580. package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
  581. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -70
  582. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
  583. package/cjs/resources/V2/Billing/CollectionSettings.d.ts +0 -776
  584. package/cjs/resources/V2/Billing/CollectionSettings.js +0 -166
  585. package/cjs/resources/V2/Billing/CollectionSettings.js.map +0 -1
  586. package/cjs/resources/V2/Billing/Profiles.d.ts +0 -162
  587. package/cjs/resources/V2/Billing/Profiles.js +0 -35
  588. package/cjs/resources/V2/Billing/Profiles.js.map +0 -1
  589. package/cjs/resources/V2/Core/ApprovalRequests.d.ts +0 -378
  590. package/cjs/resources/V2/Core/ApprovalRequests.js +0 -39
  591. package/cjs/resources/V2/Core/ApprovalRequests.js.map +0 -1
  592. package/cjs/resources/V2/Core/BatchJobs.d.ts +0 -360
  593. package/cjs/resources/V2/Core/BatchJobs.js +0 -225
  594. package/cjs/resources/V2/Core/BatchJobs.js.map +0 -1
  595. package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -284
  596. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -54
  597. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
  598. package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -256
  599. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -65
  600. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
  601. package/cjs/resources/V2/Core/Vault/index.d.ts +0 -28
  602. package/cjs/resources/V2/Core/Vault/index.js +0 -15
  603. package/cjs/resources/V2/Core/Vault/index.js.map +0 -1
  604. package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -151
  605. package/cjs/resources/V2/Data/Reporting/QueryRuns.js +0 -46
  606. package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
  607. package/cjs/resources/V2/Data/Reporting/index.d.ts +0 -13
  608. package/cjs/resources/V2/Data/Reporting/index.js +0 -13
  609. package/cjs/resources/V2/Data/Reporting/index.js.map +0 -1
  610. package/cjs/resources/V2/Data/index.d.ts +0 -10
  611. package/cjs/resources/V2/Data/index.js +0 -13
  612. package/cjs/resources/V2/Data/index.js.map +0 -1
  613. package/cjs/resources/V2/EventMisc.d.ts +0 -0
  614. package/cjs/resources/V2/EventMisc.js +0 -2
  615. package/cjs/resources/V2/EventMisc.js.map +0 -1
  616. package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +0 -163
  617. package/cjs/resources/V2/Extend/WorkflowRuns.js +0 -23
  618. package/cjs/resources/V2/Extend/WorkflowRuns.js.map +0 -1
  619. package/cjs/resources/V2/Extend/Workflows.d.ts +0 -120
  620. package/cjs/resources/V2/Extend/Workflows.js +0 -30
  621. package/cjs/resources/V2/Extend/Workflows.js.map +0 -1
  622. package/cjs/resources/V2/Extend/index.d.ts +0 -20
  623. package/cjs/resources/V2/Extend/index.js +0 -15
  624. package/cjs/resources/V2/Extend/index.js.map +0 -1
  625. package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
  626. package/cjs/resources/V2/FinancialAddressCreditSimulations.js +0 -4
  627. package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
  628. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
  629. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -4
  630. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
  631. package/cjs/resources/V2/Iam/ActivityLogs.d.ts +0 -218
  632. package/cjs/resources/V2/Iam/ActivityLogs.js +0 -23
  633. package/cjs/resources/V2/Iam/ActivityLogs.js.map +0 -1
  634. package/cjs/resources/V2/Iam/index.d.ts +0 -13
  635. package/cjs/resources/V2/Iam/index.js +0 -13
  636. package/cjs/resources/V2/Iam/index.js.map +0 -1
  637. package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +0 -131
  638. package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -23
  639. package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
  640. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -240
  641. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -44
  642. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
  643. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -211
  644. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -31
  645. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
  646. package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -251
  647. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -30
  648. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
  649. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -209
  650. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -22
  651. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
  652. package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -394
  653. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -41
  654. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
  655. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -297
  656. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -49
  657. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
  658. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -336
  659. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -39
  660. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
  661. package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -255
  662. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -53
  663. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
  664. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -92
  665. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -17
  666. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
  667. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -296
  668. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -23
  669. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
  670. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -159
  671. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -23
  672. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
  673. package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -162
  674. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -23
  675. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
  676. package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +0 -193
  677. package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -23
  678. package/cjs/resources/V2/MoneyManagement/Transactions.js.map +0 -1
  679. package/cjs/resources/V2/MoneyManagement/index.d.ts +0 -105
  680. package/cjs/resources/V2/MoneyManagement/index.js +0 -39
  681. package/cjs/resources/V2/MoneyManagement/index.js.map +0 -1
  682. package/cjs/resources/V2/Network/BusinessProfiles.d.ts +0 -92
  683. package/cjs/resources/V2/Network/BusinessProfiles.js +0 -21
  684. package/cjs/resources/V2/Network/BusinessProfiles.js.map +0 -1
  685. package/cjs/resources/V2/Network/index.d.ts +0 -13
  686. package/cjs/resources/V2/Network/index.js +0 -13
  687. package/cjs/resources/V2/Network/index.js.map +0 -1
  688. package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -143
  689. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +0 -41
  690. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
  691. package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
  692. package/cjs/resources/V2/OrchestratedCommerce/index.js +0 -13
  693. package/cjs/resources/V2/OrchestratedCommerce/index.js.map +0 -1
  694. package/cjs/resources/V2/Signals/AccountActivity.d.ts +0 -388
  695. package/cjs/resources/V2/Signals/AccountActivity.js +0 -27
  696. package/cjs/resources/V2/Signals/AccountActivity.js.map +0 -1
  697. package/cjs/resources/V2/Signals/AccountEvaluations.d.ts +0 -335
  698. package/cjs/resources/V2/Signals/AccountEvaluations.js +0 -59
  699. package/cjs/resources/V2/Signals/AccountEvaluations.js.map +0 -1
  700. package/cjs/resources/V2/Signals/AccountSignals.d.ts +0 -130
  701. package/cjs/resources/V2/Signals/AccountSignals.js +0 -58
  702. package/cjs/resources/V2/Signals/AccountSignals.js.map +0 -1
  703. package/cjs/resources/V2/Signals/index.d.ts +0 -26
  704. package/cjs/resources/V2/Signals/index.js +0 -17
  705. package/cjs/resources/V2/Signals/index.js.map +0 -1
  706. package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -45
  707. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -23
  708. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
  709. package/cjs/resources/V2/TestHelpers/index.d.ts +0 -8
  710. package/cjs/resources/V2/TestHelpers/index.js +0 -13
  711. package/cjs/resources/V2/TestHelpers/index.js.map +0 -1
  712. package/esm/resources/AccountNotices.d.ts +0 -140
  713. package/esm/resources/AccountNotices.js +0 -25
  714. package/esm/resources/AccountNotices.js.map +0 -1
  715. package/esm/resources/Billing/Analytics/MeterUsage.d.ts +0 -85
  716. package/esm/resources/Billing/Analytics/MeterUsage.js +0 -11
  717. package/esm/resources/Billing/Analytics/MeterUsage.js.map +0 -1
  718. package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
  719. package/esm/resources/Billing/Analytics/MeterUsageRows.js +0 -3
  720. package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
  721. package/esm/resources/Billing/Analytics/index.d.ts +0 -15
  722. package/esm/resources/Billing/Analytics/index.js +0 -9
  723. package/esm/resources/Billing/Analytics/index.js.map +0 -1
  724. package/esm/resources/Capital/FinancingOffers.d.ts +0 -194
  725. package/esm/resources/Capital/FinancingOffers.js +0 -26
  726. package/esm/resources/Capital/FinancingOffers.js.map +0 -1
  727. package/esm/resources/Capital/FinancingSummary.d.ts +0 -102
  728. package/esm/resources/Capital/FinancingSummary.js +0 -11
  729. package/esm/resources/Capital/FinancingSummary.js.map +0 -1
  730. package/esm/resources/Capital/FinancingTransactions.d.ts +0 -141
  731. package/esm/resources/Capital/FinancingTransactions.js +0 -20
  732. package/esm/resources/Capital/FinancingTransactions.js.map +0 -1
  733. package/esm/resources/Capital/index.d.ts +0 -25
  734. package/esm/resources/Capital/index.js +0 -13
  735. package/esm/resources/Capital/index.js.map +0 -1
  736. package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
  737. package/esm/resources/FinancialConnections/AccountInferredBalances.js +0 -3
  738. package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
  739. package/esm/resources/FinancialConnections/Institutions.d.ts +0 -99
  740. package/esm/resources/FinancialConnections/Institutions.js +0 -19
  741. package/esm/resources/FinancialConnections/Institutions.js.map +0 -1
  742. package/esm/resources/FxQuotes.d.ts +0 -212
  743. package/esm/resources/FxQuotes.js +0 -25
  744. package/esm/resources/FxQuotes.js.map +0 -1
  745. package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -638
  746. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -43
  747. package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
  748. package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +0 -93
  749. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -19
  750. package/esm/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
  751. package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
  752. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -19
  753. package/esm/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
  754. package/esm/resources/Issuing/Settlements.d.ts +0 -83
  755. package/esm/resources/Issuing/Settlements.js +0 -3
  756. package/esm/resources/Issuing/Settlements.js.map +0 -1
  757. package/esm/resources/Margins.d.ts +0 -115
  758. package/esm/resources/Margins.js +0 -31
  759. package/esm/resources/Margins.js.map +0 -1
  760. package/esm/resources/Orders.d.ts +0 -4693
  761. package/esm/resources/Orders.js +0 -453
  762. package/esm/resources/Orders.js.map +0 -1
  763. package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -36
  764. package/esm/resources/Privacy/RedactionJobValidationErrors.js +0 -3
  765. package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
  766. package/esm/resources/Privacy/RedactionJobs.d.ts +0 -227
  767. package/esm/resources/Privacy/RedactionJobs.js +0 -69
  768. package/esm/resources/Privacy/RedactionJobs.js.map +0 -1
  769. package/esm/resources/Privacy/index.d.ts +0 -22
  770. package/esm/resources/Privacy/index.js +0 -9
  771. package/esm/resources/Privacy/index.js.map +0 -1
  772. package/esm/resources/QuoteLines.d.ts +0 -507
  773. package/esm/resources/QuoteLines.js +0 -3
  774. package/esm/resources/QuoteLines.js.map +0 -1
  775. package/esm/resources/QuotePreviewInvoices.d.ts +0 -1126
  776. package/esm/resources/QuotePreviewInvoices.js +0 -3
  777. package/esm/resources/QuotePreviewInvoices.js.map +0 -1
  778. package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -786
  779. package/esm/resources/QuotePreviewSubscriptionSchedules.js +0 -3
  780. package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
  781. package/esm/resources/SharedPayment/GrantedTokens.d.ts +0 -418
  782. package/esm/resources/SharedPayment/GrantedTokens.js +0 -11
  783. package/esm/resources/SharedPayment/GrantedTokens.js.map +0 -1
  784. package/esm/resources/SharedPayment/IssuedTokens.d.ts +0 -330
  785. package/esm/resources/SharedPayment/IssuedTokens.js +0 -23
  786. package/esm/resources/SharedPayment/IssuedTokens.js.map +0 -1
  787. package/esm/resources/SharedPayment/index.d.ts +0 -19
  788. package/esm/resources/SharedPayment/index.js +0 -11
  789. package/esm/resources/SharedPayment/index.js.map +0 -1
  790. package/esm/resources/Tax/Forms.d.ts +0 -228
  791. package/esm/resources/Tax/Forms.js +0 -28
  792. package/esm/resources/Tax/Forms.js.map +0 -1
  793. package/esm/resources/Terminal/ReaderCollectedData.d.ts +0 -50
  794. package/esm/resources/Terminal/ReaderCollectedData.js +0 -11
  795. package/esm/resources/Terminal/ReaderCollectedData.js.map +0 -1
  796. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
  797. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -17
  798. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
  799. package/esm/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
  800. package/esm/resources/TestHelpers/SharedPayment/index.js +0 -9
  801. package/esm/resources/TestHelpers/SharedPayment/index.js.map +0 -1
  802. package/esm/resources/V2/Billing/BillSettingVersions.d.ts +0 -72
  803. package/esm/resources/V2/Billing/BillSettingVersions.js +0 -3
  804. package/esm/resources/V2/Billing/BillSettingVersions.js.map +0 -1
  805. package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
  806. package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -19
  807. package/esm/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
  808. package/esm/resources/V2/Billing/BillSettings.d.ts +0 -281
  809. package/esm/resources/V2/Billing/BillSettings.js +0 -37
  810. package/esm/resources/V2/Billing/BillSettings.js.map +0 -1
  811. package/esm/resources/V2/Billing/Cadences.d.ts +0 -947
  812. package/esm/resources/V2/Billing/Cadences.js +0 -194
  813. package/esm/resources/V2/Billing/Cadences.js.map +0 -1
  814. package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -237
  815. package/esm/resources/V2/Billing/CollectionSettingVersions.js +0 -3
  816. package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
  817. package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
  818. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -66
  819. package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
  820. package/esm/resources/V2/Billing/CollectionSettings.d.ts +0 -776
  821. package/esm/resources/V2/Billing/CollectionSettings.js +0 -162
  822. package/esm/resources/V2/Billing/CollectionSettings.js.map +0 -1
  823. package/esm/resources/V2/Billing/Profiles.d.ts +0 -162
  824. package/esm/resources/V2/Billing/Profiles.js +0 -31
  825. package/esm/resources/V2/Billing/Profiles.js.map +0 -1
  826. package/esm/resources/V2/Core/ApprovalRequests.d.ts +0 -378
  827. package/esm/resources/V2/Core/ApprovalRequests.js +0 -35
  828. package/esm/resources/V2/Core/ApprovalRequests.js.map +0 -1
  829. package/esm/resources/V2/Core/BatchJobs.d.ts +0 -360
  830. package/esm/resources/V2/Core/BatchJobs.js +0 -221
  831. package/esm/resources/V2/Core/BatchJobs.js.map +0 -1
  832. package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -284
  833. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -50
  834. package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
  835. package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -256
  836. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -61
  837. package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
  838. package/esm/resources/V2/Core/Vault/index.d.ts +0 -28
  839. package/esm/resources/V2/Core/Vault/index.js +0 -11
  840. package/esm/resources/V2/Core/Vault/index.js.map +0 -1
  841. package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -151
  842. package/esm/resources/V2/Data/Reporting/QueryRuns.js +0 -42
  843. package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
  844. package/esm/resources/V2/Data/Reporting/index.d.ts +0 -13
  845. package/esm/resources/V2/Data/Reporting/index.js +0 -9
  846. package/esm/resources/V2/Data/Reporting/index.js.map +0 -1
  847. package/esm/resources/V2/Data/index.d.ts +0 -10
  848. package/esm/resources/V2/Data/index.js +0 -9
  849. package/esm/resources/V2/Data/index.js.map +0 -1
  850. package/esm/resources/V2/EventMisc.d.ts +0 -0
  851. package/esm/resources/V2/EventMisc.js +0 -2
  852. package/esm/resources/V2/EventMisc.js.map +0 -1
  853. package/esm/resources/V2/Extend/WorkflowRuns.d.ts +0 -163
  854. package/esm/resources/V2/Extend/WorkflowRuns.js +0 -19
  855. package/esm/resources/V2/Extend/WorkflowRuns.js.map +0 -1
  856. package/esm/resources/V2/Extend/Workflows.d.ts +0 -120
  857. package/esm/resources/V2/Extend/Workflows.js +0 -26
  858. package/esm/resources/V2/Extend/Workflows.js.map +0 -1
  859. package/esm/resources/V2/Extend/index.d.ts +0 -20
  860. package/esm/resources/V2/Extend/index.js +0 -11
  861. package/esm/resources/V2/Extend/index.js.map +0 -1
  862. package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
  863. package/esm/resources/V2/FinancialAddressCreditSimulations.js +0 -3
  864. package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
  865. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
  866. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -3
  867. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
  868. package/esm/resources/V2/Iam/ActivityLogs.d.ts +0 -218
  869. package/esm/resources/V2/Iam/ActivityLogs.js +0 -19
  870. package/esm/resources/V2/Iam/ActivityLogs.js.map +0 -1
  871. package/esm/resources/V2/Iam/index.d.ts +0 -13
  872. package/esm/resources/V2/Iam/index.js +0 -9
  873. package/esm/resources/V2/Iam/index.js.map +0 -1
  874. package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +0 -131
  875. package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -19
  876. package/esm/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
  877. package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -240
  878. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -40
  879. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
  880. package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -211
  881. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -27
  882. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
  883. package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -251
  884. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -26
  885. package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
  886. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -209
  887. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -18
  888. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
  889. package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -394
  890. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -37
  891. package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
  892. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -297
  893. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -45
  894. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
  895. package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -336
  896. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -35
  897. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
  898. package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -255
  899. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -49
  900. package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
  901. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -92
  902. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -13
  903. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
  904. package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -296
  905. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -19
  906. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
  907. package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -159
  908. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -19
  909. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
  910. package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -162
  911. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -19
  912. package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
  913. package/esm/resources/V2/MoneyManagement/Transactions.d.ts +0 -193
  914. package/esm/resources/V2/MoneyManagement/Transactions.js +0 -19
  915. package/esm/resources/V2/MoneyManagement/Transactions.js.map +0 -1
  916. package/esm/resources/V2/MoneyManagement/index.d.ts +0 -105
  917. package/esm/resources/V2/MoneyManagement/index.js +0 -35
  918. package/esm/resources/V2/MoneyManagement/index.js.map +0 -1
  919. package/esm/resources/V2/Network/BusinessProfiles.d.ts +0 -92
  920. package/esm/resources/V2/Network/BusinessProfiles.js +0 -17
  921. package/esm/resources/V2/Network/BusinessProfiles.js.map +0 -1
  922. package/esm/resources/V2/Network/index.d.ts +0 -13
  923. package/esm/resources/V2/Network/index.js +0 -9
  924. package/esm/resources/V2/Network/index.js.map +0 -1
  925. package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -143
  926. package/esm/resources/V2/OrchestratedCommerce/Agreements.js +0 -37
  927. package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
  928. package/esm/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
  929. package/esm/resources/V2/OrchestratedCommerce/index.js +0 -9
  930. package/esm/resources/V2/OrchestratedCommerce/index.js.map +0 -1
  931. package/esm/resources/V2/Signals/AccountActivity.d.ts +0 -388
  932. package/esm/resources/V2/Signals/AccountActivity.js +0 -23
  933. package/esm/resources/V2/Signals/AccountActivity.js.map +0 -1
  934. package/esm/resources/V2/Signals/AccountEvaluations.d.ts +0 -335
  935. package/esm/resources/V2/Signals/AccountEvaluations.js +0 -55
  936. package/esm/resources/V2/Signals/AccountEvaluations.js.map +0 -1
  937. package/esm/resources/V2/Signals/AccountSignals.d.ts +0 -130
  938. package/esm/resources/V2/Signals/AccountSignals.js +0 -54
  939. package/esm/resources/V2/Signals/AccountSignals.js.map +0 -1
  940. package/esm/resources/V2/Signals/index.d.ts +0 -26
  941. package/esm/resources/V2/Signals/index.js +0 -13
  942. package/esm/resources/V2/Signals/index.js.map +0 -1
  943. package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -45
  944. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -19
  945. package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
  946. package/esm/resources/V2/TestHelpers/index.d.ts +0 -8
  947. package/esm/resources/V2/TestHelpers/index.js +0 -9
  948. package/esm/resources/V2/TestHelpers/index.js.map +0 -1
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.AuthenticationResource = void 0;
5
+ const StripeResource_js_1 = require("../../StripeResource.js");
6
+ class AuthenticationResource extends StripeResource_js_1.StripeResource {
7
+ /**
8
+ * Returns a list of 3D Secure Authentications.
9
+ */
10
+ list(params, options) {
11
+ return this._makeRequest('GET', '/v1/three_d_secure/authentications', params, options, {
12
+ methodType: 'list',
13
+ });
14
+ }
15
+ /**
16
+ * This endpoint creates a 3DS Authentication. Refer to the [Create a 3DS Authentication object section of the Standalone 3DS guide](https://docs.stripe.com/payments/3d-secure/standalone-3d-secure#create-a-3ds-authentication-object) for more information.
17
+ *
18
+ * You can pass the submit parameter to automatically submit the 3DS Authentication object when you create it. Refer to the [Submit at creation section of the Standalone 3DS guide](https://docs.stripe.com/payments/3d-secure/standalone-3d-secure#submit-at-creation) for more information.
19
+ */
20
+ create(params, options) {
21
+ return this._makeRequest('POST', '/v1/three_d_secure/authentications', params, options);
22
+ }
23
+ /**
24
+ * This endpoint retrieves a 3DS Authentication.
25
+ */
26
+ retrieve(id, params, options) {
27
+ return this._makeRequest('GET', `/v1/three_d_secure/authentications/${encodeURIComponent(id)}`, params, options);
28
+ }
29
+ /**
30
+ * This endpoint cancels a 3DS Authentication. You can cancel a 3DS Authentication object when it's in a non-final status:
31
+ * requires_submission or requires_challenge.
32
+ */
33
+ cancel(id, params, options) {
34
+ return this._makeRequest('POST', `/v1/three_d_secure/authentications/${encodeURIComponent(id)}/cancel`, params, options);
35
+ }
36
+ /**
37
+ * This endpoint submits a 3DS Authentication. You can submit a 3DS Authentication object when it has status requires_submission. Refer to the [Submit the 3DS Authentication object section of the Standalone 3DS guide](https://docs.stripe.com/payments/3d-secure/standalone-3d-secure#submit-the-3ds-authentication-object) for more information.
38
+ */
39
+ submit(id, params, options) {
40
+ return this._makeRequest('POST', `/v1/three_d_secure/authentications/${encodeURIComponent(id)}/submit`, params, options);
41
+ }
42
+ }
43
+ exports.AuthenticationResource = AuthenticationResource;
44
+ //# sourceMappingURL=Authentications.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Authentications.js","sourceRoot":"","sources":["../../../src/resources/ThreeDSecure/Authentications.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,+DAAuD;AAavD,MAAa,sBAAuB,SAAQ,kCAAc;IACxD;;OAEG;IACH,IAAI,CACF,MAA8C,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,oCAAoC,EACpC,MAAM,EACN,OAAO,EACP;YACE,UAAU,EAAE,MAAM;SACnB,CACK,CAAC;IACX,CAAC;IACD;;;;OAIG;IACH,MAAM,CACJ,MAA+C,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,oCAAoC,EACpC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAkD,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,sCAAsC,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAC9D,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;;OAGG;IACH,MAAM,CACJ,EAAU,EACV,MAAgD,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,sCAAsC,kBAAkB,CAAC,EAAE,CAAC,SAAS,EACrE,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,EAAU,EACV,MAAgD,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,sCAAsC,kBAAkB,CAAC,EAAE,CAAC,SAAS,EACrE,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF;AAhFD,wDAgFC"}
@@ -0,0 +1,16 @@
1
+ import { Stripe } from '../../stripe.core.js';
2
+ import { ThreeDSecure as ThreeDSecureNamespace0, Authentication, AuthenticationResource } from './Authentications.js';
3
+ export { Authentication } from './Authentications.js';
4
+ export declare class ThreeDSecure {
5
+ private readonly stripe;
6
+ authentications: AuthenticationResource;
7
+ constructor(stripe: Stripe);
8
+ }
9
+ export declare namespace ThreeDSecure {
10
+ export import AuthenticationListParams = ThreeDSecureNamespace0.AuthenticationListParams;
11
+ export import AuthenticationCreateParams = ThreeDSecureNamespace0.AuthenticationCreateParams;
12
+ export import AuthenticationRetrieveParams = ThreeDSecureNamespace0.AuthenticationRetrieveParams;
13
+ export import AuthenticationCancelParams = ThreeDSecureNamespace0.AuthenticationCancelParams;
14
+ export import AuthenticationSubmitParams = ThreeDSecureNamespace0.AuthenticationSubmitParams;
15
+ export { Authentication, AuthenticationResource };
16
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ThreeDSecure = void 0;
5
+ const Authentications_js_1 = require("./Authentications.js");
6
+ class ThreeDSecure {
7
+ constructor(stripe) {
8
+ this.stripe = stripe;
9
+ this.authentications = new Authentications_js_1.AuthenticationResource(stripe);
10
+ }
11
+ }
12
+ exports.ThreeDSecure = ThreeDSecure;
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/ThreeDSecure/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAGvC,6DAI8B;AAI9B,MAAa,YAAY;IAGvB,YAA6B,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;QACzC,IAAI,CAAC,eAAe,GAAG,IAAI,2CAAsB,CAAC,MAAM,CAAC,CAAC;IAC5D,CAAC;CACF;AAND,oCAMC"}
@@ -53,10 +53,6 @@ export interface Token {
53
53
  * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
54
54
  */
55
55
  livemode: boolean;
56
- /**
57
- * Redaction status of this token. If not null, this token is associated to a redaction job.
58
- */
59
- redaction?: Token.Redaction | null;
60
56
  /**
61
57
  * Type of the token: `account`, `bank_account`, `card`, or `pii`.
62
58
  */
@@ -66,17 +62,6 @@ export interface Token {
66
62
  */
67
63
  used: boolean;
68
64
  }
69
- export declare namespace Token {
70
- interface Redaction {
71
- /**
72
- * Indicates whether this object and its related objects have been redacted or not.
73
- */
74
- status: Redaction.Status;
75
- }
76
- namespace Redaction {
77
- type Status = 'processing' | 'redacted' | 'validated' | OtherString;
78
- }
79
- }
80
65
  export interface TokenCreateParams {
81
66
  /**
82
67
  * Information for the account this token represents.
@@ -618,11 +603,11 @@ export declare namespace TokenCreateParams {
618
603
  namespace Verification {
619
604
  interface Document {
620
605
  /**
621
- * The back of a document returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
606
+ * The back of a document returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
622
607
  */
623
608
  back?: string;
624
609
  /**
625
- * The front of a document returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
610
+ * The front of a document returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
626
611
  */
627
612
  front?: string;
628
613
  }
@@ -679,21 +664,21 @@ export declare namespace TokenCreateParams {
679
664
  namespace Verification {
680
665
  interface AdditionalDocument {
681
666
  /**
682
- * The back of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
667
+ * The back of an ID returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
683
668
  */
684
669
  back?: string;
685
670
  /**
686
- * The front of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
671
+ * The front of an ID returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
687
672
  */
688
673
  front?: string;
689
674
  }
690
675
  interface Document {
691
676
  /**
692
- * The back of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
677
+ * The back of an ID returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
693
678
  */
694
679
  back?: string;
695
680
  /**
696
- * The front of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
681
+ * The front of an ID returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
697
682
  */
698
683
  front?: string;
699
684
  }
@@ -828,19 +813,19 @@ export declare namespace TokenCreateParams {
828
813
  namespace Documents {
829
814
  interface CompanyAuthorization {
830
815
  /**
831
- * One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
816
+ * One or more document ids returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `account_requirement`.
832
817
  */
833
818
  files?: Array<string>;
834
819
  }
835
820
  interface Passport {
836
821
  /**
837
- * One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
822
+ * One or more document ids returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `account_requirement`.
838
823
  */
839
824
  files?: Array<string>;
840
825
  }
841
826
  interface Visa {
842
827
  /**
843
- * One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
828
+ * One or more document ids returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `account_requirement`.
844
829
  */
845
830
  files?: Array<string>;
846
831
  }
@@ -876,21 +861,21 @@ export declare namespace TokenCreateParams {
876
861
  namespace Verification {
877
862
  interface AdditionalDocument {
878
863
  /**
879
- * The back of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
864
+ * The back of an ID returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
880
865
  */
881
866
  back?: string;
882
867
  /**
883
- * The front of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
868
+ * The front of an ID returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
884
869
  */
885
870
  front?: string;
886
871
  }
887
872
  interface Document {
888
873
  /**
889
- * The back of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
874
+ * The back of an ID returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
890
875
  */
891
876
  back?: string;
892
877
  /**
893
- * The front of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
878
+ * The front of an ID returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
894
879
  */
895
880
  front?: string;
896
881
  }
@@ -152,7 +152,7 @@ export interface TopupCreateParams {
152
152
  */
153
153
  payment_method_options?: TopupCreateParams.PaymentMethodOptions;
154
154
  /**
155
- * The ID of a source to transfer funds from. For most users, this should be left unspecified which will use the bank account that was set up in the dashboard for the specified currency. In test mode, this can be a test bank token (see [Testing Top-ups](https://docs.stripe.com/connect/testing#testing-top-ups)).
155
+ * The ID of a source to transfer funds from. For most users, this should be left unspecified which will use the bank account that was set up in the dashboard for the specified currency. While testing, this can be a test bank token (see [Testing Top-ups](https://docs.stripe.com/connect/testing#testing-top-ups)).
156
156
  */
157
157
  source?: string;
158
158
  /**
@@ -88,10 +88,6 @@ export interface Transfer {
88
88
  * If the destination is a Stripe account, this will be the ID of the payment that the destination account received for the transfer.
89
89
  */
90
90
  destination_payment?: string | Charge;
91
- /**
92
- * The FX Quote used for the transfer.
93
- */
94
- fx_quote?: string;
95
91
  /**
96
92
  * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
97
93
  */
@@ -142,10 +138,6 @@ export interface TransferCreateParams {
142
138
  * Specifies which fields in the response should be expanded.
143
139
  */
144
140
  expand?: Array<string>;
145
- /**
146
- * The FX rate in the quote is validated and used to convert the transfer amount to the destination currency.
147
- */
148
- fx_quote?: string;
149
141
  /**
150
142
  * 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`.
151
143
  */
@@ -154,10 +154,6 @@ export declare namespace FinancialAccountFeatures {
154
154
  }
155
155
  namespace FinancialAddresses {
156
156
  interface Aba {
157
- /**
158
- * Requested bank partner for this Financial Account
159
- */
160
- bank?: Aba.Bank;
161
157
  /**
162
158
  * Whether the FinancialAccount should have the Feature.
163
159
  */
@@ -172,7 +168,6 @@ export declare namespace FinancialAccountFeatures {
172
168
  status_details: Array<Aba.StatusDetail>;
173
169
  }
174
170
  namespace Aba {
175
- type Bank = 'evolve' | 'fifth_third' | 'goldman_sachs' | OtherString;
176
171
  type Status = 'active' | 'pending' | 'restricted' | OtherString;
177
172
  interface StatusDetail {
178
173
  /**
@@ -1,6 +1,6 @@
1
1
  import { StripeResource } from '../../StripeResource.js';
2
2
  import { FinancialAccountFeatures } from './FinancialAccountFeatures.js';
3
- import { Emptyable, MetadataParam, OtherString, PaginationParams, RangeQueryParam, Metadata } from '../../shared.js';
3
+ import { MetadataParam, Emptyable, OtherString, PaginationParams, RangeQueryParam, Metadata } from '../../shared.js';
4
4
  import { RequestOptions, ApiListPromise, Response } from '../../lib.js';
5
5
  export declare class FinancialAccountResource extends StripeResource {
6
6
  /**
@@ -57,10 +57,6 @@ export interface FinancialAccount {
57
57
  * Time at which the object was created. Measured in seconds since the Unix epoch.
58
58
  */
59
59
  created: number;
60
- /**
61
- * The display name for the FinancialAccount. Use this field to customize the names of the FinancialAccounts for your connected accounts. Unlike the `nickname` field, `display_name` is not internal metadata and will be exposed to connected accounts.
62
- */
63
- display_name?: string | null;
64
60
  /**
65
61
  * Encodes whether a FinancialAccount has access to a particular Feature, with a `status` enum and associated `status_details`.
66
62
  * Stripe or the platform can control Features via the requested field.
@@ -183,7 +179,7 @@ export declare namespace FinancialAccount {
183
179
  */
184
180
  routing_number: string;
185
181
  }
186
- type SupportedNetwork = 'ach' | 'us_domestic_wire' | OtherString;
182
+ type SupportedNetwork = 'ach' | 'rtp' | 'us_domestic_wire' | OtherString;
187
183
  }
188
184
  namespace PlatformRestrictions {
189
185
  type InboundFlows = 'restricted' | 'unrestricted' | OtherString;
@@ -207,10 +203,6 @@ export declare namespace Treasury {
207
203
  * The currencies the FinancialAccount can hold a balance in.
208
204
  */
209
205
  supported_currencies: Array<string>;
210
- /**
211
- * The display name for the FinancialAccount. Use this field to customize the names of the FinancialAccounts for your connected accounts. Unlike the `nickname` field, `display_name` is not internal metadata and will be exposed to connected accounts.
212
- */
213
- display_name?: Emptyable<string>;
214
206
  /**
215
207
  * Specifies which fields in the response should be expanded.
216
208
  */
@@ -326,18 +318,11 @@ export declare namespace Treasury {
326
318
  }
327
319
  namespace FinancialAddresses {
328
320
  interface Aba {
329
- /**
330
- * Requested bank partner
331
- */
332
- bank?: Aba.Bank;
333
321
  /**
334
322
  * Whether the FinancialAccount should have the Feature.
335
323
  */
336
324
  requested: boolean;
337
325
  }
338
- namespace Aba {
339
- type Bank = 'evolve' | 'fifth_third' | 'goldman_sachs' | OtherString;
340
- }
341
326
  }
342
327
  namespace InboundTransfers {
343
328
  interface Ach {
@@ -392,10 +377,6 @@ export declare namespace Treasury {
392
377
  }
393
378
  export declare namespace Treasury {
394
379
  interface FinancialAccountUpdateParams {
395
- /**
396
- * The display name for the FinancialAccount. Use this field to customize the names of the FinancialAccounts for your connected accounts. Unlike the `nickname` field, `display_name` is not internal metadata and will be exposed to connected accounts.
397
- */
398
- display_name?: Emptyable<string>;
399
380
  /**
400
381
  * Specifies which fields in the response should be expanded.
401
382
  */
@@ -529,18 +510,11 @@ export declare namespace Treasury {
529
510
  }
530
511
  namespace FinancialAddresses {
531
512
  interface Aba {
532
- /**
533
- * Requested bank partner
534
- */
535
- bank?: Aba.Bank;
536
513
  /**
537
514
  * Whether the FinancialAccount should have the Feature.
538
515
  */
539
516
  requested: boolean;
540
517
  }
541
- namespace Aba {
542
- type Bank = 'evolve' | 'fifth_third' | 'goldman_sachs' | OtherString;
543
- }
544
518
  }
545
519
  namespace InboundTransfers {
546
520
  interface Ach {
@@ -734,18 +708,11 @@ export declare namespace Treasury {
734
708
  }
735
709
  namespace FinancialAddresses {
736
710
  interface Aba {
737
- /**
738
- * Requested bank partner
739
- */
740
- bank?: Aba.Bank;
741
711
  /**
742
712
  * Whether the FinancialAccount should have the Feature.
743
713
  */
744
714
  requested: boolean;
745
715
  }
746
- namespace Aba {
747
- type Bank = 'evolve' | 'fifth_third' | 'goldman_sachs' | OtherString;
748
- }
749
716
  }
750
717
  namespace InboundTransfers {
751
718
  interface Ach {
@@ -51,7 +51,7 @@ export interface InboundTransfer {
51
51
  */
52
52
  description: string | null;
53
53
  /**
54
- * Details about this InboundTransfer's failure. Only set when status is `failed`.
54
+ * Details about this InboundTransfer's failure. Will be set when `status=failed` or `returned=true`.
55
55
  */
56
56
  failure_details: InboundTransfer.FailureDetails | null;
57
57
  /**
@@ -86,10 +86,6 @@ export interface OutboundPayment {
86
86
  * 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.
87
87
  */
88
88
  metadata: Metadata;
89
- /**
90
- * The purpose of the OutboundPayment, if applicable.
91
- */
92
- purpose?: 'payroll' | null;
93
89
  /**
94
90
  * Details about a returned OutboundPayment. Only set when the status is `returned`.
95
91
  */
@@ -305,10 +301,6 @@ export declare namespace Treasury {
305
301
  * 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`.
306
302
  */
307
303
  metadata?: MetadataParam;
308
- /**
309
- * The purpose of the OutboundPayment, if applicable. This list is not exhaustive, do not specify this parameter if your purpose does not match any that are provided.
310
- */
311
- purpose?: 'payroll';
312
304
  /**
313
305
  * The description that appears on the receiving end for this OutboundPayment (for example, bank statement for external bank transfer). Maximum 10 characters for `ach` payments, 140 characters for `us_domestic_wire` payments, or 500 characters for `stripe` network transfers. Can only include -#.$&*, spaces, and alphanumeric characters. The default value is "payment".
314
306
  */
@@ -75,10 +75,6 @@ export interface OutboundTransfer {
75
75
  * 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.
76
76
  */
77
77
  metadata: Metadata;
78
- /**
79
- * Details about the network used for the OutboundTransfer.
80
- */
81
- network_details?: OutboundTransfer.NetworkDetails | null;
82
78
  /**
83
79
  * Details about a returned OutboundTransfer. Only set when the status is `returned`.
84
80
  */
@@ -111,16 +107,6 @@ export declare namespace OutboundTransfer {
111
107
  type: DestinationPaymentMethodDetails.Type;
112
108
  us_bank_account?: DestinationPaymentMethodDetails.UsBankAccount;
113
109
  }
114
- interface NetworkDetails {
115
- /**
116
- * Details about an ACH transaction.
117
- */
118
- ach?: NetworkDetails.Ach | null;
119
- /**
120
- * The type of flow that originated the OutboundTransfer.
121
- */
122
- type: 'ach';
123
- }
124
110
  interface ReturnedDetails {
125
111
  /**
126
112
  * Reason for the return.
@@ -221,14 +207,6 @@ export declare namespace OutboundTransfer {
221
207
  type Network = 'ach' | 'us_domestic_wire' | OtherString;
222
208
  }
223
209
  }
224
- namespace NetworkDetails {
225
- interface Ach {
226
- /**
227
- * ACH Addenda record
228
- */
229
- addenda: string | null;
230
- }
231
- }
232
210
  namespace ReturnedDetails {
233
211
  type Code = 'account_closed' | 'account_frozen' | 'bank_account_restricted' | 'bank_ownership_changed' | 'declined' | 'incorrect_account_holder_name' | 'invalid_account_number' | 'invalid_currency' | 'no_account' | 'other' | OtherString;
234
212
  }
@@ -294,10 +272,6 @@ export declare namespace Treasury {
294
272
  * 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`.
295
273
  */
296
274
  metadata?: MetadataParam;
297
- /**
298
- * Details about the network used for the OutboundTransfer.
299
- */
300
- network_details?: OutboundTransferCreateParams.NetworkDetails;
301
275
  /**
302
276
  * Statement descriptor to be shown on the receiving end of an OutboundTransfer. Maximum 10 characters for `ach` transfers or 140 characters for `us_domestic_wire` transfers. The default value is "transfer". Can only include -#.$&*, spaces, and alphanumeric characters.
303
277
  */
@@ -320,16 +294,6 @@ export declare namespace Treasury {
320
294
  */
321
295
  us_bank_account?: Emptyable<DestinationPaymentMethodOptions.UsBankAccount>;
322
296
  }
323
- interface NetworkDetails {
324
- /**
325
- * Optional fields for `ach`.
326
- */
327
- ach?: NetworkDetails.Ach;
328
- /**
329
- * The type of flow that originated the OutboundTransfer.
330
- */
331
- type: 'ach';
332
- }
333
297
  namespace DestinationPaymentMethodOptions {
334
298
  interface UsBankAccount {
335
299
  /**
@@ -341,14 +305,6 @@ export declare namespace Treasury {
341
305
  type Network = 'ach' | 'us_domestic_wire' | OtherString;
342
306
  }
343
307
  }
344
- namespace NetworkDetails {
345
- interface Ach {
346
- /**
347
- * Addenda record data associated with this OutboundTransfer.
348
- */
349
- addenda?: string;
350
- }
351
- }
352
308
  }
353
309
  }
354
310
  export declare namespace Treasury {
@@ -63,10 +63,6 @@ export interface ReceivedCredit {
63
63
  * The rails used to send the funds.
64
64
  */
65
65
  network: ReceivedCredit.Network;
66
- /**
67
- * Details specific to the money movement rails.
68
- */
69
- network_details?: ReceivedCredit.NetworkDetails | null;
70
66
  /**
71
67
  * Details describing when a ReceivedCredit may be reversed.
72
68
  */
@@ -90,7 +86,7 @@ export declare namespace ReceivedCredit {
90
86
  billing_details: InitiatingPaymentMethodDetails.BillingDetails;
91
87
  financial_account?: InitiatingPaymentMethodDetails.FinancialAccount;
92
88
  /**
93
- * Set when `type` is `issuing_card`. This is an [Issuing Card](https://api.stripe.com#issuing_cards) ID.
89
+ * Set when `type` is `issuing_card`. This is an [Issuing Card](https://docs.stripe.com/api#issuing_cards) ID.
94
90
  */
95
91
  issuing_card?: string;
96
92
  /**
@@ -105,11 +101,11 @@ export declare namespace ReceivedCredit {
105
101
  */
106
102
  credit_reversal: string | null;
107
103
  /**
108
- * Set if the ReceivedCredit was created due to an [Issuing Authorization](https://api.stripe.com#issuing_authorizations) object.
104
+ * Set if the ReceivedCredit was created due to an [Issuing Authorization](https://docs.stripe.com/api#issuing_authorizations) object.
109
105
  */
110
106
  issuing_authorization: string | null;
111
107
  /**
112
- * Set if the ReceivedCredit is also viewable as an [Issuing transaction](https://api.stripe.com#issuing_transactions) object.
108
+ * Set if the ReceivedCredit is also viewable as an [Issuing transaction](https://docs.stripe.com/api#issuing_transactions) object.
113
109
  */
114
110
  issuing_transaction: string | null;
115
111
  /**
@@ -125,17 +121,7 @@ export declare namespace ReceivedCredit {
125
121
  */
126
122
  source_flow_type: string | null;
127
123
  }
128
- type Network = 'ach' | 'card' | 'stripe' | 'us_domestic_wire' | OtherString;
129
- interface NetworkDetails {
130
- /**
131
- * Details about an ACH transaction.
132
- */
133
- ach?: NetworkDetails.Ach | null;
134
- /**
135
- * The type of flow that originated the ReceivedCredit.
136
- */
137
- type: 'ach';
138
- }
124
+ type Network = 'ach' | 'card' | 'rtp' | 'stripe' | 'us_domestic_wire' | OtherString;
139
125
  interface ReversalDetails {
140
126
  /**
141
127
  * Time before which a ReceivedCredit can be reversed.
@@ -188,11 +174,11 @@ export declare namespace ReceivedCredit {
188
174
  namespace LinkedFlows {
189
175
  interface SourceFlowDetails {
190
176
  /**
191
- * You can reverse some [ReceivedCredits](https://api.stripe.com#received_credits) depending on their network and source flow. Reversing a ReceivedCredit leads to the creation of a new object known as a CreditReversal.
177
+ * You can reverse some [ReceivedCredits](https://docs.stripe.com/api#received_credits) depending on their network and source flow. Reversing a ReceivedCredit leads to the creation of a new object known as a CreditReversal.
192
178
  */
193
179
  credit_reversal?: CreditReversal;
194
180
  /**
195
- * Use [OutboundPayments](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) to send funds to another party's external bank account or [FinancialAccount](https://api.stripe.com#financial_accounts). To send money to an account belonging to the same user, use an [OutboundTransfer](https://api.stripe.com#outbound_transfers).
181
+ * Use [OutboundPayments](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) to send funds to another party's external bank account or [FinancialAccount](https://docs.stripe.com/api#financial_accounts). To send money to an account belonging to the same user, use an [OutboundTransfer](https://docs.stripe.com/api#outbound_transfers).
196
182
  *
197
183
  * Simulate OutboundPayment state changes with the `/v1/test_helpers/treasury/outbound_payments` endpoints. These methods can only be called on test mode objects.
198
184
  *
@@ -200,7 +186,7 @@ export declare namespace ReceivedCredit {
200
186
  */
201
187
  outbound_payment?: OutboundPayment;
202
188
  /**
203
- * Use [OutboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) to transfer funds from a [FinancialAccount](https://api.stripe.com#financial_accounts) to a PaymentMethod belonging to the same entity. To send funds to a different party, use [OutboundPayments](https://api.stripe.com#outbound_payments) instead. You can send funds over ACH rails or through a domestic wire transfer to a user's own external bank account.
189
+ * Use [OutboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) to transfer funds from a [FinancialAccount](https://docs.stripe.com/api#financial_accounts) to a PaymentMethod belonging to the same entity. To send funds to a different party, use [OutboundPayments](https://docs.stripe.com/api#outbound_payments) instead. You can send funds over ACH rails or through a domestic wire transfer to a user's own external bank account.
204
190
  *
205
191
  * Simulate OutboundTransfer state changes with the `/v1/test_helpers/treasury/outbound_transfers` endpoints. These methods can only be called on test mode objects.
206
192
  *
@@ -227,14 +213,6 @@ export declare namespace ReceivedCredit {
227
213
  type Type = 'credit_reversal' | 'other' | 'outbound_payment' | 'outbound_transfer' | 'payout' | OtherString;
228
214
  }
229
215
  }
230
- namespace NetworkDetails {
231
- interface Ach {
232
- /**
233
- * ACH Addenda record
234
- */
235
- addenda: string | null;
236
- }
237
- }
238
216
  namespace ReversalDetails {
239
217
  type RestrictedReason = 'already_reversed' | 'deadline_passed' | 'network_restricted' | 'other' | 'source_flow_restricted' | OtherString;
240
218
  }
@@ -59,10 +59,6 @@ export interface ReceivedDebit {
59
59
  * The network used for the ReceivedDebit.
60
60
  */
61
61
  network: ReceivedDebit.Network;
62
- /**
63
- * Details specific to the money movement rails.
64
- */
65
- network_details?: ReceivedDebit.NetworkDetails | null;
66
62
  /**
67
63
  * Details describing when a ReceivedDebit might be reversed.
68
64
  */
@@ -86,7 +82,7 @@ export declare namespace ReceivedDebit {
86
82
  billing_details: InitiatingPaymentMethodDetails.BillingDetails;
87
83
  financial_account?: InitiatingPaymentMethodDetails.FinancialAccount;
88
84
  /**
89
- * Set when `type` is `issuing_card`. This is an [Issuing Card](https://api.stripe.com#issuing_cards) ID.
85
+ * Set when `type` is `issuing_card`. This is an [Issuing Card](https://docs.stripe.com/api#issuing_cards) ID.
90
86
  */
91
87
  issuing_card?: string;
92
88
  /**
@@ -105,37 +101,23 @@ export declare namespace ReceivedDebit {
105
101
  */
106
102
  inbound_transfer: string | null;
107
103
  /**
108
- * Set if the ReceivedDebit was created due to an [Issuing Authorization](https://api.stripe.com#issuing_authorizations) object.
104
+ * Set if the ReceivedDebit was created due to an [Issuing Authorization](https://docs.stripe.com/api#issuing_authorizations) object.
109
105
  */
110
106
  issuing_authorization: string | null;
111
107
  /**
112
- * Set if the ReceivedDebit is also viewable as an [Issuing Dispute](https://api.stripe.com#issuing_disputes) object.
108
+ * Set if the ReceivedDebit is also viewable as an [Issuing Dispute](https://docs.stripe.com/api#issuing_disputes) object.
113
109
  */
114
110
  issuing_transaction: string | null;
115
111
  /**
116
- * Set if the ReceivedDebit was created due to a [Payout](https://api.stripe.com#payouts) object.
112
+ * Set if the ReceivedDebit was created due to a [Payout](https://docs.stripe.com/api#payouts) object.
117
113
  */
118
114
  payout: string | null;
119
115
  /**
120
- * The ReceivedCredit that Capital withheld from
121
- */
122
- received_credit_capital_withholding?: string | null;
123
- /**
124
- * Set if the ReceivedDebit was created due to a [Topup](https://api.stripe.com#topups) object.
116
+ * Set if the ReceivedDebit was created due to a [Topup](https://docs.stripe.com/api#topups) object.
125
117
  */
126
118
  topup: string | null;
127
119
  }
128
120
  type Network = 'ach' | 'card' | 'stripe' | OtherString;
129
- interface NetworkDetails {
130
- /**
131
- * Details about an ACH transaction.
132
- */
133
- ach?: NetworkDetails.Ach | null;
134
- /**
135
- * The type of flow that originated the ReceivedDebit.
136
- */
137
- type: 'ach';
138
- }
139
121
  interface ReversalDetails {
140
122
  /**
141
123
  * Time before which a ReceivedDebit can be reversed.
@@ -185,14 +167,6 @@ export declare namespace ReceivedDebit {
185
167
  routing_number: string | null;
186
168
  }
187
169
  }
188
- namespace NetworkDetails {
189
- interface Ach {
190
- /**
191
- * ACH Addenda record
192
- */
193
- addenda: string | null;
194
- }
195
- }
196
170
  namespace ReversalDetails {
197
171
  type RestrictedReason = 'already_reversed' | 'deadline_passed' | 'network_restricted' | 'other' | 'source_flow_restricted' | OtherString;
198
172
  }