stripe 22.2.0-beta.2 → 22.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (874) hide show
  1. package/CHANGELOG.md +84 -1727
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +65 -58
  4. package/VERSION +1 -1
  5. package/cjs/Error.d.ts +0 -50
  6. package/cjs/Error.js +1 -125
  7. package/cjs/Error.js.map +1 -1
  8. package/cjs/RequestSender.d.ts +1 -0
  9. package/cjs/RequestSender.js +10 -2
  10. package/cjs/RequestSender.js.map +1 -1
  11. package/cjs/Types.d.ts +2 -4
  12. package/cjs/Types.js.map +1 -1
  13. package/cjs/apiVersion.d.ts +2 -1
  14. package/cjs/apiVersion.js +3 -2
  15. package/cjs/apiVersion.js.map +1 -1
  16. package/cjs/lib.d.ts +48 -3
  17. package/cjs/net/FetchHttpClient.js.map +1 -1
  18. package/cjs/net/HttpClient.js.map +1 -1
  19. package/cjs/platform/NodePlatformFunctions.d.ts +6 -0
  20. package/cjs/platform/NodePlatformFunctions.js +17 -0
  21. package/cjs/platform/NodePlatformFunctions.js.map +1 -1
  22. package/cjs/platform/PlatformFunctions.d.ts +13 -0
  23. package/cjs/platform/PlatformFunctions.js +21 -0
  24. package/cjs/platform/PlatformFunctions.js.map +1 -1
  25. package/cjs/resources/AccountLinks.d.ts +1 -1
  26. package/cjs/resources/AccountSessions.d.ts +0 -262
  27. package/cjs/resources/AccountSessions.js.map +1 -1
  28. package/cjs/resources/Accounts.d.ts +45 -819
  29. package/cjs/resources/Accounts.js +0 -15
  30. package/cjs/resources/Accounts.js.map +1 -1
  31. package/cjs/resources/Apps/index.d.ts +4 -4
  32. package/cjs/resources/Balance.d.ts +0 -67
  33. package/cjs/resources/BalanceSettings.d.ts +86 -0
  34. package/cjs/resources/BankAccounts.d.ts +2 -2
  35. package/cjs/resources/Billing/AlertTriggereds.d.ts +1 -2
  36. package/cjs/resources/Billing/index.d.ts +24 -27
  37. package/cjs/resources/Billing/index.js +0 -2
  38. package/cjs/resources/Billing/index.js.map +1 -1
  39. package/cjs/resources/BillingPortal/index.d.ts +5 -5
  40. package/cjs/resources/Capabilities.d.ts +2 -2
  41. package/cjs/resources/Cards.d.ts +0 -4
  42. package/cjs/resources/Charges.d.ts +92 -3064
  43. package/cjs/resources/Checkout/Sessions.d.ts +51 -414
  44. package/cjs/resources/Checkout/index.d.ts +6 -6
  45. package/cjs/resources/Climate/index.d.ts +9 -9
  46. package/cjs/resources/ConfirmationTokens.d.ts +7 -67
  47. package/cjs/resources/Coupons.d.ts +0 -47
  48. package/cjs/resources/CreditNoteLineItems.d.ts +1 -15
  49. package/cjs/resources/CreditNotes.d.ts +1 -7
  50. package/cjs/resources/CreditNotes.js +0 -14
  51. package/cjs/resources/CreditNotes.js.map +1 -1
  52. package/cjs/resources/CustomerSessions.d.ts +0 -68
  53. package/cjs/resources/Customers.d.ts +1 -7
  54. package/cjs/resources/Customers.js +0 -15
  55. package/cjs/resources/Customers.js.map +1 -1
  56. package/cjs/resources/Discounts.d.ts +4 -4
  57. package/cjs/resources/Disputes.d.ts +0 -29
  58. package/cjs/resources/Entitlements/index.d.ts +6 -6
  59. package/cjs/resources/Events.d.ts +2 -547
  60. package/cjs/resources/ExternalAccounts.d.ts +1 -212
  61. package/cjs/resources/ExternalAccounts.js +0 -44
  62. package/cjs/resources/ExternalAccounts.js.map +1 -1
  63. package/cjs/resources/Files.d.ts +2 -0
  64. package/cjs/resources/Files.js +5 -0
  65. package/cjs/resources/Files.js.map +1 -1
  66. package/cjs/resources/FinancialConnections/Accounts.d.ts +4 -74
  67. package/cjs/resources/FinancialConnections/Accounts.js +0 -8
  68. package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
  69. package/cjs/resources/FinancialConnections/Sessions.d.ts +7 -155
  70. package/cjs/resources/FinancialConnections/index.d.ts +13 -28
  71. package/cjs/resources/FinancialConnections/index.js +0 -4
  72. package/cjs/resources/FinancialConnections/index.js.map +1 -1
  73. package/cjs/resources/Forwarding/index.d.ts +3 -3
  74. package/cjs/resources/Identity/index.d.ts +8 -8
  75. package/cjs/resources/InvoiceItems.d.ts +28 -85
  76. package/cjs/resources/InvoiceItems.js.map +1 -1
  77. package/cjs/resources/InvoiceLineItems.d.ts +2 -40
  78. package/cjs/resources/Invoices.d.ts +26 -1348
  79. package/cjs/resources/Invoices.js +0 -70
  80. package/cjs/resources/Invoices.js.map +1 -1
  81. package/cjs/resources/Issuing/Cardholders.d.ts +1 -2
  82. package/cjs/resources/Issuing/Disputes.d.ts +1 -1
  83. package/cjs/resources/Issuing/PersonalizationDesigns.d.ts +1 -1
  84. package/cjs/resources/Issuing/Transactions.d.ts +0 -9
  85. package/cjs/resources/Issuing/Transactions.js.map +1 -1
  86. package/cjs/resources/Issuing/index.d.ts +35 -60
  87. package/cjs/resources/Issuing/index.js +0 -6
  88. package/cjs/resources/Issuing/index.js.map +1 -1
  89. package/cjs/resources/LineItems.d.ts +2 -29
  90. package/cjs/resources/Mandates.d.ts +4 -33
  91. package/cjs/resources/Mandates.js +0 -8
  92. package/cjs/resources/Mandates.js.map +1 -1
  93. package/cjs/resources/OAuth.d.ts +7 -8
  94. package/cjs/resources/PaymentAttemptRecords.d.ts +23 -92
  95. package/cjs/resources/PaymentIntents.d.ts +6510 -17236
  96. package/cjs/resources/PaymentIntents.js +3 -28
  97. package/cjs/resources/PaymentIntents.js.map +1 -1
  98. package/cjs/resources/PaymentLinks.d.ts +88 -20
  99. package/cjs/resources/PaymentMethodConfigurations.d.ts +93 -299
  100. package/cjs/resources/PaymentMethods.d.ts +22 -152
  101. package/cjs/resources/PaymentMethods.js.map +1 -1
  102. package/cjs/resources/PaymentRecords.d.ts +23 -92
  103. package/cjs/resources/Payouts.d.ts +1 -1
  104. package/cjs/resources/Persons.d.ts +2 -2
  105. package/cjs/resources/Plans.d.ts +0 -16
  106. package/cjs/resources/Prices.d.ts +0 -52
  107. package/cjs/resources/Products.d.ts +0 -42
  108. package/cjs/resources/PromotionCodes.d.ts +0 -12
  109. package/cjs/resources/PromotionCodes.js +0 -28
  110. package/cjs/resources/PromotionCodes.js.map +1 -1
  111. package/cjs/resources/Quotes.d.ts +160 -2369
  112. package/cjs/resources/Quotes.js +13 -1181
  113. package/cjs/resources/Quotes.js.map +1 -1
  114. package/cjs/resources/Radar/PaymentEvaluations.d.ts +2 -2
  115. package/cjs/resources/Radar/index.d.ts +12 -12
  116. package/cjs/resources/Refunds.d.ts +3 -11
  117. package/cjs/resources/Reporting/index.d.ts +5 -5
  118. package/cjs/resources/Reserve/Holds.d.ts +1 -53
  119. package/cjs/resources/Reserve/Holds.js +0 -19
  120. package/cjs/resources/Reserve/Holds.js.map +1 -1
  121. package/cjs/resources/Reserve/Plans.d.ts +0 -16
  122. package/cjs/resources/Reserve/Plans.js +0 -11
  123. package/cjs/resources/Reserve/Plans.js.map +1 -1
  124. package/cjs/resources/Reserve/Releases.d.ts +1 -41
  125. package/cjs/resources/Reserve/Releases.js +0 -19
  126. package/cjs/resources/Reserve/Releases.js.map +1 -1
  127. package/cjs/resources/Reserve/index.d.ts +3 -14
  128. package/cjs/resources/Reserve/index.js +2 -10
  129. package/cjs/resources/Reserve/index.js.map +1 -1
  130. package/cjs/resources/SetupAttempts.d.ts +3 -25
  131. package/cjs/resources/SetupIntents.d.ts +77 -336
  132. package/cjs/resources/Sigma/index.d.ts +2 -2
  133. package/cjs/resources/Sources.d.ts +1 -16
  134. package/cjs/resources/SubscriptionItems.d.ts +4 -165
  135. package/cjs/resources/SubscriptionSchedules.d.ts +16 -1174
  136. package/cjs/resources/SubscriptionSchedules.js +0 -48
  137. package/cjs/resources/SubscriptionSchedules.js.map +1 -1
  138. package/cjs/resources/Subscriptions.d.ts +32 -490
  139. package/cjs/resources/Subscriptions.js +2 -31
  140. package/cjs/resources/Subscriptions.js.map +1 -1
  141. package/cjs/resources/Tax/CalculationLineItems.d.ts +2 -6
  142. package/cjs/resources/Tax/Calculations.d.ts +3 -7
  143. package/cjs/resources/Tax/Registrations.d.ts +2 -138
  144. package/cjs/resources/Tax/Transactions.d.ts +2 -2
  145. package/cjs/resources/Tax/index.d.ts +17 -31
  146. package/cjs/resources/Tax/index.js +0 -4
  147. package/cjs/resources/Tax/index.js.map +1 -1
  148. package/cjs/resources/TaxCodes.d.ts +0 -15
  149. package/cjs/resources/Terminal/Configurations.d.ts +108 -27
  150. package/cjs/resources/Terminal/Readers.d.ts +143 -19
  151. package/cjs/resources/Terminal/Readers.js.map +1 -1
  152. package/cjs/resources/Terminal/index.d.ts +25 -30
  153. package/cjs/resources/Terminal/index.js +0 -2
  154. package/cjs/resources/Terminal/index.js.map +1 -1
  155. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +14 -79
  156. package/cjs/resources/TestHelpers/TestClocks.d.ts +4 -0
  157. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
  158. package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
  159. package/cjs/resources/TestHelpers/index.d.ts +5 -8
  160. package/cjs/resources/TestHelpers/index.js +4 -6
  161. package/cjs/resources/TestHelpers/index.js.map +1 -1
  162. package/cjs/resources/Transfers.d.ts +0 -8
  163. package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
  164. package/cjs/resources/Treasury/FinancialAccounts.d.ts +1 -34
  165. package/cjs/resources/Treasury/OutboundPayments.d.ts +0 -8
  166. package/cjs/resources/Treasury/OutboundTransfers.d.ts +0 -44
  167. package/cjs/resources/Treasury/ReceivedCredits.d.ts +0 -22
  168. package/cjs/resources/Treasury/ReceivedDebits.d.ts +0 -26
  169. package/cjs/resources/Treasury/index.d.ts +33 -33
  170. package/cjs/resources/V2/Billing/index.d.ts +6 -45
  171. package/cjs/resources/V2/Billing/index.js +0 -8
  172. package/cjs/resources/V2/Billing/index.js.map +1 -1
  173. package/cjs/resources/V2/Commerce/ProductCatalog/Imports.d.ts +2 -2
  174. package/cjs/resources/V2/Core/AccountLinks.d.ts +4 -4
  175. package/cjs/resources/V2/Core/AccountTokens.d.ts +32 -14
  176. package/cjs/resources/V2/Core/AccountTokens.js +5 -1
  177. package/cjs/resources/V2/Core/AccountTokens.js.map +1 -1
  178. package/cjs/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  179. package/cjs/resources/V2/Core/Accounts.d.ts +233 -1171
  180. package/cjs/resources/V2/Core/Accounts.js +1 -1
  181. package/cjs/resources/V2/Core/EventDestinations.d.ts +2 -2
  182. package/cjs/resources/V2/Core/Events.d.ts +8 -1126
  183. package/cjs/resources/V2/Core/Events.js +2 -1
  184. package/cjs/resources/V2/Core/Events.js.map +1 -1
  185. package/cjs/resources/V2/Core/index.d.ts +19 -29
  186. package/cjs/resources/V2/Core/index.js +0 -4
  187. package/cjs/resources/V2/Core/index.js.map +1 -1
  188. package/cjs/resources/V2/index.d.ts +0 -27
  189. package/cjs/resources/V2/index.js +0 -14
  190. package/cjs/resources/V2/index.js.map +1 -1
  191. package/cjs/resources/WebhookEndpoints.d.ts +3 -3
  192. package/cjs/resources.d.ts +0 -10
  193. package/cjs/resources.js +10 -146
  194. package/cjs/resources.js.map +1 -1
  195. package/cjs/stripe.core.d.ts +30 -69
  196. package/cjs/stripe.core.js +44 -61
  197. package/cjs/stripe.core.js.map +1 -1
  198. package/cjs/utils.d.ts +0 -2
  199. package/cjs/utils.js +1 -16
  200. package/cjs/utils.js.map +1 -1
  201. package/esm/Error.d.ts +0 -50
  202. package/esm/Error.js +0 -109
  203. package/esm/Error.js.map +1 -1
  204. package/esm/RequestSender.d.ts +1 -0
  205. package/esm/RequestSender.js +11 -3
  206. package/esm/RequestSender.js.map +1 -1
  207. package/esm/Types.d.ts +2 -4
  208. package/esm/Types.js.map +1 -1
  209. package/esm/apiVersion.d.ts +2 -1
  210. package/esm/apiVersion.js +2 -1
  211. package/esm/apiVersion.js.map +1 -1
  212. package/esm/lib.d.ts +48 -3
  213. package/esm/net/FetchHttpClient.js.map +1 -1
  214. package/esm/net/HttpClient.js.map +1 -1
  215. package/esm/platform/NodePlatformFunctions.d.ts +6 -0
  216. package/esm/platform/NodePlatformFunctions.js +17 -0
  217. package/esm/platform/NodePlatformFunctions.js.map +1 -1
  218. package/esm/platform/PlatformFunctions.d.ts +13 -0
  219. package/esm/platform/PlatformFunctions.js +21 -0
  220. package/esm/platform/PlatformFunctions.js.map +1 -1
  221. package/esm/resources/AccountLinks.d.ts +1 -1
  222. package/esm/resources/AccountSessions.d.ts +0 -262
  223. package/esm/resources/AccountSessions.js.map +1 -1
  224. package/esm/resources/Accounts.d.ts +45 -819
  225. package/esm/resources/Accounts.js +0 -15
  226. package/esm/resources/Accounts.js.map +1 -1
  227. package/esm/resources/Apps/index.d.ts +4 -4
  228. package/esm/resources/Balance.d.ts +0 -67
  229. package/esm/resources/BalanceSettings.d.ts +86 -0
  230. package/esm/resources/BankAccounts.d.ts +2 -2
  231. package/esm/resources/Billing/AlertTriggereds.d.ts +1 -2
  232. package/esm/resources/Billing/index.d.ts +24 -27
  233. package/esm/resources/Billing/index.js +0 -2
  234. package/esm/resources/Billing/index.js.map +1 -1
  235. package/esm/resources/BillingPortal/index.d.ts +5 -5
  236. package/esm/resources/Capabilities.d.ts +2 -2
  237. package/esm/resources/Cards.d.ts +0 -4
  238. package/esm/resources/Charges.d.ts +92 -3064
  239. package/esm/resources/Checkout/Sessions.d.ts +51 -414
  240. package/esm/resources/Checkout/index.d.ts +6 -6
  241. package/esm/resources/Climate/index.d.ts +9 -9
  242. package/esm/resources/ConfirmationTokens.d.ts +7 -67
  243. package/esm/resources/Coupons.d.ts +0 -47
  244. package/esm/resources/CreditNoteLineItems.d.ts +1 -15
  245. package/esm/resources/CreditNotes.d.ts +1 -7
  246. package/esm/resources/CreditNotes.js +0 -14
  247. package/esm/resources/CreditNotes.js.map +1 -1
  248. package/esm/resources/CustomerSessions.d.ts +0 -68
  249. package/esm/resources/Customers.d.ts +1 -7
  250. package/esm/resources/Customers.js +0 -15
  251. package/esm/resources/Customers.js.map +1 -1
  252. package/esm/resources/Discounts.d.ts +4 -4
  253. package/esm/resources/Disputes.d.ts +0 -29
  254. package/esm/resources/Entitlements/index.d.ts +6 -6
  255. package/esm/resources/Events.d.ts +2 -547
  256. package/esm/resources/ExternalAccounts.d.ts +1 -212
  257. package/esm/resources/ExternalAccounts.js +1 -42
  258. package/esm/resources/ExternalAccounts.js.map +1 -1
  259. package/esm/resources/Files.d.ts +2 -0
  260. package/esm/resources/Files.js +5 -0
  261. package/esm/resources/Files.js.map +1 -1
  262. package/esm/resources/FinancialConnections/Accounts.d.ts +4 -74
  263. package/esm/resources/FinancialConnections/Accounts.js +0 -8
  264. package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
  265. package/esm/resources/FinancialConnections/Sessions.d.ts +7 -155
  266. package/esm/resources/FinancialConnections/index.d.ts +13 -28
  267. package/esm/resources/FinancialConnections/index.js +0 -4
  268. package/esm/resources/FinancialConnections/index.js.map +1 -1
  269. package/esm/resources/Forwarding/index.d.ts +3 -3
  270. package/esm/resources/Identity/index.d.ts +8 -8
  271. package/esm/resources/InvoiceItems.d.ts +28 -85
  272. package/esm/resources/InvoiceItems.js.map +1 -1
  273. package/esm/resources/InvoiceLineItems.d.ts +2 -40
  274. package/esm/resources/Invoices.d.ts +26 -1348
  275. package/esm/resources/Invoices.js +0 -70
  276. package/esm/resources/Invoices.js.map +1 -1
  277. package/esm/resources/Issuing/Cardholders.d.ts +1 -2
  278. package/esm/resources/Issuing/Disputes.d.ts +1 -1
  279. package/esm/resources/Issuing/PersonalizationDesigns.d.ts +1 -1
  280. package/esm/resources/Issuing/Transactions.d.ts +0 -9
  281. package/esm/resources/Issuing/Transactions.js.map +1 -1
  282. package/esm/resources/Issuing/index.d.ts +35 -60
  283. package/esm/resources/Issuing/index.js +0 -6
  284. package/esm/resources/Issuing/index.js.map +1 -1
  285. package/esm/resources/LineItems.d.ts +2 -29
  286. package/esm/resources/Mandates.d.ts +4 -33
  287. package/esm/resources/Mandates.js +0 -8
  288. package/esm/resources/Mandates.js.map +1 -1
  289. package/esm/resources/OAuth.d.ts +7 -8
  290. package/esm/resources/PaymentAttemptRecords.d.ts +23 -92
  291. package/esm/resources/PaymentIntents.d.ts +6510 -17236
  292. package/esm/resources/PaymentIntents.js +3 -28
  293. package/esm/resources/PaymentIntents.js.map +1 -1
  294. package/esm/resources/PaymentLinks.d.ts +88 -20
  295. package/esm/resources/PaymentMethodConfigurations.d.ts +93 -299
  296. package/esm/resources/PaymentMethods.d.ts +22 -152
  297. package/esm/resources/PaymentMethods.js.map +1 -1
  298. package/esm/resources/PaymentRecords.d.ts +23 -92
  299. package/esm/resources/Payouts.d.ts +1 -1
  300. package/esm/resources/Persons.d.ts +2 -2
  301. package/esm/resources/Plans.d.ts +0 -16
  302. package/esm/resources/Prices.d.ts +0 -52
  303. package/esm/resources/Products.d.ts +0 -42
  304. package/esm/resources/PromotionCodes.d.ts +0 -12
  305. package/esm/resources/PromotionCodes.js +0 -28
  306. package/esm/resources/PromotionCodes.js.map +1 -1
  307. package/esm/resources/Quotes.d.ts +160 -2369
  308. package/esm/resources/Quotes.js +13 -1181
  309. package/esm/resources/Quotes.js.map +1 -1
  310. package/esm/resources/Radar/PaymentEvaluations.d.ts +2 -2
  311. package/esm/resources/Radar/index.d.ts +12 -12
  312. package/esm/resources/Refunds.d.ts +3 -11
  313. package/esm/resources/Reporting/index.d.ts +5 -5
  314. package/esm/resources/Reserve/Holds.d.ts +1 -53
  315. package/esm/resources/Reserve/Holds.js +1 -17
  316. package/esm/resources/Reserve/Holds.js.map +1 -1
  317. package/esm/resources/Reserve/Plans.d.ts +0 -16
  318. package/esm/resources/Reserve/Plans.js +1 -9
  319. package/esm/resources/Reserve/Plans.js.map +1 -1
  320. package/esm/resources/Reserve/Releases.d.ts +1 -41
  321. package/esm/resources/Reserve/Releases.js +1 -17
  322. package/esm/resources/Reserve/Releases.js.map +1 -1
  323. package/esm/resources/Reserve/index.d.ts +3 -14
  324. package/esm/resources/Reserve/index.js +2 -10
  325. package/esm/resources/Reserve/index.js.map +1 -1
  326. package/esm/resources/SetupAttempts.d.ts +3 -25
  327. package/esm/resources/SetupIntents.d.ts +77 -336
  328. package/esm/resources/Sigma/index.d.ts +2 -2
  329. package/esm/resources/Sources.d.ts +1 -16
  330. package/esm/resources/SubscriptionItems.d.ts +4 -165
  331. package/esm/resources/SubscriptionSchedules.d.ts +16 -1174
  332. package/esm/resources/SubscriptionSchedules.js +0 -48
  333. package/esm/resources/SubscriptionSchedules.js.map +1 -1
  334. package/esm/resources/Subscriptions.d.ts +32 -490
  335. package/esm/resources/Subscriptions.js +2 -31
  336. package/esm/resources/Subscriptions.js.map +1 -1
  337. package/esm/resources/Tax/CalculationLineItems.d.ts +2 -6
  338. package/esm/resources/Tax/Calculations.d.ts +3 -7
  339. package/esm/resources/Tax/Registrations.d.ts +2 -138
  340. package/esm/resources/Tax/Transactions.d.ts +2 -2
  341. package/esm/resources/Tax/index.d.ts +17 -31
  342. package/esm/resources/Tax/index.js +0 -4
  343. package/esm/resources/Tax/index.js.map +1 -1
  344. package/esm/resources/TaxCodes.d.ts +0 -15
  345. package/esm/resources/Terminal/Configurations.d.ts +108 -27
  346. package/esm/resources/Terminal/Readers.d.ts +143 -19
  347. package/esm/resources/Terminal/Readers.js.map +1 -1
  348. package/esm/resources/Terminal/index.d.ts +25 -30
  349. package/esm/resources/Terminal/index.js +0 -2
  350. package/esm/resources/Terminal/index.js.map +1 -1
  351. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +14 -79
  352. package/esm/resources/TestHelpers/TestClocks.d.ts +4 -0
  353. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
  354. package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
  355. package/esm/resources/TestHelpers/index.d.ts +5 -8
  356. package/esm/resources/TestHelpers/index.js +0 -2
  357. package/esm/resources/TestHelpers/index.js.map +1 -1
  358. package/esm/resources/Transfers.d.ts +0 -8
  359. package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
  360. package/esm/resources/Treasury/FinancialAccounts.d.ts +1 -34
  361. package/esm/resources/Treasury/OutboundPayments.d.ts +0 -8
  362. package/esm/resources/Treasury/OutboundTransfers.d.ts +0 -44
  363. package/esm/resources/Treasury/ReceivedCredits.d.ts +0 -22
  364. package/esm/resources/Treasury/ReceivedDebits.d.ts +0 -26
  365. package/esm/resources/Treasury/index.d.ts +33 -33
  366. package/esm/resources/V2/Billing/index.d.ts +6 -45
  367. package/esm/resources/V2/Billing/index.js +0 -8
  368. package/esm/resources/V2/Billing/index.js.map +1 -1
  369. package/esm/resources/V2/Commerce/ProductCatalog/Imports.d.ts +2 -2
  370. package/esm/resources/V2/Core/AccountLinks.d.ts +4 -4
  371. package/esm/resources/V2/Core/AccountTokens.d.ts +32 -14
  372. package/esm/resources/V2/Core/AccountTokens.js +5 -1
  373. package/esm/resources/V2/Core/AccountTokens.js.map +1 -1
  374. package/esm/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  375. package/esm/resources/V2/Core/Accounts.d.ts +233 -1171
  376. package/esm/resources/V2/Core/Accounts.js +1 -1
  377. package/esm/resources/V2/Core/EventDestinations.d.ts +2 -2
  378. package/esm/resources/V2/Core/Events.d.ts +8 -1126
  379. package/esm/resources/V2/Core/Events.js +2 -1
  380. package/esm/resources/V2/Core/Events.js.map +1 -1
  381. package/esm/resources/V2/Core/index.d.ts +19 -29
  382. package/esm/resources/V2/Core/index.js +0 -4
  383. package/esm/resources/V2/Core/index.js.map +1 -1
  384. package/esm/resources/V2/index.d.ts +0 -27
  385. package/esm/resources/V2/index.js +0 -14
  386. package/esm/resources/V2/index.js.map +1 -1
  387. package/esm/resources/WebhookEndpoints.d.ts +3 -3
  388. package/esm/resources.d.ts +0 -10
  389. package/esm/resources.js +0 -131
  390. package/esm/resources.js.map +1 -1
  391. package/esm/stripe.core.d.ts +30 -69
  392. package/esm/stripe.core.js +15 -32
  393. package/esm/stripe.core.js.map +1 -1
  394. package/esm/stripe.esm.node.d.ts +30 -70
  395. package/esm/stripe.esm.node.js +15 -32
  396. package/esm/stripe.esm.node.js.map +1 -1
  397. package/esm/utils.d.ts +0 -2
  398. package/esm/utils.js +0 -13
  399. package/esm/utils.js.map +1 -1
  400. package/package.json +1 -1
  401. package/cjs/StripeEventNotificationHandler.d.ts +0 -22
  402. package/cjs/StripeEventNotificationHandler.js +0 -147
  403. package/cjs/StripeEventNotificationHandler.js.map +0 -1
  404. package/cjs/resources/AccountNotices.d.ts +0 -140
  405. package/cjs/resources/AccountNotices.js +0 -29
  406. package/cjs/resources/AccountNotices.js.map +0 -1
  407. package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +0 -84
  408. package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -15
  409. package/cjs/resources/Billing/Analytics/MeterUsage.js.map +0 -1
  410. package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
  411. package/cjs/resources/Billing/Analytics/MeterUsageRows.js +0 -4
  412. package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
  413. package/cjs/resources/Billing/Analytics/index.d.ts +0 -15
  414. package/cjs/resources/Billing/Analytics/index.js +0 -13
  415. package/cjs/resources/Billing/Analytics/index.js.map +0 -1
  416. package/cjs/resources/Capital/FinancingOffers.d.ts +0 -191
  417. package/cjs/resources/Capital/FinancingOffers.js +0 -30
  418. package/cjs/resources/Capital/FinancingOffers.js.map +0 -1
  419. package/cjs/resources/Capital/FinancingSummary.d.ts +0 -98
  420. package/cjs/resources/Capital/FinancingSummary.js +0 -15
  421. package/cjs/resources/Capital/FinancingSummary.js.map +0 -1
  422. package/cjs/resources/Capital/FinancingTransactions.d.ts +0 -143
  423. package/cjs/resources/Capital/FinancingTransactions.js +0 -24
  424. package/cjs/resources/Capital/FinancingTransactions.js.map +0 -1
  425. package/cjs/resources/Capital/index.d.ts +0 -25
  426. package/cjs/resources/Capital/index.js +0 -17
  427. package/cjs/resources/Capital/index.js.map +0 -1
  428. package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
  429. package/cjs/resources/FinancialConnections/AccountInferredBalances.js +0 -4
  430. package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
  431. package/cjs/resources/FinancialConnections/Authorizations.d.ts +0 -87
  432. package/cjs/resources/FinancialConnections/Authorizations.js +0 -15
  433. package/cjs/resources/FinancialConnections/Authorizations.js.map +0 -1
  434. package/cjs/resources/FinancialConnections/Institutions.d.ts +0 -101
  435. package/cjs/resources/FinancialConnections/Institutions.js +0 -23
  436. package/cjs/resources/FinancialConnections/Institutions.js.map +0 -1
  437. package/cjs/resources/FxQuotes.d.ts +0 -212
  438. package/cjs/resources/FxQuotes.js +0 -29
  439. package/cjs/resources/FxQuotes.js.map +0 -1
  440. package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -640
  441. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -47
  442. package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
  443. package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +0 -95
  444. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -23
  445. package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
  446. package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
  447. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -23
  448. package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
  449. package/cjs/resources/Issuing/Settlements.d.ts +0 -85
  450. package/cjs/resources/Issuing/Settlements.js +0 -4
  451. package/cjs/resources/Issuing/Settlements.js.map +0 -1
  452. package/cjs/resources/Margins.d.ts +0 -115
  453. package/cjs/resources/Margins.js +0 -35
  454. package/cjs/resources/Margins.js.map +0 -1
  455. package/cjs/resources/Orders.d.ts +0 -4693
  456. package/cjs/resources/Orders.js +0 -457
  457. package/cjs/resources/Orders.js.map +0 -1
  458. package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -37
  459. package/cjs/resources/Privacy/RedactionJobValidationErrors.js +0 -4
  460. package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
  461. package/cjs/resources/Privacy/RedactionJobs.d.ts +0 -229
  462. package/cjs/resources/Privacy/RedactionJobs.js +0 -73
  463. package/cjs/resources/Privacy/RedactionJobs.js.map +0 -1
  464. package/cjs/resources/Privacy/index.d.ts +0 -22
  465. package/cjs/resources/Privacy/index.js +0 -13
  466. package/cjs/resources/Privacy/index.js.map +0 -1
  467. package/cjs/resources/ProductCatalog/TrialOffers.d.ts +0 -127
  468. package/cjs/resources/ProductCatalog/TrialOffers.js +0 -15
  469. package/cjs/resources/ProductCatalog/TrialOffers.js.map +0 -1
  470. package/cjs/resources/ProductCatalog/index.d.ts +0 -12
  471. package/cjs/resources/ProductCatalog/index.js +0 -13
  472. package/cjs/resources/ProductCatalog/index.js.map +0 -1
  473. package/cjs/resources/QuoteLines.d.ts +0 -507
  474. package/cjs/resources/QuoteLines.js +0 -4
  475. package/cjs/resources/QuoteLines.js.map +0 -1
  476. package/cjs/resources/QuotePreviewInvoices.d.ts +0 -1116
  477. package/cjs/resources/QuotePreviewInvoices.js +0 -4
  478. package/cjs/resources/QuotePreviewInvoices.js.map +0 -1
  479. package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -733
  480. package/cjs/resources/QuotePreviewSubscriptionSchedules.js +0 -4
  481. package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
  482. package/cjs/resources/SharedPayment/GrantedTokens.d.ts +0 -1089
  483. package/cjs/resources/SharedPayment/GrantedTokens.js +0 -15
  484. package/cjs/resources/SharedPayment/GrantedTokens.js.map +0 -1
  485. package/cjs/resources/SharedPayment/IssuedTokens.d.ts +0 -308
  486. package/cjs/resources/SharedPayment/IssuedTokens.js +0 -27
  487. package/cjs/resources/SharedPayment/IssuedTokens.js.map +0 -1
  488. package/cjs/resources/SharedPayment/index.d.ts +0 -19
  489. package/cjs/resources/SharedPayment/index.js +0 -15
  490. package/cjs/resources/SharedPayment/index.js.map +0 -1
  491. package/cjs/resources/Tax/Forms.d.ts +0 -230
  492. package/cjs/resources/Tax/Forms.js +0 -32
  493. package/cjs/resources/Tax/Forms.js.map +0 -1
  494. package/cjs/resources/Tax/Locations.d.ts +0 -108
  495. package/cjs/resources/Tax/Locations.js +0 -33
  496. package/cjs/resources/Tax/Locations.js.map +0 -1
  497. package/cjs/resources/Terminal/ReaderCollectedData.d.ts +0 -52
  498. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -15
  499. package/cjs/resources/Terminal/ReaderCollectedData.js.map +0 -1
  500. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
  501. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -21
  502. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
  503. package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
  504. package/cjs/resources/TestHelpers/SharedPayment/index.js +0 -13
  505. package/cjs/resources/TestHelpers/SharedPayment/index.js.map +0 -1
  506. package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +0 -75
  507. package/cjs/resources/V2/Billing/BillSettingVersions.js +0 -4
  508. package/cjs/resources/V2/Billing/BillSettingVersions.js.map +0 -1
  509. package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
  510. package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -23
  511. package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
  512. package/cjs/resources/V2/Billing/BillSettings.d.ts +0 -284
  513. package/cjs/resources/V2/Billing/BillSettings.js +0 -41
  514. package/cjs/resources/V2/Billing/BillSettings.js.map +0 -1
  515. package/cjs/resources/V2/Billing/Cadences.d.ts +0 -951
  516. package/cjs/resources/V2/Billing/Cadences.js +0 -198
  517. package/cjs/resources/V2/Billing/Cadences.js.map +0 -1
  518. package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -240
  519. package/cjs/resources/V2/Billing/CollectionSettingVersions.js +0 -4
  520. package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
  521. package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
  522. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -70
  523. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
  524. package/cjs/resources/V2/Billing/CollectionSettings.d.ts +0 -779
  525. package/cjs/resources/V2/Billing/CollectionSettings.js +0 -166
  526. package/cjs/resources/V2/Billing/CollectionSettings.js.map +0 -1
  527. package/cjs/resources/V2/Billing/Profiles.d.ts +0 -166
  528. package/cjs/resources/V2/Billing/Profiles.js +0 -35
  529. package/cjs/resources/V2/Billing/Profiles.js.map +0 -1
  530. package/cjs/resources/V2/Core/BatchJobs.d.ts +0 -373
  531. package/cjs/resources/V2/Core/BatchJobs.js +0 -225
  532. package/cjs/resources/V2/Core/BatchJobs.js.map +0 -1
  533. package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -285
  534. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -54
  535. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
  536. package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -254
  537. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -62
  538. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
  539. package/cjs/resources/V2/Core/Vault/index.d.ts +0 -28
  540. package/cjs/resources/V2/Core/Vault/index.js +0 -15
  541. package/cjs/resources/V2/Core/Vault/index.js.map +0 -1
  542. package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -156
  543. package/cjs/resources/V2/Data/Reporting/QueryRuns.js +0 -46
  544. package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
  545. package/cjs/resources/V2/Data/Reporting/index.d.ts +0 -13
  546. package/cjs/resources/V2/Data/Reporting/index.js +0 -13
  547. package/cjs/resources/V2/Data/Reporting/index.js.map +0 -1
  548. package/cjs/resources/V2/Data/index.d.ts +0 -10
  549. package/cjs/resources/V2/Data/index.js +0 -13
  550. package/cjs/resources/V2/Data/index.js.map +0 -1
  551. package/cjs/resources/V2/EventMisc.d.ts +0 -0
  552. package/cjs/resources/V2/EventMisc.js +0 -2
  553. package/cjs/resources/V2/EventMisc.js.map +0 -1
  554. package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +0 -166
  555. package/cjs/resources/V2/Extend/WorkflowRuns.js +0 -23
  556. package/cjs/resources/V2/Extend/WorkflowRuns.js.map +0 -1
  557. package/cjs/resources/V2/Extend/Workflows.d.ts +0 -123
  558. package/cjs/resources/V2/Extend/Workflows.js +0 -30
  559. package/cjs/resources/V2/Extend/Workflows.js.map +0 -1
  560. package/cjs/resources/V2/Extend/index.d.ts +0 -20
  561. package/cjs/resources/V2/Extend/index.js +0 -15
  562. package/cjs/resources/V2/Extend/index.js.map +0 -1
  563. package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
  564. package/cjs/resources/V2/FinancialAddressCreditSimulations.js +0 -4
  565. package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
  566. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
  567. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -4
  568. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
  569. package/cjs/resources/V2/Iam/ActivityLogs.d.ts +0 -204
  570. package/cjs/resources/V2/Iam/ActivityLogs.js +0 -17
  571. package/cjs/resources/V2/Iam/ActivityLogs.js.map +0 -1
  572. package/cjs/resources/V2/Iam/index.d.ts +0 -12
  573. package/cjs/resources/V2/Iam/index.js +0 -13
  574. package/cjs/resources/V2/Iam/index.js.map +0 -1
  575. package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
  576. package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -23
  577. package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
  578. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -244
  579. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -44
  580. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
  581. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -215
  582. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -31
  583. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
  584. package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -254
  585. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -30
  586. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
  587. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -212
  588. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -22
  589. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
  590. package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -388
  591. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -41
  592. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
  593. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -299
  594. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -49
  595. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
  596. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -330
  597. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -39
  598. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
  599. package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -243
  600. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -44
  601. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
  602. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -96
  603. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -17
  604. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
  605. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -292
  606. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -23
  607. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
  608. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -161
  609. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -23
  610. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
  611. package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -165
  612. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -23
  613. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
  614. package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +0 -196
  615. package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -23
  616. package/cjs/resources/V2/MoneyManagement/Transactions.js.map +0 -1
  617. package/cjs/resources/V2/MoneyManagement/index.d.ts +0 -104
  618. package/cjs/resources/V2/MoneyManagement/index.js +0 -39
  619. package/cjs/resources/V2/MoneyManagement/index.js.map +0 -1
  620. package/cjs/resources/V2/Network/BusinessProfiles.d.ts +0 -96
  621. package/cjs/resources/V2/Network/BusinessProfiles.js +0 -21
  622. package/cjs/resources/V2/Network/BusinessProfiles.js.map +0 -1
  623. package/cjs/resources/V2/Network/index.d.ts +0 -13
  624. package/cjs/resources/V2/Network/index.js +0 -13
  625. package/cjs/resources/V2/Network/index.js.map +0 -1
  626. package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -147
  627. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +0 -41
  628. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
  629. package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
  630. package/cjs/resources/V2/OrchestratedCommerce/index.js +0 -13
  631. package/cjs/resources/V2/OrchestratedCommerce/index.js.map +0 -1
  632. package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -44
  633. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -23
  634. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
  635. package/cjs/resources/V2/TestHelpers/index.d.ts +0 -8
  636. package/cjs/resources/V2/TestHelpers/index.js +0 -13
  637. package/cjs/resources/V2/TestHelpers/index.js.map +0 -1
  638. package/esm/StripeEventNotificationHandler.d.ts +0 -22
  639. package/esm/StripeEventNotificationHandler.js +0 -143
  640. package/esm/StripeEventNotificationHandler.js.map +0 -1
  641. package/esm/resources/AccountNotices.d.ts +0 -140
  642. package/esm/resources/AccountNotices.js +0 -25
  643. package/esm/resources/AccountNotices.js.map +0 -1
  644. package/esm/resources/Billing/Analytics/MeterUsage.d.ts +0 -84
  645. package/esm/resources/Billing/Analytics/MeterUsage.js +0 -11
  646. package/esm/resources/Billing/Analytics/MeterUsage.js.map +0 -1
  647. package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
  648. package/esm/resources/Billing/Analytics/MeterUsageRows.js +0 -3
  649. package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
  650. package/esm/resources/Billing/Analytics/index.d.ts +0 -15
  651. package/esm/resources/Billing/Analytics/index.js +0 -9
  652. package/esm/resources/Billing/Analytics/index.js.map +0 -1
  653. package/esm/resources/Capital/FinancingOffers.d.ts +0 -191
  654. package/esm/resources/Capital/FinancingOffers.js +0 -26
  655. package/esm/resources/Capital/FinancingOffers.js.map +0 -1
  656. package/esm/resources/Capital/FinancingSummary.d.ts +0 -98
  657. package/esm/resources/Capital/FinancingSummary.js +0 -11
  658. package/esm/resources/Capital/FinancingSummary.js.map +0 -1
  659. package/esm/resources/Capital/FinancingTransactions.d.ts +0 -143
  660. package/esm/resources/Capital/FinancingTransactions.js +0 -20
  661. package/esm/resources/Capital/FinancingTransactions.js.map +0 -1
  662. package/esm/resources/Capital/index.d.ts +0 -25
  663. package/esm/resources/Capital/index.js +0 -13
  664. package/esm/resources/Capital/index.js.map +0 -1
  665. package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
  666. package/esm/resources/FinancialConnections/AccountInferredBalances.js +0 -3
  667. package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
  668. package/esm/resources/FinancialConnections/Authorizations.d.ts +0 -87
  669. package/esm/resources/FinancialConnections/Authorizations.js +0 -11
  670. package/esm/resources/FinancialConnections/Authorizations.js.map +0 -1
  671. package/esm/resources/FinancialConnections/Institutions.d.ts +0 -101
  672. package/esm/resources/FinancialConnections/Institutions.js +0 -19
  673. package/esm/resources/FinancialConnections/Institutions.js.map +0 -1
  674. package/esm/resources/FxQuotes.d.ts +0 -212
  675. package/esm/resources/FxQuotes.js +0 -25
  676. package/esm/resources/FxQuotes.js.map +0 -1
  677. package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -640
  678. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -43
  679. package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
  680. package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +0 -95
  681. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -19
  682. package/esm/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
  683. package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
  684. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -19
  685. package/esm/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
  686. package/esm/resources/Issuing/Settlements.d.ts +0 -85
  687. package/esm/resources/Issuing/Settlements.js +0 -3
  688. package/esm/resources/Issuing/Settlements.js.map +0 -1
  689. package/esm/resources/Margins.d.ts +0 -115
  690. package/esm/resources/Margins.js +0 -31
  691. package/esm/resources/Margins.js.map +0 -1
  692. package/esm/resources/Orders.d.ts +0 -4693
  693. package/esm/resources/Orders.js +0 -453
  694. package/esm/resources/Orders.js.map +0 -1
  695. package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -37
  696. package/esm/resources/Privacy/RedactionJobValidationErrors.js +0 -3
  697. package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
  698. package/esm/resources/Privacy/RedactionJobs.d.ts +0 -229
  699. package/esm/resources/Privacy/RedactionJobs.js +0 -69
  700. package/esm/resources/Privacy/RedactionJobs.js.map +0 -1
  701. package/esm/resources/Privacy/index.d.ts +0 -22
  702. package/esm/resources/Privacy/index.js +0 -9
  703. package/esm/resources/Privacy/index.js.map +0 -1
  704. package/esm/resources/ProductCatalog/TrialOffers.d.ts +0 -127
  705. package/esm/resources/ProductCatalog/TrialOffers.js +0 -11
  706. package/esm/resources/ProductCatalog/TrialOffers.js.map +0 -1
  707. package/esm/resources/ProductCatalog/index.d.ts +0 -12
  708. package/esm/resources/ProductCatalog/index.js +0 -9
  709. package/esm/resources/ProductCatalog/index.js.map +0 -1
  710. package/esm/resources/QuoteLines.d.ts +0 -507
  711. package/esm/resources/QuoteLines.js +0 -3
  712. package/esm/resources/QuoteLines.js.map +0 -1
  713. package/esm/resources/QuotePreviewInvoices.d.ts +0 -1116
  714. package/esm/resources/QuotePreviewInvoices.js +0 -3
  715. package/esm/resources/QuotePreviewInvoices.js.map +0 -1
  716. package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -733
  717. package/esm/resources/QuotePreviewSubscriptionSchedules.js +0 -3
  718. package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
  719. package/esm/resources/SharedPayment/GrantedTokens.d.ts +0 -1089
  720. package/esm/resources/SharedPayment/GrantedTokens.js +0 -11
  721. package/esm/resources/SharedPayment/GrantedTokens.js.map +0 -1
  722. package/esm/resources/SharedPayment/IssuedTokens.d.ts +0 -308
  723. package/esm/resources/SharedPayment/IssuedTokens.js +0 -23
  724. package/esm/resources/SharedPayment/IssuedTokens.js.map +0 -1
  725. package/esm/resources/SharedPayment/index.d.ts +0 -19
  726. package/esm/resources/SharedPayment/index.js +0 -11
  727. package/esm/resources/SharedPayment/index.js.map +0 -1
  728. package/esm/resources/Tax/Forms.d.ts +0 -230
  729. package/esm/resources/Tax/Forms.js +0 -28
  730. package/esm/resources/Tax/Forms.js.map +0 -1
  731. package/esm/resources/Tax/Locations.d.ts +0 -108
  732. package/esm/resources/Tax/Locations.js +0 -29
  733. package/esm/resources/Tax/Locations.js.map +0 -1
  734. package/esm/resources/Terminal/ReaderCollectedData.d.ts +0 -52
  735. package/esm/resources/Terminal/ReaderCollectedData.js +0 -11
  736. package/esm/resources/Terminal/ReaderCollectedData.js.map +0 -1
  737. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
  738. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -17
  739. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
  740. package/esm/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
  741. package/esm/resources/TestHelpers/SharedPayment/index.js +0 -9
  742. package/esm/resources/TestHelpers/SharedPayment/index.js.map +0 -1
  743. package/esm/resources/V2/Billing/BillSettingVersions.d.ts +0 -75
  744. package/esm/resources/V2/Billing/BillSettingVersions.js +0 -3
  745. package/esm/resources/V2/Billing/BillSettingVersions.js.map +0 -1
  746. package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
  747. package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -19
  748. package/esm/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
  749. package/esm/resources/V2/Billing/BillSettings.d.ts +0 -284
  750. package/esm/resources/V2/Billing/BillSettings.js +0 -37
  751. package/esm/resources/V2/Billing/BillSettings.js.map +0 -1
  752. package/esm/resources/V2/Billing/Cadences.d.ts +0 -951
  753. package/esm/resources/V2/Billing/Cadences.js +0 -194
  754. package/esm/resources/V2/Billing/Cadences.js.map +0 -1
  755. package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -240
  756. package/esm/resources/V2/Billing/CollectionSettingVersions.js +0 -3
  757. package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
  758. package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
  759. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -66
  760. package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
  761. package/esm/resources/V2/Billing/CollectionSettings.d.ts +0 -779
  762. package/esm/resources/V2/Billing/CollectionSettings.js +0 -162
  763. package/esm/resources/V2/Billing/CollectionSettings.js.map +0 -1
  764. package/esm/resources/V2/Billing/Profiles.d.ts +0 -166
  765. package/esm/resources/V2/Billing/Profiles.js +0 -31
  766. package/esm/resources/V2/Billing/Profiles.js.map +0 -1
  767. package/esm/resources/V2/Core/BatchJobs.d.ts +0 -373
  768. package/esm/resources/V2/Core/BatchJobs.js +0 -221
  769. package/esm/resources/V2/Core/BatchJobs.js.map +0 -1
  770. package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -285
  771. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -50
  772. package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
  773. package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -254
  774. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -58
  775. package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
  776. package/esm/resources/V2/Core/Vault/index.d.ts +0 -28
  777. package/esm/resources/V2/Core/Vault/index.js +0 -11
  778. package/esm/resources/V2/Core/Vault/index.js.map +0 -1
  779. package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -156
  780. package/esm/resources/V2/Data/Reporting/QueryRuns.js +0 -42
  781. package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
  782. package/esm/resources/V2/Data/Reporting/index.d.ts +0 -13
  783. package/esm/resources/V2/Data/Reporting/index.js +0 -9
  784. package/esm/resources/V2/Data/Reporting/index.js.map +0 -1
  785. package/esm/resources/V2/Data/index.d.ts +0 -10
  786. package/esm/resources/V2/Data/index.js +0 -9
  787. package/esm/resources/V2/Data/index.js.map +0 -1
  788. package/esm/resources/V2/EventMisc.d.ts +0 -0
  789. package/esm/resources/V2/EventMisc.js +0 -2
  790. package/esm/resources/V2/EventMisc.js.map +0 -1
  791. package/esm/resources/V2/Extend/WorkflowRuns.d.ts +0 -166
  792. package/esm/resources/V2/Extend/WorkflowRuns.js +0 -19
  793. package/esm/resources/V2/Extend/WorkflowRuns.js.map +0 -1
  794. package/esm/resources/V2/Extend/Workflows.d.ts +0 -123
  795. package/esm/resources/V2/Extend/Workflows.js +0 -26
  796. package/esm/resources/V2/Extend/Workflows.js.map +0 -1
  797. package/esm/resources/V2/Extend/index.d.ts +0 -20
  798. package/esm/resources/V2/Extend/index.js +0 -11
  799. package/esm/resources/V2/Extend/index.js.map +0 -1
  800. package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
  801. package/esm/resources/V2/FinancialAddressCreditSimulations.js +0 -3
  802. package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
  803. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
  804. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -3
  805. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
  806. package/esm/resources/V2/Iam/ActivityLogs.d.ts +0 -204
  807. package/esm/resources/V2/Iam/ActivityLogs.js +0 -13
  808. package/esm/resources/V2/Iam/ActivityLogs.js.map +0 -1
  809. package/esm/resources/V2/Iam/index.d.ts +0 -12
  810. package/esm/resources/V2/Iam/index.js +0 -9
  811. package/esm/resources/V2/Iam/index.js.map +0 -1
  812. package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
  813. package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -19
  814. package/esm/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
  815. package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -244
  816. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -40
  817. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
  818. package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -215
  819. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -27
  820. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
  821. package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -254
  822. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -26
  823. package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
  824. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -212
  825. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -18
  826. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
  827. package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -388
  828. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -37
  829. package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
  830. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -299
  831. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -45
  832. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
  833. package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -330
  834. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -35
  835. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
  836. package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -243
  837. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -40
  838. package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
  839. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -96
  840. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -13
  841. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
  842. package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -292
  843. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -19
  844. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
  845. package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -161
  846. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -19
  847. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
  848. package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -165
  849. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -19
  850. package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
  851. package/esm/resources/V2/MoneyManagement/Transactions.d.ts +0 -196
  852. package/esm/resources/V2/MoneyManagement/Transactions.js +0 -19
  853. package/esm/resources/V2/MoneyManagement/Transactions.js.map +0 -1
  854. package/esm/resources/V2/MoneyManagement/index.d.ts +0 -104
  855. package/esm/resources/V2/MoneyManagement/index.js +0 -35
  856. package/esm/resources/V2/MoneyManagement/index.js.map +0 -1
  857. package/esm/resources/V2/Network/BusinessProfiles.d.ts +0 -96
  858. package/esm/resources/V2/Network/BusinessProfiles.js +0 -17
  859. package/esm/resources/V2/Network/BusinessProfiles.js.map +0 -1
  860. package/esm/resources/V2/Network/index.d.ts +0 -13
  861. package/esm/resources/V2/Network/index.js +0 -9
  862. package/esm/resources/V2/Network/index.js.map +0 -1
  863. package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -147
  864. package/esm/resources/V2/OrchestratedCommerce/Agreements.js +0 -37
  865. package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
  866. package/esm/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
  867. package/esm/resources/V2/OrchestratedCommerce/index.js +0 -9
  868. package/esm/resources/V2/OrchestratedCommerce/index.js.map +0 -1
  869. package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -44
  870. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -19
  871. package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
  872. package/esm/resources/V2/TestHelpers/index.d.ts +0 -8
  873. package/esm/resources/V2/TestHelpers/index.js +0 -9
  874. package/esm/resources/V2/TestHelpers/index.js.map +0 -1
@@ -11,7 +11,7 @@ import { CustomerSource } from './CustomerSources.js';
11
11
  import { Transfer } from './Transfers.js';
12
12
  import { PaymentMethod } from './PaymentMethods.js';
13
13
  import { Mandate } from './Mandates.js';
14
- import { Emptyable, MetadataParam, AddressParam, Address, PaginationParams, RangeQueryParam, Metadata } from '../shared.js';
14
+ import { Emptyable, MetadataParam, AddressParam, PaginationParams, RangeQueryParam, Metadata, Address } from '../shared.js';
15
15
  import { RequestOptions, ApiListPromise, Response, ApiList, ApiSearchResultPromise } from '../lib.js';
16
16
  export declare class ChargeResource extends StripeResource {
17
17
  /**
@@ -331,6 +331,7 @@ export declare namespace Charge {
331
331
  bacs_debit?: PaymentMethodDetails.BacsDebit;
332
332
  bancontact?: PaymentMethodDetails.Bancontact;
333
333
  billie?: PaymentMethodDetails.Billie;
334
+ bizum?: PaymentMethodDetails.Bizum;
334
335
  blik?: PaymentMethodDetails.Blik;
335
336
  boleto?: PaymentMethodDetails.Boleto;
336
337
  card?: PaymentMethodDetails.Card;
@@ -341,9 +342,7 @@ export declare namespace Charge {
341
342
  eps?: PaymentMethodDetails.Eps;
342
343
  fpx?: PaymentMethodDetails.Fpx;
343
344
  giropay?: PaymentMethodDetails.Giropay;
344
- gopay?: PaymentMethodDetails.Gopay;
345
345
  grabpay?: PaymentMethodDetails.Grabpay;
346
- id_bank_transfer?: PaymentMethodDetails.IdBankTransfer;
347
346
  ideal?: PaymentMethodDetails.Ideal;
348
347
  interac_present?: PaymentMethodDetails.InteracPresent;
349
348
  kakao_pay?: PaymentMethodDetails.KakaoPay;
@@ -362,21 +361,17 @@ export declare namespace Charge {
362
361
  payco?: PaymentMethodDetails.Payco;
363
362
  paynow?: PaymentMethodDetails.Paynow;
364
363
  paypal?: PaymentMethodDetails.Paypal;
365
- paypay?: PaymentMethodDetails.Paypay;
366
364
  payto?: PaymentMethodDetails.Payto;
367
365
  pix?: PaymentMethodDetails.Pix;
368
366
  promptpay?: PaymentMethodDetails.Promptpay;
369
- qris?: PaymentMethodDetails.Qris;
370
- rechnung?: PaymentMethodDetails.Rechnung;
371
367
  revolut_pay?: PaymentMethodDetails.RevolutPay;
372
368
  samsung_pay?: PaymentMethodDetails.SamsungPay;
373
369
  satispay?: PaymentMethodDetails.Satispay;
370
+ scalapay?: PaymentMethodDetails.Scalapay;
374
371
  sepa_credit_transfer?: PaymentMethodDetails.SepaCreditTransfer;
375
372
  sepa_debit?: PaymentMethodDetails.SepaDebit;
376
- shopeepay?: PaymentMethodDetails.Shopeepay;
377
373
  sofort?: PaymentMethodDetails.Sofort;
378
374
  stripe_account?: PaymentMethodDetails.StripeAccount;
379
- stripe_balance?: PaymentMethodDetails.StripeBalance;
380
375
  sunbit?: PaymentMethodDetails.Sunbit;
381
376
  swish?: PaymentMethodDetails.Swish;
382
377
  twint?: PaymentMethodDetails.Twint;
@@ -678,6 +673,12 @@ export declare namespace Charge {
678
673
  */
679
674
  transaction_id: string | null;
680
675
  }
676
+ interface Bizum {
677
+ /**
678
+ * The Bizum transaction ID associated with this payment.
679
+ */
680
+ transaction_id: string | null;
681
+ }
681
682
  interface Blik {
682
683
  /**
683
684
  * A unique and immutable identifier assigned by BLIK to every buyer.
@@ -695,10 +696,6 @@ export declare namespace Charge {
695
696
  * The authorized amount.
696
697
  */
697
698
  amount_authorized: number | null;
698
- /**
699
- * The latest amount intended to be authorized by this charge.
700
- */
701
- amount_requested?: number | null;
702
699
  /**
703
700
  * Authorization code on the charge.
704
701
  */
@@ -719,7 +716,6 @@ export declare namespace Charge {
719
716
  * 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.
720
717
  */
721
718
  country: string | null;
722
- decremental_authorization?: Card.DecrementalAuthorization;
723
719
  /**
724
720
  * 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.)
725
721
  */
@@ -784,7 +780,6 @@ export declare namespace Charge {
784
780
  */
785
781
  network_transaction_id: string | null;
786
782
  overcapture?: Card.Overcapture;
787
- partial_authorization?: Card.PartialAuthorization;
788
783
  /**
789
784
  * Status of a card based on the card issuer.
790
785
  */
@@ -987,36 +982,12 @@ export declare namespace Charge {
987
982
  */
988
983
  verified_name: string | null;
989
984
  }
990
- interface Gopay {
991
- }
992
985
  interface Grabpay {
993
986
  /**
994
987
  * Unique transaction id generated by GrabPay
995
988
  */
996
989
  transaction_id: string | null;
997
990
  }
998
- interface IdBankTransfer {
999
- /**
1000
- * Account number of the bank account to transfer funds to.
1001
- */
1002
- account_number: string;
1003
- /**
1004
- * Bank where the account is located.
1005
- */
1006
- bank: IdBankTransfer.Bank;
1007
- /**
1008
- * Local bank code of the bank.
1009
- */
1010
- bank_code?: string;
1011
- /**
1012
- * Name of the bank associated with the bank account.
1013
- */
1014
- bank_name?: string;
1015
- /**
1016
- * Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
1017
- */
1018
- display_name?: string;
1019
- }
1020
991
  interface Ideal {
1021
992
  /**
1022
993
  * 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`.
@@ -1326,34 +1297,10 @@ export declare namespace Charge {
1326
1297
  * The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction.
1327
1298
  */
1328
1299
  seller_protection: Paypal.SellerProtection | null;
1329
- /**
1330
- * The shipping address for the customer, as supplied by the merchant at the point of payment
1331
- * execution. This shipping address will not be updated if the merchant updates the shipping
1332
- * address on the PaymentIntent after the PaymentIntent was successfully confirmed.
1333
- */
1334
- shipping?: Address | null;
1335
1300
  /**
1336
1301
  * A unique ID generated by PayPal for this transaction.
1337
1302
  */
1338
1303
  transaction_id: string | null;
1339
- /**
1340
- * The shipping address for the customer, as supplied by the merchant at the point of payment
1341
- * execution. This shipping address will not be updated if the merchant updates the shipping
1342
- * address on the PaymentIntent after the PaymentIntent was successfully confirmed.
1343
- */
1344
- verified_address?: Address | null;
1345
- /**
1346
- * Owner's verified email. Values are verified or provided by PayPal directly
1347
- * (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1348
- */
1349
- verified_email?: string | null;
1350
- /**
1351
- * Owner's verified full name. Values are verified or provided by PayPal directly
1352
- * (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1353
- */
1354
- verified_name?: string | null;
1355
- }
1356
- interface Paypay {
1357
1304
  }
1358
1305
  interface Payto {
1359
1306
  /**
@@ -1389,14 +1336,6 @@ export declare namespace Charge {
1389
1336
  */
1390
1337
  reference: string | null;
1391
1338
  }
1392
- interface Qris {
1393
- }
1394
- interface Rechnung {
1395
- /**
1396
- * Payment portal URL.
1397
- */
1398
- payment_portal_url: string | null;
1399
- }
1400
1339
  interface RevolutPay {
1401
1340
  funding?: RevolutPay.Funding;
1402
1341
  /**
@@ -1420,6 +1359,12 @@ export declare namespace Charge {
1420
1359
  */
1421
1360
  transaction_id: string | null;
1422
1361
  }
1362
+ interface Scalapay {
1363
+ /**
1364
+ * The Scalapay transaction ID associated with this payment.
1365
+ */
1366
+ transaction_id: string | null;
1367
+ }
1423
1368
  interface SepaCreditTransfer {
1424
1369
  /**
1425
1370
  * Name of the bank associated with the bank account.
@@ -1464,8 +1409,6 @@ export declare namespace Charge {
1464
1409
  */
1465
1410
  mandate: string | null;
1466
1411
  }
1467
- interface Shopeepay {
1468
- }
1469
1412
  interface Sofort {
1470
1413
  /**
1471
1414
  * Bank code of bank associated with the bank account.
@@ -1508,12 +1451,6 @@ export declare namespace Charge {
1508
1451
  }
1509
1452
  interface StripeAccount {
1510
1453
  }
1511
- interface StripeBalance {
1512
- /**
1513
- * The connected account ID whose Stripe balance to use as the source of payment
1514
- */
1515
- account?: string | null;
1516
- }
1517
1454
  interface Sunbit {
1518
1455
  /**
1519
1456
  * The Sunbit transaction ID associated with this payment.
@@ -1535,6 +1472,10 @@ export declare namespace Charge {
1535
1472
  verified_phone_last4: string | null;
1536
1473
  }
1537
1474
  interface Twint {
1475
+ /**
1476
+ * ID of the multi use Mandate generated by the PaymentIntent
1477
+ */
1478
+ mandate?: string;
1538
1479
  }
1539
1480
  interface Upi {
1540
1481
  /**
@@ -1627,10 +1568,6 @@ export declare namespace Charge {
1627
1568
  * Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
1628
1569
  */
1629
1570
  brand: string | null;
1630
- /**
1631
- * 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.)
1632
- */
1633
- brand_product?: string | null;
1634
1571
  /**
1635
1572
  * 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.
1636
1573
  */
@@ -1672,12 +1609,6 @@ export declare namespace Charge {
1672
1609
  */
1673
1610
  cvc_check: string | null;
1674
1611
  }
1675
- interface DecrementalAuthorization {
1676
- /**
1677
- * Indicates whether or not the decremental authorization feature is supported.
1678
- */
1679
- status: DecrementalAuthorization.Status;
1680
- }
1681
1612
  interface ExtendedAuthorization {
1682
1613
  /**
1683
1614
  * Indicates whether or not the capture window is extended beyond the standard authorization.
@@ -1718,12 +1649,6 @@ export declare namespace Charge {
1718
1649
  */
1719
1650
  status: Overcapture.Status;
1720
1651
  }
1721
- interface PartialAuthorization {
1722
- /**
1723
- * Indicates whether the transaction requested for partial authorization feature and the authorization outcome.
1724
- */
1725
- status: PartialAuthorization.Status;
1726
- }
1727
1652
  type RegulatedStatus = 'regulated' | 'unregulated';
1728
1653
  interface ThreeDSecure {
1729
1654
  /**
@@ -1781,9 +1706,6 @@ export declare namespace Charge {
1781
1706
  type: Wallet.Type;
1782
1707
  visa_checkout?: Wallet.VisaCheckout;
1783
1708
  }
1784
- namespace DecrementalAuthorization {
1785
- type Status = 'available' | 'unavailable';
1786
- }
1787
1709
  namespace ExtendedAuthorization {
1788
1710
  type Status = 'disabled' | 'enabled';
1789
1711
  }
@@ -1816,9 +1738,6 @@ export declare namespace Charge {
1816
1738
  namespace Overcapture {
1817
1739
  type Status = 'available' | 'unavailable';
1818
1740
  }
1819
- namespace PartialAuthorization {
1820
- type Status = 'declined' | 'fully_authorized' | 'not_requested' | 'partially_authorized';
1821
- }
1822
1741
  namespace ThreeDSecure {
1823
1742
  type AuthenticationFlow = 'challenge' | 'frictionless';
1824
1743
  type ElectronicCommerceIndicator = '01' | '02' | '05' | '06' | '07';
@@ -1951,9 +1870,6 @@ export declare namespace Charge {
1951
1870
  type AccountHolderType = 'company' | 'individual';
1952
1871
  type Bank = 'affin_bank' | 'agrobank' | 'alliance_bank' | 'ambank' | 'bank_islam' | 'bank_muamalat' | 'bank_of_china' | 'bank_rakyat' | 'bsn' | 'cimb' | 'deutsche_bank' | 'hong_leong_bank' | 'hsbc' | 'kfh' | 'maybank2e' | 'maybank2u' | 'ocbc' | 'pb_enterprise' | 'public_bank' | 'rhb' | 'standard_chartered' | 'uob';
1953
1872
  }
1954
- namespace IdBankTransfer {
1955
- type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
1956
- }
1957
1873
  namespace Ideal {
1958
1874
  type Bank = 'abn_amro' | 'adyen' | 'asn_bank' | 'bunq' | 'buut' | 'finom' | 'handelsbanken' | 'ing' | 'knab' | 'mollie' | 'moneyou' | 'n26' | 'nn' | 'rabobank' | 'regiobank' | 'revolut' | 'sns_bank' | 'triodos_bank' | 'van_lanschot' | 'yoursafe';
1959
1875
  type Bic = 'ABNANL2A' | 'ADYBNL2A' | 'ASNBNL21' | 'BITSNL2A' | 'BUNQNL2A' | 'BUUTNL2A' | 'FNOMNL22' | 'FVLBNL22' | 'HANDNL2A' | 'INGBNL2A' | 'KNABNL2H' | 'MLLENL2A' | 'MOYONL21' | 'NNBANL2G' | 'NTSBDEB1' | 'RABONL2U' | 'RBRBNL21' | 'REVOIE23' | 'REVOLT21' | 'SNSBNL2A' | 'TRIONL2U';
@@ -2089,10 +2005,6 @@ export declare namespace Charge {
2089
2005
  * Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
2090
2006
  */
2091
2007
  brand: string | null;
2092
- /**
2093
- * 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.)
2094
- */
2095
- brand_product?: string | null;
2096
2008
  /**
2097
2009
  * 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.
2098
2010
  */
@@ -2243,6 +2155,10 @@ export declare namespace ChargeCreateParams {
2243
2155
  * The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
2244
2156
  */
2245
2157
  amount?: number;
2158
+ /**
2159
+ * An arbitrary string attached to the transfer. Often useful for displaying to users.
2160
+ */
2161
+ description?: string;
2246
2162
  /**
2247
2163
  * ID of an existing, connected Stripe account.
2248
2164
  */
@@ -2276,10 +2192,6 @@ export interface ChargeUpdateParams {
2276
2192
  * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
2277
2193
  */
2278
2194
  metadata?: Emptyable<MetadataParam>;
2279
- /**
2280
- * Provides industry-specific information about the charge.
2281
- */
2282
- payment_details?: ChargeUpdateParams.PaymentDetails;
2283
2195
  /**
2284
2196
  * This is the email address that the receipt for this charge will be sent to. If this field is updated, then a new email receipt will be sent to the updated address.
2285
2197
  */
@@ -2300,52 +2212,6 @@ export declare namespace ChargeUpdateParams {
2300
2212
  */
2301
2213
  user_report: Emptyable<FraudDetails.UserReport>;
2302
2214
  }
2303
- interface PaymentDetails {
2304
- /**
2305
- * Car rental details for this PaymentIntent.
2306
- */
2307
- car_rental?: PaymentDetails.CarRental;
2308
- /**
2309
- * Car rental data for this PaymentIntent.
2310
- */
2311
- car_rental_data?: Emptyable<Array<PaymentDetails.CarRentalDatum>>;
2312
- /**
2313
- * A unique value to identify the customer. This field is available only for card payments.
2314
- *
2315
- * This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
2316
- */
2317
- customer_reference?: Emptyable<string>;
2318
- /**
2319
- * Event details for this PaymentIntent
2320
- */
2321
- event_details?: PaymentDetails.EventDetails;
2322
- /**
2323
- * Flight reservation details for this PaymentIntent
2324
- */
2325
- flight?: PaymentDetails.Flight;
2326
- /**
2327
- * Flight data for this PaymentIntent.
2328
- */
2329
- flight_data?: Emptyable<Array<PaymentDetails.FlightDatum>>;
2330
- /**
2331
- * Lodging reservation details for this PaymentIntent
2332
- */
2333
- lodging?: PaymentDetails.Lodging;
2334
- /**
2335
- * Lodging data for this PaymentIntent.
2336
- */
2337
- lodging_data?: Emptyable<Array<PaymentDetails.LodgingDatum>>;
2338
- /**
2339
- * A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
2340
- *
2341
- * For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
2342
- */
2343
- order_reference?: Emptyable<string>;
2344
- /**
2345
- * Subscription details for this PaymentIntent
2346
- */
2347
- subscription?: PaymentDetails.Subscription;
2348
- }
2349
2215
  interface Shipping {
2350
2216
  /**
2351
2217
  * Shipping address.
@@ -2371,2913 +2237,75 @@ export declare namespace ChargeUpdateParams {
2371
2237
  namespace FraudDetails {
2372
2238
  type UserReport = 'fraudulent' | 'safe';
2373
2239
  }
2374
- namespace PaymentDetails {
2375
- interface CarRental {
2376
- /**
2377
- * Affiliate details for this purchase.
2378
- */
2379
- affiliate?: CarRental.Affiliate;
2380
- /**
2381
- * The booking number associated with the car rental.
2382
- */
2383
- booking_number: string;
2384
- /**
2385
- * Class code of the car.
2386
- */
2387
- car_class_code?: string;
2388
- /**
2389
- * Make of the car.
2390
- */
2391
- car_make?: string;
2392
- /**
2393
- * Model of the car.
2394
- */
2395
- car_model?: string;
2396
- /**
2397
- * The name of the rental car company.
2398
- */
2399
- company?: string;
2400
- /**
2401
- * The customer service phone number of the car rental company.
2402
- */
2403
- customer_service_phone_number?: string;
2404
- /**
2405
- * Number of days the car is being rented.
2406
- */
2407
- days_rented: number;
2408
- /**
2409
- * Delivery details for this purchase.
2410
- */
2411
- delivery?: CarRental.Delivery;
2412
- /**
2413
- * The details of the distance traveled during the rental period.
2414
- */
2415
- distance?: CarRental.Distance;
2416
- /**
2417
- * The details of the passengers in the travel reservation
2418
- */
2419
- drivers?: Array<CarRental.Driver>;
2420
- /**
2421
- * List of additional charges being billed.
2422
- */
2423
- extra_charges?: Array<CarRental.ExtraCharge>;
2424
- /**
2425
- * Indicates if the customer did not keep nor cancel their booking.
2426
- */
2427
- no_show?: boolean;
2428
- /**
2429
- * Car pick-up address.
2430
- */
2431
- pickup_address?: AddressParam;
2432
- /**
2433
- * Car pick-up time. Measured in seconds since the Unix epoch.
2434
- */
2435
- pickup_at: number;
2436
- /**
2437
- * Name of the pickup location.
2438
- */
2439
- pickup_location_name?: string;
2440
- /**
2441
- * Rental rate.
2442
- */
2443
- rate_amount?: number;
2444
- /**
2445
- * The frequency at which the rate amount is applied. One of `day`, `week` or `month`
2446
- */
2447
- rate_interval?: CarRental.RateInterval;
2448
- /**
2449
- * The name of the person or entity renting the car.
2450
- */
2451
- renter_name?: string;
2452
- /**
2453
- * Car return address.
2454
- */
2455
- return_address?: AddressParam;
2456
- /**
2457
- * Car return time. Measured in seconds since the Unix epoch.
2458
- */
2459
- return_at: number;
2460
- /**
2461
- * Name of the return location.
2462
- */
2463
- return_location_name?: string;
2464
- /**
2465
- * Indicates whether the goods or services are tax-exempt or tax is not collected.
2466
- */
2467
- tax_exempt?: boolean;
2468
- /**
2469
- * The vehicle identification number.
2470
- */
2471
- vehicle_identification_number?: string;
2472
- }
2473
- interface CarRentalDatum {
2474
- /**
2475
- * Affiliate (such as travel agency) details for the rental.
2476
- */
2477
- affiliate?: CarRentalDatum.Affiliate;
2478
- /**
2479
- * Booking confirmation number for the car rental.
2480
- */
2481
- booking_number?: string;
2482
- /**
2483
- * Name of the car rental company.
2484
- */
2485
- carrier_name?: string;
2486
- /**
2487
- * Customer service phone number for the car rental company.
2488
- */
2489
- customer_service_phone_number?: string;
2490
- /**
2491
- * Number of days the car is being rented.
2492
- */
2493
- days_rented?: number;
2494
- /**
2495
- * Distance details for the rental.
2496
- */
2497
- distance?: CarRentalDatum.Distance;
2498
- /**
2499
- * List of drivers for the rental.
2500
- */
2501
- drivers?: Array<CarRentalDatum.Driver>;
2502
- /**
2503
- * Drop-off location details.
2504
- */
2505
- drop_off: CarRentalDatum.DropOff;
2506
- /**
2507
- * Insurance details for the rental.
2508
- */
2509
- insurances?: Array<CarRentalDatum.Insurance>;
2510
- /**
2511
- * Indicates if the customer was a no-show.
2512
- */
2513
- no_show_indicator?: boolean;
2514
- /**
2515
- * Pickup location details.
2516
- */
2517
- pickup: CarRentalDatum.Pickup;
2518
- /**
2519
- * Name of the person renting the vehicle.
2520
- */
2521
- renter_name?: string;
2522
- /**
2523
- * Total cost breakdown for the rental.
2524
- */
2525
- total: CarRentalDatum.Total;
2526
- /**
2527
- * Vehicle details for the rental.
2528
- */
2529
- vehicle?: CarRentalDatum.Vehicle;
2530
- }
2531
- interface EventDetails {
2532
- /**
2533
- * Indicates if the tickets are digitally checked when entering the venue.
2534
- */
2535
- access_controlled_venue?: boolean;
2536
- /**
2537
- * The event location's address.
2538
- */
2539
- address?: AddressParam;
2540
- /**
2541
- * Affiliate details for this purchase.
2542
- */
2543
- affiliate?: EventDetails.Affiliate;
2544
- /**
2545
- * The name of the company
2546
- */
2547
- company?: string;
2548
- /**
2549
- * Delivery details for this purchase.
2550
- */
2551
- delivery?: EventDetails.Delivery;
2552
- /**
2553
- * Event end time. Measured in seconds since the Unix epoch.
2554
- */
2555
- ends_at?: number;
2556
- /**
2557
- * Type of the event entertainment (concert, sports event etc)
2558
- */
2559
- genre?: string;
2560
- /**
2561
- * The name of the event.
2562
- */
2563
- name: string;
2564
- /**
2565
- * Event start time. Measured in seconds since the Unix epoch.
2566
- */
2567
- starts_at?: number;
2568
- }
2569
- interface Flight {
2570
- /**
2571
- * Affiliate details for this purchase.
2572
- */
2573
- affiliate?: Flight.Affiliate;
2574
- /**
2575
- * The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
2576
- */
2577
- agency_number?: string;
2578
- /**
2579
- * The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
2580
- */
2581
- carrier?: string;
2582
- /**
2583
- * Delivery details for this purchase.
2584
- */
2585
- delivery?: Flight.Delivery;
2586
- /**
2587
- * The name of the person or entity on the reservation.
2588
- */
2589
- passenger_name?: string;
2590
- /**
2591
- * The details of the passengers in the travel reservation.
2592
- */
2593
- passengers?: Array<Flight.Passenger>;
2594
- /**
2595
- * The individual flight segments associated with the trip.
2596
- */
2597
- segments: Array<Flight.Segment>;
2598
- /**
2599
- * The ticket number associated with the travel reservation.
2600
- */
2601
- ticket_number?: string;
2602
- }
2603
- interface FlightDatum {
2604
- /**
2605
- * Affiliate details if applicable.
2606
- */
2607
- affiliate?: FlightDatum.Affiliate;
2608
- /**
2609
- * Reservation reference.
2610
- */
2611
- booking_number?: string;
2612
- /**
2613
- * Computerized reservation system used to make the reservation and purchase the ticket.
2614
- */
2615
- computerized_reservation_system?: string;
2616
- /**
2617
- * Ticket restrictions.
2618
- */
2619
- endorsements_and_restrictions?: string;
2620
- /**
2621
- * List of insurances.
2622
- */
2623
- insurances?: Array<FlightDatum.Insurance>;
2624
- /**
2625
- * List of passengers.
2626
- */
2627
- passengers?: Array<FlightDatum.Passenger>;
2628
- /**
2629
- * List of flight segments.
2630
- */
2631
- segments: Array<FlightDatum.Segment>;
2632
- /**
2633
- * Electronic ticket indicator.
2634
- */
2635
- ticket_electronically_issued_indicator?: boolean;
2636
- /**
2637
- * Total cost breakdown.
2638
- */
2639
- total: FlightDatum.Total;
2640
- /**
2641
- * Type of flight transaction.
2642
- */
2643
- transaction_type?: FlightDatum.TransactionType;
2644
- }
2645
- interface Lodging {
2646
- /**
2647
- * The lodging location's address.
2648
- */
2649
- address?: AddressParam;
2650
- /**
2651
- * The number of adults on the booking
2652
- */
2653
- adults?: number;
2654
- /**
2655
- * Affiliate details for this purchase.
2656
- */
2657
- affiliate?: Lodging.Affiliate;
2658
- /**
2659
- * The booking number associated with the lodging reservation.
2660
- */
2661
- booking_number?: string;
2662
- /**
2663
- * The lodging category
2664
- */
2665
- category?: Lodging.Category;
2666
- /**
2667
- * Lodging check-in time. Measured in seconds since the Unix epoch.
2668
- */
2669
- checkin_at: number;
2670
- /**
2671
- * Lodging check-out time. Measured in seconds since the Unix epoch.
2672
- */
2673
- checkout_at: number;
2674
- /**
2675
- * The customer service phone number of the lodging company.
2676
- */
2677
- customer_service_phone_number?: string;
2678
- /**
2679
- * The daily lodging room rate.
2680
- */
2681
- daily_room_rate_amount?: number;
2682
- /**
2683
- * Delivery details for this purchase.
2684
- */
2685
- delivery?: Lodging.Delivery;
2686
- /**
2687
- * List of additional charges being billed.
2688
- */
2689
- extra_charges?: Array<Lodging.ExtraCharge>;
2690
- /**
2691
- * Indicates whether the lodging location is compliant with the Fire Safety Act.
2692
- */
2693
- fire_safety_act_compliance?: boolean;
2694
- /**
2695
- * The name of the lodging location.
2696
- */
2697
- name?: string;
2698
- /**
2699
- * Indicates if the customer did not keep their booking while failing to cancel the reservation.
2700
- */
2701
- no_show?: boolean;
2702
- /**
2703
- * The number of rooms on the booking
2704
- */
2705
- number_of_rooms?: number;
2706
- /**
2707
- * The details of the passengers in the travel reservation
2708
- */
2709
- passengers?: Array<Lodging.Passenger>;
2710
- /**
2711
- * The phone number of the lodging location.
2712
- */
2713
- property_phone_number?: string;
2714
- /**
2715
- * The room class for this purchase.
2716
- */
2717
- room_class?: string;
2718
- /**
2719
- * The number of room nights
2720
- */
2721
- room_nights?: number;
2722
- /**
2723
- * The total tax amount associating with the room reservation.
2724
- */
2725
- total_room_tax_amount?: number;
2726
- /**
2727
- * The total tax amount
2728
- */
2729
- total_tax_amount?: number;
2730
- }
2731
- interface LodgingDatum {
2732
- /**
2733
- * Accommodation details for the lodging.
2734
- */
2735
- accommodation?: LodgingDatum.Accommodation;
2736
- /**
2737
- * Affiliate details if applicable.
2738
- */
2739
- affiliate?: LodgingDatum.Affiliate;
2740
- /**
2741
- * Booking confirmation number for the lodging.
2742
- */
2743
- booking_number?: string;
2744
- /**
2745
- * Check-in date.
2746
- */
2747
- checkin_at: number;
2748
- /**
2749
- * Check-out date.
2750
- */
2751
- checkout_at: number;
2752
- /**
2753
- * Customer service phone number for the lodging company.
2754
- */
2755
- customer_service_phone_number?: string;
2756
- /**
2757
- * Whether the lodging is compliant with any hotel fire safety regulations.
2758
- */
2759
- fire_safety_act_compliance_indicator?: boolean;
2760
- /**
2761
- * List of guests for the lodging.
2762
- */
2763
- guests?: Array<LodgingDatum.Guest>;
2764
- /**
2765
- * Host details for the lodging.
2766
- */
2767
- host?: LodgingDatum.Host;
2768
- /**
2769
- * List of insurances for the lodging.
2770
- */
2771
- insurances?: Array<LodgingDatum.Insurance>;
2772
- /**
2773
- * Whether the renter is a no-show.
2774
- */
2775
- no_show_indicator?: boolean;
2776
- /**
2777
- * Renter ID number for the lodging.
2778
- */
2779
- renter_id_number?: string;
2780
- /**
2781
- * Renter name for the lodging.
2782
- */
2783
- renter_name?: string;
2784
- /**
2785
- * Total details for the lodging.
2786
- */
2787
- total: LodgingDatum.Total;
2788
- }
2789
- interface Subscription {
2790
- /**
2791
- * Affiliate details for this purchase.
2792
- */
2793
- affiliate?: Subscription.Affiliate;
2794
- /**
2795
- * Info whether the subscription will be auto renewed upon expiry.
2796
- */
2797
- auto_renewal?: boolean;
2798
- /**
2799
- * Subscription billing details for this purchase.
2800
- */
2801
- billing_interval?: Subscription.BillingInterval;
2802
- /**
2803
- * Subscription end time. Measured in seconds since the Unix epoch.
2804
- */
2805
- ends_at?: number;
2806
- /**
2807
- * Name of the product on subscription. e.g. Apple Music Subscription
2808
- */
2809
- name: string;
2810
- /**
2811
- * Subscription start time. Measured in seconds since the Unix epoch.
2812
- */
2813
- starts_at?: number;
2814
- }
2815
- namespace CarRental {
2816
- interface Affiliate {
2817
- /**
2818
- * The name of the affiliate that originated the purchase.
2819
- */
2820
- name: string;
2821
- }
2822
- interface Delivery {
2823
- /**
2824
- * The delivery method for the payment
2825
- */
2826
- mode?: Delivery.Mode;
2827
- /**
2828
- * Details of the recipient.
2829
- */
2830
- recipient?: Delivery.Recipient;
2831
- }
2832
- interface Distance {
2833
- /**
2834
- * Distance traveled.
2835
- */
2836
- amount?: number;
2837
- /**
2838
- * Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
2839
- */
2840
- unit?: Distance.Unit;
2841
- }
2842
- interface Driver {
2843
- /**
2844
- * Driver's identification number.
2845
- */
2846
- driver_identification_number?: string;
2847
- /**
2848
- * Driver's tax number.
2849
- */
2850
- driver_tax_number?: string;
2851
- /**
2852
- * Full name of the person or entity on the car reservation.
2853
- */
2854
- name: string;
2855
- }
2856
- type ExtraCharge = 'extra_mileage' | 'gas' | 'late_return' | 'one_way_service' | 'parking_violation';
2857
- type RateInterval = 'day' | 'month' | 'week';
2858
- namespace Delivery {
2859
- type Mode = 'email' | 'phone' | 'pickup' | 'post';
2860
- interface Recipient {
2861
- /**
2862
- * The email of the recipient the ticket is delivered to.
2863
- */
2864
- email?: string;
2865
- /**
2866
- * The name of the recipient the ticket is delivered to.
2867
- */
2868
- name?: string;
2869
- /**
2870
- * The phone number of the recipient the ticket is delivered to.
2871
- */
2872
- phone?: string;
2873
- }
2874
- }
2875
- namespace Distance {
2876
- type Unit = 'kilometers' | 'miles';
2877
- }
2878
- }
2879
- namespace CarRentalDatum {
2880
- interface Affiliate {
2881
- /**
2882
- * Affiliate partner code.
2883
- */
2884
- code?: string;
2885
- /**
2886
- * Name of affiliate partner.
2887
- */
2888
- name?: string;
2889
- }
2890
- interface Distance {
2891
- /**
2892
- * Distance traveled.
2893
- */
2894
- amount: number;
2895
- /**
2896
- * Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
2897
- */
2898
- unit: Distance.Unit;
2899
- }
2900
- interface Driver {
2901
- /**
2902
- * Driver's date of birth.
2903
- */
2904
- date_of_birth?: Driver.DateOfBirth;
2905
- /**
2906
- * Driver's identification number.
2907
- */
2908
- driver_identification_number?: string;
2909
- /**
2910
- * Driver's tax number.
2911
- */
2912
- driver_tax_number?: string;
2913
- /**
2914
- * Driver's full name.
2915
- */
2916
- name: string;
2917
- }
2918
- interface DropOff {
2919
- /**
2920
- * Address of the rental location.
2921
- */
2922
- address: DropOff.Address;
2923
- /**
2924
- * Location name.
2925
- */
2926
- location_name?: string;
2927
- /**
2928
- * Timestamp for the location.
2929
- */
2930
- time: number;
2931
- }
2932
- interface Insurance {
2933
- /**
2934
- * Amount of the insurance coverage in cents.
2935
- */
2936
- amount: number;
2937
- /**
2938
- * Currency of the insurance amount.
2939
- */
2940
- currency?: string;
2941
- /**
2942
- * Name of the insurance company.
2943
- */
2944
- insurance_company_name?: string;
2945
- /**
2946
- * Type of insurance coverage.
2947
- */
2948
- insurance_type: Insurance.InsuranceType;
2949
- }
2950
- interface Pickup {
2951
- /**
2952
- * Address of the rental location.
2953
- */
2954
- address: Pickup.Address;
2955
- /**
2956
- * Location name.
2957
- */
2958
- location_name?: string;
2959
- /**
2960
- * Timestamp for the location.
2961
- */
2962
- time: number;
2963
- }
2964
- interface Total {
2965
- /**
2966
- * Total amount in cents.
2967
- */
2968
- amount: number;
2969
- /**
2970
- * Currency of the amount.
2971
- */
2972
- currency?: string;
2973
- /**
2974
- * Discount details for the rental.
2975
- */
2976
- discounts?: Total.Discounts;
2977
- /**
2978
- * Additional charges for the rental.
2979
- */
2980
- extra_charges?: Array<Total.ExtraCharge>;
2981
- /**
2982
- * Rate per unit for the rental.
2983
- */
2984
- rate_per_unit?: number;
2985
- /**
2986
- * Unit of measurement for the rate.
2987
- */
2988
- rate_unit?: Total.RateUnit;
2989
- /**
2990
- * Tax breakdown for the rental.
2991
- */
2992
- tax?: Total.Tax;
2993
- }
2994
- interface Vehicle {
2995
- /**
2996
- * Make of the rental vehicle.
2997
- */
2998
- make?: string;
2999
- /**
3000
- * Model of the rental vehicle.
3001
- */
3002
- model?: string;
3003
- /**
3004
- * Odometer reading at the time of rental.
3005
- */
3006
- odometer?: number;
3007
- /**
3008
- * Type of the rental vehicle.
3009
- */
3010
- type?: Vehicle.Type;
3011
- /**
3012
- * Class of the rental vehicle.
3013
- */
3014
- vehicle_class?: Vehicle.VehicleClass;
3015
- /**
3016
- * Vehicle identification number (VIN).
3017
- */
3018
- vehicle_identification_number?: string;
3019
- }
3020
- namespace Distance {
3021
- type Unit = 'kilometers' | 'miles';
3022
- }
3023
- namespace Driver {
3024
- interface DateOfBirth {
3025
- /**
3026
- * Day of birth (1-31).
3027
- */
3028
- day: number;
3029
- /**
3030
- * Month of birth (1-12).
3031
- */
3032
- month: number;
3033
- /**
3034
- * Year of birth (must be greater than 1900).
3035
- */
3036
- year: number;
3037
- }
3038
- }
3039
- namespace DropOff {
3040
- interface Address {
3041
- /**
3042
- * City, district, suburb, town, or village.
3043
- */
3044
- city: string;
3045
- /**
3046
- * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3047
- */
3048
- country: string;
3049
- /**
3050
- * Address line 1, such as the street, PO Box, or company name.
3051
- */
3052
- line1: string;
3053
- /**
3054
- * Address line 2, such as the apartment, suite, unit, or building.
3055
- */
3056
- line2?: string;
3057
- /**
3058
- * ZIP or postal code.
3059
- */
3060
- postal_code: string;
3061
- /**
3062
- * State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
3063
- */
3064
- state?: string;
3065
- }
3066
- }
3067
- namespace Insurance {
3068
- type InsuranceType = 'liability_supplement' | 'loss_damage_waiver' | 'other' | 'partial_damage_waiver' | 'personal_accident' | 'personal_effects';
3069
- }
3070
- namespace Pickup {
3071
- interface Address {
3072
- /**
3073
- * City, district, suburb, town, or village.
3074
- */
3075
- city: string;
3076
- /**
3077
- * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3078
- */
3079
- country: string;
3080
- /**
3081
- * Address line 1, such as the street, PO Box, or company name.
3082
- */
3083
- line1: string;
3084
- /**
3085
- * Address line 2, such as the apartment, suite, unit, or building.
3086
- */
3087
- line2?: string;
3088
- /**
3089
- * ZIP or postal code.
3090
- */
3091
- postal_code: string;
3092
- /**
3093
- * State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
3094
- */
3095
- state?: string;
3096
- }
3097
- }
3098
- namespace Total {
3099
- interface Discounts {
3100
- /**
3101
- * Corporate client discount code.
3102
- */
3103
- corporate_client_code?: string;
3104
- /**
3105
- * Coupon code applied to the rental.
3106
- */
3107
- coupon?: string;
3108
- /**
3109
- * Maximum number of free miles or kilometers included.
3110
- */
3111
- maximum_free_miles_or_kilometers?: number;
3112
- }
3113
- interface ExtraCharge {
3114
- /**
3115
- * Amount of the extra charge in cents.
3116
- */
3117
- amount: number;
3118
- /**
3119
- * Type of extra charge.
3120
- */
3121
- type: ExtraCharge.Type;
3122
- }
3123
- type RateUnit = 'days' | 'kilometers' | 'miles' | 'months' | 'weeks';
3124
- interface Tax {
3125
- /**
3126
- * Indicates if the transaction is tax exempt.
3127
- */
3128
- tax_exempt_indicator?: boolean;
3129
- /**
3130
- * Array of tax details.
3131
- */
3132
- taxes?: Array<Tax.Tax>;
3133
- }
3134
- namespace ExtraCharge {
3135
- type Type = 'extra_mileage' | 'gas' | 'gps' | 'late_charge' | 'one_way_drop_off' | 'other' | 'parking' | 'phone' | 'regular_mileage' | 'towing';
3136
- }
3137
- namespace Tax {
3138
- interface Tax {
3139
- /**
3140
- * Tax amount.
3141
- */
3142
- amount?: number;
3143
- /**
3144
- * Tax rate applied.
3145
- */
3146
- rate?: number;
3147
- /**
3148
- * Type of tax applied.
3149
- */
3150
- type?: string;
3151
- }
3152
- }
3153
- }
3154
- namespace Vehicle {
3155
- type Type = 'cargo_van' | 'compact' | 'economy' | 'exotic' | 'exotic_suv' | 'fifteen_passenger_van' | 'four_wheel_drive' | 'full_size' | 'intermediate' | 'large_suv' | 'large_truck' | 'luxury' | 'medium_suv' | 'midsize' | 'mini' | 'minivan' | 'miscellaneous' | 'moped' | 'moving_van' | 'premium' | 'regular' | 'small_medium_truck' | 'small_suv' | 'special' | 'standard' | 'stretch' | 'subcompact' | 'taxi' | 'twelve_foot_truck' | 'twelve_passenger_van' | 'twenty_foot_truck' | 'twenty_four_foot_truck' | 'twenty_six_foot_truck' | 'unique';
3156
- type VehicleClass = 'business' | 'economy' | 'first_class' | 'premium_economy';
3157
- }
3158
- }
3159
- namespace EventDetails {
3160
- interface Affiliate {
3161
- /**
3162
- * The name of the affiliate that originated the purchase.
3163
- */
3164
- name: string;
3165
- }
3166
- interface Delivery {
3167
- /**
3168
- * The delivery method for the payment
3169
- */
3170
- mode?: Delivery.Mode;
3171
- /**
3172
- * Details of the recipient.
3173
- */
3174
- recipient?: Delivery.Recipient;
3175
- }
3176
- namespace Delivery {
3177
- type Mode = 'email' | 'phone' | 'pickup' | 'post';
3178
- interface Recipient {
3179
- /**
3180
- * The email of the recipient the ticket is delivered to.
3181
- */
3182
- email?: string;
3183
- /**
3184
- * The name of the recipient the ticket is delivered to.
3185
- */
3186
- name?: string;
3187
- /**
3188
- * The phone number of the recipient the ticket is delivered to.
3189
- */
3190
- phone?: string;
3191
- }
3192
- }
3193
- }
3194
- namespace Flight {
3195
- interface Affiliate {
3196
- /**
3197
- * The name of the affiliate that originated the purchase.
3198
- */
3199
- name: string;
3200
- }
3201
- interface Delivery {
3202
- /**
3203
- * The delivery method for the payment
3204
- */
3205
- mode?: Delivery.Mode;
3206
- /**
3207
- * Details of the recipient.
3208
- */
3209
- recipient?: Delivery.Recipient;
3210
- }
3211
- interface Passenger {
3212
- /**
3213
- * Full name of the person or entity on the flight reservation.
3214
- */
3215
- name: string;
3216
- }
3217
- interface Segment {
3218
- /**
3219
- * The flight segment amount.
3220
- */
3221
- amount?: number;
3222
- /**
3223
- * The International Air Transport Association (IATA) airport code for the arrival airport.
3224
- */
3225
- arrival_airport?: string;
3226
- /**
3227
- * The arrival time for the flight segment. Measured in seconds since the Unix epoch.
3228
- */
3229
- arrives_at?: number;
3230
- /**
3231
- * The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
3232
- */
3233
- carrier?: string;
3234
- /**
3235
- * The departure time for the flight segment. Measured in seconds since the Unix epoch.
3236
- */
3237
- departs_at: number;
3238
- /**
3239
- * The International Air Transport Association (IATA) airport code for the departure airport.
3240
- */
3241
- departure_airport?: string;
3242
- /**
3243
- * The flight number associated with the segment
3244
- */
3245
- flight_number?: string;
3246
- /**
3247
- * The fare class for the segment.
3248
- */
3249
- service_class?: Segment.ServiceClass;
3250
- }
3251
- namespace Delivery {
3252
- type Mode = 'email' | 'phone' | 'pickup' | 'post';
3253
- interface Recipient {
3254
- /**
3255
- * The email of the recipient the ticket is delivered to.
3256
- */
3257
- email?: string;
3258
- /**
3259
- * The name of the recipient the ticket is delivered to.
3260
- */
3261
- name?: string;
3262
- /**
3263
- * The phone number of the recipient the ticket is delivered to.
3264
- */
3265
- phone?: string;
3266
- }
3267
- }
3268
- namespace Segment {
3269
- type ServiceClass = 'business' | 'economy' | 'first' | 'premium_economy';
3270
- }
3271
- }
3272
- namespace FlightDatum {
3273
- interface Affiliate {
3274
- /**
3275
- * Affiliate partner code.
3276
- */
3277
- code?: string;
3278
- /**
3279
- * Name of affiliate partner.
3280
- */
3281
- name?: string;
3282
- /**
3283
- * Code provided by the company to a travel agent authorizing ticket issuance.
3284
- */
3285
- travel_authorization_code?: string;
3286
- }
3287
- interface Insurance {
3288
- /**
3289
- * Insurance cost.
3290
- */
3291
- amount: number;
3292
- /**
3293
- * Insurance currency.
3294
- */
3295
- currency?: string;
3296
- /**
3297
- * Insurance company name.
3298
- */
3299
- insurance_company_name?: string;
3300
- /**
3301
- * Type of insurance.
3302
- */
3303
- insurance_type: Insurance.InsuranceType;
3304
- }
3305
- interface Passenger {
3306
- /**
3307
- * Passenger's full name.
3308
- */
3309
- name: string;
3310
- }
3311
- interface Segment {
3312
- /**
3313
- * Segment fare amount.
3314
- */
3315
- amount?: number;
3316
- /**
3317
- * Arrival details.
3318
- */
3319
- arrival: Segment.Arrival;
3320
- /**
3321
- * Airline carrier code.
3322
- */
3323
- carrier_code: string;
3324
- /**
3325
- * Carrier name.
3326
- */
3327
- carrier_name?: string;
3328
- /**
3329
- * Segment currency.
3330
- */
3331
- currency?: string;
3332
- /**
3333
- * Departure details.
3334
- */
3335
- departure: Segment.Departure;
3336
- /**
3337
- * Exchange ticket number.
3338
- */
3339
- exchange_ticket_number?: string;
3340
- /**
3341
- * Fare basis code.
3342
- */
3343
- fare_basis_code?: string;
3344
- /**
3345
- * Additional fees.
3346
- */
3347
- fees?: number;
3348
- /**
3349
- * Flight number.
3350
- */
3351
- flight_number?: string;
3352
- /**
3353
- * Stopover indicator.
3354
- */
3355
- is_stop_over_indicator?: boolean;
3356
- /**
3357
- * Refundable ticket indicator.
3358
- */
3359
- refundable?: boolean;
3360
- /**
3361
- * Class of service.
3362
- */
3363
- service_class: Segment.ServiceClass;
3364
- /**
3365
- * Tax amount for segment.
3366
- */
3367
- tax_amount?: number;
3368
- /**
3369
- * Ticket number.
3370
- */
3371
- ticket_number?: string;
3372
- }
3373
- interface Total {
3374
- /**
3375
- * Total flight amount.
3376
- */
3377
- amount: number;
3378
- /**
3379
- * Reason for credit.
3380
- */
3381
- credit_reason?: Total.CreditReason;
3382
- /**
3383
- * Total currency.
3384
- */
3385
- currency?: string;
3386
- /**
3387
- * Discount details.
3388
- */
3389
- discounts?: Total.Discounts;
3390
- /**
3391
- * Additional charges.
3392
- */
3393
- extra_charges?: Array<Total.ExtraCharge>;
3394
- /**
3395
- * Tax breakdown.
3396
- */
3397
- tax?: Total.Tax;
3398
- }
3399
- type TransactionType = 'exchange_ticket' | 'miscellaneous' | 'refund' | 'ticket_purchase';
3400
- namespace Insurance {
3401
- type InsuranceType = 'baggage' | 'bankruptcy' | 'cancelation' | 'emergency' | 'medical';
3402
- }
3403
- namespace Segment {
3404
- interface Arrival {
3405
- /**
3406
- * Arrival airport IATA code.
3407
- */
3408
- airport: string;
3409
- /**
3410
- * Arrival date/time.
3411
- */
3412
- arrives_at?: number;
3413
- /**
3414
- * Arrival city.
3415
- */
3416
- city?: string;
3417
- /**
3418
- * Arrival country.
3419
- */
3420
- country?: string;
3421
- }
3422
- interface Departure {
3423
- /**
3424
- * Departure airport IATA code.
3425
- */
3426
- airport: string;
3427
- /**
3428
- * Departure city.
3429
- */
3430
- city?: string;
3431
- /**
3432
- * Departure country.
3433
- */
3434
- country?: string;
3435
- /**
3436
- * Departure date/time.
3437
- */
3438
- departs_at: number;
3439
- }
3440
- type ServiceClass = 'business' | 'economy' | 'first_class' | 'premium_economy';
3441
- }
3442
- namespace Total {
3443
- type CreditReason = 'other' | 'partial_ticket_refund' | 'passenger_transport_ancillary_cancellation' | 'ticket_and_ancillary_cancellation' | 'ticket_cancellation';
3444
- interface Discounts {
3445
- /**
3446
- * Corporate client discount code.
3447
- */
3448
- corporate_client_code?: string;
3449
- }
3450
- interface ExtraCharge {
3451
- /**
3452
- * Amount of additional charges.
3453
- */
3454
- amount?: number;
3455
- /**
3456
- * Type of additional charges.
3457
- */
3458
- type?: ExtraCharge.Type;
3459
- }
3460
- interface Tax {
3461
- /**
3462
- * Array of tax details.
3463
- */
3464
- taxes?: Array<Tax.Tax>;
3465
- }
3466
- namespace ExtraCharge {
3467
- type Type = 'additional_fees' | 'ancillary_service_charges' | 'exchange_fee';
3468
- }
3469
- namespace Tax {
3470
- interface Tax {
3471
- /**
3472
- * Tax amount.
3473
- */
3474
- amount?: number;
3475
- /**
3476
- * Tax rate.
3477
- */
3478
- rate?: number;
3479
- /**
3480
- * Type of tax.
3481
- */
3482
- type?: string;
3483
- }
3484
- }
3485
- }
3486
- }
3487
- namespace Lodging {
3488
- interface Affiliate {
3489
- /**
3490
- * The name of the affiliate that originated the purchase.
3491
- */
3492
- name: string;
3493
- }
3494
- type Category = 'hotel' | 'vacation_rental';
3495
- interface Delivery {
3496
- /**
3497
- * The delivery method for the payment
3498
- */
3499
- mode?: Delivery.Mode;
3500
- /**
3501
- * Details of the recipient.
3502
- */
3503
- recipient?: Delivery.Recipient;
3504
- }
3505
- type ExtraCharge = 'gift_shop' | 'laundry' | 'mini_bar' | 'other' | 'restaurant' | 'telephone';
3506
- interface Passenger {
3507
- /**
3508
- * Full name of the person or entity on the lodging reservation.
3509
- */
3510
- name: string;
3511
- }
3512
- namespace Delivery {
3513
- type Mode = 'email' | 'phone' | 'pickup' | 'post';
3514
- interface Recipient {
3515
- /**
3516
- * The email of the recipient the ticket is delivered to.
3517
- */
3518
- email?: string;
3519
- /**
3520
- * The name of the recipient the ticket is delivered to.
3521
- */
3522
- name?: string;
3523
- /**
3524
- * The phone number of the recipient the ticket is delivered to.
3525
- */
3526
- phone?: string;
3527
- }
3528
- }
3529
- }
3530
- namespace LodgingDatum {
3531
- interface Accommodation {
3532
- /**
3533
- * Type of accommodation.
3534
- */
3535
- accommodation_type?: Accommodation.AccommodationType;
3536
- /**
3537
- * Bed type.
3538
- */
3539
- bed_type?: string;
3540
- /**
3541
- * Daily accommodation rate in cents.
3542
- */
3543
- daily_rate_amount?: number;
3544
- /**
3545
- * Number of nights.
3546
- */
3547
- nights?: number;
3548
- /**
3549
- * Number of rooms, cabanas, apartments, and so on.
3550
- */
3551
- number_of_rooms?: number;
3552
- /**
3553
- * Rate type.
3554
- */
3555
- rate_type?: string;
3556
- /**
3557
- * Whether smoking is allowed.
3558
- */
3559
- smoking_indicator?: boolean;
3560
- }
3561
- interface Affiliate {
3562
- /**
3563
- * Affiliate partner code.
3564
- */
3565
- code?: string;
3566
- /**
3567
- * Affiliate partner name.
3568
- */
3569
- name?: string;
3570
- }
3571
- interface Guest {
3572
- /**
3573
- * Guest's full name.
3574
- */
3575
- name: string;
3576
- }
3577
- interface Host {
3578
- /**
3579
- * Address of the host.
3580
- */
3581
- address?: Host.Address;
3582
- /**
3583
- * Host's country of domicile.
3584
- */
3585
- country_of_domicile?: string;
3586
- /**
3587
- * Reference number for the host.
3588
- */
3589
- host_reference?: string;
3590
- /**
3591
- * Type of host.
3592
- */
3593
- host_type?: Host.HostType;
3594
- /**
3595
- * Name of the lodging property or host.
3596
- */
3597
- name?: string;
3598
- /**
3599
- * Total number of reservations for the host.
3600
- */
3601
- number_of_reservations?: number;
3602
- /**
3603
- * Property phone number.
3604
- */
3605
- property_phone_number?: string;
3606
- /**
3607
- * Host's registration date.
3608
- */
3609
- registered_at?: number;
3610
- }
3611
- interface Insurance {
3612
- /**
3613
- * Price of the insurance coverage in cents.
3614
- */
3615
- amount: number;
3616
- /**
3617
- * Currency of the insurance amount.
3618
- */
3619
- currency?: string;
3620
- /**
3621
- * Name of the insurance company.
3622
- */
3623
- insurance_company_name?: string;
3624
- /**
3625
- * Type of insurance coverage.
3626
- */
3627
- insurance_type: Insurance.InsuranceType;
3628
- }
3629
- interface Total {
3630
- /**
3631
- * Total price of the lodging reservation in cents.
3632
- */
3633
- amount: number;
3634
- /**
3635
- * Cash advances in cents.
3636
- */
3637
- cash_advances?: number;
3638
- /**
3639
- * Currency of the total amount.
3640
- */
3641
- currency?: string;
3642
- /**
3643
- * Discount details for the lodging.
3644
- */
3645
- discounts?: Total.Discounts;
3646
- /**
3647
- * Additional charges for the lodging.
3648
- */
3649
- extra_charges?: Array<Total.ExtraCharge>;
3650
- /**
3651
- * Prepaid amount in cents.
3652
- */
3653
- prepaid_amount?: number;
3654
- /**
3655
- * Tax breakdown for the lodging reservation.
3656
- */
3657
- tax?: Total.Tax;
3658
- }
3659
- namespace Accommodation {
3660
- type AccommodationType = 'apartment' | 'cabana' | 'house' | 'penthouse' | 'room' | 'standard' | 'suite' | 'villa';
3661
- }
3662
- namespace Host {
3663
- interface Address {
3664
- /**
3665
- * City, district, suburb, town, or village.
3666
- */
3667
- city: string;
3668
- /**
3669
- * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3670
- */
3671
- country: string;
3672
- /**
3673
- * Address line 1, such as the street, PO Box, or company name.
3674
- */
3675
- line1: string;
3676
- /**
3677
- * Address line 2, such as the apartment, suite, unit, or building.
3678
- */
3679
- line2?: string;
3680
- /**
3681
- * ZIP or postal code.
3682
- */
3683
- postal_code: string;
3684
- /**
3685
- * State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
3686
- */
3687
- state?: string;
3688
- }
3689
- type HostType = 'hostel' | 'hotel' | 'owner' | 'rental_agency';
3690
- }
3691
- namespace Insurance {
3692
- type InsuranceType = 'bankruptcy' | 'cancelation' | 'emergency' | 'medical';
3693
- }
3694
- namespace Total {
3695
- interface Discounts {
3696
- /**
3697
- * Corporate client discount code.
3698
- */
3699
- corporate_client_code?: string;
3700
- /**
3701
- * Coupon code.
3702
- */
3703
- coupon?: string;
3704
- }
3705
- interface ExtraCharge {
3706
- /**
3707
- * Amount of the extra charge in cents.
3708
- */
3709
- amount?: number;
3710
- /**
3711
- * Type of extra charge.
3712
- */
3713
- type?: ExtraCharge.Type;
3714
- }
3715
- interface Tax {
3716
- /**
3717
- * Indicates whether the transaction is tax exempt.
3718
- */
3719
- tax_exempt_indicator?: boolean;
3720
- /**
3721
- * Tax details.
3722
- */
3723
- taxes?: Array<Tax.Tax>;
3724
- }
3725
- namespace ExtraCharge {
3726
- type Type = 'gift_shop' | 'laundry' | 'mini_bar' | 'other' | 'phone' | 'restaurant';
3727
- }
3728
- namespace Tax {
3729
- interface Tax {
3730
- /**
3731
- * Tax amount in cents.
3732
- */
3733
- amount?: number;
3734
- /**
3735
- * Tax rate.
3736
- */
3737
- rate?: number;
3738
- /**
3739
- * Type of tax applied.
3740
- */
3741
- type?: string;
3742
- }
3743
- }
3744
- }
3745
- }
3746
- namespace Subscription {
3747
- interface Affiliate {
3748
- /**
3749
- * The name of the affiliate that originated the purchase.
3750
- */
3751
- name: string;
3752
- }
3753
- interface BillingInterval {
3754
- /**
3755
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
3756
- */
3757
- count: number;
3758
- /**
3759
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
3760
- */
3761
- interval: BillingInterval.Interval;
3762
- }
3763
- namespace BillingInterval {
3764
- type Interval = 'day' | 'month' | 'week' | 'year';
3765
- }
3766
- }
3767
- }
3768
- }
3769
- export interface ChargeListParams extends PaginationParams {
3770
- /**
3771
- * Only return charges that were created during the given date interval.
3772
- */
3773
- created?: RangeQueryParam | number;
3774
- /**
3775
- * Only return charges for the customer specified by this customer ID.
3776
- */
3777
- customer?: string;
3778
- /**
3779
- * Specifies which fields in the response should be expanded.
3780
- */
3781
- expand?: Array<string>;
3782
- /**
3783
- * Only return charges that were created by the PaymentIntent specified by this PaymentIntent ID.
3784
- */
3785
- payment_intent?: string;
3786
- /**
3787
- * Only return charges for this transfer group, limited to 100.
3788
- */
3789
- transfer_group?: string;
3790
- }
3791
- export interface ChargeCaptureParams {
3792
- /**
3793
- * The amount to capture, which must be less than or equal to the original amount.
3794
- */
3795
- amount?: number;
3796
- /**
3797
- * An application fee to add on to this charge.
3798
- */
3799
- application_fee?: number;
3800
- /**
3801
- * An application fee amount to add on to this charge, which must be less than or equal to the original amount.
3802
- */
3803
- application_fee_amount?: number;
3804
- /**
3805
- * Specifies which fields in the response should be expanded.
3806
- */
3807
- expand?: Array<string>;
3808
- /**
3809
- * Provides industry-specific information about the charge.
3810
- */
3811
- payment_details?: ChargeCaptureParams.PaymentDetails;
3812
- /**
3813
- * The email address to send this charge's receipt to. This will override the previously-specified email address for this charge, if one was set. Receipts will not be sent in test mode.
3814
- */
3815
- receipt_email?: string;
3816
- /**
3817
- * 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).
3818
- *
3819
- * 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.
3820
- */
3821
- statement_descriptor?: string;
3822
- /**
3823
- * 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.
3824
- */
3825
- statement_descriptor_suffix?: string;
3826
- /**
3827
- * 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.
3828
- */
3829
- transfer_data?: ChargeCaptureParams.TransferData;
3830
- /**
3831
- * A string that identifies this transaction as part of a group. `transfer_group` may only be provided if it has not been set. See the [Connect documentation](https://docs.stripe.com/connect/separate-charges-and-transfers#transfer-options) for details.
3832
- */
3833
- transfer_group?: string;
3834
- }
3835
- export declare namespace ChargeCaptureParams {
3836
- interface PaymentDetails {
3837
- /**
3838
- * Car rental details for this PaymentIntent.
3839
- */
3840
- car_rental?: PaymentDetails.CarRental;
3841
- /**
3842
- * Car rental data for this PaymentIntent.
3843
- */
3844
- car_rental_data?: Emptyable<Array<PaymentDetails.CarRentalDatum>>;
3845
- /**
3846
- * A unique value to identify the customer. This field is available only for card payments.
3847
- *
3848
- * This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
3849
- */
3850
- customer_reference?: Emptyable<string>;
3851
- /**
3852
- * Event details for this PaymentIntent
3853
- */
3854
- event_details?: PaymentDetails.EventDetails;
3855
- /**
3856
- * Flight reservation details for this PaymentIntent
3857
- */
3858
- flight?: PaymentDetails.Flight;
3859
- /**
3860
- * Flight data for this PaymentIntent.
3861
- */
3862
- flight_data?: Emptyable<Array<PaymentDetails.FlightDatum>>;
3863
- /**
3864
- * Lodging reservation details for this PaymentIntent
3865
- */
3866
- lodging?: PaymentDetails.Lodging;
3867
- /**
3868
- * Lodging data for this PaymentIntent.
3869
- */
3870
- lodging_data?: Emptyable<Array<PaymentDetails.LodgingDatum>>;
3871
- /**
3872
- * A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
3873
- *
3874
- * For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
3875
- */
3876
- order_reference?: Emptyable<string>;
3877
- /**
3878
- * Subscription details for this PaymentIntent
3879
- */
3880
- subscription?: PaymentDetails.Subscription;
3881
- }
3882
- interface TransferData {
3883
- /**
3884
- * The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
3885
- */
3886
- amount?: number;
3887
- }
3888
- namespace PaymentDetails {
3889
- interface CarRental {
3890
- /**
3891
- * Affiliate details for this purchase.
3892
- */
3893
- affiliate?: CarRental.Affiliate;
3894
- /**
3895
- * The booking number associated with the car rental.
3896
- */
3897
- booking_number: string;
3898
- /**
3899
- * Class code of the car.
3900
- */
3901
- car_class_code?: string;
3902
- /**
3903
- * Make of the car.
3904
- */
3905
- car_make?: string;
3906
- /**
3907
- * Model of the car.
3908
- */
3909
- car_model?: string;
3910
- /**
3911
- * The name of the rental car company.
3912
- */
3913
- company?: string;
3914
- /**
3915
- * The customer service phone number of the car rental company.
3916
- */
3917
- customer_service_phone_number?: string;
3918
- /**
3919
- * Number of days the car is being rented.
3920
- */
3921
- days_rented: number;
3922
- /**
3923
- * Delivery details for this purchase.
3924
- */
3925
- delivery?: CarRental.Delivery;
3926
- /**
3927
- * The details of the distance traveled during the rental period.
3928
- */
3929
- distance?: CarRental.Distance;
3930
- /**
3931
- * The details of the passengers in the travel reservation
3932
- */
3933
- drivers?: Array<CarRental.Driver>;
3934
- /**
3935
- * List of additional charges being billed.
3936
- */
3937
- extra_charges?: Array<CarRental.ExtraCharge>;
3938
- /**
3939
- * Indicates if the customer did not keep nor cancel their booking.
3940
- */
3941
- no_show?: boolean;
3942
- /**
3943
- * Car pick-up address.
3944
- */
3945
- pickup_address?: AddressParam;
3946
- /**
3947
- * Car pick-up time. Measured in seconds since the Unix epoch.
3948
- */
3949
- pickup_at: number;
3950
- /**
3951
- * Name of the pickup location.
3952
- */
3953
- pickup_location_name?: string;
3954
- /**
3955
- * Rental rate.
3956
- */
3957
- rate_amount?: number;
3958
- /**
3959
- * The frequency at which the rate amount is applied. One of `day`, `week` or `month`
3960
- */
3961
- rate_interval?: CarRental.RateInterval;
3962
- /**
3963
- * The name of the person or entity renting the car.
3964
- */
3965
- renter_name?: string;
3966
- /**
3967
- * Car return address.
3968
- */
3969
- return_address?: AddressParam;
3970
- /**
3971
- * Car return time. Measured in seconds since the Unix epoch.
3972
- */
3973
- return_at: number;
3974
- /**
3975
- * Name of the return location.
3976
- */
3977
- return_location_name?: string;
3978
- /**
3979
- * Indicates whether the goods or services are tax-exempt or tax is not collected.
3980
- */
3981
- tax_exempt?: boolean;
3982
- /**
3983
- * The vehicle identification number.
3984
- */
3985
- vehicle_identification_number?: string;
3986
- }
3987
- interface CarRentalDatum {
3988
- /**
3989
- * Affiliate (such as travel agency) details for the rental.
3990
- */
3991
- affiliate?: CarRentalDatum.Affiliate;
3992
- /**
3993
- * Booking confirmation number for the car rental.
3994
- */
3995
- booking_number?: string;
3996
- /**
3997
- * Name of the car rental company.
3998
- */
3999
- carrier_name?: string;
4000
- /**
4001
- * Customer service phone number for the car rental company.
4002
- */
4003
- customer_service_phone_number?: string;
4004
- /**
4005
- * Number of days the car is being rented.
4006
- */
4007
- days_rented?: number;
4008
- /**
4009
- * Distance details for the rental.
4010
- */
4011
- distance?: CarRentalDatum.Distance;
4012
- /**
4013
- * List of drivers for the rental.
4014
- */
4015
- drivers?: Array<CarRentalDatum.Driver>;
4016
- /**
4017
- * Drop-off location details.
4018
- */
4019
- drop_off: CarRentalDatum.DropOff;
4020
- /**
4021
- * Insurance details for the rental.
4022
- */
4023
- insurances?: Array<CarRentalDatum.Insurance>;
4024
- /**
4025
- * Indicates if the customer was a no-show.
4026
- */
4027
- no_show_indicator?: boolean;
4028
- /**
4029
- * Pickup location details.
4030
- */
4031
- pickup: CarRentalDatum.Pickup;
4032
- /**
4033
- * Name of the person renting the vehicle.
4034
- */
4035
- renter_name?: string;
4036
- /**
4037
- * Total cost breakdown for the rental.
4038
- */
4039
- total: CarRentalDatum.Total;
4040
- /**
4041
- * Vehicle details for the rental.
4042
- */
4043
- vehicle?: CarRentalDatum.Vehicle;
4044
- }
4045
- interface EventDetails {
4046
- /**
4047
- * Indicates if the tickets are digitally checked when entering the venue.
4048
- */
4049
- access_controlled_venue?: boolean;
4050
- /**
4051
- * The event location's address.
4052
- */
4053
- address?: AddressParam;
4054
- /**
4055
- * Affiliate details for this purchase.
4056
- */
4057
- affiliate?: EventDetails.Affiliate;
4058
- /**
4059
- * The name of the company
4060
- */
4061
- company?: string;
4062
- /**
4063
- * Delivery details for this purchase.
4064
- */
4065
- delivery?: EventDetails.Delivery;
4066
- /**
4067
- * Event end time. Measured in seconds since the Unix epoch.
4068
- */
4069
- ends_at?: number;
4070
- /**
4071
- * Type of the event entertainment (concert, sports event etc)
4072
- */
4073
- genre?: string;
4074
- /**
4075
- * The name of the event.
4076
- */
4077
- name: string;
4078
- /**
4079
- * Event start time. Measured in seconds since the Unix epoch.
4080
- */
4081
- starts_at?: number;
4082
- }
4083
- interface Flight {
4084
- /**
4085
- * Affiliate details for this purchase.
4086
- */
4087
- affiliate?: Flight.Affiliate;
4088
- /**
4089
- * The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
4090
- */
4091
- agency_number?: string;
4092
- /**
4093
- * The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
4094
- */
4095
- carrier?: string;
4096
- /**
4097
- * Delivery details for this purchase.
4098
- */
4099
- delivery?: Flight.Delivery;
4100
- /**
4101
- * The name of the person or entity on the reservation.
4102
- */
4103
- passenger_name?: string;
4104
- /**
4105
- * The details of the passengers in the travel reservation.
4106
- */
4107
- passengers?: Array<Flight.Passenger>;
4108
- /**
4109
- * The individual flight segments associated with the trip.
4110
- */
4111
- segments: Array<Flight.Segment>;
4112
- /**
4113
- * The ticket number associated with the travel reservation.
4114
- */
4115
- ticket_number?: string;
4116
- }
4117
- interface FlightDatum {
4118
- /**
4119
- * Affiliate details if applicable.
4120
- */
4121
- affiliate?: FlightDatum.Affiliate;
4122
- /**
4123
- * Reservation reference.
4124
- */
4125
- booking_number?: string;
4126
- /**
4127
- * Computerized reservation system used to make the reservation and purchase the ticket.
4128
- */
4129
- computerized_reservation_system?: string;
4130
- /**
4131
- * Ticket restrictions.
4132
- */
4133
- endorsements_and_restrictions?: string;
4134
- /**
4135
- * List of insurances.
4136
- */
4137
- insurances?: Array<FlightDatum.Insurance>;
4138
- /**
4139
- * List of passengers.
4140
- */
4141
- passengers?: Array<FlightDatum.Passenger>;
4142
- /**
4143
- * List of flight segments.
4144
- */
4145
- segments: Array<FlightDatum.Segment>;
4146
- /**
4147
- * Electronic ticket indicator.
4148
- */
4149
- ticket_electronically_issued_indicator?: boolean;
4150
- /**
4151
- * Total cost breakdown.
4152
- */
4153
- total: FlightDatum.Total;
4154
- /**
4155
- * Type of flight transaction.
4156
- */
4157
- transaction_type?: FlightDatum.TransactionType;
4158
- }
4159
- interface Lodging {
4160
- /**
4161
- * The lodging location's address.
4162
- */
4163
- address?: AddressParam;
4164
- /**
4165
- * The number of adults on the booking
4166
- */
4167
- adults?: number;
4168
- /**
4169
- * Affiliate details for this purchase.
4170
- */
4171
- affiliate?: Lodging.Affiliate;
4172
- /**
4173
- * The booking number associated with the lodging reservation.
4174
- */
4175
- booking_number?: string;
4176
- /**
4177
- * The lodging category
4178
- */
4179
- category?: Lodging.Category;
4180
- /**
4181
- * Lodging check-in time. Measured in seconds since the Unix epoch.
4182
- */
4183
- checkin_at: number;
4184
- /**
4185
- * Lodging check-out time. Measured in seconds since the Unix epoch.
4186
- */
4187
- checkout_at: number;
4188
- /**
4189
- * The customer service phone number of the lodging company.
4190
- */
4191
- customer_service_phone_number?: string;
4192
- /**
4193
- * The daily lodging room rate.
4194
- */
4195
- daily_room_rate_amount?: number;
4196
- /**
4197
- * Delivery details for this purchase.
4198
- */
4199
- delivery?: Lodging.Delivery;
4200
- /**
4201
- * List of additional charges being billed.
4202
- */
4203
- extra_charges?: Array<Lodging.ExtraCharge>;
4204
- /**
4205
- * Indicates whether the lodging location is compliant with the Fire Safety Act.
4206
- */
4207
- fire_safety_act_compliance?: boolean;
4208
- /**
4209
- * The name of the lodging location.
4210
- */
4211
- name?: string;
4212
- /**
4213
- * Indicates if the customer did not keep their booking while failing to cancel the reservation.
4214
- */
4215
- no_show?: boolean;
4216
- /**
4217
- * The number of rooms on the booking
4218
- */
4219
- number_of_rooms?: number;
4220
- /**
4221
- * The details of the passengers in the travel reservation
4222
- */
4223
- passengers?: Array<Lodging.Passenger>;
4224
- /**
4225
- * The phone number of the lodging location.
4226
- */
4227
- property_phone_number?: string;
4228
- /**
4229
- * The room class for this purchase.
4230
- */
4231
- room_class?: string;
4232
- /**
4233
- * The number of room nights
4234
- */
4235
- room_nights?: number;
4236
- /**
4237
- * The total tax amount associating with the room reservation.
4238
- */
4239
- total_room_tax_amount?: number;
4240
- /**
4241
- * The total tax amount
4242
- */
4243
- total_tax_amount?: number;
4244
- }
4245
- interface LodgingDatum {
4246
- /**
4247
- * Accommodation details for the lodging.
4248
- */
4249
- accommodation?: LodgingDatum.Accommodation;
4250
- /**
4251
- * Affiliate details if applicable.
4252
- */
4253
- affiliate?: LodgingDatum.Affiliate;
4254
- /**
4255
- * Booking confirmation number for the lodging.
4256
- */
4257
- booking_number?: string;
4258
- /**
4259
- * Check-in date.
4260
- */
4261
- checkin_at: number;
4262
- /**
4263
- * Check-out date.
4264
- */
4265
- checkout_at: number;
4266
- /**
4267
- * Customer service phone number for the lodging company.
4268
- */
4269
- customer_service_phone_number?: string;
4270
- /**
4271
- * Whether the lodging is compliant with any hotel fire safety regulations.
4272
- */
4273
- fire_safety_act_compliance_indicator?: boolean;
4274
- /**
4275
- * List of guests for the lodging.
4276
- */
4277
- guests?: Array<LodgingDatum.Guest>;
4278
- /**
4279
- * Host details for the lodging.
4280
- */
4281
- host?: LodgingDatum.Host;
4282
- /**
4283
- * List of insurances for the lodging.
4284
- */
4285
- insurances?: Array<LodgingDatum.Insurance>;
4286
- /**
4287
- * Whether the renter is a no-show.
4288
- */
4289
- no_show_indicator?: boolean;
4290
- /**
4291
- * Renter ID number for the lodging.
4292
- */
4293
- renter_id_number?: string;
4294
- /**
4295
- * Renter name for the lodging.
4296
- */
4297
- renter_name?: string;
4298
- /**
4299
- * Total details for the lodging.
4300
- */
4301
- total: LodgingDatum.Total;
4302
- }
4303
- interface Subscription {
4304
- /**
4305
- * Affiliate details for this purchase.
4306
- */
4307
- affiliate?: Subscription.Affiliate;
4308
- /**
4309
- * Info whether the subscription will be auto renewed upon expiry.
4310
- */
4311
- auto_renewal?: boolean;
4312
- /**
4313
- * Subscription billing details for this purchase.
4314
- */
4315
- billing_interval?: Subscription.BillingInterval;
4316
- /**
4317
- * Subscription end time. Measured in seconds since the Unix epoch.
4318
- */
4319
- ends_at?: number;
4320
- /**
4321
- * Name of the product on subscription. e.g. Apple Music Subscription
4322
- */
4323
- name: string;
4324
- /**
4325
- * Subscription start time. Measured in seconds since the Unix epoch.
4326
- */
4327
- starts_at?: number;
4328
- }
4329
- namespace CarRental {
4330
- interface Affiliate {
4331
- /**
4332
- * The name of the affiliate that originated the purchase.
4333
- */
4334
- name: string;
4335
- }
4336
- interface Delivery {
4337
- /**
4338
- * The delivery method for the payment
4339
- */
4340
- mode?: Delivery.Mode;
4341
- /**
4342
- * Details of the recipient.
4343
- */
4344
- recipient?: Delivery.Recipient;
4345
- }
4346
- interface Distance {
4347
- /**
4348
- * Distance traveled.
4349
- */
4350
- amount?: number;
4351
- /**
4352
- * Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
4353
- */
4354
- unit?: Distance.Unit;
4355
- }
4356
- interface Driver {
4357
- /**
4358
- * Driver's identification number.
4359
- */
4360
- driver_identification_number?: string;
4361
- /**
4362
- * Driver's tax number.
4363
- */
4364
- driver_tax_number?: string;
4365
- /**
4366
- * Full name of the person or entity on the car reservation.
4367
- */
4368
- name: string;
4369
- }
4370
- type ExtraCharge = 'extra_mileage' | 'gas' | 'late_return' | 'one_way_service' | 'parking_violation';
4371
- type RateInterval = 'day' | 'month' | 'week';
4372
- namespace Delivery {
4373
- type Mode = 'email' | 'phone' | 'pickup' | 'post';
4374
- interface Recipient {
4375
- /**
4376
- * The email of the recipient the ticket is delivered to.
4377
- */
4378
- email?: string;
4379
- /**
4380
- * The name of the recipient the ticket is delivered to.
4381
- */
4382
- name?: string;
4383
- /**
4384
- * The phone number of the recipient the ticket is delivered to.
4385
- */
4386
- phone?: string;
4387
- }
4388
- }
4389
- namespace Distance {
4390
- type Unit = 'kilometers' | 'miles';
4391
- }
4392
- }
4393
- namespace CarRentalDatum {
4394
- interface Affiliate {
4395
- /**
4396
- * Affiliate partner code.
4397
- */
4398
- code?: string;
4399
- /**
4400
- * Name of affiliate partner.
4401
- */
4402
- name?: string;
4403
- }
4404
- interface Distance {
4405
- /**
4406
- * Distance traveled.
4407
- */
4408
- amount: number;
4409
- /**
4410
- * Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
4411
- */
4412
- unit: Distance.Unit;
4413
- }
4414
- interface Driver {
4415
- /**
4416
- * Driver's date of birth.
4417
- */
4418
- date_of_birth?: Driver.DateOfBirth;
4419
- /**
4420
- * Driver's identification number.
4421
- */
4422
- driver_identification_number?: string;
4423
- /**
4424
- * Driver's tax number.
4425
- */
4426
- driver_tax_number?: string;
4427
- /**
4428
- * Driver's full name.
4429
- */
4430
- name: string;
4431
- }
4432
- interface DropOff {
4433
- /**
4434
- * Address of the rental location.
4435
- */
4436
- address: DropOff.Address;
4437
- /**
4438
- * Location name.
4439
- */
4440
- location_name?: string;
4441
- /**
4442
- * Timestamp for the location.
4443
- */
4444
- time: number;
4445
- }
4446
- interface Insurance {
4447
- /**
4448
- * Amount of the insurance coverage in cents.
4449
- */
4450
- amount: number;
4451
- /**
4452
- * Currency of the insurance amount.
4453
- */
4454
- currency?: string;
4455
- /**
4456
- * Name of the insurance company.
4457
- */
4458
- insurance_company_name?: string;
4459
- /**
4460
- * Type of insurance coverage.
4461
- */
4462
- insurance_type: Insurance.InsuranceType;
4463
- }
4464
- interface Pickup {
4465
- /**
4466
- * Address of the rental location.
4467
- */
4468
- address: Pickup.Address;
4469
- /**
4470
- * Location name.
4471
- */
4472
- location_name?: string;
4473
- /**
4474
- * Timestamp for the location.
4475
- */
4476
- time: number;
4477
- }
4478
- interface Total {
4479
- /**
4480
- * Total amount in cents.
4481
- */
4482
- amount: number;
4483
- /**
4484
- * Currency of the amount.
4485
- */
4486
- currency?: string;
4487
- /**
4488
- * Discount details for the rental.
4489
- */
4490
- discounts?: Total.Discounts;
4491
- /**
4492
- * Additional charges for the rental.
4493
- */
4494
- extra_charges?: Array<Total.ExtraCharge>;
4495
- /**
4496
- * Rate per unit for the rental.
4497
- */
4498
- rate_per_unit?: number;
4499
- /**
4500
- * Unit of measurement for the rate.
4501
- */
4502
- rate_unit?: Total.RateUnit;
4503
- /**
4504
- * Tax breakdown for the rental.
4505
- */
4506
- tax?: Total.Tax;
4507
- }
4508
- interface Vehicle {
4509
- /**
4510
- * Make of the rental vehicle.
4511
- */
4512
- make?: string;
4513
- /**
4514
- * Model of the rental vehicle.
4515
- */
4516
- model?: string;
4517
- /**
4518
- * Odometer reading at the time of rental.
4519
- */
4520
- odometer?: number;
4521
- /**
4522
- * Type of the rental vehicle.
4523
- */
4524
- type?: Vehicle.Type;
4525
- /**
4526
- * Class of the rental vehicle.
4527
- */
4528
- vehicle_class?: Vehicle.VehicleClass;
4529
- /**
4530
- * Vehicle identification number (VIN).
4531
- */
4532
- vehicle_identification_number?: string;
4533
- }
4534
- namespace Distance {
4535
- type Unit = 'kilometers' | 'miles';
4536
- }
4537
- namespace Driver {
4538
- interface DateOfBirth {
4539
- /**
4540
- * Day of birth (1-31).
4541
- */
4542
- day: number;
4543
- /**
4544
- * Month of birth (1-12).
4545
- */
4546
- month: number;
4547
- /**
4548
- * Year of birth (must be greater than 1900).
4549
- */
4550
- year: number;
4551
- }
4552
- }
4553
- namespace DropOff {
4554
- interface Address {
4555
- /**
4556
- * City, district, suburb, town, or village.
4557
- */
4558
- city: string;
4559
- /**
4560
- * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
4561
- */
4562
- country: string;
4563
- /**
4564
- * Address line 1, such as the street, PO Box, or company name.
4565
- */
4566
- line1: string;
4567
- /**
4568
- * Address line 2, such as the apartment, suite, unit, or building.
4569
- */
4570
- line2?: string;
4571
- /**
4572
- * ZIP or postal code.
4573
- */
4574
- postal_code: string;
4575
- /**
4576
- * State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
4577
- */
4578
- state?: string;
4579
- }
4580
- }
4581
- namespace Insurance {
4582
- type InsuranceType = 'liability_supplement' | 'loss_damage_waiver' | 'other' | 'partial_damage_waiver' | 'personal_accident' | 'personal_effects';
4583
- }
4584
- namespace Pickup {
4585
- interface Address {
4586
- /**
4587
- * City, district, suburb, town, or village.
4588
- */
4589
- city: string;
4590
- /**
4591
- * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
4592
- */
4593
- country: string;
4594
- /**
4595
- * Address line 1, such as the street, PO Box, or company name.
4596
- */
4597
- line1: string;
4598
- /**
4599
- * Address line 2, such as the apartment, suite, unit, or building.
4600
- */
4601
- line2?: string;
4602
- /**
4603
- * ZIP or postal code.
4604
- */
4605
- postal_code: string;
4606
- /**
4607
- * State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
4608
- */
4609
- state?: string;
4610
- }
4611
- }
4612
- namespace Total {
4613
- interface Discounts {
4614
- /**
4615
- * Corporate client discount code.
4616
- */
4617
- corporate_client_code?: string;
4618
- /**
4619
- * Coupon code applied to the rental.
4620
- */
4621
- coupon?: string;
4622
- /**
4623
- * Maximum number of free miles or kilometers included.
4624
- */
4625
- maximum_free_miles_or_kilometers?: number;
4626
- }
4627
- interface ExtraCharge {
4628
- /**
4629
- * Amount of the extra charge in cents.
4630
- */
4631
- amount: number;
4632
- /**
4633
- * Type of extra charge.
4634
- */
4635
- type: ExtraCharge.Type;
4636
- }
4637
- type RateUnit = 'days' | 'kilometers' | 'miles' | 'months' | 'weeks';
4638
- interface Tax {
4639
- /**
4640
- * Indicates if the transaction is tax exempt.
4641
- */
4642
- tax_exempt_indicator?: boolean;
4643
- /**
4644
- * Array of tax details.
4645
- */
4646
- taxes?: Array<Tax.Tax>;
4647
- }
4648
- namespace ExtraCharge {
4649
- type Type = 'extra_mileage' | 'gas' | 'gps' | 'late_charge' | 'one_way_drop_off' | 'other' | 'parking' | 'phone' | 'regular_mileage' | 'towing';
4650
- }
4651
- namespace Tax {
4652
- interface Tax {
4653
- /**
4654
- * Tax amount.
4655
- */
4656
- amount?: number;
4657
- /**
4658
- * Tax rate applied.
4659
- */
4660
- rate?: number;
4661
- /**
4662
- * Type of tax applied.
4663
- */
4664
- type?: string;
4665
- }
4666
- }
4667
- }
4668
- namespace Vehicle {
4669
- type Type = 'cargo_van' | 'compact' | 'economy' | 'exotic' | 'exotic_suv' | 'fifteen_passenger_van' | 'four_wheel_drive' | 'full_size' | 'intermediate' | 'large_suv' | 'large_truck' | 'luxury' | 'medium_suv' | 'midsize' | 'mini' | 'minivan' | 'miscellaneous' | 'moped' | 'moving_van' | 'premium' | 'regular' | 'small_medium_truck' | 'small_suv' | 'special' | 'standard' | 'stretch' | 'subcompact' | 'taxi' | 'twelve_foot_truck' | 'twelve_passenger_van' | 'twenty_foot_truck' | 'twenty_four_foot_truck' | 'twenty_six_foot_truck' | 'unique';
4670
- type VehicleClass = 'business' | 'economy' | 'first_class' | 'premium_economy';
4671
- }
4672
- }
4673
- namespace EventDetails {
4674
- interface Affiliate {
4675
- /**
4676
- * The name of the affiliate that originated the purchase.
4677
- */
4678
- name: string;
4679
- }
4680
- interface Delivery {
4681
- /**
4682
- * The delivery method for the payment
4683
- */
4684
- mode?: Delivery.Mode;
4685
- /**
4686
- * Details of the recipient.
4687
- */
4688
- recipient?: Delivery.Recipient;
4689
- }
4690
- namespace Delivery {
4691
- type Mode = 'email' | 'phone' | 'pickup' | 'post';
4692
- interface Recipient {
4693
- /**
4694
- * The email of the recipient the ticket is delivered to.
4695
- */
4696
- email?: string;
4697
- /**
4698
- * The name of the recipient the ticket is delivered to.
4699
- */
4700
- name?: string;
4701
- /**
4702
- * The phone number of the recipient the ticket is delivered to.
4703
- */
4704
- phone?: string;
4705
- }
4706
- }
4707
- }
4708
- namespace Flight {
4709
- interface Affiliate {
4710
- /**
4711
- * The name of the affiliate that originated the purchase.
4712
- */
4713
- name: string;
4714
- }
4715
- interface Delivery {
4716
- /**
4717
- * The delivery method for the payment
4718
- */
4719
- mode?: Delivery.Mode;
4720
- /**
4721
- * Details of the recipient.
4722
- */
4723
- recipient?: Delivery.Recipient;
4724
- }
4725
- interface Passenger {
4726
- /**
4727
- * Full name of the person or entity on the flight reservation.
4728
- */
4729
- name: string;
4730
- }
4731
- interface Segment {
4732
- /**
4733
- * The flight segment amount.
4734
- */
4735
- amount?: number;
4736
- /**
4737
- * The International Air Transport Association (IATA) airport code for the arrival airport.
4738
- */
4739
- arrival_airport?: string;
4740
- /**
4741
- * The arrival time for the flight segment. Measured in seconds since the Unix epoch.
4742
- */
4743
- arrives_at?: number;
4744
- /**
4745
- * The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
4746
- */
4747
- carrier?: string;
4748
- /**
4749
- * The departure time for the flight segment. Measured in seconds since the Unix epoch.
4750
- */
4751
- departs_at: number;
4752
- /**
4753
- * The International Air Transport Association (IATA) airport code for the departure airport.
4754
- */
4755
- departure_airport?: string;
4756
- /**
4757
- * The flight number associated with the segment
4758
- */
4759
- flight_number?: string;
4760
- /**
4761
- * The fare class for the segment.
4762
- */
4763
- service_class?: Segment.ServiceClass;
4764
- }
4765
- namespace Delivery {
4766
- type Mode = 'email' | 'phone' | 'pickup' | 'post';
4767
- interface Recipient {
4768
- /**
4769
- * The email of the recipient the ticket is delivered to.
4770
- */
4771
- email?: string;
4772
- /**
4773
- * The name of the recipient the ticket is delivered to.
4774
- */
4775
- name?: string;
4776
- /**
4777
- * The phone number of the recipient the ticket is delivered to.
4778
- */
4779
- phone?: string;
4780
- }
4781
- }
4782
- namespace Segment {
4783
- type ServiceClass = 'business' | 'economy' | 'first' | 'premium_economy';
4784
- }
4785
- }
4786
- namespace FlightDatum {
4787
- interface Affiliate {
4788
- /**
4789
- * Affiliate partner code.
4790
- */
4791
- code?: string;
4792
- /**
4793
- * Name of affiliate partner.
4794
- */
4795
- name?: string;
4796
- /**
4797
- * Code provided by the company to a travel agent authorizing ticket issuance.
4798
- */
4799
- travel_authorization_code?: string;
4800
- }
4801
- interface Insurance {
4802
- /**
4803
- * Insurance cost.
4804
- */
4805
- amount: number;
4806
- /**
4807
- * Insurance currency.
4808
- */
4809
- currency?: string;
4810
- /**
4811
- * Insurance company name.
4812
- */
4813
- insurance_company_name?: string;
4814
- /**
4815
- * Type of insurance.
4816
- */
4817
- insurance_type: Insurance.InsuranceType;
4818
- }
4819
- interface Passenger {
4820
- /**
4821
- * Passenger's full name.
4822
- */
4823
- name: string;
4824
- }
4825
- interface Segment {
4826
- /**
4827
- * Segment fare amount.
4828
- */
4829
- amount?: number;
4830
- /**
4831
- * Arrival details.
4832
- */
4833
- arrival: Segment.Arrival;
4834
- /**
4835
- * Airline carrier code.
4836
- */
4837
- carrier_code: string;
4838
- /**
4839
- * Carrier name.
4840
- */
4841
- carrier_name?: string;
4842
- /**
4843
- * Segment currency.
4844
- */
4845
- currency?: string;
4846
- /**
4847
- * Departure details.
4848
- */
4849
- departure: Segment.Departure;
4850
- /**
4851
- * Exchange ticket number.
4852
- */
4853
- exchange_ticket_number?: string;
4854
- /**
4855
- * Fare basis code.
4856
- */
4857
- fare_basis_code?: string;
4858
- /**
4859
- * Additional fees.
4860
- */
4861
- fees?: number;
4862
- /**
4863
- * Flight number.
4864
- */
4865
- flight_number?: string;
4866
- /**
4867
- * Stopover indicator.
4868
- */
4869
- is_stop_over_indicator?: boolean;
4870
- /**
4871
- * Refundable ticket indicator.
4872
- */
4873
- refundable?: boolean;
4874
- /**
4875
- * Class of service.
4876
- */
4877
- service_class: Segment.ServiceClass;
4878
- /**
4879
- * Tax amount for segment.
4880
- */
4881
- tax_amount?: number;
4882
- /**
4883
- * Ticket number.
4884
- */
4885
- ticket_number?: string;
4886
- }
4887
- interface Total {
4888
- /**
4889
- * Total flight amount.
4890
- */
4891
- amount: number;
4892
- /**
4893
- * Reason for credit.
4894
- */
4895
- credit_reason?: Total.CreditReason;
4896
- /**
4897
- * Total currency.
4898
- */
4899
- currency?: string;
4900
- /**
4901
- * Discount details.
4902
- */
4903
- discounts?: Total.Discounts;
4904
- /**
4905
- * Additional charges.
4906
- */
4907
- extra_charges?: Array<Total.ExtraCharge>;
4908
- /**
4909
- * Tax breakdown.
4910
- */
4911
- tax?: Total.Tax;
4912
- }
4913
- type TransactionType = 'exchange_ticket' | 'miscellaneous' | 'refund' | 'ticket_purchase';
4914
- namespace Insurance {
4915
- type InsuranceType = 'baggage' | 'bankruptcy' | 'cancelation' | 'emergency' | 'medical';
4916
- }
4917
- namespace Segment {
4918
- interface Arrival {
4919
- /**
4920
- * Arrival airport IATA code.
4921
- */
4922
- airport: string;
4923
- /**
4924
- * Arrival date/time.
4925
- */
4926
- arrives_at?: number;
4927
- /**
4928
- * Arrival city.
4929
- */
4930
- city?: string;
4931
- /**
4932
- * Arrival country.
4933
- */
4934
- country?: string;
4935
- }
4936
- interface Departure {
4937
- /**
4938
- * Departure airport IATA code.
4939
- */
4940
- airport: string;
4941
- /**
4942
- * Departure city.
4943
- */
4944
- city?: string;
4945
- /**
4946
- * Departure country.
4947
- */
4948
- country?: string;
4949
- /**
4950
- * Departure date/time.
4951
- */
4952
- departs_at: number;
4953
- }
4954
- type ServiceClass = 'business' | 'economy' | 'first_class' | 'premium_economy';
4955
- }
4956
- namespace Total {
4957
- type CreditReason = 'other' | 'partial_ticket_refund' | 'passenger_transport_ancillary_cancellation' | 'ticket_and_ancillary_cancellation' | 'ticket_cancellation';
4958
- interface Discounts {
4959
- /**
4960
- * Corporate client discount code.
4961
- */
4962
- corporate_client_code?: string;
4963
- }
4964
- interface ExtraCharge {
4965
- /**
4966
- * Amount of additional charges.
4967
- */
4968
- amount?: number;
4969
- /**
4970
- * Type of additional charges.
4971
- */
4972
- type?: ExtraCharge.Type;
4973
- }
4974
- interface Tax {
4975
- /**
4976
- * Array of tax details.
4977
- */
4978
- taxes?: Array<Tax.Tax>;
4979
- }
4980
- namespace ExtraCharge {
4981
- type Type = 'additional_fees' | 'ancillary_service_charges' | 'exchange_fee';
4982
- }
4983
- namespace Tax {
4984
- interface Tax {
4985
- /**
4986
- * Tax amount.
4987
- */
4988
- amount?: number;
4989
- /**
4990
- * Tax rate.
4991
- */
4992
- rate?: number;
4993
- /**
4994
- * Type of tax.
4995
- */
4996
- type?: string;
4997
- }
4998
- }
4999
- }
5000
- }
5001
- namespace Lodging {
5002
- interface Affiliate {
5003
- /**
5004
- * The name of the affiliate that originated the purchase.
5005
- */
5006
- name: string;
5007
- }
5008
- type Category = 'hotel' | 'vacation_rental';
5009
- interface Delivery {
5010
- /**
5011
- * The delivery method for the payment
5012
- */
5013
- mode?: Delivery.Mode;
5014
- /**
5015
- * Details of the recipient.
5016
- */
5017
- recipient?: Delivery.Recipient;
5018
- }
5019
- type ExtraCharge = 'gift_shop' | 'laundry' | 'mini_bar' | 'other' | 'restaurant' | 'telephone';
5020
- interface Passenger {
5021
- /**
5022
- * Full name of the person or entity on the lodging reservation.
5023
- */
5024
- name: string;
5025
- }
5026
- namespace Delivery {
5027
- type Mode = 'email' | 'phone' | 'pickup' | 'post';
5028
- interface Recipient {
5029
- /**
5030
- * The email of the recipient the ticket is delivered to.
5031
- */
5032
- email?: string;
5033
- /**
5034
- * The name of the recipient the ticket is delivered to.
5035
- */
5036
- name?: string;
5037
- /**
5038
- * The phone number of the recipient the ticket is delivered to.
5039
- */
5040
- phone?: string;
5041
- }
5042
- }
5043
- }
5044
- namespace LodgingDatum {
5045
- interface Accommodation {
5046
- /**
5047
- * Type of accommodation.
5048
- */
5049
- accommodation_type?: Accommodation.AccommodationType;
5050
- /**
5051
- * Bed type.
5052
- */
5053
- bed_type?: string;
5054
- /**
5055
- * Daily accommodation rate in cents.
5056
- */
5057
- daily_rate_amount?: number;
5058
- /**
5059
- * Number of nights.
5060
- */
5061
- nights?: number;
5062
- /**
5063
- * Number of rooms, cabanas, apartments, and so on.
5064
- */
5065
- number_of_rooms?: number;
5066
- /**
5067
- * Rate type.
5068
- */
5069
- rate_type?: string;
5070
- /**
5071
- * Whether smoking is allowed.
5072
- */
5073
- smoking_indicator?: boolean;
5074
- }
5075
- interface Affiliate {
5076
- /**
5077
- * Affiliate partner code.
5078
- */
5079
- code?: string;
5080
- /**
5081
- * Affiliate partner name.
5082
- */
5083
- name?: string;
5084
- }
5085
- interface Guest {
5086
- /**
5087
- * Guest's full name.
5088
- */
5089
- name: string;
5090
- }
5091
- interface Host {
5092
- /**
5093
- * Address of the host.
5094
- */
5095
- address?: Host.Address;
5096
- /**
5097
- * Host's country of domicile.
5098
- */
5099
- country_of_domicile?: string;
5100
- /**
5101
- * Reference number for the host.
5102
- */
5103
- host_reference?: string;
5104
- /**
5105
- * Type of host.
5106
- */
5107
- host_type?: Host.HostType;
5108
- /**
5109
- * Name of the lodging property or host.
5110
- */
5111
- name?: string;
5112
- /**
5113
- * Total number of reservations for the host.
5114
- */
5115
- number_of_reservations?: number;
5116
- /**
5117
- * Property phone number.
5118
- */
5119
- property_phone_number?: string;
5120
- /**
5121
- * Host's registration date.
5122
- */
5123
- registered_at?: number;
5124
- }
5125
- interface Insurance {
5126
- /**
5127
- * Price of the insurance coverage in cents.
5128
- */
5129
- amount: number;
5130
- /**
5131
- * Currency of the insurance amount.
5132
- */
5133
- currency?: string;
5134
- /**
5135
- * Name of the insurance company.
5136
- */
5137
- insurance_company_name?: string;
5138
- /**
5139
- * Type of insurance coverage.
5140
- */
5141
- insurance_type: Insurance.InsuranceType;
5142
- }
5143
- interface Total {
5144
- /**
5145
- * Total price of the lodging reservation in cents.
5146
- */
5147
- amount: number;
5148
- /**
5149
- * Cash advances in cents.
5150
- */
5151
- cash_advances?: number;
5152
- /**
5153
- * Currency of the total amount.
5154
- */
5155
- currency?: string;
5156
- /**
5157
- * Discount details for the lodging.
5158
- */
5159
- discounts?: Total.Discounts;
5160
- /**
5161
- * Additional charges for the lodging.
5162
- */
5163
- extra_charges?: Array<Total.ExtraCharge>;
5164
- /**
5165
- * Prepaid amount in cents.
5166
- */
5167
- prepaid_amount?: number;
5168
- /**
5169
- * Tax breakdown for the lodging reservation.
5170
- */
5171
- tax?: Total.Tax;
5172
- }
5173
- namespace Accommodation {
5174
- type AccommodationType = 'apartment' | 'cabana' | 'house' | 'penthouse' | 'room' | 'standard' | 'suite' | 'villa';
5175
- }
5176
- namespace Host {
5177
- interface Address {
5178
- /**
5179
- * City, district, suburb, town, or village.
5180
- */
5181
- city: string;
5182
- /**
5183
- * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
5184
- */
5185
- country: string;
5186
- /**
5187
- * Address line 1, such as the street, PO Box, or company name.
5188
- */
5189
- line1: string;
5190
- /**
5191
- * Address line 2, such as the apartment, suite, unit, or building.
5192
- */
5193
- line2?: string;
5194
- /**
5195
- * ZIP or postal code.
5196
- */
5197
- postal_code: string;
5198
- /**
5199
- * State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
5200
- */
5201
- state?: string;
5202
- }
5203
- type HostType = 'hostel' | 'hotel' | 'owner' | 'rental_agency';
5204
- }
5205
- namespace Insurance {
5206
- type InsuranceType = 'bankruptcy' | 'cancelation' | 'emergency' | 'medical';
5207
- }
5208
- namespace Total {
5209
- interface Discounts {
5210
- /**
5211
- * Corporate client discount code.
5212
- */
5213
- corporate_client_code?: string;
5214
- /**
5215
- * Coupon code.
5216
- */
5217
- coupon?: string;
5218
- }
5219
- interface ExtraCharge {
5220
- /**
5221
- * Amount of the extra charge in cents.
5222
- */
5223
- amount?: number;
5224
- /**
5225
- * Type of extra charge.
5226
- */
5227
- type?: ExtraCharge.Type;
5228
- }
5229
- interface Tax {
5230
- /**
5231
- * Indicates whether the transaction is tax exempt.
5232
- */
5233
- tax_exempt_indicator?: boolean;
5234
- /**
5235
- * Tax details.
5236
- */
5237
- taxes?: Array<Tax.Tax>;
5238
- }
5239
- namespace ExtraCharge {
5240
- type Type = 'gift_shop' | 'laundry' | 'mini_bar' | 'other' | 'phone' | 'restaurant';
5241
- }
5242
- namespace Tax {
5243
- interface Tax {
5244
- /**
5245
- * Tax amount in cents.
5246
- */
5247
- amount?: number;
5248
- /**
5249
- * Tax rate.
5250
- */
5251
- rate?: number;
5252
- /**
5253
- * Type of tax applied.
5254
- */
5255
- type?: string;
5256
- }
5257
- }
5258
- }
5259
- }
5260
- namespace Subscription {
5261
- interface Affiliate {
5262
- /**
5263
- * The name of the affiliate that originated the purchase.
5264
- */
5265
- name: string;
5266
- }
5267
- interface BillingInterval {
5268
- /**
5269
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
5270
- */
5271
- count: number;
5272
- /**
5273
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
5274
- */
5275
- interval: BillingInterval.Interval;
5276
- }
5277
- namespace BillingInterval {
5278
- type Interval = 'day' | 'month' | 'week' | 'year';
5279
- }
5280
- }
2240
+ }
2241
+ export interface ChargeListParams extends PaginationParams {
2242
+ /**
2243
+ * Only return charges that were created during the given date interval.
2244
+ */
2245
+ created?: RangeQueryParam | number;
2246
+ /**
2247
+ * Only return charges for the customer specified by this customer ID.
2248
+ */
2249
+ customer?: string;
2250
+ /**
2251
+ * Specifies which fields in the response should be expanded.
2252
+ */
2253
+ expand?: Array<string>;
2254
+ /**
2255
+ * Only return charges that were created by the PaymentIntent specified by this PaymentIntent ID.
2256
+ */
2257
+ payment_intent?: string;
2258
+ /**
2259
+ * Only return charges for this transfer group, limited to 100.
2260
+ */
2261
+ transfer_group?: string;
2262
+ }
2263
+ export interface ChargeCaptureParams {
2264
+ /**
2265
+ * The amount to capture, which must be less than or equal to the original amount.
2266
+ */
2267
+ amount?: number;
2268
+ /**
2269
+ * An application fee to add on to this charge.
2270
+ */
2271
+ application_fee?: number;
2272
+ /**
2273
+ * An application fee amount to add on to this charge, which must be less than or equal to the original amount.
2274
+ */
2275
+ application_fee_amount?: number;
2276
+ /**
2277
+ * Specifies which fields in the response should be expanded.
2278
+ */
2279
+ expand?: Array<string>;
2280
+ /**
2281
+ * The email address to send this charge's receipt to. This will override the previously-specified email address for this charge, if one was set. Receipts will not be sent in test mode.
2282
+ */
2283
+ receipt_email?: string;
2284
+ /**
2285
+ * 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).
2286
+ *
2287
+ * 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.
2288
+ */
2289
+ statement_descriptor?: string;
2290
+ /**
2291
+ * 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.
2292
+ */
2293
+ statement_descriptor_suffix?: string;
2294
+ /**
2295
+ * 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.
2296
+ */
2297
+ transfer_data?: ChargeCaptureParams.TransferData;
2298
+ /**
2299
+ * A string that identifies this transaction as part of a group. `transfer_group` may only be provided if it has not been set. See the [Connect documentation](https://docs.stripe.com/connect/separate-charges-and-transfers#transfer-options) for details.
2300
+ */
2301
+ transfer_group?: string;
2302
+ }
2303
+ export declare namespace ChargeCaptureParams {
2304
+ interface TransferData {
2305
+ /**
2306
+ * The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
2307
+ */
2308
+ amount?: number;
5281
2309
  }
5282
2310
  }
5283
2311
  export interface ChargeSearchParams {