@depup/stripe 21.0.0-depup.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 (654) hide show
  1. package/CHANGELOG.md +4529 -0
  2. package/LICENSE +20 -0
  3. package/OPENAPI_VERSION +1 -0
  4. package/README.md +25 -0
  5. package/VERSION +1 -0
  6. package/changes.json +5 -0
  7. package/cjs/Decimal.js +854 -0
  8. package/cjs/Error.js +284 -0
  9. package/cjs/RequestSender.js +469 -0
  10. package/cjs/ResourceNamespace.js +21 -0
  11. package/cjs/StripeContext.js +56 -0
  12. package/cjs/StripeEmitter.js +46 -0
  13. package/cjs/StripeMethod.js +36 -0
  14. package/cjs/StripeResource.js +188 -0
  15. package/cjs/V2Coercion.js +109 -0
  16. package/cjs/Webhooks.js +225 -0
  17. package/cjs/apiVersion.js +6 -0
  18. package/cjs/autoPagination.js +294 -0
  19. package/cjs/crypto/CryptoProvider.js +51 -0
  20. package/cjs/crypto/NodeCryptoProvider.js +30 -0
  21. package/cjs/crypto/SubtleCryptoProvider.js +51 -0
  22. package/cjs/multipart.js +61 -0
  23. package/cjs/net/FetchHttpClient.js +145 -0
  24. package/cjs/net/HttpClient.js +53 -0
  25. package/cjs/net/NodeHttpClient.js +108 -0
  26. package/cjs/package.json +1 -0
  27. package/cjs/platform/NodePlatformFunctions.js +98 -0
  28. package/cjs/platform/PlatformFunctions.js +98 -0
  29. package/cjs/platform/WebPlatformFunctions.js +38 -0
  30. package/cjs/resources/AccountLinks.js +9 -0
  31. package/cjs/resources/AccountSessions.js +9 -0
  32. package/cjs/resources/Accounts.js +101 -0
  33. package/cjs/resources/ApplePayDomains.js +22 -0
  34. package/cjs/resources/ApplicationFees.js +34 -0
  35. package/cjs/resources/Apps/Secrets.js +19 -0
  36. package/cjs/resources/Balance.js +9 -0
  37. package/cjs/resources/BalanceSettings.js +10 -0
  38. package/cjs/resources/BalanceTransactions.js +17 -0
  39. package/cjs/resources/Billing/Alerts.js +27 -0
  40. package/cjs/resources/Billing/CreditBalanceSummary.js +12 -0
  41. package/cjs/resources/Billing/CreditBalanceTransactions.js +17 -0
  42. package/cjs/resources/Billing/CreditGrants.js +30 -0
  43. package/cjs/resources/Billing/MeterEventAdjustments.js +12 -0
  44. package/cjs/resources/Billing/MeterEvents.js +9 -0
  45. package/cjs/resources/Billing/Meters.js +29 -0
  46. package/cjs/resources/BillingPortal/Configurations.js +25 -0
  47. package/cjs/resources/BillingPortal/Sessions.js +12 -0
  48. package/cjs/resources/Charges.js +25 -0
  49. package/cjs/resources/Checkout/Sessions.js +538 -0
  50. package/cjs/resources/Climate/Orders.js +61 -0
  51. package/cjs/resources/Climate/Products.js +33 -0
  52. package/cjs/resources/Climate/Suppliers.js +17 -0
  53. package/cjs/resources/ConfirmationTokens.js +12 -0
  54. package/cjs/resources/CountrySpecs.js +17 -0
  55. package/cjs/resources/Coupons.js +17 -0
  56. package/cjs/resources/CreditNotes.js +253 -0
  57. package/cjs/resources/CustomerSessions.js +9 -0
  58. package/cjs/resources/Customers.js +581 -0
  59. package/cjs/resources/Disputes.js +19 -0
  60. package/cjs/resources/Entitlements/ActiveEntitlements.js +17 -0
  61. package/cjs/resources/Entitlements/Features.js +22 -0
  62. package/cjs/resources/EphemeralKeys.js +18 -0
  63. package/cjs/resources/Events.js +14 -0
  64. package/cjs/resources/ExchangeRates.js +17 -0
  65. package/cjs/resources/FileLinks.js +16 -0
  66. package/cjs/resources/Files.js +24 -0
  67. package/cjs/resources/FinancialConnections/Accounts.js +38 -0
  68. package/cjs/resources/FinancialConnections/Sessions.js +16 -0
  69. package/cjs/resources/FinancialConnections/Transactions.js +17 -0
  70. package/cjs/resources/Forwarding/Requests.js +18 -0
  71. package/cjs/resources/Identity/VerificationReports.js +17 -0
  72. package/cjs/resources/Identity/VerificationSessions.js +33 -0
  73. package/cjs/resources/InvoiceItems.js +131 -0
  74. package/cjs/resources/InvoicePayments.js +17 -0
  75. package/cjs/resources/InvoiceRenderingTemplates.js +25 -0
  76. package/cjs/resources/Invoices.js +776 -0
  77. package/cjs/resources/Issuing/Authorizations.js +847 -0
  78. package/cjs/resources/Issuing/Cardholders.js +22 -0
  79. package/cjs/resources/Issuing/Cards.js +16 -0
  80. package/cjs/resources/Issuing/Disputes.js +26 -0
  81. package/cjs/resources/Issuing/PersonalizationDesigns.js +25 -0
  82. package/cjs/resources/Issuing/PhysicalBundles.js +17 -0
  83. package/cjs/resources/Issuing/Tokens.js +21 -0
  84. package/cjs/resources/Issuing/Transactions.js +275 -0
  85. package/cjs/resources/Mandates.js +9 -0
  86. package/cjs/resources/OAuth.js +44 -0
  87. package/cjs/resources/PaymentAttemptRecords.js +17 -0
  88. package/cjs/resources/PaymentIntents.js +56 -0
  89. package/cjs/resources/PaymentLinks.js +420 -0
  90. package/cjs/resources/PaymentMethodConfigurations.js +25 -0
  91. package/cjs/resources/PaymentMethodDomains.js +29 -0
  92. package/cjs/resources/PaymentMethods.js +30 -0
  93. package/cjs/resources/PaymentRecords.js +37 -0
  94. package/cjs/resources/Payouts.js +24 -0
  95. package/cjs/resources/Plans.js +141 -0
  96. package/cjs/resources/Prices.js +346 -0
  97. package/cjs/resources/Products.js +72 -0
  98. package/cjs/resources/PromotionCodes.js +22 -0
  99. package/cjs/resources/Quotes.js +825 -0
  100. package/cjs/resources/Radar/EarlyFraudWarnings.js +17 -0
  101. package/cjs/resources/Radar/PaymentEvaluations.js +12 -0
  102. package/cjs/resources/Radar/ValueListItems.js +25 -0
  103. package/cjs/resources/Radar/ValueLists.js +26 -0
  104. package/cjs/resources/Refunds.js +20 -0
  105. package/cjs/resources/Reporting/ReportRuns.js +18 -0
  106. package/cjs/resources/Reporting/ReportTypes.js +17 -0
  107. package/cjs/resources/Reviews.js +18 -0
  108. package/cjs/resources/SetupAttempts.js +13 -0
  109. package/cjs/resources/SetupIntents.js +34 -0
  110. package/cjs/resources/ShippingRates.js +22 -0
  111. package/cjs/resources/Sigma/ScheduledQueryRuns.js +17 -0
  112. package/cjs/resources/Sources.js +20 -0
  113. package/cjs/resources/SubscriptionItems.js +378 -0
  114. package/cjs/resources/SubscriptionSchedules.js +107 -0
  115. package/cjs/resources/Subscriptions.js +888 -0
  116. package/cjs/resources/Tax/Associations.js +9 -0
  117. package/cjs/resources/Tax/Calculations.js +18 -0
  118. package/cjs/resources/Tax/Registrations.js +22 -0
  119. package/cjs/resources/Tax/Settings.js +10 -0
  120. package/cjs/resources/Tax/Transactions.js +25 -0
  121. package/cjs/resources/TaxCodes.js +14 -0
  122. package/cjs/resources/TaxIds.js +16 -0
  123. package/cjs/resources/TaxRates.js +16 -0
  124. package/cjs/resources/Terminal/Configurations.js +29 -0
  125. package/cjs/resources/Terminal/ConnectionTokens.js +12 -0
  126. package/cjs/resources/Terminal/Locations.js +26 -0
  127. package/cjs/resources/Terminal/OnboardingLinks.js +12 -0
  128. package/cjs/resources/Terminal/Readers.js +58 -0
  129. package/cjs/resources/TestHelpers/ConfirmationTokens.js +12 -0
  130. package/cjs/resources/TestHelpers/Customers.js +12 -0
  131. package/cjs/resources/TestHelpers/Issuing/Authorizations.js +1293 -0
  132. package/cjs/resources/TestHelpers/Issuing/Cards.js +28 -0
  133. package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.js +20 -0
  134. package/cjs/resources/TestHelpers/Issuing/Transactions.js +364 -0
  135. package/cjs/resources/TestHelpers/Refunds.js +12 -0
  136. package/cjs/resources/TestHelpers/Terminal/Readers.js +20 -0
  137. package/cjs/resources/TestHelpers/TestClocks.js +29 -0
  138. package/cjs/resources/TestHelpers/Treasury/InboundTransfers.js +20 -0
  139. package/cjs/resources/TestHelpers/Treasury/OutboundPayments.js +24 -0
  140. package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.js +24 -0
  141. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.js +12 -0
  142. package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.js +12 -0
  143. package/cjs/resources/Tokens.js +10 -0
  144. package/cjs/resources/Topups.js +17 -0
  145. package/cjs/resources/Transfers.js +33 -0
  146. package/cjs/resources/Treasury/CreditReversals.js +21 -0
  147. package/cjs/resources/Treasury/DebitReversals.js +21 -0
  148. package/cjs/resources/Treasury/FinancialAccounts.js +37 -0
  149. package/cjs/resources/Treasury/InboundTransfers.js +25 -0
  150. package/cjs/resources/Treasury/OutboundPayments.js +25 -0
  151. package/cjs/resources/Treasury/OutboundTransfers.js +25 -0
  152. package/cjs/resources/Treasury/ReceivedCredits.js +17 -0
  153. package/cjs/resources/Treasury/ReceivedDebits.js +17 -0
  154. package/cjs/resources/Treasury/TransactionEntries.js +393 -0
  155. package/cjs/resources/Treasury/Transactions.js +447 -0
  156. package/cjs/resources/V2/Billing/MeterEventAdjustments.js +12 -0
  157. package/cjs/resources/V2/Billing/MeterEventSession.js +12 -0
  158. package/cjs/resources/V2/Billing/MeterEventStream.js +13 -0
  159. package/cjs/resources/V2/Billing/MeterEvents.js +9 -0
  160. package/cjs/resources/V2/Core/AccountLinks.js +9 -0
  161. package/cjs/resources/V2/Core/AccountTokens.js +35 -0
  162. package/cjs/resources/V2/Core/Accounts/PersonTokens.js +25 -0
  163. package/cjs/resources/V2/Core/Accounts/Persons.js +91 -0
  164. package/cjs/resources/V2/Core/Accounts.js +177 -0
  165. package/cjs/resources/V2/Core/EventDestinations.js +41 -0
  166. package/cjs/resources/V2/Core/Events.js +66 -0
  167. package/cjs/resources/WebhookEndpoints.js +26 -0
  168. package/cjs/resources.js +324 -0
  169. package/cjs/stripe.cjs.node.js +13 -0
  170. package/cjs/stripe.cjs.worker.js +13 -0
  171. package/cjs/stripe.core.js +412 -0
  172. package/cjs/utils.js +477 -0
  173. package/esm/Decimal.js +850 -0
  174. package/esm/Error.js +259 -0
  175. package/esm/RequestSender.js +465 -0
  176. package/esm/ResourceNamespace.js +17 -0
  177. package/esm/StripeContext.js +52 -0
  178. package/esm/StripeEmitter.js +42 -0
  179. package/esm/StripeMethod.js +32 -0
  180. package/esm/StripeResource.js +185 -0
  181. package/esm/V2Coercion.js +104 -0
  182. package/esm/Webhooks.js +221 -0
  183. package/esm/apiVersion.js +3 -0
  184. package/esm/autoPagination.js +290 -0
  185. package/esm/crypto/CryptoProvider.js +46 -0
  186. package/esm/crypto/NodeCryptoProvider.js +26 -0
  187. package/esm/crypto/SubtleCryptoProvider.js +47 -0
  188. package/esm/multipart.js +57 -0
  189. package/esm/net/FetchHttpClient.js +140 -0
  190. package/esm/net/HttpClient.js +48 -0
  191. package/esm/net/NodeHttpClient.js +103 -0
  192. package/esm/package.json +1 -0
  193. package/esm/platform/NodePlatformFunctions.js +94 -0
  194. package/esm/platform/PlatformFunctions.js +94 -0
  195. package/esm/platform/WebPlatformFunctions.js +34 -0
  196. package/esm/resources/AccountLinks.js +6 -0
  197. package/esm/resources/AccountSessions.js +6 -0
  198. package/esm/resources/Accounts.js +98 -0
  199. package/esm/resources/ApplePayDomains.js +19 -0
  200. package/esm/resources/ApplicationFees.js +31 -0
  201. package/esm/resources/Apps/Secrets.js +16 -0
  202. package/esm/resources/Balance.js +6 -0
  203. package/esm/resources/BalanceSettings.js +7 -0
  204. package/esm/resources/BalanceTransactions.js +14 -0
  205. package/esm/resources/Billing/Alerts.js +24 -0
  206. package/esm/resources/Billing/CreditBalanceSummary.js +9 -0
  207. package/esm/resources/Billing/CreditBalanceTransactions.js +14 -0
  208. package/esm/resources/Billing/CreditGrants.js +27 -0
  209. package/esm/resources/Billing/MeterEventAdjustments.js +9 -0
  210. package/esm/resources/Billing/MeterEvents.js +6 -0
  211. package/esm/resources/Billing/Meters.js +26 -0
  212. package/esm/resources/BillingPortal/Configurations.js +22 -0
  213. package/esm/resources/BillingPortal/Sessions.js +9 -0
  214. package/esm/resources/Charges.js +22 -0
  215. package/esm/resources/Checkout/Sessions.js +535 -0
  216. package/esm/resources/Climate/Orders.js +58 -0
  217. package/esm/resources/Climate/Products.js +30 -0
  218. package/esm/resources/Climate/Suppliers.js +14 -0
  219. package/esm/resources/ConfirmationTokens.js +9 -0
  220. package/esm/resources/CountrySpecs.js +14 -0
  221. package/esm/resources/Coupons.js +14 -0
  222. package/esm/resources/CreditNotes.js +250 -0
  223. package/esm/resources/CustomerSessions.js +6 -0
  224. package/esm/resources/Customers.js +578 -0
  225. package/esm/resources/Disputes.js +16 -0
  226. package/esm/resources/Entitlements/ActiveEntitlements.js +14 -0
  227. package/esm/resources/Entitlements/Features.js +19 -0
  228. package/esm/resources/EphemeralKeys.js +15 -0
  229. package/esm/resources/Events.js +11 -0
  230. package/esm/resources/ExchangeRates.js +14 -0
  231. package/esm/resources/FileLinks.js +13 -0
  232. package/esm/resources/Files.js +21 -0
  233. package/esm/resources/FinancialConnections/Accounts.js +35 -0
  234. package/esm/resources/FinancialConnections/Sessions.js +13 -0
  235. package/esm/resources/FinancialConnections/Transactions.js +14 -0
  236. package/esm/resources/Forwarding/Requests.js +15 -0
  237. package/esm/resources/Identity/VerificationReports.js +14 -0
  238. package/esm/resources/Identity/VerificationSessions.js +30 -0
  239. package/esm/resources/InvoiceItems.js +128 -0
  240. package/esm/resources/InvoicePayments.js +14 -0
  241. package/esm/resources/InvoiceRenderingTemplates.js +22 -0
  242. package/esm/resources/Invoices.js +773 -0
  243. package/esm/resources/Issuing/Authorizations.js +844 -0
  244. package/esm/resources/Issuing/Cardholders.js +19 -0
  245. package/esm/resources/Issuing/Cards.js +13 -0
  246. package/esm/resources/Issuing/Disputes.js +23 -0
  247. package/esm/resources/Issuing/PersonalizationDesigns.js +22 -0
  248. package/esm/resources/Issuing/PhysicalBundles.js +14 -0
  249. package/esm/resources/Issuing/Tokens.js +18 -0
  250. package/esm/resources/Issuing/Transactions.js +272 -0
  251. package/esm/resources/Mandates.js +6 -0
  252. package/esm/resources/OAuth.js +42 -0
  253. package/esm/resources/PaymentAttemptRecords.js +14 -0
  254. package/esm/resources/PaymentIntents.js +53 -0
  255. package/esm/resources/PaymentLinks.js +417 -0
  256. package/esm/resources/PaymentMethodConfigurations.js +22 -0
  257. package/esm/resources/PaymentMethodDomains.js +26 -0
  258. package/esm/resources/PaymentMethods.js +27 -0
  259. package/esm/resources/PaymentRecords.js +34 -0
  260. package/esm/resources/Payouts.js +21 -0
  261. package/esm/resources/Plans.js +138 -0
  262. package/esm/resources/Prices.js +343 -0
  263. package/esm/resources/Products.js +69 -0
  264. package/esm/resources/PromotionCodes.js +19 -0
  265. package/esm/resources/Quotes.js +822 -0
  266. package/esm/resources/Radar/EarlyFraudWarnings.js +14 -0
  267. package/esm/resources/Radar/PaymentEvaluations.js +9 -0
  268. package/esm/resources/Radar/ValueListItems.js +22 -0
  269. package/esm/resources/Radar/ValueLists.js +23 -0
  270. package/esm/resources/Refunds.js +17 -0
  271. package/esm/resources/Reporting/ReportRuns.js +15 -0
  272. package/esm/resources/Reporting/ReportTypes.js +14 -0
  273. package/esm/resources/Reviews.js +15 -0
  274. package/esm/resources/SetupAttempts.js +10 -0
  275. package/esm/resources/SetupIntents.js +31 -0
  276. package/esm/resources/ShippingRates.js +19 -0
  277. package/esm/resources/Sigma/ScheduledQueryRuns.js +14 -0
  278. package/esm/resources/Sources.js +17 -0
  279. package/esm/resources/SubscriptionItems.js +375 -0
  280. package/esm/resources/SubscriptionSchedules.js +104 -0
  281. package/esm/resources/Subscriptions.js +885 -0
  282. package/esm/resources/Tax/Associations.js +6 -0
  283. package/esm/resources/Tax/Calculations.js +15 -0
  284. package/esm/resources/Tax/Registrations.js +19 -0
  285. package/esm/resources/Tax/Settings.js +7 -0
  286. package/esm/resources/Tax/Transactions.js +22 -0
  287. package/esm/resources/TaxCodes.js +11 -0
  288. package/esm/resources/TaxIds.js +13 -0
  289. package/esm/resources/TaxRates.js +13 -0
  290. package/esm/resources/Terminal/Configurations.js +26 -0
  291. package/esm/resources/Terminal/ConnectionTokens.js +9 -0
  292. package/esm/resources/Terminal/Locations.js +23 -0
  293. package/esm/resources/Terminal/OnboardingLinks.js +9 -0
  294. package/esm/resources/Terminal/Readers.js +55 -0
  295. package/esm/resources/TestHelpers/ConfirmationTokens.js +9 -0
  296. package/esm/resources/TestHelpers/Customers.js +9 -0
  297. package/esm/resources/TestHelpers/Issuing/Authorizations.js +1290 -0
  298. package/esm/resources/TestHelpers/Issuing/Cards.js +25 -0
  299. package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.js +17 -0
  300. package/esm/resources/TestHelpers/Issuing/Transactions.js +361 -0
  301. package/esm/resources/TestHelpers/Refunds.js +9 -0
  302. package/esm/resources/TestHelpers/Terminal/Readers.js +17 -0
  303. package/esm/resources/TestHelpers/TestClocks.js +26 -0
  304. package/esm/resources/TestHelpers/Treasury/InboundTransfers.js +17 -0
  305. package/esm/resources/TestHelpers/Treasury/OutboundPayments.js +21 -0
  306. package/esm/resources/TestHelpers/Treasury/OutboundTransfers.js +21 -0
  307. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.js +9 -0
  308. package/esm/resources/TestHelpers/Treasury/ReceivedDebits.js +9 -0
  309. package/esm/resources/Tokens.js +7 -0
  310. package/esm/resources/Topups.js +14 -0
  311. package/esm/resources/Transfers.js +30 -0
  312. package/esm/resources/Treasury/CreditReversals.js +18 -0
  313. package/esm/resources/Treasury/DebitReversals.js +18 -0
  314. package/esm/resources/Treasury/FinancialAccounts.js +34 -0
  315. package/esm/resources/Treasury/InboundTransfers.js +22 -0
  316. package/esm/resources/Treasury/OutboundPayments.js +22 -0
  317. package/esm/resources/Treasury/OutboundTransfers.js +22 -0
  318. package/esm/resources/Treasury/ReceivedCredits.js +14 -0
  319. package/esm/resources/Treasury/ReceivedDebits.js +14 -0
  320. package/esm/resources/Treasury/TransactionEntries.js +390 -0
  321. package/esm/resources/Treasury/Transactions.js +444 -0
  322. package/esm/resources/V2/Billing/MeterEventAdjustments.js +9 -0
  323. package/esm/resources/V2/Billing/MeterEventSession.js +9 -0
  324. package/esm/resources/V2/Billing/MeterEventStream.js +10 -0
  325. package/esm/resources/V2/Billing/MeterEvents.js +6 -0
  326. package/esm/resources/V2/Core/AccountLinks.js +6 -0
  327. package/esm/resources/V2/Core/AccountTokens.js +32 -0
  328. package/esm/resources/V2/Core/Accounts/PersonTokens.js +22 -0
  329. package/esm/resources/V2/Core/Accounts/Persons.js +88 -0
  330. package/esm/resources/V2/Core/Accounts.js +174 -0
  331. package/esm/resources/V2/Core/EventDestinations.js +38 -0
  332. package/esm/resources/V2/Core/Events.js +63 -0
  333. package/esm/resources/WebhookEndpoints.js +23 -0
  334. package/esm/resources.js +263 -0
  335. package/esm/stripe.core.js +408 -0
  336. package/esm/stripe.esm.node.js +5 -0
  337. package/esm/stripe.esm.worker.js +5 -0
  338. package/esm/utils.js +450 -0
  339. package/package.json +110 -0
  340. package/types/.eslintrc.js +22 -0
  341. package/types/AccountLinks.d.ts +33 -0
  342. package/types/AccountLinksResource.d.ts +78 -0
  343. package/types/AccountSessions.d.ts +578 -0
  344. package/types/AccountSessionsResource.d.ts +677 -0
  345. package/types/Accounts.d.ts +1736 -0
  346. package/types/AccountsResource.d.ts +5312 -0
  347. package/types/ApplePayDomains.d.ts +57 -0
  348. package/types/ApplePayDomainsResource.d.ts +77 -0
  349. package/types/ApplicationFees.d.ts +108 -0
  350. package/types/ApplicationFeesResource.d.ts +162 -0
  351. package/types/Applications.d.ts +55 -0
  352. package/types/Apps/Secrets.d.ts +80 -0
  353. package/types/Apps/SecretsResource.d.ts +186 -0
  354. package/types/Balance.d.ts +343 -0
  355. package/types/BalanceResource.d.ts +26 -0
  356. package/types/BalanceSettings.d.ts +103 -0
  357. package/types/BalanceSettingsResource.d.ts +124 -0
  358. package/types/BalanceTransactionSources.d.ts +23 -0
  359. package/types/BalanceTransactions.d.ts +176 -0
  360. package/types/BalanceTransactionsResource.d.ts +72 -0
  361. package/types/BankAccounts.d.ts +433 -0
  362. package/types/Billing/AlertTriggereds.d.ts +42 -0
  363. package/types/Billing/Alerts.d.ts +84 -0
  364. package/types/Billing/AlertsResource.d.ts +183 -0
  365. package/types/Billing/CreditBalanceSummary.d.ts +99 -0
  366. package/types/Billing/CreditBalanceSummaryResource.d.ts +83 -0
  367. package/types/Billing/CreditBalanceTransactions.d.ts +178 -0
  368. package/types/Billing/CreditBalanceTransactionsResource.d.ts +62 -0
  369. package/types/Billing/CreditGrants.d.ts +150 -0
  370. package/types/Billing/CreditGrantsResource.d.ts +248 -0
  371. package/types/Billing/MeterEventAdjustments.d.ts +53 -0
  372. package/types/Billing/MeterEventAdjustmentsResource.d.ts +48 -0
  373. package/types/Billing/MeterEventSummaries.d.ts +50 -0
  374. package/types/Billing/MeterEvents.d.ts +49 -0
  375. package/types/Billing/MeterEventsResource.d.ts +46 -0
  376. package/types/Billing/Meters.d.ts +110 -0
  377. package/types/Billing/MetersResource.d.ts +234 -0
  378. package/types/BillingPortal/Configurations.d.ts +319 -0
  379. package/types/BillingPortal/ConfigurationsResource.d.ts +679 -0
  380. package/types/BillingPortal/Sessions.d.ts +293 -0
  381. package/types/BillingPortal/SessionsResource.d.ts +273 -0
  382. package/types/Capabilities.d.ts +422 -0
  383. package/types/Cards.d.ts +225 -0
  384. package/types/CashBalances.d.ts +57 -0
  385. package/types/Charges.d.ts +2646 -0
  386. package/types/ChargesResource.d.ts +426 -0
  387. package/types/Checkout/Sessions.d.ts +2878 -0
  388. package/types/Checkout/SessionsResource.d.ts +4027 -0
  389. package/types/Climate/Orders.d.ts +197 -0
  390. package/types/Climate/OrdersResource.d.ts +159 -0
  391. package/types/Climate/Products.d.ts +81 -0
  392. package/types/Climate/ProductsResource.d.ts +45 -0
  393. package/types/Climate/Suppliers.d.ts +82 -0
  394. package/types/Climate/SuppliersResource.d.ts +45 -0
  395. package/types/ConfirmationTokens.d.ts +1755 -0
  396. package/types/ConfirmationTokensResource.d.ts +27 -0
  397. package/types/ConnectCollectionTransfers.d.ts +40 -0
  398. package/types/CountrySpecs.d.ts +88 -0
  399. package/types/CountrySpecsResource.d.ts +43 -0
  400. package/types/Coupons.d.ts +139 -0
  401. package/types/CouponsResource.d.ts +203 -0
  402. package/types/CreditNoteLineItems.d.ts +195 -0
  403. package/types/CreditNotes.d.ts +408 -0
  404. package/types/CreditNotesResource.d.ts +765 -0
  405. package/types/CustomerBalanceTransactions.d.ts +106 -0
  406. package/types/CustomerCashBalanceTransactions.d.ts +230 -0
  407. package/types/CustomerSessions.d.ts +283 -0
  408. package/types/CustomerSessionsResource.d.ts +263 -0
  409. package/types/CustomerSources.d.ts +9 -0
  410. package/types/Customers.d.ts +326 -0
  411. package/types/CustomersResource.d.ts +1554 -0
  412. package/types/Discounts.d.ts +175 -0
  413. package/types/Disputes.d.ts +519 -0
  414. package/types/DisputesResource.d.ts +384 -0
  415. package/types/Entitlements/ActiveEntitlementSummaries.d.ts +32 -0
  416. package/types/Entitlements/ActiveEntitlements.d.ts +37 -0
  417. package/types/Entitlements/ActiveEntitlementsResource.d.ts +49 -0
  418. package/types/Entitlements/Features.d.ts +48 -0
  419. package/types/Entitlements/FeaturesResource.d.ts +118 -0
  420. package/types/EphemeralKeys.d.ts +40 -0
  421. package/types/EphemeralKeysResource.d.ts +65 -0
  422. package/types/Errors.d.ts +356 -0
  423. package/types/EventTypes.d.ts +4443 -0
  424. package/types/Events.d.ts +373 -0
  425. package/types/EventsResource.d.ts +63 -0
  426. package/types/ExchangeRates.d.ts +54 -0
  427. package/types/ExchangeRatesResource.d.ts +49 -0
  428. package/types/ExternalAccounts.d.ts +9 -0
  429. package/types/FeeRefunds.d.ts +54 -0
  430. package/types/FileLinks.d.ts +57 -0
  431. package/types/FileLinksResource.d.ts +114 -0
  432. package/types/Files.d.ts +96 -0
  433. package/types/FilesResource.d.ts +146 -0
  434. package/types/FinancialConnections/AccountOwners.d.ts +52 -0
  435. package/types/FinancialConnections/AccountOwnerships.d.ts +32 -0
  436. package/types/FinancialConnections/Accounts.d.ts +325 -0
  437. package/types/FinancialConnections/AccountsResource.d.ts +184 -0
  438. package/types/FinancialConnections/Sessions.d.ts +113 -0
  439. package/types/FinancialConnections/SessionsResource.d.ts +128 -0
  440. package/types/FinancialConnections/Transactions.d.ts +85 -0
  441. package/types/FinancialConnections/TransactionsResource.d.ts +68 -0
  442. package/types/Forwarding/Requests.d.ts +165 -0
  443. package/types/Forwarding/RequestsResource.d.ts +127 -0
  444. package/types/FundingInstructions.d.ts +297 -0
  445. package/types/Identity/VerificationReports.d.ts +487 -0
  446. package/types/Identity/VerificationReportsResource.d.ts +71 -0
  447. package/types/Identity/VerificationSessions.d.ts +352 -0
  448. package/types/Identity/VerificationSessionsResource.d.ts +366 -0
  449. package/types/InvoiceItems.d.ts +240 -0
  450. package/types/InvoiceItemsResource.d.ts +424 -0
  451. package/types/InvoiceLineItems.d.ts +366 -0
  452. package/types/InvoicePayments.d.ts +111 -0
  453. package/types/InvoicePaymentsResource.d.ts +88 -0
  454. package/types/InvoiceRenderingTemplates.d.ts +55 -0
  455. package/types/InvoiceRenderingTemplatesResource.d.ts +93 -0
  456. package/types/Invoices.d.ts +1650 -0
  457. package/types/InvoicesResource.d.ts +4196 -0
  458. package/types/Issuing/Authorizations.d.ts +689 -0
  459. package/types/Issuing/AuthorizationsResource.d.ts +151 -0
  460. package/types/Issuing/Cardholders.d.ts +1184 -0
  461. package/types/Issuing/CardholdersResource.d.ts +2411 -0
  462. package/types/Issuing/Cards.d.ts +1312 -0
  463. package/types/Issuing/CardsResource.d.ts +2371 -0
  464. package/types/Issuing/Disputes.d.ts +383 -0
  465. package/types/Issuing/DisputesResource.d.ts +776 -0
  466. package/types/Issuing/PersonalizationDesigns.d.ts +142 -0
  467. package/types/Issuing/PersonalizationDesignsResource.d.ts +253 -0
  468. package/types/Issuing/PhysicalBundles.d.ts +75 -0
  469. package/types/Issuing/PhysicalBundlesResource.d.ts +63 -0
  470. package/types/Issuing/Tokens.d.ts +273 -0
  471. package/types/Issuing/TokensResource.d.ts +88 -0
  472. package/types/Issuing/Transactions.d.ts +479 -0
  473. package/types/Issuing/TransactionsResource.d.ts +92 -0
  474. package/types/LineItems.d.ts +145 -0
  475. package/types/LoginLinks.d.ts +26 -0
  476. package/types/Mandates.d.ts +373 -0
  477. package/types/MandatesResource.d.ts +27 -0
  478. package/types/OAuth.d.ts +355 -0
  479. package/types/PaymentAttemptRecords.d.ts +2438 -0
  480. package/types/PaymentAttemptRecordsResource.d.ts +57 -0
  481. package/types/PaymentIntentAmountDetailsLineItems.d.ts +126 -0
  482. package/types/PaymentIntents.d.ts +3162 -0
  483. package/types/PaymentIntentsResource.d.ts +11473 -0
  484. package/types/PaymentLinks.d.ts +1051 -0
  485. package/types/PaymentLinksResource.d.ts +2334 -0
  486. package/types/PaymentMethodConfigurations.d.ts +2045 -0
  487. package/types/PaymentMethodConfigurationsResource.d.ts +2958 -0
  488. package/types/PaymentMethodDomains.d.ts +213 -0
  489. package/types/PaymentMethodDomainsResource.d.ts +126 -0
  490. package/types/PaymentMethods.d.ts +1645 -0
  491. package/types/PaymentMethodsResource.d.ts +1223 -0
  492. package/types/PaymentRecords.d.ts +2438 -0
  493. package/types/PaymentRecordsResource.d.ts +657 -0
  494. package/types/Payouts.d.ts +177 -0
  495. package/types/PayoutsResource.d.ts +201 -0
  496. package/types/Persons.d.ts +824 -0
  497. package/types/Plans.d.ts +195 -0
  498. package/types/PlansResource.d.ts +303 -0
  499. package/types/Prices.d.ts +325 -0
  500. package/types/PricesResource.d.ts +607 -0
  501. package/types/ProductFeatures.d.ts +57 -0
  502. package/types/Products.d.ts +170 -0
  503. package/types/ProductsResource.d.ts +616 -0
  504. package/types/PromotionCodes.d.ts +125 -0
  505. package/types/PromotionCodesResource.d.ts +233 -0
  506. package/types/Quotes.d.ts +690 -0
  507. package/types/QuotesResource.d.ts +898 -0
  508. package/types/Radar/EarlyFraudWarnings.d.ts +55 -0
  509. package/types/Radar/EarlyFraudWarningsResource.d.ts +64 -0
  510. package/types/Radar/PaymentEvaluations.d.ts +580 -0
  511. package/types/Radar/PaymentEvaluationsResource.d.ts +208 -0
  512. package/types/Radar/ValueListItems.d.ts +74 -0
  513. package/types/Radar/ValueListItemsResource.d.ts +99 -0
  514. package/types/Radar/ValueLists.d.ts +104 -0
  515. package/types/Radar/ValueListsResource.d.ts +156 -0
  516. package/types/Refunds.d.ts +487 -0
  517. package/types/RefundsResource.d.ts +187 -0
  518. package/types/Reporting/ReportRuns.d.ts +115 -0
  519. package/types/Reporting/ReportRunsResource.d.ts +763 -0
  520. package/types/Reporting/ReportTypes.d.ts +64 -0
  521. package/types/Reporting/ReportTypesResource.d.ts +47 -0
  522. package/types/Reserve/Holds.d.ts +104 -0
  523. package/types/Reserve/Plans.d.ts +103 -0
  524. package/types/Reserve/Releases.d.ts +105 -0
  525. package/types/ReserveTransactions.d.ts +32 -0
  526. package/types/Reviews.d.ts +146 -0
  527. package/types/ReviewsResource.d.ts +68 -0
  528. package/types/SetupAttempts.d.ts +878 -0
  529. package/types/SetupAttemptsResource.d.ts +35 -0
  530. package/types/SetupIntents.d.ts +1105 -0
  531. package/types/SetupIntentsResource.d.ts +5251 -0
  532. package/types/ShippingRates.d.ts +155 -0
  533. package/types/ShippingRatesResource.d.ts +262 -0
  534. package/types/Sigma/ScheduledQueryRuns.d.ts +76 -0
  535. package/types/Sigma/ScheduledQueryRunsResource.d.ts +47 -0
  536. package/types/SourceMandateNotifications.d.ts +105 -0
  537. package/types/SourceTransactions.d.ts +203 -0
  538. package/types/Sources.d.ts +746 -0
  539. package/types/SourcesResource.d.ts +611 -0
  540. package/types/SubscriptionItems.d.ts +122 -0
  541. package/types/SubscriptionItemsResource.d.ts +441 -0
  542. package/types/SubscriptionSchedules.d.ts +687 -0
  543. package/types/SubscriptionSchedulesResource.d.ts +1565 -0
  544. package/types/Subscriptions.d.ts +852 -0
  545. package/types/SubscriptionsResource.d.ts +2326 -0
  546. package/types/Tax/Associations.d.ts +82 -0
  547. package/types/Tax/AssociationsResource.d.ts +29 -0
  548. package/types/Tax/CalculationLineItems.d.ts +187 -0
  549. package/types/Tax/Calculations.d.ts +511 -0
  550. package/types/Tax/CalculationsResource.d.ts +406 -0
  551. package/types/Tax/Registrations.d.ts +1710 -0
  552. package/types/Tax/RegistrationsResource.d.ts +2583 -0
  553. package/types/Tax/Settings.d.ts +86 -0
  554. package/types/Tax/SettingsResource.d.ts +77 -0
  555. package/types/Tax/TransactionLineItems.d.ts +90 -0
  556. package/types/Tax/Transactions.d.ts +418 -0
  557. package/types/Tax/TransactionsResource.d.ts +182 -0
  558. package/types/TaxCodes.d.ts +30 -0
  559. package/types/TaxCodesResource.d.ts +43 -0
  560. package/types/TaxDeductedAtSources.d.ts +35 -0
  561. package/types/TaxIds.d.ts +262 -0
  562. package/types/TaxIdsResource.d.ts +263 -0
  563. package/types/TaxRates.d.ts +144 -0
  564. package/types/TaxRatesResource.d.ts +215 -0
  565. package/types/Terminal/Configurations.d.ts +630 -0
  566. package/types/Terminal/ConfigurationsResource.d.ts +1469 -0
  567. package/types/Terminal/ConnectionTokens.d.ts +29 -0
  568. package/types/Terminal/ConnectionTokensResource.d.ts +32 -0
  569. package/types/Terminal/Locations.d.ts +166 -0
  570. package/types/Terminal/LocationsResource.d.ts +233 -0
  571. package/types/Terminal/OnboardingLinks.d.ts +57 -0
  572. package/types/Terminal/OnboardingLinksResource.d.ts +62 -0
  573. package/types/Terminal/Readers.d.ts +676 -0
  574. package/types/Terminal/ReadersResource.d.ts +665 -0
  575. package/types/TestHelpers/ConfirmationTokensResource.d.ts +936 -0
  576. package/types/TestHelpers/CustomersResource.d.ts +40 -0
  577. package/types/TestHelpers/Issuing/AuthorizationsResource.d.ts +1404 -0
  578. package/types/TestHelpers/Issuing/CardsResource.d.ts +121 -0
  579. package/types/TestHelpers/Issuing/PersonalizationDesignsResource.d.ts +113 -0
  580. package/types/TestHelpers/Issuing/TransactionsResource.d.ts +1354 -0
  581. package/types/TestHelpers/RefundsResource.d.ts +29 -0
  582. package/types/TestHelpers/Terminal/ReadersResource.d.ts +151 -0
  583. package/types/TestHelpers/TestClocks.d.ts +98 -0
  584. package/types/TestHelpers/TestClocksResource.d.ts +108 -0
  585. package/types/TestHelpers/Treasury/InboundTransfersResource.d.ts +108 -0
  586. package/types/TestHelpers/Treasury/OutboundPaymentsResource.d.ts +175 -0
  587. package/types/TestHelpers/Treasury/OutboundTransfersResource.d.ts +175 -0
  588. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +93 -0
  589. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +91 -0
  590. package/types/Tokens.d.ts +84 -0
  591. package/types/TokensResource.d.ts +1086 -0
  592. package/types/Topups.d.ts +103 -0
  593. package/types/TopupsResource.d.ts +158 -0
  594. package/types/TransferReversals.d.ts +72 -0
  595. package/types/Transfers.d.ts +104 -0
  596. package/types/TransfersResource.d.ts +260 -0
  597. package/types/Treasury/CreditReversals.d.ts +92 -0
  598. package/types/Treasury/CreditReversalsResource.d.ts +88 -0
  599. package/types/Treasury/DebitReversals.d.ts +104 -0
  600. package/types/Treasury/DebitReversalsResource.d.ts +95 -0
  601. package/types/Treasury/FinancialAccountFeatures.d.ts +623 -0
  602. package/types/Treasury/FinancialAccounts.d.ts +250 -0
  603. package/types/Treasury/FinancialAccountsResource.d.ts +733 -0
  604. package/types/Treasury/InboundTransfers.d.ts +235 -0
  605. package/types/Treasury/InboundTransfersResource.d.ts +128 -0
  606. package/types/Treasury/OutboundPayments.d.ts +324 -0
  607. package/types/Treasury/OutboundPaymentsResource.d.ts +285 -0
  608. package/types/Treasury/OutboundTransfers.d.ts +299 -0
  609. package/types/Treasury/OutboundTransfersResource.d.ts +179 -0
  610. package/types/Treasury/ReceivedCredits.d.ts +279 -0
  611. package/types/Treasury/ReceivedCreditsResource.d.ts +79 -0
  612. package/types/Treasury/ReceivedDebits.d.ts +227 -0
  613. package/types/Treasury/ReceivedDebitsResource.d.ts +58 -0
  614. package/types/Treasury/TransactionEntries.d.ts +203 -0
  615. package/types/Treasury/TransactionEntriesResource.d.ts +70 -0
  616. package/types/Treasury/Transactions.d.ts +202 -0
  617. package/types/Treasury/TransactionsResource.d.ts +82 -0
  618. package/types/UpcomingInvoices.d.ts +5 -0
  619. package/types/V2/Billing/MeterEventAdjustments.d.ts +65 -0
  620. package/types/V2/Billing/MeterEventAdjustmentsResource.d.ts +47 -0
  621. package/types/V2/Billing/MeterEventSessionResource.d.ts +26 -0
  622. package/types/V2/Billing/MeterEventSessions.d.ts +45 -0
  623. package/types/V2/Billing/MeterEventStreamResource.d.ts +62 -0
  624. package/types/V2/Billing/MeterEvents.d.ts +55 -0
  625. package/types/V2/Billing/MeterEventsResource.d.ts +52 -0
  626. package/types/V2/Core/AccountLinks.d.ts +160 -0
  627. package/types/V2/Core/AccountLinksResource.d.ts +145 -0
  628. package/types/V2/Core/AccountPersonTokens.d.ts +44 -0
  629. package/types/V2/Core/AccountPersons.d.ts +661 -0
  630. package/types/V2/Core/AccountTokens.d.ts +44 -0
  631. package/types/V2/Core/AccountTokensResource.d.ts +1149 -0
  632. package/types/V2/Core/Accounts/PersonTokensResource.d.ts +556 -0
  633. package/types/V2/Core/Accounts/PersonsResource.d.ts +1260 -0
  634. package/types/V2/Core/Accounts.d.ts +5422 -0
  635. package/types/V2/Core/AccountsResource.d.ts +5042 -0
  636. package/types/V2/Core/EventDestinations.d.ts +168 -0
  637. package/types/V2/Core/EventDestinationsResource.d.ts +278 -0
  638. package/types/V2/Core/EventTypes.d.ts +798 -0
  639. package/types/V2/Core/Events.d.ts +86 -0
  640. package/types/V2/Core/EventsResource.d.ts +63 -0
  641. package/types/V2/DeletedObject.d.ts +22 -0
  642. package/types/V2/EventMisc.d.ts +80 -0
  643. package/types/WebhookEndpoints.d.ts +101 -0
  644. package/types/WebhookEndpointsResource.d.ts +798 -0
  645. package/types/Webhooks.d.ts +164 -0
  646. package/types/apiVersion.d.ts +4 -0
  647. package/types/crypto/crypto.d.ts +59 -0
  648. package/types/index.d.ts +596 -0
  649. package/types/lib.d.ts +420 -0
  650. package/types/net/net.d.ts +99 -0
  651. package/types/shared.d.ts +178 -0
  652. package/types/test/.eslintrc.js +6 -0
  653. package/types/test/tsconfig.json +67 -0
  654. package/types/test/typescriptTest.ts +357 -0
@@ -0,0 +1,2371 @@
1
+ // File generated from our OpenAPI spec
2
+
3
+ declare module 'stripe' {
4
+ namespace Stripe {
5
+ namespace Issuing {
6
+ interface CardCreateParams {
7
+ /**
8
+ * The currency for the card.
9
+ */
10
+ currency: string;
11
+
12
+ /**
13
+ * The type of card to issue. Possible values are `physical` or `virtual`.
14
+ */
15
+ type: CardCreateParams.Type;
16
+
17
+ /**
18
+ * The [Cardholder](https://docs.stripe.com/api#issuing_cardholder_object) object with which the card will be associated.
19
+ */
20
+ cardholder?: string;
21
+
22
+ /**
23
+ * The desired expiration month (1-12) for this card if [specifying a custom expiration date](https://docs.stripe.com/issuing/cards/virtual/issue-cards?testing-method=with-code#exp-dates).
24
+ */
25
+ exp_month?: number;
26
+
27
+ /**
28
+ * The desired 4-digit expiration year for this card if [specifying a custom expiration date](https://docs.stripe.com/issuing/cards/virtual/issue-cards?testing-method=with-code#exp-dates).
29
+ */
30
+ exp_year?: number;
31
+
32
+ /**
33
+ * Specifies which fields in the response should be expanded.
34
+ */
35
+ expand?: Array<string>;
36
+
37
+ /**
38
+ * The new financial account ID the card will be associated with. This field allows a card to be reassigned to a different financial account.
39
+ */
40
+ financial_account?: string;
41
+
42
+ /**
43
+ * Rules that control the lifecycle of this card, such as automatic cancellation. Refer to our [documentation](https://docs.stripe.com/issuing/controls/lifecycle-controls) for more details.
44
+ */
45
+ lifecycle_controls?: CardCreateParams.LifecycleControls;
46
+
47
+ /**
48
+ * 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`.
49
+ */
50
+ metadata?: Stripe.MetadataParam;
51
+
52
+ /**
53
+ * The personalization design object belonging to this card.
54
+ */
55
+ personalization_design?: string;
56
+
57
+ /**
58
+ * The desired PIN for this card.
59
+ */
60
+ pin?: CardCreateParams.Pin;
61
+
62
+ /**
63
+ * The card this is meant to be a replacement for (if any).
64
+ */
65
+ replacement_for?: string;
66
+
67
+ /**
68
+ * If `replacement_for` is specified, this should indicate why that card is being replaced.
69
+ */
70
+ replacement_reason?: CardCreateParams.ReplacementReason;
71
+
72
+ /**
73
+ * The second line to print on the card. Max length: 24 characters.
74
+ */
75
+ second_line?: Stripe.Emptyable<string>;
76
+
77
+ /**
78
+ * The address where the card will be shipped.
79
+ */
80
+ shipping?: CardCreateParams.Shipping;
81
+
82
+ /**
83
+ * Rules that control spending for this card. Refer to our [documentation](https://docs.stripe.com/issuing/controls/spending-controls) for more details.
84
+ */
85
+ spending_controls?: CardCreateParams.SpendingControls;
86
+
87
+ /**
88
+ * Whether authorizations can be approved on this card. May be blocked from activating cards depending on past-due Cardholder requirements. Defaults to `inactive`.
89
+ */
90
+ status?: CardCreateParams.Status;
91
+ }
92
+
93
+ namespace CardCreateParams {
94
+ interface LifecycleControls {
95
+ /**
96
+ * Cancels the card after the specified conditions are met.
97
+ */
98
+ cancel_after: LifecycleControls.CancelAfter;
99
+ }
100
+
101
+ namespace LifecycleControls {
102
+ interface CancelAfter {
103
+ /**
104
+ * The card is automatically cancelled when it makes this number of non-zero payment authorizations and transactions. The count includes penny authorizations, but doesn't include non-payment actions, such as authorization advice.
105
+ */
106
+ payment_count: number;
107
+ }
108
+ }
109
+
110
+ interface Pin {
111
+ /**
112
+ * The card's desired new PIN, encrypted under Stripe's public key.
113
+ */
114
+ encrypted_number?: string;
115
+ }
116
+
117
+ type ReplacementReason = 'damaged' | 'expired' | 'lost' | 'stolen';
118
+
119
+ interface Shipping {
120
+ /**
121
+ * The address that the card is shipped to.
122
+ */
123
+ address: Shipping.Address;
124
+
125
+ /**
126
+ * Address validation settings.
127
+ */
128
+ address_validation?: Shipping.AddressValidation;
129
+
130
+ /**
131
+ * Customs information for the shipment.
132
+ */
133
+ customs?: Shipping.Customs;
134
+
135
+ /**
136
+ * The name printed on the shipping label when shipping the card.
137
+ */
138
+ name: string;
139
+
140
+ /**
141
+ * Phone number of the recipient of the shipment.
142
+ */
143
+ phone_number?: string;
144
+
145
+ /**
146
+ * Whether a signature is required for card delivery.
147
+ */
148
+ require_signature?: boolean;
149
+
150
+ /**
151
+ * Shipment service.
152
+ */
153
+ service?: Shipping.Service;
154
+
155
+ /**
156
+ * Packaging options.
157
+ */
158
+ type?: Shipping.Type;
159
+ }
160
+
161
+ namespace Shipping {
162
+ interface Address {
163
+ /**
164
+ * City, district, suburb, town, or village.
165
+ */
166
+ city: string;
167
+
168
+ /**
169
+ * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
170
+ */
171
+ country: string;
172
+
173
+ /**
174
+ * Address line 1, such as the street, PO Box, or company name.
175
+ */
176
+ line1: string;
177
+
178
+ /**
179
+ * Address line 2, such as the apartment, suite, unit, or building.
180
+ */
181
+ line2?: string;
182
+
183
+ /**
184
+ * ZIP or postal code.
185
+ */
186
+ postal_code: string;
187
+
188
+ /**
189
+ * State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
190
+ */
191
+ state?: string;
192
+ }
193
+
194
+ interface AddressValidation {
195
+ /**
196
+ * The address validation capabilities to use.
197
+ */
198
+ mode: AddressValidation.Mode;
199
+ }
200
+
201
+ namespace AddressValidation {
202
+ type Mode =
203
+ | 'disabled'
204
+ | 'normalization_only'
205
+ | 'validation_and_normalization';
206
+ }
207
+
208
+ interface Customs {
209
+ /**
210
+ * The Economic Operators Registration and Identification (EORI) number to use for Customs. Required for bulk shipments to Europe.
211
+ */
212
+ eori_number?: string;
213
+ }
214
+
215
+ type Service = 'express' | 'priority' | 'standard';
216
+
217
+ type Type = 'bulk' | 'individual';
218
+ }
219
+
220
+ interface SpendingControls {
221
+ /**
222
+ * Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) of authorizations to allow. All other categories will be blocked. Cannot be set with `blocked_categories`.
223
+ */
224
+ allowed_categories?: Array<SpendingControls.AllowedCategory>;
225
+
226
+ /**
227
+ * Array of strings containing representing countries from which authorizations will be allowed. Authorizations from merchants in all other countries will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `blocked_merchant_countries`. Provide an empty value to unset this control.
228
+ */
229
+ allowed_merchant_countries?: Array<string>;
230
+
231
+ /**
232
+ * Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`.
233
+ */
234
+ blocked_categories?: Array<SpendingControls.BlockedCategory>;
235
+
236
+ /**
237
+ * Array of strings containing representing countries from which authorizations will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `allowed_merchant_countries`. Provide an empty value to unset this control.
238
+ */
239
+ blocked_merchant_countries?: Array<string>;
240
+
241
+ /**
242
+ * Limit spending with amount-based rules that apply across any cards this card replaced (i.e., its `replacement_for` card and _that_ card's `replacement_for` card, up the chain).
243
+ */
244
+ spending_limits?: Array<SpendingControls.SpendingLimit>;
245
+ }
246
+
247
+ namespace SpendingControls {
248
+ type AllowedCategory =
249
+ | 'ac_refrigeration_repair'
250
+ | 'accounting_bookkeeping_services'
251
+ | 'advertising_services'
252
+ | 'agricultural_cooperative'
253
+ | 'airlines_air_carriers'
254
+ | 'airports_flying_fields'
255
+ | 'ambulance_services'
256
+ | 'amusement_parks_carnivals'
257
+ | 'antique_reproductions'
258
+ | 'antique_shops'
259
+ | 'aquariums'
260
+ | 'architectural_surveying_services'
261
+ | 'art_dealers_and_galleries'
262
+ | 'artists_supply_and_craft_shops'
263
+ | 'auto_and_home_supply_stores'
264
+ | 'auto_body_repair_shops'
265
+ | 'auto_paint_shops'
266
+ | 'auto_service_shops'
267
+ | 'automated_cash_disburse'
268
+ | 'automated_fuel_dispensers'
269
+ | 'automobile_associations'
270
+ | 'automotive_parts_and_accessories_stores'
271
+ | 'automotive_tire_stores'
272
+ | 'bail_and_bond_payments'
273
+ | 'bakeries'
274
+ | 'bands_orchestras'
275
+ | 'barber_and_beauty_shops'
276
+ | 'betting_casino_gambling'
277
+ | 'bicycle_shops'
278
+ | 'billiard_pool_establishments'
279
+ | 'boat_dealers'
280
+ | 'boat_rentals_and_leases'
281
+ | 'book_stores'
282
+ | 'books_periodicals_and_newspapers'
283
+ | 'bowling_alleys'
284
+ | 'bus_lines'
285
+ | 'business_secretarial_schools'
286
+ | 'buying_shopping_services'
287
+ | 'cable_satellite_and_other_pay_television_and_radio'
288
+ | 'camera_and_photographic_supply_stores'
289
+ | 'candy_nut_and_confectionery_stores'
290
+ | 'car_and_truck_dealers_new_used'
291
+ | 'car_and_truck_dealers_used_only'
292
+ | 'car_rental_agencies'
293
+ | 'car_washes'
294
+ | 'carpentry_services'
295
+ | 'carpet_upholstery_cleaning'
296
+ | 'caterers'
297
+ | 'charitable_and_social_service_organizations_fundraising'
298
+ | 'chemicals_and_allied_products'
299
+ | 'child_care_services'
300
+ | 'childrens_and_infants_wear_stores'
301
+ | 'chiropodists_podiatrists'
302
+ | 'chiropractors'
303
+ | 'cigar_stores_and_stands'
304
+ | 'civic_social_fraternal_associations'
305
+ | 'cleaning_and_maintenance'
306
+ | 'clothing_rental'
307
+ | 'colleges_universities'
308
+ | 'commercial_equipment'
309
+ | 'commercial_footwear'
310
+ | 'commercial_photography_art_and_graphics'
311
+ | 'commuter_transport_and_ferries'
312
+ | 'computer_network_services'
313
+ | 'computer_programming'
314
+ | 'computer_repair'
315
+ | 'computer_software_stores'
316
+ | 'computers_peripherals_and_software'
317
+ | 'concrete_work_services'
318
+ | 'construction_materials'
319
+ | 'consulting_public_relations'
320
+ | 'correspondence_schools'
321
+ | 'cosmetic_stores'
322
+ | 'counseling_services'
323
+ | 'country_clubs'
324
+ | 'courier_services'
325
+ | 'court_costs'
326
+ | 'credit_reporting_agencies'
327
+ | 'cruise_lines'
328
+ | 'dairy_products_stores'
329
+ | 'dance_hall_studios_schools'
330
+ | 'dating_escort_services'
331
+ | 'dentists_orthodontists'
332
+ | 'department_stores'
333
+ | 'detective_agencies'
334
+ | 'digital_goods_applications'
335
+ | 'digital_goods_games'
336
+ | 'digital_goods_large_volume'
337
+ | 'digital_goods_media'
338
+ | 'direct_marketing_catalog_merchant'
339
+ | 'direct_marketing_combination_catalog_and_retail_merchant'
340
+ | 'direct_marketing_inbound_telemarketing'
341
+ | 'direct_marketing_insurance_services'
342
+ | 'direct_marketing_other'
343
+ | 'direct_marketing_outbound_telemarketing'
344
+ | 'direct_marketing_subscription'
345
+ | 'direct_marketing_travel'
346
+ | 'discount_stores'
347
+ | 'doctors'
348
+ | 'door_to_door_sales'
349
+ | 'drapery_window_covering_and_upholstery_stores'
350
+ | 'drinking_places'
351
+ | 'drug_stores_and_pharmacies'
352
+ | 'drugs_drug_proprietaries_and_druggist_sundries'
353
+ | 'dry_cleaners'
354
+ | 'durable_goods'
355
+ | 'duty_free_stores'
356
+ | 'eating_places_restaurants'
357
+ | 'educational_services'
358
+ | 'electric_razor_stores'
359
+ | 'electric_vehicle_charging'
360
+ | 'electrical_parts_and_equipment'
361
+ | 'electrical_services'
362
+ | 'electronics_repair_shops'
363
+ | 'electronics_stores'
364
+ | 'elementary_secondary_schools'
365
+ | 'emergency_services_gcas_visa_use_only'
366
+ | 'employment_temp_agencies'
367
+ | 'equipment_rental'
368
+ | 'exterminating_services'
369
+ | 'family_clothing_stores'
370
+ | 'fast_food_restaurants'
371
+ | 'financial_institutions'
372
+ | 'fines_government_administrative_entities'
373
+ | 'fireplace_fireplace_screens_and_accessories_stores'
374
+ | 'floor_covering_stores'
375
+ | 'florists'
376
+ | 'florists_supplies_nursery_stock_and_flowers'
377
+ | 'freezer_and_locker_meat_provisioners'
378
+ | 'fuel_dealers_non_automotive'
379
+ | 'funeral_services_crematories'
380
+ | 'furniture_home_furnishings_and_equipment_stores_except_appliances'
381
+ | 'furniture_repair_refinishing'
382
+ | 'furriers_and_fur_shops'
383
+ | 'general_services'
384
+ | 'gift_card_novelty_and_souvenir_shops'
385
+ | 'glass_paint_and_wallpaper_stores'
386
+ | 'glassware_crystal_stores'
387
+ | 'golf_courses_public'
388
+ | 'government_licensed_horse_dog_racing_us_region_only'
389
+ | 'government_licensed_online_casions_online_gambling_us_region_only'
390
+ | 'government_owned_lotteries_non_us_region'
391
+ | 'government_owned_lotteries_us_region_only'
392
+ | 'government_services'
393
+ | 'grocery_stores_supermarkets'
394
+ | 'hardware_equipment_and_supplies'
395
+ | 'hardware_stores'
396
+ | 'health_and_beauty_spas'
397
+ | 'hearing_aids_sales_and_supplies'
398
+ | 'heating_plumbing_a_c'
399
+ | 'hobby_toy_and_game_shops'
400
+ | 'home_supply_warehouse_stores'
401
+ | 'hospitals'
402
+ | 'hotels_motels_and_resorts'
403
+ | 'household_appliance_stores'
404
+ | 'industrial_supplies'
405
+ | 'information_retrieval_services'
406
+ | 'insurance_default'
407
+ | 'insurance_underwriting_premiums'
408
+ | 'intra_company_purchases'
409
+ | 'jewelry_stores_watches_clocks_and_silverware_stores'
410
+ | 'landscaping_services'
411
+ | 'laundries'
412
+ | 'laundry_cleaning_services'
413
+ | 'legal_services_attorneys'
414
+ | 'luggage_and_leather_goods_stores'
415
+ | 'lumber_building_materials_stores'
416
+ | 'manual_cash_disburse'
417
+ | 'marinas_service_and_supplies'
418
+ | 'marketplaces'
419
+ | 'masonry_stonework_and_plaster'
420
+ | 'massage_parlors'
421
+ | 'medical_and_dental_labs'
422
+ | 'medical_dental_ophthalmic_and_hospital_equipment_and_supplies'
423
+ | 'medical_services'
424
+ | 'membership_organizations'
425
+ | 'mens_and_boys_clothing_and_accessories_stores'
426
+ | 'mens_womens_clothing_stores'
427
+ | 'metal_service_centers'
428
+ | 'miscellaneous'
429
+ | 'miscellaneous_apparel_and_accessory_shops'
430
+ | 'miscellaneous_auto_dealers'
431
+ | 'miscellaneous_business_services'
432
+ | 'miscellaneous_food_stores'
433
+ | 'miscellaneous_general_merchandise'
434
+ | 'miscellaneous_general_services'
435
+ | 'miscellaneous_home_furnishing_specialty_stores'
436
+ | 'miscellaneous_publishing_and_printing'
437
+ | 'miscellaneous_recreation_services'
438
+ | 'miscellaneous_repair_shops'
439
+ | 'miscellaneous_specialty_retail'
440
+ | 'mobile_home_dealers'
441
+ | 'motion_picture_theaters'
442
+ | 'motor_freight_carriers_and_trucking'
443
+ | 'motor_homes_dealers'
444
+ | 'motor_vehicle_supplies_and_new_parts'
445
+ | 'motorcycle_shops_and_dealers'
446
+ | 'motorcycle_shops_dealers'
447
+ | 'music_stores_musical_instruments_pianos_and_sheet_music'
448
+ | 'news_dealers_and_newsstands'
449
+ | 'non_fi_money_orders'
450
+ | 'non_fi_stored_value_card_purchase_load'
451
+ | 'nondurable_goods'
452
+ | 'nurseries_lawn_and_garden_supply_stores'
453
+ | 'nursing_personal_care'
454
+ | 'office_and_commercial_furniture'
455
+ | 'opticians_eyeglasses'
456
+ | 'optometrists_ophthalmologist'
457
+ | 'orthopedic_goods_prosthetic_devices'
458
+ | 'osteopaths'
459
+ | 'package_stores_beer_wine_and_liquor'
460
+ | 'paints_varnishes_and_supplies'
461
+ | 'parking_lots_garages'
462
+ | 'passenger_railways'
463
+ | 'pawn_shops'
464
+ | 'pet_shops_pet_food_and_supplies'
465
+ | 'petroleum_and_petroleum_products'
466
+ | 'photo_developing'
467
+ | 'photographic_photocopy_microfilm_equipment_and_supplies'
468
+ | 'photographic_studios'
469
+ | 'picture_video_production'
470
+ | 'piece_goods_notions_and_other_dry_goods'
471
+ | 'plumbing_heating_equipment_and_supplies'
472
+ | 'political_organizations'
473
+ | 'postal_services_government_only'
474
+ | 'precious_stones_and_metals_watches_and_jewelry'
475
+ | 'professional_services'
476
+ | 'public_warehousing_and_storage'
477
+ | 'quick_copy_repro_and_blueprint'
478
+ | 'railroads'
479
+ | 'real_estate_agents_and_managers_rentals'
480
+ | 'record_stores'
481
+ | 'recreational_vehicle_rentals'
482
+ | 'religious_goods_stores'
483
+ | 'religious_organizations'
484
+ | 'roofing_siding_sheet_metal'
485
+ | 'secretarial_support_services'
486
+ | 'security_brokers_dealers'
487
+ | 'service_stations'
488
+ | 'sewing_needlework_fabric_and_piece_goods_stores'
489
+ | 'shoe_repair_hat_cleaning'
490
+ | 'shoe_stores'
491
+ | 'small_appliance_repair'
492
+ | 'snowmobile_dealers'
493
+ | 'special_trade_services'
494
+ | 'specialty_cleaning'
495
+ | 'sporting_goods_stores'
496
+ | 'sporting_recreation_camps'
497
+ | 'sports_and_riding_apparel_stores'
498
+ | 'sports_clubs_fields'
499
+ | 'stamp_and_coin_stores'
500
+ | 'stationary_office_supplies_printing_and_writing_paper'
501
+ | 'stationery_stores_office_and_school_supply_stores'
502
+ | 'swimming_pools_sales'
503
+ | 't_ui_travel_germany'
504
+ | 'tailors_alterations'
505
+ | 'tax_payments_government_agencies'
506
+ | 'tax_preparation_services'
507
+ | 'taxicabs_limousines'
508
+ | 'telecommunication_equipment_and_telephone_sales'
509
+ | 'telecommunication_services'
510
+ | 'telegraph_services'
511
+ | 'tent_and_awning_shops'
512
+ | 'testing_laboratories'
513
+ | 'theatrical_ticket_agencies'
514
+ | 'timeshares'
515
+ | 'tire_retreading_and_repair'
516
+ | 'tolls_bridge_fees'
517
+ | 'tourist_attractions_and_exhibits'
518
+ | 'towing_services'
519
+ | 'trailer_parks_campgrounds'
520
+ | 'transportation_services'
521
+ | 'travel_agencies_tour_operators'
522
+ | 'truck_stop_iteration'
523
+ | 'truck_utility_trailer_rentals'
524
+ | 'typesetting_plate_making_and_related_services'
525
+ | 'typewriter_stores'
526
+ | 'u_s_federal_government_agencies_or_departments'
527
+ | 'uniforms_commercial_clothing'
528
+ | 'used_merchandise_and_secondhand_stores'
529
+ | 'utilities'
530
+ | 'variety_stores'
531
+ | 'veterinary_services'
532
+ | 'video_amusement_game_supplies'
533
+ | 'video_game_arcades'
534
+ | 'video_tape_rental_stores'
535
+ | 'vocational_trade_schools'
536
+ | 'watch_jewelry_repair'
537
+ | 'welding_repair'
538
+ | 'wholesale_clubs'
539
+ | 'wig_and_toupee_stores'
540
+ | 'wires_money_orders'
541
+ | 'womens_accessory_and_specialty_shops'
542
+ | 'womens_ready_to_wear_stores'
543
+ | 'wrecking_and_salvage_yards';
544
+
545
+ type BlockedCategory =
546
+ | 'ac_refrigeration_repair'
547
+ | 'accounting_bookkeeping_services'
548
+ | 'advertising_services'
549
+ | 'agricultural_cooperative'
550
+ | 'airlines_air_carriers'
551
+ | 'airports_flying_fields'
552
+ | 'ambulance_services'
553
+ | 'amusement_parks_carnivals'
554
+ | 'antique_reproductions'
555
+ | 'antique_shops'
556
+ | 'aquariums'
557
+ | 'architectural_surveying_services'
558
+ | 'art_dealers_and_galleries'
559
+ | 'artists_supply_and_craft_shops'
560
+ | 'auto_and_home_supply_stores'
561
+ | 'auto_body_repair_shops'
562
+ | 'auto_paint_shops'
563
+ | 'auto_service_shops'
564
+ | 'automated_cash_disburse'
565
+ | 'automated_fuel_dispensers'
566
+ | 'automobile_associations'
567
+ | 'automotive_parts_and_accessories_stores'
568
+ | 'automotive_tire_stores'
569
+ | 'bail_and_bond_payments'
570
+ | 'bakeries'
571
+ | 'bands_orchestras'
572
+ | 'barber_and_beauty_shops'
573
+ | 'betting_casino_gambling'
574
+ | 'bicycle_shops'
575
+ | 'billiard_pool_establishments'
576
+ | 'boat_dealers'
577
+ | 'boat_rentals_and_leases'
578
+ | 'book_stores'
579
+ | 'books_periodicals_and_newspapers'
580
+ | 'bowling_alleys'
581
+ | 'bus_lines'
582
+ | 'business_secretarial_schools'
583
+ | 'buying_shopping_services'
584
+ | 'cable_satellite_and_other_pay_television_and_radio'
585
+ | 'camera_and_photographic_supply_stores'
586
+ | 'candy_nut_and_confectionery_stores'
587
+ | 'car_and_truck_dealers_new_used'
588
+ | 'car_and_truck_dealers_used_only'
589
+ | 'car_rental_agencies'
590
+ | 'car_washes'
591
+ | 'carpentry_services'
592
+ | 'carpet_upholstery_cleaning'
593
+ | 'caterers'
594
+ | 'charitable_and_social_service_organizations_fundraising'
595
+ | 'chemicals_and_allied_products'
596
+ | 'child_care_services'
597
+ | 'childrens_and_infants_wear_stores'
598
+ | 'chiropodists_podiatrists'
599
+ | 'chiropractors'
600
+ | 'cigar_stores_and_stands'
601
+ | 'civic_social_fraternal_associations'
602
+ | 'cleaning_and_maintenance'
603
+ | 'clothing_rental'
604
+ | 'colleges_universities'
605
+ | 'commercial_equipment'
606
+ | 'commercial_footwear'
607
+ | 'commercial_photography_art_and_graphics'
608
+ | 'commuter_transport_and_ferries'
609
+ | 'computer_network_services'
610
+ | 'computer_programming'
611
+ | 'computer_repair'
612
+ | 'computer_software_stores'
613
+ | 'computers_peripherals_and_software'
614
+ | 'concrete_work_services'
615
+ | 'construction_materials'
616
+ | 'consulting_public_relations'
617
+ | 'correspondence_schools'
618
+ | 'cosmetic_stores'
619
+ | 'counseling_services'
620
+ | 'country_clubs'
621
+ | 'courier_services'
622
+ | 'court_costs'
623
+ | 'credit_reporting_agencies'
624
+ | 'cruise_lines'
625
+ | 'dairy_products_stores'
626
+ | 'dance_hall_studios_schools'
627
+ | 'dating_escort_services'
628
+ | 'dentists_orthodontists'
629
+ | 'department_stores'
630
+ | 'detective_agencies'
631
+ | 'digital_goods_applications'
632
+ | 'digital_goods_games'
633
+ | 'digital_goods_large_volume'
634
+ | 'digital_goods_media'
635
+ | 'direct_marketing_catalog_merchant'
636
+ | 'direct_marketing_combination_catalog_and_retail_merchant'
637
+ | 'direct_marketing_inbound_telemarketing'
638
+ | 'direct_marketing_insurance_services'
639
+ | 'direct_marketing_other'
640
+ | 'direct_marketing_outbound_telemarketing'
641
+ | 'direct_marketing_subscription'
642
+ | 'direct_marketing_travel'
643
+ | 'discount_stores'
644
+ | 'doctors'
645
+ | 'door_to_door_sales'
646
+ | 'drapery_window_covering_and_upholstery_stores'
647
+ | 'drinking_places'
648
+ | 'drug_stores_and_pharmacies'
649
+ | 'drugs_drug_proprietaries_and_druggist_sundries'
650
+ | 'dry_cleaners'
651
+ | 'durable_goods'
652
+ | 'duty_free_stores'
653
+ | 'eating_places_restaurants'
654
+ | 'educational_services'
655
+ | 'electric_razor_stores'
656
+ | 'electric_vehicle_charging'
657
+ | 'electrical_parts_and_equipment'
658
+ | 'electrical_services'
659
+ | 'electronics_repair_shops'
660
+ | 'electronics_stores'
661
+ | 'elementary_secondary_schools'
662
+ | 'emergency_services_gcas_visa_use_only'
663
+ | 'employment_temp_agencies'
664
+ | 'equipment_rental'
665
+ | 'exterminating_services'
666
+ | 'family_clothing_stores'
667
+ | 'fast_food_restaurants'
668
+ | 'financial_institutions'
669
+ | 'fines_government_administrative_entities'
670
+ | 'fireplace_fireplace_screens_and_accessories_stores'
671
+ | 'floor_covering_stores'
672
+ | 'florists'
673
+ | 'florists_supplies_nursery_stock_and_flowers'
674
+ | 'freezer_and_locker_meat_provisioners'
675
+ | 'fuel_dealers_non_automotive'
676
+ | 'funeral_services_crematories'
677
+ | 'furniture_home_furnishings_and_equipment_stores_except_appliances'
678
+ | 'furniture_repair_refinishing'
679
+ | 'furriers_and_fur_shops'
680
+ | 'general_services'
681
+ | 'gift_card_novelty_and_souvenir_shops'
682
+ | 'glass_paint_and_wallpaper_stores'
683
+ | 'glassware_crystal_stores'
684
+ | 'golf_courses_public'
685
+ | 'government_licensed_horse_dog_racing_us_region_only'
686
+ | 'government_licensed_online_casions_online_gambling_us_region_only'
687
+ | 'government_owned_lotteries_non_us_region'
688
+ | 'government_owned_lotteries_us_region_only'
689
+ | 'government_services'
690
+ | 'grocery_stores_supermarkets'
691
+ | 'hardware_equipment_and_supplies'
692
+ | 'hardware_stores'
693
+ | 'health_and_beauty_spas'
694
+ | 'hearing_aids_sales_and_supplies'
695
+ | 'heating_plumbing_a_c'
696
+ | 'hobby_toy_and_game_shops'
697
+ | 'home_supply_warehouse_stores'
698
+ | 'hospitals'
699
+ | 'hotels_motels_and_resorts'
700
+ | 'household_appliance_stores'
701
+ | 'industrial_supplies'
702
+ | 'information_retrieval_services'
703
+ | 'insurance_default'
704
+ | 'insurance_underwriting_premiums'
705
+ | 'intra_company_purchases'
706
+ | 'jewelry_stores_watches_clocks_and_silverware_stores'
707
+ | 'landscaping_services'
708
+ | 'laundries'
709
+ | 'laundry_cleaning_services'
710
+ | 'legal_services_attorneys'
711
+ | 'luggage_and_leather_goods_stores'
712
+ | 'lumber_building_materials_stores'
713
+ | 'manual_cash_disburse'
714
+ | 'marinas_service_and_supplies'
715
+ | 'marketplaces'
716
+ | 'masonry_stonework_and_plaster'
717
+ | 'massage_parlors'
718
+ | 'medical_and_dental_labs'
719
+ | 'medical_dental_ophthalmic_and_hospital_equipment_and_supplies'
720
+ | 'medical_services'
721
+ | 'membership_organizations'
722
+ | 'mens_and_boys_clothing_and_accessories_stores'
723
+ | 'mens_womens_clothing_stores'
724
+ | 'metal_service_centers'
725
+ | 'miscellaneous'
726
+ | 'miscellaneous_apparel_and_accessory_shops'
727
+ | 'miscellaneous_auto_dealers'
728
+ | 'miscellaneous_business_services'
729
+ | 'miscellaneous_food_stores'
730
+ | 'miscellaneous_general_merchandise'
731
+ | 'miscellaneous_general_services'
732
+ | 'miscellaneous_home_furnishing_specialty_stores'
733
+ | 'miscellaneous_publishing_and_printing'
734
+ | 'miscellaneous_recreation_services'
735
+ | 'miscellaneous_repair_shops'
736
+ | 'miscellaneous_specialty_retail'
737
+ | 'mobile_home_dealers'
738
+ | 'motion_picture_theaters'
739
+ | 'motor_freight_carriers_and_trucking'
740
+ | 'motor_homes_dealers'
741
+ | 'motor_vehicle_supplies_and_new_parts'
742
+ | 'motorcycle_shops_and_dealers'
743
+ | 'motorcycle_shops_dealers'
744
+ | 'music_stores_musical_instruments_pianos_and_sheet_music'
745
+ | 'news_dealers_and_newsstands'
746
+ | 'non_fi_money_orders'
747
+ | 'non_fi_stored_value_card_purchase_load'
748
+ | 'nondurable_goods'
749
+ | 'nurseries_lawn_and_garden_supply_stores'
750
+ | 'nursing_personal_care'
751
+ | 'office_and_commercial_furniture'
752
+ | 'opticians_eyeglasses'
753
+ | 'optometrists_ophthalmologist'
754
+ | 'orthopedic_goods_prosthetic_devices'
755
+ | 'osteopaths'
756
+ | 'package_stores_beer_wine_and_liquor'
757
+ | 'paints_varnishes_and_supplies'
758
+ | 'parking_lots_garages'
759
+ | 'passenger_railways'
760
+ | 'pawn_shops'
761
+ | 'pet_shops_pet_food_and_supplies'
762
+ | 'petroleum_and_petroleum_products'
763
+ | 'photo_developing'
764
+ | 'photographic_photocopy_microfilm_equipment_and_supplies'
765
+ | 'photographic_studios'
766
+ | 'picture_video_production'
767
+ | 'piece_goods_notions_and_other_dry_goods'
768
+ | 'plumbing_heating_equipment_and_supplies'
769
+ | 'political_organizations'
770
+ | 'postal_services_government_only'
771
+ | 'precious_stones_and_metals_watches_and_jewelry'
772
+ | 'professional_services'
773
+ | 'public_warehousing_and_storage'
774
+ | 'quick_copy_repro_and_blueprint'
775
+ | 'railroads'
776
+ | 'real_estate_agents_and_managers_rentals'
777
+ | 'record_stores'
778
+ | 'recreational_vehicle_rentals'
779
+ | 'religious_goods_stores'
780
+ | 'religious_organizations'
781
+ | 'roofing_siding_sheet_metal'
782
+ | 'secretarial_support_services'
783
+ | 'security_brokers_dealers'
784
+ | 'service_stations'
785
+ | 'sewing_needlework_fabric_and_piece_goods_stores'
786
+ | 'shoe_repair_hat_cleaning'
787
+ | 'shoe_stores'
788
+ | 'small_appliance_repair'
789
+ | 'snowmobile_dealers'
790
+ | 'special_trade_services'
791
+ | 'specialty_cleaning'
792
+ | 'sporting_goods_stores'
793
+ | 'sporting_recreation_camps'
794
+ | 'sports_and_riding_apparel_stores'
795
+ | 'sports_clubs_fields'
796
+ | 'stamp_and_coin_stores'
797
+ | 'stationary_office_supplies_printing_and_writing_paper'
798
+ | 'stationery_stores_office_and_school_supply_stores'
799
+ | 'swimming_pools_sales'
800
+ | 't_ui_travel_germany'
801
+ | 'tailors_alterations'
802
+ | 'tax_payments_government_agencies'
803
+ | 'tax_preparation_services'
804
+ | 'taxicabs_limousines'
805
+ | 'telecommunication_equipment_and_telephone_sales'
806
+ | 'telecommunication_services'
807
+ | 'telegraph_services'
808
+ | 'tent_and_awning_shops'
809
+ | 'testing_laboratories'
810
+ | 'theatrical_ticket_agencies'
811
+ | 'timeshares'
812
+ | 'tire_retreading_and_repair'
813
+ | 'tolls_bridge_fees'
814
+ | 'tourist_attractions_and_exhibits'
815
+ | 'towing_services'
816
+ | 'trailer_parks_campgrounds'
817
+ | 'transportation_services'
818
+ | 'travel_agencies_tour_operators'
819
+ | 'truck_stop_iteration'
820
+ | 'truck_utility_trailer_rentals'
821
+ | 'typesetting_plate_making_and_related_services'
822
+ | 'typewriter_stores'
823
+ | 'u_s_federal_government_agencies_or_departments'
824
+ | 'uniforms_commercial_clothing'
825
+ | 'used_merchandise_and_secondhand_stores'
826
+ | 'utilities'
827
+ | 'variety_stores'
828
+ | 'veterinary_services'
829
+ | 'video_amusement_game_supplies'
830
+ | 'video_game_arcades'
831
+ | 'video_tape_rental_stores'
832
+ | 'vocational_trade_schools'
833
+ | 'watch_jewelry_repair'
834
+ | 'welding_repair'
835
+ | 'wholesale_clubs'
836
+ | 'wig_and_toupee_stores'
837
+ | 'wires_money_orders'
838
+ | 'womens_accessory_and_specialty_shops'
839
+ | 'womens_ready_to_wear_stores'
840
+ | 'wrecking_and_salvage_yards';
841
+
842
+ interface SpendingLimit {
843
+ /**
844
+ * Maximum amount allowed to spend per interval.
845
+ */
846
+ amount: number;
847
+
848
+ /**
849
+ * Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) this limit applies to. Omitting this field will apply the limit to all categories.
850
+ */
851
+ categories?: Array<SpendingLimit.Category>;
852
+
853
+ /**
854
+ * Interval (or event) to which the amount applies.
855
+ */
856
+ interval: SpendingLimit.Interval;
857
+ }
858
+
859
+ namespace SpendingLimit {
860
+ type Category =
861
+ | 'ac_refrigeration_repair'
862
+ | 'accounting_bookkeeping_services'
863
+ | 'advertising_services'
864
+ | 'agricultural_cooperative'
865
+ | 'airlines_air_carriers'
866
+ | 'airports_flying_fields'
867
+ | 'ambulance_services'
868
+ | 'amusement_parks_carnivals'
869
+ | 'antique_reproductions'
870
+ | 'antique_shops'
871
+ | 'aquariums'
872
+ | 'architectural_surveying_services'
873
+ | 'art_dealers_and_galleries'
874
+ | 'artists_supply_and_craft_shops'
875
+ | 'auto_and_home_supply_stores'
876
+ | 'auto_body_repair_shops'
877
+ | 'auto_paint_shops'
878
+ | 'auto_service_shops'
879
+ | 'automated_cash_disburse'
880
+ | 'automated_fuel_dispensers'
881
+ | 'automobile_associations'
882
+ | 'automotive_parts_and_accessories_stores'
883
+ | 'automotive_tire_stores'
884
+ | 'bail_and_bond_payments'
885
+ | 'bakeries'
886
+ | 'bands_orchestras'
887
+ | 'barber_and_beauty_shops'
888
+ | 'betting_casino_gambling'
889
+ | 'bicycle_shops'
890
+ | 'billiard_pool_establishments'
891
+ | 'boat_dealers'
892
+ | 'boat_rentals_and_leases'
893
+ | 'book_stores'
894
+ | 'books_periodicals_and_newspapers'
895
+ | 'bowling_alleys'
896
+ | 'bus_lines'
897
+ | 'business_secretarial_schools'
898
+ | 'buying_shopping_services'
899
+ | 'cable_satellite_and_other_pay_television_and_radio'
900
+ | 'camera_and_photographic_supply_stores'
901
+ | 'candy_nut_and_confectionery_stores'
902
+ | 'car_and_truck_dealers_new_used'
903
+ | 'car_and_truck_dealers_used_only'
904
+ | 'car_rental_agencies'
905
+ | 'car_washes'
906
+ | 'carpentry_services'
907
+ | 'carpet_upholstery_cleaning'
908
+ | 'caterers'
909
+ | 'charitable_and_social_service_organizations_fundraising'
910
+ | 'chemicals_and_allied_products'
911
+ | 'child_care_services'
912
+ | 'childrens_and_infants_wear_stores'
913
+ | 'chiropodists_podiatrists'
914
+ | 'chiropractors'
915
+ | 'cigar_stores_and_stands'
916
+ | 'civic_social_fraternal_associations'
917
+ | 'cleaning_and_maintenance'
918
+ | 'clothing_rental'
919
+ | 'colleges_universities'
920
+ | 'commercial_equipment'
921
+ | 'commercial_footwear'
922
+ | 'commercial_photography_art_and_graphics'
923
+ | 'commuter_transport_and_ferries'
924
+ | 'computer_network_services'
925
+ | 'computer_programming'
926
+ | 'computer_repair'
927
+ | 'computer_software_stores'
928
+ | 'computers_peripherals_and_software'
929
+ | 'concrete_work_services'
930
+ | 'construction_materials'
931
+ | 'consulting_public_relations'
932
+ | 'correspondence_schools'
933
+ | 'cosmetic_stores'
934
+ | 'counseling_services'
935
+ | 'country_clubs'
936
+ | 'courier_services'
937
+ | 'court_costs'
938
+ | 'credit_reporting_agencies'
939
+ | 'cruise_lines'
940
+ | 'dairy_products_stores'
941
+ | 'dance_hall_studios_schools'
942
+ | 'dating_escort_services'
943
+ | 'dentists_orthodontists'
944
+ | 'department_stores'
945
+ | 'detective_agencies'
946
+ | 'digital_goods_applications'
947
+ | 'digital_goods_games'
948
+ | 'digital_goods_large_volume'
949
+ | 'digital_goods_media'
950
+ | 'direct_marketing_catalog_merchant'
951
+ | 'direct_marketing_combination_catalog_and_retail_merchant'
952
+ | 'direct_marketing_inbound_telemarketing'
953
+ | 'direct_marketing_insurance_services'
954
+ | 'direct_marketing_other'
955
+ | 'direct_marketing_outbound_telemarketing'
956
+ | 'direct_marketing_subscription'
957
+ | 'direct_marketing_travel'
958
+ | 'discount_stores'
959
+ | 'doctors'
960
+ | 'door_to_door_sales'
961
+ | 'drapery_window_covering_and_upholstery_stores'
962
+ | 'drinking_places'
963
+ | 'drug_stores_and_pharmacies'
964
+ | 'drugs_drug_proprietaries_and_druggist_sundries'
965
+ | 'dry_cleaners'
966
+ | 'durable_goods'
967
+ | 'duty_free_stores'
968
+ | 'eating_places_restaurants'
969
+ | 'educational_services'
970
+ | 'electric_razor_stores'
971
+ | 'electric_vehicle_charging'
972
+ | 'electrical_parts_and_equipment'
973
+ | 'electrical_services'
974
+ | 'electronics_repair_shops'
975
+ | 'electronics_stores'
976
+ | 'elementary_secondary_schools'
977
+ | 'emergency_services_gcas_visa_use_only'
978
+ | 'employment_temp_agencies'
979
+ | 'equipment_rental'
980
+ | 'exterminating_services'
981
+ | 'family_clothing_stores'
982
+ | 'fast_food_restaurants'
983
+ | 'financial_institutions'
984
+ | 'fines_government_administrative_entities'
985
+ | 'fireplace_fireplace_screens_and_accessories_stores'
986
+ | 'floor_covering_stores'
987
+ | 'florists'
988
+ | 'florists_supplies_nursery_stock_and_flowers'
989
+ | 'freezer_and_locker_meat_provisioners'
990
+ | 'fuel_dealers_non_automotive'
991
+ | 'funeral_services_crematories'
992
+ | 'furniture_home_furnishings_and_equipment_stores_except_appliances'
993
+ | 'furniture_repair_refinishing'
994
+ | 'furriers_and_fur_shops'
995
+ | 'general_services'
996
+ | 'gift_card_novelty_and_souvenir_shops'
997
+ | 'glass_paint_and_wallpaper_stores'
998
+ | 'glassware_crystal_stores'
999
+ | 'golf_courses_public'
1000
+ | 'government_licensed_horse_dog_racing_us_region_only'
1001
+ | 'government_licensed_online_casions_online_gambling_us_region_only'
1002
+ | 'government_owned_lotteries_non_us_region'
1003
+ | 'government_owned_lotteries_us_region_only'
1004
+ | 'government_services'
1005
+ | 'grocery_stores_supermarkets'
1006
+ | 'hardware_equipment_and_supplies'
1007
+ | 'hardware_stores'
1008
+ | 'health_and_beauty_spas'
1009
+ | 'hearing_aids_sales_and_supplies'
1010
+ | 'heating_plumbing_a_c'
1011
+ | 'hobby_toy_and_game_shops'
1012
+ | 'home_supply_warehouse_stores'
1013
+ | 'hospitals'
1014
+ | 'hotels_motels_and_resorts'
1015
+ | 'household_appliance_stores'
1016
+ | 'industrial_supplies'
1017
+ | 'information_retrieval_services'
1018
+ | 'insurance_default'
1019
+ | 'insurance_underwriting_premiums'
1020
+ | 'intra_company_purchases'
1021
+ | 'jewelry_stores_watches_clocks_and_silverware_stores'
1022
+ | 'landscaping_services'
1023
+ | 'laundries'
1024
+ | 'laundry_cleaning_services'
1025
+ | 'legal_services_attorneys'
1026
+ | 'luggage_and_leather_goods_stores'
1027
+ | 'lumber_building_materials_stores'
1028
+ | 'manual_cash_disburse'
1029
+ | 'marinas_service_and_supplies'
1030
+ | 'marketplaces'
1031
+ | 'masonry_stonework_and_plaster'
1032
+ | 'massage_parlors'
1033
+ | 'medical_and_dental_labs'
1034
+ | 'medical_dental_ophthalmic_and_hospital_equipment_and_supplies'
1035
+ | 'medical_services'
1036
+ | 'membership_organizations'
1037
+ | 'mens_and_boys_clothing_and_accessories_stores'
1038
+ | 'mens_womens_clothing_stores'
1039
+ | 'metal_service_centers'
1040
+ | 'miscellaneous'
1041
+ | 'miscellaneous_apparel_and_accessory_shops'
1042
+ | 'miscellaneous_auto_dealers'
1043
+ | 'miscellaneous_business_services'
1044
+ | 'miscellaneous_food_stores'
1045
+ | 'miscellaneous_general_merchandise'
1046
+ | 'miscellaneous_general_services'
1047
+ | 'miscellaneous_home_furnishing_specialty_stores'
1048
+ | 'miscellaneous_publishing_and_printing'
1049
+ | 'miscellaneous_recreation_services'
1050
+ | 'miscellaneous_repair_shops'
1051
+ | 'miscellaneous_specialty_retail'
1052
+ | 'mobile_home_dealers'
1053
+ | 'motion_picture_theaters'
1054
+ | 'motor_freight_carriers_and_trucking'
1055
+ | 'motor_homes_dealers'
1056
+ | 'motor_vehicle_supplies_and_new_parts'
1057
+ | 'motorcycle_shops_and_dealers'
1058
+ | 'motorcycle_shops_dealers'
1059
+ | 'music_stores_musical_instruments_pianos_and_sheet_music'
1060
+ | 'news_dealers_and_newsstands'
1061
+ | 'non_fi_money_orders'
1062
+ | 'non_fi_stored_value_card_purchase_load'
1063
+ | 'nondurable_goods'
1064
+ | 'nurseries_lawn_and_garden_supply_stores'
1065
+ | 'nursing_personal_care'
1066
+ | 'office_and_commercial_furniture'
1067
+ | 'opticians_eyeglasses'
1068
+ | 'optometrists_ophthalmologist'
1069
+ | 'orthopedic_goods_prosthetic_devices'
1070
+ | 'osteopaths'
1071
+ | 'package_stores_beer_wine_and_liquor'
1072
+ | 'paints_varnishes_and_supplies'
1073
+ | 'parking_lots_garages'
1074
+ | 'passenger_railways'
1075
+ | 'pawn_shops'
1076
+ | 'pet_shops_pet_food_and_supplies'
1077
+ | 'petroleum_and_petroleum_products'
1078
+ | 'photo_developing'
1079
+ | 'photographic_photocopy_microfilm_equipment_and_supplies'
1080
+ | 'photographic_studios'
1081
+ | 'picture_video_production'
1082
+ | 'piece_goods_notions_and_other_dry_goods'
1083
+ | 'plumbing_heating_equipment_and_supplies'
1084
+ | 'political_organizations'
1085
+ | 'postal_services_government_only'
1086
+ | 'precious_stones_and_metals_watches_and_jewelry'
1087
+ | 'professional_services'
1088
+ | 'public_warehousing_and_storage'
1089
+ | 'quick_copy_repro_and_blueprint'
1090
+ | 'railroads'
1091
+ | 'real_estate_agents_and_managers_rentals'
1092
+ | 'record_stores'
1093
+ | 'recreational_vehicle_rentals'
1094
+ | 'religious_goods_stores'
1095
+ | 'religious_organizations'
1096
+ | 'roofing_siding_sheet_metal'
1097
+ | 'secretarial_support_services'
1098
+ | 'security_brokers_dealers'
1099
+ | 'service_stations'
1100
+ | 'sewing_needlework_fabric_and_piece_goods_stores'
1101
+ | 'shoe_repair_hat_cleaning'
1102
+ | 'shoe_stores'
1103
+ | 'small_appliance_repair'
1104
+ | 'snowmobile_dealers'
1105
+ | 'special_trade_services'
1106
+ | 'specialty_cleaning'
1107
+ | 'sporting_goods_stores'
1108
+ | 'sporting_recreation_camps'
1109
+ | 'sports_and_riding_apparel_stores'
1110
+ | 'sports_clubs_fields'
1111
+ | 'stamp_and_coin_stores'
1112
+ | 'stationary_office_supplies_printing_and_writing_paper'
1113
+ | 'stationery_stores_office_and_school_supply_stores'
1114
+ | 'swimming_pools_sales'
1115
+ | 't_ui_travel_germany'
1116
+ | 'tailors_alterations'
1117
+ | 'tax_payments_government_agencies'
1118
+ | 'tax_preparation_services'
1119
+ | 'taxicabs_limousines'
1120
+ | 'telecommunication_equipment_and_telephone_sales'
1121
+ | 'telecommunication_services'
1122
+ | 'telegraph_services'
1123
+ | 'tent_and_awning_shops'
1124
+ | 'testing_laboratories'
1125
+ | 'theatrical_ticket_agencies'
1126
+ | 'timeshares'
1127
+ | 'tire_retreading_and_repair'
1128
+ | 'tolls_bridge_fees'
1129
+ | 'tourist_attractions_and_exhibits'
1130
+ | 'towing_services'
1131
+ | 'trailer_parks_campgrounds'
1132
+ | 'transportation_services'
1133
+ | 'travel_agencies_tour_operators'
1134
+ | 'truck_stop_iteration'
1135
+ | 'truck_utility_trailer_rentals'
1136
+ | 'typesetting_plate_making_and_related_services'
1137
+ | 'typewriter_stores'
1138
+ | 'u_s_federal_government_agencies_or_departments'
1139
+ | 'uniforms_commercial_clothing'
1140
+ | 'used_merchandise_and_secondhand_stores'
1141
+ | 'utilities'
1142
+ | 'variety_stores'
1143
+ | 'veterinary_services'
1144
+ | 'video_amusement_game_supplies'
1145
+ | 'video_game_arcades'
1146
+ | 'video_tape_rental_stores'
1147
+ | 'vocational_trade_schools'
1148
+ | 'watch_jewelry_repair'
1149
+ | 'welding_repair'
1150
+ | 'wholesale_clubs'
1151
+ | 'wig_and_toupee_stores'
1152
+ | 'wires_money_orders'
1153
+ | 'womens_accessory_and_specialty_shops'
1154
+ | 'womens_ready_to_wear_stores'
1155
+ | 'wrecking_and_salvage_yards';
1156
+
1157
+ type Interval =
1158
+ | 'all_time'
1159
+ | 'daily'
1160
+ | 'monthly'
1161
+ | 'per_authorization'
1162
+ | 'weekly'
1163
+ | 'yearly';
1164
+ }
1165
+ }
1166
+
1167
+ type Status = 'active' | 'inactive';
1168
+
1169
+ type Type = 'physical' | 'virtual';
1170
+ }
1171
+
1172
+ interface CardRetrieveParams {
1173
+ /**
1174
+ * Specifies which fields in the response should be expanded.
1175
+ */
1176
+ expand?: Array<string>;
1177
+ }
1178
+
1179
+ interface CardUpdateParams {
1180
+ /**
1181
+ * Reason why the `status` of this card is `canceled`.
1182
+ */
1183
+ cancellation_reason?: CardUpdateParams.CancellationReason;
1184
+
1185
+ /**
1186
+ * Specifies which fields in the response should be expanded.
1187
+ */
1188
+ expand?: Array<string>;
1189
+
1190
+ /**
1191
+ * 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`.
1192
+ */
1193
+ metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
1194
+
1195
+ personalization_design?: string;
1196
+
1197
+ /**
1198
+ * The desired new PIN for this card.
1199
+ */
1200
+ pin?: CardUpdateParams.Pin;
1201
+
1202
+ /**
1203
+ * Updated shipping information for the card.
1204
+ */
1205
+ shipping?: CardUpdateParams.Shipping;
1206
+
1207
+ /**
1208
+ * Rules that control spending for this card. Refer to our [documentation](https://docs.stripe.com/issuing/controls/spending-controls) for more details.
1209
+ */
1210
+ spending_controls?: CardUpdateParams.SpendingControls;
1211
+
1212
+ /**
1213
+ * Dictates whether authorizations can be approved on this card. May be blocked from activating cards depending on past-due Cardholder requirements. Defaults to `inactive`. If this card is being canceled because it was lost or stolen, this information should be provided as `cancellation_reason`.
1214
+ */
1215
+ status?: CardUpdateParams.Status;
1216
+ }
1217
+
1218
+ namespace CardUpdateParams {
1219
+ type CancellationReason = 'lost' | 'stolen';
1220
+
1221
+ interface Pin {
1222
+ /**
1223
+ * The card's desired new PIN, encrypted under Stripe's public key.
1224
+ */
1225
+ encrypted_number?: string;
1226
+ }
1227
+
1228
+ interface Shipping {
1229
+ /**
1230
+ * The address that the card is shipped to.
1231
+ */
1232
+ address: Shipping.Address;
1233
+
1234
+ /**
1235
+ * Address validation settings.
1236
+ */
1237
+ address_validation?: Shipping.AddressValidation;
1238
+
1239
+ /**
1240
+ * Customs information for the shipment.
1241
+ */
1242
+ customs?: Shipping.Customs;
1243
+
1244
+ /**
1245
+ * The name printed on the shipping label when shipping the card.
1246
+ */
1247
+ name: string;
1248
+
1249
+ /**
1250
+ * Phone number of the recipient of the shipment.
1251
+ */
1252
+ phone_number?: string;
1253
+
1254
+ /**
1255
+ * Whether a signature is required for card delivery.
1256
+ */
1257
+ require_signature?: boolean;
1258
+
1259
+ /**
1260
+ * Shipment service.
1261
+ */
1262
+ service?: Shipping.Service;
1263
+
1264
+ /**
1265
+ * Packaging options.
1266
+ */
1267
+ type?: Shipping.Type;
1268
+ }
1269
+
1270
+ namespace Shipping {
1271
+ interface Address {
1272
+ /**
1273
+ * City, district, suburb, town, or village.
1274
+ */
1275
+ city: string;
1276
+
1277
+ /**
1278
+ * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1279
+ */
1280
+ country: string;
1281
+
1282
+ /**
1283
+ * Address line 1, such as the street, PO Box, or company name.
1284
+ */
1285
+ line1: string;
1286
+
1287
+ /**
1288
+ * Address line 2, such as the apartment, suite, unit, or building.
1289
+ */
1290
+ line2?: string;
1291
+
1292
+ /**
1293
+ * ZIP or postal code.
1294
+ */
1295
+ postal_code: string;
1296
+
1297
+ /**
1298
+ * State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
1299
+ */
1300
+ state?: string;
1301
+ }
1302
+
1303
+ interface AddressValidation {
1304
+ /**
1305
+ * The address validation capabilities to use.
1306
+ */
1307
+ mode: AddressValidation.Mode;
1308
+ }
1309
+
1310
+ namespace AddressValidation {
1311
+ type Mode =
1312
+ | 'disabled'
1313
+ | 'normalization_only'
1314
+ | 'validation_and_normalization';
1315
+ }
1316
+
1317
+ interface Customs {
1318
+ /**
1319
+ * The Economic Operators Registration and Identification (EORI) number to use for Customs. Required for bulk shipments to Europe.
1320
+ */
1321
+ eori_number?: string;
1322
+ }
1323
+
1324
+ type Service = 'express' | 'priority' | 'standard';
1325
+
1326
+ type Type = 'bulk' | 'individual';
1327
+ }
1328
+
1329
+ interface SpendingControls {
1330
+ /**
1331
+ * Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) of authorizations to allow. All other categories will be blocked. Cannot be set with `blocked_categories`.
1332
+ */
1333
+ allowed_categories?: Array<SpendingControls.AllowedCategory>;
1334
+
1335
+ /**
1336
+ * Array of strings containing representing countries from which authorizations will be allowed. Authorizations from merchants in all other countries will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `blocked_merchant_countries`. Provide an empty value to unset this control.
1337
+ */
1338
+ allowed_merchant_countries?: Array<string>;
1339
+
1340
+ /**
1341
+ * Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`.
1342
+ */
1343
+ blocked_categories?: Array<SpendingControls.BlockedCategory>;
1344
+
1345
+ /**
1346
+ * Array of strings containing representing countries from which authorizations will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `allowed_merchant_countries`. Provide an empty value to unset this control.
1347
+ */
1348
+ blocked_merchant_countries?: Array<string>;
1349
+
1350
+ /**
1351
+ * Limit spending with amount-based rules that apply across any cards this card replaced (i.e., its `replacement_for` card and _that_ card's `replacement_for` card, up the chain).
1352
+ */
1353
+ spending_limits?: Array<SpendingControls.SpendingLimit>;
1354
+ }
1355
+
1356
+ namespace SpendingControls {
1357
+ type AllowedCategory =
1358
+ | 'ac_refrigeration_repair'
1359
+ | 'accounting_bookkeeping_services'
1360
+ | 'advertising_services'
1361
+ | 'agricultural_cooperative'
1362
+ | 'airlines_air_carriers'
1363
+ | 'airports_flying_fields'
1364
+ | 'ambulance_services'
1365
+ | 'amusement_parks_carnivals'
1366
+ | 'antique_reproductions'
1367
+ | 'antique_shops'
1368
+ | 'aquariums'
1369
+ | 'architectural_surveying_services'
1370
+ | 'art_dealers_and_galleries'
1371
+ | 'artists_supply_and_craft_shops'
1372
+ | 'auto_and_home_supply_stores'
1373
+ | 'auto_body_repair_shops'
1374
+ | 'auto_paint_shops'
1375
+ | 'auto_service_shops'
1376
+ | 'automated_cash_disburse'
1377
+ | 'automated_fuel_dispensers'
1378
+ | 'automobile_associations'
1379
+ | 'automotive_parts_and_accessories_stores'
1380
+ | 'automotive_tire_stores'
1381
+ | 'bail_and_bond_payments'
1382
+ | 'bakeries'
1383
+ | 'bands_orchestras'
1384
+ | 'barber_and_beauty_shops'
1385
+ | 'betting_casino_gambling'
1386
+ | 'bicycle_shops'
1387
+ | 'billiard_pool_establishments'
1388
+ | 'boat_dealers'
1389
+ | 'boat_rentals_and_leases'
1390
+ | 'book_stores'
1391
+ | 'books_periodicals_and_newspapers'
1392
+ | 'bowling_alleys'
1393
+ | 'bus_lines'
1394
+ | 'business_secretarial_schools'
1395
+ | 'buying_shopping_services'
1396
+ | 'cable_satellite_and_other_pay_television_and_radio'
1397
+ | 'camera_and_photographic_supply_stores'
1398
+ | 'candy_nut_and_confectionery_stores'
1399
+ | 'car_and_truck_dealers_new_used'
1400
+ | 'car_and_truck_dealers_used_only'
1401
+ | 'car_rental_agencies'
1402
+ | 'car_washes'
1403
+ | 'carpentry_services'
1404
+ | 'carpet_upholstery_cleaning'
1405
+ | 'caterers'
1406
+ | 'charitable_and_social_service_organizations_fundraising'
1407
+ | 'chemicals_and_allied_products'
1408
+ | 'child_care_services'
1409
+ | 'childrens_and_infants_wear_stores'
1410
+ | 'chiropodists_podiatrists'
1411
+ | 'chiropractors'
1412
+ | 'cigar_stores_and_stands'
1413
+ | 'civic_social_fraternal_associations'
1414
+ | 'cleaning_and_maintenance'
1415
+ | 'clothing_rental'
1416
+ | 'colleges_universities'
1417
+ | 'commercial_equipment'
1418
+ | 'commercial_footwear'
1419
+ | 'commercial_photography_art_and_graphics'
1420
+ | 'commuter_transport_and_ferries'
1421
+ | 'computer_network_services'
1422
+ | 'computer_programming'
1423
+ | 'computer_repair'
1424
+ | 'computer_software_stores'
1425
+ | 'computers_peripherals_and_software'
1426
+ | 'concrete_work_services'
1427
+ | 'construction_materials'
1428
+ | 'consulting_public_relations'
1429
+ | 'correspondence_schools'
1430
+ | 'cosmetic_stores'
1431
+ | 'counseling_services'
1432
+ | 'country_clubs'
1433
+ | 'courier_services'
1434
+ | 'court_costs'
1435
+ | 'credit_reporting_agencies'
1436
+ | 'cruise_lines'
1437
+ | 'dairy_products_stores'
1438
+ | 'dance_hall_studios_schools'
1439
+ | 'dating_escort_services'
1440
+ | 'dentists_orthodontists'
1441
+ | 'department_stores'
1442
+ | 'detective_agencies'
1443
+ | 'digital_goods_applications'
1444
+ | 'digital_goods_games'
1445
+ | 'digital_goods_large_volume'
1446
+ | 'digital_goods_media'
1447
+ | 'direct_marketing_catalog_merchant'
1448
+ | 'direct_marketing_combination_catalog_and_retail_merchant'
1449
+ | 'direct_marketing_inbound_telemarketing'
1450
+ | 'direct_marketing_insurance_services'
1451
+ | 'direct_marketing_other'
1452
+ | 'direct_marketing_outbound_telemarketing'
1453
+ | 'direct_marketing_subscription'
1454
+ | 'direct_marketing_travel'
1455
+ | 'discount_stores'
1456
+ | 'doctors'
1457
+ | 'door_to_door_sales'
1458
+ | 'drapery_window_covering_and_upholstery_stores'
1459
+ | 'drinking_places'
1460
+ | 'drug_stores_and_pharmacies'
1461
+ | 'drugs_drug_proprietaries_and_druggist_sundries'
1462
+ | 'dry_cleaners'
1463
+ | 'durable_goods'
1464
+ | 'duty_free_stores'
1465
+ | 'eating_places_restaurants'
1466
+ | 'educational_services'
1467
+ | 'electric_razor_stores'
1468
+ | 'electric_vehicle_charging'
1469
+ | 'electrical_parts_and_equipment'
1470
+ | 'electrical_services'
1471
+ | 'electronics_repair_shops'
1472
+ | 'electronics_stores'
1473
+ | 'elementary_secondary_schools'
1474
+ | 'emergency_services_gcas_visa_use_only'
1475
+ | 'employment_temp_agencies'
1476
+ | 'equipment_rental'
1477
+ | 'exterminating_services'
1478
+ | 'family_clothing_stores'
1479
+ | 'fast_food_restaurants'
1480
+ | 'financial_institutions'
1481
+ | 'fines_government_administrative_entities'
1482
+ | 'fireplace_fireplace_screens_and_accessories_stores'
1483
+ | 'floor_covering_stores'
1484
+ | 'florists'
1485
+ | 'florists_supplies_nursery_stock_and_flowers'
1486
+ | 'freezer_and_locker_meat_provisioners'
1487
+ | 'fuel_dealers_non_automotive'
1488
+ | 'funeral_services_crematories'
1489
+ | 'furniture_home_furnishings_and_equipment_stores_except_appliances'
1490
+ | 'furniture_repair_refinishing'
1491
+ | 'furriers_and_fur_shops'
1492
+ | 'general_services'
1493
+ | 'gift_card_novelty_and_souvenir_shops'
1494
+ | 'glass_paint_and_wallpaper_stores'
1495
+ | 'glassware_crystal_stores'
1496
+ | 'golf_courses_public'
1497
+ | 'government_licensed_horse_dog_racing_us_region_only'
1498
+ | 'government_licensed_online_casions_online_gambling_us_region_only'
1499
+ | 'government_owned_lotteries_non_us_region'
1500
+ | 'government_owned_lotteries_us_region_only'
1501
+ | 'government_services'
1502
+ | 'grocery_stores_supermarkets'
1503
+ | 'hardware_equipment_and_supplies'
1504
+ | 'hardware_stores'
1505
+ | 'health_and_beauty_spas'
1506
+ | 'hearing_aids_sales_and_supplies'
1507
+ | 'heating_plumbing_a_c'
1508
+ | 'hobby_toy_and_game_shops'
1509
+ | 'home_supply_warehouse_stores'
1510
+ | 'hospitals'
1511
+ | 'hotels_motels_and_resorts'
1512
+ | 'household_appliance_stores'
1513
+ | 'industrial_supplies'
1514
+ | 'information_retrieval_services'
1515
+ | 'insurance_default'
1516
+ | 'insurance_underwriting_premiums'
1517
+ | 'intra_company_purchases'
1518
+ | 'jewelry_stores_watches_clocks_and_silverware_stores'
1519
+ | 'landscaping_services'
1520
+ | 'laundries'
1521
+ | 'laundry_cleaning_services'
1522
+ | 'legal_services_attorneys'
1523
+ | 'luggage_and_leather_goods_stores'
1524
+ | 'lumber_building_materials_stores'
1525
+ | 'manual_cash_disburse'
1526
+ | 'marinas_service_and_supplies'
1527
+ | 'marketplaces'
1528
+ | 'masonry_stonework_and_plaster'
1529
+ | 'massage_parlors'
1530
+ | 'medical_and_dental_labs'
1531
+ | 'medical_dental_ophthalmic_and_hospital_equipment_and_supplies'
1532
+ | 'medical_services'
1533
+ | 'membership_organizations'
1534
+ | 'mens_and_boys_clothing_and_accessories_stores'
1535
+ | 'mens_womens_clothing_stores'
1536
+ | 'metal_service_centers'
1537
+ | 'miscellaneous'
1538
+ | 'miscellaneous_apparel_and_accessory_shops'
1539
+ | 'miscellaneous_auto_dealers'
1540
+ | 'miscellaneous_business_services'
1541
+ | 'miscellaneous_food_stores'
1542
+ | 'miscellaneous_general_merchandise'
1543
+ | 'miscellaneous_general_services'
1544
+ | 'miscellaneous_home_furnishing_specialty_stores'
1545
+ | 'miscellaneous_publishing_and_printing'
1546
+ | 'miscellaneous_recreation_services'
1547
+ | 'miscellaneous_repair_shops'
1548
+ | 'miscellaneous_specialty_retail'
1549
+ | 'mobile_home_dealers'
1550
+ | 'motion_picture_theaters'
1551
+ | 'motor_freight_carriers_and_trucking'
1552
+ | 'motor_homes_dealers'
1553
+ | 'motor_vehicle_supplies_and_new_parts'
1554
+ | 'motorcycle_shops_and_dealers'
1555
+ | 'motorcycle_shops_dealers'
1556
+ | 'music_stores_musical_instruments_pianos_and_sheet_music'
1557
+ | 'news_dealers_and_newsstands'
1558
+ | 'non_fi_money_orders'
1559
+ | 'non_fi_stored_value_card_purchase_load'
1560
+ | 'nondurable_goods'
1561
+ | 'nurseries_lawn_and_garden_supply_stores'
1562
+ | 'nursing_personal_care'
1563
+ | 'office_and_commercial_furniture'
1564
+ | 'opticians_eyeglasses'
1565
+ | 'optometrists_ophthalmologist'
1566
+ | 'orthopedic_goods_prosthetic_devices'
1567
+ | 'osteopaths'
1568
+ | 'package_stores_beer_wine_and_liquor'
1569
+ | 'paints_varnishes_and_supplies'
1570
+ | 'parking_lots_garages'
1571
+ | 'passenger_railways'
1572
+ | 'pawn_shops'
1573
+ | 'pet_shops_pet_food_and_supplies'
1574
+ | 'petroleum_and_petroleum_products'
1575
+ | 'photo_developing'
1576
+ | 'photographic_photocopy_microfilm_equipment_and_supplies'
1577
+ | 'photographic_studios'
1578
+ | 'picture_video_production'
1579
+ | 'piece_goods_notions_and_other_dry_goods'
1580
+ | 'plumbing_heating_equipment_and_supplies'
1581
+ | 'political_organizations'
1582
+ | 'postal_services_government_only'
1583
+ | 'precious_stones_and_metals_watches_and_jewelry'
1584
+ | 'professional_services'
1585
+ | 'public_warehousing_and_storage'
1586
+ | 'quick_copy_repro_and_blueprint'
1587
+ | 'railroads'
1588
+ | 'real_estate_agents_and_managers_rentals'
1589
+ | 'record_stores'
1590
+ | 'recreational_vehicle_rentals'
1591
+ | 'religious_goods_stores'
1592
+ | 'religious_organizations'
1593
+ | 'roofing_siding_sheet_metal'
1594
+ | 'secretarial_support_services'
1595
+ | 'security_brokers_dealers'
1596
+ | 'service_stations'
1597
+ | 'sewing_needlework_fabric_and_piece_goods_stores'
1598
+ | 'shoe_repair_hat_cleaning'
1599
+ | 'shoe_stores'
1600
+ | 'small_appliance_repair'
1601
+ | 'snowmobile_dealers'
1602
+ | 'special_trade_services'
1603
+ | 'specialty_cleaning'
1604
+ | 'sporting_goods_stores'
1605
+ | 'sporting_recreation_camps'
1606
+ | 'sports_and_riding_apparel_stores'
1607
+ | 'sports_clubs_fields'
1608
+ | 'stamp_and_coin_stores'
1609
+ | 'stationary_office_supplies_printing_and_writing_paper'
1610
+ | 'stationery_stores_office_and_school_supply_stores'
1611
+ | 'swimming_pools_sales'
1612
+ | 't_ui_travel_germany'
1613
+ | 'tailors_alterations'
1614
+ | 'tax_payments_government_agencies'
1615
+ | 'tax_preparation_services'
1616
+ | 'taxicabs_limousines'
1617
+ | 'telecommunication_equipment_and_telephone_sales'
1618
+ | 'telecommunication_services'
1619
+ | 'telegraph_services'
1620
+ | 'tent_and_awning_shops'
1621
+ | 'testing_laboratories'
1622
+ | 'theatrical_ticket_agencies'
1623
+ | 'timeshares'
1624
+ | 'tire_retreading_and_repair'
1625
+ | 'tolls_bridge_fees'
1626
+ | 'tourist_attractions_and_exhibits'
1627
+ | 'towing_services'
1628
+ | 'trailer_parks_campgrounds'
1629
+ | 'transportation_services'
1630
+ | 'travel_agencies_tour_operators'
1631
+ | 'truck_stop_iteration'
1632
+ | 'truck_utility_trailer_rentals'
1633
+ | 'typesetting_plate_making_and_related_services'
1634
+ | 'typewriter_stores'
1635
+ | 'u_s_federal_government_agencies_or_departments'
1636
+ | 'uniforms_commercial_clothing'
1637
+ | 'used_merchandise_and_secondhand_stores'
1638
+ | 'utilities'
1639
+ | 'variety_stores'
1640
+ | 'veterinary_services'
1641
+ | 'video_amusement_game_supplies'
1642
+ | 'video_game_arcades'
1643
+ | 'video_tape_rental_stores'
1644
+ | 'vocational_trade_schools'
1645
+ | 'watch_jewelry_repair'
1646
+ | 'welding_repair'
1647
+ | 'wholesale_clubs'
1648
+ | 'wig_and_toupee_stores'
1649
+ | 'wires_money_orders'
1650
+ | 'womens_accessory_and_specialty_shops'
1651
+ | 'womens_ready_to_wear_stores'
1652
+ | 'wrecking_and_salvage_yards';
1653
+
1654
+ type BlockedCategory =
1655
+ | 'ac_refrigeration_repair'
1656
+ | 'accounting_bookkeeping_services'
1657
+ | 'advertising_services'
1658
+ | 'agricultural_cooperative'
1659
+ | 'airlines_air_carriers'
1660
+ | 'airports_flying_fields'
1661
+ | 'ambulance_services'
1662
+ | 'amusement_parks_carnivals'
1663
+ | 'antique_reproductions'
1664
+ | 'antique_shops'
1665
+ | 'aquariums'
1666
+ | 'architectural_surveying_services'
1667
+ | 'art_dealers_and_galleries'
1668
+ | 'artists_supply_and_craft_shops'
1669
+ | 'auto_and_home_supply_stores'
1670
+ | 'auto_body_repair_shops'
1671
+ | 'auto_paint_shops'
1672
+ | 'auto_service_shops'
1673
+ | 'automated_cash_disburse'
1674
+ | 'automated_fuel_dispensers'
1675
+ | 'automobile_associations'
1676
+ | 'automotive_parts_and_accessories_stores'
1677
+ | 'automotive_tire_stores'
1678
+ | 'bail_and_bond_payments'
1679
+ | 'bakeries'
1680
+ | 'bands_orchestras'
1681
+ | 'barber_and_beauty_shops'
1682
+ | 'betting_casino_gambling'
1683
+ | 'bicycle_shops'
1684
+ | 'billiard_pool_establishments'
1685
+ | 'boat_dealers'
1686
+ | 'boat_rentals_and_leases'
1687
+ | 'book_stores'
1688
+ | 'books_periodicals_and_newspapers'
1689
+ | 'bowling_alleys'
1690
+ | 'bus_lines'
1691
+ | 'business_secretarial_schools'
1692
+ | 'buying_shopping_services'
1693
+ | 'cable_satellite_and_other_pay_television_and_radio'
1694
+ | 'camera_and_photographic_supply_stores'
1695
+ | 'candy_nut_and_confectionery_stores'
1696
+ | 'car_and_truck_dealers_new_used'
1697
+ | 'car_and_truck_dealers_used_only'
1698
+ | 'car_rental_agencies'
1699
+ | 'car_washes'
1700
+ | 'carpentry_services'
1701
+ | 'carpet_upholstery_cleaning'
1702
+ | 'caterers'
1703
+ | 'charitable_and_social_service_organizations_fundraising'
1704
+ | 'chemicals_and_allied_products'
1705
+ | 'child_care_services'
1706
+ | 'childrens_and_infants_wear_stores'
1707
+ | 'chiropodists_podiatrists'
1708
+ | 'chiropractors'
1709
+ | 'cigar_stores_and_stands'
1710
+ | 'civic_social_fraternal_associations'
1711
+ | 'cleaning_and_maintenance'
1712
+ | 'clothing_rental'
1713
+ | 'colleges_universities'
1714
+ | 'commercial_equipment'
1715
+ | 'commercial_footwear'
1716
+ | 'commercial_photography_art_and_graphics'
1717
+ | 'commuter_transport_and_ferries'
1718
+ | 'computer_network_services'
1719
+ | 'computer_programming'
1720
+ | 'computer_repair'
1721
+ | 'computer_software_stores'
1722
+ | 'computers_peripherals_and_software'
1723
+ | 'concrete_work_services'
1724
+ | 'construction_materials'
1725
+ | 'consulting_public_relations'
1726
+ | 'correspondence_schools'
1727
+ | 'cosmetic_stores'
1728
+ | 'counseling_services'
1729
+ | 'country_clubs'
1730
+ | 'courier_services'
1731
+ | 'court_costs'
1732
+ | 'credit_reporting_agencies'
1733
+ | 'cruise_lines'
1734
+ | 'dairy_products_stores'
1735
+ | 'dance_hall_studios_schools'
1736
+ | 'dating_escort_services'
1737
+ | 'dentists_orthodontists'
1738
+ | 'department_stores'
1739
+ | 'detective_agencies'
1740
+ | 'digital_goods_applications'
1741
+ | 'digital_goods_games'
1742
+ | 'digital_goods_large_volume'
1743
+ | 'digital_goods_media'
1744
+ | 'direct_marketing_catalog_merchant'
1745
+ | 'direct_marketing_combination_catalog_and_retail_merchant'
1746
+ | 'direct_marketing_inbound_telemarketing'
1747
+ | 'direct_marketing_insurance_services'
1748
+ | 'direct_marketing_other'
1749
+ | 'direct_marketing_outbound_telemarketing'
1750
+ | 'direct_marketing_subscription'
1751
+ | 'direct_marketing_travel'
1752
+ | 'discount_stores'
1753
+ | 'doctors'
1754
+ | 'door_to_door_sales'
1755
+ | 'drapery_window_covering_and_upholstery_stores'
1756
+ | 'drinking_places'
1757
+ | 'drug_stores_and_pharmacies'
1758
+ | 'drugs_drug_proprietaries_and_druggist_sundries'
1759
+ | 'dry_cleaners'
1760
+ | 'durable_goods'
1761
+ | 'duty_free_stores'
1762
+ | 'eating_places_restaurants'
1763
+ | 'educational_services'
1764
+ | 'electric_razor_stores'
1765
+ | 'electric_vehicle_charging'
1766
+ | 'electrical_parts_and_equipment'
1767
+ | 'electrical_services'
1768
+ | 'electronics_repair_shops'
1769
+ | 'electronics_stores'
1770
+ | 'elementary_secondary_schools'
1771
+ | 'emergency_services_gcas_visa_use_only'
1772
+ | 'employment_temp_agencies'
1773
+ | 'equipment_rental'
1774
+ | 'exterminating_services'
1775
+ | 'family_clothing_stores'
1776
+ | 'fast_food_restaurants'
1777
+ | 'financial_institutions'
1778
+ | 'fines_government_administrative_entities'
1779
+ | 'fireplace_fireplace_screens_and_accessories_stores'
1780
+ | 'floor_covering_stores'
1781
+ | 'florists'
1782
+ | 'florists_supplies_nursery_stock_and_flowers'
1783
+ | 'freezer_and_locker_meat_provisioners'
1784
+ | 'fuel_dealers_non_automotive'
1785
+ | 'funeral_services_crematories'
1786
+ | 'furniture_home_furnishings_and_equipment_stores_except_appliances'
1787
+ | 'furniture_repair_refinishing'
1788
+ | 'furriers_and_fur_shops'
1789
+ | 'general_services'
1790
+ | 'gift_card_novelty_and_souvenir_shops'
1791
+ | 'glass_paint_and_wallpaper_stores'
1792
+ | 'glassware_crystal_stores'
1793
+ | 'golf_courses_public'
1794
+ | 'government_licensed_horse_dog_racing_us_region_only'
1795
+ | 'government_licensed_online_casions_online_gambling_us_region_only'
1796
+ | 'government_owned_lotteries_non_us_region'
1797
+ | 'government_owned_lotteries_us_region_only'
1798
+ | 'government_services'
1799
+ | 'grocery_stores_supermarkets'
1800
+ | 'hardware_equipment_and_supplies'
1801
+ | 'hardware_stores'
1802
+ | 'health_and_beauty_spas'
1803
+ | 'hearing_aids_sales_and_supplies'
1804
+ | 'heating_plumbing_a_c'
1805
+ | 'hobby_toy_and_game_shops'
1806
+ | 'home_supply_warehouse_stores'
1807
+ | 'hospitals'
1808
+ | 'hotels_motels_and_resorts'
1809
+ | 'household_appliance_stores'
1810
+ | 'industrial_supplies'
1811
+ | 'information_retrieval_services'
1812
+ | 'insurance_default'
1813
+ | 'insurance_underwriting_premiums'
1814
+ | 'intra_company_purchases'
1815
+ | 'jewelry_stores_watches_clocks_and_silverware_stores'
1816
+ | 'landscaping_services'
1817
+ | 'laundries'
1818
+ | 'laundry_cleaning_services'
1819
+ | 'legal_services_attorneys'
1820
+ | 'luggage_and_leather_goods_stores'
1821
+ | 'lumber_building_materials_stores'
1822
+ | 'manual_cash_disburse'
1823
+ | 'marinas_service_and_supplies'
1824
+ | 'marketplaces'
1825
+ | 'masonry_stonework_and_plaster'
1826
+ | 'massage_parlors'
1827
+ | 'medical_and_dental_labs'
1828
+ | 'medical_dental_ophthalmic_and_hospital_equipment_and_supplies'
1829
+ | 'medical_services'
1830
+ | 'membership_organizations'
1831
+ | 'mens_and_boys_clothing_and_accessories_stores'
1832
+ | 'mens_womens_clothing_stores'
1833
+ | 'metal_service_centers'
1834
+ | 'miscellaneous'
1835
+ | 'miscellaneous_apparel_and_accessory_shops'
1836
+ | 'miscellaneous_auto_dealers'
1837
+ | 'miscellaneous_business_services'
1838
+ | 'miscellaneous_food_stores'
1839
+ | 'miscellaneous_general_merchandise'
1840
+ | 'miscellaneous_general_services'
1841
+ | 'miscellaneous_home_furnishing_specialty_stores'
1842
+ | 'miscellaneous_publishing_and_printing'
1843
+ | 'miscellaneous_recreation_services'
1844
+ | 'miscellaneous_repair_shops'
1845
+ | 'miscellaneous_specialty_retail'
1846
+ | 'mobile_home_dealers'
1847
+ | 'motion_picture_theaters'
1848
+ | 'motor_freight_carriers_and_trucking'
1849
+ | 'motor_homes_dealers'
1850
+ | 'motor_vehicle_supplies_and_new_parts'
1851
+ | 'motorcycle_shops_and_dealers'
1852
+ | 'motorcycle_shops_dealers'
1853
+ | 'music_stores_musical_instruments_pianos_and_sheet_music'
1854
+ | 'news_dealers_and_newsstands'
1855
+ | 'non_fi_money_orders'
1856
+ | 'non_fi_stored_value_card_purchase_load'
1857
+ | 'nondurable_goods'
1858
+ | 'nurseries_lawn_and_garden_supply_stores'
1859
+ | 'nursing_personal_care'
1860
+ | 'office_and_commercial_furniture'
1861
+ | 'opticians_eyeglasses'
1862
+ | 'optometrists_ophthalmologist'
1863
+ | 'orthopedic_goods_prosthetic_devices'
1864
+ | 'osteopaths'
1865
+ | 'package_stores_beer_wine_and_liquor'
1866
+ | 'paints_varnishes_and_supplies'
1867
+ | 'parking_lots_garages'
1868
+ | 'passenger_railways'
1869
+ | 'pawn_shops'
1870
+ | 'pet_shops_pet_food_and_supplies'
1871
+ | 'petroleum_and_petroleum_products'
1872
+ | 'photo_developing'
1873
+ | 'photographic_photocopy_microfilm_equipment_and_supplies'
1874
+ | 'photographic_studios'
1875
+ | 'picture_video_production'
1876
+ | 'piece_goods_notions_and_other_dry_goods'
1877
+ | 'plumbing_heating_equipment_and_supplies'
1878
+ | 'political_organizations'
1879
+ | 'postal_services_government_only'
1880
+ | 'precious_stones_and_metals_watches_and_jewelry'
1881
+ | 'professional_services'
1882
+ | 'public_warehousing_and_storage'
1883
+ | 'quick_copy_repro_and_blueprint'
1884
+ | 'railroads'
1885
+ | 'real_estate_agents_and_managers_rentals'
1886
+ | 'record_stores'
1887
+ | 'recreational_vehicle_rentals'
1888
+ | 'religious_goods_stores'
1889
+ | 'religious_organizations'
1890
+ | 'roofing_siding_sheet_metal'
1891
+ | 'secretarial_support_services'
1892
+ | 'security_brokers_dealers'
1893
+ | 'service_stations'
1894
+ | 'sewing_needlework_fabric_and_piece_goods_stores'
1895
+ | 'shoe_repair_hat_cleaning'
1896
+ | 'shoe_stores'
1897
+ | 'small_appliance_repair'
1898
+ | 'snowmobile_dealers'
1899
+ | 'special_trade_services'
1900
+ | 'specialty_cleaning'
1901
+ | 'sporting_goods_stores'
1902
+ | 'sporting_recreation_camps'
1903
+ | 'sports_and_riding_apparel_stores'
1904
+ | 'sports_clubs_fields'
1905
+ | 'stamp_and_coin_stores'
1906
+ | 'stationary_office_supplies_printing_and_writing_paper'
1907
+ | 'stationery_stores_office_and_school_supply_stores'
1908
+ | 'swimming_pools_sales'
1909
+ | 't_ui_travel_germany'
1910
+ | 'tailors_alterations'
1911
+ | 'tax_payments_government_agencies'
1912
+ | 'tax_preparation_services'
1913
+ | 'taxicabs_limousines'
1914
+ | 'telecommunication_equipment_and_telephone_sales'
1915
+ | 'telecommunication_services'
1916
+ | 'telegraph_services'
1917
+ | 'tent_and_awning_shops'
1918
+ | 'testing_laboratories'
1919
+ | 'theatrical_ticket_agencies'
1920
+ | 'timeshares'
1921
+ | 'tire_retreading_and_repair'
1922
+ | 'tolls_bridge_fees'
1923
+ | 'tourist_attractions_and_exhibits'
1924
+ | 'towing_services'
1925
+ | 'trailer_parks_campgrounds'
1926
+ | 'transportation_services'
1927
+ | 'travel_agencies_tour_operators'
1928
+ | 'truck_stop_iteration'
1929
+ | 'truck_utility_trailer_rentals'
1930
+ | 'typesetting_plate_making_and_related_services'
1931
+ | 'typewriter_stores'
1932
+ | 'u_s_federal_government_agencies_or_departments'
1933
+ | 'uniforms_commercial_clothing'
1934
+ | 'used_merchandise_and_secondhand_stores'
1935
+ | 'utilities'
1936
+ | 'variety_stores'
1937
+ | 'veterinary_services'
1938
+ | 'video_amusement_game_supplies'
1939
+ | 'video_game_arcades'
1940
+ | 'video_tape_rental_stores'
1941
+ | 'vocational_trade_schools'
1942
+ | 'watch_jewelry_repair'
1943
+ | 'welding_repair'
1944
+ | 'wholesale_clubs'
1945
+ | 'wig_and_toupee_stores'
1946
+ | 'wires_money_orders'
1947
+ | 'womens_accessory_and_specialty_shops'
1948
+ | 'womens_ready_to_wear_stores'
1949
+ | 'wrecking_and_salvage_yards';
1950
+
1951
+ interface SpendingLimit {
1952
+ /**
1953
+ * Maximum amount allowed to spend per interval.
1954
+ */
1955
+ amount: number;
1956
+
1957
+ /**
1958
+ * Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) this limit applies to. Omitting this field will apply the limit to all categories.
1959
+ */
1960
+ categories?: Array<SpendingLimit.Category>;
1961
+
1962
+ /**
1963
+ * Interval (or event) to which the amount applies.
1964
+ */
1965
+ interval: SpendingLimit.Interval;
1966
+ }
1967
+
1968
+ namespace SpendingLimit {
1969
+ type Category =
1970
+ | 'ac_refrigeration_repair'
1971
+ | 'accounting_bookkeeping_services'
1972
+ | 'advertising_services'
1973
+ | 'agricultural_cooperative'
1974
+ | 'airlines_air_carriers'
1975
+ | 'airports_flying_fields'
1976
+ | 'ambulance_services'
1977
+ | 'amusement_parks_carnivals'
1978
+ | 'antique_reproductions'
1979
+ | 'antique_shops'
1980
+ | 'aquariums'
1981
+ | 'architectural_surveying_services'
1982
+ | 'art_dealers_and_galleries'
1983
+ | 'artists_supply_and_craft_shops'
1984
+ | 'auto_and_home_supply_stores'
1985
+ | 'auto_body_repair_shops'
1986
+ | 'auto_paint_shops'
1987
+ | 'auto_service_shops'
1988
+ | 'automated_cash_disburse'
1989
+ | 'automated_fuel_dispensers'
1990
+ | 'automobile_associations'
1991
+ | 'automotive_parts_and_accessories_stores'
1992
+ | 'automotive_tire_stores'
1993
+ | 'bail_and_bond_payments'
1994
+ | 'bakeries'
1995
+ | 'bands_orchestras'
1996
+ | 'barber_and_beauty_shops'
1997
+ | 'betting_casino_gambling'
1998
+ | 'bicycle_shops'
1999
+ | 'billiard_pool_establishments'
2000
+ | 'boat_dealers'
2001
+ | 'boat_rentals_and_leases'
2002
+ | 'book_stores'
2003
+ | 'books_periodicals_and_newspapers'
2004
+ | 'bowling_alleys'
2005
+ | 'bus_lines'
2006
+ | 'business_secretarial_schools'
2007
+ | 'buying_shopping_services'
2008
+ | 'cable_satellite_and_other_pay_television_and_radio'
2009
+ | 'camera_and_photographic_supply_stores'
2010
+ | 'candy_nut_and_confectionery_stores'
2011
+ | 'car_and_truck_dealers_new_used'
2012
+ | 'car_and_truck_dealers_used_only'
2013
+ | 'car_rental_agencies'
2014
+ | 'car_washes'
2015
+ | 'carpentry_services'
2016
+ | 'carpet_upholstery_cleaning'
2017
+ | 'caterers'
2018
+ | 'charitable_and_social_service_organizations_fundraising'
2019
+ | 'chemicals_and_allied_products'
2020
+ | 'child_care_services'
2021
+ | 'childrens_and_infants_wear_stores'
2022
+ | 'chiropodists_podiatrists'
2023
+ | 'chiropractors'
2024
+ | 'cigar_stores_and_stands'
2025
+ | 'civic_social_fraternal_associations'
2026
+ | 'cleaning_and_maintenance'
2027
+ | 'clothing_rental'
2028
+ | 'colleges_universities'
2029
+ | 'commercial_equipment'
2030
+ | 'commercial_footwear'
2031
+ | 'commercial_photography_art_and_graphics'
2032
+ | 'commuter_transport_and_ferries'
2033
+ | 'computer_network_services'
2034
+ | 'computer_programming'
2035
+ | 'computer_repair'
2036
+ | 'computer_software_stores'
2037
+ | 'computers_peripherals_and_software'
2038
+ | 'concrete_work_services'
2039
+ | 'construction_materials'
2040
+ | 'consulting_public_relations'
2041
+ | 'correspondence_schools'
2042
+ | 'cosmetic_stores'
2043
+ | 'counseling_services'
2044
+ | 'country_clubs'
2045
+ | 'courier_services'
2046
+ | 'court_costs'
2047
+ | 'credit_reporting_agencies'
2048
+ | 'cruise_lines'
2049
+ | 'dairy_products_stores'
2050
+ | 'dance_hall_studios_schools'
2051
+ | 'dating_escort_services'
2052
+ | 'dentists_orthodontists'
2053
+ | 'department_stores'
2054
+ | 'detective_agencies'
2055
+ | 'digital_goods_applications'
2056
+ | 'digital_goods_games'
2057
+ | 'digital_goods_large_volume'
2058
+ | 'digital_goods_media'
2059
+ | 'direct_marketing_catalog_merchant'
2060
+ | 'direct_marketing_combination_catalog_and_retail_merchant'
2061
+ | 'direct_marketing_inbound_telemarketing'
2062
+ | 'direct_marketing_insurance_services'
2063
+ | 'direct_marketing_other'
2064
+ | 'direct_marketing_outbound_telemarketing'
2065
+ | 'direct_marketing_subscription'
2066
+ | 'direct_marketing_travel'
2067
+ | 'discount_stores'
2068
+ | 'doctors'
2069
+ | 'door_to_door_sales'
2070
+ | 'drapery_window_covering_and_upholstery_stores'
2071
+ | 'drinking_places'
2072
+ | 'drug_stores_and_pharmacies'
2073
+ | 'drugs_drug_proprietaries_and_druggist_sundries'
2074
+ | 'dry_cleaners'
2075
+ | 'durable_goods'
2076
+ | 'duty_free_stores'
2077
+ | 'eating_places_restaurants'
2078
+ | 'educational_services'
2079
+ | 'electric_razor_stores'
2080
+ | 'electric_vehicle_charging'
2081
+ | 'electrical_parts_and_equipment'
2082
+ | 'electrical_services'
2083
+ | 'electronics_repair_shops'
2084
+ | 'electronics_stores'
2085
+ | 'elementary_secondary_schools'
2086
+ | 'emergency_services_gcas_visa_use_only'
2087
+ | 'employment_temp_agencies'
2088
+ | 'equipment_rental'
2089
+ | 'exterminating_services'
2090
+ | 'family_clothing_stores'
2091
+ | 'fast_food_restaurants'
2092
+ | 'financial_institutions'
2093
+ | 'fines_government_administrative_entities'
2094
+ | 'fireplace_fireplace_screens_and_accessories_stores'
2095
+ | 'floor_covering_stores'
2096
+ | 'florists'
2097
+ | 'florists_supplies_nursery_stock_and_flowers'
2098
+ | 'freezer_and_locker_meat_provisioners'
2099
+ | 'fuel_dealers_non_automotive'
2100
+ | 'funeral_services_crematories'
2101
+ | 'furniture_home_furnishings_and_equipment_stores_except_appliances'
2102
+ | 'furniture_repair_refinishing'
2103
+ | 'furriers_and_fur_shops'
2104
+ | 'general_services'
2105
+ | 'gift_card_novelty_and_souvenir_shops'
2106
+ | 'glass_paint_and_wallpaper_stores'
2107
+ | 'glassware_crystal_stores'
2108
+ | 'golf_courses_public'
2109
+ | 'government_licensed_horse_dog_racing_us_region_only'
2110
+ | 'government_licensed_online_casions_online_gambling_us_region_only'
2111
+ | 'government_owned_lotteries_non_us_region'
2112
+ | 'government_owned_lotteries_us_region_only'
2113
+ | 'government_services'
2114
+ | 'grocery_stores_supermarkets'
2115
+ | 'hardware_equipment_and_supplies'
2116
+ | 'hardware_stores'
2117
+ | 'health_and_beauty_spas'
2118
+ | 'hearing_aids_sales_and_supplies'
2119
+ | 'heating_plumbing_a_c'
2120
+ | 'hobby_toy_and_game_shops'
2121
+ | 'home_supply_warehouse_stores'
2122
+ | 'hospitals'
2123
+ | 'hotels_motels_and_resorts'
2124
+ | 'household_appliance_stores'
2125
+ | 'industrial_supplies'
2126
+ | 'information_retrieval_services'
2127
+ | 'insurance_default'
2128
+ | 'insurance_underwriting_premiums'
2129
+ | 'intra_company_purchases'
2130
+ | 'jewelry_stores_watches_clocks_and_silverware_stores'
2131
+ | 'landscaping_services'
2132
+ | 'laundries'
2133
+ | 'laundry_cleaning_services'
2134
+ | 'legal_services_attorneys'
2135
+ | 'luggage_and_leather_goods_stores'
2136
+ | 'lumber_building_materials_stores'
2137
+ | 'manual_cash_disburse'
2138
+ | 'marinas_service_and_supplies'
2139
+ | 'marketplaces'
2140
+ | 'masonry_stonework_and_plaster'
2141
+ | 'massage_parlors'
2142
+ | 'medical_and_dental_labs'
2143
+ | 'medical_dental_ophthalmic_and_hospital_equipment_and_supplies'
2144
+ | 'medical_services'
2145
+ | 'membership_organizations'
2146
+ | 'mens_and_boys_clothing_and_accessories_stores'
2147
+ | 'mens_womens_clothing_stores'
2148
+ | 'metal_service_centers'
2149
+ | 'miscellaneous'
2150
+ | 'miscellaneous_apparel_and_accessory_shops'
2151
+ | 'miscellaneous_auto_dealers'
2152
+ | 'miscellaneous_business_services'
2153
+ | 'miscellaneous_food_stores'
2154
+ | 'miscellaneous_general_merchandise'
2155
+ | 'miscellaneous_general_services'
2156
+ | 'miscellaneous_home_furnishing_specialty_stores'
2157
+ | 'miscellaneous_publishing_and_printing'
2158
+ | 'miscellaneous_recreation_services'
2159
+ | 'miscellaneous_repair_shops'
2160
+ | 'miscellaneous_specialty_retail'
2161
+ | 'mobile_home_dealers'
2162
+ | 'motion_picture_theaters'
2163
+ | 'motor_freight_carriers_and_trucking'
2164
+ | 'motor_homes_dealers'
2165
+ | 'motor_vehicle_supplies_and_new_parts'
2166
+ | 'motorcycle_shops_and_dealers'
2167
+ | 'motorcycle_shops_dealers'
2168
+ | 'music_stores_musical_instruments_pianos_and_sheet_music'
2169
+ | 'news_dealers_and_newsstands'
2170
+ | 'non_fi_money_orders'
2171
+ | 'non_fi_stored_value_card_purchase_load'
2172
+ | 'nondurable_goods'
2173
+ | 'nurseries_lawn_and_garden_supply_stores'
2174
+ | 'nursing_personal_care'
2175
+ | 'office_and_commercial_furniture'
2176
+ | 'opticians_eyeglasses'
2177
+ | 'optometrists_ophthalmologist'
2178
+ | 'orthopedic_goods_prosthetic_devices'
2179
+ | 'osteopaths'
2180
+ | 'package_stores_beer_wine_and_liquor'
2181
+ | 'paints_varnishes_and_supplies'
2182
+ | 'parking_lots_garages'
2183
+ | 'passenger_railways'
2184
+ | 'pawn_shops'
2185
+ | 'pet_shops_pet_food_and_supplies'
2186
+ | 'petroleum_and_petroleum_products'
2187
+ | 'photo_developing'
2188
+ | 'photographic_photocopy_microfilm_equipment_and_supplies'
2189
+ | 'photographic_studios'
2190
+ | 'picture_video_production'
2191
+ | 'piece_goods_notions_and_other_dry_goods'
2192
+ | 'plumbing_heating_equipment_and_supplies'
2193
+ | 'political_organizations'
2194
+ | 'postal_services_government_only'
2195
+ | 'precious_stones_and_metals_watches_and_jewelry'
2196
+ | 'professional_services'
2197
+ | 'public_warehousing_and_storage'
2198
+ | 'quick_copy_repro_and_blueprint'
2199
+ | 'railroads'
2200
+ | 'real_estate_agents_and_managers_rentals'
2201
+ | 'record_stores'
2202
+ | 'recreational_vehicle_rentals'
2203
+ | 'religious_goods_stores'
2204
+ | 'religious_organizations'
2205
+ | 'roofing_siding_sheet_metal'
2206
+ | 'secretarial_support_services'
2207
+ | 'security_brokers_dealers'
2208
+ | 'service_stations'
2209
+ | 'sewing_needlework_fabric_and_piece_goods_stores'
2210
+ | 'shoe_repair_hat_cleaning'
2211
+ | 'shoe_stores'
2212
+ | 'small_appliance_repair'
2213
+ | 'snowmobile_dealers'
2214
+ | 'special_trade_services'
2215
+ | 'specialty_cleaning'
2216
+ | 'sporting_goods_stores'
2217
+ | 'sporting_recreation_camps'
2218
+ | 'sports_and_riding_apparel_stores'
2219
+ | 'sports_clubs_fields'
2220
+ | 'stamp_and_coin_stores'
2221
+ | 'stationary_office_supplies_printing_and_writing_paper'
2222
+ | 'stationery_stores_office_and_school_supply_stores'
2223
+ | 'swimming_pools_sales'
2224
+ | 't_ui_travel_germany'
2225
+ | 'tailors_alterations'
2226
+ | 'tax_payments_government_agencies'
2227
+ | 'tax_preparation_services'
2228
+ | 'taxicabs_limousines'
2229
+ | 'telecommunication_equipment_and_telephone_sales'
2230
+ | 'telecommunication_services'
2231
+ | 'telegraph_services'
2232
+ | 'tent_and_awning_shops'
2233
+ | 'testing_laboratories'
2234
+ | 'theatrical_ticket_agencies'
2235
+ | 'timeshares'
2236
+ | 'tire_retreading_and_repair'
2237
+ | 'tolls_bridge_fees'
2238
+ | 'tourist_attractions_and_exhibits'
2239
+ | 'towing_services'
2240
+ | 'trailer_parks_campgrounds'
2241
+ | 'transportation_services'
2242
+ | 'travel_agencies_tour_operators'
2243
+ | 'truck_stop_iteration'
2244
+ | 'truck_utility_trailer_rentals'
2245
+ | 'typesetting_plate_making_and_related_services'
2246
+ | 'typewriter_stores'
2247
+ | 'u_s_federal_government_agencies_or_departments'
2248
+ | 'uniforms_commercial_clothing'
2249
+ | 'used_merchandise_and_secondhand_stores'
2250
+ | 'utilities'
2251
+ | 'variety_stores'
2252
+ | 'veterinary_services'
2253
+ | 'video_amusement_game_supplies'
2254
+ | 'video_game_arcades'
2255
+ | 'video_tape_rental_stores'
2256
+ | 'vocational_trade_schools'
2257
+ | 'watch_jewelry_repair'
2258
+ | 'welding_repair'
2259
+ | 'wholesale_clubs'
2260
+ | 'wig_and_toupee_stores'
2261
+ | 'wires_money_orders'
2262
+ | 'womens_accessory_and_specialty_shops'
2263
+ | 'womens_ready_to_wear_stores'
2264
+ | 'wrecking_and_salvage_yards';
2265
+
2266
+ type Interval =
2267
+ | 'all_time'
2268
+ | 'daily'
2269
+ | 'monthly'
2270
+ | 'per_authorization'
2271
+ | 'weekly'
2272
+ | 'yearly';
2273
+ }
2274
+ }
2275
+
2276
+ type Status = 'active' | 'canceled' | 'inactive';
2277
+ }
2278
+
2279
+ interface CardListParams extends PaginationParams {
2280
+ /**
2281
+ * Only return cards belonging to the Cardholder with the provided ID.
2282
+ */
2283
+ cardholder?: string;
2284
+
2285
+ /**
2286
+ * Only return cards that were issued during the given date interval.
2287
+ */
2288
+ created?: Stripe.RangeQueryParam | number;
2289
+
2290
+ /**
2291
+ * Only return cards that have the given expiration month.
2292
+ */
2293
+ exp_month?: number;
2294
+
2295
+ /**
2296
+ * Only return cards that have the given expiration year.
2297
+ */
2298
+ exp_year?: number;
2299
+
2300
+ /**
2301
+ * Specifies which fields in the response should be expanded.
2302
+ */
2303
+ expand?: Array<string>;
2304
+
2305
+ /**
2306
+ * Only return cards that have the given last four digits.
2307
+ */
2308
+ last4?: string;
2309
+
2310
+ personalization_design?: string;
2311
+
2312
+ /**
2313
+ * Only return cards that have the given status. One of `active`, `inactive`, or `canceled`.
2314
+ */
2315
+ status?: CardListParams.Status;
2316
+
2317
+ /**
2318
+ * Only return cards that have the given type. One of `virtual` or `physical`.
2319
+ */
2320
+ type?: CardListParams.Type;
2321
+ }
2322
+
2323
+ namespace CardListParams {
2324
+ type Status = 'active' | 'canceled' | 'inactive';
2325
+
2326
+ type Type = 'physical' | 'virtual';
2327
+ }
2328
+
2329
+ class CardsResource {
2330
+ /**
2331
+ * Creates an Issuing Card object.
2332
+ */
2333
+ create(
2334
+ params: CardCreateParams,
2335
+ options?: RequestOptions
2336
+ ): Promise<Stripe.Response<Stripe.Issuing.Card>>;
2337
+
2338
+ /**
2339
+ * Retrieves an Issuing Card object.
2340
+ */
2341
+ retrieve(
2342
+ id: string,
2343
+ params?: CardRetrieveParams,
2344
+ options?: RequestOptions
2345
+ ): Promise<Stripe.Response<Stripe.Issuing.Card>>;
2346
+ retrieve(
2347
+ id: string,
2348
+ options?: RequestOptions
2349
+ ): Promise<Stripe.Response<Stripe.Issuing.Card>>;
2350
+
2351
+ /**
2352
+ * Updates the specified Issuing Card object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
2353
+ */
2354
+ update(
2355
+ id: string,
2356
+ params?: CardUpdateParams,
2357
+ options?: RequestOptions
2358
+ ): Promise<Stripe.Response<Stripe.Issuing.Card>>;
2359
+
2360
+ /**
2361
+ * Returns a list of Issuing Card objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.
2362
+ */
2363
+ list(
2364
+ params?: CardListParams,
2365
+ options?: RequestOptions
2366
+ ): ApiListPromise<Stripe.Issuing.Card>;
2367
+ list(options?: RequestOptions): ApiListPromise<Stripe.Issuing.Card>;
2368
+ }
2369
+ }
2370
+ }
2371
+ }