stripe 19.2.0-beta.1 → 19.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 (82) hide show
  1. package/CHANGELOG.md +90 -0
  2. package/OPENAPI_VERSION +1 -1
  3. package/VERSION +1 -1
  4. package/cjs/apiVersion.js +1 -1
  5. package/cjs/resources/PaymentRecords.js +4 -0
  6. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +5 -0
  7. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +13 -0
  8. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +4 -0
  9. package/cjs/stripe.core.js +1 -1
  10. package/esm/apiVersion.js +1 -1
  11. package/esm/resources/PaymentRecords.js +4 -0
  12. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +5 -0
  13. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +13 -0
  14. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +4 -0
  15. package/esm/stripe.core.js +1 -1
  16. package/package.json +1 -1
  17. package/types/Accounts.d.ts +24 -0
  18. package/types/AccountsResource.d.ts +44 -0
  19. package/types/BankAccounts.d.ts +2 -0
  20. package/types/Billing/CreditGrantsResource.d.ts +2 -2
  21. package/types/BillingPortal/Configurations.d.ts +1 -1
  22. package/types/BillingPortal/ConfigurationsResource.d.ts +10 -0
  23. package/types/Capabilities.d.ts +2 -0
  24. package/types/Charges.d.ts +7 -2
  25. package/types/ChargesResource.d.ts +16 -4
  26. package/types/Checkout/Sessions.d.ts +15 -0
  27. package/types/Checkout/SessionsResource.d.ts +21 -3
  28. package/types/ConfirmationTokens.d.ts +1 -0
  29. package/types/CreditNotes.d.ts +26 -0
  30. package/types/CreditNotesResource.d.ts +78 -0
  31. package/types/CustomerSessions.d.ts +161 -0
  32. package/types/CustomerSessionsResource.d.ts +161 -0
  33. package/types/Customers.d.ts +7 -0
  34. package/types/CustomersResource.d.ts +1 -0
  35. package/types/Files.d.ts +1 -0
  36. package/types/FilesResource.d.ts +2 -0
  37. package/types/FinancialConnections/AccountsResource.d.ts +1 -1
  38. package/types/Invoices.d.ts +1 -0
  39. package/types/PaymentAttemptRecords.d.ts +7 -2
  40. package/types/PaymentAttemptRecordsResource.d.ts +5 -0
  41. package/types/PaymentIntentAmountDetailsLineItems.d.ts +17 -7
  42. package/types/PaymentIntents.d.ts +20 -9
  43. package/types/PaymentIntentsResource.d.ts +170 -65
  44. package/types/PaymentLinks.d.ts +34 -0
  45. package/types/PaymentLinksResource.d.ts +88 -0
  46. package/types/PaymentMethodConfigurations.d.ts +72 -0
  47. package/types/PaymentMethodConfigurationsResource.d.ts +100 -0
  48. package/types/PaymentMethods.d.ts +34 -0
  49. package/types/PaymentMethodsResource.d.ts +15 -1
  50. package/types/PaymentRecords.d.ts +7 -2
  51. package/types/PaymentRecordsResource.d.ts +89 -0
  52. package/types/PayoutsResource.d.ts +1 -1
  53. package/types/Persons.d.ts +2 -0
  54. package/types/QuotePreviewInvoices.d.ts +1 -0
  55. package/types/Refunds.d.ts +9 -0
  56. package/types/SetupAttempts.d.ts +1 -0
  57. package/types/SetupIntents.d.ts +66 -0
  58. package/types/SetupIntentsResource.d.ts +130 -0
  59. package/types/Tax/Registrations.d.ts +9 -0
  60. package/types/Tax/RegistrationsResource.d.ts +12 -0
  61. package/types/Terminal/Configurations.d.ts +19 -0
  62. package/types/Terminal/ConfigurationsResource.d.ts +44 -0
  63. package/types/Terminal/Readers.d.ts +14 -9
  64. package/types/Terminal/ReadersResource.d.ts +30 -30
  65. package/types/TestHelpers/Terminal/ReadersResource.d.ts +1 -1
  66. package/types/TokensResource.d.ts +22 -0
  67. package/types/V2/Billing/Cadences.d.ts +2 -2
  68. package/types/V2/Billing/CollectionSettingVersions.d.ts +2 -2
  69. package/types/V2/Billing/CollectionSettings.d.ts +2 -2
  70. package/types/V2/Billing/CollectionSettingsResource.d.ts +4 -4
  71. package/types/V2/Core/Accounts.d.ts +93 -2
  72. package/types/V2/Core/AccountsResource.d.ts +110 -5
  73. package/types/V2/Core/EventTypes.d.ts +11 -34
  74. package/types/V2/Core/EventsResource.d.ts +29 -3
  75. package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +22 -0
  76. package/types/V2/Core/Vault/UsBankAccounts.d.ts +46 -0
  77. package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +75 -0
  78. package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +25 -0
  79. package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +1 -1
  80. package/types/WebhookEndpointsResource.d.ts +2 -1
  81. package/types/apiVersion.d.ts +1 -1
  82. package/types/crypto/crypto.d.ts +1 -1
@@ -121,6 +121,7 @@ declare module 'stripe' {
121
121
  type LocationSource =
122
122
  | 'identity_address'
123
123
  | 'ip_address'
124
+ | 'payment_method'
124
125
  | 'shipping_address';
125
126
  }
126
127
 
@@ -1056,6 +1057,11 @@ declare module 'stripe' {
1056
1057
  * Can hold storage-type funds on Stripe in GBP.
1057
1058
  */
1058
1059
  gbp?: HoldsCurrencies.Gbp;
1060
+
1061
+ /**
1062
+ * Can hold storage-type funds on Stripe in USD.
1063
+ */
1064
+ usd?: HoldsCurrencies.Usd;
1059
1065
  }
1060
1066
 
1061
1067
  namespace HoldsCurrencies {
@@ -1065,6 +1071,13 @@ declare module 'stripe' {
1065
1071
  */
1066
1072
  requested: boolean;
1067
1073
  }
1074
+
1075
+ interface Usd {
1076
+ /**
1077
+ * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
1078
+ */
1079
+ requested: boolean;
1080
+ }
1068
1081
  }
1069
1082
 
1070
1083
  interface InboundTransfers {
@@ -1295,7 +1308,11 @@ declare module 'stripe' {
1295
1308
  }
1296
1309
 
1297
1310
  namespace Responsibilities {
1298
- type FeesCollector = 'application' | 'stripe';
1311
+ type FeesCollector =
1312
+ | 'application'
1313
+ | 'application_custom'
1314
+ | 'application_express'
1315
+ | 'stripe';
1299
1316
 
1300
1317
  type LossesCollector = 'application' | 'stripe';
1301
1318
  }
@@ -1303,7 +1320,7 @@ declare module 'stripe' {
1303
1320
 
1304
1321
  interface Identity {
1305
1322
  /**
1306
- * Attestations from the identity's key people, e.g. owners, executives, directors.
1323
+ * Attestations from the identity's key people, e.g. owners, executives, directors, representatives.
1307
1324
  */
1308
1325
  attestations?: Identity.Attestations;
1309
1326
 
@@ -1345,6 +1362,11 @@ declare module 'stripe' {
1345
1362
  */
1346
1363
  persons_provided?: Attestations.PersonsProvided;
1347
1364
 
1365
+ /**
1366
+ * This hash is used to attest that the representative is authorized to act as the representative of their legal entity.
1367
+ */
1368
+ representative_declaration?: Attestations.RepresentativeDeclaration;
1369
+
1348
1370
  /**
1349
1371
  * Attestations of accepted terms of service agreements.
1350
1372
  */
@@ -1414,6 +1436,23 @@ declare module 'stripe' {
1414
1436
  | 'qualifies_as_financial_institution';
1415
1437
  }
1416
1438
 
1439
+ interface RepresentativeDeclaration {
1440
+ /**
1441
+ * The time marking when the representative attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1442
+ */
1443
+ date?: string;
1444
+
1445
+ /**
1446
+ * The IP address from which the representative attestation was made.
1447
+ */
1448
+ ip?: string;
1449
+
1450
+ /**
1451
+ * The user agent of the browser from which the representative attestation was made.
1452
+ */
1453
+ user_agent?: string;
1454
+ }
1455
+
1417
1456
  interface TermsOfService {
1418
1457
  /**
1419
1458
  * Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance).
@@ -2702,6 +2741,7 @@ declare module 'stripe' {
2702
2741
  type LocationSource =
2703
2742
  | 'identity_address'
2704
2743
  | 'ip_address'
2744
+ | 'payment_method'
2705
2745
  | 'shipping_address';
2706
2746
 
2707
2747
  type ValidateLocation = 'auto' | 'deferred' | 'immediately';
@@ -3625,6 +3665,11 @@ declare module 'stripe' {
3625
3665
  * Can hold storage-type funds on Stripe in GBP.
3626
3666
  */
3627
3667
  gbp?: HoldsCurrencies.Gbp;
3668
+
3669
+ /**
3670
+ * Can hold storage-type funds on Stripe in USD.
3671
+ */
3672
+ usd?: HoldsCurrencies.Usd;
3628
3673
  }
3629
3674
 
3630
3675
  namespace HoldsCurrencies {
@@ -3634,6 +3679,13 @@ declare module 'stripe' {
3634
3679
  */
3635
3680
  requested?: boolean;
3636
3681
  }
3682
+
3683
+ interface Usd {
3684
+ /**
3685
+ * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3686
+ */
3687
+ requested?: boolean;
3688
+ }
3637
3689
  }
3638
3690
 
3639
3691
  interface InboundTransfers {
@@ -3864,7 +3916,11 @@ declare module 'stripe' {
3864
3916
  }
3865
3917
 
3866
3918
  namespace Responsibilities {
3867
- type FeesCollector = 'application' | 'stripe';
3919
+ type FeesCollector =
3920
+ | 'application'
3921
+ | 'application_custom'
3922
+ | 'application_express'
3923
+ | 'stripe';
3868
3924
 
3869
3925
  type LossesCollector = 'application' | 'stripe';
3870
3926
  }
@@ -3872,7 +3928,7 @@ declare module 'stripe' {
3872
3928
 
3873
3929
  interface Identity {
3874
3930
  /**
3875
- * Attestations from the identity's key people, e.g. owners, executives, directors.
3931
+ * Attestations from the identity's key people, e.g. owners, executives, directors, representatives.
3876
3932
  */
3877
3933
  attestations?: Identity.Attestations;
3878
3934
 
@@ -3914,6 +3970,11 @@ declare module 'stripe' {
3914
3970
  */
3915
3971
  persons_provided?: Attestations.PersonsProvided;
3916
3972
 
3973
+ /**
3974
+ * This hash is used to attest that the representative is authorized to act as the representative of their legal entity.
3975
+ */
3976
+ representative_declaration?: Attestations.RepresentativeDeclaration;
3977
+
3917
3978
  /**
3918
3979
  * Attestations of accepted terms of service agreements.
3919
3980
  */
@@ -3983,12 +4044,34 @@ declare module 'stripe' {
3983
4044
  | 'qualifies_as_financial_institution';
3984
4045
  }
3985
4046
 
4047
+ interface RepresentativeDeclaration {
4048
+ /**
4049
+ * The time marking when the representative attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
4050
+ */
4051
+ date?: string;
4052
+
4053
+ /**
4054
+ * The IP address from which the representative attestation was made.
4055
+ */
4056
+ ip?: string;
4057
+
4058
+ /**
4059
+ * The user agent of the browser from which the representative attestation was made.
4060
+ */
4061
+ user_agent?: string;
4062
+ }
4063
+
3986
4064
  interface TermsOfService {
3987
4065
  /**
3988
4066
  * Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance).
3989
4067
  */
3990
4068
  account?: TermsOfService.Account;
3991
4069
 
4070
+ /**
4071
+ * Details on the Account's acceptance of Crypto-storer-specific terms of service.
4072
+ */
4073
+ crypto_storer?: TermsOfService.CryptoStorer;
4074
+
3992
4075
  /**
3993
4076
  * Details on the Account's acceptance of Treasury-specific terms of service.
3994
4077
  */
@@ -4013,6 +4096,23 @@ declare module 'stripe' {
4013
4096
  user_agent?: string;
4014
4097
  }
4015
4098
 
4099
+ interface CryptoStorer {
4100
+ /**
4101
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
4102
+ */
4103
+ date?: string;
4104
+
4105
+ /**
4106
+ * The IP address from which the Account's representative accepted the terms of service.
4107
+ */
4108
+ ip?: string;
4109
+
4110
+ /**
4111
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
4112
+ */
4113
+ user_agent?: string;
4114
+ }
4115
+
4016
4116
  interface Storer {
4017
4117
  /**
4018
4118
  * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
@@ -4904,6 +5004,11 @@ declare module 'stripe' {
4904
5004
  */
4905
5005
  applied_configurations?: Array<string>;
4906
5006
 
5007
+ /**
5008
+ * Filter by whether the account is closed. If omitted, returns only Accounts that are not closed.
5009
+ */
5010
+ closed?: boolean;
5011
+
4907
5012
  /**
4908
5013
  * The upper limit on the number of accounts returned by the List Account request.
4909
5014
  */
@@ -4981,7 +5086,7 @@ declare module 'stripe' {
4981
5086
  ): ApiListPromise<Stripe.V2.Core.Account>;
4982
5087
 
4983
5088
  /**
4984
- * Removes access to the Account and its associated resources.
5089
+ * Removes access to the Account and its associated resources. Closed Accounts can no longer be operated on, but limited information can still be retrieved through the API in order to be able to track their history.
4985
5090
  */
4986
5091
  close(
4987
5092
  id: string,
@@ -5,7 +5,6 @@ declare module 'stripe' {
5
5
  export type Event =
6
6
  | Stripe.Events.V1BillingMeterErrorReportTriggeredEvent
7
7
  | Stripe.Events.V1BillingMeterNoMeterFoundEvent
8
- | Stripe.Events.V2BillingBillSettingUpdatedEvent
9
8
  | Stripe.Events.V2CoreAccountClosedEvent
10
9
  | Stripe.Events.V2CoreAccountCreatedEvent
11
10
  | Stripe.Events.V2CoreAccountUpdatedEvent
@@ -71,7 +70,6 @@ declare module 'stripe' {
71
70
  export type EventNotification =
72
71
  | Stripe.Events.V1BillingMeterErrorReportTriggeredEventNotification
73
72
  | Stripe.Events.V1BillingMeterNoMeterFoundEventNotification
74
- | Stripe.Events.V2BillingBillSettingUpdatedEventNotification
75
73
  | Stripe.Events.V2CoreAccountClosedEventNotification
76
74
  | Stripe.Events.V2CoreAccountCreatedEventNotification
77
75
  | Stripe.Events.V2CoreAccountUpdatedEventNotification
@@ -355,38 +353,6 @@ declare module 'stripe' {
355
353
  }
356
354
  }
357
355
 
358
- /**
359
- * This event occurs when a bill setting is updated.
360
- */
361
- export interface V2BillingBillSettingUpdatedEvent
362
- extends V2.Core.EventBase {
363
- type: 'v2.billing.bill_setting.updated';
364
- // Retrieves data specific to this event.
365
- data: V2BillingBillSettingUpdatedEvent.Data;
366
- // Object containing the reference to API resource relevant to the event.
367
- related_object: V2.Core.Events.RelatedObject;
368
- // Retrieves the object associated with the event.
369
- fetchRelatedObject(): Promise<V2.Billing.BillSetting>;
370
- }
371
- export interface V2BillingBillSettingUpdatedEventNotification
372
- extends V2.Core.EventNotificationBase {
373
- type: 'v2.billing.bill_setting.updated';
374
- // Object containing the reference to API resource relevant to the event.
375
- related_object: V2.Core.Events.RelatedObject;
376
- // Retrieves the object associated with the event.
377
- fetchRelatedObject(): Promise<V2.Billing.BillSetting>;
378
- fetchEvent(): Promise<V2BillingBillSettingUpdatedEvent>;
379
- }
380
-
381
- namespace V2BillingBillSettingUpdatedEvent {
382
- export interface Data {
383
- /**
384
- * Timestamp of when the object was updated.
385
- */
386
- updated: string;
387
- }
388
- }
389
-
390
356
  /**
391
357
  * This event occurs when an account is closed.
392
358
  */
@@ -1702,6 +1668,8 @@ declare module 'stripe' {
1702
1668
  export interface V2MoneyManagementTransactionCreatedEvent
1703
1669
  extends V2.Core.EventBase {
1704
1670
  type: 'v2.money_management.transaction.created';
1671
+ // Retrieves data specific to this event.
1672
+ data: V2MoneyManagementTransactionCreatedEvent.Data;
1705
1673
  // Object containing the reference to API resource relevant to the event.
1706
1674
  related_object: V2.Core.Events.RelatedObject;
1707
1675
  // Retrieves the object associated with the event.
@@ -1717,6 +1685,15 @@ declare module 'stripe' {
1717
1685
  fetchEvent(): Promise<V2MoneyManagementTransactionCreatedEvent>;
1718
1686
  }
1719
1687
 
1688
+ namespace V2MoneyManagementTransactionCreatedEvent {
1689
+ export interface Data {
1690
+ /**
1691
+ * Id of the v1 Transaction corresponding to this Transaction.
1692
+ */
1693
+ v1_id?: string;
1694
+ }
1695
+ }
1696
+
1720
1697
  /**
1721
1698
  * Occurs when a Transaction is updated.
1722
1699
  */
@@ -12,14 +12,39 @@ declare module 'stripe' {
12
12
  namespace Core {
13
13
  interface EventListParams {
14
14
  /**
15
- * Primary object ID used to retrieve related events.
15
+ * Filter for events created after the specified timestamp.
16
16
  */
17
- object_id: string;
17
+ gt?: string;
18
+
19
+ /**
20
+ * Filter for events created at or after the specified timestamp.
21
+ */
22
+ gte?: string;
18
23
 
19
24
  /**
20
25
  * The page size.
21
26
  */
22
27
  limit?: number;
28
+
29
+ /**
30
+ * Filter for events created before the specified timestamp.
31
+ */
32
+ lt?: string;
33
+
34
+ /**
35
+ * Filter for events created at or before the specified timestamp.
36
+ */
37
+ lte?: string;
38
+
39
+ /**
40
+ * Primary object ID used to retrieve related events.
41
+ */
42
+ object_id?: string;
43
+
44
+ /**
45
+ * An array of up to 20 strings containing specific event names.
46
+ */
47
+ types?: Array<string>;
23
48
  }
24
49
  }
25
50
 
@@ -42,9 +67,10 @@ declare module 'stripe' {
42
67
  * List events, going back up to 30 days.
43
68
  */
44
69
  list(
45
- params: EventListParams,
70
+ params?: EventListParams,
46
71
  options?: RequestOptions
47
72
  ): ApiListPromise<Stripe.V2.Core.Event>;
73
+ list(options?: RequestOptions): ApiListPromise<Stripe.V2.Core.Event>;
48
74
  }
49
75
  }
50
76
  }
@@ -63,6 +63,17 @@ declare module 'stripe' {
63
63
  }
64
64
  }
65
65
 
66
+ namespace Core {
67
+ namespace Vault {
68
+ interface GbBankAccountListParams {
69
+ /**
70
+ * Optionally set the maximum number of results per page. Defaults to 10.
71
+ */
72
+ limit?: number;
73
+ }
74
+ }
75
+ }
76
+
66
77
  namespace Core {
67
78
  namespace Vault {
68
79
  interface GbBankAccountAcknowledgeConfirmationOfPayeeParams {}
@@ -119,6 +130,17 @@ declare module 'stripe' {
119
130
  options?: RequestOptions
120
131
  ): Promise<Stripe.Response<Stripe.V2.Core.Vault.GbBankAccount>>;
121
132
 
133
+ /**
134
+ * List objects that can be used as destinations for outbound money movement via OutboundPayment.
135
+ */
136
+ list(
137
+ params?: GbBankAccountListParams,
138
+ options?: RequestOptions
139
+ ): ApiListPromise<Stripe.V2.Core.Vault.GbBankAccount>;
140
+ list(
141
+ options?: RequestOptions
142
+ ): ApiListPromise<Stripe.V2.Core.Vault.GbBankAccount>;
143
+
122
144
  /**
123
145
  * Confirm that you have received the result of the Confirmation of Payee request, and that you are okay with
124
146
  * proceeding to pay out to this bank account despite the account not matching, partially matching, or the service
@@ -58,10 +58,56 @@ declare module 'stripe' {
58
58
  * The ACH routing number of the bank account.
59
59
  */
60
60
  routing_number?: string;
61
+
62
+ /**
63
+ * The bank account verification details.
64
+ */
65
+ verification: UsBankAccount.Verification;
61
66
  }
62
67
 
63
68
  namespace UsBankAccount {
64
69
  type BankAccountType = 'checking' | 'savings';
70
+
71
+ interface Verification {
72
+ /**
73
+ * The microdeposit verification details if the status is awaiting verification.
74
+ */
75
+ microdeposit_verification_details?: Verification.MicrodepositVerificationDetails;
76
+
77
+ /**
78
+ * The bank account verification status.
79
+ */
80
+ status: Verification.Status;
81
+ }
82
+
83
+ namespace Verification {
84
+ interface MicrodepositVerificationDetails {
85
+ /**
86
+ * Time when microdeposits will expire and have to be re-sent.
87
+ */
88
+ expires: string;
89
+
90
+ /**
91
+ * Microdeposit type can be amounts or descriptor_type.
92
+ */
93
+ microdeposit_type: MicrodepositVerificationDetails.MicrodepositType;
94
+
95
+ /**
96
+ * Time when microdeposits were sent.
97
+ */
98
+ sent: string;
99
+ }
100
+
101
+ namespace MicrodepositVerificationDetails {
102
+ type MicrodepositType = 'amounts' | 'descriptor_code';
103
+ }
104
+
105
+ type Status =
106
+ | 'awaiting_verification'
107
+ | 'unverified'
108
+ | 'verification_failed'
109
+ | 'verified';
110
+ }
65
111
  }
66
112
  }
67
113
  }
@@ -55,12 +55,50 @@ declare module 'stripe' {
55
55
  }
56
56
  }
57
57
 
58
+ namespace Core {
59
+ namespace Vault {
60
+ interface UsBankAccountListParams {
61
+ /**
62
+ * Optionally set the maximum number of results per page. Defaults to 10.
63
+ */
64
+ limit?: number;
65
+
66
+ /**
67
+ * Optionally filter by verification status. Mutually exclusive with `unverified`, `verified`, `awaiting_verification`, and `verification_failed`.
68
+ */
69
+ verification_status?: string;
70
+ }
71
+ }
72
+ }
73
+
58
74
  namespace Core {
59
75
  namespace Vault {
60
76
  interface UsBankAccountArchiveParams {}
61
77
  }
62
78
  }
63
79
 
80
+ namespace Core {
81
+ namespace Vault {
82
+ interface UsBankAccountConfirmMicrodepositsParams {
83
+ /**
84
+ * Two amounts received through Send Microdeposits must match the input to Confirm Microdeposits to verify US Bank Account.
85
+ */
86
+ amounts?: Array<number>;
87
+
88
+ /**
89
+ * Descriptor code received through Send Microdeposits must match the input to Confirm Microdeposits to verify US Bank Account.
90
+ */
91
+ descriptor_code?: string;
92
+ }
93
+ }
94
+ }
95
+
96
+ namespace Core {
97
+ namespace Vault {
98
+ interface UsBankAccountSendMicrodepositsParams {}
99
+ }
100
+ }
101
+
64
102
  namespace Core {
65
103
  namespace Vault {
66
104
  class UsBankAccountsResource {
@@ -100,6 +138,17 @@ declare module 'stripe' {
100
138
  options?: RequestOptions
101
139
  ): Promise<Stripe.Response<Stripe.V2.Core.Vault.UsBankAccount>>;
102
140
 
141
+ /**
142
+ * List USBankAccount objects. Optionally filter by verification status.
143
+ */
144
+ list(
145
+ params?: UsBankAccountListParams,
146
+ options?: RequestOptions
147
+ ): ApiListPromise<Stripe.V2.Core.Vault.UsBankAccount>;
148
+ list(
149
+ options?: RequestOptions
150
+ ): ApiListPromise<Stripe.V2.Core.Vault.UsBankAccount>;
151
+
103
152
  /**
104
153
  * Archive a USBankAccount object. USBankAccount objects will not be automatically archived by Stripe.
105
154
  * Archived USBankAccount objects cannot be used as outbound destinations
@@ -115,6 +164,32 @@ declare module 'stripe' {
115
164
  id: string,
116
165
  options?: RequestOptions
117
166
  ): Promise<Stripe.Response<Stripe.V2.Core.Vault.UsBankAccount>>;
167
+
168
+ /**
169
+ * Confirm microdeposits amounts or descriptor code that you have received from the Send Microdeposits request. Once you correctly confirm this, this US Bank Account will be verified and eligible to transfer funds with.
170
+ */
171
+ confirmMicrodeposits(
172
+ id: string,
173
+ params?: UsBankAccountConfirmMicrodepositsParams,
174
+ options?: RequestOptions
175
+ ): Promise<Stripe.Response<Stripe.V2.Core.Vault.UsBankAccount>>;
176
+ confirmMicrodeposits(
177
+ id: string,
178
+ options?: RequestOptions
179
+ ): Promise<Stripe.Response<Stripe.V2.Core.Vault.UsBankAccount>>;
180
+
181
+ /**
182
+ * Send microdeposits in order to verify your US Bank Account so it is eligible to transfer funds. This will start the verification process and you must Confirm Microdeposits to successfully verify your US Bank Account.
183
+ */
184
+ sendMicrodeposits(
185
+ id: string,
186
+ params?: UsBankAccountSendMicrodepositsParams,
187
+ options?: RequestOptions
188
+ ): Promise<Stripe.Response<Stripe.V2.Core.Vault.UsBankAccount>>;
189
+ sendMicrodeposits(
190
+ id: string,
191
+ options?: RequestOptions
192
+ ): Promise<Stripe.Response<Stripe.V2.Core.Vault.UsBankAccount>>;
118
193
  }
119
194
  }
120
195
  }
@@ -40,6 +40,20 @@ declare module 'stripe' {
40
40
  interface FinancialAccountRetrieveParams {}
41
41
  }
42
42
 
43
+ namespace MoneyManagement {
44
+ interface FinancialAccountUpdateParams {
45
+ /**
46
+ * A descriptive name for the FinancialAccount, up to 50 characters long. This name will be used in the Stripe Dashboard and embedded components.
47
+ */
48
+ display_name?: string;
49
+
50
+ /**
51
+ * Metadata associated with the FinancialAccount.
52
+ */
53
+ metadata?: Stripe.MetadataParam;
54
+ }
55
+ }
56
+
43
57
  namespace MoneyManagement {
44
58
  interface FinancialAccountListParams {
45
59
  /**
@@ -112,6 +126,17 @@ declare module 'stripe' {
112
126
  Stripe.Response<Stripe.V2.MoneyManagement.FinancialAccount>
113
127
  >;
114
128
 
129
+ /**
130
+ * Updates an existing FinancialAccount.
131
+ */
132
+ update(
133
+ id: string,
134
+ params?: FinancialAccountUpdateParams,
135
+ options?: RequestOptions
136
+ ): Promise<
137
+ Stripe.Response<Stripe.V2.MoneyManagement.FinancialAccount>
138
+ >;
139
+
115
140
  /**
116
141
  * Lists FinancialAccounts in this compartment.
117
142
  */
@@ -178,9 +178,9 @@ declare module 'stripe' {
178
178
  /**
179
179
  * Creates an OutboundPayment.
180
180
  * @throws Stripe.InsufficientFundsError
181
+ * @throws Stripe.FeatureNotEnabledError
181
182
  * @throws Stripe.QuotaExceededError
182
183
  * @throws Stripe.RecipientNotNotifiableError
183
- * @throws Stripe.FeatureNotEnabledError
184
184
  */
185
185
  create(
186
186
  params: OutboundPaymentCreateParams,
@@ -156,7 +156,8 @@ declare module 'stripe' {
156
156
  | '2025-06-30.basil'
157
157
  | '2025-07-30.basil'
158
158
  | '2025-08-27.basil'
159
- | '2025-09-30.clover';
159
+ | '2025-09-30.clover'
160
+ | '2025-10-29.clover';
160
161
 
161
162
  type EnabledEvent =
162
163
  | '*'
@@ -1,3 +1,3 @@
1
1
  // File generated from our OpenAPI spec
2
2
 
3
- export const ApiVersion = '2025-09-30.preview';
3
+ export const ApiVersion = '2025-10-29.preview';
@@ -20,7 +20,7 @@ declare module 'stripe' {
20
20
  computeHMACSignature: (payload: string, secret: string) => string;
21
21
 
22
22
  /**
23
- * Asynchrnously computes a SHA-256 HMAC with a given secret and a payload
23
+ * Asynchronously computes a SHA-256 HMAC with a given secret and a payload
24
24
  * (encoded in UTF-8). The output HMAC should be encoded in hexadecimal
25
25
  * and respect the contract of computeHMACSignature.
26
26
  */