stripe 19.2.0-beta.1 → 19.3.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (214) hide show
  1. package/CHANGELOG.md +300 -1
  2. package/OPENAPI_VERSION +1 -1
  3. package/VERSION +1 -1
  4. package/cjs/resources/DelegatedCheckout/RequestedSessions.js +28 -0
  5. package/cjs/resources/Identity/BlocklistEntries.js +25 -0
  6. package/cjs/resources/PaymentMethods.js +4 -0
  7. package/cjs/resources/PaymentRecords.js +4 -0
  8. package/cjs/resources/V2/Billing/CustomPricingUnits.js +25 -0
  9. package/cjs/resources/V2/Billing/Intents/Actions.js +17 -0
  10. package/cjs/resources/V2/Billing/Intents.js +36 -0
  11. package/cjs/resources/V2/Billing/LicenseFeeSubscriptions.js +12 -0
  12. package/cjs/resources/V2/Billing/LicenseFees/Versions.js +17 -0
  13. package/cjs/resources/V2/Billing/LicenseFees.js +27 -0
  14. package/cjs/resources/V2/Billing/LicensedItems.js +25 -0
  15. package/cjs/resources/V2/Billing/MeteredItems.js +22 -0
  16. package/cjs/resources/V2/Billing/PricingPlanSubscriptions/Components.js +12 -0
  17. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +26 -0
  18. package/cjs/resources/V2/Billing/PricingPlans/Components.js +29 -0
  19. package/cjs/resources/V2/Billing/PricingPlans/Versions.js +17 -0
  20. package/cjs/resources/V2/Billing/PricingPlans.js +29 -0
  21. package/cjs/resources/V2/Billing/RateCardSubscriptions.js +29 -0
  22. package/cjs/resources/V2/Billing/RateCards/Rates.js +25 -0
  23. package/cjs/resources/V2/Billing/RateCards/Versions.js +17 -0
  24. package/cjs/resources/V2/Billing/RateCards.js +29 -0
  25. package/cjs/resources/V2/Billing/ServiceActions.js +20 -0
  26. package/cjs/resources/V2/Core/ClaimableSandboxes.js +16 -0
  27. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +5 -0
  28. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +13 -0
  29. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +4 -0
  30. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +20 -0
  31. package/cjs/resources/V2/Tax/AutomaticRules.js +22 -0
  32. package/cjs/resources/V2/TestHelpers/MoneyManagement.js +12 -0
  33. package/cjs/resources.js +37 -1
  34. package/cjs/stripe.core.js +1 -1
  35. package/esm/resources/DelegatedCheckout/RequestedSessions.js +25 -0
  36. package/esm/resources/Identity/BlocklistEntries.js +22 -0
  37. package/esm/resources/PaymentMethods.js +4 -0
  38. package/esm/resources/PaymentRecords.js +4 -0
  39. package/esm/resources/V2/Billing/CustomPricingUnits.js +22 -0
  40. package/esm/resources/V2/Billing/Intents/Actions.js +14 -0
  41. package/esm/resources/V2/Billing/Intents.js +33 -0
  42. package/esm/resources/V2/Billing/LicenseFeeSubscriptions.js +9 -0
  43. package/esm/resources/V2/Billing/LicenseFees/Versions.js +14 -0
  44. package/esm/resources/V2/Billing/LicenseFees.js +24 -0
  45. package/esm/resources/V2/Billing/LicensedItems.js +22 -0
  46. package/esm/resources/V2/Billing/MeteredItems.js +19 -0
  47. package/esm/resources/V2/Billing/PricingPlanSubscriptions/Components.js +9 -0
  48. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +23 -0
  49. package/esm/resources/V2/Billing/PricingPlans/Components.js +26 -0
  50. package/esm/resources/V2/Billing/PricingPlans/Versions.js +14 -0
  51. package/esm/resources/V2/Billing/PricingPlans.js +26 -0
  52. package/esm/resources/V2/Billing/RateCardSubscriptions.js +26 -0
  53. package/esm/resources/V2/Billing/RateCards/Rates.js +22 -0
  54. package/esm/resources/V2/Billing/RateCards/Versions.js +14 -0
  55. package/esm/resources/V2/Billing/RateCards.js +26 -0
  56. package/esm/resources/V2/Billing/ServiceActions.js +17 -0
  57. package/esm/resources/V2/Core/ClaimableSandboxes.js +13 -0
  58. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +5 -0
  59. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +13 -0
  60. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +4 -0
  61. package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +17 -0
  62. package/esm/resources/V2/Tax/AutomaticRules.js +19 -0
  63. package/esm/resources/V2/TestHelpers/MoneyManagement.js +9 -0
  64. package/esm/resources.js +36 -0
  65. package/esm/stripe.core.js +1 -1
  66. package/package.json +1 -1
  67. package/types/Accounts.d.ts +24 -0
  68. package/types/AccountsResource.d.ts +44 -0
  69. package/types/ApplicationFees.d.ts +6 -1
  70. package/types/Balance.d.ts +82 -0
  71. package/types/BalanceTransactions.d.ts +2 -1
  72. package/types/BankAccounts.d.ts +2 -0
  73. package/types/Billing/AlertTriggereds.d.ts +15 -0
  74. package/types/Billing/Alerts.d.ts +116 -1
  75. package/types/Billing/AlertsResource.d.ts +149 -2
  76. package/types/Billing/Analytics/MeterUsageResource.d.ts +5 -0
  77. package/types/Billing/Analytics/MeterUsageRows.d.ts +7 -0
  78. package/types/Billing/CreditBalanceSummary.d.ts +118 -2
  79. package/types/Billing/CreditBalanceSummaryResource.d.ts +12 -0
  80. package/types/Billing/CreditBalanceTransactions.d.ts +118 -2
  81. package/types/Billing/CreditGrants.d.ts +71 -1
  82. package/types/Billing/CreditGrantsResource.d.ts +34 -3
  83. package/types/Billing/MeterEventSummaries.d.ts +7 -0
  84. package/types/Billing/Meters.d.ts +5 -0
  85. package/types/Billing/MetersResource.d.ts +17 -0
  86. package/types/BillingPortal/Configurations.d.ts +1 -1
  87. package/types/BillingPortal/ConfigurationsResource.d.ts +10 -0
  88. package/types/Capabilities.d.ts +2 -0
  89. package/types/Cards.d.ts +14 -0
  90. package/types/Charges.d.ts +16 -2
  91. package/types/Checkout/Sessions.d.ts +73 -0
  92. package/types/Checkout/SessionsResource.d.ts +71 -3
  93. package/types/ConfirmationTokens.d.ts +15 -0
  94. package/types/CreditNotes.d.ts +26 -0
  95. package/types/CreditNotesResource.d.ts +78 -0
  96. package/types/CustomerSessions.d.ts +161 -0
  97. package/types/CustomerSessionsResource.d.ts +161 -0
  98. package/types/Customers.d.ts +7 -0
  99. package/types/CustomersResource.d.ts +1 -0
  100. package/types/DelegatedCheckout/RequestedSessions.d.ts +292 -0
  101. package/types/DelegatedCheckout/RequestedSessionsResource.d.ts +593 -0
  102. package/types/Files.d.ts +1 -0
  103. package/types/FilesResource.d.ts +2 -0
  104. package/types/FinancialConnections/AccountsResource.d.ts +1 -1
  105. package/types/Identity/BlocklistEntries.d.ts +78 -0
  106. package/types/Identity/BlocklistEntriesResource.d.ts +146 -0
  107. package/types/Identity/VerificationReports.d.ts +10 -0
  108. package/types/Identity/VerificationReportsResource.d.ts +5 -0
  109. package/types/InvoiceItems.d.ts +104 -2
  110. package/types/InvoiceLineItems.d.ts +113 -2
  111. package/types/Invoices.d.ts +1 -0
  112. package/types/InvoicesResource.d.ts +5 -0
  113. package/types/PaymentAttemptRecords.d.ts +7 -2
  114. package/types/PaymentAttemptRecordsResource.d.ts +5 -0
  115. package/types/PaymentIntentAmountDetailsLineItems.d.ts +4 -0
  116. package/types/PaymentIntents.d.ts +30 -2
  117. package/types/PaymentIntentsResource.d.ts +88 -0
  118. package/types/PaymentLinks.d.ts +34 -0
  119. package/types/PaymentLinksResource.d.ts +88 -0
  120. package/types/PaymentMethodBalances.d.ts +63 -0
  121. package/types/PaymentMethodConfigurations.d.ts +72 -0
  122. package/types/PaymentMethodConfigurationsResource.d.ts +100 -0
  123. package/types/PaymentMethods.d.ts +48 -0
  124. package/types/PaymentMethodsResource.d.ts +35 -1
  125. package/types/PaymentRecords.d.ts +7 -2
  126. package/types/PaymentRecordsResource.d.ts +89 -0
  127. package/types/PayoutsResource.d.ts +1 -1
  128. package/types/Persons.d.ts +2 -0
  129. package/types/QuotePreviewInvoices.d.ts +1 -0
  130. package/types/Refunds.d.ts +9 -0
  131. package/types/SetupAttempts.d.ts +1 -0
  132. package/types/SetupIntents.d.ts +87 -0
  133. package/types/SetupIntentsResource.d.ts +220 -0
  134. package/types/Tax/Registrations.d.ts +9 -0
  135. package/types/Tax/RegistrationsResource.d.ts +12 -0
  136. package/types/Terminal/Configurations.d.ts +19 -0
  137. package/types/Terminal/ConfigurationsResource.d.ts +44 -0
  138. package/types/Terminal/Readers.d.ts +14 -9
  139. package/types/Terminal/ReadersResource.d.ts +30 -30
  140. package/types/TestHelpers/Terminal/ReadersResource.d.ts +1 -1
  141. package/types/TokensResource.d.ts +22 -0
  142. package/types/Transfers.d.ts +4 -0
  143. package/types/TransfersResource.d.ts +2 -0
  144. package/types/V2/Billing/Cadences.d.ts +47 -2
  145. package/types/V2/Billing/CadencesResource.d.ts +32 -3
  146. package/types/V2/Billing/CollectionSettingVersions.d.ts +2 -2
  147. package/types/V2/Billing/CollectionSettings.d.ts +2 -2
  148. package/types/V2/Billing/CollectionSettingsResource.d.ts +4 -4
  149. package/types/V2/Billing/CustomPricingUnits.d.ts +56 -0
  150. package/types/V2/Billing/CustomPricingUnitsResource.d.ts +122 -0
  151. package/types/V2/Billing/IntentActions.d.ts +459 -0
  152. package/types/V2/Billing/Intents/ActionsResource.d.ts +58 -0
  153. package/types/V2/Billing/Intents.d.ts +117 -0
  154. package/types/V2/Billing/IntentsResource.d.ts +575 -0
  155. package/types/V2/Billing/LicenseFeeSubscriptions.d.ts +64 -0
  156. package/types/V2/Billing/LicenseFeeSubscriptionsResource.d.ts +28 -0
  157. package/types/V2/Billing/LicenseFeeVersions.d.ts +106 -0
  158. package/types/V2/Billing/LicenseFees/VersionsResource.d.ts +58 -0
  159. package/types/V2/Billing/LicenseFees.d.ts +164 -0
  160. package/types/V2/Billing/LicenseFeesResource.d.ts +290 -0
  161. package/types/V2/Billing/LicensedItems.d.ts +73 -0
  162. package/types/V2/Billing/LicensedItemsResource.d.ts +157 -0
  163. package/types/V2/Billing/MeteredItems.d.ts +101 -0
  164. package/types/V2/Billing/MeteredItemsResource.d.ts +189 -0
  165. package/types/V2/Billing/PricingPlanComponents.d.ts +109 -0
  166. package/types/V2/Billing/PricingPlanSubscriptionComponents.d.ts +57 -0
  167. package/types/V2/Billing/PricingPlanSubscriptions/ComponentsResource.d.ts +40 -0
  168. package/types/V2/Billing/PricingPlanSubscriptions.d.ts +144 -0
  169. package/types/V2/Billing/PricingPlanSubscriptionsResource.d.ts +120 -0
  170. package/types/V2/Billing/PricingPlanVersions.d.ts +49 -0
  171. package/types/V2/Billing/PricingPlans/ComponentsResource.d.ts +197 -0
  172. package/types/V2/Billing/PricingPlans/VersionsResource.d.ts +58 -0
  173. package/types/V2/Billing/PricingPlans.d.ts +84 -0
  174. package/types/V2/Billing/PricingPlansResource.d.ts +151 -0
  175. package/types/V2/Billing/RateCardRates.d.ts +144 -0
  176. package/types/V2/Billing/RateCardSubscriptions.d.ts +144 -0
  177. package/types/V2/Billing/RateCardSubscriptionsResource.d.ts +157 -0
  178. package/types/V2/Billing/RateCardVersions.d.ts +39 -0
  179. package/types/V2/Billing/RateCards/RatesResource.d.ts +203 -0
  180. package/types/V2/Billing/RateCards/VersionsResource.d.ts +58 -0
  181. package/types/V2/Billing/RateCards.d.ts +98 -0
  182. package/types/V2/Billing/RateCardsResource.d.ts +162 -0
  183. package/types/V2/Billing/ServiceActions.d.ts +274 -0
  184. package/types/V2/Billing/ServiceActionsResource.d.ts +370 -0
  185. package/types/V2/Core/Accounts.d.ts +1394 -29
  186. package/types/V2/Core/AccountsResource.d.ts +1475 -5
  187. package/types/V2/Core/ClaimableSandboxes.d.ts +132 -0
  188. package/types/V2/Core/ClaimableSandboxesResource.d.ts +74 -0
  189. package/types/V2/Core/EventTypes.d.ts +7308 -367
  190. package/types/V2/Core/Events.d.ts +12 -0
  191. package/types/V2/Core/EventsResource.d.ts +29 -3
  192. package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +22 -0
  193. package/types/V2/Core/Vault/UsBankAccounts.d.ts +46 -0
  194. package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +75 -0
  195. package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +25 -0
  196. package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +14 -0
  197. package/types/V2/MoneyManagement/OutboundPayments.d.ts +5 -0
  198. package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +6 -1
  199. package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +34 -0
  200. package/types/V2/MoneyManagement/OutboundTransfers.d.ts +5 -0
  201. package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +5 -0
  202. package/types/V2/MoneyManagement/PayoutMethods.d.ts +41 -0
  203. package/types/V2/MoneyManagement/ReceivedCredits.d.ts +5 -0
  204. package/types/V2/MoneyManagement/ReceivedDebits.d.ts +10 -0
  205. package/types/V2/MoneyManagement/RecipientVerifications.d.ts +112 -0
  206. package/types/V2/MoneyManagement/RecipientVerificationsResource.d.ts +77 -0
  207. package/types/V2/Tax/AutomaticRules.d.ts +53 -0
  208. package/types/V2/Tax/AutomaticRulesResource.d.ts +102 -0
  209. package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +6 -1
  210. package/types/V2/TestHelpers/MoneyManagementResource.d.ts +49 -0
  211. package/types/WebhookEndpointsResource.d.ts +2 -1
  212. package/types/Webhooks.d.ts +2 -0
  213. package/types/crypto/crypto.d.ts +1 -1
  214. package/types/index.d.ts +69 -0
@@ -23,6 +23,11 @@ declare module 'stripe' {
23
23
  */
24
24
  applied_configurations: Array<Account.AppliedConfiguration>;
25
25
 
26
+ /**
27
+ * A value indicating if the Account has been closed.
28
+ */
29
+ closed?: boolean;
30
+
26
31
  /**
27
32
  * An Account Configuration which allows the Account to take on a key persona across Stripe products.
28
33
  */
@@ -76,12 +81,18 @@ declare module 'stripe' {
76
81
 
77
82
  namespace Account {
78
83
  type AppliedConfiguration =
84
+ | 'card_creator'
79
85
  | 'customer'
80
86
  | 'merchant'
81
87
  | 'recipient'
82
88
  | 'storer';
83
89
 
84
90
  interface Configuration {
91
+ /**
92
+ * The CardCreator Configuration allows the Account to create and issue cards to users.
93
+ */
94
+ card_creator?: Configuration.CardCreator;
95
+
85
96
  /**
86
97
  * The Customer Configuration allows the Account to be used in inbound payment flows.
87
98
  */
@@ -104,6 +115,408 @@ declare module 'stripe' {
104
115
  }
105
116
 
106
117
  namespace Configuration {
118
+ interface CardCreator {
119
+ /**
120
+ * Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
121
+ */
122
+ applied: boolean;
123
+
124
+ /**
125
+ * Capabilities that have been requested on the CardCreator Configuration.
126
+ */
127
+ capabilities?: CardCreator.Capabilities;
128
+ }
129
+
130
+ namespace CardCreator {
131
+ interface Capabilities {
132
+ /**
133
+ * Can create cards for commercial issuing use cases.
134
+ */
135
+ commercial?: Capabilities.Commercial;
136
+ }
137
+
138
+ namespace Capabilities {
139
+ interface Commercial {
140
+ /**
141
+ * Can create commercial issuing cards with Celtic as BIN sponsor.
142
+ */
143
+ celtic?: Commercial.Celtic;
144
+
145
+ /**
146
+ * Can create commercial issuing cards with Cross River Bank as BIN sponsor.
147
+ */
148
+ cross_river_bank?: Commercial.CrossRiverBank;
149
+
150
+ /**
151
+ * Can create commercial issuing cards with Stripe as a BIN sponsor.
152
+ */
153
+ stripe?: Commercial.Stripe;
154
+ }
155
+
156
+ namespace Commercial {
157
+ interface Celtic {
158
+ /**
159
+ * Can create commercial issuing charge cards with Celtic as BIN sponsor.
160
+ */
161
+ charge_card?: Celtic.ChargeCard;
162
+
163
+ /**
164
+ * Can create commercial issuing spend cards with Celtic as BIN sponsor.
165
+ */
166
+ spend_card?: Celtic.SpendCard;
167
+ }
168
+
169
+ namespace Celtic {
170
+ interface ChargeCard {
171
+ /**
172
+ * Whether the Capability has been requested.
173
+ */
174
+ requested: boolean;
175
+
176
+ /**
177
+ * The status of the Capability.
178
+ */
179
+ status: ChargeCard.Status;
180
+
181
+ /**
182
+ * Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
183
+ */
184
+ status_details: Array<ChargeCard.StatusDetail>;
185
+ }
186
+
187
+ namespace ChargeCard {
188
+ type Status =
189
+ | 'active'
190
+ | 'pending'
191
+ | 'restricted'
192
+ | 'unsupported';
193
+
194
+ interface StatusDetail {
195
+ /**
196
+ * Machine-readable code explaining the reason for the Capability to be in its current status.
197
+ */
198
+ code: StatusDetail.Code;
199
+
200
+ /**
201
+ * Machine-readable code explaining how to make the Capability active.
202
+ */
203
+ resolution: StatusDetail.Resolution;
204
+ }
205
+
206
+ namespace StatusDetail {
207
+ type Code =
208
+ | 'determining_status'
209
+ | 'requirements_past_due'
210
+ | 'requirements_pending_verification'
211
+ | 'restricted_other'
212
+ | 'unsupported_business'
213
+ | 'unsupported_country'
214
+ | 'unsupported_entity_type';
215
+
216
+ type Resolution =
217
+ | 'contact_stripe'
218
+ | 'no_resolution'
219
+ | 'provide_info';
220
+ }
221
+ }
222
+
223
+ interface SpendCard {
224
+ /**
225
+ * Whether the Capability has been requested.
226
+ */
227
+ requested: boolean;
228
+
229
+ /**
230
+ * The status of the Capability.
231
+ */
232
+ status: SpendCard.Status;
233
+
234
+ /**
235
+ * Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
236
+ */
237
+ status_details: Array<SpendCard.StatusDetail>;
238
+ }
239
+
240
+ namespace SpendCard {
241
+ type Status =
242
+ | 'active'
243
+ | 'pending'
244
+ | 'restricted'
245
+ | 'unsupported';
246
+
247
+ interface StatusDetail {
248
+ /**
249
+ * Machine-readable code explaining the reason for the Capability to be in its current status.
250
+ */
251
+ code: StatusDetail.Code;
252
+
253
+ /**
254
+ * Machine-readable code explaining how to make the Capability active.
255
+ */
256
+ resolution: StatusDetail.Resolution;
257
+ }
258
+
259
+ namespace StatusDetail {
260
+ type Code =
261
+ | 'determining_status'
262
+ | 'requirements_past_due'
263
+ | 'requirements_pending_verification'
264
+ | 'restricted_other'
265
+ | 'unsupported_business'
266
+ | 'unsupported_country'
267
+ | 'unsupported_entity_type';
268
+
269
+ type Resolution =
270
+ | 'contact_stripe'
271
+ | 'no_resolution'
272
+ | 'provide_info';
273
+ }
274
+ }
275
+ }
276
+
277
+ interface CrossRiverBank {
278
+ /**
279
+ * Can create commercial issuing charge cards with Cross River Bank as BIN sponsor.
280
+ */
281
+ charge_card?: CrossRiverBank.ChargeCard;
282
+
283
+ /**
284
+ * Can create commercial issuing spend cards with Cross River Bank as BIN sponsor.
285
+ */
286
+ spend_card?: CrossRiverBank.SpendCard;
287
+ }
288
+
289
+ namespace CrossRiverBank {
290
+ interface ChargeCard {
291
+ /**
292
+ * Whether the Capability has been requested.
293
+ */
294
+ requested: boolean;
295
+
296
+ /**
297
+ * The status of the Capability.
298
+ */
299
+ status: ChargeCard.Status;
300
+
301
+ /**
302
+ * Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
303
+ */
304
+ status_details: Array<ChargeCard.StatusDetail>;
305
+ }
306
+
307
+ namespace ChargeCard {
308
+ type Status =
309
+ | 'active'
310
+ | 'pending'
311
+ | 'restricted'
312
+ | 'unsupported';
313
+
314
+ interface StatusDetail {
315
+ /**
316
+ * Machine-readable code explaining the reason for the Capability to be in its current status.
317
+ */
318
+ code: StatusDetail.Code;
319
+
320
+ /**
321
+ * Machine-readable code explaining how to make the Capability active.
322
+ */
323
+ resolution: StatusDetail.Resolution;
324
+ }
325
+
326
+ namespace StatusDetail {
327
+ type Code =
328
+ | 'determining_status'
329
+ | 'requirements_past_due'
330
+ | 'requirements_pending_verification'
331
+ | 'restricted_other'
332
+ | 'unsupported_business'
333
+ | 'unsupported_country'
334
+ | 'unsupported_entity_type';
335
+
336
+ type Resolution =
337
+ | 'contact_stripe'
338
+ | 'no_resolution'
339
+ | 'provide_info';
340
+ }
341
+ }
342
+
343
+ interface SpendCard {
344
+ /**
345
+ * Whether the Capability has been requested.
346
+ */
347
+ requested: boolean;
348
+
349
+ /**
350
+ * The status of the Capability.
351
+ */
352
+ status: SpendCard.Status;
353
+
354
+ /**
355
+ * Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
356
+ */
357
+ status_details: Array<SpendCard.StatusDetail>;
358
+ }
359
+
360
+ namespace SpendCard {
361
+ type Status =
362
+ | 'active'
363
+ | 'pending'
364
+ | 'restricted'
365
+ | 'unsupported';
366
+
367
+ interface StatusDetail {
368
+ /**
369
+ * Machine-readable code explaining the reason for the Capability to be in its current status.
370
+ */
371
+ code: StatusDetail.Code;
372
+
373
+ /**
374
+ * Machine-readable code explaining how to make the Capability active.
375
+ */
376
+ resolution: StatusDetail.Resolution;
377
+ }
378
+
379
+ namespace StatusDetail {
380
+ type Code =
381
+ | 'determining_status'
382
+ | 'requirements_past_due'
383
+ | 'requirements_pending_verification'
384
+ | 'restricted_other'
385
+ | 'unsupported_business'
386
+ | 'unsupported_country'
387
+ | 'unsupported_entity_type';
388
+
389
+ type Resolution =
390
+ | 'contact_stripe'
391
+ | 'no_resolution'
392
+ | 'provide_info';
393
+ }
394
+ }
395
+ }
396
+
397
+ interface Stripe {
398
+ /**
399
+ * Can create commercial issuing charge cards with Stripe as BIN sponsor.
400
+ */
401
+ charge_card?: Stripe.ChargeCard;
402
+
403
+ /**
404
+ * Can create commercial issuing prepaid cards with Stripe as BIN sponsor.
405
+ */
406
+ prepaid_card?: Stripe.PrepaidCard;
407
+ }
408
+
409
+ namespace Stripe {
410
+ interface ChargeCard {
411
+ /**
412
+ * Whether the Capability has been requested.
413
+ */
414
+ requested: boolean;
415
+
416
+ /**
417
+ * The status of the Capability.
418
+ */
419
+ status: ChargeCard.Status;
420
+
421
+ /**
422
+ * Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
423
+ */
424
+ status_details: Array<ChargeCard.StatusDetail>;
425
+ }
426
+
427
+ namespace ChargeCard {
428
+ type Status =
429
+ | 'active'
430
+ | 'pending'
431
+ | 'restricted'
432
+ | 'unsupported';
433
+
434
+ interface StatusDetail {
435
+ /**
436
+ * Machine-readable code explaining the reason for the Capability to be in its current status.
437
+ */
438
+ code: StatusDetail.Code;
439
+
440
+ /**
441
+ * Machine-readable code explaining how to make the Capability active.
442
+ */
443
+ resolution: StatusDetail.Resolution;
444
+ }
445
+
446
+ namespace StatusDetail {
447
+ type Code =
448
+ | 'determining_status'
449
+ | 'requirements_past_due'
450
+ | 'requirements_pending_verification'
451
+ | 'restricted_other'
452
+ | 'unsupported_business'
453
+ | 'unsupported_country'
454
+ | 'unsupported_entity_type';
455
+
456
+ type Resolution =
457
+ | 'contact_stripe'
458
+ | 'no_resolution'
459
+ | 'provide_info';
460
+ }
461
+ }
462
+
463
+ interface PrepaidCard {
464
+ /**
465
+ * Whether the Capability has been requested.
466
+ */
467
+ requested: boolean;
468
+
469
+ /**
470
+ * The status of the Capability.
471
+ */
472
+ status: PrepaidCard.Status;
473
+
474
+ /**
475
+ * Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
476
+ */
477
+ status_details: Array<PrepaidCard.StatusDetail>;
478
+ }
479
+
480
+ namespace PrepaidCard {
481
+ type Status =
482
+ | 'active'
483
+ | 'pending'
484
+ | 'restricted'
485
+ | 'unsupported';
486
+
487
+ interface StatusDetail {
488
+ /**
489
+ * Machine-readable code explaining the reason for the Capability to be in its current status.
490
+ */
491
+ code: StatusDetail.Code;
492
+
493
+ /**
494
+ * Machine-readable code explaining how to make the Capability active.
495
+ */
496
+ resolution: StatusDetail.Resolution;
497
+ }
498
+
499
+ namespace StatusDetail {
500
+ type Code =
501
+ | 'determining_status'
502
+ | 'requirements_past_due'
503
+ | 'requirements_pending_verification'
504
+ | 'restricted_other'
505
+ | 'unsupported_business'
506
+ | 'unsupported_country'
507
+ | 'unsupported_entity_type';
508
+
509
+ type Resolution =
510
+ | 'contact_stripe'
511
+ | 'no_resolution'
512
+ | 'provide_info';
513
+ }
514
+ }
515
+ }
516
+ }
517
+ }
518
+ }
519
+
107
520
  interface Customer {
108
521
  /**
109
522
  * Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
@@ -177,6 +590,7 @@ declare module 'stripe' {
177
590
  type LocationSource =
178
591
  | 'identity_address'
179
592
  | 'ip_address'
593
+ | 'payment_method'
180
594
  | 'shipping_address';
181
595
  }
182
596
 
@@ -3203,6 +3617,11 @@ declare module 'stripe' {
3203
3617
  */
3204
3618
  cards?: Capabilities.Cards;
3205
3619
 
3620
+ /**
3621
+ * Capability that enable OutboundPayments to a crypto wallet linked to this Account.
3622
+ */
3623
+ crypto_wallets?: Capabilities.CryptoWallets;
3624
+
3206
3625
  /**
3207
3626
  * Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
3208
3627
  */
@@ -3383,6 +3802,59 @@ declare module 'stripe' {
3383
3802
  }
3384
3803
  }
3385
3804
 
3805
+ interface CryptoWallets {
3806
+ /**
3807
+ * Whether the Capability has been requested.
3808
+ */
3809
+ requested: boolean;
3810
+
3811
+ /**
3812
+ * The status of the Capability.
3813
+ */
3814
+ status: CryptoWallets.Status;
3815
+
3816
+ /**
3817
+ * Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
3818
+ */
3819
+ status_details: Array<CryptoWallets.StatusDetail>;
3820
+ }
3821
+
3822
+ namespace CryptoWallets {
3823
+ type Status =
3824
+ | 'active'
3825
+ | 'pending'
3826
+ | 'restricted'
3827
+ | 'unsupported';
3828
+
3829
+ interface StatusDetail {
3830
+ /**
3831
+ * Machine-readable code explaining the reason for the Capability to be in its current status.
3832
+ */
3833
+ code: StatusDetail.Code;
3834
+
3835
+ /**
3836
+ * Machine-readable code explaining how to make the Capability active.
3837
+ */
3838
+ resolution: StatusDetail.Resolution;
3839
+ }
3840
+
3841
+ namespace StatusDetail {
3842
+ type Code =
3843
+ | 'determining_status'
3844
+ | 'requirements_past_due'
3845
+ | 'requirements_pending_verification'
3846
+ | 'restricted_other'
3847
+ | 'unsupported_business'
3848
+ | 'unsupported_country'
3849
+ | 'unsupported_entity_type';
3850
+
3851
+ type Resolution =
3852
+ | 'contact_stripe'
3853
+ | 'no_resolution'
3854
+ | 'provide_info';
3855
+ }
3856
+ }
3857
+
3386
3858
  interface StripeBalance {
3387
3859
  /**
3388
3860
  * Allows the account to do payouts using their Stripe Balance (/v1/balance).
@@ -3592,6 +4064,56 @@ declare module 'stripe' {
3592
4064
  * Capabilities that have been requested on the Storer Configuration.
3593
4065
  */
3594
4066
  capabilities?: Storer.Capabilities;
4067
+
4068
+ /**
4069
+ * List of high-risk activities the business is involved in.
4070
+ */
4071
+ high_risk_activities?: Array<Storer.HighRiskActivity>;
4072
+
4073
+ /**
4074
+ * An explanation of the high risk activities that the business performs.
4075
+ */
4076
+ high_risk_activities_description?: string;
4077
+
4078
+ /**
4079
+ * Description of the money services offered by the business.
4080
+ */
4081
+ money_services_description?: string;
4082
+
4083
+ /**
4084
+ * Does the business operate in any prohibited countries.
4085
+ */
4086
+ operates_in_prohibited_countries?: boolean;
4087
+
4088
+ /**
4089
+ * Does the business participate in any regulated activity.
4090
+ */
4091
+ participates_in_regulated_activity?: boolean;
4092
+
4093
+ /**
4094
+ * Primary purpose of the stored funds.
4095
+ */
4096
+ purpose_of_funds?: Storer.PurposeOfFunds;
4097
+
4098
+ /**
4099
+ * Description of the purpose of the stored funds.
4100
+ */
4101
+ purpose_of_funds_description?: string;
4102
+
4103
+ /**
4104
+ * Details of the regulated activity if the business participates in one.
4105
+ */
4106
+ regulated_activity?: Storer.RegulatedActivity;
4107
+
4108
+ /**
4109
+ * The source of funds for the business, e.g. profits, income, venture capital, etc.
4110
+ */
4111
+ source_of_funds?: Storer.SourceOfFunds;
4112
+
4113
+ /**
4114
+ * Description of the source of funds for the business' account.
4115
+ */
4116
+ source_of_funds_description?: string;
3595
4117
  }
3596
4118
 
3597
4119
  namespace Storer {
@@ -3628,6 +4150,11 @@ declare module 'stripe' {
3628
4150
  * Can provision a bank-account like financial address (VBAN) to credit/debit a FinancialAccount.
3629
4151
  */
3630
4152
  bank_accounts?: FinancialAddresses.BankAccounts;
4153
+
4154
+ /**
4155
+ * Can provision a crypto wallet like financial address to credit a FinancialAccount.
4156
+ */
4157
+ crypto_wallets?: FinancialAddresses.CryptoWallets;
3631
4158
  }
3632
4159
 
3633
4160
  namespace FinancialAddresses {
@@ -3683,17 +4210,8 @@ declare module 'stripe' {
3683
4210
  | 'provide_info';
3684
4211
  }
3685
4212
  }
3686
- }
3687
4213
 
3688
- interface HoldsCurrencies {
3689
- /**
3690
- * Can hold storage-type funds on Stripe in GBP.
3691
- */
3692
- gbp?: HoldsCurrencies.Gbp;
3693
- }
3694
-
3695
- namespace HoldsCurrencies {
3696
- interface Gbp {
4214
+ interface CryptoWallets {
3697
4215
  /**
3698
4216
  * Whether the Capability has been requested.
3699
4217
  */
@@ -3702,15 +4220,15 @@ declare module 'stripe' {
3702
4220
  /**
3703
4221
  * The status of the Capability.
3704
4222
  */
3705
- status: Gbp.Status;
4223
+ status: CryptoWallets.Status;
3706
4224
 
3707
4225
  /**
3708
4226
  * Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
3709
4227
  */
3710
- status_details: Array<Gbp.StatusDetail>;
4228
+ status_details: Array<CryptoWallets.StatusDetail>;
3711
4229
  }
3712
4230
 
3713
- namespace Gbp {
4231
+ namespace CryptoWallets {
3714
4232
  type Status =
3715
4233
  | 'active'
3716
4234
  | 'pending'
@@ -3747,15 +4265,25 @@ declare module 'stripe' {
3747
4265
  }
3748
4266
  }
3749
4267
 
3750
- interface InboundTransfers {
4268
+ interface HoldsCurrencies {
3751
4269
  /**
3752
- * Can pull funds from an external bank account, owned by yourself, to a FinancialAccount.
4270
+ * Can hold storage-type funds on Stripe in GBP.
3753
4271
  */
3754
- bank_accounts?: InboundTransfers.BankAccounts;
4272
+ gbp?: HoldsCurrencies.Gbp;
4273
+
4274
+ /**
4275
+ * Can hold storage-type funds on Stripe in USD.
4276
+ */
4277
+ usd?: HoldsCurrencies.Usd;
4278
+
4279
+ /**
4280
+ * Can hold storage-type funds on Stripe in USDC.
4281
+ */
4282
+ usdc?: HoldsCurrencies.Usdc;
3755
4283
  }
3756
4284
 
3757
- namespace InboundTransfers {
3758
- interface BankAccounts {
4285
+ namespace HoldsCurrencies {
4286
+ interface Gbp {
3759
4287
  /**
3760
4288
  * Whether the Capability has been requested.
3761
4289
  */
@@ -3764,15 +4292,15 @@ declare module 'stripe' {
3764
4292
  /**
3765
4293
  * The status of the Capability.
3766
4294
  */
3767
- status: BankAccounts.Status;
4295
+ status: Gbp.Status;
3768
4296
 
3769
4297
  /**
3770
4298
  * Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
3771
4299
  */
3772
- status_details: Array<BankAccounts.StatusDetail>;
4300
+ status_details: Array<Gbp.StatusDetail>;
3773
4301
  }
3774
4302
 
3775
- namespace BankAccounts {
4303
+ namespace Gbp {
3776
4304
  type Status =
3777
4305
  | 'active'
3778
4306
  | 'pending'
@@ -3807,19 +4335,192 @@ declare module 'stripe' {
3807
4335
  | 'provide_info';
3808
4336
  }
3809
4337
  }
3810
- }
3811
4338
 
3812
- interface OutboundPayments {
3813
- /**
3814
- * Can send funds from a FinancialAccount to a bank account, owned by someone else.
3815
- */
3816
- bank_accounts?: OutboundPayments.BankAccounts;
4339
+ interface Usd {
4340
+ /**
4341
+ * Whether the Capability has been requested.
4342
+ */
4343
+ requested: boolean;
4344
+
4345
+ /**
4346
+ * The status of the Capability.
4347
+ */
4348
+ status: Usd.Status;
4349
+
4350
+ /**
4351
+ * Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
4352
+ */
4353
+ status_details: Array<Usd.StatusDetail>;
4354
+ }
4355
+
4356
+ namespace Usd {
4357
+ type Status =
4358
+ | 'active'
4359
+ | 'pending'
4360
+ | 'restricted'
4361
+ | 'unsupported';
4362
+
4363
+ interface StatusDetail {
4364
+ /**
4365
+ * Machine-readable code explaining the reason for the Capability to be in its current status.
4366
+ */
4367
+ code: StatusDetail.Code;
4368
+
4369
+ /**
4370
+ * Machine-readable code explaining how to make the Capability active.
4371
+ */
4372
+ resolution: StatusDetail.Resolution;
4373
+ }
4374
+
4375
+ namespace StatusDetail {
4376
+ type Code =
4377
+ | 'determining_status'
4378
+ | 'requirements_past_due'
4379
+ | 'requirements_pending_verification'
4380
+ | 'restricted_other'
4381
+ | 'unsupported_business'
4382
+ | 'unsupported_country'
4383
+ | 'unsupported_entity_type';
4384
+
4385
+ type Resolution =
4386
+ | 'contact_stripe'
4387
+ | 'no_resolution'
4388
+ | 'provide_info';
4389
+ }
4390
+ }
4391
+
4392
+ interface Usdc {
4393
+ /**
4394
+ * Whether the Capability has been requested.
4395
+ */
4396
+ requested: boolean;
4397
+
4398
+ /**
4399
+ * The status of the Capability.
4400
+ */
4401
+ status: Usdc.Status;
4402
+
4403
+ /**
4404
+ * Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
4405
+ */
4406
+ status_details: Array<Usdc.StatusDetail>;
4407
+ }
4408
+
4409
+ namespace Usdc {
4410
+ type Status =
4411
+ | 'active'
4412
+ | 'pending'
4413
+ | 'restricted'
4414
+ | 'unsupported';
4415
+
4416
+ interface StatusDetail {
4417
+ /**
4418
+ * Machine-readable code explaining the reason for the Capability to be in its current status.
4419
+ */
4420
+ code: StatusDetail.Code;
4421
+
4422
+ /**
4423
+ * Machine-readable code explaining how to make the Capability active.
4424
+ */
4425
+ resolution: StatusDetail.Resolution;
4426
+ }
4427
+
4428
+ namespace StatusDetail {
4429
+ type Code =
4430
+ | 'determining_status'
4431
+ | 'requirements_past_due'
4432
+ | 'requirements_pending_verification'
4433
+ | 'restricted_other'
4434
+ | 'unsupported_business'
4435
+ | 'unsupported_country'
4436
+ | 'unsupported_entity_type';
4437
+
4438
+ type Resolution =
4439
+ | 'contact_stripe'
4440
+ | 'no_resolution'
4441
+ | 'provide_info';
4442
+ }
4443
+ }
4444
+ }
4445
+
4446
+ interface InboundTransfers {
4447
+ /**
4448
+ * Can pull funds from an external bank account, owned by yourself, to a FinancialAccount.
4449
+ */
4450
+ bank_accounts?: InboundTransfers.BankAccounts;
4451
+ }
4452
+
4453
+ namespace InboundTransfers {
4454
+ interface BankAccounts {
4455
+ /**
4456
+ * Whether the Capability has been requested.
4457
+ */
4458
+ requested: boolean;
4459
+
4460
+ /**
4461
+ * The status of the Capability.
4462
+ */
4463
+ status: BankAccounts.Status;
4464
+
4465
+ /**
4466
+ * Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
4467
+ */
4468
+ status_details: Array<BankAccounts.StatusDetail>;
4469
+ }
4470
+
4471
+ namespace BankAccounts {
4472
+ type Status =
4473
+ | 'active'
4474
+ | 'pending'
4475
+ | 'restricted'
4476
+ | 'unsupported';
4477
+
4478
+ interface StatusDetail {
4479
+ /**
4480
+ * Machine-readable code explaining the reason for the Capability to be in its current status.
4481
+ */
4482
+ code: StatusDetail.Code;
4483
+
4484
+ /**
4485
+ * Machine-readable code explaining how to make the Capability active.
4486
+ */
4487
+ resolution: StatusDetail.Resolution;
4488
+ }
4489
+
4490
+ namespace StatusDetail {
4491
+ type Code =
4492
+ | 'determining_status'
4493
+ | 'requirements_past_due'
4494
+ | 'requirements_pending_verification'
4495
+ | 'restricted_other'
4496
+ | 'unsupported_business'
4497
+ | 'unsupported_country'
4498
+ | 'unsupported_entity_type';
4499
+
4500
+ type Resolution =
4501
+ | 'contact_stripe'
4502
+ | 'no_resolution'
4503
+ | 'provide_info';
4504
+ }
4505
+ }
4506
+ }
4507
+
4508
+ interface OutboundPayments {
4509
+ /**
4510
+ * Can send funds from a FinancialAccount to a bank account, owned by someone else.
4511
+ */
4512
+ bank_accounts?: OutboundPayments.BankAccounts;
3817
4513
 
3818
4514
  /**
3819
4515
  * Can send funds from a FinancialAccount to a debit card, owned by someone else.
3820
4516
  */
3821
4517
  cards?: OutboundPayments.Cards;
3822
4518
 
4519
+ /**
4520
+ * Can send funds from a FinancialAccount to a crypto wallet, owned by someone else.
4521
+ */
4522
+ crypto_wallets?: OutboundPayments.CryptoWallets;
4523
+
3823
4524
  /**
3824
4525
  * Can send funds from a FinancialAccount to another FinancialAccount, owned by someone else.
3825
4526
  */
@@ -3933,6 +4634,59 @@ declare module 'stripe' {
3933
4634
  }
3934
4635
  }
3935
4636
 
4637
+ interface CryptoWallets {
4638
+ /**
4639
+ * Whether the Capability has been requested.
4640
+ */
4641
+ requested: boolean;
4642
+
4643
+ /**
4644
+ * The status of the Capability.
4645
+ */
4646
+ status: CryptoWallets.Status;
4647
+
4648
+ /**
4649
+ * Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
4650
+ */
4651
+ status_details: Array<CryptoWallets.StatusDetail>;
4652
+ }
4653
+
4654
+ namespace CryptoWallets {
4655
+ type Status =
4656
+ | 'active'
4657
+ | 'pending'
4658
+ | 'restricted'
4659
+ | 'unsupported';
4660
+
4661
+ interface StatusDetail {
4662
+ /**
4663
+ * Machine-readable code explaining the reason for the Capability to be in its current status.
4664
+ */
4665
+ code: StatusDetail.Code;
4666
+
4667
+ /**
4668
+ * Machine-readable code explaining how to make the Capability active.
4669
+ */
4670
+ resolution: StatusDetail.Resolution;
4671
+ }
4672
+
4673
+ namespace StatusDetail {
4674
+ type Code =
4675
+ | 'determining_status'
4676
+ | 'requirements_past_due'
4677
+ | 'requirements_pending_verification'
4678
+ | 'restricted_other'
4679
+ | 'unsupported_business'
4680
+ | 'unsupported_country'
4681
+ | 'unsupported_entity_type';
4682
+
4683
+ type Resolution =
4684
+ | 'contact_stripe'
4685
+ | 'no_resolution'
4686
+ | 'provide_info';
4687
+ }
4688
+ }
4689
+
3936
4690
  interface FinancialAccounts {
3937
4691
  /**
3938
4692
  * Whether the Capability has been requested.
@@ -3993,6 +4747,11 @@ declare module 'stripe' {
3993
4747
  */
3994
4748
  bank_accounts?: OutboundTransfers.BankAccounts;
3995
4749
 
4750
+ /**
4751
+ * Can send funds from a FinancialAccount to a crypto wallet, owned by yourself.
4752
+ */
4753
+ crypto_wallets?: OutboundTransfers.CryptoWallets;
4754
+
3996
4755
  /**
3997
4756
  * Can send funds from a FinancialAccount to another FinancialAccount, owned by yourself.
3998
4757
  */
@@ -4053,6 +4812,59 @@ declare module 'stripe' {
4053
4812
  }
4054
4813
  }
4055
4814
 
4815
+ interface CryptoWallets {
4816
+ /**
4817
+ * Whether the Capability has been requested.
4818
+ */
4819
+ requested: boolean;
4820
+
4821
+ /**
4822
+ * The status of the Capability.
4823
+ */
4824
+ status: CryptoWallets.Status;
4825
+
4826
+ /**
4827
+ * Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
4828
+ */
4829
+ status_details: Array<CryptoWallets.StatusDetail>;
4830
+ }
4831
+
4832
+ namespace CryptoWallets {
4833
+ type Status =
4834
+ | 'active'
4835
+ | 'pending'
4836
+ | 'restricted'
4837
+ | 'unsupported';
4838
+
4839
+ interface StatusDetail {
4840
+ /**
4841
+ * Machine-readable code explaining the reason for the Capability to be in its current status.
4842
+ */
4843
+ code: StatusDetail.Code;
4844
+
4845
+ /**
4846
+ * Machine-readable code explaining how to make the Capability active.
4847
+ */
4848
+ resolution: StatusDetail.Resolution;
4849
+ }
4850
+
4851
+ namespace StatusDetail {
4852
+ type Code =
4853
+ | 'determining_status'
4854
+ | 'requirements_past_due'
4855
+ | 'requirements_pending_verification'
4856
+ | 'restricted_other'
4857
+ | 'unsupported_business'
4858
+ | 'unsupported_country'
4859
+ | 'unsupported_entity_type';
4860
+
4861
+ type Resolution =
4862
+ | 'contact_stripe'
4863
+ | 'no_resolution'
4864
+ | 'provide_info';
4865
+ }
4866
+ }
4867
+
4056
4868
  interface FinancialAccounts {
4057
4869
  /**
4058
4870
  * Whether the Capability has been requested.
@@ -4107,6 +4919,74 @@ declare module 'stripe' {
4107
4919
  }
4108
4920
  }
4109
4921
  }
4922
+
4923
+ type HighRiskActivity =
4924
+ | 'adult_entertainment'
4925
+ | 'gambling'
4926
+ | 'hold_client_funds'
4927
+ | 'investment_services'
4928
+ | 'lending_banking'
4929
+ | 'marijuana_or_related_services'
4930
+ | 'money_services'
4931
+ | 'nicotine_tobacco_or_related_services'
4932
+ | 'none'
4933
+ | 'operate_foreign_exchange_virtual_currencies_brokerage_otc'
4934
+ | 'pharmaceuticals'
4935
+ | 'precious_metals_precious_stones_jewelry'
4936
+ | 'safe_deposit_box_rentals'
4937
+ | 'third_party_payment_processing'
4938
+ | 'weapons_firearms_and_explosives';
4939
+
4940
+ type PurposeOfFunds =
4941
+ | 'charitable_donations'
4942
+ | 'ecommerce_retail_payments'
4943
+ | 'investment_purposes'
4944
+ | 'other'
4945
+ | 'payments_to_friends_or_family_abroad'
4946
+ | 'payroll'
4947
+ | 'personal_or_living_expenses'
4948
+ | 'protect_wealth'
4949
+ | 'purchase_goods_and_services'
4950
+ | 'receive_payments_for_goods_and_services'
4951
+ | 'tax_optimization'
4952
+ | 'third_party_money_transmission'
4953
+ | 'treasury_management';
4954
+
4955
+ interface RegulatedActivity {
4956
+ /**
4957
+ * A detailed description of the regulated activities the business is licensed to conduct.
4958
+ */
4959
+ description?: string;
4960
+
4961
+ /**
4962
+ * The license number or registration number assigned by the business's primary regulator.
4963
+ */
4964
+ license_number?: string;
4965
+
4966
+ /**
4967
+ * The country of the primary regulatory authority that oversees the business's regulated activities.
4968
+ */
4969
+ primary_regulatory_authority_country?: string;
4970
+
4971
+ /**
4972
+ * The name of the primary regulatory authority that oversees the business's regulated activities.
4973
+ */
4974
+ primary_regulatory_authority_name?: string;
4975
+ }
4976
+
4977
+ type SourceOfFunds =
4978
+ | 'business_loans'
4979
+ | 'grants'
4980
+ | 'inter_company_funds'
4981
+ | 'investment_proceeds'
4982
+ | 'legal_settlement'
4983
+ | 'owners_capital'
4984
+ | 'pension_retirement'
4985
+ | 'sales_of_assets'
4986
+ | 'sales_of_goods_and_services'
4987
+ | 'tax_refund'
4988
+ | 'third_party_funds'
4989
+ | 'treasury_reserves';
4110
4990
  }
4111
4991
  }
4112
4992
 
@@ -4251,7 +5131,11 @@ declare module 'stripe' {
4251
5131
  }
4252
5132
 
4253
5133
  namespace Responsibilities {
4254
- type FeesCollector = 'application' | 'stripe';
5134
+ type FeesCollector =
5135
+ | 'application'
5136
+ | 'application_custom'
5137
+ | 'application_express'
5138
+ | 'stripe';
4255
5139
 
4256
5140
  type LossesCollector = 'application' | 'stripe';
4257
5141
  }
@@ -4259,7 +5143,7 @@ declare module 'stripe' {
4259
5143
 
4260
5144
  interface Identity {
4261
5145
  /**
4262
- * Attestations from the identity's key people, e.g. owners, executives, directors.
5146
+ * Attestations from the identity's key people, e.g. owners, executives, directors, representatives.
4263
5147
  */
4264
5148
  attestations?: Identity.Attestations;
4265
5149
 
@@ -4301,6 +5185,11 @@ declare module 'stripe' {
4301
5185
  */
4302
5186
  persons_provided?: Attestations.PersonsProvided;
4303
5187
 
5188
+ /**
5189
+ * This hash is used to attest that the representative is authorized to act as the representative of their legal entity.
5190
+ */
5191
+ representative_declaration?: Attestations.RepresentativeDeclaration;
5192
+
4304
5193
  /**
4305
5194
  * Attestations of accepted terms of service agreements.
4306
5195
  */
@@ -4370,12 +5259,39 @@ declare module 'stripe' {
4370
5259
  | 'qualifies_as_financial_institution';
4371
5260
  }
4372
5261
 
5262
+ interface RepresentativeDeclaration {
5263
+ /**
5264
+ * The time marking when the representative attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
5265
+ */
5266
+ date?: string;
5267
+
5268
+ /**
5269
+ * The IP address from which the representative attestation was made.
5270
+ */
5271
+ ip?: string;
5272
+
5273
+ /**
5274
+ * The user agent of the browser from which the representative attestation was made.
5275
+ */
5276
+ user_agent?: string;
5277
+ }
5278
+
4373
5279
  interface TermsOfService {
4374
5280
  /**
4375
5281
  * Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance).
4376
5282
  */
4377
5283
  account?: TermsOfService.Account;
4378
5284
 
5285
+ /**
5286
+ * Details on the Account's acceptance of Issuing-specific terms of service.
5287
+ */
5288
+ card_creator?: TermsOfService.CardCreator;
5289
+
5290
+ /**
5291
+ * Details on the Account's acceptance of Crypto-storer-specific terms of service.
5292
+ */
5293
+ crypto_storer?: TermsOfService.CryptoStorer;
5294
+
4379
5295
  /**
4380
5296
  * Details on the Account's acceptance of Treasury-specific terms of service.
4381
5297
  */
@@ -4400,6 +5316,441 @@ declare module 'stripe' {
4400
5316
  user_agent?: string;
4401
5317
  }
4402
5318
 
5319
+ interface CardCreator {
5320
+ /**
5321
+ * Terms of service acceptances to create cards for commercial issuing use cases.
5322
+ */
5323
+ commercial?: CardCreator.Commercial;
5324
+ }
5325
+
5326
+ namespace CardCreator {
5327
+ interface Commercial {
5328
+ /**
5329
+ * Terms of service acceptances for Stripe commercial card issuing.
5330
+ */
5331
+ account_holder?: Commercial.AccountHolder;
5332
+
5333
+ /**
5334
+ * Terms of service acceptances for commercial issuing cards with Celtic as BIN sponsor.
5335
+ */
5336
+ celtic?: Commercial.Celtic;
5337
+
5338
+ /**
5339
+ * Terms of service acceptances for commercial issuing cards with Cross River Bank as BIN sponsor.
5340
+ */
5341
+ cross_river_bank?: Commercial.CrossRiverBank;
5342
+ }
5343
+
5344
+ namespace Commercial {
5345
+ interface AccountHolder {
5346
+ /**
5347
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
5348
+ */
5349
+ date?: string;
5350
+
5351
+ /**
5352
+ * The IP address from which the Account's representative accepted the terms of service.
5353
+ */
5354
+ ip?: string;
5355
+
5356
+ /**
5357
+ * The URL to the service agreement the Account's representative accepted.
5358
+ */
5359
+ url?: string;
5360
+
5361
+ /**
5362
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
5363
+ */
5364
+ user_agent?: string;
5365
+ }
5366
+
5367
+ interface Celtic {
5368
+ /**
5369
+ * Terms of service acceptances for commercial issuing Apple Pay cards with Celtic as BIN sponsor.
5370
+ */
5371
+ apple_pay?: Celtic.ApplePay;
5372
+
5373
+ /**
5374
+ * Terms of service acceptances for commercial issuing charge cards with Celtic as BIN sponsor.
5375
+ */
5376
+ charge_card?: Celtic.ChargeCard;
5377
+
5378
+ /**
5379
+ * Terms of service acceptances for commercial issuing spend cards with Celtic as BIN sponsor.
5380
+ */
5381
+ spend_card?: Celtic.SpendCard;
5382
+ }
5383
+
5384
+ namespace Celtic {
5385
+ interface ApplePay {
5386
+ /**
5387
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
5388
+ */
5389
+ date?: string;
5390
+
5391
+ /**
5392
+ * The IP address from which the Account's representative accepted the terms of service.
5393
+ */
5394
+ ip?: string;
5395
+
5396
+ /**
5397
+ * The URL to the service agreement the Account's representative accepted.
5398
+ */
5399
+ url?: string;
5400
+
5401
+ /**
5402
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
5403
+ */
5404
+ user_agent?: string;
5405
+ }
5406
+
5407
+ interface ChargeCard {
5408
+ /**
5409
+ * Bank terms of service acceptance for commercial issuing charge cards with Celtic as BIN sponsor.
5410
+ */
5411
+ bank_terms?: ChargeCard.BankTerms;
5412
+
5413
+ /**
5414
+ * Platform terms of service acceptance for commercial issuing charge cards with Celtic as BIN sponsor.
5415
+ */
5416
+ platform?: ChargeCard.Platform;
5417
+ }
5418
+
5419
+ namespace ChargeCard {
5420
+ interface BankTerms {
5421
+ /**
5422
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
5423
+ */
5424
+ date?: string;
5425
+
5426
+ /**
5427
+ * The IP address from which the Account's representative accepted the terms of service.
5428
+ */
5429
+ ip?: string;
5430
+
5431
+ /**
5432
+ * The URL to the service agreement the Account's representative accepted.
5433
+ */
5434
+ url?: string;
5435
+
5436
+ /**
5437
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
5438
+ */
5439
+ user_agent?: string;
5440
+ }
5441
+
5442
+ interface Platform {
5443
+ /**
5444
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
5445
+ */
5446
+ date?: string;
5447
+
5448
+ /**
5449
+ * The IP address from which the Account's representative accepted the terms of service.
5450
+ */
5451
+ ip?: string;
5452
+
5453
+ /**
5454
+ * The URL to the service agreement the Account's representative accepted.
5455
+ */
5456
+ url?: string;
5457
+
5458
+ /**
5459
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
5460
+ */
5461
+ user_agent?: string;
5462
+ }
5463
+ }
5464
+
5465
+ interface SpendCard {
5466
+ /**
5467
+ * Bank terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
5468
+ */
5469
+ bank_terms?: SpendCard.BankTerms;
5470
+
5471
+ /**
5472
+ * Financial disclosures terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
5473
+ */
5474
+ financing_disclosures?: SpendCard.FinancingDisclosures;
5475
+
5476
+ /**
5477
+ * Platform terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
5478
+ */
5479
+ platform?: SpendCard.Platform;
5480
+ }
5481
+
5482
+ namespace SpendCard {
5483
+ interface BankTerms {
5484
+ /**
5485
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
5486
+ */
5487
+ date?: string;
5488
+
5489
+ /**
5490
+ * The IP address from which the Account's representative accepted the terms of service.
5491
+ */
5492
+ ip?: string;
5493
+
5494
+ /**
5495
+ * The URL to the service agreement the Account's representative accepted.
5496
+ */
5497
+ url?: string;
5498
+
5499
+ /**
5500
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
5501
+ */
5502
+ user_agent?: string;
5503
+ }
5504
+
5505
+ interface FinancingDisclosures {
5506
+ /**
5507
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
5508
+ */
5509
+ date?: string;
5510
+
5511
+ /**
5512
+ * The IP address from which the Account's representative accepted the terms of service.
5513
+ */
5514
+ ip?: string;
5515
+
5516
+ /**
5517
+ * The URL to the service agreement the Account's representative accepted.
5518
+ */
5519
+ url?: string;
5520
+
5521
+ /**
5522
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
5523
+ */
5524
+ user_agent?: string;
5525
+ }
5526
+
5527
+ interface Platform {
5528
+ /**
5529
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
5530
+ */
5531
+ date?: string;
5532
+
5533
+ /**
5534
+ * The IP address from which the Account's representative accepted the terms of service.
5535
+ */
5536
+ ip?: string;
5537
+
5538
+ /**
5539
+ * The URL to the service agreement the Account's representative accepted.
5540
+ */
5541
+ url?: string;
5542
+
5543
+ /**
5544
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
5545
+ */
5546
+ user_agent?: string;
5547
+ }
5548
+ }
5549
+ }
5550
+
5551
+ interface CrossRiverBank {
5552
+ /**
5553
+ * Terms of service acceptances for commercial issuing Apple Pay cards with Cross River Bank as BIN sponsor.
5554
+ */
5555
+ apple_pay?: CrossRiverBank.ApplePay;
5556
+
5557
+ /**
5558
+ * Terms of service acceptances for commercial issuing charge cards with Cross River Bank as BIN sponsor.
5559
+ */
5560
+ charge_card?: CrossRiverBank.ChargeCard;
5561
+
5562
+ /**
5563
+ * Terms of service acceptances for commercial issuing spend cards with Cross River Bank as BIN sponsor.
5564
+ */
5565
+ spend_card?: CrossRiverBank.SpendCard;
5566
+ }
5567
+
5568
+ namespace CrossRiverBank {
5569
+ interface ApplePay {
5570
+ /**
5571
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
5572
+ */
5573
+ date?: string;
5574
+
5575
+ /**
5576
+ * The IP address from which the Account's representative accepted the terms of service.
5577
+ */
5578
+ ip?: string;
5579
+
5580
+ /**
5581
+ * The URL to the service agreement the Account's representative accepted.
5582
+ */
5583
+ url?: string;
5584
+
5585
+ /**
5586
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
5587
+ */
5588
+ user_agent?: string;
5589
+ }
5590
+
5591
+ interface ChargeCard {
5592
+ /**
5593
+ * Bank terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
5594
+ */
5595
+ bank_terms?: ChargeCard.BankTerms;
5596
+
5597
+ /**
5598
+ * Financial disclosures terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
5599
+ */
5600
+ financing_disclosures?: ChargeCard.FinancingDisclosures;
5601
+
5602
+ /**
5603
+ * Platform terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
5604
+ */
5605
+ platform?: ChargeCard.Platform;
5606
+ }
5607
+
5608
+ namespace ChargeCard {
5609
+ interface BankTerms {
5610
+ /**
5611
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
5612
+ */
5613
+ date?: string;
5614
+
5615
+ /**
5616
+ * The IP address from which the Account's representative accepted the terms of service.
5617
+ */
5618
+ ip?: string;
5619
+
5620
+ /**
5621
+ * The URL to the service agreement the Account's representative accepted.
5622
+ */
5623
+ url?: string;
5624
+
5625
+ /**
5626
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
5627
+ */
5628
+ user_agent?: string;
5629
+ }
5630
+
5631
+ interface FinancingDisclosures {
5632
+ /**
5633
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
5634
+ */
5635
+ date?: string;
5636
+
5637
+ /**
5638
+ * The IP address from which the Account's representative accepted the terms of service.
5639
+ */
5640
+ ip?: string;
5641
+
5642
+ /**
5643
+ * The URL to the service agreement the Account's representative accepted.
5644
+ */
5645
+ url?: string;
5646
+
5647
+ /**
5648
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
5649
+ */
5650
+ user_agent?: string;
5651
+ }
5652
+
5653
+ interface Platform {
5654
+ /**
5655
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
5656
+ */
5657
+ date?: string;
5658
+
5659
+ /**
5660
+ * The IP address from which the Account's representative accepted the terms of service.
5661
+ */
5662
+ ip?: string;
5663
+
5664
+ /**
5665
+ * The URL to the service agreement the Account's representative accepted.
5666
+ */
5667
+ url?: string;
5668
+
5669
+ /**
5670
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
5671
+ */
5672
+ user_agent?: string;
5673
+ }
5674
+ }
5675
+
5676
+ interface SpendCard {
5677
+ /**
5678
+ * Bank terms of service acceptance for commercial issuing spend cards with Cross River Bank as BIN sponsor.
5679
+ */
5680
+ bank_terms?: SpendCard.BankTerms;
5681
+
5682
+ /**
5683
+ * Financial disclosures terms of service acceptance for commercial issuing spend cards with Cross River Bank as BIN sponsor.
5684
+ */
5685
+ financing_disclosures?: SpendCard.FinancingDisclosures;
5686
+ }
5687
+
5688
+ namespace SpendCard {
5689
+ interface BankTerms {
5690
+ /**
5691
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
5692
+ */
5693
+ date?: string;
5694
+
5695
+ /**
5696
+ * The IP address from which the Account's representative accepted the terms of service.
5697
+ */
5698
+ ip?: string;
5699
+
5700
+ /**
5701
+ * The URL to the service agreement the Account's representative accepted.
5702
+ */
5703
+ url?: string;
5704
+
5705
+ /**
5706
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
5707
+ */
5708
+ user_agent?: string;
5709
+ }
5710
+
5711
+ interface FinancingDisclosures {
5712
+ /**
5713
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
5714
+ */
5715
+ date?: string;
5716
+
5717
+ /**
5718
+ * The IP address from which the Account's representative accepted the terms of service.
5719
+ */
5720
+ ip?: string;
5721
+
5722
+ /**
5723
+ * The URL to the service agreement the Account's representative accepted.
5724
+ */
5725
+ url?: string;
5726
+
5727
+ /**
5728
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
5729
+ */
5730
+ user_agent?: string;
5731
+ }
5732
+ }
5733
+ }
5734
+ }
5735
+ }
5736
+
5737
+ interface CryptoStorer {
5738
+ /**
5739
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
5740
+ */
5741
+ date?: string;
5742
+
5743
+ /**
5744
+ * The IP address from which the Account's representative accepted the terms of service.
5745
+ */
5746
+ ip?: string;
5747
+
5748
+ /**
5749
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
5750
+ */
5751
+ user_agent?: string;
5752
+ }
5753
+
4403
5754
  interface Storer {
4404
5755
  /**
4405
5756
  * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
@@ -4430,6 +5781,11 @@ declare module 'stripe' {
4430
5781
  */
4431
5782
  annual_revenue?: BusinessDetails.AnnualRevenue;
4432
5783
 
5784
+ /**
5785
+ * A detailed description of the business's compliance and anti-money laundering controls and practices.
5786
+ */
5787
+ compliance_screening_description?: string;
5788
+
4433
5789
  /**
4434
5790
  * Documents that may be submitted to satisfy various informational requests.
4435
5791
  */
@@ -5777,12 +7133,20 @@ declare module 'stripe' {
5777
7133
  | 'card_payments'
5778
7134
  | 'cartes_bancaires_payments'
5779
7135
  | 'cashapp_payments'
7136
+ | 'commercial.celtic.charge_card'
7137
+ | 'commercial.celtic.spend_card'
7138
+ | 'commercial.cross_river_bank.charge_card'
7139
+ | 'commercial.cross_river_bank.spend_card'
7140
+ | 'commercial.stripe.charge_card'
7141
+ | 'commercial.stripe.prepaid_card'
7142
+ | 'crypto'
5780
7143
  | 'eps_payments'
5781
7144
  | 'financial_addresses.bank_accounts'
5782
7145
  | 'fpx_payments'
5783
7146
  | 'gb_bank_transfer_payments'
5784
7147
  | 'grabpay_payments'
5785
7148
  | 'holds_currencies.gbp'
7149
+ | 'holds_currencies.usd'
5786
7150
  | 'ideal_payments'
5787
7151
  | 'inbound_transfers.financial_accounts'
5788
7152
  | 'jcb_payments'
@@ -5819,6 +7183,7 @@ declare module 'stripe' {
5819
7183
  | 'zip_payments';
5820
7184
 
5821
7185
  type Configuration =
7186
+ | 'card_creator'
5822
7187
  | 'customer'
5823
7188
  | 'merchant'
5824
7189
  | 'recipient'