stripe 16.2.0-beta.1 → 16.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (153) hide show
  1. package/CHANGELOG.md +114 -752
  2. package/README.md +0 -33
  3. package/VERSION +1 -1
  4. package/cjs/RequestSender.js +5 -66
  5. package/cjs/StripeResource.js +1 -1
  6. package/cjs/apiVersion.js +1 -2
  7. package/cjs/multipart.js +1 -1
  8. package/cjs/resources/FinancialConnections/Accounts.js +0 -5
  9. package/cjs/resources/Invoices.js +0 -13
  10. package/cjs/resources/OAuth.js +1 -1
  11. package/cjs/resources/PaymentIntents.js +0 -4
  12. package/cjs/resources/Quotes.js +0 -32
  13. package/cjs/resources/SubscriptionSchedules.js +0 -4
  14. package/cjs/resources/Terminal/Readers.js +0 -12
  15. package/cjs/resources.js +10 -36
  16. package/cjs/stripe.core.js +3 -6
  17. package/cjs/utils.js +3 -30
  18. package/esm/RequestSender.js +6 -67
  19. package/esm/StripeResource.js +2 -2
  20. package/esm/apiVersion.js +0 -1
  21. package/esm/multipart.js +2 -2
  22. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  23. package/esm/resources/Invoices.js +0 -13
  24. package/esm/resources/OAuth.js +2 -2
  25. package/esm/resources/PaymentIntents.js +0 -4
  26. package/esm/resources/Quotes.js +0 -32
  27. package/esm/resources/SubscriptionSchedules.js +0 -4
  28. package/esm/resources/Terminal/Readers.js +0 -12
  29. package/esm/resources.js +0 -22
  30. package/esm/stripe.core.js +3 -6
  31. package/esm/utils.js +1 -27
  32. package/package.json +1 -1
  33. package/types/AccountLinksResource.d.ts +1 -5
  34. package/types/AccountSessions.d.ts +0 -15
  35. package/types/AccountSessionsResource.d.ts +0 -205
  36. package/types/Accounts.d.ts +1 -88
  37. package/types/AccountsResource.d.ts +0 -204
  38. package/types/Billing/MeterEventSummaries.d.ts +2 -2
  39. package/types/Billing/MetersResource.d.ts +2 -2
  40. package/types/Charges.d.ts +0 -67
  41. package/types/ChargesResource.d.ts +0 -1294
  42. package/types/Checkout/Sessions.d.ts +1 -23
  43. package/types/Checkout/SessionsResource.d.ts +1 -15
  44. package/types/ConfirmationTokens.d.ts +0 -83
  45. package/types/Coupons.d.ts +1 -1
  46. package/types/CouponsResource.d.ts +1 -1
  47. package/types/CreditNotes.d.ts +0 -21
  48. package/types/CreditNotesResource.d.ts +0 -51
  49. package/types/CustomerSessions.d.ts +6 -54
  50. package/types/CustomerSessionsResource.d.ts +2 -50
  51. package/types/Customers.d.ts +1 -1
  52. package/types/CustomersResource.d.ts +0 -2
  53. package/types/Disputes.d.ts +0 -167
  54. package/types/DisputesResource.d.ts +0 -120
  55. package/types/EventTypes.d.ts +1 -427
  56. package/types/Events.d.ts +0 -83
  57. package/types/FinancialConnections/Accounts.d.ts +1 -29
  58. package/types/FinancialConnections/AccountsResource.d.ts +3 -35
  59. package/types/FinancialConnections/Sessions.d.ts +1 -44
  60. package/types/FinancialConnections/SessionsResource.d.ts +1 -33
  61. package/types/InvoiceItems.d.ts +0 -5
  62. package/types/InvoiceItemsResource.d.ts +0 -98
  63. package/types/InvoiceLineItems.d.ts +0 -22
  64. package/types/Invoices.d.ts +2 -110
  65. package/types/InvoicesResource.d.ts +1844 -5411
  66. package/types/Issuing/CardholdersResource.d.ts +1 -2
  67. package/types/Issuing/Cards.d.ts +0 -34
  68. package/types/Issuing/CardsResource.d.ts +0 -125
  69. package/types/LineItems.d.ts +0 -7
  70. package/types/Mandates.d.ts +0 -77
  71. package/types/PaymentIntents.d.ts +2 -463
  72. package/types/PaymentIntentsResource.d.ts +3377 -6710
  73. package/types/PaymentMethods.d.ts +0 -62
  74. package/types/PaymentMethodsResource.d.ts +0 -110
  75. package/types/Prices.d.ts +0 -22
  76. package/types/PricesResource.d.ts +0 -22
  77. package/types/Products.d.ts +0 -39
  78. package/types/ProductsResource.d.ts +0 -36
  79. package/types/Quotes.d.ts +1 -578
  80. package/types/QuotesResource.d.ts +266 -3175
  81. package/types/SetupAttempts.d.ts +1 -8
  82. package/types/SetupIntents.d.ts +2 -104
  83. package/types/SetupIntentsResource.d.ts +3 -483
  84. package/types/Sources.d.ts +0 -23
  85. package/types/SubscriptionItems.d.ts +0 -21
  86. package/types/SubscriptionItemsResource.d.ts +0 -109
  87. package/types/SubscriptionSchedules.d.ts +0 -164
  88. package/types/SubscriptionSchedulesResource.d.ts +13 -1231
  89. package/types/Subscriptions.d.ts +1 -41
  90. package/types/SubscriptionsResource.d.ts +2 -337
  91. package/types/Tax/Transactions.d.ts +5 -0
  92. package/types/Tax/TransactionsResource.d.ts +5 -0
  93. package/types/Terminal/Readers.d.ts +0 -278
  94. package/types/Terminal/ReadersResource.d.ts +0 -208
  95. package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -55
  96. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  97. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  98. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  99. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  100. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  101. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  102. package/types/WebhookEndpointsResource.d.ts +0 -50
  103. package/types/index.d.ts +0 -61
  104. package/types/lib.d.ts +0 -12
  105. package/cjs/resources/AccountNotices.js +0 -21
  106. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  107. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  108. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  109. package/cjs/resources/GiftCards/Cards.js +0 -23
  110. package/cjs/resources/GiftCards/Transactions.js +0 -33
  111. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  112. package/cjs/resources/Margins.js +0 -22
  113. package/cjs/resources/Orders.js +0 -24
  114. package/cjs/resources/QuotePhases.js +0 -22
  115. package/cjs/resources/Tax/Forms.js +0 -20
  116. package/esm/resources/AccountNotices.js +0 -18
  117. package/esm/resources/Capital/FinancingOffers.js +0 -18
  118. package/esm/resources/Capital/FinancingSummary.js +0 -9
  119. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  120. package/esm/resources/GiftCards/Cards.js +0 -20
  121. package/esm/resources/GiftCards/Transactions.js +0 -30
  122. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  123. package/esm/resources/Margins.js +0 -19
  124. package/esm/resources/Orders.js +0 -21
  125. package/esm/resources/QuotePhases.js +0 -19
  126. package/esm/resources/Tax/Forms.js +0 -17
  127. package/types/AccountNotices.d.ts +0 -110
  128. package/types/AccountNoticesResource.d.ts +0 -98
  129. package/types/Capital/FinancingOffers.d.ts +0 -188
  130. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  131. package/types/Capital/FinancingSummary.d.ts +0 -106
  132. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  133. package/types/Capital/FinancingTransactions.d.ts +0 -135
  134. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  135. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  136. package/types/GiftCards/Cards.d.ts +0 -118
  137. package/types/GiftCards/CardsResource.d.ts +0 -159
  138. package/types/GiftCards/Transactions.d.ts +0 -129
  139. package/types/GiftCards/TransactionsResource.d.ts +0 -201
  140. package/types/InvoicePayments.d.ts +0 -91
  141. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -446
  142. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1017
  143. package/types/Margins.d.ts +0 -56
  144. package/types/MarginsResource.d.ts +0 -114
  145. package/types/Orders.d.ts +0 -1057
  146. package/types/OrdersResource.d.ts +0 -2711
  147. package/types/QuoteLines.d.ts +0 -634
  148. package/types/QuotePhases.d.ts +0 -198
  149. package/types/QuotePhasesResource.d.ts +0 -67
  150. package/types/QuotePreviewInvoices.d.ts +0 -1528
  151. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -778
  152. package/types/Tax/Forms.d.ts +0 -133
  153. package/types/Tax/FormsResource.d.ts +0 -90
@@ -1,446 +0,0 @@
1
- // File generated from our OpenAPI spec
2
-
3
- declare module 'stripe' {
4
- namespace Stripe {
5
- namespace Issuing {
6
- /**
7
- * Every time an applicant submits an application for a Charge Card product your platform offers, or every time your platform takes a proactive credit decision on an existing account, you must record the decision by creating a new `CreditUnderwritingRecord` object on a connected account.
8
- *
9
- * [Follow the guide](https://stripe.com/docs/issuing/credit/report-credit-decisions-and-manage-aans) to learn about your requirements as a platform.
10
- */
11
- interface CreditUnderwritingRecord {
12
- /**
13
- * Unique identifier for the object.
14
- */
15
- id: string;
16
-
17
- /**
18
- * String representing the object's type. Objects of the same type share the same value.
19
- */
20
- object: 'issuing.credit_underwriting_record';
21
-
22
- /**
23
- * For decisions triggered by an application, details about the submission.
24
- */
25
- application: CreditUnderwritingRecord.Application | null;
26
-
27
- /**
28
- * Time at which the object was created. Measured in seconds since the Unix epoch.
29
- */
30
- created: number;
31
-
32
- /**
33
- * The event that triggered the underwriting.
34
- */
35
- created_from: CreditUnderwritingRecord.CreatedFrom;
36
-
37
- credit_user: CreditUnderwritingRecord.CreditUser;
38
-
39
- /**
40
- * Date when a decision was made.
41
- */
42
- decided_at: number | null;
43
-
44
- /**
45
- * Details about the decision.
46
- */
47
- decision: CreditUnderwritingRecord.Decision | null;
48
-
49
- /**
50
- * For underwriting initiated by an application, a decision must be taken 30 days after the submission.
51
- */
52
- decision_deadline: number | null;
53
-
54
- /**
55
- * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
56
- */
57
- livemode: boolean;
58
-
59
- /**
60
- * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
61
- */
62
- metadata: Stripe.Metadata | null;
63
-
64
- /**
65
- * If an exception to the usual underwriting criteria was made for this application, details about the exception must be provided. Exceptions should only be granted in rare circumstances, in consultation with Stripe Compliance.
66
- */
67
- underwriting_exception: CreditUnderwritingRecord.UnderwritingException | null;
68
- }
69
-
70
- namespace CreditUnderwritingRecord {
71
- interface Application {
72
- /**
73
- * The channel through which the applicant has submitted their application.
74
- */
75
- application_method: Application.ApplicationMethod;
76
-
77
- /**
78
- * Scope of demand made by the applicant.
79
- */
80
- purpose: Application.Purpose;
81
-
82
- /**
83
- * Date when the applicant submitted their application.
84
- */
85
- submitted_at: number;
86
- }
87
-
88
- namespace Application {
89
- type ApplicationMethod = 'in_person' | 'mail' | 'online' | 'phone';
90
-
91
- type Purpose = 'credit_limit_increase' | 'credit_line_opening';
92
- }
93
-
94
- type CreatedFrom = 'application' | 'proactive_review';
95
-
96
- interface CreditUser {
97
- /**
98
- * Email of the applicant or accountholder.
99
- */
100
- email: string;
101
-
102
- /**
103
- * Full name of the company or person.
104
- */
105
- name: string;
106
- }
107
-
108
- interface Decision {
109
- /**
110
- * Details about a decision application_rejected.
111
- */
112
- application_rejected: Decision.ApplicationRejected | null;
113
-
114
- /**
115
- * Details about a decision credit_limit_approved.
116
- */
117
- credit_limit_approved: Decision.CreditLimitApproved | null;
118
-
119
- /**
120
- * Details about a decision credit_limit_decreased.
121
- */
122
- credit_limit_decreased: Decision.CreditLimitDecreased | null;
123
-
124
- /**
125
- * Details about a decision credit_line_closed.
126
- */
127
- credit_line_closed: Decision.CreditLineClosed | null;
128
-
129
- /**
130
- * Outcome of the decision.
131
- */
132
- type: Decision.Type;
133
- }
134
-
135
- namespace Decision {
136
- interface ApplicationRejected {
137
- /**
138
- * Details about the `reasons.other` when present.
139
- */
140
- reason_other_explanation: string | null;
141
-
142
- /**
143
- * List of reasons why the application was rejected up to 4 reasons, in order of importance.
144
- */
145
- reasons: Array<ApplicationRejected.Reason>;
146
- }
147
-
148
- namespace ApplicationRejected {
149
- type Reason =
150
- | 'applicant_is_not_beneficial_owner'
151
- | 'applicant_too_young'
152
- | 'application_is_not_beneficial_owner'
153
- | 'bankruptcy'
154
- | 'business_size_too_small'
155
- | 'current_account_tier_ineligible'
156
- | 'customer_already_exists'
157
- | 'customer_requested_account_closure'
158
- | 'debt_to_cash_balance_ratio_too_high'
159
- | 'debt_to_equity_ratio_too_high'
160
- | 'delinquent_credit_obligations'
161
- | 'dispute_rate_too_high'
162
- | 'duration_of_residence'
163
- | 'excessive_income_or_revenue_obligations'
164
- | 'expenses_to_cash_balance_ratio_too_high'
165
- | 'foreclosure_or_repossession'
166
- | 'frozen_file_at_credit_bureau'
167
- | 'garnishment_or_attachment'
168
- | 'government_loan_program_criteria'
169
- | 'high_concentration_of_clients'
170
- | 'high_risk_industry'
171
- | 'incomplete_application'
172
- | 'inconsistent_monthly_revenues'
173
- | 'insufficient_account_history_with_platform'
174
- | 'insufficient_bank_account_history'
175
- | 'insufficient_cash_balance'
176
- | 'insufficient_cash_flow'
177
- | 'insufficient_collateral'
178
- | 'insufficient_credit_experience'
179
- | 'insufficient_deposits'
180
- | 'insufficient_income'
181
- | 'insufficient_margin_ratio'
182
- | 'insufficient_operating_profit'
183
- | 'insufficient_period_in_operation'
184
- | 'insufficient_reserves'
185
- | 'insufficient_revenue'
186
- | 'insufficient_social_media_performance'
187
- | 'insufficient_time_in_network'
188
- | 'insufficient_trade_credit_insurance'
189
- | 'invalid_business_license'
190
- | 'lacking_cash_account'
191
- | 'late_payment_history_reported_to_bureau'
192
- | 'lien_collection_action_or_judgement'
193
- | 'negative_public_information'
194
- | 'no_credit_file'
195
- | 'other'
196
- | 'outside_supported_country'
197
- | 'outside_supported_state'
198
- | 'poor_payment_history_with_platform'
199
- | 'prior_or_current_legal_action'
200
- | 'prohibited_industry'
201
- | 'rate_of_cash_balance_fluctuation_too_high'
202
- | 'recent_inquiries_on_business_credit_report'
203
- | 'removal_of_bank_account_connection'
204
- | 'revenue_discrepancy'
205
- | 'runway_too_short'
206
- | 'suspected_fraud'
207
- | 'too_many_non_sufficient_funds_or_overdrafts'
208
- | 'unable_to_verify_address'
209
- | 'unable_to_verify_identity'
210
- | 'unable_to_verify_income_or_revenue'
211
- | 'unprofitable'
212
- | 'unsupportable_business_type';
213
- }
214
-
215
- interface CreditLimitApproved {
216
- /**
217
- * Credit amount approved. An approved credit limit is required before you can set a amount in the [CreditPolicy API](https://stripe.com/docs/api/issuing/credit_policy).
218
- */
219
- amount: number;
220
-
221
- /**
222
- * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
223
- */
224
- currency: string;
225
- }
226
-
227
- interface CreditLimitDecreased {
228
- /**
229
- * Credit amount approved after decrease. An approved credit limit is required before you can set a amount in the [CreditPolicy API](https://stripe.com/docs/api/issuing/credit_policy).
230
- */
231
- amount: number;
232
-
233
- /**
234
- * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
235
- */
236
- currency: string;
237
-
238
- /**
239
- * Details about the `reasons.other` when present.
240
- */
241
- reason_other_explanation: string | null;
242
-
243
- /**
244
- * List of reasons why the existing credit was decreased, up to 4 reasons, in order of importance.
245
- */
246
- reasons: Array<CreditLimitDecreased.Reason>;
247
- }
248
-
249
- namespace CreditLimitDecreased {
250
- type Reason =
251
- | 'applicant_is_not_beneficial_owner'
252
- | 'applicant_too_young'
253
- | 'application_is_not_beneficial_owner'
254
- | 'bankruptcy'
255
- | 'business_size_too_small'
256
- | 'change_in_financial_state'
257
- | 'change_in_utilization_of_credit_line'
258
- | 'current_account_tier_ineligible'
259
- | 'customer_already_exists'
260
- | 'customer_requested_account_closure'
261
- | 'debt_to_cash_balance_ratio_too_high'
262
- | 'debt_to_equity_ratio_too_high'
263
- | 'decrease_in_income_to_expense_ratio'
264
- | 'decrease_in_social_media_performance'
265
- | 'delinquent_credit_obligations'
266
- | 'dispute_rate_too_high'
267
- | 'duration_of_residence'
268
- | 'exceeds_acceptable_platform_exposure'
269
- | 'excessive_income_or_revenue_obligations'
270
- | 'expenses_to_cash_balance_ratio_too_high'
271
- | 'foreclosure_or_repossession'
272
- | 'frozen_file_at_credit_bureau'
273
- | 'garnishment_or_attachment'
274
- | 'government_loan_program_criteria'
275
- | 'has_recent_credit_limit_increase'
276
- | 'high_concentration_of_clients'
277
- | 'high_risk_industry'
278
- | 'incomplete_application'
279
- | 'inconsistent_monthly_revenues'
280
- | 'insufficient_account_history_with_platform'
281
- | 'insufficient_bank_account_history'
282
- | 'insufficient_cash_balance'
283
- | 'insufficient_cash_flow'
284
- | 'insufficient_collateral'
285
- | 'insufficient_credit_experience'
286
- | 'insufficient_credit_utilization'
287
- | 'insufficient_deposits'
288
- | 'insufficient_income'
289
- | 'insufficient_margin_ratio'
290
- | 'insufficient_operating_profit'
291
- | 'insufficient_period_in_operation'
292
- | 'insufficient_reserves'
293
- | 'insufficient_revenue'
294
- | 'insufficient_social_media_performance'
295
- | 'insufficient_time_in_network'
296
- | 'insufficient_trade_credit_insurance'
297
- | 'insufficient_usage_as_qualified_expenses'
298
- | 'invalid_business_license'
299
- | 'lacking_cash_account'
300
- | 'late_payment_history_reported_to_bureau'
301
- | 'lien_collection_action_or_judgement'
302
- | 'negative_public_information'
303
- | 'no_credit_file'
304
- | 'other'
305
- | 'outside_supported_country'
306
- | 'outside_supported_state'
307
- | 'poor_payment_history_with_platform'
308
- | 'prior_or_current_legal_action'
309
- | 'prohibited_industry'
310
- | 'rate_of_cash_balance_fluctuation_too_high'
311
- | 'recent_inquiries_on_business_credit_report'
312
- | 'removal_of_bank_account_connection'
313
- | 'revenue_discrepancy'
314
- | 'runway_too_short'
315
- | 'suspected_fraud'
316
- | 'too_many_non_sufficient_funds_or_overdrafts'
317
- | 'unable_to_verify_address'
318
- | 'unable_to_verify_identity'
319
- | 'unable_to_verify_income_or_revenue'
320
- | 'unprofitable'
321
- | 'unsupportable_business_type';
322
- }
323
-
324
- interface CreditLineClosed {
325
- /**
326
- * Details about the `reasons.other` when present.
327
- */
328
- reason_other_explanation: string | null;
329
-
330
- /**
331
- * List of reasons why the existing account was closed, up to 4 reasons, in order of importance.
332
- */
333
- reasons: Array<CreditLineClosed.Reason>;
334
- }
335
-
336
- namespace CreditLineClosed {
337
- type Reason =
338
- | 'applicant_is_not_beneficial_owner'
339
- | 'applicant_too_young'
340
- | 'application_is_not_beneficial_owner'
341
- | 'bankruptcy'
342
- | 'business_size_too_small'
343
- | 'change_in_financial_state'
344
- | 'change_in_utilization_of_credit_line'
345
- | 'current_account_tier_ineligible'
346
- | 'customer_already_exists'
347
- | 'customer_requested_account_closure'
348
- | 'debt_to_cash_balance_ratio_too_high'
349
- | 'debt_to_equity_ratio_too_high'
350
- | 'decrease_in_income_to_expense_ratio'
351
- | 'decrease_in_social_media_performance'
352
- | 'delinquent_credit_obligations'
353
- | 'dispute_rate_too_high'
354
- | 'duration_of_residence'
355
- | 'exceeds_acceptable_platform_exposure'
356
- | 'excessive_income_or_revenue_obligations'
357
- | 'expenses_to_cash_balance_ratio_too_high'
358
- | 'foreclosure_or_repossession'
359
- | 'frozen_file_at_credit_bureau'
360
- | 'garnishment_or_attachment'
361
- | 'government_loan_program_criteria'
362
- | 'has_recent_credit_limit_increase'
363
- | 'high_concentration_of_clients'
364
- | 'high_risk_industry'
365
- | 'incomplete_application'
366
- | 'inconsistent_monthly_revenues'
367
- | 'insufficient_account_history_with_platform'
368
- | 'insufficient_bank_account_history'
369
- | 'insufficient_cash_balance'
370
- | 'insufficient_cash_flow'
371
- | 'insufficient_collateral'
372
- | 'insufficient_credit_experience'
373
- | 'insufficient_credit_utilization'
374
- | 'insufficient_deposits'
375
- | 'insufficient_income'
376
- | 'insufficient_margin_ratio'
377
- | 'insufficient_operating_profit'
378
- | 'insufficient_period_in_operation'
379
- | 'insufficient_reserves'
380
- | 'insufficient_revenue'
381
- | 'insufficient_social_media_performance'
382
- | 'insufficient_time_in_network'
383
- | 'insufficient_trade_credit_insurance'
384
- | 'insufficient_usage_as_qualified_expenses'
385
- | 'invalid_business_license'
386
- | 'lacking_cash_account'
387
- | 'late_payment_history_reported_to_bureau'
388
- | 'lien_collection_action_or_judgement'
389
- | 'negative_public_information'
390
- | 'no_credit_file'
391
- | 'other'
392
- | 'outside_supported_country'
393
- | 'outside_supported_state'
394
- | 'poor_payment_history_with_platform'
395
- | 'prior_or_current_legal_action'
396
- | 'prohibited_industry'
397
- | 'rate_of_cash_balance_fluctuation_too_high'
398
- | 'recent_inquiries_on_business_credit_report'
399
- | 'removal_of_bank_account_connection'
400
- | 'revenue_discrepancy'
401
- | 'runway_too_short'
402
- | 'suspected_fraud'
403
- | 'too_many_non_sufficient_funds_or_overdrafts'
404
- | 'unable_to_verify_address'
405
- | 'unable_to_verify_identity'
406
- | 'unable_to_verify_income_or_revenue'
407
- | 'unprofitable'
408
- | 'unsupportable_business_type';
409
- }
410
-
411
- type Type =
412
- | 'additional_information_requested'
413
- | 'application_rejected'
414
- | 'credit_limit_approved'
415
- | 'credit_limit_decreased'
416
- | 'credit_line_closed'
417
- | 'no_changes'
418
- | 'withdrawn_by_applicant';
419
- }
420
-
421
- interface UnderwritingException {
422
- /**
423
- * Written explanation for the exception.
424
- */
425
- explanation: string;
426
-
427
- /**
428
- * The decision before the exception was applied.
429
- */
430
- original_decision_type: UnderwritingException.OriginalDecisionType;
431
- }
432
-
433
- namespace UnderwritingException {
434
- type OriginalDecisionType =
435
- | 'additional_information_requested'
436
- | 'application_rejected'
437
- | 'credit_limit_approved'
438
- | 'credit_limit_decreased'
439
- | 'credit_line_closed'
440
- | 'no_changes'
441
- | 'withdrawn_by_applicant';
442
- }
443
- }
444
- }
445
- }
446
- }