stripe 21.1.0-beta.2 → 22.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1895) hide show
  1. package/CHANGELOG.md +99 -1664
  2. package/README.md +65 -57
  3. package/VERSION +1 -1
  4. package/cjs/Decimal.d.ts +532 -0
  5. package/cjs/Decimal.js +1 -0
  6. package/cjs/Decimal.js.map +1 -0
  7. package/cjs/Error.d.ts +163 -0
  8. package/cjs/Error.js +3 -115
  9. package/cjs/Error.js.map +1 -0
  10. package/cjs/RequestSender.d.ts +59 -0
  11. package/cjs/RequestSender.js +29 -38
  12. package/cjs/RequestSender.js.map +1 -0
  13. package/cjs/ResourceNamespace.d.ts +6 -0
  14. package/cjs/ResourceNamespace.js +1 -0
  15. package/cjs/ResourceNamespace.js.map +1 -0
  16. package/cjs/StripeContext.d.ts +32 -0
  17. package/cjs/StripeContext.js +1 -0
  18. package/cjs/StripeContext.js.map +1 -0
  19. package/cjs/StripeEmitter.d.ts +23 -0
  20. package/cjs/StripeEmitter.js +1 -0
  21. package/cjs/StripeEmitter.js.map +1 -0
  22. package/cjs/StripeResource.d.ts +18 -0
  23. package/cjs/StripeResource.js +64 -155
  24. package/cjs/StripeResource.js.map +1 -0
  25. package/cjs/Types.d.ts +188 -0
  26. package/cjs/Types.js +10 -0
  27. package/cjs/Types.js.map +1 -0
  28. package/cjs/V2Coercion.d.ts +17 -0
  29. package/cjs/V2Coercion.js +1 -0
  30. package/cjs/V2Coercion.js.map +1 -0
  31. package/cjs/Webhooks.d.ts +37 -0
  32. package/cjs/Webhooks.js +10 -7
  33. package/cjs/Webhooks.js.map +1 -0
  34. package/cjs/apiVersion.d.ts +2 -0
  35. package/cjs/apiVersion.js +4 -2
  36. package/cjs/apiVersion.js.map +1 -0
  37. package/cjs/autoPagination.d.ts +25 -0
  38. package/cjs/autoPagination.js +36 -28
  39. package/cjs/autoPagination.js.map +1 -0
  40. package/cjs/crypto/CryptoProvider.d.ts +44 -0
  41. package/cjs/crypto/CryptoProvider.js +5 -0
  42. package/cjs/crypto/CryptoProvider.js.map +1 -0
  43. package/cjs/crypto/NodeCryptoProvider.d.ts +12 -0
  44. package/cjs/crypto/NodeCryptoProvider.js +1 -0
  45. package/cjs/crypto/NodeCryptoProvider.js.map +1 -0
  46. package/cjs/crypto/SubtleCryptoProvider.d.ts +16 -0
  47. package/cjs/crypto/SubtleCryptoProvider.js +1 -0
  48. package/cjs/crypto/SubtleCryptoProvider.js.map +1 -0
  49. package/cjs/lib.d.ts +267 -0
  50. package/cjs/lib.js +3 -0
  51. package/cjs/lib.js.map +1 -0
  52. package/cjs/multipart.d.ts +5 -0
  53. package/cjs/multipart.js +1 -0
  54. package/cjs/multipart.js.map +1 -0
  55. package/cjs/net/FetchHttpClient.d.ts +27 -0
  56. package/cjs/net/FetchHttpClient.js +5 -1
  57. package/cjs/net/FetchHttpClient.js.map +1 -0
  58. package/cjs/net/HttpClient.d.ts +63 -0
  59. package/cjs/net/HttpClient.js +1 -0
  60. package/cjs/net/HttpClient.js.map +1 -0
  61. package/cjs/net/NodeHttpClient.d.ts +24 -0
  62. package/cjs/net/NodeHttpClient.js +1 -0
  63. package/cjs/net/NodeHttpClient.js.map +1 -0
  64. package/cjs/platform/NodePlatformFunctions.d.ts +33 -0
  65. package/cjs/platform/NodePlatformFunctions.js +1 -0
  66. package/cjs/platform/NodePlatformFunctions.js.map +1 -0
  67. package/cjs/platform/PlatformFunctions.d.ts +64 -0
  68. package/cjs/platform/PlatformFunctions.js +1 -0
  69. package/cjs/platform/PlatformFunctions.js.map +1 -0
  70. package/cjs/platform/WebPlatformFunctions.d.ts +22 -0
  71. package/cjs/platform/WebPlatformFunctions.js +1 -0
  72. package/cjs/platform/WebPlatformFunctions.js.map +1 -0
  73. package/cjs/resources/AccountLinks.d.ts +76 -0
  74. package/cjs/resources/AccountLinks.js +11 -5
  75. package/cjs/resources/AccountLinks.js.map +1 -0
  76. package/cjs/resources/AccountSessions.d.ts +1015 -0
  77. package/cjs/resources/AccountSessions.js +11 -5
  78. package/cjs/resources/AccountSessions.js.map +1 -0
  79. package/cjs/resources/Accounts.d.ts +5196 -0
  80. package/cjs/resources/Accounts.js +174 -108
  81. package/cjs/resources/Accounts.js.map +1 -0
  82. package/cjs/resources/ApplePayDomains.d.ts +80 -0
  83. package/cjs/resources/ApplePayDomains.js +31 -18
  84. package/cjs/resources/ApplePayDomains.js.map +1 -0
  85. package/cjs/resources/ApplicationFees.d.ts +181 -0
  86. package/cjs/resources/ApplicationFees.js +55 -30
  87. package/cjs/resources/ApplicationFees.js.map +1 -0
  88. package/cjs/resources/Applications.d.ts +36 -0
  89. package/cjs/resources/Applications.js +4 -0
  90. package/cjs/resources/Applications.js.map +1 -0
  91. package/cjs/resources/Apps/Secrets.d.ts +201 -0
  92. package/cjs/resources/Apps/Secrets.js +31 -15
  93. package/cjs/resources/Apps/Secrets.js.map +1 -0
  94. package/cjs/resources/Apps/index.d.ts +15 -0
  95. package/cjs/resources/Apps/index.js +13 -0
  96. package/cjs/resources/Apps/index.js.map +1 -0
  97. package/cjs/resources/Balance.d.ts +285 -0
  98. package/cjs/resources/Balance.js +12 -5
  99. package/cjs/resources/Balance.js.map +1 -0
  100. package/cjs/resources/BalanceSettings.d.ts +164 -0
  101. package/cjs/resources/BalanceSettings.js +19 -6
  102. package/cjs/resources/BalanceSettings.js.map +1 -0
  103. package/cjs/resources/BalanceTransactionSources.d.ts +15 -0
  104. package/cjs/resources/BalanceTransactionSources.js +4 -0
  105. package/cjs/resources/BalanceTransactionSources.js.map +1 -0
  106. package/cjs/resources/BalanceTransactions.d.ts +142 -0
  107. package/cjs/resources/BalanceTransactions.js +23 -13
  108. package/cjs/resources/BalanceTransactions.js.map +1 -0
  109. package/cjs/resources/BankAccounts.d.ts +182 -0
  110. package/cjs/resources/BankAccounts.js +4 -0
  111. package/cjs/resources/BankAccounts.js.map +1 -0
  112. package/cjs/resources/Billing/AlertTriggereds.d.ts +27 -0
  113. package/cjs/resources/Billing/AlertTriggereds.js +4 -0
  114. package/cjs/resources/Billing/AlertTriggereds.js.map +1 -0
  115. package/cjs/resources/Billing/Alerts.d.ts +193 -0
  116. package/cjs/resources/Billing/Alerts.js +43 -23
  117. package/cjs/resources/Billing/Alerts.js.map +1 -0
  118. package/cjs/resources/Billing/CreditBalanceSummary.d.ts +142 -0
  119. package/cjs/resources/Billing/CreditBalanceSummary.js +11 -8
  120. package/cjs/resources/Billing/CreditBalanceSummary.js.map +1 -0
  121. package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +183 -0
  122. package/cjs/resources/Billing/CreditBalanceTransactions.js +19 -13
  123. package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -0
  124. package/cjs/resources/Billing/CreditGrants.d.ts +300 -0
  125. package/cjs/resources/Billing/CreditGrants.js +43 -26
  126. package/cjs/resources/Billing/CreditGrants.js.map +1 -0
  127. package/cjs/resources/Billing/MeterEventAdjustments.d.ts +73 -0
  128. package/cjs/resources/Billing/MeterEventAdjustments.js +11 -8
  129. package/cjs/resources/Billing/MeterEventAdjustments.js.map +1 -0
  130. package/cjs/resources/Billing/MeterEventSummaries.d.ts +30 -0
  131. package/cjs/resources/Billing/MeterEventSummaries.js +4 -0
  132. package/cjs/resources/Billing/MeterEventSummaries.js.map +1 -0
  133. package/cjs/resources/Billing/MeterEvents.d.ts +66 -0
  134. package/cjs/resources/Billing/MeterEvents.js +11 -5
  135. package/cjs/resources/Billing/MeterEvents.js.map +1 -0
  136. package/cjs/resources/Billing/Meters.d.ts +251 -0
  137. package/cjs/resources/Billing/Meters.js +51 -25
  138. package/cjs/resources/Billing/Meters.js.map +1 -0
  139. package/cjs/resources/Billing/index.d.ts +65 -0
  140. package/cjs/resources/Billing/index.js +25 -0
  141. package/cjs/resources/Billing/index.js.map +1 -0
  142. package/cjs/resources/BillingPortal/Configurations.d.ts +728 -0
  143. package/cjs/resources/BillingPortal/Configurations.js +31 -21
  144. package/cjs/resources/BillingPortal/Configurations.js.map +1 -0
  145. package/cjs/resources/BillingPortal/Sessions.d.ts +360 -0
  146. package/cjs/resources/BillingPortal/Sessions.js +11 -8
  147. package/cjs/resources/BillingPortal/Sessions.js.map +1 -0
  148. package/cjs/resources/BillingPortal/index.d.ts +20 -0
  149. package/cjs/resources/BillingPortal/index.js +15 -0
  150. package/cjs/resources/BillingPortal/index.js.map +1 -0
  151. package/cjs/resources/Capabilities.d.ts +160 -0
  152. package/cjs/resources/Capabilities.js +4 -0
  153. package/cjs/resources/Capabilities.js.map +1 -0
  154. package/cjs/resources/Cards.d.ts +170 -0
  155. package/cjs/resources/Cards.js +4 -0
  156. package/cjs/resources/Cards.js.map +1 -0
  157. package/cjs/resources/CashBalances.d.ts +40 -0
  158. package/cjs/resources/CashBalances.js +4 -0
  159. package/cjs/resources/CashBalances.js.map +1 -0
  160. package/cjs/resources/Charges.d.ts +2287 -0
  161. package/cjs/resources/Charges.js +54 -21
  162. package/cjs/resources/Charges.js.map +1 -0
  163. package/cjs/resources/Checkout/Sessions.d.ts +4888 -0
  164. package/cjs/resources/Checkout/Sessions.js +442 -407
  165. package/cjs/resources/Checkout/Sessions.js.map +1 -0
  166. package/cjs/resources/Checkout/index.d.ts +17 -0
  167. package/cjs/resources/Checkout/index.js +13 -0
  168. package/cjs/resources/Checkout/index.js.map +1 -0
  169. package/cjs/resources/Climate/Orders.d.ts +265 -0
  170. package/cjs/resources/Climate/Orders.js +75 -54
  171. package/cjs/resources/Climate/Orders.js.map +1 -0
  172. package/cjs/resources/Climate/Products.d.ts +90 -0
  173. package/cjs/resources/Climate/Products.js +33 -26
  174. package/cjs/resources/Climate/Products.js.map +1 -0
  175. package/cjs/resources/Climate/Suppliers.d.ts +86 -0
  176. package/cjs/resources/Climate/Suppliers.js +19 -13
  177. package/cjs/resources/Climate/Suppliers.js.map +1 -0
  178. package/cjs/resources/Climate/index.d.ts +28 -0
  179. package/cjs/resources/Climate/index.js +17 -0
  180. package/cjs/resources/Climate/index.js.map +1 -0
  181. package/cjs/resources/ConfirmationTokens.d.ts +1212 -0
  182. package/cjs/resources/ConfirmationTokens.js +11 -8
  183. package/cjs/resources/ConfirmationTokens.js.map +1 -0
  184. package/cjs/resources/ConnectCollectionTransfers.d.ts +27 -0
  185. package/cjs/resources/ConnectCollectionTransfers.js +4 -0
  186. package/cjs/resources/ConnectCollectionTransfers.js.map +1 -0
  187. package/cjs/resources/CountrySpecs.d.ts +86 -0
  188. package/cjs/resources/CountrySpecs.js +19 -13
  189. package/cjs/resources/CountrySpecs.js.map +1 -0
  190. package/cjs/resources/Coupons.d.ts +246 -0
  191. package/cjs/resources/Coupons.js +39 -13
  192. package/cjs/resources/Coupons.js.map +1 -0
  193. package/cjs/resources/CreditNoteLineItems.d.ts +140 -0
  194. package/cjs/resources/CreditNoteLineItems.js +4 -0
  195. package/cjs/resources/CreditNoteLineItems.js.map +1 -0
  196. package/cjs/resources/CreditNotes.d.ts +873 -0
  197. package/cjs/resources/CreditNotes.js +225 -202
  198. package/cjs/resources/CreditNotes.js.map +1 -0
  199. package/cjs/resources/CustomerBalanceTransactions.d.ts +70 -0
  200. package/cjs/resources/CustomerBalanceTransactions.js +4 -0
  201. package/cjs/resources/CustomerBalanceTransactions.js.map +1 -0
  202. package/cjs/resources/CustomerCashBalanceTransactions.d.ts +166 -0
  203. package/cjs/resources/CustomerCashBalanceTransactions.js +4 -0
  204. package/cjs/resources/CustomerCashBalanceTransactions.js.map +1 -0
  205. package/cjs/resources/CustomerSessions.d.ts +403 -0
  206. package/cjs/resources/CustomerSessions.js +11 -5
  207. package/cjs/resources/CustomerSessions.js.map +1 -0
  208. package/cjs/resources/CustomerSources.d.ts +6 -0
  209. package/cjs/resources/CustomerSources.js +4 -0
  210. package/cjs/resources/CustomerSources.js.map +1 -0
  211. package/cjs/resources/Customers.d.ts +1115 -0
  212. package/cjs/resources/Customers.js +543 -475
  213. package/cjs/resources/Customers.js.map +1 -0
  214. package/cjs/resources/Discounts.d.ts +133 -0
  215. package/cjs/resources/Discounts.js +4 -0
  216. package/cjs/resources/Discounts.js.map +1 -0
  217. package/cjs/resources/Disputes.d.ts +682 -0
  218. package/cjs/resources/Disputes.js +35 -15
  219. package/cjs/resources/Disputes.js.map +1 -0
  220. package/cjs/resources/Entitlements/ActiveEntitlementSummaries.d.ts +20 -0
  221. package/cjs/resources/Entitlements/ActiveEntitlementSummaries.js +4 -0
  222. package/cjs/resources/Entitlements/ActiveEntitlementSummaries.js.map +1 -0
  223. package/cjs/resources/Entitlements/ActiveEntitlements.d.ts +56 -0
  224. package/cjs/resources/Entitlements/ActiveEntitlements.js +19 -13
  225. package/cjs/resources/Entitlements/ActiveEntitlements.js.map +1 -0
  226. package/cjs/resources/Entitlements/Features.d.ts +115 -0
  227. package/cjs/resources/Entitlements/Features.js +31 -18
  228. package/cjs/resources/Entitlements/Features.js.map +1 -0
  229. package/cjs/resources/Entitlements/index.d.ts +24 -0
  230. package/cjs/resources/Entitlements/index.js +15 -0
  231. package/cjs/resources/Entitlements/index.js.map +1 -0
  232. package/cjs/resources/EphemeralKeys.d.ts +63 -0
  233. package/cjs/resources/EphemeralKeys.js +20 -14
  234. package/cjs/resources/EphemeralKeys.js.map +1 -0
  235. package/cjs/resources/Events.d.ts +3554 -0
  236. package/cjs/resources/Events.js +19 -10
  237. package/cjs/resources/Events.js.map +1 -0
  238. package/cjs/resources/ExchangeRates.d.ts +47 -0
  239. package/cjs/resources/ExchangeRates.js +25 -13
  240. package/cjs/resources/ExchangeRates.js.map +1 -0
  241. package/cjs/resources/ExternalAccounts.d.ts +4 -0
  242. package/cjs/resources/ExternalAccounts.js +1 -20
  243. package/cjs/resources/ExternalAccounts.js.map +1 -0
  244. package/cjs/resources/FeeRefunds.d.ts +37 -0
  245. package/cjs/resources/FeeRefunds.js +4 -0
  246. package/cjs/resources/FeeRefunds.js.map +1 -0
  247. package/cjs/resources/FileLinks.d.ts +116 -0
  248. package/cjs/resources/FileLinks.js +31 -12
  249. package/cjs/resources/FileLinks.js.map +1 -0
  250. package/cjs/resources/Files.d.ts +127 -0
  251. package/cjs/resources/Files.js +32 -20
  252. package/cjs/resources/Files.js.map +1 -0
  253. package/cjs/resources/FinancialConnections/AccountOwners.d.ts +34 -0
  254. package/cjs/resources/FinancialConnections/AccountOwners.js +4 -0
  255. package/cjs/resources/FinancialConnections/AccountOwners.js.map +1 -0
  256. package/cjs/resources/FinancialConnections/AccountOwnerships.d.ts +20 -0
  257. package/cjs/resources/FinancialConnections/AccountOwnerships.js +4 -0
  258. package/cjs/resources/FinancialConnections/AccountOwnerships.js.map +1 -0
  259. package/cjs/resources/FinancialConnections/Accounts.d.ts +383 -0
  260. package/cjs/resources/FinancialConnections/Accounts.js +51 -39
  261. package/cjs/resources/FinancialConnections/Accounts.js.map +1 -0
  262. package/cjs/resources/FinancialConnections/Sessions.d.ts +166 -0
  263. package/cjs/resources/FinancialConnections/Sessions.js +17 -12
  264. package/cjs/resources/FinancialConnections/Sessions.js.map +1 -0
  265. package/cjs/resources/FinancialConnections/Transactions.d.ts +111 -0
  266. package/cjs/resources/FinancialConnections/Transactions.js +19 -13
  267. package/cjs/resources/FinancialConnections/Transactions.js.map +1 -0
  268. package/cjs/resources/FinancialConnections/index.d.ts +36 -0
  269. package/cjs/resources/FinancialConnections/index.js +17 -0
  270. package/cjs/resources/FinancialConnections/index.js.map +1 -0
  271. package/cjs/resources/Forwarding/Requests.d.ts +203 -0
  272. package/cjs/resources/Forwarding/Requests.js +25 -14
  273. package/cjs/resources/Forwarding/Requests.js.map +1 -0
  274. package/cjs/resources/Forwarding/index.d.ts +14 -0
  275. package/cjs/resources/Forwarding/index.js +13 -0
  276. package/cjs/resources/Forwarding/index.js.map +1 -0
  277. package/cjs/resources/FundingInstructions.d.ts +213 -0
  278. package/cjs/resources/FundingInstructions.js +4 -0
  279. package/cjs/resources/FundingInstructions.js.map +1 -0
  280. package/cjs/resources/Identity/VerificationReports.d.ts +414 -0
  281. package/cjs/resources/Identity/VerificationReports.js +19 -13
  282. package/cjs/resources/Identity/VerificationReports.js.map +1 -0
  283. package/cjs/resources/Identity/VerificationSessions.d.ts +532 -0
  284. package/cjs/resources/Identity/VerificationSessions.js +75 -29
  285. package/cjs/resources/Identity/VerificationSessions.js.map +1 -0
  286. package/cjs/resources/Identity/index.d.ts +23 -0
  287. package/cjs/resources/Identity/index.js +15 -0
  288. package/cjs/resources/Identity/index.js.map +1 -0
  289. package/cjs/resources/InvoiceItems.d.ts +506 -0
  290. package/cjs/resources/InvoiceItems.js +119 -104
  291. package/cjs/resources/InvoiceItems.js.map +1 -0
  292. package/cjs/resources/InvoiceLineItems.d.ts +280 -0
  293. package/cjs/resources/InvoiceLineItems.js +4 -0
  294. package/cjs/resources/InvoiceLineItems.js.map +1 -0
  295. package/cjs/resources/InvoicePayments.d.ts +142 -0
  296. package/cjs/resources/InvoicePayments.js +19 -13
  297. package/cjs/resources/InvoicePayments.js.map +1 -0
  298. package/cjs/resources/InvoiceRenderingTemplates.d.ts +87 -0
  299. package/cjs/resources/InvoiceRenderingTemplates.js +31 -21
  300. package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -0
  301. package/cjs/resources/Invoices.d.ts +4024 -0
  302. package/cjs/resources/Invoices.js +660 -635
  303. package/cjs/resources/Invoices.js.map +1 -0
  304. package/cjs/resources/Issuing/Authorizations.d.ts +606 -0
  305. package/cjs/resources/Issuing/Authorizations.js +673 -645
  306. package/cjs/resources/Issuing/Authorizations.js.map +1 -0
  307. package/cjs/resources/Issuing/Cardholders.d.ts +718 -0
  308. package/cjs/resources/Issuing/Cardholders.js +31 -18
  309. package/cjs/resources/Issuing/Cardholders.js.map +1 -0
  310. package/cjs/resources/Issuing/Cards.d.ts +764 -0
  311. package/cjs/resources/Issuing/Cards.js +31 -12
  312. package/cjs/resources/Issuing/Cards.js.map +1 -0
  313. package/cjs/resources/Issuing/Disputes.d.ts +862 -0
  314. package/cjs/resources/Issuing/Disputes.js +37 -22
  315. package/cjs/resources/Issuing/Disputes.js.map +1 -0
  316. package/cjs/resources/Issuing/PersonalizationDesigns.d.ts +291 -0
  317. package/cjs/resources/Issuing/PersonalizationDesigns.js +31 -21
  318. package/cjs/resources/Issuing/PersonalizationDesigns.js.map +1 -0
  319. package/cjs/resources/Issuing/PhysicalBundles.d.ts +93 -0
  320. package/cjs/resources/Issuing/PhysicalBundles.js +19 -13
  321. package/cjs/resources/Issuing/PhysicalBundles.js.map +1 -0
  322. package/cjs/resources/Issuing/Tokens.d.ts +250 -0
  323. package/cjs/resources/Issuing/Tokens.js +25 -17
  324. package/cjs/resources/Issuing/Tokens.js.map +1 -0
  325. package/cjs/resources/Issuing/Transactions.d.ts +451 -0
  326. package/cjs/resources/Issuing/Transactions.js +221 -211
  327. package/cjs/resources/Issuing/Transactions.js.map +1 -0
  328. package/cjs/resources/Issuing/index.d.ts +69 -0
  329. package/cjs/resources/Issuing/index.js +27 -0
  330. package/cjs/resources/Issuing/index.js.map +1 -0
  331. package/cjs/resources/LineItems.d.ts +101 -0
  332. package/cjs/resources/LineItems.js +4 -0
  333. package/cjs/resources/LineItems.js.map +1 -0
  334. package/cjs/resources/LoginLinks.d.ts +14 -0
  335. package/cjs/resources/LoginLinks.js +4 -0
  336. package/cjs/resources/LoginLinks.js.map +1 -0
  337. package/cjs/resources/Mandates.d.ts +279 -0
  338. package/cjs/resources/Mandates.js +11 -10
  339. package/cjs/resources/Mandates.js.map +1 -0
  340. package/cjs/resources/OAuth.d.ts +280 -0
  341. package/cjs/resources/OAuth.js +24 -22
  342. package/cjs/resources/OAuth.js.map +1 -0
  343. package/cjs/resources/PaymentAttemptRecords.d.ts +1809 -0
  344. package/cjs/resources/PaymentAttemptRecords.js +19 -13
  345. package/cjs/resources/PaymentAttemptRecords.js.map +1 -0
  346. package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +93 -0
  347. package/cjs/resources/PaymentIntentAmountDetailsLineItems.js +4 -0
  348. package/cjs/resources/PaymentIntentAmountDetailsLineItems.js.map +1 -0
  349. package/cjs/resources/PaymentIntents.d.ts +11040 -0
  350. package/cjs/resources/PaymentIntents.js +165 -60
  351. package/cjs/resources/PaymentIntents.js.map +1 -0
  352. package/cjs/resources/PaymentLinks.d.ts +2041 -0
  353. package/cjs/resources/PaymentLinks.js +328 -312
  354. package/cjs/resources/PaymentLinks.js.map +1 -0
  355. package/cjs/resources/PaymentMethodConfigurations.d.ts +4039 -0
  356. package/cjs/resources/PaymentMethodConfigurations.js +31 -21
  357. package/cjs/resources/PaymentMethodConfigurations.js.map +1 -0
  358. package/cjs/resources/PaymentMethodDomains.d.ts +246 -0
  359. package/cjs/resources/PaymentMethodDomains.js +42 -25
  360. package/cjs/resources/PaymentMethodDomains.js.map +1 -0
  361. package/cjs/resources/PaymentMethods.d.ts +1920 -0
  362. package/cjs/resources/PaymentMethods.js +57 -26
  363. package/cjs/resources/PaymentMethods.js.map +1 -0
  364. package/cjs/resources/PaymentRecords.d.ts +2279 -0
  365. package/cjs/resources/PaymentRecords.js +60 -33
  366. package/cjs/resources/PaymentRecords.js.map +1 -0
  367. package/cjs/resources/Payouts.d.ts +262 -0
  368. package/cjs/resources/Payouts.js +49 -20
  369. package/cjs/resources/Payouts.js.map +1 -0
  370. package/cjs/resources/Persons.d.ts +474 -0
  371. package/cjs/resources/Persons.js +4 -0
  372. package/cjs/resources/Persons.js.map +1 -0
  373. package/cjs/resources/Plans.d.ts +363 -0
  374. package/cjs/resources/Plans.js +130 -112
  375. package/cjs/resources/Plans.js.map +1 -0
  376. package/cjs/resources/Prices.d.ts +721 -0
  377. package/cjs/resources/Prices.js +296 -277
  378. package/cjs/resources/Prices.js.map +1 -0
  379. package/cjs/resources/ProductFeatures.d.ts +38 -0
  380. package/cjs/resources/ProductFeatures.js +4 -0
  381. package/cjs/resources/ProductFeatures.js.map +1 -0
  382. package/cjs/resources/Products.d.ts +575 -0
  383. package/cjs/resources/Products.js +96 -59
  384. package/cjs/resources/Products.js.map +1 -0
  385. package/cjs/resources/PromotionCodes.d.ts +271 -0
  386. package/cjs/resources/PromotionCodes.js +31 -46
  387. package/cjs/resources/PromotionCodes.js.map +1 -0
  388. package/cjs/resources/Quotes.d.ts +1202 -0
  389. package/cjs/resources/Quotes.js +599 -1691
  390. package/cjs/resources/Quotes.js.map +1 -0
  391. package/cjs/resources/Radar/EarlyFraudWarnings.d.ts +79 -0
  392. package/cjs/resources/Radar/EarlyFraudWarnings.js +21 -13
  393. package/cjs/resources/Radar/EarlyFraudWarnings.js.map +1 -0
  394. package/cjs/resources/Radar/PaymentEvaluations.d.ts +581 -0
  395. package/cjs/resources/Radar/PaymentEvaluations.js +11 -8
  396. package/cjs/resources/Radar/PaymentEvaluations.js.map +1 -0
  397. package/cjs/resources/Radar/ValueListItems.d.ts +119 -0
  398. package/cjs/resources/Radar/ValueListItems.js +31 -21
  399. package/cjs/resources/Radar/ValueListItems.js.map +1 -0
  400. package/cjs/resources/Radar/ValueLists.d.ts +170 -0
  401. package/cjs/resources/Radar/ValueLists.js +37 -22
  402. package/cjs/resources/Radar/ValueLists.js.map +1 -0
  403. package/cjs/resources/Radar/index.d.ts +35 -0
  404. package/cjs/resources/Radar/index.js +19 -0
  405. package/cjs/resources/Radar/index.js.map +1 -0
  406. package/cjs/resources/Refunds.d.ts +502 -0
  407. package/cjs/resources/Refunds.js +51 -16
  408. package/cjs/resources/Refunds.js.map +1 -0
  409. package/cjs/resources/Reporting/ReportRuns.d.ts +176 -0
  410. package/cjs/resources/Reporting/ReportRuns.js +25 -14
  411. package/cjs/resources/Reporting/ReportRuns.js.map +1 -0
  412. package/cjs/resources/Reporting/ReportTypes.d.ts +66 -0
  413. package/cjs/resources/Reporting/ReportTypes.js +19 -13
  414. package/cjs/resources/Reporting/ReportTypes.js.map +1 -0
  415. package/cjs/resources/Reporting/index.d.ts +20 -0
  416. package/cjs/resources/Reporting/index.js +15 -0
  417. package/cjs/resources/Reporting/index.js.map +1 -0
  418. package/cjs/resources/Reserve/Holds.d.ts +79 -0
  419. package/cjs/resources/Reserve/Holds.js +1 -11
  420. package/cjs/resources/Reserve/Holds.js.map +1 -0
  421. package/cjs/resources/Reserve/Plans.d.ts +76 -0
  422. package/cjs/resources/Reserve/Plans.js +1 -6
  423. package/cjs/resources/Reserve/Plans.js.map +1 -0
  424. package/cjs/resources/Reserve/Releases.d.ts +79 -0
  425. package/cjs/resources/Reserve/Releases.js +1 -14
  426. package/cjs/resources/Reserve/Releases.js.map +1 -0
  427. package/cjs/resources/Reserve/index.d.ts +13 -0
  428. package/cjs/resources/Reserve/index.js +9 -0
  429. package/cjs/resources/Reserve/index.js.map +1 -0
  430. package/cjs/resources/ReserveTransactions.d.ts +19 -0
  431. package/cjs/resources/ReserveTransactions.js +4 -0
  432. package/cjs/resources/ReserveTransactions.js.map +1 -0
  433. package/cjs/resources/Reviews.d.ts +143 -0
  434. package/cjs/resources/Reviews.js +25 -14
  435. package/cjs/resources/Reviews.js.map +1 -0
  436. package/cjs/resources/SetupAttempts.d.ts +535 -0
  437. package/cjs/resources/SetupAttempts.js +13 -9
  438. package/cjs/resources/SetupAttempts.js.map +1 -0
  439. package/cjs/resources/SetupIntents.d.ts +4266 -0
  440. package/cjs/resources/SetupIntents.js +71 -30
  441. package/cjs/resources/SetupIntents.js.map +1 -0
  442. package/cjs/resources/ShippingRates.d.ts +319 -0
  443. package/cjs/resources/ShippingRates.js +31 -18
  444. package/cjs/resources/ShippingRates.js.map +1 -0
  445. package/cjs/resources/Sigma/ScheduledQueryRuns.d.ts +83 -0
  446. package/cjs/resources/Sigma/ScheduledQueryRuns.js +19 -13
  447. package/cjs/resources/Sigma/ScheduledQueryRuns.js.map +1 -0
  448. package/cjs/resources/Sigma/index.d.ts +13 -0
  449. package/cjs/resources/Sigma/index.js +13 -0
  450. package/cjs/resources/Sigma/index.js.map +1 -0
  451. package/cjs/resources/SourceMandateNotifications.d.ts +79 -0
  452. package/cjs/resources/SourceMandateNotifications.js +4 -0
  453. package/cjs/resources/SourceMandateNotifications.js.map +1 -0
  454. package/cjs/resources/SourceTransactions.d.ts +140 -0
  455. package/cjs/resources/SourceTransactions.js +4 -0
  456. package/cjs/resources/SourceTransactions.js.map +1 -0
  457. package/cjs/resources/Sources.d.ts +918 -0
  458. package/cjs/resources/Sources.js +39 -16
  459. package/cjs/resources/Sources.js.map +1 -0
  460. package/cjs/resources/SubscriptionItems.d.ts +417 -0
  461. package/cjs/resources/SubscriptionItems.js +330 -306
  462. package/cjs/resources/SubscriptionItems.js.map +1 -0
  463. package/cjs/resources/SubscriptionSchedules.d.ts +1777 -0
  464. package/cjs/resources/SubscriptionSchedules.js +105 -127
  465. package/cjs/resources/SubscriptionSchedules.js.map +1 -0
  466. package/cjs/resources/Subscriptions.d.ts +2313 -0
  467. package/cjs/resources/Subscriptions.js +749 -718
  468. package/cjs/resources/Subscriptions.js.map +1 -0
  469. package/cjs/resources/Tax/Associations.d.ts +75 -0
  470. package/cjs/resources/Tax/Associations.js +11 -5
  471. package/cjs/resources/Tax/Associations.js.map +1 -0
  472. package/cjs/resources/Tax/CalculationLineItems.d.ts +121 -0
  473. package/cjs/resources/Tax/CalculationLineItems.js +4 -0
  474. package/cjs/resources/Tax/CalculationLineItems.js.map +1 -0
  475. package/cjs/resources/Tax/Calculations.d.ts +487 -0
  476. package/cjs/resources/Tax/Calculations.js +25 -14
  477. package/cjs/resources/Tax/Calculations.js.map +1 -0
  478. package/cjs/resources/Tax/Registrations.d.ts +3300 -0
  479. package/cjs/resources/Tax/Registrations.js +33 -18
  480. package/cjs/resources/Tax/Registrations.js.map +1 -0
  481. package/cjs/resources/Tax/Settings.d.ts +118 -0
  482. package/cjs/resources/Tax/Settings.js +17 -6
  483. package/cjs/resources/Tax/Settings.js.map +1 -0
  484. package/cjs/resources/Tax/TransactionLineItems.d.ts +67 -0
  485. package/cjs/resources/Tax/TransactionLineItems.js +4 -0
  486. package/cjs/resources/Tax/TransactionLineItems.js.map +1 -0
  487. package/cjs/resources/Tax/Transactions.d.ts +347 -0
  488. package/cjs/resources/Tax/Transactions.js +31 -21
  489. package/cjs/resources/Tax/Transactions.js.map +1 -0
  490. package/cjs/resources/Tax/index.d.ts +47 -0
  491. package/cjs/resources/Tax/index.js +21 -0
  492. package/cjs/resources/Tax/index.js.map +1 -0
  493. package/cjs/resources/TaxCodes.d.ts +43 -0
  494. package/cjs/resources/TaxCodes.js +19 -10
  495. package/cjs/resources/TaxCodes.js.map +1 -0
  496. package/cjs/resources/TaxDeductedAtSources.d.ts +22 -0
  497. package/cjs/resources/TaxDeductedAtSources.js +4 -0
  498. package/cjs/resources/TaxDeductedAtSources.js.map +1 -0
  499. package/cjs/resources/TaxIds.d.ts +216 -0
  500. package/cjs/resources/TaxIds.js +31 -12
  501. package/cjs/resources/TaxIds.js.map +1 -0
  502. package/cjs/resources/TaxRates.d.ts +226 -0
  503. package/cjs/resources/TaxRates.js +31 -12
  504. package/cjs/resources/TaxRates.js.map +1 -0
  505. package/cjs/resources/Terminal/Configurations.d.ts +1655 -0
  506. package/cjs/resources/Terminal/Configurations.js +37 -25
  507. package/cjs/resources/Terminal/Configurations.js.map +1 -0
  508. package/cjs/resources/Terminal/ConnectionTokens.d.ts +34 -0
  509. package/cjs/resources/Terminal/ConnectionTokens.js +11 -8
  510. package/cjs/resources/Terminal/ConnectionTokens.js.map +1 -0
  511. package/cjs/resources/Terminal/Locations.d.ts +285 -0
  512. package/cjs/resources/Terminal/Locations.js +38 -22
  513. package/cjs/resources/Terminal/Locations.js.map +1 -0
  514. package/cjs/resources/Terminal/OnboardingLinks.d.ts +89 -0
  515. package/cjs/resources/Terminal/OnboardingLinks.js +11 -8
  516. package/cjs/resources/Terminal/OnboardingLinks.js.map +1 -0
  517. package/cjs/resources/Terminal/Readers.d.ts +1013 -0
  518. package/cjs/resources/Terminal/Readers.js +85 -54
  519. package/cjs/resources/Terminal/Readers.js.map +1 -0
  520. package/cjs/resources/Terminal/index.d.ts +52 -0
  521. package/cjs/resources/Terminal/index.js +21 -0
  522. package/cjs/resources/Terminal/index.js.map +1 -0
  523. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +651 -0
  524. package/cjs/resources/TestHelpers/ConfirmationTokens.js +11 -8
  525. package/cjs/resources/TestHelpers/ConfirmationTokens.js.map +1 -0
  526. package/cjs/resources/TestHelpers/Customers.d.ts +29 -0
  527. package/cjs/resources/TestHelpers/Customers.js +11 -8
  528. package/cjs/resources/TestHelpers/Customers.js.map +1 -0
  529. package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +806 -0
  530. package/cjs/resources/TestHelpers/Issuing/Authorizations.js +980 -954
  531. package/cjs/resources/TestHelpers/Issuing/Authorizations.js.map +1 -0
  532. package/cjs/resources/TestHelpers/Issuing/Cards.d.ts +75 -0
  533. package/cjs/resources/TestHelpers/Issuing/Cards.js +35 -24
  534. package/cjs/resources/TestHelpers/Issuing/Cards.js.map +1 -0
  535. package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.d.ts +67 -0
  536. package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.js +23 -16
  537. package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -0
  538. package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +582 -0
  539. package/cjs/resources/TestHelpers/Issuing/Transactions.js +291 -273
  540. package/cjs/resources/TestHelpers/Issuing/Transactions.js.map +1 -0
  541. package/cjs/resources/TestHelpers/Issuing/index.d.ts +14 -0
  542. package/cjs/resources/TestHelpers/Issuing/index.js +19 -0
  543. package/cjs/resources/TestHelpers/Issuing/index.js.map +1 -0
  544. package/cjs/resources/TestHelpers/Refunds.d.ts +17 -0
  545. package/cjs/resources/TestHelpers/Refunds.js +11 -8
  546. package/cjs/resources/TestHelpers/Refunds.js.map +1 -0
  547. package/cjs/resources/TestHelpers/Terminal/Readers.d.ts +107 -0
  548. package/cjs/resources/TestHelpers/Terminal/Readers.js +23 -16
  549. package/cjs/resources/TestHelpers/Terminal/Readers.js.map +1 -0
  550. package/cjs/resources/TestHelpers/Terminal/index.d.ts +8 -0
  551. package/cjs/resources/TestHelpers/Terminal/index.js +13 -0
  552. package/cjs/resources/TestHelpers/Terminal/index.js.map +1 -0
  553. package/cjs/resources/TestHelpers/TestClocks.d.ts +142 -0
  554. package/cjs/resources/TestHelpers/TestClocks.js +37 -25
  555. package/cjs/resources/TestHelpers/TestClocks.js.map +1 -0
  556. package/cjs/resources/TestHelpers/Treasury/InboundTransfers.d.ts +62 -0
  557. package/cjs/resources/TestHelpers/Treasury/InboundTransfers.js +23 -16
  558. package/cjs/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -0
  559. package/cjs/resources/TestHelpers/Treasury/OutboundPayments.d.ts +119 -0
  560. package/cjs/resources/TestHelpers/Treasury/OutboundPayments.js +29 -20
  561. package/cjs/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -0
  562. package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.d.ts +119 -0
  563. package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.js +29 -20
  564. package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -0
  565. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +72 -0
  566. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.js +11 -8
  567. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.js.map +1 -0
  568. package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +71 -0
  569. package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.js +11 -8
  570. package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.js.map +1 -0
  571. package/cjs/resources/TestHelpers/Treasury/index.d.ts +16 -0
  572. package/cjs/resources/TestHelpers/Treasury/index.js +21 -0
  573. package/cjs/resources/TestHelpers/Treasury/index.js.map +1 -0
  574. package/cjs/resources/TestHelpers/index.d.ts +31 -0
  575. package/cjs/resources/TestHelpers/index.js +25 -0
  576. package/cjs/resources/TestHelpers/index.js.map +1 -0
  577. package/cjs/resources/Tokens.d.ts +874 -0
  578. package/cjs/resources/Tokens.js +18 -6
  579. package/cjs/resources/Tokens.js.map +1 -0
  580. package/cjs/resources/Topups.d.ts +177 -0
  581. package/cjs/resources/Topups.js +37 -13
  582. package/cjs/resources/Topups.js.map +1 -0
  583. package/cjs/resources/TransferReversals.d.ts +46 -0
  584. package/cjs/resources/TransferReversals.js +4 -0
  585. package/cjs/resources/TransferReversals.js.map +1 -0
  586. package/cjs/resources/Transfers.d.ts +242 -0
  587. package/cjs/resources/Transfers.js +65 -29
  588. package/cjs/resources/Transfers.js.map +1 -0
  589. package/cjs/resources/Treasury/CreditReversals.d.ts +132 -0
  590. package/cjs/resources/Treasury/CreditReversals.js +25 -17
  591. package/cjs/resources/Treasury/CreditReversals.js.map +1 -0
  592. package/cjs/resources/Treasury/DebitReversals.d.ts +147 -0
  593. package/cjs/resources/Treasury/DebitReversals.js +25 -17
  594. package/cjs/resources/Treasury/DebitReversals.js.map +1 -0
  595. package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +402 -0
  596. package/cjs/resources/Treasury/FinancialAccountFeatures.js +4 -0
  597. package/cjs/resources/Treasury/FinancialAccountFeatures.js.map +1 -0
  598. package/cjs/resources/Treasury/FinancialAccounts.d.ts +756 -0
  599. package/cjs/resources/Treasury/FinancialAccounts.js +49 -33
  600. package/cjs/resources/Treasury/FinancialAccounts.js.map +1 -0
  601. package/cjs/resources/Treasury/InboundTransfers.d.ts +263 -0
  602. package/cjs/resources/Treasury/InboundTransfers.js +31 -21
  603. package/cjs/resources/Treasury/InboundTransfers.js.map +1 -0
  604. package/cjs/resources/Treasury/OutboundPayments.d.ts +452 -0
  605. package/cjs/resources/Treasury/OutboundPayments.js +31 -21
  606. package/cjs/resources/Treasury/OutboundPayments.js.map +1 -0
  607. package/cjs/resources/Treasury/OutboundTransfers.d.ts +346 -0
  608. package/cjs/resources/Treasury/OutboundTransfers.js +31 -21
  609. package/cjs/resources/Treasury/OutboundTransfers.js.map +1 -0
  610. package/cjs/resources/Treasury/ReceivedCredits.d.ts +261 -0
  611. package/cjs/resources/Treasury/ReceivedCredits.js +19 -13
  612. package/cjs/resources/Treasury/ReceivedCredits.js.map +1 -0
  613. package/cjs/resources/Treasury/ReceivedDebits.d.ts +202 -0
  614. package/cjs/resources/Treasury/ReceivedDebits.js +19 -13
  615. package/cjs/resources/Treasury/ReceivedDebits.js.map +1 -0
  616. package/cjs/resources/Treasury/TransactionEntries.d.ts +187 -0
  617. package/cjs/resources/Treasury/TransactionEntries.js +315 -306
  618. package/cjs/resources/Treasury/TransactionEntries.js.map +1 -0
  619. package/cjs/resources/Treasury/Transactions.d.ts +212 -0
  620. package/cjs/resources/Treasury/Transactions.js +349 -342
  621. package/cjs/resources/Treasury/Transactions.js.map +1 -0
  622. package/cjs/resources/Treasury/index.d.ts +83 -0
  623. package/cjs/resources/Treasury/index.js +31 -0
  624. package/cjs/resources/Treasury/index.js.map +1 -0
  625. package/cjs/resources/V2/Billing/MeterEventAdjustments.d.ts +81 -0
  626. package/cjs/resources/V2/Billing/MeterEventAdjustments.js +11 -8
  627. package/cjs/resources/V2/Billing/MeterEventAdjustments.js.map +1 -0
  628. package/cjs/resources/V2/Billing/MeterEventSession.d.ts +41 -0
  629. package/cjs/resources/V2/Billing/MeterEventSession.js +11 -8
  630. package/cjs/resources/V2/Billing/MeterEventSession.js.map +1 -0
  631. package/cjs/resources/V2/Billing/MeterEventStream.d.ts +48 -0
  632. package/cjs/resources/V2/Billing/MeterEventStream.js +14 -9
  633. package/cjs/resources/V2/Billing/MeterEventStream.js.map +1 -0
  634. package/cjs/resources/V2/Billing/MeterEvents.d.ts +75 -0
  635. package/cjs/resources/V2/Billing/MeterEvents.js +11 -5
  636. package/cjs/resources/V2/Billing/MeterEvents.js.map +1 -0
  637. package/cjs/resources/V2/Billing/index.d.ts +24 -0
  638. package/cjs/resources/V2/Billing/index.js +19 -0
  639. package/cjs/resources/V2/Billing/index.js.map +1 -0
  640. package/cjs/resources/V2/Core/AccountLinks.d.ts +235 -0
  641. package/cjs/resources/V2/Core/AccountLinks.js +12 -5
  642. package/cjs/resources/V2/Core/AccountLinks.js.map +1 -0
  643. package/cjs/resources/V2/Core/AccountPersonTokens.d.ts +26 -0
  644. package/cjs/resources/V2/Core/AccountPersonTokens.js +4 -0
  645. package/cjs/resources/V2/Core/AccountPersonTokens.js.map +1 -0
  646. package/cjs/resources/V2/Core/AccountPersons.d.ts +473 -0
  647. package/cjs/resources/V2/Core/AccountPersons.js +4 -0
  648. package/cjs/resources/V2/Core/AccountPersons.js.map +1 -0
  649. package/cjs/resources/V2/Core/AccountTokens.d.ts +778 -0
  650. package/cjs/resources/V2/Core/AccountTokens.js +33 -25
  651. package/cjs/resources/V2/Core/AccountTokens.js.map +1 -0
  652. package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +378 -0
  653. package/cjs/resources/V2/Core/Accounts/PersonTokens.js +27 -19
  654. package/cjs/resources/V2/Core/Accounts/PersonTokens.js.map +1 -0
  655. package/cjs/resources/V2/Core/Accounts/Persons.d.ts +884 -0
  656. package/cjs/resources/V2/Core/Accounts/Persons.js +93 -73
  657. package/cjs/resources/V2/Core/Accounts/Persons.js.map +1 -0
  658. package/cjs/resources/V2/Core/Accounts.d.ts +6951 -0
  659. package/cjs/resources/V2/Core/Accounts.js +142 -120
  660. package/cjs/resources/V2/Core/Accounts.js.map +1 -0
  661. package/cjs/resources/V2/Core/EventDestinations.d.ts +327 -0
  662. package/cjs/resources/V2/Core/EventDestinations.js +55 -37
  663. package/cjs/resources/V2/Core/EventDestinations.js.map +1 -0
  664. package/cjs/resources/V2/Core/Events.d.ts +650 -0
  665. package/cjs/resources/V2/Core/Events.js +31 -39
  666. package/cjs/resources/V2/Core/Events.js.map +1 -0
  667. package/cjs/resources/V2/Core/index.d.ts +51 -0
  668. package/cjs/resources/V2/Core/index.js +21 -0
  669. package/cjs/resources/V2/Core/index.js.map +1 -0
  670. package/cjs/resources/V2/DeletedObject.d.ts +10 -0
  671. package/cjs/resources/V2/DeletedObject.js +4 -0
  672. package/cjs/resources/V2/DeletedObject.js.map +1 -0
  673. package/cjs/resources/V2/V2Amounts.d.ts +4 -0
  674. package/cjs/resources/V2/V2Amounts.js +3 -0
  675. package/cjs/resources/V2/V2Amounts.js.map +1 -0
  676. package/cjs/resources/V2/index.d.ts +16 -0
  677. package/cjs/resources/V2/index.js +15 -0
  678. package/cjs/resources/V2/index.js.map +1 -0
  679. package/cjs/resources/WebhookEndpoints.d.ts +170 -0
  680. package/cjs/resources/WebhookEndpoints.js +37 -22
  681. package/cjs/resources/WebhookEndpoints.js.map +1 -0
  682. package/cjs/resources.d.ts +76 -0
  683. package/cjs/resources.js +152 -253
  684. package/cjs/resources.js.map +1 -0
  685. package/cjs/shared.d.ts +152 -0
  686. package/cjs/shared.js +6 -0
  687. package/cjs/shared.js.map +1 -0
  688. package/cjs/stripe.cjs.node.d.ts +9 -0
  689. package/cjs/stripe.cjs.node.js +30 -10
  690. package/cjs/stripe.cjs.node.js.map +1 -0
  691. package/cjs/stripe.cjs.worker.d.ts +6 -0
  692. package/cjs/stripe.cjs.worker.js +30 -10
  693. package/cjs/stripe.cjs.worker.js.map +1 -0
  694. package/cjs/stripe.core.d.ts +441 -0
  695. package/cjs/stripe.core.js +475 -325
  696. package/cjs/stripe.core.js.map +1 -0
  697. package/cjs/utils.d.ts +74 -0
  698. package/cjs/utils.js +57 -130
  699. package/cjs/utils.js.map +1 -0
  700. package/esm/Decimal.d.ts +532 -0
  701. package/esm/Decimal.js +1 -0
  702. package/esm/Decimal.js.map +1 -0
  703. package/esm/Error.d.ts +163 -0
  704. package/esm/Error.js +2 -100
  705. package/esm/Error.js.map +1 -0
  706. package/esm/RequestSender.d.ts +59 -0
  707. package/esm/RequestSender.js +30 -39
  708. package/esm/RequestSender.js.map +1 -0
  709. package/esm/ResourceNamespace.d.ts +6 -0
  710. package/esm/ResourceNamespace.js +1 -0
  711. package/esm/ResourceNamespace.js.map +1 -0
  712. package/esm/StripeContext.d.ts +32 -0
  713. package/esm/StripeContext.js +1 -0
  714. package/esm/StripeContext.js.map +1 -0
  715. package/esm/StripeEmitter.d.ts +23 -0
  716. package/esm/StripeEmitter.js +1 -0
  717. package/esm/StripeEmitter.js.map +1 -0
  718. package/esm/StripeResource.d.ts +18 -0
  719. package/esm/StripeResource.js +64 -155
  720. package/esm/StripeResource.js.map +1 -0
  721. package/esm/Types.d.ts +188 -0
  722. package/esm/Types.js +7 -0
  723. package/esm/Types.js.map +1 -0
  724. package/esm/V2Coercion.d.ts +17 -0
  725. package/esm/V2Coercion.js +1 -0
  726. package/esm/V2Coercion.js.map +1 -0
  727. package/esm/Webhooks.d.ts +37 -0
  728. package/esm/Webhooks.js +10 -7
  729. package/esm/Webhooks.js.map +1 -0
  730. package/esm/apiVersion.d.ts +2 -0
  731. package/esm/apiVersion.js +3 -1
  732. package/esm/apiVersion.js.map +1 -0
  733. package/esm/autoPagination.d.ts +25 -0
  734. package/esm/autoPagination.js +37 -29
  735. package/esm/autoPagination.js.map +1 -0
  736. package/esm/crypto/CryptoProvider.d.ts +44 -0
  737. package/esm/crypto/CryptoProvider.js +5 -0
  738. package/esm/crypto/CryptoProvider.js.map +1 -0
  739. package/esm/crypto/NodeCryptoProvider.d.ts +12 -0
  740. package/esm/crypto/NodeCryptoProvider.js +1 -0
  741. package/esm/crypto/NodeCryptoProvider.js.map +1 -0
  742. package/esm/crypto/SubtleCryptoProvider.d.ts +16 -0
  743. package/esm/crypto/SubtleCryptoProvider.js +1 -0
  744. package/esm/crypto/SubtleCryptoProvider.js.map +1 -0
  745. package/esm/lib.d.ts +267 -0
  746. package/esm/lib.js +2 -0
  747. package/esm/lib.js.map +1 -0
  748. package/esm/multipart.d.ts +5 -0
  749. package/esm/multipart.js +1 -0
  750. package/esm/multipart.js.map +1 -0
  751. package/esm/net/FetchHttpClient.d.ts +27 -0
  752. package/esm/net/FetchHttpClient.js +5 -1
  753. package/esm/net/FetchHttpClient.js.map +1 -0
  754. package/esm/net/HttpClient.d.ts +63 -0
  755. package/esm/net/HttpClient.js +1 -0
  756. package/esm/net/HttpClient.js.map +1 -0
  757. package/esm/net/NodeHttpClient.d.ts +24 -0
  758. package/esm/net/NodeHttpClient.js +1 -0
  759. package/esm/net/NodeHttpClient.js.map +1 -0
  760. package/esm/platform/NodePlatformFunctions.d.ts +33 -0
  761. package/esm/platform/NodePlatformFunctions.js +1 -0
  762. package/esm/platform/NodePlatformFunctions.js.map +1 -0
  763. package/esm/platform/PlatformFunctions.d.ts +64 -0
  764. package/esm/platform/PlatformFunctions.js +1 -0
  765. package/esm/platform/PlatformFunctions.js.map +1 -0
  766. package/esm/platform/WebPlatformFunctions.d.ts +22 -0
  767. package/esm/platform/WebPlatformFunctions.js +1 -0
  768. package/esm/platform/WebPlatformFunctions.js.map +1 -0
  769. package/esm/resources/AccountLinks.d.ts +76 -0
  770. package/esm/resources/AccountLinks.js +9 -4
  771. package/esm/resources/AccountLinks.js.map +1 -0
  772. package/esm/resources/AccountSessions.d.ts +1015 -0
  773. package/esm/resources/AccountSessions.js +9 -4
  774. package/esm/resources/AccountSessions.js.map +1 -0
  775. package/esm/resources/Accounts.d.ts +5196 -0
  776. package/esm/resources/Accounts.js +172 -107
  777. package/esm/resources/Accounts.js.map +1 -0
  778. package/esm/resources/ApplePayDomains.d.ts +80 -0
  779. package/esm/resources/ApplePayDomains.js +29 -17
  780. package/esm/resources/ApplePayDomains.js.map +1 -0
  781. package/esm/resources/ApplicationFees.d.ts +181 -0
  782. package/esm/resources/ApplicationFees.js +53 -29
  783. package/esm/resources/ApplicationFees.js.map +1 -0
  784. package/esm/resources/Applications.d.ts +36 -0
  785. package/esm/resources/Applications.js +3 -0
  786. package/esm/resources/Applications.js.map +1 -0
  787. package/esm/resources/Apps/Secrets.d.ts +201 -0
  788. package/esm/resources/Apps/Secrets.js +29 -14
  789. package/esm/resources/Apps/Secrets.js.map +1 -0
  790. package/esm/resources/Apps/index.d.ts +15 -0
  791. package/esm/resources/Apps/index.js +9 -0
  792. package/esm/resources/Apps/index.js.map +1 -0
  793. package/esm/resources/Balance.d.ts +285 -0
  794. package/esm/resources/Balance.js +10 -4
  795. package/esm/resources/Balance.js.map +1 -0
  796. package/esm/resources/BalanceSettings.d.ts +164 -0
  797. package/esm/resources/BalanceSettings.js +17 -5
  798. package/esm/resources/BalanceSettings.js.map +1 -0
  799. package/esm/resources/BalanceTransactionSources.d.ts +15 -0
  800. package/esm/resources/BalanceTransactionSources.js +3 -0
  801. package/esm/resources/BalanceTransactionSources.js.map +1 -0
  802. package/esm/resources/BalanceTransactions.d.ts +142 -0
  803. package/esm/resources/BalanceTransactions.js +21 -12
  804. package/esm/resources/BalanceTransactions.js.map +1 -0
  805. package/esm/resources/BankAccounts.d.ts +182 -0
  806. package/esm/resources/BankAccounts.js +3 -0
  807. package/esm/resources/BankAccounts.js.map +1 -0
  808. package/esm/resources/Billing/AlertTriggereds.d.ts +27 -0
  809. package/esm/resources/Billing/AlertTriggereds.js +3 -0
  810. package/esm/resources/Billing/AlertTriggereds.js.map +1 -0
  811. package/esm/resources/Billing/Alerts.d.ts +193 -0
  812. package/esm/resources/Billing/Alerts.js +41 -22
  813. package/esm/resources/Billing/Alerts.js.map +1 -0
  814. package/esm/resources/Billing/CreditBalanceSummary.d.ts +142 -0
  815. package/esm/resources/Billing/CreditBalanceSummary.js +9 -7
  816. package/esm/resources/Billing/CreditBalanceSummary.js.map +1 -0
  817. package/esm/resources/Billing/CreditBalanceTransactions.d.ts +183 -0
  818. package/esm/resources/Billing/CreditBalanceTransactions.js +17 -12
  819. package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -0
  820. package/esm/resources/Billing/CreditGrants.d.ts +300 -0
  821. package/esm/resources/Billing/CreditGrants.js +41 -25
  822. package/esm/resources/Billing/CreditGrants.js.map +1 -0
  823. package/esm/resources/Billing/MeterEventAdjustments.d.ts +73 -0
  824. package/esm/resources/Billing/MeterEventAdjustments.js +9 -7
  825. package/esm/resources/Billing/MeterEventAdjustments.js.map +1 -0
  826. package/esm/resources/Billing/MeterEventSummaries.d.ts +30 -0
  827. package/esm/resources/Billing/MeterEventSummaries.js +3 -0
  828. package/esm/resources/Billing/MeterEventSummaries.js.map +1 -0
  829. package/esm/resources/Billing/MeterEvents.d.ts +66 -0
  830. package/esm/resources/Billing/MeterEvents.js +9 -4
  831. package/esm/resources/Billing/MeterEvents.js.map +1 -0
  832. package/esm/resources/Billing/Meters.d.ts +251 -0
  833. package/esm/resources/Billing/Meters.js +49 -24
  834. package/esm/resources/Billing/Meters.js.map +1 -0
  835. package/esm/resources/Billing/index.d.ts +65 -0
  836. package/esm/resources/Billing/index.js +21 -0
  837. package/esm/resources/Billing/index.js.map +1 -0
  838. package/esm/resources/BillingPortal/Configurations.d.ts +728 -0
  839. package/esm/resources/BillingPortal/Configurations.js +29 -20
  840. package/esm/resources/BillingPortal/Configurations.js.map +1 -0
  841. package/esm/resources/BillingPortal/Sessions.d.ts +360 -0
  842. package/esm/resources/BillingPortal/Sessions.js +9 -7
  843. package/esm/resources/BillingPortal/Sessions.js.map +1 -0
  844. package/esm/resources/BillingPortal/index.d.ts +20 -0
  845. package/esm/resources/BillingPortal/index.js +11 -0
  846. package/esm/resources/BillingPortal/index.js.map +1 -0
  847. package/esm/resources/Capabilities.d.ts +160 -0
  848. package/esm/resources/Capabilities.js +3 -0
  849. package/esm/resources/Capabilities.js.map +1 -0
  850. package/esm/resources/Cards.d.ts +170 -0
  851. package/esm/resources/Cards.js +3 -0
  852. package/esm/resources/Cards.js.map +1 -0
  853. package/esm/resources/CashBalances.d.ts +40 -0
  854. package/esm/resources/CashBalances.js +3 -0
  855. package/esm/resources/CashBalances.js.map +1 -0
  856. package/esm/resources/Charges.d.ts +2287 -0
  857. package/esm/resources/Charges.js +52 -20
  858. package/esm/resources/Charges.js.map +1 -0
  859. package/esm/resources/Checkout/Sessions.d.ts +4888 -0
  860. package/esm/resources/Checkout/Sessions.js +440 -406
  861. package/esm/resources/Checkout/Sessions.js.map +1 -0
  862. package/esm/resources/Checkout/index.d.ts +17 -0
  863. package/esm/resources/Checkout/index.js +9 -0
  864. package/esm/resources/Checkout/index.js.map +1 -0
  865. package/esm/resources/Climate/Orders.d.ts +265 -0
  866. package/esm/resources/Climate/Orders.js +73 -53
  867. package/esm/resources/Climate/Orders.js.map +1 -0
  868. package/esm/resources/Climate/Products.d.ts +90 -0
  869. package/esm/resources/Climate/Products.js +31 -25
  870. package/esm/resources/Climate/Products.js.map +1 -0
  871. package/esm/resources/Climate/Suppliers.d.ts +86 -0
  872. package/esm/resources/Climate/Suppliers.js +17 -12
  873. package/esm/resources/Climate/Suppliers.js.map +1 -0
  874. package/esm/resources/Climate/index.d.ts +28 -0
  875. package/esm/resources/Climate/index.js +13 -0
  876. package/esm/resources/Climate/index.js.map +1 -0
  877. package/esm/resources/ConfirmationTokens.d.ts +1212 -0
  878. package/esm/resources/ConfirmationTokens.js +9 -7
  879. package/esm/resources/ConfirmationTokens.js.map +1 -0
  880. package/esm/resources/ConnectCollectionTransfers.d.ts +27 -0
  881. package/esm/resources/ConnectCollectionTransfers.js +3 -0
  882. package/esm/resources/ConnectCollectionTransfers.js.map +1 -0
  883. package/esm/resources/CountrySpecs.d.ts +86 -0
  884. package/esm/resources/CountrySpecs.js +17 -12
  885. package/esm/resources/CountrySpecs.js.map +1 -0
  886. package/esm/resources/Coupons.d.ts +246 -0
  887. package/esm/resources/Coupons.js +37 -12
  888. package/esm/resources/Coupons.js.map +1 -0
  889. package/esm/resources/CreditNoteLineItems.d.ts +140 -0
  890. package/esm/resources/CreditNoteLineItems.js +3 -0
  891. package/esm/resources/CreditNoteLineItems.js.map +1 -0
  892. package/esm/resources/CreditNotes.d.ts +873 -0
  893. package/esm/resources/CreditNotes.js +223 -201
  894. package/esm/resources/CreditNotes.js.map +1 -0
  895. package/esm/resources/CustomerBalanceTransactions.d.ts +70 -0
  896. package/esm/resources/CustomerBalanceTransactions.js +3 -0
  897. package/esm/resources/CustomerBalanceTransactions.js.map +1 -0
  898. package/esm/resources/CustomerCashBalanceTransactions.d.ts +166 -0
  899. package/esm/resources/CustomerCashBalanceTransactions.js +3 -0
  900. package/esm/resources/CustomerCashBalanceTransactions.js.map +1 -0
  901. package/esm/resources/CustomerSessions.d.ts +403 -0
  902. package/esm/resources/CustomerSessions.js +9 -4
  903. package/esm/resources/CustomerSessions.js.map +1 -0
  904. package/esm/resources/CustomerSources.d.ts +6 -0
  905. package/esm/resources/CustomerSources.js +3 -0
  906. package/esm/resources/CustomerSources.js.map +1 -0
  907. package/esm/resources/Customers.d.ts +1115 -0
  908. package/esm/resources/Customers.js +541 -474
  909. package/esm/resources/Customers.js.map +1 -0
  910. package/esm/resources/Discounts.d.ts +133 -0
  911. package/esm/resources/Discounts.js +3 -0
  912. package/esm/resources/Discounts.js.map +1 -0
  913. package/esm/resources/Disputes.d.ts +682 -0
  914. package/esm/resources/Disputes.js +33 -14
  915. package/esm/resources/Disputes.js.map +1 -0
  916. package/esm/resources/Entitlements/ActiveEntitlementSummaries.d.ts +20 -0
  917. package/esm/resources/Entitlements/ActiveEntitlementSummaries.js +3 -0
  918. package/esm/resources/Entitlements/ActiveEntitlementSummaries.js.map +1 -0
  919. package/esm/resources/Entitlements/ActiveEntitlements.d.ts +56 -0
  920. package/esm/resources/Entitlements/ActiveEntitlements.js +17 -12
  921. package/esm/resources/Entitlements/ActiveEntitlements.js.map +1 -0
  922. package/esm/resources/Entitlements/Features.d.ts +115 -0
  923. package/esm/resources/Entitlements/Features.js +29 -17
  924. package/esm/resources/Entitlements/Features.js.map +1 -0
  925. package/esm/resources/Entitlements/index.d.ts +24 -0
  926. package/esm/resources/Entitlements/index.js +11 -0
  927. package/esm/resources/Entitlements/index.js.map +1 -0
  928. package/esm/resources/EphemeralKeys.d.ts +63 -0
  929. package/esm/resources/EphemeralKeys.js +18 -13
  930. package/esm/resources/EphemeralKeys.js.map +1 -0
  931. package/esm/resources/Events.d.ts +3554 -0
  932. package/esm/resources/Events.js +17 -9
  933. package/esm/resources/Events.js.map +1 -0
  934. package/esm/resources/ExchangeRates.d.ts +47 -0
  935. package/esm/resources/ExchangeRates.js +23 -12
  936. package/esm/resources/ExchangeRates.js.map +1 -0
  937. package/esm/resources/ExternalAccounts.d.ts +4 -0
  938. package/esm/resources/ExternalAccounts.js +2 -19
  939. package/esm/resources/ExternalAccounts.js.map +1 -0
  940. package/esm/resources/FeeRefunds.d.ts +37 -0
  941. package/esm/resources/FeeRefunds.js +3 -0
  942. package/esm/resources/FeeRefunds.js.map +1 -0
  943. package/esm/resources/FileLinks.d.ts +116 -0
  944. package/esm/resources/FileLinks.js +29 -11
  945. package/esm/resources/FileLinks.js.map +1 -0
  946. package/esm/resources/Files.d.ts +127 -0
  947. package/esm/resources/Files.js +30 -19
  948. package/esm/resources/Files.js.map +1 -0
  949. package/esm/resources/FinancialConnections/AccountOwners.d.ts +34 -0
  950. package/esm/resources/FinancialConnections/AccountOwners.js +3 -0
  951. package/esm/resources/FinancialConnections/AccountOwners.js.map +1 -0
  952. package/esm/resources/FinancialConnections/AccountOwnerships.d.ts +20 -0
  953. package/esm/resources/FinancialConnections/AccountOwnerships.js +3 -0
  954. package/esm/resources/FinancialConnections/AccountOwnerships.js.map +1 -0
  955. package/esm/resources/FinancialConnections/Accounts.d.ts +383 -0
  956. package/esm/resources/FinancialConnections/Accounts.js +49 -38
  957. package/esm/resources/FinancialConnections/Accounts.js.map +1 -0
  958. package/esm/resources/FinancialConnections/Sessions.d.ts +166 -0
  959. package/esm/resources/FinancialConnections/Sessions.js +15 -11
  960. package/esm/resources/FinancialConnections/Sessions.js.map +1 -0
  961. package/esm/resources/FinancialConnections/Transactions.d.ts +111 -0
  962. package/esm/resources/FinancialConnections/Transactions.js +17 -12
  963. package/esm/resources/FinancialConnections/Transactions.js.map +1 -0
  964. package/esm/resources/FinancialConnections/index.d.ts +36 -0
  965. package/esm/resources/FinancialConnections/index.js +13 -0
  966. package/esm/resources/FinancialConnections/index.js.map +1 -0
  967. package/esm/resources/Forwarding/Requests.d.ts +203 -0
  968. package/esm/resources/Forwarding/Requests.js +23 -13
  969. package/esm/resources/Forwarding/Requests.js.map +1 -0
  970. package/esm/resources/Forwarding/index.d.ts +14 -0
  971. package/esm/resources/Forwarding/index.js +9 -0
  972. package/esm/resources/Forwarding/index.js.map +1 -0
  973. package/esm/resources/FundingInstructions.d.ts +213 -0
  974. package/esm/resources/FundingInstructions.js +3 -0
  975. package/esm/resources/FundingInstructions.js.map +1 -0
  976. package/esm/resources/Identity/VerificationReports.d.ts +414 -0
  977. package/esm/resources/Identity/VerificationReports.js +17 -12
  978. package/esm/resources/Identity/VerificationReports.js.map +1 -0
  979. package/esm/resources/Identity/VerificationSessions.d.ts +532 -0
  980. package/esm/resources/Identity/VerificationSessions.js +73 -28
  981. package/esm/resources/Identity/VerificationSessions.js.map +1 -0
  982. package/esm/resources/Identity/index.d.ts +23 -0
  983. package/esm/resources/Identity/index.js +11 -0
  984. package/esm/resources/Identity/index.js.map +1 -0
  985. package/esm/resources/InvoiceItems.d.ts +506 -0
  986. package/esm/resources/InvoiceItems.js +117 -103
  987. package/esm/resources/InvoiceItems.js.map +1 -0
  988. package/esm/resources/InvoiceLineItems.d.ts +280 -0
  989. package/esm/resources/InvoiceLineItems.js +3 -0
  990. package/esm/resources/InvoiceLineItems.js.map +1 -0
  991. package/esm/resources/InvoicePayments.d.ts +142 -0
  992. package/esm/resources/InvoicePayments.js +17 -12
  993. package/esm/resources/InvoicePayments.js.map +1 -0
  994. package/esm/resources/InvoiceRenderingTemplates.d.ts +87 -0
  995. package/esm/resources/InvoiceRenderingTemplates.js +29 -20
  996. package/esm/resources/InvoiceRenderingTemplates.js.map +1 -0
  997. package/esm/resources/Invoices.d.ts +4024 -0
  998. package/esm/resources/Invoices.js +658 -634
  999. package/esm/resources/Invoices.js.map +1 -0
  1000. package/esm/resources/Issuing/Authorizations.d.ts +606 -0
  1001. package/esm/resources/Issuing/Authorizations.js +671 -644
  1002. package/esm/resources/Issuing/Authorizations.js.map +1 -0
  1003. package/esm/resources/Issuing/Cardholders.d.ts +718 -0
  1004. package/esm/resources/Issuing/Cardholders.js +29 -17
  1005. package/esm/resources/Issuing/Cardholders.js.map +1 -0
  1006. package/esm/resources/Issuing/Cards.d.ts +764 -0
  1007. package/esm/resources/Issuing/Cards.js +29 -11
  1008. package/esm/resources/Issuing/Cards.js.map +1 -0
  1009. package/esm/resources/Issuing/Disputes.d.ts +862 -0
  1010. package/esm/resources/Issuing/Disputes.js +35 -21
  1011. package/esm/resources/Issuing/Disputes.js.map +1 -0
  1012. package/esm/resources/Issuing/PersonalizationDesigns.d.ts +291 -0
  1013. package/esm/resources/Issuing/PersonalizationDesigns.js +29 -20
  1014. package/esm/resources/Issuing/PersonalizationDesigns.js.map +1 -0
  1015. package/esm/resources/Issuing/PhysicalBundles.d.ts +93 -0
  1016. package/esm/resources/Issuing/PhysicalBundles.js +17 -12
  1017. package/esm/resources/Issuing/PhysicalBundles.js.map +1 -0
  1018. package/esm/resources/Issuing/Tokens.d.ts +250 -0
  1019. package/esm/resources/Issuing/Tokens.js +23 -16
  1020. package/esm/resources/Issuing/Tokens.js.map +1 -0
  1021. package/esm/resources/Issuing/Transactions.d.ts +451 -0
  1022. package/esm/resources/Issuing/Transactions.js +219 -210
  1023. package/esm/resources/Issuing/Transactions.js.map +1 -0
  1024. package/esm/resources/Issuing/index.d.ts +69 -0
  1025. package/esm/resources/Issuing/index.js +23 -0
  1026. package/esm/resources/Issuing/index.js.map +1 -0
  1027. package/esm/resources/LineItems.d.ts +101 -0
  1028. package/esm/resources/LineItems.js +3 -0
  1029. package/esm/resources/LineItems.js.map +1 -0
  1030. package/esm/resources/LoginLinks.d.ts +14 -0
  1031. package/esm/resources/LoginLinks.js +3 -0
  1032. package/esm/resources/LoginLinks.js.map +1 -0
  1033. package/esm/resources/Mandates.d.ts +279 -0
  1034. package/esm/resources/Mandates.js +9 -9
  1035. package/esm/resources/Mandates.js.map +1 -0
  1036. package/esm/resources/OAuth.d.ts +280 -0
  1037. package/esm/resources/OAuth.js +23 -22
  1038. package/esm/resources/OAuth.js.map +1 -0
  1039. package/esm/resources/PaymentAttemptRecords.d.ts +1809 -0
  1040. package/esm/resources/PaymentAttemptRecords.js +17 -12
  1041. package/esm/resources/PaymentAttemptRecords.js.map +1 -0
  1042. package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +93 -0
  1043. package/esm/resources/PaymentIntentAmountDetailsLineItems.js +3 -0
  1044. package/esm/resources/PaymentIntentAmountDetailsLineItems.js.map +1 -0
  1045. package/esm/resources/PaymentIntents.d.ts +11040 -0
  1046. package/esm/resources/PaymentIntents.js +163 -59
  1047. package/esm/resources/PaymentIntents.js.map +1 -0
  1048. package/esm/resources/PaymentLinks.d.ts +2041 -0
  1049. package/esm/resources/PaymentLinks.js +326 -311
  1050. package/esm/resources/PaymentLinks.js.map +1 -0
  1051. package/esm/resources/PaymentMethodConfigurations.d.ts +4039 -0
  1052. package/esm/resources/PaymentMethodConfigurations.js +29 -20
  1053. package/esm/resources/PaymentMethodConfigurations.js.map +1 -0
  1054. package/esm/resources/PaymentMethodDomains.d.ts +246 -0
  1055. package/esm/resources/PaymentMethodDomains.js +40 -24
  1056. package/esm/resources/PaymentMethodDomains.js.map +1 -0
  1057. package/esm/resources/PaymentMethods.d.ts +1920 -0
  1058. package/esm/resources/PaymentMethods.js +55 -25
  1059. package/esm/resources/PaymentMethods.js.map +1 -0
  1060. package/esm/resources/PaymentRecords.d.ts +2279 -0
  1061. package/esm/resources/PaymentRecords.js +58 -32
  1062. package/esm/resources/PaymentRecords.js.map +1 -0
  1063. package/esm/resources/Payouts.d.ts +262 -0
  1064. package/esm/resources/Payouts.js +47 -19
  1065. package/esm/resources/Payouts.js.map +1 -0
  1066. package/esm/resources/Persons.d.ts +474 -0
  1067. package/esm/resources/Persons.js +3 -0
  1068. package/esm/resources/Persons.js.map +1 -0
  1069. package/esm/resources/Plans.d.ts +363 -0
  1070. package/esm/resources/Plans.js +128 -111
  1071. package/esm/resources/Plans.js.map +1 -0
  1072. package/esm/resources/Prices.d.ts +721 -0
  1073. package/esm/resources/Prices.js +294 -276
  1074. package/esm/resources/Prices.js.map +1 -0
  1075. package/esm/resources/ProductFeatures.d.ts +38 -0
  1076. package/esm/resources/ProductFeatures.js +3 -0
  1077. package/esm/resources/ProductFeatures.js.map +1 -0
  1078. package/esm/resources/Products.d.ts +575 -0
  1079. package/esm/resources/Products.js +94 -58
  1080. package/esm/resources/Products.js.map +1 -0
  1081. package/esm/resources/PromotionCodes.d.ts +271 -0
  1082. package/esm/resources/PromotionCodes.js +29 -45
  1083. package/esm/resources/PromotionCodes.js.map +1 -0
  1084. package/esm/resources/Quotes.d.ts +1202 -0
  1085. package/esm/resources/Quotes.js +597 -1690
  1086. package/esm/resources/Quotes.js.map +1 -0
  1087. package/esm/resources/Radar/EarlyFraudWarnings.d.ts +79 -0
  1088. package/esm/resources/Radar/EarlyFraudWarnings.js +19 -12
  1089. package/esm/resources/Radar/EarlyFraudWarnings.js.map +1 -0
  1090. package/esm/resources/Radar/PaymentEvaluations.d.ts +581 -0
  1091. package/esm/resources/Radar/PaymentEvaluations.js +9 -7
  1092. package/esm/resources/Radar/PaymentEvaluations.js.map +1 -0
  1093. package/esm/resources/Radar/ValueListItems.d.ts +119 -0
  1094. package/esm/resources/Radar/ValueListItems.js +29 -20
  1095. package/esm/resources/Radar/ValueListItems.js.map +1 -0
  1096. package/esm/resources/Radar/ValueLists.d.ts +170 -0
  1097. package/esm/resources/Radar/ValueLists.js +35 -21
  1098. package/esm/resources/Radar/ValueLists.js.map +1 -0
  1099. package/esm/resources/Radar/index.d.ts +35 -0
  1100. package/esm/resources/Radar/index.js +15 -0
  1101. package/esm/resources/Radar/index.js.map +1 -0
  1102. package/esm/resources/Refunds.d.ts +502 -0
  1103. package/esm/resources/Refunds.js +49 -15
  1104. package/esm/resources/Refunds.js.map +1 -0
  1105. package/esm/resources/Reporting/ReportRuns.d.ts +176 -0
  1106. package/esm/resources/Reporting/ReportRuns.js +23 -13
  1107. package/esm/resources/Reporting/ReportRuns.js.map +1 -0
  1108. package/esm/resources/Reporting/ReportTypes.d.ts +66 -0
  1109. package/esm/resources/Reporting/ReportTypes.js +17 -12
  1110. package/esm/resources/Reporting/ReportTypes.js.map +1 -0
  1111. package/esm/resources/Reporting/index.d.ts +20 -0
  1112. package/esm/resources/Reporting/index.js +11 -0
  1113. package/esm/resources/Reporting/index.js.map +1 -0
  1114. package/esm/resources/Reserve/Holds.d.ts +79 -0
  1115. package/esm/resources/Reserve/Holds.js +2 -10
  1116. package/esm/resources/Reserve/Holds.js.map +1 -0
  1117. package/esm/resources/Reserve/Plans.d.ts +76 -0
  1118. package/esm/resources/Reserve/Plans.js +2 -5
  1119. package/esm/resources/Reserve/Plans.js.map +1 -0
  1120. package/esm/resources/Reserve/Releases.d.ts +79 -0
  1121. package/esm/resources/Reserve/Releases.js +2 -13
  1122. package/esm/resources/Reserve/Releases.js.map +1 -0
  1123. package/esm/resources/Reserve/index.d.ts +13 -0
  1124. package/esm/resources/Reserve/index.js +5 -0
  1125. package/esm/resources/Reserve/index.js.map +1 -0
  1126. package/esm/resources/ReserveTransactions.d.ts +19 -0
  1127. package/esm/resources/ReserveTransactions.js +3 -0
  1128. package/esm/resources/ReserveTransactions.js.map +1 -0
  1129. package/esm/resources/Reviews.d.ts +143 -0
  1130. package/esm/resources/Reviews.js +23 -13
  1131. package/esm/resources/Reviews.js.map +1 -0
  1132. package/esm/resources/SetupAttempts.d.ts +535 -0
  1133. package/esm/resources/SetupAttempts.js +11 -8
  1134. package/esm/resources/SetupAttempts.js.map +1 -0
  1135. package/esm/resources/SetupIntents.d.ts +4266 -0
  1136. package/esm/resources/SetupIntents.js +69 -29
  1137. package/esm/resources/SetupIntents.js.map +1 -0
  1138. package/esm/resources/ShippingRates.d.ts +319 -0
  1139. package/esm/resources/ShippingRates.js +29 -17
  1140. package/esm/resources/ShippingRates.js.map +1 -0
  1141. package/esm/resources/Sigma/ScheduledQueryRuns.d.ts +83 -0
  1142. package/esm/resources/Sigma/ScheduledQueryRuns.js +17 -12
  1143. package/esm/resources/Sigma/ScheduledQueryRuns.js.map +1 -0
  1144. package/esm/resources/Sigma/index.d.ts +13 -0
  1145. package/esm/resources/Sigma/index.js +9 -0
  1146. package/esm/resources/Sigma/index.js.map +1 -0
  1147. package/esm/resources/SourceMandateNotifications.d.ts +79 -0
  1148. package/esm/resources/SourceMandateNotifications.js +3 -0
  1149. package/esm/resources/SourceMandateNotifications.js.map +1 -0
  1150. package/esm/resources/SourceTransactions.d.ts +140 -0
  1151. package/esm/resources/SourceTransactions.js +3 -0
  1152. package/esm/resources/SourceTransactions.js.map +1 -0
  1153. package/esm/resources/Sources.d.ts +918 -0
  1154. package/esm/resources/Sources.js +37 -15
  1155. package/esm/resources/Sources.js.map +1 -0
  1156. package/esm/resources/SubscriptionItems.d.ts +417 -0
  1157. package/esm/resources/SubscriptionItems.js +328 -305
  1158. package/esm/resources/SubscriptionItems.js.map +1 -0
  1159. package/esm/resources/SubscriptionSchedules.d.ts +1777 -0
  1160. package/esm/resources/SubscriptionSchedules.js +103 -126
  1161. package/esm/resources/SubscriptionSchedules.js.map +1 -0
  1162. package/esm/resources/Subscriptions.d.ts +2313 -0
  1163. package/esm/resources/Subscriptions.js +747 -717
  1164. package/esm/resources/Subscriptions.js.map +1 -0
  1165. package/esm/resources/Tax/Associations.d.ts +75 -0
  1166. package/esm/resources/Tax/Associations.js +9 -4
  1167. package/esm/resources/Tax/Associations.js.map +1 -0
  1168. package/esm/resources/Tax/CalculationLineItems.d.ts +121 -0
  1169. package/esm/resources/Tax/CalculationLineItems.js +3 -0
  1170. package/esm/resources/Tax/CalculationLineItems.js.map +1 -0
  1171. package/esm/resources/Tax/Calculations.d.ts +487 -0
  1172. package/esm/resources/Tax/Calculations.js +23 -13
  1173. package/esm/resources/Tax/Calculations.js.map +1 -0
  1174. package/esm/resources/Tax/Registrations.d.ts +3300 -0
  1175. package/esm/resources/Tax/Registrations.js +31 -17
  1176. package/esm/resources/Tax/Registrations.js.map +1 -0
  1177. package/esm/resources/Tax/Settings.d.ts +118 -0
  1178. package/esm/resources/Tax/Settings.js +15 -5
  1179. package/esm/resources/Tax/Settings.js.map +1 -0
  1180. package/esm/resources/Tax/TransactionLineItems.d.ts +67 -0
  1181. package/esm/resources/Tax/TransactionLineItems.js +3 -0
  1182. package/esm/resources/Tax/TransactionLineItems.js.map +1 -0
  1183. package/esm/resources/Tax/Transactions.d.ts +347 -0
  1184. package/esm/resources/Tax/Transactions.js +29 -20
  1185. package/esm/resources/Tax/Transactions.js.map +1 -0
  1186. package/esm/resources/Tax/index.d.ts +47 -0
  1187. package/esm/resources/Tax/index.js +17 -0
  1188. package/esm/resources/Tax/index.js.map +1 -0
  1189. package/esm/resources/TaxCodes.d.ts +43 -0
  1190. package/esm/resources/TaxCodes.js +17 -9
  1191. package/esm/resources/TaxCodes.js.map +1 -0
  1192. package/esm/resources/TaxDeductedAtSources.d.ts +22 -0
  1193. package/esm/resources/TaxDeductedAtSources.js +3 -0
  1194. package/esm/resources/TaxDeductedAtSources.js.map +1 -0
  1195. package/esm/resources/TaxIds.d.ts +216 -0
  1196. package/esm/resources/TaxIds.js +29 -11
  1197. package/esm/resources/TaxIds.js.map +1 -0
  1198. package/esm/resources/TaxRates.d.ts +226 -0
  1199. package/esm/resources/TaxRates.js +29 -11
  1200. package/esm/resources/TaxRates.js.map +1 -0
  1201. package/esm/resources/Terminal/Configurations.d.ts +1655 -0
  1202. package/esm/resources/Terminal/Configurations.js +35 -24
  1203. package/esm/resources/Terminal/Configurations.js.map +1 -0
  1204. package/esm/resources/Terminal/ConnectionTokens.d.ts +34 -0
  1205. package/esm/resources/Terminal/ConnectionTokens.js +9 -7
  1206. package/esm/resources/Terminal/ConnectionTokens.js.map +1 -0
  1207. package/esm/resources/Terminal/Locations.d.ts +285 -0
  1208. package/esm/resources/Terminal/Locations.js +36 -21
  1209. package/esm/resources/Terminal/Locations.js.map +1 -0
  1210. package/esm/resources/Terminal/OnboardingLinks.d.ts +89 -0
  1211. package/esm/resources/Terminal/OnboardingLinks.js +9 -7
  1212. package/esm/resources/Terminal/OnboardingLinks.js.map +1 -0
  1213. package/esm/resources/Terminal/Readers.d.ts +1013 -0
  1214. package/esm/resources/Terminal/Readers.js +83 -53
  1215. package/esm/resources/Terminal/Readers.js.map +1 -0
  1216. package/esm/resources/Terminal/index.d.ts +52 -0
  1217. package/esm/resources/Terminal/index.js +17 -0
  1218. package/esm/resources/Terminal/index.js.map +1 -0
  1219. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +651 -0
  1220. package/esm/resources/TestHelpers/ConfirmationTokens.js +9 -7
  1221. package/esm/resources/TestHelpers/ConfirmationTokens.js.map +1 -0
  1222. package/esm/resources/TestHelpers/Customers.d.ts +29 -0
  1223. package/esm/resources/TestHelpers/Customers.js +9 -7
  1224. package/esm/resources/TestHelpers/Customers.js.map +1 -0
  1225. package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +806 -0
  1226. package/esm/resources/TestHelpers/Issuing/Authorizations.js +978 -953
  1227. package/esm/resources/TestHelpers/Issuing/Authorizations.js.map +1 -0
  1228. package/esm/resources/TestHelpers/Issuing/Cards.d.ts +75 -0
  1229. package/esm/resources/TestHelpers/Issuing/Cards.js +33 -23
  1230. package/esm/resources/TestHelpers/Issuing/Cards.js.map +1 -0
  1231. package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.d.ts +67 -0
  1232. package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.js +21 -15
  1233. package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -0
  1234. package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +582 -0
  1235. package/esm/resources/TestHelpers/Issuing/Transactions.js +289 -272
  1236. package/esm/resources/TestHelpers/Issuing/Transactions.js.map +1 -0
  1237. package/esm/resources/TestHelpers/Issuing/index.d.ts +14 -0
  1238. package/esm/resources/TestHelpers/Issuing/index.js +15 -0
  1239. package/esm/resources/TestHelpers/Issuing/index.js.map +1 -0
  1240. package/esm/resources/TestHelpers/Refunds.d.ts +17 -0
  1241. package/esm/resources/TestHelpers/Refunds.js +9 -7
  1242. package/esm/resources/TestHelpers/Refunds.js.map +1 -0
  1243. package/esm/resources/TestHelpers/Terminal/Readers.d.ts +107 -0
  1244. package/esm/resources/TestHelpers/Terminal/Readers.js +21 -15
  1245. package/esm/resources/TestHelpers/Terminal/Readers.js.map +1 -0
  1246. package/esm/resources/TestHelpers/Terminal/index.d.ts +8 -0
  1247. package/esm/resources/TestHelpers/Terminal/index.js +9 -0
  1248. package/esm/resources/TestHelpers/Terminal/index.js.map +1 -0
  1249. package/esm/resources/TestHelpers/TestClocks.d.ts +142 -0
  1250. package/esm/resources/TestHelpers/TestClocks.js +35 -24
  1251. package/esm/resources/TestHelpers/TestClocks.js.map +1 -0
  1252. package/esm/resources/TestHelpers/Treasury/InboundTransfers.d.ts +62 -0
  1253. package/esm/resources/TestHelpers/Treasury/InboundTransfers.js +21 -15
  1254. package/esm/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -0
  1255. package/esm/resources/TestHelpers/Treasury/OutboundPayments.d.ts +119 -0
  1256. package/esm/resources/TestHelpers/Treasury/OutboundPayments.js +27 -19
  1257. package/esm/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -0
  1258. package/esm/resources/TestHelpers/Treasury/OutboundTransfers.d.ts +119 -0
  1259. package/esm/resources/TestHelpers/Treasury/OutboundTransfers.js +27 -19
  1260. package/esm/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -0
  1261. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +72 -0
  1262. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.js +9 -7
  1263. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.js.map +1 -0
  1264. package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +71 -0
  1265. package/esm/resources/TestHelpers/Treasury/ReceivedDebits.js +9 -7
  1266. package/esm/resources/TestHelpers/Treasury/ReceivedDebits.js.map +1 -0
  1267. package/esm/resources/TestHelpers/Treasury/index.d.ts +16 -0
  1268. package/esm/resources/TestHelpers/Treasury/index.js +17 -0
  1269. package/esm/resources/TestHelpers/Treasury/index.js.map +1 -0
  1270. package/esm/resources/TestHelpers/index.d.ts +31 -0
  1271. package/esm/resources/TestHelpers/index.js +21 -0
  1272. package/esm/resources/TestHelpers/index.js.map +1 -0
  1273. package/esm/resources/Tokens.d.ts +874 -0
  1274. package/esm/resources/Tokens.js +16 -5
  1275. package/esm/resources/Tokens.js.map +1 -0
  1276. package/esm/resources/Topups.d.ts +177 -0
  1277. package/esm/resources/Topups.js +35 -12
  1278. package/esm/resources/Topups.js.map +1 -0
  1279. package/esm/resources/TransferReversals.d.ts +46 -0
  1280. package/esm/resources/TransferReversals.js +3 -0
  1281. package/esm/resources/TransferReversals.js.map +1 -0
  1282. package/esm/resources/Transfers.d.ts +242 -0
  1283. package/esm/resources/Transfers.js +63 -28
  1284. package/esm/resources/Transfers.js.map +1 -0
  1285. package/esm/resources/Treasury/CreditReversals.d.ts +132 -0
  1286. package/esm/resources/Treasury/CreditReversals.js +23 -16
  1287. package/esm/resources/Treasury/CreditReversals.js.map +1 -0
  1288. package/esm/resources/Treasury/DebitReversals.d.ts +147 -0
  1289. package/esm/resources/Treasury/DebitReversals.js +23 -16
  1290. package/esm/resources/Treasury/DebitReversals.js.map +1 -0
  1291. package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +402 -0
  1292. package/esm/resources/Treasury/FinancialAccountFeatures.js +3 -0
  1293. package/esm/resources/Treasury/FinancialAccountFeatures.js.map +1 -0
  1294. package/esm/resources/Treasury/FinancialAccounts.d.ts +756 -0
  1295. package/esm/resources/Treasury/FinancialAccounts.js +47 -32
  1296. package/esm/resources/Treasury/FinancialAccounts.js.map +1 -0
  1297. package/esm/resources/Treasury/InboundTransfers.d.ts +263 -0
  1298. package/esm/resources/Treasury/InboundTransfers.js +29 -20
  1299. package/esm/resources/Treasury/InboundTransfers.js.map +1 -0
  1300. package/esm/resources/Treasury/OutboundPayments.d.ts +452 -0
  1301. package/esm/resources/Treasury/OutboundPayments.js +29 -20
  1302. package/esm/resources/Treasury/OutboundPayments.js.map +1 -0
  1303. package/esm/resources/Treasury/OutboundTransfers.d.ts +346 -0
  1304. package/esm/resources/Treasury/OutboundTransfers.js +29 -20
  1305. package/esm/resources/Treasury/OutboundTransfers.js.map +1 -0
  1306. package/esm/resources/Treasury/ReceivedCredits.d.ts +261 -0
  1307. package/esm/resources/Treasury/ReceivedCredits.js +17 -12
  1308. package/esm/resources/Treasury/ReceivedCredits.js.map +1 -0
  1309. package/esm/resources/Treasury/ReceivedDebits.d.ts +202 -0
  1310. package/esm/resources/Treasury/ReceivedDebits.js +17 -12
  1311. package/esm/resources/Treasury/ReceivedDebits.js.map +1 -0
  1312. package/esm/resources/Treasury/TransactionEntries.d.ts +187 -0
  1313. package/esm/resources/Treasury/TransactionEntries.js +313 -305
  1314. package/esm/resources/Treasury/TransactionEntries.js.map +1 -0
  1315. package/esm/resources/Treasury/Transactions.d.ts +212 -0
  1316. package/esm/resources/Treasury/Transactions.js +347 -341
  1317. package/esm/resources/Treasury/Transactions.js.map +1 -0
  1318. package/esm/resources/Treasury/index.d.ts +83 -0
  1319. package/esm/resources/Treasury/index.js +27 -0
  1320. package/esm/resources/Treasury/index.js.map +1 -0
  1321. package/esm/resources/V2/Billing/MeterEventAdjustments.d.ts +81 -0
  1322. package/esm/resources/V2/Billing/MeterEventAdjustments.js +9 -7
  1323. package/esm/resources/V2/Billing/MeterEventAdjustments.js.map +1 -0
  1324. package/esm/resources/V2/Billing/MeterEventSession.d.ts +41 -0
  1325. package/esm/resources/V2/Billing/MeterEventSession.js +9 -7
  1326. package/esm/resources/V2/Billing/MeterEventSession.js.map +1 -0
  1327. package/esm/resources/V2/Billing/MeterEventStream.d.ts +48 -0
  1328. package/esm/resources/V2/Billing/MeterEventStream.js +12 -8
  1329. package/esm/resources/V2/Billing/MeterEventStream.js.map +1 -0
  1330. package/esm/resources/V2/Billing/MeterEvents.d.ts +75 -0
  1331. package/esm/resources/V2/Billing/MeterEvents.js +9 -4
  1332. package/esm/resources/V2/Billing/MeterEvents.js.map +1 -0
  1333. package/esm/resources/V2/Billing/index.d.ts +24 -0
  1334. package/esm/resources/V2/Billing/index.js +15 -0
  1335. package/esm/resources/V2/Billing/index.js.map +1 -0
  1336. package/esm/resources/V2/Core/AccountLinks.d.ts +235 -0
  1337. package/esm/resources/V2/Core/AccountLinks.js +10 -4
  1338. package/esm/resources/V2/Core/AccountLinks.js.map +1 -0
  1339. package/esm/resources/V2/Core/AccountPersonTokens.d.ts +26 -0
  1340. package/esm/resources/V2/Core/AccountPersonTokens.js +3 -0
  1341. package/esm/resources/V2/Core/AccountPersonTokens.js.map +1 -0
  1342. package/esm/resources/V2/Core/AccountPersons.d.ts +473 -0
  1343. package/esm/resources/V2/Core/AccountPersons.js +3 -0
  1344. package/esm/resources/V2/Core/AccountPersons.js.map +1 -0
  1345. package/esm/resources/V2/Core/AccountTokens.d.ts +778 -0
  1346. package/esm/resources/V2/Core/AccountTokens.js +31 -24
  1347. package/esm/resources/V2/Core/AccountTokens.js.map +1 -0
  1348. package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +378 -0
  1349. package/esm/resources/V2/Core/Accounts/PersonTokens.js +25 -18
  1350. package/esm/resources/V2/Core/Accounts/PersonTokens.js.map +1 -0
  1351. package/esm/resources/V2/Core/Accounts/Persons.d.ts +884 -0
  1352. package/esm/resources/V2/Core/Accounts/Persons.js +91 -72
  1353. package/esm/resources/V2/Core/Accounts/Persons.js.map +1 -0
  1354. package/esm/resources/V2/Core/Accounts.d.ts +6951 -0
  1355. package/esm/resources/V2/Core/Accounts.js +142 -121
  1356. package/esm/resources/V2/Core/Accounts.js.map +1 -0
  1357. package/esm/resources/V2/Core/EventDestinations.d.ts +327 -0
  1358. package/esm/resources/V2/Core/EventDestinations.js +53 -36
  1359. package/esm/resources/V2/Core/EventDestinations.js.map +1 -0
  1360. package/esm/resources/V2/Core/Events.d.ts +650 -0
  1361. package/esm/resources/V2/Core/Events.js +29 -38
  1362. package/esm/resources/V2/Core/Events.js.map +1 -0
  1363. package/esm/resources/V2/Core/index.d.ts +51 -0
  1364. package/esm/resources/V2/Core/index.js +17 -0
  1365. package/esm/resources/V2/Core/index.js.map +1 -0
  1366. package/esm/resources/V2/DeletedObject.d.ts +10 -0
  1367. package/esm/resources/V2/DeletedObject.js +3 -0
  1368. package/esm/resources/V2/DeletedObject.js.map +1 -0
  1369. package/esm/resources/V2/V2Amounts.d.ts +4 -0
  1370. package/esm/resources/V2/V2Amounts.js +2 -0
  1371. package/esm/resources/V2/V2Amounts.js.map +1 -0
  1372. package/esm/resources/V2/index.d.ts +16 -0
  1373. package/esm/resources/V2/index.js +11 -0
  1374. package/esm/resources/V2/index.js.map +1 -0
  1375. package/esm/resources/WebhookEndpoints.d.ts +170 -0
  1376. package/esm/resources/WebhookEndpoints.js +35 -21
  1377. package/esm/resources/WebhookEndpoints.js.map +1 -0
  1378. package/esm/resources.d.ts +76 -0
  1379. package/esm/resources.js +139 -236
  1380. package/esm/resources.js.map +1 -0
  1381. package/esm/shared.d.ts +152 -0
  1382. package/esm/shared.js +2 -0
  1383. package/esm/shared.js.map +1 -0
  1384. package/esm/stripe.core.d.ts +441 -0
  1385. package/esm/stripe.core.js +473 -324
  1386. package/esm/stripe.core.js.map +1 -0
  1387. package/esm/stripe.esm.node.d.ts +441 -0
  1388. package/esm/stripe.esm.node.js +566 -3
  1389. package/esm/stripe.esm.node.js.map +1 -0
  1390. package/esm/stripe.esm.worker.d.ts +3 -0
  1391. package/esm/stripe.esm.worker.js +4 -2
  1392. package/esm/stripe.esm.worker.js.map +1 -0
  1393. package/esm/utils.d.ts +74 -0
  1394. package/esm/utils.js +54 -125
  1395. package/esm/utils.js.map +1 -0
  1396. package/package.json +9 -5
  1397. package/cjs/StripeEventNotificationHandler.js +0 -132
  1398. package/cjs/StripeMethod.js +0 -36
  1399. package/cjs/resources/AccountNotices.js +0 -21
  1400. package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -12
  1401. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  1402. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  1403. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  1404. package/cjs/resources/FinancialConnections/Authorizations.js +0 -12
  1405. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  1406. package/cjs/resources/FxQuotes.js +0 -15
  1407. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  1408. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
  1409. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
  1410. package/cjs/resources/Margins.js +0 -22
  1411. package/cjs/resources/Orders.js +0 -441
  1412. package/cjs/resources/Privacy/RedactionJobs.js +0 -42
  1413. package/cjs/resources/ProductCatalog/TrialOffers.js +0 -12
  1414. package/cjs/resources/Tax/Forms.js +0 -20
  1415. package/cjs/resources/Tax/Locations.js +0 -18
  1416. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
  1417. package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -17
  1418. package/cjs/resources/V2/Billing/BillSettings.js +0 -27
  1419. package/cjs/resources/V2/Billing/Cadences.js +0 -182
  1420. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -63
  1421. package/cjs/resources/V2/Billing/CollectionSettings.js +0 -152
  1422. package/cjs/resources/V2/Billing/Profiles.js +0 -19
  1423. package/cjs/resources/V2/Core/BatchJobs.js +0 -215
  1424. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -33
  1425. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -37
  1426. package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -17
  1427. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -29
  1428. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -21
  1429. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -21
  1430. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -16
  1431. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -25
  1432. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -29
  1433. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -25
  1434. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -25
  1435. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -12
  1436. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -17
  1437. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -17
  1438. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -17
  1439. package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -17
  1440. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -16
  1441. package/esm/StripeEventNotificationHandler.js +0 -128
  1442. package/esm/StripeMethod.js +0 -32
  1443. package/esm/resources/AccountNotices.js +0 -18
  1444. package/esm/resources/Billing/Analytics/MeterUsage.js +0 -9
  1445. package/esm/resources/Capital/FinancingOffers.js +0 -18
  1446. package/esm/resources/Capital/FinancingSummary.js +0 -9
  1447. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  1448. package/esm/resources/FinancialConnections/Authorizations.js +0 -9
  1449. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  1450. package/esm/resources/FxQuotes.js +0 -12
  1451. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  1452. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
  1453. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
  1454. package/esm/resources/Margins.js +0 -19
  1455. package/esm/resources/Orders.js +0 -438
  1456. package/esm/resources/Privacy/RedactionJobs.js +0 -39
  1457. package/esm/resources/ProductCatalog/TrialOffers.js +0 -9
  1458. package/esm/resources/Tax/Forms.js +0 -17
  1459. package/esm/resources/Tax/Locations.js +0 -15
  1460. package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
  1461. package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -14
  1462. package/esm/resources/V2/Billing/BillSettings.js +0 -24
  1463. package/esm/resources/V2/Billing/Cadences.js +0 -179
  1464. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -60
  1465. package/esm/resources/V2/Billing/CollectionSettings.js +0 -149
  1466. package/esm/resources/V2/Billing/Profiles.js +0 -16
  1467. package/esm/resources/V2/Core/BatchJobs.js +0 -212
  1468. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -30
  1469. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -34
  1470. package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -14
  1471. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -26
  1472. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -18
  1473. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -18
  1474. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -13
  1475. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -22
  1476. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -26
  1477. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -22
  1478. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -22
  1479. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -9
  1480. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -14
  1481. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -14
  1482. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -14
  1483. package/esm/resources/V2/MoneyManagement/Transactions.js +0 -14
  1484. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -13
  1485. package/types/.eslintrc.js +0 -22
  1486. package/types/AccountLinks.d.ts +0 -33
  1487. package/types/AccountLinksResource.d.ts +0 -82
  1488. package/types/AccountNotices.d.ts +0 -113
  1489. package/types/AccountNoticesResource.d.ts +0 -98
  1490. package/types/AccountSessions.d.ts +0 -623
  1491. package/types/AccountSessionsResource.d.ts +0 -941
  1492. package/types/Accounts.d.ts +0 -2018
  1493. package/types/AccountsResource.d.ts +0 -6057
  1494. package/types/ApplePayDomains.d.ts +0 -57
  1495. package/types/ApplePayDomainsResource.d.ts +0 -77
  1496. package/types/ApplicationFees.d.ts +0 -108
  1497. package/types/ApplicationFeesResource.d.ts +0 -162
  1498. package/types/Applications.d.ts +0 -55
  1499. package/types/Apps/Secrets.d.ts +0 -80
  1500. package/types/Apps/SecretsResource.d.ts +0 -186
  1501. package/types/Balance.d.ts +0 -425
  1502. package/types/BalanceResource.d.ts +0 -26
  1503. package/types/BalanceSettings.d.ts +0 -103
  1504. package/types/BalanceSettingsResource.d.ts +0 -124
  1505. package/types/BalanceTransactionSources.d.ts +0 -23
  1506. package/types/BalanceTransactions.d.ts +0 -176
  1507. package/types/BalanceTransactionsResource.d.ts +0 -72
  1508. package/types/BankAccounts.d.ts +0 -435
  1509. package/types/Billing/AlertTriggereds.d.ts +0 -42
  1510. package/types/Billing/Alerts.d.ts +0 -84
  1511. package/types/Billing/AlertsResource.d.ts +0 -183
  1512. package/types/Billing/Analytics/MeterUsage.d.ts +0 -31
  1513. package/types/Billing/Analytics/MeterUsageResource.d.ts +0 -689
  1514. package/types/Billing/Analytics/MeterUsageRows.d.ts +0 -51
  1515. package/types/Billing/CreditBalanceSummary.d.ts +0 -99
  1516. package/types/Billing/CreditBalanceSummaryResource.d.ts +0 -83
  1517. package/types/Billing/CreditBalanceTransactions.d.ts +0 -178
  1518. package/types/Billing/CreditBalanceTransactionsResource.d.ts +0 -62
  1519. package/types/Billing/CreditGrants.d.ts +0 -150
  1520. package/types/Billing/CreditGrantsResource.d.ts +0 -248
  1521. package/types/Billing/MeterEventAdjustments.d.ts +0 -53
  1522. package/types/Billing/MeterEventAdjustmentsResource.d.ts +0 -48
  1523. package/types/Billing/MeterEventSummaries.d.ts +0 -50
  1524. package/types/Billing/MeterEvents.d.ts +0 -49
  1525. package/types/Billing/MeterEventsResource.d.ts +0 -46
  1526. package/types/Billing/Meters.d.ts +0 -110
  1527. package/types/Billing/MetersResource.d.ts +0 -234
  1528. package/types/BillingPortal/Configurations.d.ts +0 -319
  1529. package/types/BillingPortal/ConfigurationsResource.d.ts +0 -679
  1530. package/types/BillingPortal/Sessions.d.ts +0 -293
  1531. package/types/BillingPortal/SessionsResource.d.ts +0 -273
  1532. package/types/Capabilities.d.ts +0 -424
  1533. package/types/Capital/FinancingOffers.d.ts +0 -188
  1534. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  1535. package/types/Capital/FinancingSummary.d.ts +0 -109
  1536. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  1537. package/types/Capital/FinancingTransactions.d.ts +0 -135
  1538. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  1539. package/types/Cards.d.ts +0 -230
  1540. package/types/CashBalances.d.ts +0 -57
  1541. package/types/Charges.d.ts +0 -2789
  1542. package/types/ChargesResource.d.ts +0 -4202
  1543. package/types/Checkout/Sessions.d.ts +0 -3169
  1544. package/types/Checkout/SessionsResource.d.ts +0 -4460
  1545. package/types/Climate/Orders.d.ts +0 -197
  1546. package/types/Climate/OrdersResource.d.ts +0 -159
  1547. package/types/Climate/Products.d.ts +0 -81
  1548. package/types/Climate/ProductsResource.d.ts +0 -45
  1549. package/types/Climate/Suppliers.d.ts +0 -82
  1550. package/types/Climate/SuppliersResource.d.ts +0 -45
  1551. package/types/ConfirmationTokens.d.ts +0 -1849
  1552. package/types/ConfirmationTokensResource.d.ts +0 -27
  1553. package/types/ConnectCollectionTransfers.d.ts +0 -40
  1554. package/types/CountrySpecs.d.ts +0 -88
  1555. package/types/CountrySpecsResource.d.ts +0 -43
  1556. package/types/Coupons.d.ts +0 -174
  1557. package/types/CouponsResource.d.ts +0 -226
  1558. package/types/CreditNoteLineItems.d.ts +0 -212
  1559. package/types/CreditNotes.d.ts +0 -408
  1560. package/types/CreditNotesResource.d.ts +0 -773
  1561. package/types/CustomerBalanceTransactions.d.ts +0 -106
  1562. package/types/CustomerCashBalanceTransactions.d.ts +0 -230
  1563. package/types/CustomerSessions.d.ts +0 -324
  1564. package/types/CustomerSessionsResource.d.ts +0 -304
  1565. package/types/CustomerSources.d.ts +0 -9
  1566. package/types/Customers.d.ts +0 -326
  1567. package/types/CustomersResource.d.ts +0 -1570
  1568. package/types/Discounts.d.ts +0 -175
  1569. package/types/Disputes.d.ts +0 -559
  1570. package/types/DisputesResource.d.ts +0 -395
  1571. package/types/Entitlements/ActiveEntitlementSummaries.d.ts +0 -32
  1572. package/types/Entitlements/ActiveEntitlements.d.ts +0 -37
  1573. package/types/Entitlements/ActiveEntitlementsResource.d.ts +0 -49
  1574. package/types/Entitlements/Features.d.ts +0 -48
  1575. package/types/Entitlements/FeaturesResource.d.ts +0 -118
  1576. package/types/EphemeralKeys.d.ts +0 -40
  1577. package/types/EphemeralKeysResource.d.ts +0 -65
  1578. package/types/Errors.d.ts +0 -441
  1579. package/types/EventTypes.d.ts +0 -5090
  1580. package/types/Events.d.ts +0 -471
  1581. package/types/EventsResource.d.ts +0 -63
  1582. package/types/ExchangeRates.d.ts +0 -54
  1583. package/types/ExchangeRatesResource.d.ts +0 -49
  1584. package/types/ExternalAccounts.d.ts +0 -9
  1585. package/types/ExternalAccountsResource.d.ts +0 -304
  1586. package/types/FeeRefunds.d.ts +0 -54
  1587. package/types/FileLinks.d.ts +0 -57
  1588. package/types/FileLinksResource.d.ts +0 -114
  1589. package/types/Files.d.ts +0 -96
  1590. package/types/FilesResource.d.ts +0 -146
  1591. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  1592. package/types/FinancialConnections/AccountOwners.d.ts +0 -52
  1593. package/types/FinancialConnections/AccountOwnerships.d.ts +0 -32
  1594. package/types/FinancialConnections/Accounts.d.ts +0 -394
  1595. package/types/FinancialConnections/AccountsResource.d.ts +0 -216
  1596. package/types/FinancialConnections/Authorizations.d.ts +0 -93
  1597. package/types/FinancialConnections/AuthorizationsResource.d.ts +0 -29
  1598. package/types/FinancialConnections/Institutions.d.ts +0 -98
  1599. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  1600. package/types/FinancialConnections/Sessions.d.ts +0 -231
  1601. package/types/FinancialConnections/SessionsResource.d.ts +0 -205
  1602. package/types/FinancialConnections/Transactions.d.ts +0 -85
  1603. package/types/FinancialConnections/TransactionsResource.d.ts +0 -68
  1604. package/types/Forwarding/Requests.d.ts +0 -165
  1605. package/types/Forwarding/RequestsResource.d.ts +0 -127
  1606. package/types/FundingInstructions.d.ts +0 -297
  1607. package/types/FxQuotes.d.ts +0 -155
  1608. package/types/FxQuotesResource.d.ts +0 -130
  1609. package/types/Identity/VerificationReports.d.ts +0 -487
  1610. package/types/Identity/VerificationReportsResource.d.ts +0 -71
  1611. package/types/Identity/VerificationSessions.d.ts +0 -352
  1612. package/types/Identity/VerificationSessionsResource.d.ts +0 -366
  1613. package/types/InvoiceItems.d.ts +0 -245
  1614. package/types/InvoiceItemsResource.d.ts +0 -522
  1615. package/types/InvoiceLineItems.d.ts +0 -410
  1616. package/types/InvoicePayments.d.ts +0 -111
  1617. package/types/InvoicePaymentsResource.d.ts +0 -88
  1618. package/types/InvoiceRenderingTemplates.d.ts +0 -55
  1619. package/types/InvoiceRenderingTemplatesResource.d.ts +0 -93
  1620. package/types/Invoices.d.ts +0 -1834
  1621. package/types/InvoicesResource.d.ts +0 -5936
  1622. package/types/Issuing/Authorizations.d.ts +0 -689
  1623. package/types/Issuing/AuthorizationsResource.d.ts +0 -151
  1624. package/types/Issuing/Cardholders.d.ts +0 -1184
  1625. package/types/Issuing/CardholdersResource.d.ts +0 -2412
  1626. package/types/Issuing/Cards.d.ts +0 -1312
  1627. package/types/Issuing/CardsResource.d.ts +0 -2371
  1628. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
  1629. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
  1630. package/types/Issuing/DisputeSettlementDetails.d.ts +0 -85
  1631. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
  1632. package/types/Issuing/Disputes.d.ts +0 -383
  1633. package/types/Issuing/DisputesResource.d.ts +0 -776
  1634. package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
  1635. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
  1636. package/types/Issuing/PersonalizationDesigns.d.ts +0 -142
  1637. package/types/Issuing/PersonalizationDesignsResource.d.ts +0 -253
  1638. package/types/Issuing/PhysicalBundles.d.ts +0 -75
  1639. package/types/Issuing/PhysicalBundlesResource.d.ts +0 -63
  1640. package/types/Issuing/Settlements.d.ts +0 -113
  1641. package/types/Issuing/Tokens.d.ts +0 -273
  1642. package/types/Issuing/TokensResource.d.ts +0 -88
  1643. package/types/Issuing/Transactions.d.ts +0 -484
  1644. package/types/Issuing/TransactionsResource.d.ts +0 -97
  1645. package/types/LineItems.d.ts +0 -179
  1646. package/types/LoginLinks.d.ts +0 -26
  1647. package/types/Mandates.d.ts +0 -441
  1648. package/types/MandatesResource.d.ts +0 -58
  1649. package/types/Margins.d.ts +0 -56
  1650. package/types/MarginsResource.d.ts +0 -114
  1651. package/types/OAuth.d.ts +0 -355
  1652. package/types/Orders.d.ts +0 -1165
  1653. package/types/OrdersResource.d.ts +0 -5449
  1654. package/types/PaymentAttemptRecords.d.ts +0 -2546
  1655. package/types/PaymentAttemptRecordsResource.d.ts +0 -57
  1656. package/types/PaymentIntentAmountDetailsLineItems.d.ts +0 -126
  1657. package/types/PaymentIntents.d.ts +0 -4875
  1658. package/types/PaymentIntentsResource.d.ts +0 -24384
  1659. package/types/PaymentLinks.d.ts +0 -1068
  1660. package/types/PaymentLinksResource.d.ts +0 -2375
  1661. package/types/PaymentMethodConfigurations.d.ts +0 -2225
  1662. package/types/PaymentMethodConfigurationsResource.d.ts +0 -3208
  1663. package/types/PaymentMethodDomains.d.ts +0 -213
  1664. package/types/PaymentMethodDomainsResource.d.ts +0 -126
  1665. package/types/PaymentMethods.d.ts +0 -1744
  1666. package/types/PaymentMethodsResource.d.ts +0 -1324
  1667. package/types/PaymentRecords.d.ts +0 -2546
  1668. package/types/PaymentRecordsResource.d.ts +0 -657
  1669. package/types/Payouts.d.ts +0 -177
  1670. package/types/PayoutsResource.d.ts +0 -201
  1671. package/types/Persons.d.ts +0 -826
  1672. package/types/Plans.d.ts +0 -195
  1673. package/types/PlansResource.d.ts +0 -322
  1674. package/types/Prices.d.ts +0 -347
  1675. package/types/PricesResource.d.ts +0 -648
  1676. package/types/Privacy/RedactionJobValidationErrors.d.ts +0 -60
  1677. package/types/Privacy/RedactionJobs.d.ts +0 -111
  1678. package/types/Privacy/RedactionJobsResource.d.ts +0 -233
  1679. package/types/ProductCatalog/TrialOffers.d.ts +0 -82
  1680. package/types/ProductCatalog/TrialOffersResource.d.ts +0 -85
  1681. package/types/ProductFeatures.d.ts +0 -57
  1682. package/types/Products.d.ts +0 -170
  1683. package/types/ProductsResource.d.ts +0 -650
  1684. package/types/PromotionCodes.d.ts +0 -125
  1685. package/types/PromotionCodesResource.d.ts +0 -250
  1686. package/types/QuoteLines.d.ts +0 -644
  1687. package/types/QuotePreviewInvoices.d.ts +0 -1818
  1688. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -913
  1689. package/types/Quotes.d.ts +0 -1278
  1690. package/types/QuotesResource.d.ts +0 -3248
  1691. package/types/Radar/EarlyFraudWarnings.d.ts +0 -55
  1692. package/types/Radar/EarlyFraudWarningsResource.d.ts +0 -64
  1693. package/types/Radar/PaymentEvaluations.d.ts +0 -580
  1694. package/types/Radar/PaymentEvaluationsResource.d.ts +0 -208
  1695. package/types/Radar/ValueListItems.d.ts +0 -74
  1696. package/types/Radar/ValueListItemsResource.d.ts +0 -99
  1697. package/types/Radar/ValueLists.d.ts +0 -104
  1698. package/types/Radar/ValueListsResource.d.ts +0 -156
  1699. package/types/Refunds.d.ts +0 -501
  1700. package/types/RefundsResource.d.ts +0 -187
  1701. package/types/Reporting/ReportRuns.d.ts +0 -115
  1702. package/types/Reporting/ReportRunsResource.d.ts +0 -763
  1703. package/types/Reporting/ReportTypes.d.ts +0 -64
  1704. package/types/Reporting/ReportTypesResource.d.ts +0 -47
  1705. package/types/Reserve/Holds.d.ts +0 -104
  1706. package/types/Reserve/HoldsResource.d.ts +0 -76
  1707. package/types/Reserve/Plans.d.ts +0 -103
  1708. package/types/Reserve/PlansResource.d.ts +0 -29
  1709. package/types/Reserve/Releases.d.ts +0 -105
  1710. package/types/Reserve/ReleasesResource.d.ts +0 -60
  1711. package/types/ReserveTransactions.d.ts +0 -32
  1712. package/types/Reviews.d.ts +0 -146
  1713. package/types/ReviewsResource.d.ts +0 -68
  1714. package/types/SetupAttempts.d.ts +0 -919
  1715. package/types/SetupAttemptsResource.d.ts +0 -35
  1716. package/types/SetupIntents.d.ts +0 -1250
  1717. package/types/SetupIntentsResource.d.ts +0 -5850
  1718. package/types/ShippingRates.d.ts +0 -155
  1719. package/types/ShippingRatesResource.d.ts +0 -262
  1720. package/types/Sigma/ScheduledQueryRuns.d.ts +0 -76
  1721. package/types/Sigma/ScheduledQueryRunsResource.d.ts +0 -47
  1722. package/types/SourceMandateNotifications.d.ts +0 -105
  1723. package/types/SourceTransactions.d.ts +0 -203
  1724. package/types/Sources.d.ts +0 -775
  1725. package/types/SourcesResource.d.ts +0 -611
  1726. package/types/SubscriptionItems.d.ts +0 -161
  1727. package/types/SubscriptionItemsResource.d.ts +0 -584
  1728. package/types/SubscriptionSchedules.d.ts +0 -892
  1729. package/types/SubscriptionSchedulesResource.d.ts +0 -2829
  1730. package/types/Subscriptions.d.ts +0 -1127
  1731. package/types/SubscriptionsResource.d.ts +0 -3095
  1732. package/types/Tax/Associations.d.ts +0 -82
  1733. package/types/Tax/AssociationsResource.d.ts +0 -29
  1734. package/types/Tax/CalculationLineItems.d.ts +0 -200
  1735. package/types/Tax/Calculations.d.ts +0 -527
  1736. package/types/Tax/CalculationsResource.d.ts +0 -411
  1737. package/types/Tax/Forms.d.ts +0 -220
  1738. package/types/Tax/FormsResource.d.ts +0 -107
  1739. package/types/Tax/Locations.d.ts +0 -34
  1740. package/types/Tax/LocationsResource.d.ts +0 -117
  1741. package/types/Tax/Registrations.d.ts +0 -1790
  1742. package/types/Tax/RegistrationsResource.d.ts +0 -2591
  1743. package/types/Tax/Settings.d.ts +0 -86
  1744. package/types/Tax/SettingsResource.d.ts +0 -77
  1745. package/types/Tax/TransactionLineItems.d.ts +0 -90
  1746. package/types/Tax/Transactions.d.ts +0 -426
  1747. package/types/Tax/TransactionsResource.d.ts +0 -182
  1748. package/types/TaxCodes.d.ts +0 -48
  1749. package/types/TaxCodesResource.d.ts +0 -43
  1750. package/types/TaxDeductedAtSources.d.ts +0 -35
  1751. package/types/TaxIds.d.ts +0 -262
  1752. package/types/TaxIdsResource.d.ts +0 -263
  1753. package/types/TaxRates.d.ts +0 -144
  1754. package/types/TaxRatesResource.d.ts +0 -215
  1755. package/types/Terminal/Configurations.d.ts +0 -639
  1756. package/types/Terminal/ConfigurationsResource.d.ts +0 -1497
  1757. package/types/Terminal/ConnectionTokens.d.ts +0 -29
  1758. package/types/Terminal/ConnectionTokensResource.d.ts +0 -32
  1759. package/types/Terminal/Locations.d.ts +0 -166
  1760. package/types/Terminal/LocationsResource.d.ts +0 -233
  1761. package/types/Terminal/OnboardingLinks.d.ts +0 -57
  1762. package/types/Terminal/OnboardingLinksResource.d.ts +0 -62
  1763. package/types/Terminal/ReaderCollectedData.d.ts +0 -51
  1764. package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
  1765. package/types/Terminal/Readers.d.ts +0 -696
  1766. package/types/Terminal/ReadersResource.d.ts +0 -665
  1767. package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -1030
  1768. package/types/TestHelpers/CustomersResource.d.ts +0 -40
  1769. package/types/TestHelpers/Issuing/AuthorizationsResource.d.ts +0 -1404
  1770. package/types/TestHelpers/Issuing/CardsResource.d.ts +0 -121
  1771. package/types/TestHelpers/Issuing/PersonalizationDesignsResource.d.ts +0 -113
  1772. package/types/TestHelpers/Issuing/TransactionsResource.d.ts +0 -1354
  1773. package/types/TestHelpers/RefundsResource.d.ts +0 -29
  1774. package/types/TestHelpers/Terminal/ReadersResource.d.ts +0 -151
  1775. package/types/TestHelpers/TestClocks.d.ts +0 -98
  1776. package/types/TestHelpers/TestClocksResource.d.ts +0 -108
  1777. package/types/TestHelpers/Treasury/InboundTransfersResource.d.ts +0 -108
  1778. package/types/TestHelpers/Treasury/OutboundPaymentsResource.d.ts +0 -175
  1779. package/types/TestHelpers/Treasury/OutboundTransfersResource.d.ts +0 -175
  1780. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -119
  1781. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -117
  1782. package/types/Tokens.d.ts +0 -84
  1783. package/types/TokensResource.d.ts +0 -1086
  1784. package/types/Topups.d.ts +0 -103
  1785. package/types/TopupsResource.d.ts +0 -158
  1786. package/types/TransferReversals.d.ts +0 -72
  1787. package/types/Transfers.d.ts +0 -109
  1788. package/types/TransfersResource.d.ts +0 -265
  1789. package/types/Treasury/CreditReversals.d.ts +0 -92
  1790. package/types/Treasury/CreditReversalsResource.d.ts +0 -88
  1791. package/types/Treasury/DebitReversals.d.ts +0 -104
  1792. package/types/Treasury/DebitReversalsResource.d.ts +0 -95
  1793. package/types/Treasury/FinancialAccountFeatures.d.ts +0 -630
  1794. package/types/Treasury/FinancialAccounts.d.ts +0 -255
  1795. package/types/Treasury/FinancialAccountsResource.d.ts +0 -770
  1796. package/types/Treasury/InboundTransfers.d.ts +0 -235
  1797. package/types/Treasury/InboundTransfersResource.d.ts +0 -128
  1798. package/types/Treasury/OutboundPayments.d.ts +0 -324
  1799. package/types/Treasury/OutboundPaymentsResource.d.ts +0 -285
  1800. package/types/Treasury/OutboundTransfers.d.ts +0 -325
  1801. package/types/Treasury/OutboundTransfersResource.d.ts +0 -205
  1802. package/types/Treasury/ReceivedCredits.d.ts +0 -305
  1803. package/types/Treasury/ReceivedCreditsResource.d.ts +0 -79
  1804. package/types/Treasury/ReceivedDebits.d.ts +0 -258
  1805. package/types/Treasury/ReceivedDebitsResource.d.ts +0 -58
  1806. package/types/Treasury/TransactionEntries.d.ts +0 -203
  1807. package/types/Treasury/TransactionEntriesResource.d.ts +0 -70
  1808. package/types/Treasury/Transactions.d.ts +0 -202
  1809. package/types/Treasury/TransactionsResource.d.ts +0 -82
  1810. package/types/UpcomingInvoices.d.ts +0 -5
  1811. package/types/V2/Billing/BillSettingVersions.d.ts +0 -97
  1812. package/types/V2/Billing/BillSettings/VersionsResource.d.ts +0 -58
  1813. package/types/V2/Billing/BillSettings.d.ts +0 -120
  1814. package/types/V2/Billing/BillSettingsResource.d.ts +0 -241
  1815. package/types/V2/Billing/Cadences.d.ts +0 -690
  1816. package/types/V2/Billing/CadencesResource.d.ts +0 -487
  1817. package/types/V2/Billing/CollectionSettingVersions.d.ts +0 -318
  1818. package/types/V2/Billing/CollectionSettings/VersionsResource.d.ts +0 -62
  1819. package/types/V2/Billing/CollectionSettings.d.ts +0 -341
  1820. package/types/V2/Billing/CollectionSettingsResource.d.ts +0 -683
  1821. package/types/V2/Billing/MeterEventAdjustments.d.ts +0 -65
  1822. package/types/V2/Billing/MeterEventAdjustmentsResource.d.ts +0 -47
  1823. package/types/V2/Billing/MeterEventSessionResource.d.ts +0 -26
  1824. package/types/V2/Billing/MeterEventSessions.d.ts +0 -45
  1825. package/types/V2/Billing/MeterEventStreamResource.d.ts +0 -62
  1826. package/types/V2/Billing/MeterEvents.d.ts +0 -55
  1827. package/types/V2/Billing/MeterEventsResource.d.ts +0 -52
  1828. package/types/V2/Billing/Profiles.d.ts +0 -70
  1829. package/types/V2/Billing/ProfilesResource.d.ts +0 -150
  1830. package/types/V2/Core/AccountLinks.d.ts +0 -168
  1831. package/types/V2/Core/AccountLinksResource.d.ts +0 -153
  1832. package/types/V2/Core/AccountPersonTokens.d.ts +0 -44
  1833. package/types/V2/Core/AccountPersons.d.ts +0 -661
  1834. package/types/V2/Core/AccountTokens.d.ts +0 -44
  1835. package/types/V2/Core/AccountTokensResource.d.ts +0 -1161
  1836. package/types/V2/Core/Accounts/PersonTokensResource.d.ts +0 -556
  1837. package/types/V2/Core/Accounts/PersonsResource.d.ts +0 -1260
  1838. package/types/V2/Core/Accounts.d.ts +0 -6404
  1839. package/types/V2/Core/AccountsResource.d.ts +0 -5623
  1840. package/types/V2/Core/BatchJobs.d.ts +0 -365
  1841. package/types/V2/Core/BatchJobsResource.d.ts +0 -126
  1842. package/types/V2/Core/EventDestinations.d.ts +0 -214
  1843. package/types/V2/Core/EventDestinationsResource.d.ts +0 -303
  1844. package/types/V2/Core/EventTypes.d.ts +0 -2059
  1845. package/types/V2/Core/Events.d.ts +0 -86
  1846. package/types/V2/Core/EventsResource.d.ts +0 -63
  1847. package/types/V2/Core/Vault/GbBankAccounts.d.ts +0 -186
  1848. package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +0 -204
  1849. package/types/V2/Core/Vault/UsBankAccounts.d.ts +0 -147
  1850. package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +0 -203
  1851. package/types/V2/DeletedObject.d.ts +0 -22
  1852. package/types/V2/EventMisc.d.ts +0 -117
  1853. package/types/V2/FinancialAddressCreditSimulations.d.ts +0 -27
  1854. package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -32
  1855. package/types/V2/MoneyManagement/Adjustments.d.ts +0 -110
  1856. package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +0 -83
  1857. package/types/V2/MoneyManagement/FinancialAccounts.d.ts +0 -160
  1858. package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +0 -172
  1859. package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -185
  1860. package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -109
  1861. package/types/V2/MoneyManagement/InboundTransfers.d.ts +0 -212
  1862. package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +0 -144
  1863. package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -170
  1864. package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +0 -115
  1865. package/types/V2/MoneyManagement/OutboundPayments.d.ts +0 -283
  1866. package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +0 -247
  1867. package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -97
  1868. package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +0 -318
  1869. package/types/V2/MoneyManagement/OutboundTransfers.d.ts +0 -251
  1870. package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +0 -208
  1871. package/types/V2/MoneyManagement/PayoutMethods.d.ts +0 -213
  1872. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -98
  1873. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +0 -41
  1874. package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +0 -115
  1875. package/types/V2/MoneyManagement/ReceivedCredits.d.ts +0 -311
  1876. package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +0 -78
  1877. package/types/V2/MoneyManagement/ReceivedDebits.d.ts +0 -176
  1878. package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +0 -48
  1879. package/types/V2/MoneyManagement/TransactionEntries.d.ts +0 -162
  1880. package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +0 -82
  1881. package/types/V2/MoneyManagement/Transactions.d.ts +0 -195
  1882. package/types/V2/MoneyManagement/TransactionsResource.d.ts +0 -83
  1883. package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +0 -68
  1884. package/types/WebhookEndpoints.d.ts +0 -101
  1885. package/types/WebhookEndpointsResource.d.ts +0 -878
  1886. package/types/Webhooks.d.ts +0 -164
  1887. package/types/apiVersion.d.ts +0 -3
  1888. package/types/crypto/crypto.d.ts +0 -59
  1889. package/types/index.d.ts +0 -767
  1890. package/types/lib.d.ts +0 -420
  1891. package/types/net/net.d.ts +0 -99
  1892. package/types/shared.d.ts +0 -178
  1893. package/types/test/.eslintrc.js +0 -6
  1894. package/types/test/tsconfig.json +0 -67
  1895. package/types/test/typescriptTest.ts +0 -384
@@ -1,2789 +0,0 @@
1
- // File generated from our OpenAPI spec
2
-
3
- declare module 'stripe' {
4
- namespace Stripe {
5
- /**
6
- * The `Charge` object represents a single attempt to move money into your Stripe account.
7
- * PaymentIntent confirmation is the most common way to create Charges, but [Account Debits](https://docs.stripe.com/connect/account-debits) may also create Charges.
8
- * Some legacy payment flows create Charges directly, which is not recommended for new integrations.
9
- */
10
- interface Charge {
11
- /**
12
- * Unique identifier for the object.
13
- */
14
- id: string;
15
-
16
- /**
17
- * String representing the object's type. Objects of the same type share the same value.
18
- */
19
- object: 'charge';
20
-
21
- /**
22
- * Amount intended to be collected by this payment. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
23
- */
24
- amount: number;
25
-
26
- /**
27
- * Amount in cents (or local equivalent) captured (can be less than the amount attribute on the charge if a partial capture was made).
28
- */
29
- amount_captured: number;
30
-
31
- /**
32
- * Amount in cents (or local equivalent) refunded (can be less than the amount attribute on the charge if a partial refund was issued).
33
- */
34
- amount_refunded: number;
35
-
36
- /**
37
- * ID of the Connect application that created the charge.
38
- */
39
- application: string | Stripe.Application | null;
40
-
41
- /**
42
- * The application fee (if any) for the charge. [See the Connect documentation](https://docs.stripe.com/connect/direct-charges#collect-fees) for details.
43
- */
44
- application_fee: string | Stripe.ApplicationFee | null;
45
-
46
- /**
47
- * The amount of the application fee (if any) requested for the charge. [See the Connect documentation](https://docs.stripe.com/connect/direct-charges#collect-fees) for details.
48
- */
49
- application_fee_amount: number | null;
50
-
51
- /**
52
- * Authorization code on the charge.
53
- */
54
- authorization_code?: string;
55
-
56
- /**
57
- * ID of the balance transaction that describes the impact of this charge on your account balance (not including refunds or disputes).
58
- */
59
- balance_transaction: string | Stripe.BalanceTransaction | null;
60
-
61
- billing_details: Charge.BillingDetails;
62
-
63
- /**
64
- * The full statement descriptor that is passed to card networks, and that is displayed on your customers' credit card and bank statements. Allows you to see what the statement descriptor looks like after the static and dynamic portions are combined. This value only exists for card payments.
65
- */
66
- calculated_statement_descriptor: string | null;
67
-
68
- /**
69
- * If the charge was created without capturing, this Boolean represents whether it is still uncaptured or has since been captured.
70
- */
71
- captured: boolean;
72
-
73
- /**
74
- * Time at which the object was created. Measured in seconds since the Unix epoch.
75
- */
76
- created: number;
77
-
78
- /**
79
- * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
80
- */
81
- currency: string;
82
-
83
- /**
84
- * ID of the customer this charge is for if one exists.
85
- */
86
- customer: string | Stripe.Customer | Stripe.DeletedCustomer | null;
87
-
88
- /**
89
- * An arbitrary string attached to the object. Often useful for displaying to users.
90
- */
91
- description: string | null;
92
-
93
- /**
94
- * Whether the charge has been disputed.
95
- */
96
- disputed: boolean;
97
-
98
- /**
99
- * ID of the balance transaction that describes the reversal of the balance on your account due to payment failure.
100
- */
101
- failure_balance_transaction: string | Stripe.BalanceTransaction | null;
102
-
103
- /**
104
- * Error code explaining reason for charge failure if available (see [the errors section](https://docs.stripe.com/error-codes) for a list of codes).
105
- */
106
- failure_code: string | null;
107
-
108
- /**
109
- * Message to user further explaining reason for charge failure if available.
110
- */
111
- failure_message: string | null;
112
-
113
- /**
114
- * Information on fraud assessments for the charge.
115
- */
116
- fraud_details: Charge.FraudDetails | null;
117
-
118
- level3?: Charge.Level3;
119
-
120
- /**
121
- * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
122
- */
123
- livemode: boolean;
124
-
125
- /**
126
- * 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.
127
- */
128
- metadata: Stripe.Metadata;
129
-
130
- /**
131
- * The account (if any) the charge was made on behalf of without triggering an automatic transfer. See the [Connect documentation](https://docs.stripe.com/connect/separate-charges-and-transfers) for details.
132
- */
133
- on_behalf_of: string | Stripe.Account | null;
134
-
135
- /**
136
- * Details about whether the payment was accepted, and why. See [understanding declines](https://docs.stripe.com/declines) for details.
137
- */
138
- outcome: Charge.Outcome | null;
139
-
140
- /**
141
- * `true` if the charge succeeded, or was successfully authorized for later capture.
142
- */
143
- paid: boolean;
144
-
145
- /**
146
- * ID of the PaymentIntent associated with this charge, if one exists.
147
- */
148
- payment_intent: string | Stripe.PaymentIntent | null;
149
-
150
- /**
151
- * ID of the payment method used in this charge.
152
- */
153
- payment_method: string | null;
154
-
155
- /**
156
- * Details about the payment method at the time of the transaction.
157
- */
158
- payment_method_details: Charge.PaymentMethodDetails | null;
159
-
160
- presentment_details?: Charge.PresentmentDetails;
161
-
162
- /**
163
- * Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
164
- */
165
- radar_options?: Charge.RadarOptions;
166
-
167
- /**
168
- * This is the email address that the receipt for this charge was sent to.
169
- */
170
- receipt_email: string | null;
171
-
172
- /**
173
- * This is the transaction number that appears on email receipts sent for this charge. This attribute will be `null` until a receipt has been sent.
174
- */
175
- receipt_number: string | null;
176
-
177
- /**
178
- * This is the URL to view the receipt for this charge. The receipt is kept up-to-date to the latest state of the charge, including any refunds. If the charge is for an Invoice, the receipt will be stylized as an Invoice receipt.
179
- */
180
- receipt_url: string | null;
181
-
182
- /**
183
- * Whether the charge has been fully refunded. If the charge is only partially refunded, this attribute will still be false.
184
- */
185
- refunded: boolean;
186
-
187
- /**
188
- * A list of refunds that have been applied to the charge.
189
- */
190
- refunds?: ApiList<Stripe.Refund> | null;
191
-
192
- /**
193
- * ID of the review associated with this charge if one exists.
194
- */
195
- review: string | Stripe.Review | null;
196
-
197
- /**
198
- * Shipping information for the charge.
199
- */
200
- shipping: Charge.Shipping | null;
201
-
202
- /**
203
- * This is a legacy field that will be removed in the future. It contains the Source, Card, or BankAccount object used for the charge. For details about the payment method used for this charge, refer to `payment_method` or `payment_method_details` instead.
204
- */
205
- source: Stripe.CustomerSource | null;
206
-
207
- /**
208
- * The transfer ID which created this charge. Only present if the charge came from another Stripe account. [See the Connect documentation](https://docs.stripe.com/connect/destination-charges) for details.
209
- */
210
- source_transfer: string | Stripe.Transfer | null;
211
-
212
- /**
213
- * For a non-card charge, text that appears on the customer's statement as the statement descriptor. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).
214
- *
215
- * For a card charge, this value is ignored unless you don't specify a `statement_descriptor_suffix`, in which case this value is used as the suffix.
216
- */
217
- statement_descriptor: string | null;
218
-
219
- /**
220
- * Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement. If the account has no prefix value, the suffix is concatenated to the account's statement descriptor.
221
- */
222
- statement_descriptor_suffix: string | null;
223
-
224
- /**
225
- * The status of the payment is either `succeeded`, `pending`, or `failed`.
226
- */
227
- status: Charge.Status;
228
-
229
- /**
230
- * ID of the transfer to the `destination` account (only applicable if the charge was created using the `destination` parameter).
231
- */
232
- transfer?: string | Stripe.Transfer;
233
-
234
- /**
235
- * An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://docs.stripe.com/connect/destination-charges) for details.
236
- */
237
- transfer_data: Charge.TransferData | null;
238
-
239
- /**
240
- * A string that identifies this transaction as part of a group. See the [Connect documentation](https://docs.stripe.com/connect/separate-charges-and-transfers#transfer-options) for details.
241
- */
242
- transfer_group: string | null;
243
- }
244
-
245
- namespace Charge {
246
- interface BillingDetails {
247
- /**
248
- * Billing address.
249
- */
250
- address: Stripe.Address | null;
251
-
252
- /**
253
- * Email address.
254
- */
255
- email: string | null;
256
-
257
- /**
258
- * Full name.
259
- */
260
- name: string | null;
261
-
262
- /**
263
- * Billing phone number (including extension).
264
- */
265
- phone: string | null;
266
-
267
- /**
268
- * Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
269
- */
270
- tax_id: string | null;
271
- }
272
-
273
- interface FraudDetails {
274
- /**
275
- * Assessments from Stripe. If set, the value is `fraudulent`.
276
- */
277
- stripe_report?: string;
278
-
279
- /**
280
- * Assessments reported by you. If set, possible values of are `safe` and `fraudulent`.
281
- */
282
- user_report?: string;
283
- }
284
-
285
- interface Level3 {
286
- customer_reference?: string;
287
-
288
- line_items: Array<Level3.LineItem>;
289
-
290
- merchant_reference: string;
291
-
292
- shipping_address_zip?: string;
293
-
294
- shipping_amount?: number;
295
-
296
- shipping_from_zip?: string;
297
- }
298
-
299
- namespace Level3 {
300
- interface LineItem {
301
- discount_amount: number | null;
302
-
303
- product_code: string;
304
-
305
- product_description: string;
306
-
307
- quantity: number | null;
308
-
309
- tax_amount: number | null;
310
-
311
- unit_cost: number | null;
312
- }
313
- }
314
-
315
- interface Outcome {
316
- /**
317
- * An enumerated value providing a more detailed explanation on [how to proceed with an error](https://docs.stripe.com/declines#retrying-issuer-declines).
318
- */
319
- advice_code: Outcome.AdviceCode | null;
320
-
321
- /**
322
- * For charges declined by the network, a 2 digit code which indicates the advice returned by the network on how to proceed with an error.
323
- */
324
- network_advice_code: string | null;
325
-
326
- /**
327
- * For charges declined by the network, an alphanumeric code which indicates the reason the charge failed.
328
- */
329
- network_decline_code: string | null;
330
-
331
- /**
332
- * Possible values are `approved_by_network`, `declined_by_network`, `not_sent_to_network`, and `reversed_after_approval`. The value `reversed_after_approval` indicates the payment was [blocked by Stripe](https://docs.stripe.com/declines#blocked-payments) after bank authorization, and may temporarily appear as "pending" on a cardholder's statement.
333
- */
334
- network_status: string | null;
335
-
336
- /**
337
- * An enumerated value providing a more detailed explanation of the outcome's `type`. Charges blocked by Radar's default block rule have the value `highest_risk_level`. Charges placed in review by Radar's default review rule have the value `elevated_risk_level`. Charges blocked because the payment is unlikely to be authorized have the value `low_probability_of_authorization`. Charges authorized, blocked, or placed in review by custom rules have the value `rule`. See [understanding declines](https://docs.stripe.com/declines) for more details.
338
- */
339
- reason: string | null;
340
-
341
- /**
342
- * Stripe Radar's evaluation of the riskiness of the payment. Possible values for evaluated payments are `normal`, `elevated`, `highest`. For non-card payments, and card-based payments predating the public assignment of risk levels, this field will have the value `not_assessed`. In the event of an error in the evaluation, this field will have the value `unknown`. This field is only available with Radar.
343
- */
344
- risk_level?: string;
345
-
346
- /**
347
- * Stripe Radar's evaluation of the riskiness of the payment. Possible values for evaluated payments are between 0 and 100. For non-card payments, card-based payments predating the public assignment of risk scores, or in the event of an error during evaluation, this field will not be present. This field is only available with Radar for Fraud Teams.
348
- */
349
- risk_score?: number;
350
-
351
- /**
352
- * The ID of the Radar rule that matched the payment, if applicable.
353
- */
354
- rule?: string | Outcome.Rule;
355
-
356
- /**
357
- * A human-readable description of the outcome type and reason, designed for you (the recipient of the payment), not your customer.
358
- */
359
- seller_message: string | null;
360
-
361
- /**
362
- * Possible values are `authorized`, `manual_review`, `issuer_declined`, `blocked`, and `invalid`. See [understanding declines](https://docs.stripe.com/declines) and [Radar reviews](https://docs.stripe.com/radar/reviews) for details.
363
- */
364
- type: string;
365
- }
366
-
367
- namespace Outcome {
368
- type AdviceCode =
369
- | 'confirm_card_data'
370
- | 'do_not_try_again'
371
- | 'try_again_later';
372
-
373
- interface Rule {
374
- /**
375
- * The action taken on the payment.
376
- */
377
- action: string;
378
-
379
- /**
380
- * Unique identifier for the object.
381
- */
382
- id: string;
383
-
384
- /**
385
- * The predicate to evaluate the payment against.
386
- */
387
- predicate: string;
388
- }
389
- }
390
-
391
- interface PaymentMethodDetails {
392
- ach_credit_transfer?: PaymentMethodDetails.AchCreditTransfer;
393
-
394
- ach_debit?: PaymentMethodDetails.AchDebit;
395
-
396
- acss_debit?: PaymentMethodDetails.AcssDebit;
397
-
398
- affirm?: PaymentMethodDetails.Affirm;
399
-
400
- afterpay_clearpay?: PaymentMethodDetails.AfterpayClearpay;
401
-
402
- alipay?: PaymentMethodDetails.Alipay;
403
-
404
- alma?: PaymentMethodDetails.Alma;
405
-
406
- amazon_pay?: PaymentMethodDetails.AmazonPay;
407
-
408
- au_becs_debit?: PaymentMethodDetails.AuBecsDebit;
409
-
410
- bacs_debit?: PaymentMethodDetails.BacsDebit;
411
-
412
- bancontact?: PaymentMethodDetails.Bancontact;
413
-
414
- billie?: PaymentMethodDetails.Billie;
415
-
416
- blik?: PaymentMethodDetails.Blik;
417
-
418
- boleto?: PaymentMethodDetails.Boleto;
419
-
420
- card?: PaymentMethodDetails.Card;
421
-
422
- card_present?: PaymentMethodDetails.CardPresent;
423
-
424
- cashapp?: PaymentMethodDetails.Cashapp;
425
-
426
- crypto?: PaymentMethodDetails.Crypto;
427
-
428
- customer_balance?: PaymentMethodDetails.CustomerBalance;
429
-
430
- eps?: PaymentMethodDetails.Eps;
431
-
432
- fpx?: PaymentMethodDetails.Fpx;
433
-
434
- giropay?: PaymentMethodDetails.Giropay;
435
-
436
- gopay?: PaymentMethodDetails.Gopay;
437
-
438
- grabpay?: PaymentMethodDetails.Grabpay;
439
-
440
- id_bank_transfer?: PaymentMethodDetails.IdBankTransfer;
441
-
442
- ideal?: PaymentMethodDetails.Ideal;
443
-
444
- interac_present?: PaymentMethodDetails.InteracPresent;
445
-
446
- kakao_pay?: PaymentMethodDetails.KakaoPay;
447
-
448
- klarna?: PaymentMethodDetails.Klarna;
449
-
450
- konbini?: PaymentMethodDetails.Konbini;
451
-
452
- kr_card?: PaymentMethodDetails.KrCard;
453
-
454
- link?: PaymentMethodDetails.Link;
455
-
456
- mb_way?: PaymentMethodDetails.MbWay;
457
-
458
- mobilepay?: PaymentMethodDetails.Mobilepay;
459
-
460
- multibanco?: PaymentMethodDetails.Multibanco;
461
-
462
- naver_pay?: PaymentMethodDetails.NaverPay;
463
-
464
- nz_bank_account?: PaymentMethodDetails.NzBankAccount;
465
-
466
- oxxo?: PaymentMethodDetails.Oxxo;
467
-
468
- p24?: PaymentMethodDetails.P24;
469
-
470
- pay_by_bank?: PaymentMethodDetails.PayByBank;
471
-
472
- payco?: PaymentMethodDetails.Payco;
473
-
474
- paynow?: PaymentMethodDetails.Paynow;
475
-
476
- paypal?: PaymentMethodDetails.Paypal;
477
-
478
- paypay?: PaymentMethodDetails.Paypay;
479
-
480
- payto?: PaymentMethodDetails.Payto;
481
-
482
- pix?: PaymentMethodDetails.Pix;
483
-
484
- promptpay?: PaymentMethodDetails.Promptpay;
485
-
486
- qris?: PaymentMethodDetails.Qris;
487
-
488
- rechnung?: PaymentMethodDetails.Rechnung;
489
-
490
- revolut_pay?: PaymentMethodDetails.RevolutPay;
491
-
492
- samsung_pay?: PaymentMethodDetails.SamsungPay;
493
-
494
- satispay?: PaymentMethodDetails.Satispay;
495
-
496
- sepa_credit_transfer?: PaymentMethodDetails.SepaCreditTransfer;
497
-
498
- sepa_debit?: PaymentMethodDetails.SepaDebit;
499
-
500
- shopeepay?: PaymentMethodDetails.Shopeepay;
501
-
502
- sofort?: PaymentMethodDetails.Sofort;
503
-
504
- stripe_account?: PaymentMethodDetails.StripeAccount;
505
-
506
- stripe_balance?: PaymentMethodDetails.StripeBalance;
507
-
508
- swish?: PaymentMethodDetails.Swish;
509
-
510
- twint?: PaymentMethodDetails.Twint;
511
-
512
- /**
513
- * The type of transaction-specific details of the payment method used in the payment. See [PaymentMethod.type](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type) for the full list of possible types.
514
- * An additional hash is included on `payment_method_details` with a name matching this value.
515
- * It contains information specific to the payment method.
516
- */
517
- type: string;
518
-
519
- upi?: PaymentMethodDetails.Upi;
520
-
521
- us_bank_account?: PaymentMethodDetails.UsBankAccount;
522
-
523
- wechat?: PaymentMethodDetails.Wechat;
524
-
525
- wechat_pay?: PaymentMethodDetails.WechatPay;
526
-
527
- zip?: PaymentMethodDetails.Zip;
528
- }
529
-
530
- namespace PaymentMethodDetails {
531
- interface AchCreditTransfer {
532
- /**
533
- * Account number to transfer funds to.
534
- */
535
- account_number: string | null;
536
-
537
- /**
538
- * Name of the bank associated with the routing number.
539
- */
540
- bank_name: string | null;
541
-
542
- /**
543
- * Routing transit number for the bank account to transfer funds to.
544
- */
545
- routing_number: string | null;
546
-
547
- /**
548
- * SWIFT code of the bank associated with the routing number.
549
- */
550
- swift_code: string | null;
551
- }
552
-
553
- interface AchDebit {
554
- /**
555
- * Type of entity that holds the account. This can be either `individual` or `company`.
556
- */
557
- account_holder_type: AchDebit.AccountHolderType | null;
558
-
559
- /**
560
- * Name of the bank associated with the bank account.
561
- */
562
- bank_name: string | null;
563
-
564
- /**
565
- * Two-letter ISO code representing the country the bank account is located in.
566
- */
567
- country: string | null;
568
-
569
- /**
570
- * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
571
- */
572
- fingerprint: string | null;
573
-
574
- /**
575
- * Last four digits of the bank account number.
576
- */
577
- last4: string | null;
578
-
579
- /**
580
- * Routing transit number of the bank account.
581
- */
582
- routing_number: string | null;
583
- }
584
-
585
- namespace AchDebit {
586
- type AccountHolderType = 'company' | 'individual';
587
- }
588
-
589
- interface AcssDebit {
590
- /**
591
- * Name of the bank associated with the bank account.
592
- */
593
- bank_name: string | null;
594
-
595
- /**
596
- * Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
597
- */
598
- expected_debit_date?: string;
599
-
600
- /**
601
- * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
602
- */
603
- fingerprint: string | null;
604
-
605
- /**
606
- * Institution number of the bank account
607
- */
608
- institution_number: string | null;
609
-
610
- /**
611
- * Last four digits of the bank account number.
612
- */
613
- last4: string | null;
614
-
615
- /**
616
- * ID of the mandate used to make this payment.
617
- */
618
- mandate?: string;
619
-
620
- /**
621
- * Transit number of the bank account.
622
- */
623
- transit_number: string | null;
624
- }
625
-
626
- interface Affirm {
627
- /**
628
- * ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
629
- */
630
- location?: string;
631
-
632
- /**
633
- * ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
634
- */
635
- reader?: string;
636
-
637
- /**
638
- * The Affirm transaction ID associated with this payment.
639
- */
640
- transaction_id: string | null;
641
- }
642
-
643
- interface AfterpayClearpay {
644
- /**
645
- * The Afterpay order ID associated with this payment intent.
646
- */
647
- order_id: string | null;
648
-
649
- /**
650
- * Order identifier shown to the merchant in Afterpay's online portal.
651
- */
652
- reference: string | null;
653
- }
654
-
655
- interface Alipay {
656
- /**
657
- * Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same.
658
- */
659
- buyer_id?: string;
660
-
661
- /**
662
- * Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same.
663
- */
664
- fingerprint: string | null;
665
-
666
- /**
667
- * Transaction ID of this particular Alipay transaction.
668
- */
669
- transaction_id: string | null;
670
- }
671
-
672
- interface Alma {
673
- installments?: Alma.Installments;
674
-
675
- /**
676
- * The Alma transaction ID associated with this payment.
677
- */
678
- transaction_id: string | null;
679
- }
680
-
681
- namespace Alma {
682
- interface Installments {
683
- /**
684
- * The number of installments.
685
- */
686
- count: number;
687
- }
688
- }
689
-
690
- interface AmazonPay {
691
- funding?: AmazonPay.Funding;
692
-
693
- /**
694
- * The Amazon Pay transaction ID associated with this payment.
695
- */
696
- transaction_id: string | null;
697
- }
698
-
699
- namespace AmazonPay {
700
- interface Funding {
701
- card?: Funding.Card;
702
-
703
- /**
704
- * funding type of the underlying payment method.
705
- */
706
- type: 'card' | null;
707
- }
708
-
709
- namespace Funding {
710
- interface Card {
711
- /**
712
- * Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
713
- */
714
- brand: string | null;
715
-
716
- /**
717
- * The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
718
- */
719
- brand_product?: string | null;
720
-
721
- /**
722
- * Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
723
- */
724
- country: string | null;
725
-
726
- /**
727
- * Two-digit number representing the card's expiration month.
728
- */
729
- exp_month: number | null;
730
-
731
- /**
732
- * Four-digit number representing the card's expiration year.
733
- */
734
- exp_year: number | null;
735
-
736
- /**
737
- * Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
738
- */
739
- funding: string | null;
740
-
741
- /**
742
- * The last four digits of the card.
743
- */
744
- last4: string | null;
745
- }
746
- }
747
- }
748
-
749
- interface AuBecsDebit {
750
- /**
751
- * Bank-State-Branch number of the bank account.
752
- */
753
- bsb_number: string | null;
754
-
755
- /**
756
- * Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
757
- */
758
- expected_debit_date?: string;
759
-
760
- /**
761
- * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
762
- */
763
- fingerprint: string | null;
764
-
765
- /**
766
- * Last four digits of the bank account number.
767
- */
768
- last4: string | null;
769
-
770
- /**
771
- * ID of the mandate used to make this payment.
772
- */
773
- mandate?: string;
774
- }
775
-
776
- interface BacsDebit {
777
- /**
778
- * Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
779
- */
780
- expected_debit_date?: string;
781
-
782
- /**
783
- * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
784
- */
785
- fingerprint: string | null;
786
-
787
- /**
788
- * Last four digits of the bank account number.
789
- */
790
- last4: string | null;
791
-
792
- /**
793
- * ID of the mandate used to make this payment.
794
- */
795
- mandate: string | null;
796
-
797
- /**
798
- * Sort code of the bank account. (e.g., `10-20-30`)
799
- */
800
- sort_code: string | null;
801
- }
802
-
803
- interface Bancontact {
804
- /**
805
- * Bank code of bank associated with the bank account.
806
- */
807
- bank_code: string | null;
808
-
809
- /**
810
- * Name of the bank associated with the bank account.
811
- */
812
- bank_name: string | null;
813
-
814
- /**
815
- * Bank Identifier Code of the bank associated with the bank account.
816
- */
817
- bic: string | null;
818
-
819
- /**
820
- * The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.
821
- */
822
- generated_sepa_debit: string | Stripe.PaymentMethod | null;
823
-
824
- /**
825
- * The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.
826
- */
827
- generated_sepa_debit_mandate: string | Stripe.Mandate | null;
828
-
829
- /**
830
- * Last four characters of the IBAN.
831
- */
832
- iban_last4: string | null;
833
-
834
- /**
835
- * Preferred language of the Bancontact authorization page that the customer is redirected to.
836
- * Can be one of `en`, `de`, `fr`, or `nl`
837
- */
838
- preferred_language: Bancontact.PreferredLanguage | null;
839
-
840
- /**
841
- * Owner's verified full name. Values are verified or provided by Bancontact directly
842
- * (if supported) at the time of authorization or settlement. They cannot be set or mutated.
843
- */
844
- verified_name: string | null;
845
- }
846
-
847
- namespace Bancontact {
848
- type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl';
849
- }
850
-
851
- interface Billie {
852
- /**
853
- * The Billie transaction ID associated with this payment.
854
- */
855
- transaction_id: string | null;
856
- }
857
-
858
- interface Blik {
859
- /**
860
- * A unique and immutable identifier assigned by BLIK to every buyer.
861
- */
862
- buyer_id: string | null;
863
- }
864
-
865
- interface Boleto {
866
- /**
867
- * The tax ID of the customer (CPF for individuals consumers or CNPJ for businesses consumers)
868
- */
869
- tax_id: string;
870
- }
871
-
872
- interface Card {
873
- /**
874
- * The authorized amount.
875
- */
876
- amount_authorized: number | null;
877
-
878
- /**
879
- * The latest amount intended to be authorized by this charge.
880
- */
881
- amount_requested?: number | null;
882
-
883
- /**
884
- * Authorization code on the charge.
885
- */
886
- authorization_code: string | null;
887
-
888
- /**
889
- * Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
890
- */
891
- brand: string | null;
892
-
893
- /**
894
- * When using manual capture, a future timestamp at which the charge will be automatically refunded if uncaptured.
895
- */
896
- capture_before?: number;
897
-
898
- /**
899
- * Check results by Card networks on Card address and CVC at time of payment.
900
- */
901
- checks: Card.Checks | null;
902
-
903
- /**
904
- * Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
905
- */
906
- country: string | null;
907
-
908
- decremental_authorization?: Card.DecrementalAuthorization;
909
-
910
- /**
911
- * A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
912
- */
913
- description?: string | null;
914
-
915
- /**
916
- * Two-digit number representing the card's expiration month.
917
- */
918
- exp_month: number;
919
-
920
- /**
921
- * Four-digit number representing the card's expiration year.
922
- */
923
- exp_year: number;
924
-
925
- extended_authorization?: Card.ExtendedAuthorization;
926
-
927
- /**
928
- * Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
929
- *
930
- * *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
931
- */
932
- fingerprint?: string | null;
933
-
934
- /**
935
- * Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
936
- */
937
- funding: string | null;
938
-
939
- /**
940
- * Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
941
- */
942
- iin?: string | null;
943
-
944
- incremental_authorization?: Card.IncrementalAuthorization;
945
-
946
- /**
947
- * Installment details for this payment.
948
- *
949
- * For more information, see the [installments integration guide](https://docs.stripe.com/payments/installments).
950
- */
951
- installments: Card.Installments | null;
952
-
953
- /**
954
- * The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
955
- */
956
- issuer?: string | null;
957
-
958
- /**
959
- * The last four digits of the card.
960
- */
961
- last4: string | null;
962
-
963
- /**
964
- * ID of the mandate used to make this payment or created by it.
965
- */
966
- mandate: string | null;
967
-
968
- /**
969
- * True if this payment was marked as MOTO and out of scope for SCA.
970
- */
971
- moto?: boolean | null;
972
-
973
- multicapture?: Card.Multicapture;
974
-
975
- /**
976
- * Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
977
- */
978
- network: string | null;
979
-
980
- /**
981
- * If this card has network token credentials, this contains the details of the network token credentials.
982
- */
983
- network_token?: Card.NetworkToken | null;
984
-
985
- /**
986
- * This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
987
- */
988
- network_transaction_id: string | null;
989
-
990
- overcapture?: Card.Overcapture;
991
-
992
- partial_authorization?: Card.PartialAuthorization;
993
-
994
- /**
995
- * Status of a card based on the card issuer.
996
- */
997
- regulated_status: Card.RegulatedStatus | null;
998
-
999
- /**
1000
- * Populated if this transaction used 3D Secure authentication.
1001
- */
1002
- three_d_secure: Card.ThreeDSecure | null;
1003
-
1004
- /**
1005
- * If this Card is part of a card wallet, this contains the details of the card wallet.
1006
- */
1007
- wallet: Card.Wallet | null;
1008
- }
1009
-
1010
- namespace Card {
1011
- interface Checks {
1012
- /**
1013
- * If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
1014
- */
1015
- address_line1_check: string | null;
1016
-
1017
- /**
1018
- * If a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
1019
- */
1020
- address_postal_code_check: string | null;
1021
-
1022
- /**
1023
- * If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
1024
- */
1025
- cvc_check: string | null;
1026
- }
1027
-
1028
- interface DecrementalAuthorization {
1029
- /**
1030
- * Indicates whether or not the decremental authorization feature is supported.
1031
- */
1032
- status: DecrementalAuthorization.Status;
1033
- }
1034
-
1035
- namespace DecrementalAuthorization {
1036
- type Status = 'available' | 'unavailable';
1037
- }
1038
-
1039
- interface ExtendedAuthorization {
1040
- /**
1041
- * Indicates whether or not the capture window is extended beyond the standard authorization.
1042
- */
1043
- status: ExtendedAuthorization.Status;
1044
- }
1045
-
1046
- namespace ExtendedAuthorization {
1047
- type Status = 'disabled' | 'enabled';
1048
- }
1049
-
1050
- interface IncrementalAuthorization {
1051
- /**
1052
- * Indicates whether or not the incremental authorization feature is supported.
1053
- */
1054
- status: IncrementalAuthorization.Status;
1055
- }
1056
-
1057
- namespace IncrementalAuthorization {
1058
- type Status = 'available' | 'unavailable';
1059
- }
1060
-
1061
- interface Installments {
1062
- /**
1063
- * Installment plan selected for the payment.
1064
- */
1065
- plan: Installments.Plan | null;
1066
- }
1067
-
1068
- namespace Installments {
1069
- interface Plan {
1070
- /**
1071
- * For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card.
1072
- */
1073
- count: number | null;
1074
-
1075
- /**
1076
- * For `fixed_count` installment plans, this is the interval between installment payments your customer will make to their credit card.
1077
- * One of `month`.
1078
- */
1079
- interval: 'month' | null;
1080
-
1081
- /**
1082
- * Type of installment plan, one of `fixed_count`, `bonus`, or `revolving`.
1083
- */
1084
- type: Plan.Type;
1085
- }
1086
-
1087
- namespace Plan {
1088
- type Type = 'bonus' | 'fixed_count' | 'revolving';
1089
- }
1090
- }
1091
-
1092
- interface Multicapture {
1093
- /**
1094
- * Indicates whether or not multiple captures are supported.
1095
- */
1096
- status: Multicapture.Status;
1097
- }
1098
-
1099
- namespace Multicapture {
1100
- type Status = 'available' | 'unavailable';
1101
- }
1102
-
1103
- interface NetworkToken {
1104
- /**
1105
- * Indicates if Stripe used a network token, either user provided or Stripe managed when processing the transaction.
1106
- */
1107
- used: boolean;
1108
- }
1109
-
1110
- interface Overcapture {
1111
- /**
1112
- * The maximum amount that can be captured.
1113
- */
1114
- maximum_amount_capturable: number;
1115
-
1116
- /**
1117
- * Indicates whether or not the authorized amount can be over-captured.
1118
- */
1119
- status: Overcapture.Status;
1120
- }
1121
-
1122
- namespace Overcapture {
1123
- type Status = 'available' | 'unavailable';
1124
- }
1125
-
1126
- interface PartialAuthorization {
1127
- /**
1128
- * Indicates whether the transaction requested for partial authorization feature and the authorization outcome.
1129
- */
1130
- status: PartialAuthorization.Status;
1131
- }
1132
-
1133
- namespace PartialAuthorization {
1134
- type Status =
1135
- | 'declined'
1136
- | 'fully_authorized'
1137
- | 'not_requested'
1138
- | 'partially_authorized';
1139
- }
1140
-
1141
- type RegulatedStatus = 'regulated' | 'unregulated';
1142
-
1143
- interface ThreeDSecure {
1144
- /**
1145
- * For authenticated transactions: how the customer was authenticated by
1146
- * the issuing bank.
1147
- */
1148
- authentication_flow: ThreeDSecure.AuthenticationFlow | null;
1149
-
1150
- /**
1151
- * The Electronic Commerce Indicator (ECI). A protocol-level field
1152
- * indicating what degree of authentication was performed.
1153
- */
1154
- electronic_commerce_indicator: ThreeDSecure.ElectronicCommerceIndicator | null;
1155
-
1156
- /**
1157
- * The exemption requested via 3DS and accepted by the issuer at authentication time.
1158
- */
1159
- exemption_indicator: ThreeDSecure.ExemptionIndicator | null;
1160
-
1161
- /**
1162
- * Whether Stripe requested the value of `exemption_indicator` in the transaction. This will depend on
1163
- * the outcome of Stripe's internal risk assessment.
1164
- */
1165
- exemption_indicator_applied?: boolean;
1166
-
1167
- /**
1168
- * Indicates the outcome of 3D Secure authentication.
1169
- */
1170
- result: ThreeDSecure.Result | null;
1171
-
1172
- /**
1173
- * Additional information about why 3D Secure succeeded or failed based
1174
- * on the `result`.
1175
- */
1176
- result_reason: ThreeDSecure.ResultReason | null;
1177
-
1178
- /**
1179
- * The 3D Secure 1 XID or 3D Secure 2 Directory Server Transaction ID
1180
- * (dsTransId) for this payment.
1181
- */
1182
- transaction_id: string | null;
1183
-
1184
- /**
1185
- * The version of 3D Secure that was used.
1186
- */
1187
- version: ThreeDSecure.Version | null;
1188
- }
1189
-
1190
- namespace ThreeDSecure {
1191
- type AuthenticationFlow = 'challenge' | 'frictionless';
1192
-
1193
- type ElectronicCommerceIndicator = '01' | '02' | '05' | '06' | '07';
1194
-
1195
- type ExemptionIndicator = 'low_risk' | 'none';
1196
-
1197
- type Result =
1198
- | 'attempt_acknowledged'
1199
- | 'authenticated'
1200
- | 'exempted'
1201
- | 'failed'
1202
- | 'not_supported'
1203
- | 'processing_error';
1204
-
1205
- type ResultReason =
1206
- | 'abandoned'
1207
- | 'bypassed'
1208
- | 'canceled'
1209
- | 'card_not_enrolled'
1210
- | 'network_not_supported'
1211
- | 'protocol_error'
1212
- | 'rejected';
1213
-
1214
- type Version = '1.0.2' | '2.1.0' | '2.2.0' | '2.3.0' | '2.3.1';
1215
- }
1216
-
1217
- interface Wallet {
1218
- amex_express_checkout?: Wallet.AmexExpressCheckout;
1219
-
1220
- apple_pay?: Wallet.ApplePay;
1221
-
1222
- /**
1223
- * (For tokenized numbers only.) The last four digits of the device account number.
1224
- */
1225
- dynamic_last4: string | null;
1226
-
1227
- google_pay?: Wallet.GooglePay;
1228
-
1229
- link?: Wallet.Link;
1230
-
1231
- masterpass?: Wallet.Masterpass;
1232
-
1233
- samsung_pay?: Wallet.SamsungPay;
1234
-
1235
- /**
1236
- * The type of the card wallet, one of `amex_express_checkout`, `apple_pay`, `google_pay`, `masterpass`, `samsung_pay`, `visa_checkout`, or `link`. An additional hash is included on the Wallet subhash with a name matching this value. It contains additional information specific to the card wallet type.
1237
- */
1238
- type: Wallet.Type;
1239
-
1240
- visa_checkout?: Wallet.VisaCheckout;
1241
- }
1242
-
1243
- namespace Wallet {
1244
- interface AmexExpressCheckout {}
1245
-
1246
- interface ApplePay {}
1247
-
1248
- interface GooglePay {}
1249
-
1250
- interface Link {}
1251
-
1252
- interface Masterpass {
1253
- /**
1254
- * Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1255
- */
1256
- billing_address: Stripe.Address | null;
1257
-
1258
- /**
1259
- * Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1260
- */
1261
- email: string | null;
1262
-
1263
- /**
1264
- * Owner's verified full name. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1265
- */
1266
- name: string | null;
1267
-
1268
- /**
1269
- * Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1270
- */
1271
- shipping_address: Stripe.Address | null;
1272
- }
1273
-
1274
- interface SamsungPay {}
1275
-
1276
- type Type =
1277
- | 'amex_express_checkout'
1278
- | 'apple_pay'
1279
- | 'google_pay'
1280
- | 'link'
1281
- | 'masterpass'
1282
- | 'samsung_pay'
1283
- | 'visa_checkout';
1284
-
1285
- interface VisaCheckout {
1286
- /**
1287
- * Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1288
- */
1289
- billing_address: Stripe.Address | null;
1290
-
1291
- /**
1292
- * Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1293
- */
1294
- email: string | null;
1295
-
1296
- /**
1297
- * Owner's verified full name. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1298
- */
1299
- name: string | null;
1300
-
1301
- /**
1302
- * Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1303
- */
1304
- shipping_address: Stripe.Address | null;
1305
- }
1306
- }
1307
- }
1308
-
1309
- interface CardPresent {
1310
- /**
1311
- * The authorized amount
1312
- */
1313
- amount_authorized: number | null;
1314
-
1315
- /**
1316
- * Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
1317
- */
1318
- brand: string | null;
1319
-
1320
- /**
1321
- * The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card.
1322
- */
1323
- brand_product: string | null;
1324
-
1325
- /**
1326
- * When using manual capture, a future timestamp after which the charge will be automatically refunded if uncaptured.
1327
- */
1328
- capture_before?: number;
1329
-
1330
- /**
1331
- * The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay.
1332
- */
1333
- cardholder_name: string | null;
1334
-
1335
- /**
1336
- * Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
1337
- */
1338
- country: string | null;
1339
-
1340
- /**
1341
- * A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
1342
- */
1343
- description?: string | null;
1344
-
1345
- /**
1346
- * Authorization response cryptogram.
1347
- */
1348
- emv_auth_data: string | null;
1349
-
1350
- /**
1351
- * Two-digit number representing the card's expiration month.
1352
- */
1353
- exp_month: number;
1354
-
1355
- /**
1356
- * Four-digit number representing the card's expiration year.
1357
- */
1358
- exp_year: number;
1359
-
1360
- /**
1361
- * Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
1362
- *
1363
- * *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
1364
- */
1365
- fingerprint: string | null;
1366
-
1367
- /**
1368
- * Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
1369
- */
1370
- funding: string | null;
1371
-
1372
- /**
1373
- * ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod.
1374
- */
1375
- generated_card: string | null;
1376
-
1377
- /**
1378
- * Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
1379
- */
1380
- iin?: string | null;
1381
-
1382
- /**
1383
- * Whether this [PaymentIntent](https://docs.stripe.com/api/payment_intents) is eligible for incremental authorizations. Request support using [request_incremental_authorization_support](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-payment_method_options-card_present-request_incremental_authorization_support).
1384
- */
1385
- incremental_authorization_supported: boolean;
1386
-
1387
- /**
1388
- * The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
1389
- */
1390
- issuer?: string | null;
1391
-
1392
- /**
1393
- * The last four digits of the card.
1394
- */
1395
- last4: string | null;
1396
-
1397
- /**
1398
- * ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
1399
- */
1400
- location?: string;
1401
-
1402
- /**
1403
- * Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
1404
- */
1405
- network: string | null;
1406
-
1407
- /**
1408
- * This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
1409
- */
1410
- network_transaction_id: string | null;
1411
-
1412
- /**
1413
- * Details about payments collected offline.
1414
- */
1415
- offline: CardPresent.Offline | null;
1416
-
1417
- /**
1418
- * Defines whether the authorized amount can be over-captured or not
1419
- */
1420
- overcapture_supported: boolean;
1421
-
1422
- /**
1423
- * The languages that the issuing bank recommends using for localizing any customer-facing text, as read from the card. Referenced from EMV tag 5F2D, data encoded on the card's chip.
1424
- */
1425
- preferred_locales: Array<string> | null;
1426
-
1427
- /**
1428
- * How card details were read in this transaction.
1429
- */
1430
- read_method: CardPresent.ReadMethod | null;
1431
-
1432
- /**
1433
- * ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
1434
- */
1435
- reader?: string;
1436
-
1437
- /**
1438
- * A collection of fields required to be displayed on receipts. Only required for EMV transactions.
1439
- */
1440
- receipt: CardPresent.Receipt | null;
1441
-
1442
- wallet?: CardPresent.Wallet;
1443
- }
1444
-
1445
- namespace CardPresent {
1446
- interface Offline {
1447
- /**
1448
- * Time at which the payment was collected while offline
1449
- */
1450
- stored_at: number | null;
1451
-
1452
- /**
1453
- * The method used to process this payment method offline. Only deferred is allowed.
1454
- */
1455
- type: 'deferred' | null;
1456
- }
1457
-
1458
- type ReadMethod =
1459
- | 'contact_emv'
1460
- | 'contactless_emv'
1461
- | 'contactless_magstripe_mode'
1462
- | 'magnetic_stripe_fallback'
1463
- | 'magnetic_stripe_track2';
1464
-
1465
- interface Receipt {
1466
- /**
1467
- * The type of account being debited or credited
1468
- */
1469
- account_type?: Receipt.AccountType;
1470
-
1471
- /**
1472
- * The Application Cryptogram, a unique value generated by the card to authenticate the transaction with issuers.
1473
- */
1474
- application_cryptogram: string | null;
1475
-
1476
- /**
1477
- * The Application Identifier (AID) on the card used to determine which networks are eligible to process the transaction. Referenced from EMV tag 9F12, data encoded on the card's chip.
1478
- */
1479
- application_preferred_name: string | null;
1480
-
1481
- /**
1482
- * Identifier for this transaction.
1483
- */
1484
- authorization_code: string | null;
1485
-
1486
- /**
1487
- * EMV tag 8A. A code returned by the card issuer.
1488
- */
1489
- authorization_response_code: string | null;
1490
-
1491
- /**
1492
- * Describes the method used by the cardholder to verify ownership of the card. One of the following: `approval`, `failure`, `none`, `offline_pin`, `offline_pin_and_signature`, `online_pin`, or `signature`.
1493
- */
1494
- cardholder_verification_method: string | null;
1495
-
1496
- /**
1497
- * Similar to the application_preferred_name, identifying the applications (AIDs) available on the card. Referenced from EMV tag 84.
1498
- */
1499
- dedicated_file_name: string | null;
1500
-
1501
- /**
1502
- * A 5-byte string that records the checks and validations that occur between the card and the terminal. These checks determine how the terminal processes the transaction and what risk tolerance is acceptable. Referenced from EMV Tag 95.
1503
- */
1504
- terminal_verification_results: string | null;
1505
-
1506
- /**
1507
- * An indication of which steps were completed during the card read process. Referenced from EMV Tag 9B.
1508
- */
1509
- transaction_status_information: string | null;
1510
- }
1511
-
1512
- namespace Receipt {
1513
- type AccountType = 'checking' | 'credit' | 'prepaid' | 'unknown';
1514
- }
1515
-
1516
- interface Wallet {
1517
- /**
1518
- * The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`.
1519
- */
1520
- type: Wallet.Type;
1521
- }
1522
-
1523
- namespace Wallet {
1524
- type Type = 'apple_pay' | 'google_pay' | 'samsung_pay' | 'unknown';
1525
- }
1526
- }
1527
-
1528
- interface Cashapp {
1529
- /**
1530
- * A unique and immutable identifier assigned by Cash App to every buyer.
1531
- */
1532
- buyer_id: string | null;
1533
-
1534
- /**
1535
- * A public identifier for buyers using Cash App.
1536
- */
1537
- cashtag: string | null;
1538
-
1539
- /**
1540
- * A unique and immutable identifier of payments assigned by Cash App
1541
- */
1542
- transaction_id: string | null;
1543
- }
1544
-
1545
- interface Crypto {
1546
- /**
1547
- * The wallet address of the customer.
1548
- */
1549
- buyer_address?: string;
1550
-
1551
- /**
1552
- * The blockchain network that the transaction was sent on.
1553
- */
1554
- network?: Crypto.Network;
1555
-
1556
- /**
1557
- * The token currency that the transaction was sent with.
1558
- */
1559
- token_currency?: Crypto.TokenCurrency;
1560
-
1561
- /**
1562
- * The blockchain transaction hash of the crypto payment.
1563
- */
1564
- transaction_hash?: string;
1565
- }
1566
-
1567
- namespace Crypto {
1568
- type Network = 'base' | 'ethereum' | 'polygon' | 'solana' | 'tempo';
1569
-
1570
- type TokenCurrency = 'usdc' | 'usdg' | 'usdp';
1571
- }
1572
-
1573
- interface CustomerBalance {}
1574
-
1575
- interface Eps {
1576
- /**
1577
- * The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`.
1578
- */
1579
- bank: Eps.Bank | null;
1580
-
1581
- /**
1582
- * Owner's verified full name. Values are verified or provided by EPS directly
1583
- * (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1584
- * EPS rarely provides this information so the attribute is usually empty.
1585
- */
1586
- verified_name: string | null;
1587
- }
1588
-
1589
- namespace Eps {
1590
- type Bank =
1591
- | 'arzte_und_apotheker_bank'
1592
- | 'austrian_anadi_bank_ag'
1593
- | 'bank_austria'
1594
- | 'bankhaus_carl_spangler'
1595
- | 'bankhaus_schelhammer_und_schattera_ag'
1596
- | 'bawag_psk_ag'
1597
- | 'bks_bank_ag'
1598
- | 'brull_kallmus_bank_ag'
1599
- | 'btv_vier_lander_bank'
1600
- | 'capital_bank_grawe_gruppe_ag'
1601
- | 'deutsche_bank_ag'
1602
- | 'dolomitenbank'
1603
- | 'easybank_ag'
1604
- | 'erste_bank_und_sparkassen'
1605
- | 'hypo_alpeadriabank_international_ag'
1606
- | 'hypo_bank_burgenland_aktiengesellschaft'
1607
- | 'hypo_noe_lb_fur_niederosterreich_u_wien'
1608
- | 'hypo_oberosterreich_salzburg_steiermark'
1609
- | 'hypo_tirol_bank_ag'
1610
- | 'hypo_vorarlberg_bank_ag'
1611
- | 'marchfelder_bank'
1612
- | 'oberbank_ag'
1613
- | 'raiffeisen_bankengruppe_osterreich'
1614
- | 'schoellerbank_ag'
1615
- | 'sparda_bank_wien'
1616
- | 'volksbank_gruppe'
1617
- | 'volkskreditbank_ag'
1618
- | 'vr_bank_braunau';
1619
- }
1620
-
1621
- interface Fpx {
1622
- /**
1623
- * Account holder type, if provided. Can be one of `individual` or `company`.
1624
- */
1625
- account_holder_type: Fpx.AccountHolderType | null;
1626
-
1627
- /**
1628
- * The customer's bank. Can be one of `affin_bank`, `agrobank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, `pb_enterprise`, or `bank_of_china`.
1629
- */
1630
- bank: Fpx.Bank;
1631
-
1632
- /**
1633
- * Unique transaction id generated by FPX for every request from the merchant
1634
- */
1635
- transaction_id: string | null;
1636
- }
1637
-
1638
- namespace Fpx {
1639
- type AccountHolderType = 'company' | 'individual';
1640
-
1641
- type Bank =
1642
- | 'affin_bank'
1643
- | 'agrobank'
1644
- | 'alliance_bank'
1645
- | 'ambank'
1646
- | 'bank_islam'
1647
- | 'bank_muamalat'
1648
- | 'bank_of_china'
1649
- | 'bank_rakyat'
1650
- | 'bsn'
1651
- | 'cimb'
1652
- | 'deutsche_bank'
1653
- | 'hong_leong_bank'
1654
- | 'hsbc'
1655
- | 'kfh'
1656
- | 'maybank2e'
1657
- | 'maybank2u'
1658
- | 'ocbc'
1659
- | 'pb_enterprise'
1660
- | 'public_bank'
1661
- | 'rhb'
1662
- | 'standard_chartered'
1663
- | 'uob';
1664
- }
1665
-
1666
- interface Giropay {
1667
- /**
1668
- * Bank code of bank associated with the bank account.
1669
- */
1670
- bank_code: string | null;
1671
-
1672
- /**
1673
- * Name of the bank associated with the bank account.
1674
- */
1675
- bank_name: string | null;
1676
-
1677
- /**
1678
- * Bank Identifier Code of the bank associated with the bank account.
1679
- */
1680
- bic: string | null;
1681
-
1682
- /**
1683
- * Owner's verified full name. Values are verified or provided by Giropay directly
1684
- * (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1685
- * Giropay rarely provides this information so the attribute is usually empty.
1686
- */
1687
- verified_name: string | null;
1688
- }
1689
-
1690
- interface Gopay {}
1691
-
1692
- interface Grabpay {
1693
- /**
1694
- * Unique transaction id generated by GrabPay
1695
- */
1696
- transaction_id: string | null;
1697
- }
1698
-
1699
- interface IdBankTransfer {
1700
- /**
1701
- * Account number of the bank account to transfer funds to.
1702
- */
1703
- account_number: string;
1704
-
1705
- /**
1706
- * Bank where the account is located.
1707
- */
1708
- bank: IdBankTransfer.Bank;
1709
-
1710
- /**
1711
- * Local bank code of the bank.
1712
- */
1713
- bank_code?: string;
1714
-
1715
- /**
1716
- * Name of the bank associated with the bank account.
1717
- */
1718
- bank_name?: string;
1719
-
1720
- /**
1721
- * Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
1722
- */
1723
- display_name?: string;
1724
- }
1725
-
1726
- namespace IdBankTransfer {
1727
- type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
1728
- }
1729
-
1730
- interface Ideal {
1731
- /**
1732
- * The customer's bank. Can be one of `abn_amro`, `adyen`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `mollie`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
1733
- */
1734
- bank: Ideal.Bank | null;
1735
-
1736
- /**
1737
- * The Bank Identifier Code of the customer's bank.
1738
- */
1739
- bic: Ideal.Bic | null;
1740
-
1741
- /**
1742
- * The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.
1743
- */
1744
- generated_sepa_debit: string | Stripe.PaymentMethod | null;
1745
-
1746
- /**
1747
- * The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.
1748
- */
1749
- generated_sepa_debit_mandate: string | Stripe.Mandate | null;
1750
-
1751
- /**
1752
- * Last four characters of the IBAN.
1753
- */
1754
- iban_last4: string | null;
1755
-
1756
- /**
1757
- * Unique transaction ID generated by iDEAL.
1758
- */
1759
- transaction_id: string | null;
1760
-
1761
- /**
1762
- * Owner's verified full name. Values are verified or provided by iDEAL directly
1763
- * (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1764
- */
1765
- verified_name: string | null;
1766
- }
1767
-
1768
- namespace Ideal {
1769
- type Bank =
1770
- | 'abn_amro'
1771
- | 'adyen'
1772
- | 'asn_bank'
1773
- | 'bunq'
1774
- | 'buut'
1775
- | 'finom'
1776
- | 'handelsbanken'
1777
- | 'ing'
1778
- | 'knab'
1779
- | 'mollie'
1780
- | 'moneyou'
1781
- | 'n26'
1782
- | 'nn'
1783
- | 'rabobank'
1784
- | 'regiobank'
1785
- | 'revolut'
1786
- | 'sns_bank'
1787
- | 'triodos_bank'
1788
- | 'van_lanschot'
1789
- | 'yoursafe';
1790
-
1791
- type Bic =
1792
- | 'ABNANL2A'
1793
- | 'ADYBNL2A'
1794
- | 'ASNBNL21'
1795
- | 'BITSNL2A'
1796
- | 'BUNQNL2A'
1797
- | 'BUUTNL2A'
1798
- | 'FNOMNL22'
1799
- | 'FVLBNL22'
1800
- | 'HANDNL2A'
1801
- | 'INGBNL2A'
1802
- | 'KNABNL2H'
1803
- | 'MLLENL2A'
1804
- | 'MOYONL21'
1805
- | 'NNBANL2G'
1806
- | 'NTSBDEB1'
1807
- | 'RABONL2U'
1808
- | 'RBRBNL21'
1809
- | 'REVOIE23'
1810
- | 'REVOLT21'
1811
- | 'SNSBNL2A'
1812
- | 'TRIONL2U';
1813
- }
1814
-
1815
- interface InteracPresent {
1816
- /**
1817
- * Card brand. Can be `interac`, `mastercard` or `visa`.
1818
- */
1819
- brand: string | null;
1820
-
1821
- /**
1822
- * The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay.
1823
- */
1824
- cardholder_name: string | null;
1825
-
1826
- /**
1827
- * Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
1828
- */
1829
- country: string | null;
1830
-
1831
- /**
1832
- * A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
1833
- */
1834
- description?: string | null;
1835
-
1836
- /**
1837
- * Authorization response cryptogram.
1838
- */
1839
- emv_auth_data: string | null;
1840
-
1841
- /**
1842
- * Two-digit number representing the card's expiration month.
1843
- */
1844
- exp_month: number;
1845
-
1846
- /**
1847
- * Four-digit number representing the card's expiration year.
1848
- */
1849
- exp_year: number;
1850
-
1851
- /**
1852
- * Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
1853
- *
1854
- * *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
1855
- */
1856
- fingerprint: string | null;
1857
-
1858
- /**
1859
- * Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
1860
- */
1861
- funding: string | null;
1862
-
1863
- /**
1864
- * ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod.
1865
- */
1866
- generated_card: string | null;
1867
-
1868
- /**
1869
- * Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
1870
- */
1871
- iin?: string | null;
1872
-
1873
- /**
1874
- * The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
1875
- */
1876
- issuer?: string | null;
1877
-
1878
- /**
1879
- * The last four digits of the card.
1880
- */
1881
- last4: string | null;
1882
-
1883
- /**
1884
- * ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
1885
- */
1886
- location?: string;
1887
-
1888
- /**
1889
- * Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
1890
- */
1891
- network: string | null;
1892
-
1893
- /**
1894
- * This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
1895
- */
1896
- network_transaction_id: string | null;
1897
-
1898
- /**
1899
- * The languages that the issuing bank recommends using for localizing any customer-facing text, as read from the card. Referenced from EMV tag 5F2D, data encoded on the card's chip.
1900
- */
1901
- preferred_locales: Array<string> | null;
1902
-
1903
- /**
1904
- * How card details were read in this transaction.
1905
- */
1906
- read_method: InteracPresent.ReadMethod | null;
1907
-
1908
- /**
1909
- * ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
1910
- */
1911
- reader?: string;
1912
-
1913
- /**
1914
- * A collection of fields required to be displayed on receipts. Only required for EMV transactions.
1915
- */
1916
- receipt: InteracPresent.Receipt | null;
1917
- }
1918
-
1919
- namespace InteracPresent {
1920
- type ReadMethod =
1921
- | 'contact_emv'
1922
- | 'contactless_emv'
1923
- | 'contactless_magstripe_mode'
1924
- | 'magnetic_stripe_fallback'
1925
- | 'magnetic_stripe_track2';
1926
-
1927
- interface Receipt {
1928
- /**
1929
- * The type of account being debited or credited
1930
- */
1931
- account_type?: Receipt.AccountType;
1932
-
1933
- /**
1934
- * The Application Cryptogram, a unique value generated by the card to authenticate the transaction with issuers.
1935
- */
1936
- application_cryptogram: string | null;
1937
-
1938
- /**
1939
- * The Application Identifier (AID) on the card used to determine which networks are eligible to process the transaction. Referenced from EMV tag 9F12, data encoded on the card's chip.
1940
- */
1941
- application_preferred_name: string | null;
1942
-
1943
- /**
1944
- * Identifier for this transaction.
1945
- */
1946
- authorization_code: string | null;
1947
-
1948
- /**
1949
- * EMV tag 8A. A code returned by the card issuer.
1950
- */
1951
- authorization_response_code: string | null;
1952
-
1953
- /**
1954
- * Describes the method used by the cardholder to verify ownership of the card. One of the following: `approval`, `failure`, `none`, `offline_pin`, `offline_pin_and_signature`, `online_pin`, or `signature`.
1955
- */
1956
- cardholder_verification_method: string | null;
1957
-
1958
- /**
1959
- * Similar to the application_preferred_name, identifying the applications (AIDs) available on the card. Referenced from EMV tag 84.
1960
- */
1961
- dedicated_file_name: string | null;
1962
-
1963
- /**
1964
- * A 5-byte string that records the checks and validations that occur between the card and the terminal. These checks determine how the terminal processes the transaction and what risk tolerance is acceptable. Referenced from EMV Tag 95.
1965
- */
1966
- terminal_verification_results: string | null;
1967
-
1968
- /**
1969
- * An indication of which steps were completed during the card read process. Referenced from EMV Tag 9B.
1970
- */
1971
- transaction_status_information: string | null;
1972
- }
1973
-
1974
- namespace Receipt {
1975
- type AccountType = 'checking' | 'savings' | 'unknown';
1976
- }
1977
- }
1978
-
1979
- interface KakaoPay {
1980
- /**
1981
- * A unique identifier for the buyer as determined by the local payment processor.
1982
- */
1983
- buyer_id: string | null;
1984
-
1985
- /**
1986
- * The Kakao Pay transaction ID associated with this payment.
1987
- */
1988
- transaction_id: string | null;
1989
- }
1990
-
1991
- interface Klarna {
1992
- /**
1993
- * The payer details for this transaction.
1994
- */
1995
- payer_details: Klarna.PayerDetails | null;
1996
-
1997
- /**
1998
- * The Klarna payment method used for this transaction.
1999
- * Can be one of `pay_later`, `pay_now`, `pay_with_financing`, or `pay_in_installments`
2000
- */
2001
- payment_method_category: string | null;
2002
-
2003
- /**
2004
- * Preferred language of the Klarna authorization page that the customer is redirected to.
2005
- * Can be one of `de-AT`, `en-AT`, `nl-BE`, `fr-BE`, `en-BE`, `de-DE`, `en-DE`, `da-DK`, `en-DK`, `es-ES`, `en-ES`, `fi-FI`, `sv-FI`, `en-FI`, `en-GB`, `en-IE`, `it-IT`, `en-IT`, `nl-NL`, `en-NL`, `nb-NO`, `en-NO`, `sv-SE`, `en-SE`, `en-US`, `es-US`, `fr-FR`, `en-FR`, `cs-CZ`, `en-CZ`, `ro-RO`, `en-RO`, `el-GR`, `en-GR`, `en-AU`, `en-NZ`, `en-CA`, `fr-CA`, `pl-PL`, `en-PL`, `pt-PT`, `en-PT`, `de-CH`, `fr-CH`, `it-CH`, or `en-CH`
2006
- */
2007
- preferred_locale: string | null;
2008
- }
2009
-
2010
- namespace Klarna {
2011
- interface PayerDetails {
2012
- /**
2013
- * The payer's address
2014
- */
2015
- address: PayerDetails.Address | null;
2016
- }
2017
-
2018
- namespace PayerDetails {
2019
- interface Address {
2020
- /**
2021
- * The payer address country
2022
- */
2023
- country: string | null;
2024
- }
2025
- }
2026
- }
2027
-
2028
- interface Konbini {
2029
- /**
2030
- * If the payment succeeded, this contains the details of the convenience store where the payment was completed.
2031
- */
2032
- store: Konbini.Store | null;
2033
- }
2034
-
2035
- namespace Konbini {
2036
- interface Store {
2037
- /**
2038
- * The name of the convenience store chain where the payment was completed.
2039
- */
2040
- chain: Store.Chain | null;
2041
- }
2042
-
2043
- namespace Store {
2044
- type Chain = 'familymart' | 'lawson' | 'ministop' | 'seicomart';
2045
- }
2046
- }
2047
-
2048
- interface KrCard {
2049
- /**
2050
- * The local credit or debit card brand.
2051
- */
2052
- brand: KrCard.Brand | null;
2053
-
2054
- /**
2055
- * A unique identifier for the buyer as determined by the local payment processor.
2056
- */
2057
- buyer_id: string | null;
2058
-
2059
- /**
2060
- * The last four digits of the card. This may not be present for American Express cards.
2061
- */
2062
- last4: string | null;
2063
-
2064
- /**
2065
- * The Korean Card transaction ID associated with this payment.
2066
- */
2067
- transaction_id: string | null;
2068
- }
2069
-
2070
- namespace KrCard {
2071
- type Brand =
2072
- | 'bc'
2073
- | 'citi'
2074
- | 'hana'
2075
- | 'hyundai'
2076
- | 'jeju'
2077
- | 'jeonbuk'
2078
- | 'kakaobank'
2079
- | 'kbank'
2080
- | 'kdbbank'
2081
- | 'kookmin'
2082
- | 'kwangju'
2083
- | 'lotte'
2084
- | 'mg'
2085
- | 'nh'
2086
- | 'post'
2087
- | 'samsung'
2088
- | 'savingsbank'
2089
- | 'shinhan'
2090
- | 'shinhyup'
2091
- | 'suhyup'
2092
- | 'tossbank'
2093
- | 'woori';
2094
- }
2095
-
2096
- interface Link {
2097
- /**
2098
- * Two-letter ISO code representing the funding source country beneath the Link payment.
2099
- * You could use this attribute to get a sense of international fees.
2100
- */
2101
- country: string | null;
2102
- }
2103
-
2104
- interface MbWay {}
2105
-
2106
- interface Mobilepay {
2107
- /**
2108
- * Internal card details
2109
- */
2110
- card: Mobilepay.Card | null;
2111
- }
2112
-
2113
- namespace Mobilepay {
2114
- interface Card {
2115
- /**
2116
- * Brand of the card used in the transaction
2117
- */
2118
- brand: string | null;
2119
-
2120
- /**
2121
- * Two-letter ISO code representing the country of the card
2122
- */
2123
- country: string | null;
2124
-
2125
- /**
2126
- * Two digit number representing the card's expiration month
2127
- */
2128
- exp_month: number | null;
2129
-
2130
- /**
2131
- * Two digit number representing the card's expiration year
2132
- */
2133
- exp_year: number | null;
2134
-
2135
- /**
2136
- * The last 4 digits of the card
2137
- */
2138
- last4: string | null;
2139
- }
2140
- }
2141
-
2142
- interface Multibanco {
2143
- /**
2144
- * Entity number associated with this Multibanco payment.
2145
- */
2146
- entity: string | null;
2147
-
2148
- /**
2149
- * Reference number associated with this Multibanco payment.
2150
- */
2151
- reference: string | null;
2152
- }
2153
-
2154
- interface NaverPay {
2155
- /**
2156
- * A unique identifier for the buyer as determined by the local payment processor.
2157
- */
2158
- buyer_id: string | null;
2159
-
2160
- /**
2161
- * The Naver Pay transaction ID associated with this payment.
2162
- */
2163
- transaction_id: string | null;
2164
- }
2165
-
2166
- interface NzBankAccount {
2167
- /**
2168
- * The name on the bank account. Only present if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod's billing details.
2169
- */
2170
- account_holder_name: string | null;
2171
-
2172
- /**
2173
- * The numeric code for the bank account's bank.
2174
- */
2175
- bank_code: string;
2176
-
2177
- /**
2178
- * The name of the bank.
2179
- */
2180
- bank_name: string;
2181
-
2182
- /**
2183
- * The numeric code for the bank account's bank branch.
2184
- */
2185
- branch_code: string;
2186
-
2187
- /**
2188
- * Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
2189
- */
2190
- expected_debit_date?: string;
2191
-
2192
- /**
2193
- * Last four digits of the bank account number.
2194
- */
2195
- last4: string;
2196
-
2197
- /**
2198
- * The suffix of the bank account number.
2199
- */
2200
- suffix: string | null;
2201
- }
2202
-
2203
- interface Oxxo {
2204
- /**
2205
- * OXXO reference number
2206
- */
2207
- number: string | null;
2208
- }
2209
-
2210
- interface P24 {
2211
- /**
2212
- * The customer's bank. Can be one of `ing`, `citi_handlowy`, `tmobile_usbugi_bankowe`, `plus_bank`, `etransfer_pocztowy24`, `banki_spbdzielcze`, `bank_nowy_bfg_sa`, `getin_bank`, `velobank`, `blik`, `noble_pay`, `ideabank`, `envelobank`, `santander_przelew24`, `nest_przelew`, `mbank_mtransfer`, `inteligo`, `pbac_z_ipko`, `bnp_paribas`, `credit_agricole`, `toyota_bank`, `bank_pekao_sa`, `volkswagen_bank`, `bank_millennium`, `alior_bank`, or `boz`.
2213
- */
2214
- bank: P24.Bank | null;
2215
-
2216
- /**
2217
- * Unique reference for this Przelewy24 payment.
2218
- */
2219
- reference: string | null;
2220
-
2221
- /**
2222
- * Owner's verified full name. Values are verified or provided by Przelewy24 directly
2223
- * (if supported) at the time of authorization or settlement. They cannot be set or mutated.
2224
- * Przelewy24 rarely provides this information so the attribute is usually empty.
2225
- */
2226
- verified_name: string | null;
2227
- }
2228
-
2229
- namespace P24 {
2230
- type Bank =
2231
- | 'alior_bank'
2232
- | 'bank_millennium'
2233
- | 'bank_nowy_bfg_sa'
2234
- | 'bank_pekao_sa'
2235
- | 'banki_spbdzielcze'
2236
- | 'blik'
2237
- | 'bnp_paribas'
2238
- | 'boz'
2239
- | 'citi_handlowy'
2240
- | 'credit_agricole'
2241
- | 'envelobank'
2242
- | 'etransfer_pocztowy24'
2243
- | 'getin_bank'
2244
- | 'ideabank'
2245
- | 'ing'
2246
- | 'inteligo'
2247
- | 'mbank_mtransfer'
2248
- | 'nest_przelew'
2249
- | 'noble_pay'
2250
- | 'pbac_z_ipko'
2251
- | 'plus_bank'
2252
- | 'santander_przelew24'
2253
- | 'tmobile_usbugi_bankowe'
2254
- | 'toyota_bank'
2255
- | 'velobank'
2256
- | 'volkswagen_bank';
2257
- }
2258
-
2259
- interface PayByBank {}
2260
-
2261
- interface Payco {
2262
- /**
2263
- * A unique identifier for the buyer as determined by the local payment processor.
2264
- */
2265
- buyer_id: string | null;
2266
-
2267
- /**
2268
- * The Payco transaction ID associated with this payment.
2269
- */
2270
- transaction_id: string | null;
2271
- }
2272
-
2273
- interface Paynow {
2274
- /**
2275
- * ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
2276
- */
2277
- location?: string;
2278
-
2279
- /**
2280
- * ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
2281
- */
2282
- reader?: string;
2283
-
2284
- /**
2285
- * Reference number associated with this PayNow payment
2286
- */
2287
- reference: string | null;
2288
- }
2289
-
2290
- interface Paypal {
2291
- /**
2292
- * Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
2293
- */
2294
- country: string | null;
2295
-
2296
- /**
2297
- * Owner's email. Values are provided by PayPal directly
2298
- * (if supported) at the time of authorization or settlement. They cannot be set or mutated.
2299
- */
2300
- payer_email: string | null;
2301
-
2302
- /**
2303
- * PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
2304
- */
2305
- payer_id: string | null;
2306
-
2307
- /**
2308
- * Owner's full name. Values provided by PayPal directly
2309
- * (if supported) at the time of authorization or settlement. They cannot be set or mutated.
2310
- */
2311
- payer_name: string | null;
2312
-
2313
- /**
2314
- * The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction.
2315
- */
2316
- seller_protection: Paypal.SellerProtection | null;
2317
-
2318
- /**
2319
- * The shipping address for the customer, as supplied by the merchant at the point of payment
2320
- * execution. This shipping address will not be updated if the merchant updates the shipping
2321
- * address on the PaymentIntent after the PaymentIntent was successfully confirmed.
2322
- */
2323
- shipping?: Stripe.Address | null;
2324
-
2325
- /**
2326
- * A unique ID generated by PayPal for this transaction.
2327
- */
2328
- transaction_id: string | null;
2329
-
2330
- /**
2331
- * The shipping address for the customer, as supplied by the merchant at the point of payment
2332
- * execution. This shipping address will not be updated if the merchant updates the shipping
2333
- * address on the PaymentIntent after the PaymentIntent was successfully confirmed.
2334
- */
2335
- verified_address?: Stripe.Address | null;
2336
-
2337
- /**
2338
- * Owner's verified email. Values are verified or provided by PayPal directly
2339
- * (if supported) at the time of authorization or settlement. They cannot be set or mutated.
2340
- */
2341
- verified_email?: string | null;
2342
-
2343
- /**
2344
- * Owner's verified full name. Values are verified or provided by PayPal directly
2345
- * (if supported) at the time of authorization or settlement. They cannot be set or mutated.
2346
- */
2347
- verified_name?: string | null;
2348
- }
2349
-
2350
- namespace Paypal {
2351
- interface SellerProtection {
2352
- /**
2353
- * An array of conditions that are covered for the transaction, if applicable.
2354
- */
2355
- dispute_categories: Array<SellerProtection.DisputeCategory> | null;
2356
-
2357
- /**
2358
- * Indicates whether the transaction is eligible for PayPal's seller protection.
2359
- */
2360
- status: SellerProtection.Status;
2361
- }
2362
-
2363
- namespace SellerProtection {
2364
- type DisputeCategory = 'fraudulent' | 'product_not_received';
2365
-
2366
- type Status = 'eligible' | 'not_eligible' | 'partially_eligible';
2367
- }
2368
- }
2369
-
2370
- interface Paypay {}
2371
-
2372
- interface Payto {
2373
- /**
2374
- * Bank-State-Branch number of the bank account.
2375
- */
2376
- bsb_number: string | null;
2377
-
2378
- /**
2379
- * Last four digits of the bank account number.
2380
- */
2381
- last4: string | null;
2382
-
2383
- /**
2384
- * ID of the mandate used to make this payment.
2385
- */
2386
- mandate?: string;
2387
-
2388
- /**
2389
- * The PayID alias for the bank account.
2390
- */
2391
- pay_id: string | null;
2392
- }
2393
-
2394
- interface Pix {
2395
- /**
2396
- * Unique transaction id generated by BCB
2397
- */
2398
- bank_transaction_id?: string | null;
2399
-
2400
- /**
2401
- * ID of the multi use Mandate generated by the PaymentIntent
2402
- */
2403
- mandate?: string;
2404
- }
2405
-
2406
- interface Promptpay {
2407
- /**
2408
- * Bill reference generated by PromptPay
2409
- */
2410
- reference: string | null;
2411
- }
2412
-
2413
- interface Qris {}
2414
-
2415
- interface Rechnung {
2416
- /**
2417
- * Payment portal URL.
2418
- */
2419
- payment_portal_url: string | null;
2420
- }
2421
-
2422
- interface RevolutPay {
2423
- funding?: RevolutPay.Funding;
2424
-
2425
- /**
2426
- * The Revolut Pay transaction ID associated with this payment.
2427
- */
2428
- transaction_id: string | null;
2429
- }
2430
-
2431
- namespace RevolutPay {
2432
- interface Funding {
2433
- card?: Funding.Card;
2434
-
2435
- /**
2436
- * funding type of the underlying payment method.
2437
- */
2438
- type: 'card' | null;
2439
- }
2440
-
2441
- namespace Funding {
2442
- interface Card {
2443
- /**
2444
- * Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
2445
- */
2446
- brand: string | null;
2447
-
2448
- /**
2449
- * The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
2450
- */
2451
- brand_product?: string | null;
2452
-
2453
- /**
2454
- * Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
2455
- */
2456
- country: string | null;
2457
-
2458
- /**
2459
- * Two-digit number representing the card's expiration month.
2460
- */
2461
- exp_month: number | null;
2462
-
2463
- /**
2464
- * Four-digit number representing the card's expiration year.
2465
- */
2466
- exp_year: number | null;
2467
-
2468
- /**
2469
- * Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
2470
- */
2471
- funding: string | null;
2472
-
2473
- /**
2474
- * The last four digits of the card.
2475
- */
2476
- last4: string | null;
2477
- }
2478
- }
2479
- }
2480
-
2481
- interface SamsungPay {
2482
- /**
2483
- * A unique identifier for the buyer as determined by the local payment processor.
2484
- */
2485
- buyer_id: string | null;
2486
-
2487
- /**
2488
- * The Samsung Pay transaction ID associated with this payment.
2489
- */
2490
- transaction_id: string | null;
2491
- }
2492
-
2493
- interface Satispay {
2494
- /**
2495
- * The Satispay transaction ID associated with this payment.
2496
- */
2497
- transaction_id: string | null;
2498
- }
2499
-
2500
- interface SepaCreditTransfer {
2501
- /**
2502
- * Name of the bank associated with the bank account.
2503
- */
2504
- bank_name: string | null;
2505
-
2506
- /**
2507
- * Bank Identifier Code of the bank associated with the bank account.
2508
- */
2509
- bic: string | null;
2510
-
2511
- /**
2512
- * IBAN of the bank account to transfer funds to.
2513
- */
2514
- iban: string | null;
2515
- }
2516
-
2517
- interface SepaDebit {
2518
- /**
2519
- * Bank code of bank associated with the bank account.
2520
- */
2521
- bank_code: string | null;
2522
-
2523
- /**
2524
- * Branch code of bank associated with the bank account.
2525
- */
2526
- branch_code: string | null;
2527
-
2528
- /**
2529
- * Two-letter ISO code representing the country the bank account is located in.
2530
- */
2531
- country: string | null;
2532
-
2533
- /**
2534
- * Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
2535
- */
2536
- expected_debit_date?: string;
2537
-
2538
- /**
2539
- * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
2540
- */
2541
- fingerprint: string | null;
2542
-
2543
- /**
2544
- * Last four characters of the IBAN.
2545
- */
2546
- last4: string | null;
2547
-
2548
- /**
2549
- * Find the ID of the mandate used for this payment under the [payment_method_details.sepa_debit.mandate](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-sepa_debit-mandate) property on the Charge. Use this mandate ID to [retrieve the Mandate](https://docs.stripe.com/api/mandates/retrieve).
2550
- */
2551
- mandate: string | null;
2552
- }
2553
-
2554
- interface Shopeepay {}
2555
-
2556
- interface Sofort {
2557
- /**
2558
- * Bank code of bank associated with the bank account.
2559
- */
2560
- bank_code: string | null;
2561
-
2562
- /**
2563
- * Name of the bank associated with the bank account.
2564
- */
2565
- bank_name: string | null;
2566
-
2567
- /**
2568
- * Bank Identifier Code of the bank associated with the bank account.
2569
- */
2570
- bic: string | null;
2571
-
2572
- /**
2573
- * Two-letter ISO code representing the country the bank account is located in.
2574
- */
2575
- country: string | null;
2576
-
2577
- /**
2578
- * The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.
2579
- */
2580
- generated_sepa_debit: string | Stripe.PaymentMethod | null;
2581
-
2582
- /**
2583
- * The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.
2584
- */
2585
- generated_sepa_debit_mandate: string | Stripe.Mandate | null;
2586
-
2587
- /**
2588
- * Last four characters of the IBAN.
2589
- */
2590
- iban_last4: string | null;
2591
-
2592
- /**
2593
- * Preferred language of the SOFORT authorization page that the customer is redirected to.
2594
- * Can be one of `de`, `en`, `es`, `fr`, `it`, `nl`, or `pl`
2595
- */
2596
- preferred_language: Sofort.PreferredLanguage | null;
2597
-
2598
- /**
2599
- * Owner's verified full name. Values are verified or provided by SOFORT directly
2600
- * (if supported) at the time of authorization or settlement. They cannot be set or mutated.
2601
- */
2602
- verified_name: string | null;
2603
- }
2604
-
2605
- namespace Sofort {
2606
- type PreferredLanguage =
2607
- | 'de'
2608
- | 'en'
2609
- | 'es'
2610
- | 'fr'
2611
- | 'it'
2612
- | 'nl'
2613
- | 'pl';
2614
- }
2615
-
2616
- interface StripeAccount {}
2617
-
2618
- interface StripeBalance {
2619
- /**
2620
- * The connected account ID whose Stripe balance to use as the source of payment
2621
- */
2622
- account?: string | null;
2623
- }
2624
-
2625
- interface Swish {
2626
- /**
2627
- * Uniquely identifies the payer's Swish account. You can use this attribute to check whether two Swish transactions were paid for by the same payer
2628
- */
2629
- fingerprint: string | null;
2630
-
2631
- /**
2632
- * Payer bank reference number for the payment
2633
- */
2634
- payment_reference: string | null;
2635
-
2636
- /**
2637
- * The last four digits of the Swish account phone number
2638
- */
2639
- verified_phone_last4: string | null;
2640
- }
2641
-
2642
- interface Twint {}
2643
-
2644
- interface Upi {
2645
- /**
2646
- * Customer's unique Virtual Payment Address.
2647
- */
2648
- vpa: string | null;
2649
- }
2650
-
2651
- interface UsBankAccount {
2652
- /**
2653
- * Account holder type: individual or company.
2654
- */
2655
- account_holder_type: UsBankAccount.AccountHolderType | null;
2656
-
2657
- /**
2658
- * Account type: checkings or savings. Defaults to checking if omitted.
2659
- */
2660
- account_type: UsBankAccount.AccountType | null;
2661
-
2662
- /**
2663
- * Name of the bank associated with the bank account.
2664
- */
2665
- bank_name: string | null;
2666
-
2667
- /**
2668
- * Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
2669
- */
2670
- expected_debit_date?: string;
2671
-
2672
- /**
2673
- * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
2674
- */
2675
- fingerprint: string | null;
2676
-
2677
- /**
2678
- * Last four digits of the bank account number.
2679
- */
2680
- last4: string | null;
2681
-
2682
- /**
2683
- * ID of the mandate used to make this payment.
2684
- */
2685
- mandate?: string | Stripe.Mandate;
2686
-
2687
- /**
2688
- * Reference number to locate ACH payments with customer's bank.
2689
- */
2690
- payment_reference: string | null;
2691
-
2692
- /**
2693
- * Routing number of the bank account.
2694
- */
2695
- routing_number: string | null;
2696
- }
2697
-
2698
- namespace UsBankAccount {
2699
- type AccountHolderType = 'company' | 'individual';
2700
-
2701
- type AccountType = 'checking' | 'savings';
2702
- }
2703
-
2704
- interface Wechat {}
2705
-
2706
- interface WechatPay {
2707
- /**
2708
- * Uniquely identifies this particular WeChat Pay account. You can use this attribute to check whether two WeChat accounts are the same.
2709
- */
2710
- fingerprint: string | null;
2711
-
2712
- /**
2713
- * ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
2714
- */
2715
- location?: string;
2716
-
2717
- /**
2718
- * ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
2719
- */
2720
- reader?: string;
2721
-
2722
- /**
2723
- * Transaction ID of this particular WeChat Pay transaction.
2724
- */
2725
- transaction_id: string | null;
2726
- }
2727
-
2728
- interface Zip {}
2729
- }
2730
-
2731
- interface PresentmentDetails {
2732
- /**
2733
- * Amount intended to be collected by this payment, denominated in `presentment_currency`.
2734
- */
2735
- presentment_amount: number;
2736
-
2737
- /**
2738
- * Currency presented to the customer during payment.
2739
- */
2740
- presentment_currency: string;
2741
- }
2742
-
2743
- interface RadarOptions {
2744
- /**
2745
- * A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
2746
- */
2747
- session?: string;
2748
- }
2749
-
2750
- interface Shipping {
2751
- address?: Stripe.Address;
2752
-
2753
- /**
2754
- * The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
2755
- */
2756
- carrier?: string | null;
2757
-
2758
- /**
2759
- * Recipient name.
2760
- */
2761
- name?: string;
2762
-
2763
- /**
2764
- * Recipient phone (including extension).
2765
- */
2766
- phone?: string | null;
2767
-
2768
- /**
2769
- * The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.
2770
- */
2771
- tracking_number?: string | null;
2772
- }
2773
-
2774
- type Status = 'failed' | 'pending' | 'succeeded';
2775
-
2776
- interface TransferData {
2777
- /**
2778
- * The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
2779
- */
2780
- amount: number | null;
2781
-
2782
- /**
2783
- * ID of an existing, connected Stripe account to transfer funds to if `transfer_data` was specified in the charge request.
2784
- */
2785
- destination: string | Stripe.Account;
2786
- }
2787
- }
2788
- }
2789
- }