stripe 16.2.0 → 16.3.0-beta.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 (152) hide show
  1. package/CHANGELOG.md +761 -114
  2. package/README.md +33 -0
  3. package/VERSION +1 -1
  4. package/cjs/RequestSender.js +66 -5
  5. package/cjs/StripeResource.js +1 -1
  6. package/cjs/apiVersion.js +2 -1
  7. package/cjs/multipart.js +1 -1
  8. package/cjs/resources/AccountNotices.js +21 -0
  9. package/cjs/resources/Capital/FinancingOffers.js +21 -0
  10. package/cjs/resources/Capital/FinancingSummary.js +12 -0
  11. package/cjs/resources/Capital/FinancingTransactions.js +17 -0
  12. package/cjs/resources/FinancialConnections/Accounts.js +5 -0
  13. package/cjs/resources/FinancialConnections/Institutions.js +17 -0
  14. package/cjs/resources/GiftCards/Cards.js +23 -0
  15. package/cjs/resources/GiftCards/Transactions.js +33 -0
  16. package/cjs/resources/Invoices.js +13 -0
  17. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +33 -0
  18. package/cjs/resources/Margins.js +22 -0
  19. package/cjs/resources/OAuth.js +1 -1
  20. package/cjs/resources/Orders.js +24 -0
  21. package/cjs/resources/PaymentIntents.js +4 -0
  22. package/cjs/resources/QuotePhases.js +22 -0
  23. package/cjs/resources/Quotes.js +32 -0
  24. package/cjs/resources/SubscriptionSchedules.js +4 -0
  25. package/cjs/resources/Tax/Forms.js +20 -0
  26. package/cjs/resources/Terminal/Readers.js +12 -0
  27. package/cjs/resources.js +38 -10
  28. package/cjs/stripe.core.js +6 -3
  29. package/cjs/utils.js +30 -3
  30. package/esm/RequestSender.js +67 -6
  31. package/esm/StripeResource.js +2 -2
  32. package/esm/apiVersion.js +1 -0
  33. package/esm/multipart.js +2 -2
  34. package/esm/resources/AccountNotices.js +18 -0
  35. package/esm/resources/Capital/FinancingOffers.js +18 -0
  36. package/esm/resources/Capital/FinancingSummary.js +9 -0
  37. package/esm/resources/Capital/FinancingTransactions.js +14 -0
  38. package/esm/resources/FinancialConnections/Accounts.js +5 -0
  39. package/esm/resources/FinancialConnections/Institutions.js +14 -0
  40. package/esm/resources/GiftCards/Cards.js +20 -0
  41. package/esm/resources/GiftCards/Transactions.js +30 -0
  42. package/esm/resources/Invoices.js +13 -0
  43. package/esm/resources/Issuing/CreditUnderwritingRecords.js +30 -0
  44. package/esm/resources/Margins.js +19 -0
  45. package/esm/resources/OAuth.js +2 -2
  46. package/esm/resources/Orders.js +21 -0
  47. package/esm/resources/PaymentIntents.js +4 -0
  48. package/esm/resources/QuotePhases.js +19 -0
  49. package/esm/resources/Quotes.js +32 -0
  50. package/esm/resources/SubscriptionSchedules.js +4 -0
  51. package/esm/resources/Tax/Forms.js +17 -0
  52. package/esm/resources/Terminal/Readers.js +12 -0
  53. package/esm/resources.js +24 -0
  54. package/esm/stripe.core.js +6 -3
  55. package/esm/utils.js +27 -1
  56. package/package.json +1 -1
  57. package/types/AccountLinksResource.d.ts +5 -1
  58. package/types/AccountNotices.d.ts +110 -0
  59. package/types/AccountNoticesResource.d.ts +98 -0
  60. package/types/AccountSessions.d.ts +15 -0
  61. package/types/AccountSessionsResource.d.ts +205 -0
  62. package/types/Accounts.d.ts +88 -1
  63. package/types/AccountsResource.d.ts +204 -0
  64. package/types/Capital/FinancingOffers.d.ts +188 -0
  65. package/types/Capital/FinancingOffersResource.d.ts +97 -0
  66. package/types/Capital/FinancingSummary.d.ts +106 -0
  67. package/types/Capital/FinancingSummaryResource.d.ts +27 -0
  68. package/types/Capital/FinancingTransactions.d.ts +135 -0
  69. package/types/Capital/FinancingTransactionsResource.d.ts +68 -0
  70. package/types/Charges.d.ts +67 -0
  71. package/types/ChargesResource.d.ts +1294 -0
  72. package/types/Checkout/Sessions.d.ts +28 -1
  73. package/types/Checkout/SessionsResource.d.ts +15 -1
  74. package/types/ConfirmationTokens.d.ts +83 -0
  75. package/types/Coupons.d.ts +1 -1
  76. package/types/CouponsResource.d.ts +1 -1
  77. package/types/CreditNotes.d.ts +21 -0
  78. package/types/CreditNotesResource.d.ts +51 -0
  79. package/types/CustomerSessions.d.ts +76 -0
  80. package/types/CustomerSessionsResource.d.ts +76 -0
  81. package/types/CustomersResource.d.ts +2 -0
  82. package/types/Disputes.d.ts +167 -0
  83. package/types/DisputesResource.d.ts +120 -0
  84. package/types/EventTypes.d.ts +426 -0
  85. package/types/Events.d.ts +83 -0
  86. package/types/FinancialConnections/AccountInferredBalances.d.ts +38 -0
  87. package/types/FinancialConnections/Accounts.d.ts +29 -1
  88. package/types/FinancialConnections/AccountsResource.d.ts +35 -3
  89. package/types/FinancialConnections/Institutions.d.ts +93 -0
  90. package/types/FinancialConnections/InstitutionsResource.d.ts +47 -0
  91. package/types/FinancialConnections/Sessions.d.ts +49 -1
  92. package/types/FinancialConnections/SessionsResource.d.ts +38 -1
  93. package/types/GiftCards/Cards.d.ts +118 -0
  94. package/types/GiftCards/CardsResource.d.ts +159 -0
  95. package/types/GiftCards/Transactions.d.ts +129 -0
  96. package/types/GiftCards/TransactionsResource.d.ts +201 -0
  97. package/types/InvoiceItems.d.ts +5 -0
  98. package/types/InvoiceItemsResource.d.ts +98 -0
  99. package/types/InvoiceLineItems.d.ts +22 -0
  100. package/types/InvoicePayments.d.ts +91 -0
  101. package/types/Invoices.d.ts +116 -1
  102. package/types/InvoicesResource.d.ts +5395 -1818
  103. package/types/Issuing/CardholdersResource.d.ts +2 -1
  104. package/types/Issuing/Cards.d.ts +34 -0
  105. package/types/Issuing/CardsResource.d.ts +125 -0
  106. package/types/Issuing/CreditUnderwritingRecords.d.ts +446 -0
  107. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +1017 -0
  108. package/types/LineItems.d.ts +7 -0
  109. package/types/Mandates.d.ts +77 -0
  110. package/types/Margins.d.ts +56 -0
  111. package/types/MarginsResource.d.ts +114 -0
  112. package/types/Orders.d.ts +1057 -0
  113. package/types/OrdersResource.d.ts +2711 -0
  114. package/types/PaymentIntents.d.ts +469 -1
  115. package/types/PaymentIntentsResource.d.ts +6721 -3373
  116. package/types/PaymentMethods.d.ts +62 -0
  117. package/types/PaymentMethodsResource.d.ts +110 -0
  118. package/types/Prices.d.ts +22 -0
  119. package/types/PricesResource.d.ts +22 -0
  120. package/types/Products.d.ts +39 -0
  121. package/types/ProductsResource.d.ts +36 -0
  122. package/types/QuoteLines.d.ts +634 -0
  123. package/types/QuotePhases.d.ts +198 -0
  124. package/types/QuotePhasesResource.d.ts +67 -0
  125. package/types/QuotePreviewInvoices.d.ts +1535 -0
  126. package/types/QuotePreviewSubscriptionSchedules.d.ts +778 -0
  127. package/types/Quotes.d.ts +578 -1
  128. package/types/QuotesResource.d.ts +3174 -265
  129. package/types/SetupAttempts.d.ts +9 -0
  130. package/types/SetupIntents.d.ts +110 -1
  131. package/types/SetupIntentsResource.d.ts +498 -3
  132. package/types/Sources.d.ts +23 -0
  133. package/types/SubscriptionItems.d.ts +21 -0
  134. package/types/SubscriptionItemsResource.d.ts +109 -0
  135. package/types/SubscriptionSchedules.d.ts +164 -0
  136. package/types/SubscriptionSchedulesResource.d.ts +1234 -16
  137. package/types/Subscriptions.d.ts +46 -1
  138. package/types/SubscriptionsResource.d.ts +347 -2
  139. package/types/Tax/Forms.d.ts +133 -0
  140. package/types/Tax/FormsResource.d.ts +90 -0
  141. package/types/Terminal/Readers.d.ts +278 -0
  142. package/types/Terminal/ReadersResource.d.ts +208 -0
  143. package/types/TestHelpers/ConfirmationTokensResource.d.ts +55 -0
  144. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
  145. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
  146. package/types/Treasury/OutboundTransfers.d.ts +26 -0
  147. package/types/Treasury/OutboundTransfersResource.d.ts +26 -0
  148. package/types/Treasury/ReceivedCredits.d.ts +26 -0
  149. package/types/Treasury/ReceivedDebits.d.ts +31 -0
  150. package/types/WebhookEndpointsResource.d.ts +50 -0
  151. package/types/index.d.ts +64 -0
  152. package/types/lib.d.ts +12 -0
@@ -0,0 +1,1017 @@
1
+ // File generated from our OpenAPI spec
2
+
3
+ declare module 'stripe' {
4
+ namespace Stripe {
5
+ namespace Issuing {
6
+ interface CreditUnderwritingRecordRetrieveParams {
7
+ /**
8
+ * Specifies which fields in the response should be expanded.
9
+ */
10
+ expand?: Array<string>;
11
+ }
12
+
13
+ interface CreditUnderwritingRecordListParams extends PaginationParams {
14
+ /**
15
+ * Specifies which fields in the response should be expanded.
16
+ */
17
+ expand?: Array<string>;
18
+ }
19
+
20
+ interface CreditUnderwritingRecordCorrectParams {
21
+ /**
22
+ * Details about the application submission.
23
+ */
24
+ application?: CreditUnderwritingRecordCorrectParams.Application;
25
+
26
+ /**
27
+ * Information about the company or person applying or holding the account.
28
+ */
29
+ credit_user?: CreditUnderwritingRecordCorrectParams.CreditUser;
30
+
31
+ /**
32
+ * Date when a decision was made.
33
+ */
34
+ decided_at?: number;
35
+
36
+ /**
37
+ * Details about the decision.
38
+ */
39
+ decision?: CreditUnderwritingRecordCorrectParams.Decision;
40
+
41
+ /**
42
+ * Specifies which fields in the response should be expanded.
43
+ */
44
+ expand?: Array<string>;
45
+
46
+ /**
47
+ * 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
48
+ */
49
+ metadata?: Stripe.MetadataParam;
50
+
51
+ /**
52
+ * If an exception to the usual underwriting criteria was made for this decision, details about the exception must be provided. Exceptions should only be granted in rare circumstances, in consultation with Stripe Compliance.
53
+ */
54
+ underwriting_exception?: CreditUnderwritingRecordCorrectParams.UnderwritingException;
55
+ }
56
+
57
+ namespace CreditUnderwritingRecordCorrectParams {
58
+ interface Application {
59
+ /**
60
+ * The channel through which the applicant has submitted their application. Defaults to `online`.
61
+ */
62
+ application_method?: Application.ApplicationMethod;
63
+
64
+ /**
65
+ * Scope of demand made by the applicant.
66
+ */
67
+ purpose: Application.Purpose;
68
+
69
+ /**
70
+ * Date when the applicant submitted their application.
71
+ */
72
+ submitted_at: number;
73
+ }
74
+
75
+ namespace Application {
76
+ type ApplicationMethod = 'in_person' | 'mail' | 'online' | 'phone';
77
+
78
+ type Purpose = 'credit_limit_increase' | 'credit_line_opening';
79
+ }
80
+
81
+ interface CreditUser {
82
+ /**
83
+ * Email of the applicant or accountholder.
84
+ */
85
+ email: string;
86
+
87
+ /**
88
+ * Full name of the company or person.
89
+ */
90
+ name: string;
91
+ }
92
+
93
+ interface Decision {
94
+ /**
95
+ * Details about the application rejection.
96
+ */
97
+ application_rejected?: Decision.ApplicationRejected;
98
+
99
+ /**
100
+ * Details about the credit limit approved. An approved credit limit is required before you can set a `credit_limit_amount` in the [CreditPolicy API](https://stripe.com/docs/api/issuing/credit_policy/)
101
+ */
102
+ credit_limit_approved?: Decision.CreditLimitApproved;
103
+
104
+ /**
105
+ * Details about the credit limit decreased.
106
+ */
107
+ credit_limit_decreased?: Decision.CreditLimitDecreased;
108
+
109
+ /**
110
+ * Details about the credit line closed.
111
+ */
112
+ credit_line_closed?: Decision.CreditLineClosed;
113
+
114
+ /**
115
+ * Outcome of the decision.
116
+ */
117
+ type: Decision.Type;
118
+ }
119
+
120
+ namespace Decision {
121
+ interface ApplicationRejected {
122
+ /**
123
+ * Details about the `reasons.other` when present.
124
+ */
125
+ reason_other_explanation?: string;
126
+
127
+ /**
128
+ * List of reasons why the application was rejected, up to 4 reasons, in order of importance.
129
+ */
130
+ reasons: Array<ApplicationRejected.Reason>;
131
+ }
132
+
133
+ namespace ApplicationRejected {
134
+ type Reason =
135
+ | 'applicant_is_not_beneficial_owner'
136
+ | 'applicant_too_young'
137
+ | 'application_is_not_beneficial_owner'
138
+ | 'bankruptcy'
139
+ | 'business_size_too_small'
140
+ | 'current_account_tier_ineligible'
141
+ | 'customer_already_exists'
142
+ | 'customer_requested_account_closure'
143
+ | 'debt_to_cash_balance_ratio_too_high'
144
+ | 'debt_to_equity_ratio_too_high'
145
+ | 'delinquent_credit_obligations'
146
+ | 'dispute_rate_too_high'
147
+ | 'duration_of_residence'
148
+ | 'excessive_income_or_revenue_obligations'
149
+ | 'expenses_to_cash_balance_ratio_too_high'
150
+ | 'foreclosure_or_repossession'
151
+ | 'frozen_file_at_credit_bureau'
152
+ | 'garnishment_or_attachment'
153
+ | 'government_loan_program_criteria'
154
+ | 'high_concentration_of_clients'
155
+ | 'high_risk_industry'
156
+ | 'incomplete_application'
157
+ | 'inconsistent_monthly_revenues'
158
+ | 'insufficient_account_history_with_platform'
159
+ | 'insufficient_bank_account_history'
160
+ | 'insufficient_cash_balance'
161
+ | 'insufficient_cash_flow'
162
+ | 'insufficient_collateral'
163
+ | 'insufficient_credit_experience'
164
+ | 'insufficient_deposits'
165
+ | 'insufficient_income'
166
+ | 'insufficient_margin_ratio'
167
+ | 'insufficient_operating_profit'
168
+ | 'insufficient_period_in_operation'
169
+ | 'insufficient_reserves'
170
+ | 'insufficient_revenue'
171
+ | 'insufficient_social_media_performance'
172
+ | 'insufficient_time_in_network'
173
+ | 'insufficient_trade_credit_insurance'
174
+ | 'invalid_business_license'
175
+ | 'lacking_cash_account'
176
+ | 'late_payment_history_reported_to_bureau'
177
+ | 'lien_collection_action_or_judgement'
178
+ | 'negative_public_information'
179
+ | 'no_credit_file'
180
+ | 'other'
181
+ | 'outside_supported_country'
182
+ | 'outside_supported_state'
183
+ | 'poor_payment_history_with_platform'
184
+ | 'prior_or_current_legal_action'
185
+ | 'prohibited_industry'
186
+ | 'rate_of_cash_balance_fluctuation_too_high'
187
+ | 'recent_inquiries_on_business_credit_report'
188
+ | 'removal_of_bank_account_connection'
189
+ | 'revenue_discrepancy'
190
+ | 'runway_too_short'
191
+ | 'suspected_fraud'
192
+ | 'too_many_non_sufficient_funds_or_overdrafts'
193
+ | 'unable_to_verify_address'
194
+ | 'unable_to_verify_identity'
195
+ | 'unable_to_verify_income_or_revenue'
196
+ | 'unprofitable'
197
+ | 'unsupportable_business_type';
198
+ }
199
+
200
+ interface CreditLimitApproved {
201
+ /**
202
+ * The credit approved, in the currency of the account and [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).
203
+ */
204
+ amount: number;
205
+
206
+ /**
207
+ * The currency of the credit approved, will default to the Account's Issuing currency.
208
+ */
209
+ currency?: string;
210
+ }
211
+
212
+ interface CreditLimitDecreased {
213
+ /**
214
+ * The credit approved, in the currency of the account and [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).
215
+ */
216
+ amount: number;
217
+
218
+ /**
219
+ * The currency of the credit approved, will default to the Account's Issuing currency.
220
+ */
221
+ currency?: string;
222
+
223
+ /**
224
+ * Details about the `reasons.other` when present.
225
+ */
226
+ reason_other_explanation?: string;
227
+
228
+ /**
229
+ * List of reasons why the existing credit was decreased, up to 4 reasons, in order of importance.
230
+ */
231
+ reasons: Array<CreditLimitDecreased.Reason>;
232
+ }
233
+
234
+ namespace CreditLimitDecreased {
235
+ type Reason =
236
+ | 'applicant_is_not_beneficial_owner'
237
+ | 'applicant_too_young'
238
+ | 'application_is_not_beneficial_owner'
239
+ | 'bankruptcy'
240
+ | 'business_size_too_small'
241
+ | 'change_in_financial_state'
242
+ | 'change_in_utilization_of_credit_line'
243
+ | 'current_account_tier_ineligible'
244
+ | 'customer_already_exists'
245
+ | 'customer_requested_account_closure'
246
+ | 'debt_to_cash_balance_ratio_too_high'
247
+ | 'debt_to_equity_ratio_too_high'
248
+ | 'decrease_in_income_to_expense_ratio'
249
+ | 'decrease_in_social_media_performance'
250
+ | 'delinquent_credit_obligations'
251
+ | 'dispute_rate_too_high'
252
+ | 'duration_of_residence'
253
+ | 'exceeds_acceptable_platform_exposure'
254
+ | 'excessive_income_or_revenue_obligations'
255
+ | 'expenses_to_cash_balance_ratio_too_high'
256
+ | 'foreclosure_or_repossession'
257
+ | 'frozen_file_at_credit_bureau'
258
+ | 'garnishment_or_attachment'
259
+ | 'government_loan_program_criteria'
260
+ | 'has_recent_credit_limit_increase'
261
+ | 'high_concentration_of_clients'
262
+ | 'high_risk_industry'
263
+ | 'incomplete_application'
264
+ | 'inconsistent_monthly_revenues'
265
+ | 'insufficient_account_history_with_platform'
266
+ | 'insufficient_bank_account_history'
267
+ | 'insufficient_cash_balance'
268
+ | 'insufficient_cash_flow'
269
+ | 'insufficient_collateral'
270
+ | 'insufficient_credit_experience'
271
+ | 'insufficient_credit_utilization'
272
+ | 'insufficient_deposits'
273
+ | 'insufficient_income'
274
+ | 'insufficient_margin_ratio'
275
+ | 'insufficient_operating_profit'
276
+ | 'insufficient_period_in_operation'
277
+ | 'insufficient_reserves'
278
+ | 'insufficient_revenue'
279
+ | 'insufficient_social_media_performance'
280
+ | 'insufficient_time_in_network'
281
+ | 'insufficient_trade_credit_insurance'
282
+ | 'insufficient_usage_as_qualified_expenses'
283
+ | 'invalid_business_license'
284
+ | 'lacking_cash_account'
285
+ | 'late_payment_history_reported_to_bureau'
286
+ | 'lien_collection_action_or_judgement'
287
+ | 'negative_public_information'
288
+ | 'no_credit_file'
289
+ | 'other'
290
+ | 'outside_supported_country'
291
+ | 'outside_supported_state'
292
+ | 'poor_payment_history_with_platform'
293
+ | 'prior_or_current_legal_action'
294
+ | 'prohibited_industry'
295
+ | 'rate_of_cash_balance_fluctuation_too_high'
296
+ | 'recent_inquiries_on_business_credit_report'
297
+ | 'removal_of_bank_account_connection'
298
+ | 'revenue_discrepancy'
299
+ | 'runway_too_short'
300
+ | 'suspected_fraud'
301
+ | 'too_many_non_sufficient_funds_or_overdrafts'
302
+ | 'unable_to_verify_address'
303
+ | 'unable_to_verify_identity'
304
+ | 'unable_to_verify_income_or_revenue'
305
+ | 'unprofitable'
306
+ | 'unsupportable_business_type';
307
+ }
308
+
309
+ interface CreditLineClosed {
310
+ /**
311
+ * Details about the `reasons.other` when present.
312
+ */
313
+ reason_other_explanation?: string;
314
+
315
+ /**
316
+ * List of reasons why the credit line was closed, up to 4 reasons, in order of importance.
317
+ */
318
+ reasons: Array<CreditLineClosed.Reason>;
319
+ }
320
+
321
+ namespace CreditLineClosed {
322
+ type Reason =
323
+ | 'applicant_is_not_beneficial_owner'
324
+ | 'applicant_too_young'
325
+ | 'application_is_not_beneficial_owner'
326
+ | 'bankruptcy'
327
+ | 'business_size_too_small'
328
+ | 'change_in_financial_state'
329
+ | 'change_in_utilization_of_credit_line'
330
+ | 'current_account_tier_ineligible'
331
+ | 'customer_already_exists'
332
+ | 'customer_requested_account_closure'
333
+ | 'debt_to_cash_balance_ratio_too_high'
334
+ | 'debt_to_equity_ratio_too_high'
335
+ | 'decrease_in_income_to_expense_ratio'
336
+ | 'decrease_in_social_media_performance'
337
+ | 'delinquent_credit_obligations'
338
+ | 'dispute_rate_too_high'
339
+ | 'duration_of_residence'
340
+ | 'exceeds_acceptable_platform_exposure'
341
+ | 'excessive_income_or_revenue_obligations'
342
+ | 'expenses_to_cash_balance_ratio_too_high'
343
+ | 'foreclosure_or_repossession'
344
+ | 'frozen_file_at_credit_bureau'
345
+ | 'garnishment_or_attachment'
346
+ | 'government_loan_program_criteria'
347
+ | 'has_recent_credit_limit_increase'
348
+ | 'high_concentration_of_clients'
349
+ | 'high_risk_industry'
350
+ | 'incomplete_application'
351
+ | 'inconsistent_monthly_revenues'
352
+ | 'insufficient_account_history_with_platform'
353
+ | 'insufficient_bank_account_history'
354
+ | 'insufficient_cash_balance'
355
+ | 'insufficient_cash_flow'
356
+ | 'insufficient_collateral'
357
+ | 'insufficient_credit_experience'
358
+ | 'insufficient_credit_utilization'
359
+ | 'insufficient_deposits'
360
+ | 'insufficient_income'
361
+ | 'insufficient_margin_ratio'
362
+ | 'insufficient_operating_profit'
363
+ | 'insufficient_period_in_operation'
364
+ | 'insufficient_reserves'
365
+ | 'insufficient_revenue'
366
+ | 'insufficient_social_media_performance'
367
+ | 'insufficient_time_in_network'
368
+ | 'insufficient_trade_credit_insurance'
369
+ | 'insufficient_usage_as_qualified_expenses'
370
+ | 'invalid_business_license'
371
+ | 'lacking_cash_account'
372
+ | 'late_payment_history_reported_to_bureau'
373
+ | 'lien_collection_action_or_judgement'
374
+ | 'negative_public_information'
375
+ | 'no_credit_file'
376
+ | 'other'
377
+ | 'outside_supported_country'
378
+ | 'outside_supported_state'
379
+ | 'poor_payment_history_with_platform'
380
+ | 'prior_or_current_legal_action'
381
+ | 'prohibited_industry'
382
+ | 'rate_of_cash_balance_fluctuation_too_high'
383
+ | 'recent_inquiries_on_business_credit_report'
384
+ | 'removal_of_bank_account_connection'
385
+ | 'revenue_discrepancy'
386
+ | 'runway_too_short'
387
+ | 'suspected_fraud'
388
+ | 'too_many_non_sufficient_funds_or_overdrafts'
389
+ | 'unable_to_verify_address'
390
+ | 'unable_to_verify_identity'
391
+ | 'unable_to_verify_income_or_revenue'
392
+ | 'unprofitable'
393
+ | 'unsupportable_business_type';
394
+ }
395
+
396
+ type Type =
397
+ | 'additional_information_requested'
398
+ | 'application_rejected'
399
+ | 'credit_limit_approved'
400
+ | 'credit_limit_decreased'
401
+ | 'credit_line_closed'
402
+ | 'no_changes'
403
+ | 'withdrawn_by_applicant';
404
+ }
405
+
406
+ interface UnderwritingException {
407
+ /**
408
+ * Written explanation for the exception.
409
+ */
410
+ explanation: string;
411
+
412
+ /**
413
+ * The decision before the exception was applied.
414
+ */
415
+ original_decision_type: UnderwritingException.OriginalDecisionType;
416
+ }
417
+
418
+ namespace UnderwritingException {
419
+ type OriginalDecisionType =
420
+ | 'additional_information_requested'
421
+ | 'application_rejected'
422
+ | 'credit_limit_approved'
423
+ | 'credit_limit_decreased'
424
+ | 'credit_line_closed'
425
+ | 'no_changes'
426
+ | 'withdrawn_by_applicant';
427
+ }
428
+ }
429
+
430
+ interface CreditUnderwritingRecordCreateFromApplicationParams {
431
+ /**
432
+ * Details about the application submission.
433
+ */
434
+ application: CreditUnderwritingRecordCreateFromApplicationParams.Application;
435
+
436
+ /**
437
+ * Information about the company or person applying or holding the account.
438
+ */
439
+ credit_user: CreditUnderwritingRecordCreateFromApplicationParams.CreditUser;
440
+
441
+ /**
442
+ * Specifies which fields in the response should be expanded.
443
+ */
444
+ expand?: Array<string>;
445
+
446
+ /**
447
+ * 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
448
+ */
449
+ metadata?: Stripe.MetadataParam;
450
+ }
451
+
452
+ namespace CreditUnderwritingRecordCreateFromApplicationParams {
453
+ interface Application {
454
+ /**
455
+ * The channel through which the applicant has submitted their application. Defaults to `online`.
456
+ */
457
+ application_method?: Application.ApplicationMethod;
458
+
459
+ /**
460
+ * Scope of demand made by the applicant.
461
+ */
462
+ purpose: Application.Purpose;
463
+
464
+ /**
465
+ * Date when the applicant submitted their application.
466
+ */
467
+ submitted_at: number;
468
+ }
469
+
470
+ namespace Application {
471
+ type ApplicationMethod = 'in_person' | 'mail' | 'online' | 'phone';
472
+
473
+ type Purpose = 'credit_limit_increase' | 'credit_line_opening';
474
+ }
475
+
476
+ interface CreditUser {
477
+ /**
478
+ * Email of the applicant or accountholder.
479
+ */
480
+ email: string;
481
+
482
+ /**
483
+ * Full name of the company or person.
484
+ */
485
+ name: string;
486
+ }
487
+ }
488
+
489
+ interface CreditUnderwritingRecordCreateFromProactiveReviewParams {
490
+ /**
491
+ * Information about the company or person applying or holding the account.
492
+ */
493
+ credit_user: CreditUnderwritingRecordCreateFromProactiveReviewParams.CreditUser;
494
+
495
+ /**
496
+ * Date when a decision was made.
497
+ */
498
+ decided_at: number;
499
+
500
+ /**
501
+ * Details about the decision.
502
+ */
503
+ decision: CreditUnderwritingRecordCreateFromProactiveReviewParams.Decision;
504
+
505
+ /**
506
+ * Specifies which fields in the response should be expanded.
507
+ */
508
+ expand?: Array<string>;
509
+
510
+ /**
511
+ * 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
512
+ */
513
+ metadata?: Stripe.MetadataParam;
514
+
515
+ /**
516
+ * If an exception to the usual underwriting criteria was made for this decision, details about the exception must be provided. Exceptions should only be granted in rare circumstances, in consultation with Stripe Compliance.
517
+ */
518
+ underwriting_exception?: CreditUnderwritingRecordCreateFromProactiveReviewParams.UnderwritingException;
519
+ }
520
+
521
+ namespace CreditUnderwritingRecordCreateFromProactiveReviewParams {
522
+ interface CreditUser {
523
+ /**
524
+ * Email of the applicant or accountholder.
525
+ */
526
+ email: string;
527
+
528
+ /**
529
+ * Full name of the company or person.
530
+ */
531
+ name: string;
532
+ }
533
+
534
+ interface Decision {
535
+ /**
536
+ * Details about the credit limit approved. An approved credit limit is required before you can set a `credit_limit_amount` in the [CreditPolicy API](https://stripe.com/docs/api/issuing/credit_policy/)
537
+ */
538
+ credit_limit_approved?: Decision.CreditLimitApproved;
539
+
540
+ /**
541
+ * Details about the credit limit decreased.
542
+ */
543
+ credit_limit_decreased?: Decision.CreditLimitDecreased;
544
+
545
+ /**
546
+ * Details about the credit line closed.
547
+ */
548
+ credit_line_closed?: Decision.CreditLineClosed;
549
+
550
+ /**
551
+ * Outcome of the decision.
552
+ */
553
+ type: Decision.Type;
554
+ }
555
+
556
+ namespace Decision {
557
+ interface CreditLimitApproved {
558
+ /**
559
+ * The credit approved, in the currency of the account and [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).
560
+ */
561
+ amount: number;
562
+
563
+ /**
564
+ * The currency of the credit approved, will default to the Account's Issuing currency.
565
+ */
566
+ currency?: string;
567
+ }
568
+
569
+ interface CreditLimitDecreased {
570
+ /**
571
+ * The credit approved, in the currency of the account and [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).
572
+ */
573
+ amount: number;
574
+
575
+ /**
576
+ * The currency of the credit approved, will default to the Account's Issuing currency.
577
+ */
578
+ currency?: string;
579
+
580
+ /**
581
+ * Details about the `reasons.other` when present.
582
+ */
583
+ reason_other_explanation?: string;
584
+
585
+ /**
586
+ * List of reasons why the existing credit was decreased, up to 4 reasons, in order of importance.
587
+ */
588
+ reasons: Array<CreditLimitDecreased.Reason>;
589
+ }
590
+
591
+ namespace CreditLimitDecreased {
592
+ type Reason =
593
+ | 'applicant_is_not_beneficial_owner'
594
+ | 'applicant_too_young'
595
+ | 'application_is_not_beneficial_owner'
596
+ | 'bankruptcy'
597
+ | 'business_size_too_small'
598
+ | 'change_in_financial_state'
599
+ | 'change_in_utilization_of_credit_line'
600
+ | 'current_account_tier_ineligible'
601
+ | 'customer_already_exists'
602
+ | 'customer_requested_account_closure'
603
+ | 'debt_to_cash_balance_ratio_too_high'
604
+ | 'debt_to_equity_ratio_too_high'
605
+ | 'decrease_in_income_to_expense_ratio'
606
+ | 'decrease_in_social_media_performance'
607
+ | 'delinquent_credit_obligations'
608
+ | 'dispute_rate_too_high'
609
+ | 'duration_of_residence'
610
+ | 'exceeds_acceptable_platform_exposure'
611
+ | 'excessive_income_or_revenue_obligations'
612
+ | 'expenses_to_cash_balance_ratio_too_high'
613
+ | 'foreclosure_or_repossession'
614
+ | 'frozen_file_at_credit_bureau'
615
+ | 'garnishment_or_attachment'
616
+ | 'government_loan_program_criteria'
617
+ | 'has_recent_credit_limit_increase'
618
+ | 'high_concentration_of_clients'
619
+ | 'high_risk_industry'
620
+ | 'incomplete_application'
621
+ | 'inconsistent_monthly_revenues'
622
+ | 'insufficient_account_history_with_platform'
623
+ | 'insufficient_bank_account_history'
624
+ | 'insufficient_cash_balance'
625
+ | 'insufficient_cash_flow'
626
+ | 'insufficient_collateral'
627
+ | 'insufficient_credit_experience'
628
+ | 'insufficient_credit_utilization'
629
+ | 'insufficient_deposits'
630
+ | 'insufficient_income'
631
+ | 'insufficient_margin_ratio'
632
+ | 'insufficient_operating_profit'
633
+ | 'insufficient_period_in_operation'
634
+ | 'insufficient_reserves'
635
+ | 'insufficient_revenue'
636
+ | 'insufficient_social_media_performance'
637
+ | 'insufficient_time_in_network'
638
+ | 'insufficient_trade_credit_insurance'
639
+ | 'insufficient_usage_as_qualified_expenses'
640
+ | 'invalid_business_license'
641
+ | 'lacking_cash_account'
642
+ | 'late_payment_history_reported_to_bureau'
643
+ | 'lien_collection_action_or_judgement'
644
+ | 'negative_public_information'
645
+ | 'no_credit_file'
646
+ | 'other'
647
+ | 'outside_supported_country'
648
+ | 'outside_supported_state'
649
+ | 'poor_payment_history_with_platform'
650
+ | 'prior_or_current_legal_action'
651
+ | 'prohibited_industry'
652
+ | 'rate_of_cash_balance_fluctuation_too_high'
653
+ | 'recent_inquiries_on_business_credit_report'
654
+ | 'removal_of_bank_account_connection'
655
+ | 'revenue_discrepancy'
656
+ | 'runway_too_short'
657
+ | 'suspected_fraud'
658
+ | 'too_many_non_sufficient_funds_or_overdrafts'
659
+ | 'unable_to_verify_address'
660
+ | 'unable_to_verify_identity'
661
+ | 'unable_to_verify_income_or_revenue'
662
+ | 'unprofitable'
663
+ | 'unsupportable_business_type';
664
+ }
665
+
666
+ interface CreditLineClosed {
667
+ /**
668
+ * Details about the `reasons.other` when present.
669
+ */
670
+ reason_other_explanation?: string;
671
+
672
+ /**
673
+ * List of reasons why the credit line was closed, up to 4 reasons, in order of importance.
674
+ */
675
+ reasons: Array<CreditLineClosed.Reason>;
676
+ }
677
+
678
+ namespace CreditLineClosed {
679
+ type Reason =
680
+ | 'applicant_is_not_beneficial_owner'
681
+ | 'applicant_too_young'
682
+ | 'application_is_not_beneficial_owner'
683
+ | 'bankruptcy'
684
+ | 'business_size_too_small'
685
+ | 'change_in_financial_state'
686
+ | 'change_in_utilization_of_credit_line'
687
+ | 'current_account_tier_ineligible'
688
+ | 'customer_already_exists'
689
+ | 'customer_requested_account_closure'
690
+ | 'debt_to_cash_balance_ratio_too_high'
691
+ | 'debt_to_equity_ratio_too_high'
692
+ | 'decrease_in_income_to_expense_ratio'
693
+ | 'decrease_in_social_media_performance'
694
+ | 'delinquent_credit_obligations'
695
+ | 'dispute_rate_too_high'
696
+ | 'duration_of_residence'
697
+ | 'exceeds_acceptable_platform_exposure'
698
+ | 'excessive_income_or_revenue_obligations'
699
+ | 'expenses_to_cash_balance_ratio_too_high'
700
+ | 'foreclosure_or_repossession'
701
+ | 'frozen_file_at_credit_bureau'
702
+ | 'garnishment_or_attachment'
703
+ | 'government_loan_program_criteria'
704
+ | 'has_recent_credit_limit_increase'
705
+ | 'high_concentration_of_clients'
706
+ | 'high_risk_industry'
707
+ | 'incomplete_application'
708
+ | 'inconsistent_monthly_revenues'
709
+ | 'insufficient_account_history_with_platform'
710
+ | 'insufficient_bank_account_history'
711
+ | 'insufficient_cash_balance'
712
+ | 'insufficient_cash_flow'
713
+ | 'insufficient_collateral'
714
+ | 'insufficient_credit_experience'
715
+ | 'insufficient_credit_utilization'
716
+ | 'insufficient_deposits'
717
+ | 'insufficient_income'
718
+ | 'insufficient_margin_ratio'
719
+ | 'insufficient_operating_profit'
720
+ | 'insufficient_period_in_operation'
721
+ | 'insufficient_reserves'
722
+ | 'insufficient_revenue'
723
+ | 'insufficient_social_media_performance'
724
+ | 'insufficient_time_in_network'
725
+ | 'insufficient_trade_credit_insurance'
726
+ | 'insufficient_usage_as_qualified_expenses'
727
+ | 'invalid_business_license'
728
+ | 'lacking_cash_account'
729
+ | 'late_payment_history_reported_to_bureau'
730
+ | 'lien_collection_action_or_judgement'
731
+ | 'negative_public_information'
732
+ | 'no_credit_file'
733
+ | 'other'
734
+ | 'outside_supported_country'
735
+ | 'outside_supported_state'
736
+ | 'poor_payment_history_with_platform'
737
+ | 'prior_or_current_legal_action'
738
+ | 'prohibited_industry'
739
+ | 'rate_of_cash_balance_fluctuation_too_high'
740
+ | 'recent_inquiries_on_business_credit_report'
741
+ | 'removal_of_bank_account_connection'
742
+ | 'revenue_discrepancy'
743
+ | 'runway_too_short'
744
+ | 'suspected_fraud'
745
+ | 'too_many_non_sufficient_funds_or_overdrafts'
746
+ | 'unable_to_verify_address'
747
+ | 'unable_to_verify_identity'
748
+ | 'unable_to_verify_income_or_revenue'
749
+ | 'unprofitable'
750
+ | 'unsupportable_business_type';
751
+ }
752
+
753
+ type Type =
754
+ | 'credit_limit_approved'
755
+ | 'credit_limit_decreased'
756
+ | 'credit_line_closed'
757
+ | 'no_changes';
758
+ }
759
+
760
+ interface UnderwritingException {
761
+ /**
762
+ * Written explanation for the exception.
763
+ */
764
+ explanation: string;
765
+
766
+ /**
767
+ * The decision before the exception was applied.
768
+ */
769
+ original_decision_type: UnderwritingException.OriginalDecisionType;
770
+ }
771
+
772
+ namespace UnderwritingException {
773
+ type OriginalDecisionType =
774
+ | 'additional_information_requested'
775
+ | 'application_rejected'
776
+ | 'credit_limit_approved'
777
+ | 'credit_limit_decreased'
778
+ | 'credit_line_closed'
779
+ | 'no_changes'
780
+ | 'withdrawn_by_applicant';
781
+ }
782
+ }
783
+
784
+ interface CreditUnderwritingRecordReportDecisionParams {
785
+ /**
786
+ * Date when a decision was made.
787
+ */
788
+ decided_at: number;
789
+
790
+ /**
791
+ * Details about the decision.
792
+ */
793
+ decision: CreditUnderwritingRecordReportDecisionParams.Decision;
794
+
795
+ /**
796
+ * Specifies which fields in the response should be expanded.
797
+ */
798
+ expand?: Array<string>;
799
+
800
+ /**
801
+ * 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
802
+ */
803
+ metadata?: Stripe.MetadataParam;
804
+
805
+ /**
806
+ * If an exception to the usual underwriting criteria was made for this decision, details about the exception must be provided. Exceptions should only be granted in rare circumstances, in consultation with Stripe Compliance.
807
+ */
808
+ underwriting_exception?: CreditUnderwritingRecordReportDecisionParams.UnderwritingException;
809
+ }
810
+
811
+ namespace CreditUnderwritingRecordReportDecisionParams {
812
+ interface Decision {
813
+ /**
814
+ * Details about the application rejection.
815
+ */
816
+ application_rejected?: Decision.ApplicationRejected;
817
+
818
+ /**
819
+ * Details about the credit limit approved. An approved credit limit is required before you can set a `credit_limit_amount` in the [CreditPolicy API](https://stripe.com/docs/api/issuing/credit_policy/)
820
+ */
821
+ credit_limit_approved?: Decision.CreditLimitApproved;
822
+
823
+ /**
824
+ * Outcome of the decision.
825
+ */
826
+ type: Decision.Type;
827
+ }
828
+
829
+ namespace Decision {
830
+ interface ApplicationRejected {
831
+ /**
832
+ * Details about the `reasons.other` when present.
833
+ */
834
+ reason_other_explanation?: string;
835
+
836
+ /**
837
+ * List of reasons why the application was rejected, up to 4 reasons, in order of importance.
838
+ */
839
+ reasons: Array<ApplicationRejected.Reason>;
840
+ }
841
+
842
+ namespace ApplicationRejected {
843
+ type Reason =
844
+ | 'applicant_is_not_beneficial_owner'
845
+ | 'applicant_too_young'
846
+ | 'application_is_not_beneficial_owner'
847
+ | 'bankruptcy'
848
+ | 'business_size_too_small'
849
+ | 'current_account_tier_ineligible'
850
+ | 'customer_already_exists'
851
+ | 'customer_requested_account_closure'
852
+ | 'debt_to_cash_balance_ratio_too_high'
853
+ | 'debt_to_equity_ratio_too_high'
854
+ | 'delinquent_credit_obligations'
855
+ | 'dispute_rate_too_high'
856
+ | 'duration_of_residence'
857
+ | 'excessive_income_or_revenue_obligations'
858
+ | 'expenses_to_cash_balance_ratio_too_high'
859
+ | 'foreclosure_or_repossession'
860
+ | 'frozen_file_at_credit_bureau'
861
+ | 'garnishment_or_attachment'
862
+ | 'government_loan_program_criteria'
863
+ | 'high_concentration_of_clients'
864
+ | 'high_risk_industry'
865
+ | 'incomplete_application'
866
+ | 'inconsistent_monthly_revenues'
867
+ | 'insufficient_account_history_with_platform'
868
+ | 'insufficient_bank_account_history'
869
+ | 'insufficient_cash_balance'
870
+ | 'insufficient_cash_flow'
871
+ | 'insufficient_collateral'
872
+ | 'insufficient_credit_experience'
873
+ | 'insufficient_deposits'
874
+ | 'insufficient_income'
875
+ | 'insufficient_margin_ratio'
876
+ | 'insufficient_operating_profit'
877
+ | 'insufficient_period_in_operation'
878
+ | 'insufficient_reserves'
879
+ | 'insufficient_revenue'
880
+ | 'insufficient_social_media_performance'
881
+ | 'insufficient_time_in_network'
882
+ | 'insufficient_trade_credit_insurance'
883
+ | 'invalid_business_license'
884
+ | 'lacking_cash_account'
885
+ | 'late_payment_history_reported_to_bureau'
886
+ | 'lien_collection_action_or_judgement'
887
+ | 'negative_public_information'
888
+ | 'no_credit_file'
889
+ | 'other'
890
+ | 'outside_supported_country'
891
+ | 'outside_supported_state'
892
+ | 'poor_payment_history_with_platform'
893
+ | 'prior_or_current_legal_action'
894
+ | 'prohibited_industry'
895
+ | 'rate_of_cash_balance_fluctuation_too_high'
896
+ | 'recent_inquiries_on_business_credit_report'
897
+ | 'removal_of_bank_account_connection'
898
+ | 'revenue_discrepancy'
899
+ | 'runway_too_short'
900
+ | 'suspected_fraud'
901
+ | 'too_many_non_sufficient_funds_or_overdrafts'
902
+ | 'unable_to_verify_address'
903
+ | 'unable_to_verify_identity'
904
+ | 'unable_to_verify_income_or_revenue'
905
+ | 'unprofitable'
906
+ | 'unsupportable_business_type';
907
+ }
908
+
909
+ interface CreditLimitApproved {
910
+ /**
911
+ * The credit approved, in the currency of the account and [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).
912
+ */
913
+ amount: number;
914
+
915
+ /**
916
+ * The currency of the credit approved, will default to the Account's Issuing currency.
917
+ */
918
+ currency?: string;
919
+ }
920
+
921
+ type Type =
922
+ | 'additional_information_requested'
923
+ | 'application_rejected'
924
+ | 'credit_limit_approved'
925
+ | 'withdrawn_by_applicant';
926
+ }
927
+
928
+ interface UnderwritingException {
929
+ /**
930
+ * Written explanation for the exception.
931
+ */
932
+ explanation: string;
933
+
934
+ /**
935
+ * The decision before the exception was applied.
936
+ */
937
+ original_decision_type: UnderwritingException.OriginalDecisionType;
938
+ }
939
+
940
+ namespace UnderwritingException {
941
+ type OriginalDecisionType =
942
+ | 'additional_information_requested'
943
+ | 'application_rejected'
944
+ | 'credit_limit_approved'
945
+ | 'credit_limit_decreased'
946
+ | 'credit_line_closed'
947
+ | 'no_changes'
948
+ | 'withdrawn_by_applicant';
949
+ }
950
+ }
951
+
952
+ class CreditUnderwritingRecordsResource {
953
+ /**
954
+ * Retrieves a CreditUnderwritingRecord object.
955
+ */
956
+ retrieve(
957
+ id: string,
958
+ params?: CreditUnderwritingRecordRetrieveParams,
959
+ options?: RequestOptions
960
+ ): Promise<Stripe.Response<Stripe.Issuing.CreditUnderwritingRecord>>;
961
+ retrieve(
962
+ id: string,
963
+ options?: RequestOptions
964
+ ): Promise<Stripe.Response<Stripe.Issuing.CreditUnderwritingRecord>>;
965
+
966
+ /**
967
+ * Retrieves a list of CreditUnderwritingRecord objects. The objects are sorted in descending order by creation date, with the most-recently-created object appearing first.
968
+ */
969
+ list(
970
+ params?: CreditUnderwritingRecordListParams,
971
+ options?: RequestOptions
972
+ ): ApiListPromise<Stripe.Issuing.CreditUnderwritingRecord>;
973
+ list(
974
+ options?: RequestOptions
975
+ ): ApiListPromise<Stripe.Issuing.CreditUnderwritingRecord>;
976
+
977
+ /**
978
+ * Update a CreditUnderwritingRecord object to correct mistakes.
979
+ */
980
+ correct(
981
+ id: string,
982
+ params?: CreditUnderwritingRecordCorrectParams,
983
+ options?: RequestOptions
984
+ ): Promise<Stripe.Response<Stripe.Issuing.CreditUnderwritingRecord>>;
985
+ correct(
986
+ id: string,
987
+ options?: RequestOptions
988
+ ): Promise<Stripe.Response<Stripe.Issuing.CreditUnderwritingRecord>>;
989
+
990
+ /**
991
+ * Creates a CreditUnderwritingRecord object with information about a credit application submission.
992
+ */
993
+ createFromApplication(
994
+ params: CreditUnderwritingRecordCreateFromApplicationParams,
995
+ options?: RequestOptions
996
+ ): Promise<Stripe.Response<Stripe.Issuing.CreditUnderwritingRecord>>;
997
+
998
+ /**
999
+ * Creates a CreditUnderwritingRecord object from an underwriting decision coming from a proactive review of an existing accountholder.
1000
+ */
1001
+ createFromProactiveReview(
1002
+ params: CreditUnderwritingRecordCreateFromProactiveReviewParams,
1003
+ options?: RequestOptions
1004
+ ): Promise<Stripe.Response<Stripe.Issuing.CreditUnderwritingRecord>>;
1005
+
1006
+ /**
1007
+ * Update a CreditUnderwritingRecord object from a decision made on a credit application.
1008
+ */
1009
+ reportDecision(
1010
+ id: string,
1011
+ params: CreditUnderwritingRecordReportDecisionParams,
1012
+ options?: RequestOptions
1013
+ ): Promise<Stripe.Response<Stripe.Issuing.CreditUnderwritingRecord>>;
1014
+ }
1015
+ }
1016
+ }
1017
+ }