increase 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/CHANGELOG.md +251 -0
  2. package/LICENSE +201 -0
  3. package/README.md +245 -0
  4. package/core.d.ts +5 -1
  5. package/core.d.ts.map +1 -1
  6. package/core.js +45 -11
  7. package/core.js.map +1 -1
  8. package/core.mjs +46 -12
  9. package/core.mjs.map +1 -1
  10. package/error.d.ts +17 -0
  11. package/error.d.ts.map +1 -1
  12. package/error.js +24 -0
  13. package/error.js.map +1 -1
  14. package/error.mjs +20 -0
  15. package/error.mjs.map +1 -1
  16. package/index.d.mts +12 -1
  17. package/index.d.ts +12 -1
  18. package/index.d.ts.map +1 -1
  19. package/index.js +8 -1
  20. package/index.js.map +1 -1
  21. package/index.mjs +5 -0
  22. package/index.mjs.map +1 -1
  23. package/package.json +1 -1
  24. package/resources/account-transfers.d.ts +14 -0
  25. package/resources/account-transfers.d.ts.map +1 -1
  26. package/resources/account-transfers.js.map +1 -1
  27. package/resources/account-transfers.mjs.map +1 -1
  28. package/resources/ach-transfers.d.ts +42 -1
  29. package/resources/ach-transfers.d.ts.map +1 -1
  30. package/resources/ach-transfers.js.map +1 -1
  31. package/resources/ach-transfers.mjs.map +1 -1
  32. package/resources/bookkeeping-entry-sets.d.ts +2 -2
  33. package/resources/card-profiles.d.ts +46 -0
  34. package/resources/card-profiles.d.ts.map +1 -1
  35. package/resources/card-profiles.js.map +1 -1
  36. package/resources/card-profiles.mjs.map +1 -1
  37. package/resources/check-transfers.d.ts +14 -0
  38. package/resources/check-transfers.d.ts.map +1 -1
  39. package/resources/check-transfers.js.map +1 -1
  40. package/resources/check-transfers.mjs.map +1 -1
  41. package/resources/entities/entities.d.ts +55 -10
  42. package/resources/entities/entities.d.ts.map +1 -1
  43. package/resources/entities/entities.js.map +1 -1
  44. package/resources/entities/entities.mjs.map +1 -1
  45. package/resources/files.d.ts +10 -9
  46. package/resources/files.d.ts.map +1 -1
  47. package/resources/files.js.map +1 -1
  48. package/resources/files.mjs.map +1 -1
  49. package/resources/pending-transactions.d.ts +5 -0
  50. package/resources/pending-transactions.d.ts.map +1 -1
  51. package/resources/pending-transactions.js.map +1 -1
  52. package/resources/pending-transactions.mjs.map +1 -1
  53. package/resources/real-time-payments-transfers.d.ts +14 -0
  54. package/resources/real-time-payments-transfers.d.ts.map +1 -1
  55. package/resources/real-time-payments-transfers.js.map +1 -1
  56. package/resources/real-time-payments-transfers.mjs.map +1 -1
  57. package/resources/simulations/cards.d.ts +5 -0
  58. package/resources/simulations/cards.d.ts.map +1 -1
  59. package/resources/simulations/cards.js.map +1 -1
  60. package/resources/simulations/cards.mjs.map +1 -1
  61. package/resources/simulations/inbound-funds-holds.d.ts +74 -0
  62. package/resources/simulations/inbound-funds-holds.d.ts.map +1 -0
  63. package/resources/simulations/inbound-funds-holds.js +19 -0
  64. package/resources/simulations/inbound-funds-holds.js.map +1 -0
  65. package/resources/simulations/inbound-funds-holds.mjs +13 -0
  66. package/resources/simulations/inbound-funds-holds.mjs.map +1 -0
  67. package/resources/simulations/index.d.ts +1 -0
  68. package/resources/simulations/index.d.ts.map +1 -1
  69. package/resources/simulations/index.js +8 -0
  70. package/resources/simulations/index.js.map +1 -1
  71. package/resources/simulations/index.mjs +1 -0
  72. package/resources/simulations/index.mjs.map +1 -1
  73. package/resources/simulations/simulations.d.ts +4 -0
  74. package/resources/simulations/simulations.d.ts.map +1 -1
  75. package/resources/simulations/simulations.js +3 -0
  76. package/resources/simulations/simulations.js.map +1 -1
  77. package/resources/simulations/simulations.mjs +3 -0
  78. package/resources/simulations/simulations.mjs.map +1 -1
  79. package/resources/wire-transfers.d.ts +14 -0
  80. package/resources/wire-transfers.d.ts.map +1 -1
  81. package/resources/wire-transfers.js.map +1 -1
  82. package/resources/wire-transfers.mjs.map +1 -1
  83. package/src/_shims/fileFromPath.node.ts +1 -1
  84. package/src/_shims/fileFromPath.ts +1 -1
  85. package/src/_shims/getMultipartRequestOptions.node.ts +1 -1
  86. package/src/_shims/getMultipartRequestOptions.ts +1 -1
  87. package/src/core.ts +47 -11
  88. package/src/error.ts +40 -0
  89. package/src/index.ts +14 -1
  90. package/src/resources/account-numbers.ts +5 -5
  91. package/src/resources/account-statements.ts +5 -5
  92. package/src/resources/account-transfers.ts +22 -5
  93. package/src/resources/accounts.ts +5 -5
  94. package/src/resources/ach-prenotifications.ts +5 -5
  95. package/src/resources/ach-transfers.ts +50 -6
  96. package/src/resources/balance-lookups.ts +3 -3
  97. package/src/resources/bookkeeping-accounts.ts +5 -5
  98. package/src/resources/bookkeeping-entries.ts +5 -5
  99. package/src/resources/bookkeeping-entry-sets.ts +5 -5
  100. package/src/resources/card-disputes.ts +5 -5
  101. package/src/resources/card-profiles.ts +60 -5
  102. package/src/resources/cards.ts +5 -5
  103. package/src/resources/check-deposits.ts +5 -5
  104. package/src/resources/check-transfers.ts +22 -5
  105. package/src/resources/declined-transactions.ts +6 -6
  106. package/src/resources/digital-wallet-tokens.ts +5 -5
  107. package/src/resources/documents.ts +5 -5
  108. package/src/resources/entities/entities.ts +70 -15
  109. package/src/resources/entities/supplemental-documents.ts +5 -5
  110. package/src/resources/event-subscriptions.ts +5 -5
  111. package/src/resources/events.ts +5 -5
  112. package/src/resources/exports.ts +5 -5
  113. package/src/resources/external-accounts.ts +5 -5
  114. package/src/resources/files.ts +16 -15
  115. package/src/resources/groups.ts +3 -3
  116. package/src/resources/inbound-ach-transfer-returns.ts +5 -5
  117. package/src/resources/inbound-wire-drawdown-requests.ts +5 -5
  118. package/src/resources/limits.ts +5 -5
  119. package/src/resources/oauth-connections.ts +5 -5
  120. package/src/resources/pending-transactions.ts +12 -6
  121. package/src/resources/programs.ts +5 -5
  122. package/src/resources/real-time-decisions.ts +4 -4
  123. package/src/resources/real-time-payments-transfers.ts +22 -5
  124. package/src/resources/routing-numbers.ts +4 -4
  125. package/src/resources/simulations/account-statements.ts +4 -4
  126. package/src/resources/simulations/account-transfers.ts +3 -3
  127. package/src/resources/simulations/ach-transfers.ts +5 -5
  128. package/src/resources/simulations/card-disputes.ts +4 -4
  129. package/src/resources/simulations/card-profiles.ts +3 -3
  130. package/src/resources/simulations/card-refunds.ts +4 -4
  131. package/src/resources/simulations/cards.ts +11 -5
  132. package/src/resources/simulations/check-deposits.ts +3 -3
  133. package/src/resources/simulations/check-transfers.ts +3 -3
  134. package/src/resources/simulations/digital-wallet-token-requests.ts +3 -3
  135. package/src/resources/simulations/documents.ts +4 -4
  136. package/src/resources/simulations/inbound-funds-holds.ts +88 -0
  137. package/src/resources/simulations/inbound-wire-drawdown-requests.ts +4 -4
  138. package/src/resources/simulations/index.ts +1 -0
  139. package/src/resources/simulations/interest-payments.ts +3 -3
  140. package/src/resources/simulations/programs.ts +4 -4
  141. package/src/resources/simulations/real-time-payments-transfers.ts +5 -5
  142. package/src/resources/simulations/simulations.ts +7 -2
  143. package/src/resources/simulations/wire-transfers.ts +3 -3
  144. package/src/resources/transactions.ts +5 -5
  145. package/src/resources/wire-drawdown-requests.ts +5 -5
  146. package/src/resources/wire-transfers.ts +22 -5
  147. package/src/streaming.ts +146 -76
  148. package/src/uploads.ts +10 -9
  149. package/src/version.ts +1 -1
  150. package/streaming.d.ts.map +1 -1
  151. package/streaming.js +115 -57
  152. package/streaming.js.map +1 -1
  153. package/streaming.mjs +115 -57
  154. package/streaming.mjs.map +1 -1
  155. package/uploads.d.ts +1 -1
  156. package/uploads.d.ts.map +1 -1
  157. package/uploads.js +2 -1
  158. package/uploads.js.map +1 -1
  159. package/uploads.mjs +2 -1
  160. package/uploads.mjs.map +1 -1
  161. package/version.d.ts +1 -1
  162. package/version.js +1 -1
  163. package/version.mjs +1 -1
@@ -1,9 +1,9 @@
1
1
  // File generated from our OpenAPI spec by Stainless.
2
2
 
3
- import * as Core from 'increase/core';
4
- import { APIResource } from 'increase/resource';
5
- import * as Transactions from 'increase/resources/transactions';
6
- import * as API from './';
3
+ import * as Core from '../../core';
4
+ import { APIResource } from '../../resource';
5
+ import * as Transactions from '../transactions';
6
+ import * as API from '.';
7
7
 
8
8
  export class CardRefunds extends APIResource {
9
9
  /**
@@ -1,10 +1,10 @@
1
1
  // File generated from our OpenAPI spec by Stainless.
2
2
 
3
- import * as Core from 'increase/core';
4
- import { APIResource } from 'increase/resource';
5
- import * as Transactions from 'increase/resources/transactions';
6
- import * as Shared from 'increase/resources/shared';
7
- import * as API from './';
3
+ import * as Core from '../../core';
4
+ import { APIResource } from '../../resource';
5
+ import * as Transactions from '../transactions';
6
+ import * as Shared from '../shared';
7
+ import * as API from '.';
8
8
 
9
9
  export class Cards extends APIResource {
10
10
  /**
@@ -1277,6 +1277,12 @@ export namespace CardAuthorizationSimulation {
1277
1277
  * - `complete` - Funds have been released.
1278
1278
  */
1279
1279
  status: 'held' | 'complete';
1280
+
1281
+ /**
1282
+ * A constant representing the object's type. For this resource it will always be
1283
+ * `inbound_funds_hold`.
1284
+ */
1285
+ type: 'inbound_funds_hold';
1280
1286
  }
1281
1287
 
1282
1288
  /**
@@ -1,8 +1,8 @@
1
1
  // File generated from our OpenAPI spec by Stainless.
2
2
 
3
- import * as Core from 'increase/core';
4
- import { APIResource } from 'increase/resource';
5
- import * as CheckDeposits_ from 'increase/resources/check-deposits';
3
+ import * as Core from '../../core';
4
+ import { APIResource } from '../../resource';
5
+ import * as CheckDeposits_ from '../check-deposits';
6
6
 
7
7
  export class CheckDeposits extends APIResource {
8
8
  /**
@@ -1,8 +1,8 @@
1
1
  // File generated from our OpenAPI spec by Stainless.
2
2
 
3
- import * as Core from 'increase/core';
4
- import { APIResource } from 'increase/resource';
5
- import * as CheckTransfers_ from 'increase/resources/check-transfers';
3
+ import * as Core from '../../core';
4
+ import { APIResource } from '../../resource';
5
+ import * as CheckTransfers_ from '../check-transfers';
6
6
 
7
7
  export class CheckTransfers extends APIResource {
8
8
  /**
@@ -1,8 +1,8 @@
1
1
  // File generated from our OpenAPI spec by Stainless.
2
2
 
3
- import * as Core from 'increase/core';
4
- import { APIResource } from 'increase/resource';
5
- import * as API from './';
3
+ import * as Core from '../../core';
4
+ import { APIResource } from '../../resource';
5
+ import * as API from '.';
6
6
 
7
7
  export class DigitalWalletTokenRequests extends APIResource {
8
8
  /**
@@ -1,9 +1,9 @@
1
1
  // File generated from our OpenAPI spec by Stainless.
2
2
 
3
- import * as Core from 'increase/core';
4
- import { APIResource } from 'increase/resource';
5
- import * as Documents_ from 'increase/resources/documents';
6
- import * as API from './';
3
+ import * as Core from '../../core';
4
+ import { APIResource } from '../../resource';
5
+ import * as Documents_ from '../documents';
6
+ import * as API from '.';
7
7
 
8
8
  export class Documents extends APIResource {
9
9
  /**
@@ -0,0 +1,88 @@
1
+ // File generated from our OpenAPI spec by Stainless.
2
+
3
+ import * as Core from '../../core';
4
+ import { APIResource } from '../../resource';
5
+ import * as API from '.';
6
+
7
+ export class InboundFundsHolds extends APIResource {
8
+ /**
9
+ * This endpoint simulates immediately releasing an inbound funds hold, which might
10
+ * be created as a result of e.g., an ACH debit.
11
+ */
12
+ release(
13
+ inboundFundsHoldId: string,
14
+ options?: Core.RequestOptions,
15
+ ): Promise<Core.APIResponse<InboundFundsHoldReleaseResponse>> {
16
+ return this.post(`/simulations/inbound_funds_holds/${inboundFundsHoldId}/release`, options);
17
+ }
18
+ }
19
+
20
+ /**
21
+ * We hold funds for certain transaction types to account for return windows where
22
+ * funds might still be clawed back by the sending institution.
23
+ */
24
+ export interface InboundFundsHoldReleaseResponse {
25
+ /**
26
+ * The held amount in the minor unit of the account's currency. For dollars, for
27
+ * example, this is cents.
28
+ */
29
+ amount: number;
30
+
31
+ /**
32
+ * When the hold will be released automatically. Certain conditions may cause it to
33
+ * be released before this time.
34
+ */
35
+ automatically_releases_at: string;
36
+
37
+ /**
38
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the hold
39
+ * was created.
40
+ */
41
+ created_at: string;
42
+
43
+ /**
44
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the hold's
45
+ * currency.
46
+ *
47
+ * - `CAD` - Canadian Dollar (CAD)
48
+ * - `CHF` - Swiss Franc (CHF)
49
+ * - `EUR` - Euro (EUR)
50
+ * - `GBP` - British Pound (GBP)
51
+ * - `JPY` - Japanese Yen (JPY)
52
+ * - `USD` - US Dollar (USD)
53
+ */
54
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
55
+
56
+ /**
57
+ * The ID of the Transaction for which funds were held.
58
+ */
59
+ held_transaction_id: string | null;
60
+
61
+ /**
62
+ * The ID of the Pending Transaction representing the held funds.
63
+ */
64
+ pending_transaction_id: string | null;
65
+
66
+ /**
67
+ * When the hold was released (if it has been released).
68
+ */
69
+ released_at: string | null;
70
+
71
+ /**
72
+ * The status of the hold.
73
+ *
74
+ * - `held` - Funds are still being held.
75
+ * - `complete` - Funds have been released.
76
+ */
77
+ status: 'held' | 'complete';
78
+
79
+ /**
80
+ * A constant representing the object's type. For this resource it will always be
81
+ * `inbound_funds_hold`.
82
+ */
83
+ type: 'inbound_funds_hold';
84
+ }
85
+
86
+ export namespace InboundFundsHolds {
87
+ export import InboundFundsHoldReleaseResponse = API.InboundFundsHoldReleaseResponse;
88
+ }
@@ -1,9 +1,9 @@
1
1
  // File generated from our OpenAPI spec by Stainless.
2
2
 
3
- import * as Core from 'increase/core';
4
- import { APIResource } from 'increase/resource';
5
- import * as InboundWireDrawdownRequests_ from 'increase/resources/inbound-wire-drawdown-requests';
6
- import * as API from './';
3
+ import * as Core from '../../core';
4
+ import { APIResource } from '../../resource';
5
+ import * as InboundWireDrawdownRequests_ from '../inbound-wire-drawdown-requests';
6
+ import * as API from '.';
7
7
 
8
8
  export class InboundWireDrawdownRequests extends APIResource {
9
9
  /**
@@ -20,6 +20,7 @@ export {
20
20
  DigitalWalletTokenRequests,
21
21
  } from './digital-wallet-token-requests';
22
22
  export { DocumentCreateParams, Documents } from './documents';
23
+ export { InboundFundsHoldReleaseResponse, InboundFundsHolds } from './inbound-funds-holds';
23
24
  export {
24
25
  InboundRealTimePaymentsTransferSimulationResult,
25
26
  RealTimePaymentsTransferCompleteParams,
@@ -1,8 +1,8 @@
1
1
  // File generated from our OpenAPI spec by Stainless.
2
2
 
3
- import * as Core from 'increase/core';
4
- import { APIResource } from 'increase/resource';
5
- import * as API from './';
3
+ import * as Core from '../../core';
4
+ import { APIResource } from '../../resource';
5
+ import * as API from '.';
6
6
 
7
7
  export class InterestPayments extends APIResource {
8
8
  /**
@@ -1,9 +1,9 @@
1
1
  // File generated from our OpenAPI spec by Stainless.
2
2
 
3
- import * as Core from 'increase/core';
4
- import { APIResource } from 'increase/resource';
5
- import * as Programs_ from 'increase/resources/programs';
6
- import * as API from './';
3
+ import * as Core from '../../core';
4
+ import { APIResource } from '../../resource';
5
+ import * as Programs_ from '../programs';
6
+ import * as API from '.';
7
7
 
8
8
  export class Programs extends APIResource {
9
9
  /**
@@ -1,10 +1,10 @@
1
1
  // File generated from our OpenAPI spec by Stainless.
2
2
 
3
- import * as Core from 'increase/core';
4
- import { APIResource } from 'increase/resource';
5
- import * as RealTimePaymentsTransfers_ from 'increase/resources/real-time-payments-transfers';
6
- import * as Shared from 'increase/resources/shared';
7
- import * as API from './';
3
+ import * as Core from '../../core';
4
+ import { APIResource } from '../../resource';
5
+ import * as RealTimePaymentsTransfers_ from '../real-time-payments-transfers';
6
+ import * as Shared from '../shared';
7
+ import * as API from '.';
8
8
 
9
9
  export class RealTimePaymentsTransfers extends APIResource {
10
10
  /**
@@ -1,6 +1,6 @@
1
1
  // File generated from our OpenAPI spec by Stainless.
2
2
 
3
- import { APIResource } from 'increase/resource';
3
+ import { APIResource } from '../../resource';
4
4
  import { AccountTransfers } from './account-transfers';
5
5
  import { AccountStatements } from './account-statements';
6
6
  import { ACHTransfers } from './ach-transfers';
@@ -13,11 +13,12 @@ import { DigitalWalletTokenRequests } from './digital-wallet-token-requests';
13
13
  import { CheckDeposits } from './check-deposits';
14
14
  import { Programs } from './programs';
15
15
  import { InboundWireDrawdownRequests } from './inbound-wire-drawdown-requests';
16
+ import { InboundFundsHolds } from './inbound-funds-holds';
16
17
  import { InterestPayments } from './interest-payments';
17
18
  import { WireTransfers } from './wire-transfers';
18
19
  import { Cards } from './cards';
19
20
  import { RealTimePaymentsTransfers } from './real-time-payments-transfers';
20
- import * as API from './';
21
+ import * as API from '.';
21
22
 
22
23
  export class Simulations extends APIResource {
23
24
  accountTransfers: AccountTransfers = new AccountTransfers(this.client);
@@ -32,6 +33,7 @@ export class Simulations extends APIResource {
32
33
  checkDeposits: CheckDeposits = new CheckDeposits(this.client);
33
34
  programs: Programs = new Programs(this.client);
34
35
  inboundWireDrawdownRequests: InboundWireDrawdownRequests = new InboundWireDrawdownRequests(this.client);
36
+ inboundFundsHolds: InboundFundsHolds = new InboundFundsHolds(this.client);
35
37
  interestPayments: InterestPayments = new InterestPayments(this.client);
36
38
  wireTransfers: WireTransfers = new WireTransfers(this.client);
37
39
  cards: Cards = new Cards(this.client);
@@ -74,6 +76,9 @@ export namespace Simulations {
74
76
  export import InboundWireDrawdownRequests = API.InboundWireDrawdownRequests;
75
77
  export import InboundWireDrawdownRequestCreateParams = API.InboundWireDrawdownRequestCreateParams;
76
78
 
79
+ export import InboundFundsHolds = API.InboundFundsHolds;
80
+ export import InboundFundsHoldReleaseResponse = API.InboundFundsHoldReleaseResponse;
81
+
77
82
  export import InterestPayments = API.InterestPayments;
78
83
  export import InterestPaymentSimulationResult = API.InterestPaymentSimulationResult;
79
84
  export import InterestPaymentCreateParams = API.InterestPaymentCreateParams;
@@ -1,8 +1,8 @@
1
1
  // File generated from our OpenAPI spec by Stainless.
2
2
 
3
- import * as Core from 'increase/core';
4
- import { APIResource } from 'increase/resource';
5
- import * as API from './';
3
+ import * as Core from '../../core';
4
+ import { APIResource } from '../../resource';
5
+ import * as API from '.';
6
6
 
7
7
  export class WireTransfers extends APIResource {
8
8
  /**
@@ -1,10 +1,10 @@
1
1
  // File generated from our OpenAPI spec by Stainless.
2
2
 
3
- import * as Core from 'increase/core';
4
- import { APIResource } from 'increase/resource';
5
- import { isRequestOptions } from 'increase/core';
6
- import * as API from './';
7
- import { Page, PageParams } from 'increase/pagination';
3
+ import * as Core from '../core';
4
+ import { APIResource } from '../resource';
5
+ import { isRequestOptions } from '../core';
6
+ import * as API from '.';
7
+ import { Page, PageParams } from '../pagination';
8
8
 
9
9
  export class Transactions extends APIResource {
10
10
  /**
@@ -1,10 +1,10 @@
1
1
  // File generated from our OpenAPI spec by Stainless.
2
2
 
3
- import * as Core from 'increase/core';
4
- import { APIResource } from 'increase/resource';
5
- import { isRequestOptions } from 'increase/core';
6
- import * as API from './';
7
- import { Page, PageParams } from 'increase/pagination';
3
+ import * as Core from '../core';
4
+ import { APIResource } from '../resource';
5
+ import { isRequestOptions } from '../core';
6
+ import * as API from '.';
7
+ import { Page, PageParams } from '../pagination';
8
8
 
9
9
  export class WireDrawdownRequests extends APIResource {
10
10
  /**
@@ -1,10 +1,10 @@
1
1
  // File generated from our OpenAPI spec by Stainless.
2
2
 
3
- import * as Core from 'increase/core';
4
- import { APIResource } from 'increase/resource';
5
- import { isRequestOptions } from 'increase/core';
6
- import * as API from './';
7
- import { Page, PageParams } from 'increase/pagination';
3
+ import * as Core from '../core';
4
+ import { APIResource } from '../resource';
5
+ import { isRequestOptions } from '../core';
6
+ import * as API from '.';
7
+ import { Page, PageParams } from '../pagination';
8
8
 
9
9
  export class WireTransfers extends APIResource {
10
10
  /**
@@ -215,6 +215,11 @@ export interface WireTransfer {
215
215
  * `wire_transfer`.
216
216
  */
217
217
  type: 'wire_transfer';
218
+
219
+ /**
220
+ * The unique identifier you chose for this transfer.
221
+ */
222
+ unique_identifier: string | null;
218
223
  }
219
224
 
220
225
  export namespace WireTransfer {
@@ -410,6 +415,13 @@ export interface WireTransferCreateParams {
410
415
  * destination account.
411
416
  */
412
417
  routing_number?: string;
418
+
419
+ /**
420
+ * A unique identifier you choose for the transfer. Reusing this identifer for
421
+ * another transfer will result in an error. You can query for the transfer
422
+ * associated with this identifier using the List endpoint.
423
+ */
424
+ unique_identifier?: string;
413
425
  }
414
426
 
415
427
  export interface WireTransferListParams extends PageParams {
@@ -424,6 +436,11 @@ export interface WireTransferListParams extends PageParams {
424
436
  * Filter Wire Transfers to those made to the specified External Account.
425
437
  */
426
438
  external_account_id?: string;
439
+
440
+ /**
441
+ * Filter Wire Transfers to the one with the specified unique identifier.
442
+ */
443
+ unique_identifier?: string;
427
444
  }
428
445
 
429
446
  export namespace WireTransferListParams {