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