stripe 20.1.0-alpha.4 → 20.2.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 (277) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/OPENAPI_VERSION +1 -1
  3. package/VERSION +1 -1
  4. package/cjs/Error.js +9 -1
  5. package/cjs/apiVersion.js +1 -1
  6. package/cjs/resources/SharedPayment/GrantedTokens.js +12 -0
  7. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +16 -0
  8. package/cjs/resources/V2/Iam/ApiKeys.js +24 -0
  9. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js +20 -0
  10. package/cjs/resources/V2/Payments/SettlementAllocationIntents.js +33 -0
  11. package/cjs/resources/V2/Tax/ManualRules.js +23 -0
  12. package/cjs/resources.js +15 -1
  13. package/cjs/stripe.core.js +1 -1
  14. package/esm/Error.js +7 -0
  15. package/esm/apiVersion.js +1 -1
  16. package/esm/resources/SharedPayment/GrantedTokens.js +9 -0
  17. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +13 -0
  18. package/esm/resources/V2/Iam/ApiKeys.js +21 -0
  19. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js +17 -0
  20. package/esm/resources/V2/Payments/SettlementAllocationIntents.js +30 -0
  21. package/esm/resources/V2/Tax/ManualRules.js +20 -0
  22. package/esm/resources.js +14 -0
  23. package/esm/stripe.core.js +1 -1
  24. package/package.json +1 -1
  25. package/types/AccountLinks.d.ts +1 -1
  26. package/types/AccountNotices.d.ts +6 -6
  27. package/types/AccountNoticesResource.d.ts +1 -1
  28. package/types/AccountSessions.d.ts +7 -7
  29. package/types/AccountSessionsResource.d.ts +21 -0
  30. package/types/Accounts.d.ts +25 -25
  31. package/types/AccountsResource.d.ts +107 -63
  32. package/types/ApplicationFeesResource.d.ts +2 -2
  33. package/types/Apps/Secrets.d.ts +1 -1
  34. package/types/Balance.d.ts +2 -2
  35. package/types/BalanceSettings.d.ts +1 -1
  36. package/types/BalanceTransactions.d.ts +1 -1
  37. package/types/BalanceTransfers.d.ts +3 -3
  38. package/types/BalanceTransfersResource.d.ts +1 -1
  39. package/types/BankAccounts.d.ts +10 -10
  40. package/types/Billing/Alerts.d.ts +2 -2
  41. package/types/Billing/CreditBalanceSummary.d.ts +3 -3
  42. package/types/Billing/CreditBalanceSummaryResource.d.ts +2 -2
  43. package/types/Billing/CreditBalanceTransactions.d.ts +2 -2
  44. package/types/Billing/CreditBalanceTransactionsResource.d.ts +2 -2
  45. package/types/Billing/CreditGrants.d.ts +4 -4
  46. package/types/Billing/CreditGrantsResource.d.ts +3 -3
  47. package/types/Billing/MeterEvents.d.ts +1 -1
  48. package/types/Billing/MeterEventsResource.d.ts +1 -1
  49. package/types/BillingPortal/Configurations.d.ts +10 -3
  50. package/types/BillingPortal/ConfigurationsResource.d.ts +20 -6
  51. package/types/BillingPortal/Sessions.d.ts +7 -7
  52. package/types/BillingPortal/SessionsResource.d.ts +7 -7
  53. package/types/Capabilities.d.ts +16 -16
  54. package/types/Capital/FinancingOffers.d.ts +2 -2
  55. package/types/Capital/FinancingSummary.d.ts +7 -4
  56. package/types/Capital/FinancingSummaryResource.d.ts +1 -1
  57. package/types/Cards.d.ts +2 -2
  58. package/types/CashBalances.d.ts +3 -3
  59. package/types/Charges.d.ts +59 -27
  60. package/types/ChargesResource.d.ts +22 -22
  61. package/types/Checkout/Sessions.d.ts +18 -18
  62. package/types/Checkout/SessionsResource.d.ts +90 -60
  63. package/types/Climate/Orders.d.ts +1 -1
  64. package/types/Climate/OrdersResource.d.ts +2 -2
  65. package/types/ConfirmationTokens.d.ts +8 -6
  66. package/types/Coupons.d.ts +3 -3
  67. package/types/CouponsResource.d.ts +2 -2
  68. package/types/CreditNoteLineItems.d.ts +3 -0
  69. package/types/CreditNotes.d.ts +8 -5
  70. package/types/CreditNotesResource.d.ts +5 -5
  71. package/types/CustomerBalanceTransactions.d.ts +9 -6
  72. package/types/CustomerCashBalanceTransactions.d.ts +13 -10
  73. package/types/CustomerSessions.d.ts +1 -1
  74. package/types/Customers.d.ts +8 -5
  75. package/types/CustomersResource.d.ts +21 -16
  76. package/types/DelegatedCheckout/RequestedSessions.d.ts +83 -17
  77. package/types/DelegatedCheckout/RequestedSessionsResource.d.ts +102 -0
  78. package/types/Discounts.d.ts +6 -6
  79. package/types/Disputes.d.ts +3 -3
  80. package/types/DisputesResource.d.ts +1 -1
  81. package/types/Entitlements/ActiveEntitlements.d.ts +1 -1
  82. package/types/Errors.d.ts +6 -0
  83. package/types/Events.d.ts +1 -1
  84. package/types/ExchangeRates.d.ts +2 -2
  85. package/types/ExternalAccountsResource.d.ts +4 -4
  86. package/types/FeeRefunds.d.ts +2 -2
  87. package/types/FileLinks.d.ts +1 -1
  88. package/types/FileLinksResource.d.ts +2 -2
  89. package/types/Files.d.ts +4 -4
  90. package/types/FilesResource.d.ts +3 -3
  91. package/types/FinancialConnections/Accounts.d.ts +3 -3
  92. package/types/FinancialConnections/AccountsResource.d.ts +3 -3
  93. package/types/FinancialConnections/Sessions.d.ts +2 -2
  94. package/types/FinancialConnections/SessionsResource.d.ts +3 -3
  95. package/types/Forwarding/Requests.d.ts +1 -1
  96. package/types/Forwarding/RequestsResource.d.ts +1 -1
  97. package/types/FundingInstructions.d.ts +2 -2
  98. package/types/Identity/BlocklistEntries.d.ts +1 -1
  99. package/types/Identity/VerificationReports.d.ts +8 -8
  100. package/types/Identity/VerificationSessions.d.ts +11 -11
  101. package/types/Identity/VerificationSessionsResource.d.ts +18 -12
  102. package/types/InvoiceItems.d.ts +12 -12
  103. package/types/InvoiceItemsResource.d.ts +16 -16
  104. package/types/InvoiceLineItems.d.ts +11 -8
  105. package/types/InvoicePayments.d.ts +1 -1
  106. package/types/InvoiceRenderingTemplates.d.ts +1 -1
  107. package/types/Invoices.d.ts +83 -33
  108. package/types/InvoicesResource.d.ts +237 -111
  109. package/types/Issuing/Authorizations.d.ts +20 -20
  110. package/types/Issuing/AuthorizationsResource.d.ts +4 -4
  111. package/types/Issuing/Cardholders.d.ts +13 -13
  112. package/types/Issuing/CardholdersResource.d.ts +21 -21
  113. package/types/Issuing/Cards.d.ts +20 -10
  114. package/types/Issuing/CardsResource.d.ts +46 -13
  115. package/types/Issuing/CreditUnderwritingRecords.d.ts +5 -5
  116. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +15 -15
  117. package/types/Issuing/Disputes.d.ts +7 -7
  118. package/types/Issuing/DisputesResource.d.ts +5 -5
  119. package/types/Issuing/FraudLiabilityDebits.d.ts +1 -1
  120. package/types/Issuing/PersonalizationDesigns.d.ts +1 -1
  121. package/types/Issuing/PersonalizationDesignsResource.d.ts +2 -2
  122. package/types/Issuing/Programs.d.ts +1 -1
  123. package/types/Issuing/ProgramsResource.d.ts +1 -1
  124. package/types/Issuing/Settlements.d.ts +2 -2
  125. package/types/Issuing/Tokens.d.ts +1 -1
  126. package/types/Issuing/Transactions.d.ts +13 -13
  127. package/types/Issuing/TransactionsResource.d.ts +1 -1
  128. package/types/LineItems.d.ts +3 -3
  129. package/types/LoginLinks.d.ts +1 -1
  130. package/types/MandatesResource.d.ts +1 -1
  131. package/types/Margins.d.ts +1 -1
  132. package/types/MarginsResource.d.ts +2 -2
  133. package/types/Orders.d.ts +11 -11
  134. package/types/OrdersResource.d.ts +24 -24
  135. package/types/PaymentAttemptRecords.d.ts +119 -18
  136. package/types/PaymentIntentAmountDetailsLineItems.d.ts +3 -3
  137. package/types/PaymentIntents.d.ts +72 -44
  138. package/types/PaymentIntentsResource.d.ts +172 -159
  139. package/types/PaymentLinks.d.ts +7 -7
  140. package/types/PaymentLinksResource.d.ts +42 -28
  141. package/types/PaymentMethodConfigurations.d.ts +4 -4
  142. package/types/PaymentMethodConfigurationsResource.d.ts +80 -80
  143. package/types/PaymentMethodDomains.d.ts +1 -1
  144. package/types/PaymentMethods.d.ts +10 -8
  145. package/types/PaymentMethodsResource.d.ts +7 -6
  146. package/types/PaymentRecords.d.ts +126 -18
  147. package/types/PaymentRecordsResource.d.ts +7 -7
  148. package/types/Payouts.d.ts +7 -7
  149. package/types/PayoutsResource.d.ts +3 -3
  150. package/types/Persons.d.ts +21 -21
  151. package/types/Plans.d.ts +5 -5
  152. package/types/PlansResource.d.ts +6 -6
  153. package/types/Prices.d.ts +6 -6
  154. package/types/PricesResource.d.ts +10 -10
  155. package/types/ProductCatalog/TrialOffers.d.ts +1 -1
  156. package/types/Products.d.ts +10 -10
  157. package/types/ProductsResource.d.ts +38 -14
  158. package/types/PromotionCodes.d.ts +5 -5
  159. package/types/PromotionCodesResource.d.ts +5 -5
  160. package/types/QuoteLines.d.ts +3 -3
  161. package/types/QuotePreviewInvoices.d.ts +81 -31
  162. package/types/QuotePreviewSubscriptionSchedules.d.ts +18 -18
  163. package/types/Quotes.d.ts +16 -16
  164. package/types/QuotesResource.d.ts +30 -30
  165. package/types/Radar/EarlyFraudWarnings.d.ts +1 -1
  166. package/types/Radar/ValueListItems.d.ts +1 -1
  167. package/types/Radar/ValueLists.d.ts +2 -2
  168. package/types/Radar/ValueListsResource.d.ts +2 -2
  169. package/types/Refunds.d.ts +3 -3
  170. package/types/RefundsResource.d.ts +3 -3
  171. package/types/Reporting/ReportRuns.d.ts +3 -3
  172. package/types/Reporting/ReportRunsResource.d.ts +2 -2
  173. package/types/Reporting/ReportTypes.d.ts +3 -3
  174. package/types/Reviews.d.ts +1 -1
  175. package/types/SetupAttempts.d.ts +21 -18
  176. package/types/SetupIntents.d.ts +20 -19
  177. package/types/SetupIntentsResource.d.ts +47 -44
  178. package/types/SharedPayment/GrantedTokens.d.ts +102 -0
  179. package/types/SharedPayment/GrantedTokensResource.d.ts +29 -0
  180. package/types/ShippingRates.d.ts +3 -3
  181. package/types/ShippingRatesResource.d.ts +3 -3
  182. package/types/Sigma/ScheduledQueryRuns.d.ts +1 -1
  183. package/types/SourceMandateNotifications.d.ts +3 -3
  184. package/types/Sources.d.ts +5 -5
  185. package/types/SourcesResource.d.ts +2 -2
  186. package/types/SubscriptionItems.d.ts +7 -7
  187. package/types/SubscriptionItemsResource.d.ts +22 -22
  188. package/types/SubscriptionSchedules.d.ts +19 -19
  189. package/types/SubscriptionSchedulesResource.d.ts +61 -61
  190. package/types/Subscriptions.d.ts +61 -15
  191. package/types/SubscriptionsResource.d.ts +142 -58
  192. package/types/Tax/Associations.d.ts +3 -3
  193. package/types/Tax/AssociationsResource.d.ts +1 -1
  194. package/types/Tax/CalculationLineItems.d.ts +7 -7
  195. package/types/Tax/Calculations.d.ts +12 -12
  196. package/types/Tax/CalculationsResource.d.ts +7 -7
  197. package/types/Tax/Registrations.d.ts +3 -3
  198. package/types/Tax/Settings.d.ts +1 -1
  199. package/types/Tax/SettingsResource.d.ts +1 -1
  200. package/types/Tax/TransactionLineItems.d.ts +5 -5
  201. package/types/Tax/Transactions.d.ts +9 -9
  202. package/types/Tax/TransactionsResource.d.ts +10 -10
  203. package/types/TaxIds.d.ts +6 -6
  204. package/types/TaxIdsResource.d.ts +4 -4
  205. package/types/TaxRates.d.ts +1 -1
  206. package/types/TaxRatesResource.d.ts +2 -2
  207. package/types/Terminal/ConnectionTokens.d.ts +1 -1
  208. package/types/Terminal/Locations.d.ts +2 -2
  209. package/types/Terminal/LocationsResource.d.ts +3 -3
  210. package/types/Terminal/Readers.d.ts +10 -10
  211. package/types/Terminal/ReadersResource.d.ts +7 -7
  212. package/types/TestHelpers/ConfirmationTokensResource.d.ts +5 -4
  213. package/types/TestHelpers/CustomersResource.d.ts +2 -2
  214. package/types/TestHelpers/Issuing/AuthorizationsResource.d.ts +10 -10
  215. package/types/TestHelpers/Issuing/TransactionsResource.d.ts +5 -5
  216. package/types/TestHelpers/SharedPayment/GrantedTokensResource.d.ts +87 -0
  217. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +1 -1
  218. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +1 -1
  219. package/types/Tokens.d.ts +4 -4
  220. package/types/TokensResource.d.ts +17 -17
  221. package/types/Topups.d.ts +3 -3
  222. package/types/TopupsResource.d.ts +3 -3
  223. package/types/TransferReversals.d.ts +4 -4
  224. package/types/Transfers.d.ts +5 -5
  225. package/types/TransfersResource.d.ts +6 -6
  226. package/types/Treasury/CreditReversals.d.ts +3 -3
  227. package/types/Treasury/CreditReversalsResource.d.ts +1 -1
  228. package/types/Treasury/DebitReversals.d.ts +3 -3
  229. package/types/Treasury/DebitReversalsResource.d.ts +1 -1
  230. package/types/Treasury/FinancialAccounts.d.ts +1 -1
  231. package/types/Treasury/FinancialAccountsResource.d.ts +2 -2
  232. package/types/Treasury/InboundTransfers.d.ts +4 -4
  233. package/types/Treasury/InboundTransfersResource.d.ts +2 -2
  234. package/types/Treasury/OutboundPayments.d.ts +5 -5
  235. package/types/Treasury/OutboundPaymentsResource.d.ts +4 -4
  236. package/types/Treasury/OutboundTransfers.d.ts +4 -4
  237. package/types/Treasury/OutboundTransfersResource.d.ts +3 -3
  238. package/types/Treasury/ReceivedCredits.d.ts +9 -9
  239. package/types/Treasury/ReceivedDebits.d.ts +6 -6
  240. package/types/Treasury/TransactionEntries.d.ts +11 -11
  241. package/types/Treasury/Transactions.d.ts +11 -11
  242. package/types/V2/Billing/IntentActions.d.ts +141 -36
  243. package/types/V2/Billing/IntentsResource.d.ts +141 -42
  244. package/types/V2/Core/AccountLinks.d.ts +11 -11
  245. package/types/V2/Core/AccountLinksResource.d.ts +6 -6
  246. package/types/V2/Core/AccountPersons.d.ts +55 -10
  247. package/types/V2/Core/AccountTokensResource.d.ts +99 -10
  248. package/types/V2/Core/Accounts/PersonTokensResource.d.ts +48 -3
  249. package/types/V2/Core/Accounts/PersonsResource.d.ts +101 -11
  250. package/types/V2/Core/Accounts.d.ts +298 -509
  251. package/types/V2/Core/AccountsResource.d.ts +256 -51
  252. package/types/V2/Core/ClaimableSandboxesResource.d.ts +1 -1
  253. package/types/V2/Core/EventTypes.d.ts +601 -0
  254. package/types/V2/Core/Vault/GbBankAccounts.d.ts +21 -0
  255. package/types/V2/Core/Vault/UsBankAccounts.d.ts +26 -0
  256. package/types/V2/Iam/ApiKeys.d.ts +154 -0
  257. package/types/V2/Iam/ApiKeysResource.d.ts +215 -0
  258. package/types/V2/MoneyManagement/FinancialAccounts.d.ts +31 -1
  259. package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +7 -0
  260. package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +8 -0
  261. package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +7 -0
  262. package/types/V2/MoneyManagement/OutboundPayments.d.ts +7 -0
  263. package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +7 -0
  264. package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +2 -0
  265. package/types/V2/MoneyManagement/PayoutMethods.d.ts +26 -0
  266. package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +2 -0
  267. package/types/V2/MoneyManagement/ReceivedCredits.d.ts +10 -1
  268. package/types/V2/Payments/SettlementAllocationIntentSplits.d.ts +111 -0
  269. package/types/V2/Payments/SettlementAllocationIntents/SplitsResource.d.ts +126 -0
  270. package/types/V2/Payments/SettlementAllocationIntents.d.ts +122 -0
  271. package/types/V2/Payments/SettlementAllocationIntentsResource.d.ts +168 -0
  272. package/types/V2/Tax/ManualRules.d.ts +142 -0
  273. package/types/V2/Tax/ManualRulesResource.d.ts +292 -0
  274. package/types/WebhookEndpoints.d.ts +1 -1
  275. package/types/WebhookEndpointsResource.d.ts +4 -3
  276. package/types/apiVersion.d.ts +1 -1
  277. package/types/index.d.ts +24 -0
@@ -5,7 +5,7 @@ declare module 'stripe' {
5
5
  /**
6
6
  * This is an object representing a capability for a Stripe account.
7
7
  *
8
- * Related guide: [Account capabilities](https://stripe.com/docs/connect/account-capabilities)
8
+ * Related guide: [Account capabilities](https://docs.stripe.com/connect/account-capabilities)
9
9
  */
10
10
  interface Capability {
11
11
  /**
@@ -46,7 +46,7 @@ declare module 'stripe' {
46
46
  namespace Capability {
47
47
  interface FutureRequirements {
48
48
  /**
49
- * Fields that are due and can be satisfied by providing the corresponding alternative fields instead.
49
+ * Fields that are due and can be resolved by providing the corresponding alternative fields instead. Multiple alternatives can reference the same `original_fields_due`. When this happens, any of these alternatives can serve as a pathway for attempting to resolve the fields. Additionally, providing `original_fields_due` again also serves as a pathway for attempting to resolve the fields.
50
50
  */
51
51
  alternatives: Array<FutureRequirements.Alternative> | null;
52
52
 
@@ -56,7 +56,7 @@ declare module 'stripe' {
56
56
  current_deadline: number | null;
57
57
 
58
58
  /**
59
- * Fields that need to be collected to keep the capability enabled. If not collected by `future_requirements[current_deadline]`, these fields will transition to the main `requirements` hash.
59
+ * Fields that need to be resolved to keep the capability enabled. If not resolved by `future_requirements[current_deadline]`, these fields will transition to the main `requirements` hash.
60
60
  */
61
61
  currently_due: Array<string>;
62
62
 
@@ -66,7 +66,7 @@ declare module 'stripe' {
66
66
  disabled_reason: FutureRequirements.DisabledReason | null;
67
67
 
68
68
  /**
69
- * Fields that are `currently_due` and need to be collected again because validation or verification failed.
69
+ * Details about validation and verification failures for `due` requirements that must be resolved.
70
70
  */
71
71
  errors: Array<FutureRequirements.Error>;
72
72
 
@@ -76,12 +76,12 @@ declare module 'stripe' {
76
76
  eventually_due: Array<string>;
77
77
 
78
78
  /**
79
- * Fields that weren't collected by `requirements.current_deadline`. These fields need to be collected to enable the capability on the account. New fields will never appear here; `future_requirements.past_due` will always be a subset of `requirements.past_due`.
79
+ * Fields that haven't been resolved by `requirements.current_deadline`. These fields need to be resolved to enable the capability on the account. `future_requirements.past_due` is a subset of `requirements.past_due`.
80
80
  */
81
81
  past_due: Array<string>;
82
82
 
83
83
  /**
84
- * Fields that might become required depending on the results of verification or review. It's an empty array unless an asynchronous verification is pending. If verification fails, these fields move to `eventually_due` or `currently_due`. Fields might appear in `eventually_due` or `currently_due` and in `pending_verification` if verification fails but another verification is still pending.
84
+ * Fields that are being reviewed, or might become required depending on the results of a review. If the review fails, these fields can move to `eventually_due`, `currently_due`, `past_due` or `alternatives`. Fields might appear in `eventually_due`, `currently_due`, `past_due` or `alternatives` and in `pending_verification` if one verification fails but another is still pending.
85
85
  */
86
86
  pending_verification: Array<string>;
87
87
  }
@@ -89,12 +89,12 @@ declare module 'stripe' {
89
89
  namespace FutureRequirements {
90
90
  interface Alternative {
91
91
  /**
92
- * Fields that can be provided to satisfy all fields in `original_fields_due`.
92
+ * Fields that can be provided to resolve all fields in `original_fields_due`.
93
93
  */
94
94
  alternative_fields_due: Array<string>;
95
95
 
96
96
  /**
97
- * Fields that are due and can be satisfied by providing all fields in `alternative_fields_due`.
97
+ * Fields that are due and can be resolved by providing all fields in `alternative_fields_due`.
98
98
  */
99
99
  original_fields_due: Array<string>;
100
100
  }
@@ -233,7 +233,7 @@ declare module 'stripe' {
233
233
 
234
234
  interface Requirements {
235
235
  /**
236
- * Fields that are due and can be satisfied by providing the corresponding alternative fields instead.
236
+ * Fields that are due and can be resolved by providing the corresponding alternative fields instead. Multiple alternatives can reference the same `original_fields_due`. When this happens, any of these alternatives can serve as a pathway for attempting to resolve the fields. Additionally, providing `original_fields_due` again also serves as a pathway for attempting to resolve the fields.
237
237
  */
238
238
  alternatives: Array<Requirements.Alternative> | null;
239
239
 
@@ -243,17 +243,17 @@ declare module 'stripe' {
243
243
  current_deadline: number | null;
244
244
 
245
245
  /**
246
- * Fields that need to be collected to keep the capability enabled. If not collected by `current_deadline`, these fields appear in `past_due` as well, and the capability is disabled.
246
+ * Fields that need to be resolved to keep the capability enabled. If not resolved by `current_deadline`, these fields will appear in `past_due` as well, and the capability is disabled.
247
247
  */
248
248
  currently_due: Array<string>;
249
249
 
250
250
  /**
251
- * Description of why the capability is disabled. [Learn more about handling verification issues](https://stripe.com/docs/connect/handling-api-verification).
251
+ * Description of why the capability is disabled. [Learn more about handling verification issues](https://docs.stripe.com/connect/handling-api-verification).
252
252
  */
253
253
  disabled_reason: Requirements.DisabledReason | null;
254
254
 
255
255
  /**
256
- * Fields that are `currently_due` and need to be collected again because validation or verification failed.
256
+ * Details about validation and verification failures for `due` requirements that must be resolved.
257
257
  */
258
258
  errors: Array<Requirements.Error>;
259
259
 
@@ -263,12 +263,12 @@ declare module 'stripe' {
263
263
  eventually_due: Array<string>;
264
264
 
265
265
  /**
266
- * Fields that weren't collected by `current_deadline`. These fields need to be collected to enable the capability on the account.
266
+ * Fields that haven't been resolved by `current_deadline`. These fields need to be resolved to enable the capability on the account.
267
267
  */
268
268
  past_due: Array<string>;
269
269
 
270
270
  /**
271
- * Fields that might become required depending on the results of verification or review. It's an empty array unless an asynchronous verification is pending. If verification fails, these fields move to `eventually_due`, `currently_due`, or `past_due`. Fields might appear in `eventually_due`, `currently_due`, or `past_due` and in `pending_verification` if verification fails but another verification is still pending.
271
+ * Fields that are being reviewed, or might become required depending on the results of a review. If the review fails, these fields can move to `eventually_due`, `currently_due`, `past_due` or `alternatives`. Fields might appear in `eventually_due`, `currently_due`, `past_due` or `alternatives` and in `pending_verification` if one verification fails but another is still pending.
272
272
  */
273
273
  pending_verification: Array<string>;
274
274
  }
@@ -276,12 +276,12 @@ declare module 'stripe' {
276
276
  namespace Requirements {
277
277
  interface Alternative {
278
278
  /**
279
- * Fields that can be provided to satisfy all fields in `original_fields_due`.
279
+ * Fields that can be provided to resolve all fields in `original_fields_due`.
280
280
  */
281
281
  alternative_fields_due: Array<string>;
282
282
 
283
283
  /**
284
- * Fields that are due and can be satisfied by providing all fields in `alternative_fields_due`.
284
+ * Fields that are due and can be resolved by providing all fields in `alternative_fields_due`.
285
285
  */
286
286
  original_fields_due: Array<string>;
287
287
  }
@@ -57,7 +57,7 @@ declare module 'stripe' {
57
57
  livemode: boolean;
58
58
 
59
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.
60
+ * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
61
61
  */
62
62
  metadata?: Stripe.Metadata;
63
63
 
@@ -89,7 +89,7 @@ declare module 'stripe' {
89
89
  status: FinancingOffer.Status;
90
90
 
91
91
  /**
92
- * See [financing_type](https://stripe.com/docs/api/capital/connect_financing_object#financing_offer_object-financing_type).
92
+ * See [financing_type](https://docs.stripe.com/api/capital/connect_financing_object#financing_offer_object-financing_type).
93
93
  */
94
94
  type?: FinancingOffer.Type;
95
95
  }
@@ -4,8 +4,9 @@ declare module 'stripe' {
4
4
  namespace Stripe {
5
5
  namespace Capital {
6
6
  /**
7
- * A financing object describes an account's current financing state. Used by Connect
8
- * platforms to read the state of Capital offered to their connected accounts.
7
+ * A financing summary object describes a connected account's financing status in real time.
8
+ * A financing status is either `accepted`, `delivered`, or `none`.
9
+ * You can read the status of your connected accounts.
9
10
  */
10
11
  interface FinancingSummary {
11
12
  /**
@@ -17,16 +18,18 @@ declare module 'stripe' {
17
18
  * Additional information about the financing summary. Describes currency, advance amount,
18
19
  * fee amount, withhold rate, remaining amount, paid amount, current repayment interval,
19
20
  * repayment start date, and advance payout date.
21
+ *
22
+ * Only present for financing offers with the `paid_out` status.
20
23
  */
21
24
  details: FinancingSummary.Details | null;
22
25
 
23
26
  /**
24
- * The Financing Offer ID this Financing Summary corresponds to
27
+ * The unique identifier of the Financing Offer object that corresponds to the Financing Summary object.
25
28
  */
26
29
  financing_offer: string | null;
27
30
 
28
31
  /**
29
- * Status of the Connected Account's financing. [/v1/capital/financing_summary](https://stripe.com/docs/api/capital/financing_summary) will only return `details` for `paid_out` financing.
32
+ * The financing status of the connected account.
30
33
  */
31
34
  status: FinancingSummary.Status | null;
32
35
  }
@@ -12,7 +12,7 @@ declare module 'stripe' {
12
12
 
13
13
  class FinancingSummaryResource {
14
14
  /**
15
- * Retrieve the financing state for the account that was authenticated in the request.
15
+ * Retrieve the financing summary object for the account.
16
16
  */
17
17
  retrieve(
18
18
  params?: FinancingSummaryRetrieveParams,
package/types/Cards.d.ts CHANGED
@@ -7,7 +7,7 @@ declare module 'stripe' {
7
7
  * later. You can also store multiple debit cards on a recipient in order to
8
8
  * transfer to those cards later.
9
9
  *
10
- * Related guide: [Card payments with Sources](https://stripe.com/docs/sources/cards)
10
+ * Related guide: [Card payments with Sources](https://docs.stripe.com/sources/cards)
11
11
  */
12
12
  interface Card {
13
13
  /**
@@ -162,7 +162,7 @@ declare module 'stripe' {
162
162
  last4: string;
163
163
 
164
164
  /**
165
- * 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.
165
+ * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
166
166
  */
167
167
  metadata: Stripe.Metadata | null;
168
168
 
@@ -12,7 +12,7 @@ declare module 'stripe' {
12
12
  object: 'cash_balance';
13
13
 
14
14
  /**
15
- * A hash of all cash balances available to this customer. You cannot delete a customer with any cash balances, even if the balance is 0. Amounts are represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).
15
+ * A hash of all cash balances available to this customer. You cannot delete a customer with any cash balances, even if the balance is 0. Amounts are represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
16
16
  */
17
17
  available: {
18
18
  [key: string]: number;
@@ -24,9 +24,9 @@ declare module 'stripe' {
24
24
  customer: string;
25
25
 
26
26
  /**
27
- * The ID of the account whose cash balance this object represents.
27
+ * The ID of an Account representing a customer whose cash balance this object represents.
28
28
  */
29
- customer_account?: string | null;
29
+ customer_account: string | null;
30
30
 
31
31
  /**
32
32
  * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
@@ -4,7 +4,7 @@ declare module 'stripe' {
4
4
  namespace Stripe {
5
5
  /**
6
6
  * The `Charge` object represents a single attempt to move money into your Stripe account.
7
- * PaymentIntent confirmation is the most common way to create Charges, but [Account Debits](https://stripe.com/docs/connect/account-debits) may also create Charges.
7
+ * PaymentIntent confirmation is the most common way to create Charges, but [Account Debits](https://docs.stripe.com/connect/account-debits) may also create Charges.
8
8
  * Some legacy payment flows create Charges directly, which is not recommended for new integrations.
9
9
  */
10
10
  interface Charge {
@@ -24,7 +24,7 @@ declare module 'stripe' {
24
24
  allocated_funds?: Stripe.TransitBalance;
25
25
 
26
26
  /**
27
- * Amount intended to be collected by this payment. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
27
+ * Amount intended to be collected by this payment. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
28
28
  */
29
29
  amount: number;
30
30
 
@@ -44,12 +44,12 @@ declare module 'stripe' {
44
44
  application: string | Stripe.Application | null;
45
45
 
46
46
  /**
47
- * The application fee (if any) for the charge. [See the Connect documentation](https://stripe.com/docs/connect/direct-charges#collect-fees) for details.
47
+ * The application fee (if any) for the charge. [See the Connect documentation](https://docs.stripe.com/connect/direct-charges#collect-fees) for details.
48
48
  */
49
49
  application_fee: string | Stripe.ApplicationFee | null;
50
50
 
51
51
  /**
52
- * The amount of the application fee (if any) requested for the charge. [See the Connect documentation](https://stripe.com/docs/connect/direct-charges#collect-fees) for details.
52
+ * The amount of the application fee (if any) requested for the charge. [See the Connect documentation](https://docs.stripe.com/connect/direct-charges#collect-fees) for details.
53
53
  */
54
54
  application_fee_amount: number | null;
55
55
 
@@ -106,7 +106,7 @@ declare module 'stripe' {
106
106
  failure_balance_transaction: string | Stripe.BalanceTransaction | null;
107
107
 
108
108
  /**
109
- * Error code explaining reason for charge failure if available (see [the errors section](https://stripe.com/docs/error-codes) for a list of codes).
109
+ * Error code explaining reason for charge failure if available (see [the errors section](https://docs.stripe.com/error-codes) for a list of codes).
110
110
  */
111
111
  failure_code: string | null;
112
112
 
@@ -128,17 +128,17 @@ declare module 'stripe' {
128
128
  livemode: boolean;
129
129
 
130
130
  /**
131
- * 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.
131
+ * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
132
132
  */
133
133
  metadata: Stripe.Metadata;
134
134
 
135
135
  /**
136
- * The account (if any) the charge was made on behalf of without triggering an automatic transfer. See the [Connect documentation](https://stripe.com/docs/connect/separate-charges-and-transfers) for details.
136
+ * The account (if any) the charge was made on behalf of without triggering an automatic transfer. See the [Connect documentation](https://docs.stripe.com/connect/separate-charges-and-transfers) for details.
137
137
  */
138
138
  on_behalf_of: string | Stripe.Account | null;
139
139
 
140
140
  /**
141
- * Details about whether the payment was accepted, and why. See [understanding declines](https://stripe.com/docs/declines) for details.
141
+ * Details about whether the payment was accepted, and why. See [understanding declines](https://docs.stripe.com/declines) for details.
142
142
  */
143
143
  outcome: Charge.Outcome | null;
144
144
 
@@ -165,7 +165,7 @@ declare module 'stripe' {
165
165
  presentment_details?: Charge.PresentmentDetails;
166
166
 
167
167
  /**
168
- * Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
168
+ * Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
169
169
  */
170
170
  radar_options?: Charge.RadarOptions;
171
171
 
@@ -237,12 +237,12 @@ declare module 'stripe' {
237
237
  transfer?: string | Stripe.Transfer;
238
238
 
239
239
  /**
240
- * An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://stripe.com/docs/connect/destination-charges) for details.
240
+ * An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://docs.stripe.com/connect/destination-charges) for details.
241
241
  */
242
242
  transfer_data: Charge.TransferData | null;
243
243
 
244
244
  /**
245
- * A string that identifies this transaction as part of a group. See the [Connect documentation](https://stripe.com/docs/connect/separate-charges-and-transfers#transfer-options) for details.
245
+ * A string that identifies this transaction as part of a group. See the [Connect documentation](https://docs.stripe.com/connect/separate-charges-and-transfers#transfer-options) for details.
246
246
  */
247
247
  transfer_group: string | null;
248
248
  }
@@ -319,7 +319,7 @@ declare module 'stripe' {
319
319
 
320
320
  interface Outcome {
321
321
  /**
322
- * An enumerated value providing a more detailed explanation on [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines).
322
+ * An enumerated value providing a more detailed explanation on [how to proceed with an error](https://docs.stripe.com/declines#retrying-issuer-declines).
323
323
  */
324
324
  advice_code: Outcome.AdviceCode | null;
325
325
 
@@ -334,12 +334,12 @@ declare module 'stripe' {
334
334
  network_decline_code: string | null;
335
335
 
336
336
  /**
337
- * Possible values are `approved_by_network`, `declined_by_network`, `not_sent_to_network`, and `reversed_after_approval`. The value `reversed_after_approval` indicates the payment was [blocked by Stripe](https://stripe.com/docs/declines#blocked-payments) after bank authorization, and may temporarily appear as "pending" on a cardholder's statement.
337
+ * Possible values are `approved_by_network`, `declined_by_network`, `not_sent_to_network`, and `reversed_after_approval`. The value `reversed_after_approval` indicates the payment was [blocked by Stripe](https://docs.stripe.com/declines#blocked-payments) after bank authorization, and may temporarily appear as "pending" on a cardholder's statement.
338
338
  */
339
339
  network_status: string | null;
340
340
 
341
341
  /**
342
- * An enumerated value providing a more detailed explanation of the outcome's `type`. Charges blocked by Radar's default block rule have the value `highest_risk_level`. Charges placed in review by Radar's default review rule have the value `elevated_risk_level`. Charges blocked because the payment is unlikely to be authorized have the value `low_probability_of_authorization`. Charges authorized, blocked, or placed in review by custom rules have the value `rule`. See [understanding declines](https://stripe.com/docs/declines) for more details.
342
+ * An enumerated value providing a more detailed explanation of the outcome's `type`. Charges blocked by Radar's default block rule have the value `highest_risk_level`. Charges placed in review by Radar's default review rule have the value `elevated_risk_level`. Charges blocked because the payment is unlikely to be authorized have the value `low_probability_of_authorization`. Charges authorized, blocked, or placed in review by custom rules have the value `rule`. See [understanding declines](https://docs.stripe.com/declines) for more details.
343
343
  */
344
344
  reason: string | null;
345
345
 
@@ -364,7 +364,7 @@ declare module 'stripe' {
364
364
  seller_message: string | null;
365
365
 
366
366
  /**
367
- * Possible values are `authorized`, `manual_review`, `issuer_declined`, `blocked`, and `invalid`. See [understanding declines](https://stripe.com/docs/declines) and [Radar reviews](https://stripe.com/docs/radar/reviews) for details.
367
+ * Possible values are `authorized`, `manual_review`, `issuer_declined`, `blocked`, and `invalid`. See [understanding declines](https://docs.stripe.com/declines) and [Radar reviews](https://docs.stripe.com/radar/reviews) for details.
368
368
  */
369
369
  type: string;
370
370
  }
@@ -515,7 +515,7 @@ declare module 'stripe' {
515
515
  twint?: PaymentMethodDetails.Twint;
516
516
 
517
517
  /**
518
- * The type of transaction-specific details of the payment method used in the payment. See [PaymentMethod.type](https://stripe.com/docs/api/payment_methods/object#payment_method_object-type) for the full list of possible types.
518
+ * The type of transaction-specific details of the payment method used in the payment. See [PaymentMethod.type](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type) for the full list of possible types.
519
519
  * An additional hash is included on `payment_method_details` with a name matching this value.
520
520
  * It contains information specific to the payment method.
521
521
  */
@@ -595,6 +595,11 @@ declare module 'stripe' {
595
595
  */
596
596
  bank_name: string | null;
597
597
 
598
+ /**
599
+ * Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
600
+ */
601
+ expected_debit_date?: string;
602
+
598
603
  /**
599
604
  * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
600
605
  */
@@ -623,12 +628,12 @@ declare module 'stripe' {
623
628
 
624
629
  interface Affirm {
625
630
  /**
626
- * ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to.
631
+ * ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
627
632
  */
628
633
  location?: string;
629
634
 
630
635
  /**
631
- * ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on.
636
+ * ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
632
637
  */
633
638
  reader?: string;
634
639
 
@@ -750,6 +755,11 @@ declare module 'stripe' {
750
755
  */
751
756
  bsb_number: string | null;
752
757
 
758
+ /**
759
+ * Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
760
+ */
761
+ expected_debit_date?: string;
762
+
753
763
  /**
754
764
  * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
755
765
  */
@@ -767,6 +777,11 @@ declare module 'stripe' {
767
777
  }
768
778
 
769
779
  interface BacsDebit {
780
+ /**
781
+ * Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
782
+ */
783
+ expected_debit_date?: string;
784
+
770
785
  /**
771
786
  * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
772
787
  */
@@ -936,7 +951,7 @@ declare module 'stripe' {
936
951
  /**
937
952
  * Installment details for this payment.
938
953
  *
939
- * For more information, see the [installments integration guide](https://stripe.com/docs/payments/installments).
954
+ * For more information, see the [installments integration guide](https://docs.stripe.com/payments/installments).
940
955
  */
941
956
  installments: Card.Installments | null;
942
957
 
@@ -1377,7 +1392,7 @@ declare module 'stripe' {
1377
1392
  iin?: string | null;
1378
1393
 
1379
1394
  /**
1380
- * Whether this [PaymentIntent](https://stripe.com/docs/api/payment_intents) is eligible for incremental authorizations. Request support using [request_incremental_authorization_support](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-payment_method_options-card_present-request_incremental_authorization_support).
1395
+ * Whether this [PaymentIntent](https://docs.stripe.com/api/payment_intents) is eligible for incremental authorizations. Request support using [request_incremental_authorization_support](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-payment_method_options-card_present-request_incremental_authorization_support).
1381
1396
  */
1382
1397
  incremental_authorization_supported: boolean;
1383
1398
 
@@ -1716,7 +1731,7 @@ declare module 'stripe' {
1716
1731
 
1717
1732
  interface Ideal {
1718
1733
  /**
1719
- * The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
1734
+ * The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `mollie`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
1720
1735
  */
1721
1736
  bank: Ideal.Bank | null;
1722
1737
 
@@ -1762,6 +1777,7 @@ declare module 'stripe' {
1762
1777
  | 'handelsbanken'
1763
1778
  | 'ing'
1764
1779
  | 'knab'
1780
+ | 'mollie'
1765
1781
  | 'moneyou'
1766
1782
  | 'n26'
1767
1783
  | 'nn'
@@ -1784,6 +1800,7 @@ declare module 'stripe' {
1784
1800
  | 'HANDNL2A'
1785
1801
  | 'INGBNL2A'
1786
1802
  | 'KNABNL2H'
1803
+ | 'MLLENL2A'
1787
1804
  | 'MOYONL21'
1788
1805
  | 'NNBANL2G'
1789
1806
  | 'NTSBDEB1'
@@ -2157,6 +2174,11 @@ declare module 'stripe' {
2157
2174
  */
2158
2175
  branch_code: string;
2159
2176
 
2177
+ /**
2178
+ * Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
2179
+ */
2180
+ expected_debit_date?: string;
2181
+
2160
2182
  /**
2161
2183
  * Last four digits of the bank account number.
2162
2184
  */
@@ -2240,12 +2262,12 @@ declare module 'stripe' {
2240
2262
 
2241
2263
  interface Paynow {
2242
2264
  /**
2243
- * ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to.
2265
+ * ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
2244
2266
  */
2245
2267
  location?: string;
2246
2268
 
2247
2269
  /**
2248
- * ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on.
2270
+ * ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
2249
2271
  */
2250
2272
  reader?: string;
2251
2273
 
@@ -2498,6 +2520,11 @@ declare module 'stripe' {
2498
2520
  */
2499
2521
  country: string | null;
2500
2522
 
2523
+ /**
2524
+ * Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
2525
+ */
2526
+ expected_debit_date?: string;
2527
+
2501
2528
  /**
2502
2529
  * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
2503
2530
  */
@@ -2509,7 +2536,7 @@ declare module 'stripe' {
2509
2536
  last4: string | null;
2510
2537
 
2511
2538
  /**
2512
- * Find the ID of the mandate used for this payment under the [payment_method_details.sepa_debit.mandate](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-sepa_debit-mandate) property on the Charge. Use this mandate ID to [retrieve the Mandate](https://stripe.com/docs/api/mandates/retrieve).
2539
+ * Find the ID of the mandate used for this payment under the [payment_method_details.sepa_debit.mandate](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-sepa_debit-mandate) property on the Charge. Use this mandate ID to [retrieve the Mandate](https://docs.stripe.com/api/mandates/retrieve).
2513
2540
  */
2514
2541
  mandate: string | null;
2515
2542
  }
@@ -2629,6 +2656,11 @@ declare module 'stripe' {
2629
2656
  */
2630
2657
  bank_name: string | null;
2631
2658
 
2659
+ /**
2660
+ * Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
2661
+ */
2662
+ expected_debit_date?: string;
2663
+
2632
2664
  /**
2633
2665
  * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
2634
2666
  */
@@ -2670,12 +2702,12 @@ declare module 'stripe' {
2670
2702
  fingerprint: string | null;
2671
2703
 
2672
2704
  /**
2673
- * ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to.
2705
+ * ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
2674
2706
  */
2675
2707
  location?: string;
2676
2708
 
2677
2709
  /**
2678
- * ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on.
2710
+ * ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
2679
2711
  */
2680
2712
  reader?: string;
2681
2713
 
@@ -2702,7 +2734,7 @@ declare module 'stripe' {
2702
2734
 
2703
2735
  interface RadarOptions {
2704
2736
  /**
2705
- * A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
2737
+ * A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
2706
2738
  */
2707
2739
  session?: string;
2708
2740
  }