increase 0.419.0 → 0.431.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.
- package/CHANGELOG.md +114 -0
- package/client.d.mts +3 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +3 -2
- package/client.d.ts.map +1 -1
- package/client.js +9 -2
- package/client.js.map +1 -1
- package/client.mjs +9 -2
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/account-transfers.d.mts +6 -6
- package/resources/account-transfers.d.mts.map +1 -1
- package/resources/account-transfers.d.ts +6 -6
- package/resources/account-transfers.d.ts.map +1 -1
- package/resources/ach-prenotifications.d.mts +45 -24
- package/resources/ach-prenotifications.d.mts.map +1 -1
- package/resources/ach-prenotifications.d.ts +45 -24
- package/resources/ach-prenotifications.d.ts.map +1 -1
- package/resources/ach-transfers.d.mts +56 -34
- package/resources/ach-transfers.d.mts.map +1 -1
- package/resources/ach-transfers.d.ts +56 -34
- package/resources/ach-transfers.d.ts.map +1 -1
- package/resources/card-disputes.d.mts +37 -37
- package/resources/card-disputes.d.mts.map +1 -1
- package/resources/card-disputes.d.ts +37 -37
- package/resources/card-disputes.d.ts.map +1 -1
- package/resources/card-payments.d.mts +48 -48
- package/resources/card-payments.d.mts.map +1 -1
- package/resources/card-payments.d.ts +48 -48
- package/resources/card-payments.d.ts.map +1 -1
- package/resources/card-push-transfers.d.mts +6 -6
- package/resources/card-push-transfers.d.mts.map +1 -1
- package/resources/card-push-transfers.d.ts +6 -6
- package/resources/card-push-transfers.d.ts.map +1 -1
- package/resources/card-validations.d.mts +6 -6
- package/resources/card-validations.d.mts.map +1 -1
- package/resources/card-validations.d.ts +6 -6
- package/resources/card-validations.d.ts.map +1 -1
- package/resources/check-transfers.d.mts +6 -6
- package/resources/check-transfers.d.mts.map +1 -1
- package/resources/check-transfers.d.ts +6 -6
- package/resources/check-transfers.d.ts.map +1 -1
- package/resources/declined-transactions.d.mts +16 -16
- package/resources/declined-transactions.d.mts.map +1 -1
- package/resources/declined-transactions.d.ts +16 -16
- package/resources/declined-transactions.d.ts.map +1 -1
- package/resources/digital-card-profiles.d.mts +1 -0
- package/resources/digital-card-profiles.d.mts.map +1 -1
- package/resources/digital-card-profiles.d.ts +1 -0
- package/resources/digital-card-profiles.d.ts.map +1 -1
- package/resources/entities.d.mts +3 -2
- package/resources/entities.d.mts.map +1 -1
- package/resources/entities.d.ts +3 -2
- package/resources/entities.d.ts.map +1 -1
- package/resources/exports.d.mts +53 -19
- package/resources/exports.d.mts.map +1 -1
- package/resources/exports.d.ts +53 -19
- package/resources/exports.d.ts.map +1 -1
- package/resources/fednow-transfers.d.mts +6 -6
- package/resources/fednow-transfers.d.mts.map +1 -1
- package/resources/fednow-transfers.d.ts +6 -6
- package/resources/fednow-transfers.d.ts.map +1 -1
- package/resources/inbound-ach-transfers.d.mts +1 -0
- package/resources/inbound-ach-transfers.d.mts.map +1 -1
- package/resources/inbound-ach-transfers.d.ts +1 -0
- package/resources/inbound-ach-transfers.d.ts.map +1 -1
- package/resources/inbound-wire-transfers.d.mts +20 -4
- package/resources/inbound-wire-transfers.d.mts.map +1 -1
- package/resources/inbound-wire-transfers.d.ts +20 -4
- package/resources/inbound-wire-transfers.d.ts.map +1 -1
- package/resources/lockboxes.d.mts +2 -0
- package/resources/lockboxes.d.mts.map +1 -1
- package/resources/lockboxes.d.ts +2 -0
- package/resources/lockboxes.d.ts.map +1 -1
- package/resources/pending-transactions.d.mts +52 -52
- package/resources/pending-transactions.d.mts.map +1 -1
- package/resources/pending-transactions.d.ts +52 -52
- package/resources/pending-transactions.d.ts.map +1 -1
- package/resources/real-time-payments-transfers.d.mts +6 -6
- package/resources/real-time-payments-transfers.d.mts.map +1 -1
- package/resources/real-time-payments-transfers.d.ts +6 -6
- package/resources/real-time-payments-transfers.d.ts.map +1 -1
- package/resources/simulations/ach-transfers.d.mts +17 -14
- package/resources/simulations/ach-transfers.d.mts.map +1 -1
- package/resources/simulations/ach-transfers.d.ts +17 -14
- package/resources/simulations/ach-transfers.d.ts.map +1 -1
- package/resources/simulations/programs.d.mts +1 -3
- package/resources/simulations/programs.d.mts.map +1 -1
- package/resources/simulations/programs.d.ts +1 -3
- package/resources/simulations/programs.d.ts.map +1 -1
- package/resources/swift-transfers.d.mts +6 -6
- package/resources/swift-transfers.d.mts.map +1 -1
- package/resources/swift-transfers.d.ts +6 -6
- package/resources/swift-transfers.d.ts.map +1 -1
- package/resources/transactions.d.mts +140 -137
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts +140 -137
- package/resources/transactions.d.ts.map +1 -1
- package/resources/wire-transfers.d.mts +8 -8
- package/resources/wire-transfers.d.mts.map +1 -1
- package/resources/wire-transfers.d.ts +8 -8
- package/resources/wire-transfers.d.ts.map +1 -1
- package/src/client.ts +15 -4
- package/src/resources/account-transfers.ts +7 -7
- package/src/resources/ach-prenotifications.ts +45 -24
- package/src/resources/ach-transfers.ts +57 -35
- package/src/resources/card-disputes.ts +41 -41
- package/src/resources/card-payments.ts +63 -63
- package/src/resources/card-push-transfers.ts +7 -7
- package/src/resources/card-validations.ts +7 -7
- package/src/resources/check-transfers.ts +7 -7
- package/src/resources/declined-transactions.ts +18 -18
- package/src/resources/digital-card-profiles.ts +2 -0
- package/src/resources/entities.ts +4 -2
- package/src/resources/exports.ts +72 -35
- package/src/resources/fednow-transfers.ts +7 -7
- package/src/resources/inbound-ach-transfers.ts +2 -0
- package/src/resources/inbound-wire-transfers.ts +23 -4
- package/src/resources/lockboxes.ts +4 -0
- package/src/resources/pending-transactions.ts +58 -58
- package/src/resources/real-time-payments-transfers.ts +7 -7
- package/src/resources/simulations/ach-transfers.ts +17 -14
- package/src/resources/simulations/programs.ts +1 -9
- package/src/resources/swift-transfers.ts +7 -7
- package/src/resources/transactions.ts +164 -161
- package/src/resources/wire-transfers.ts +9 -9
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -337,11 +337,6 @@ export namespace CheckTransfer {
|
|
|
337
337
|
* What object created the transfer, either via the API or the dashboard.
|
|
338
338
|
*/
|
|
339
339
|
export interface CreatedBy {
|
|
340
|
-
/**
|
|
341
|
-
* If present, details about the API key that created the transfer.
|
|
342
|
-
*/
|
|
343
|
-
api_key: CreatedBy.APIKey | null;
|
|
344
|
-
|
|
345
340
|
/**
|
|
346
341
|
* The type of object that created this transfer.
|
|
347
342
|
*
|
|
@@ -353,15 +348,20 @@ export namespace CheckTransfer {
|
|
|
353
348
|
*/
|
|
354
349
|
category: 'api_key' | 'oauth_application' | 'user';
|
|
355
350
|
|
|
351
|
+
/**
|
|
352
|
+
* If present, details about the API key that created the transfer.
|
|
353
|
+
*/
|
|
354
|
+
api_key?: CreatedBy.APIKey | null;
|
|
355
|
+
|
|
356
356
|
/**
|
|
357
357
|
* If present, details about the OAuth Application that created the transfer.
|
|
358
358
|
*/
|
|
359
|
-
oauth_application
|
|
359
|
+
oauth_application?: CreatedBy.OAuthApplication | null;
|
|
360
360
|
|
|
361
361
|
/**
|
|
362
362
|
* If present, details about the User that created the transfer.
|
|
363
363
|
*/
|
|
364
|
-
user
|
|
364
|
+
user?: CreatedBy.User | null;
|
|
365
365
|
}
|
|
366
366
|
|
|
367
367
|
export namespace CreatedBy {
|
|
@@ -130,18 +130,6 @@ export namespace DeclinedTransaction {
|
|
|
130
130
|
* as deprecated and will be removed in the future.
|
|
131
131
|
*/
|
|
132
132
|
export interface Source {
|
|
133
|
-
/**
|
|
134
|
-
* An ACH Decline object. This field will be present in the JSON response if and
|
|
135
|
-
* only if `category` is equal to `ach_decline`.
|
|
136
|
-
*/
|
|
137
|
-
ach_decline: Source.ACHDecline | null;
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* A Card Decline object. This field will be present in the JSON response if and
|
|
141
|
-
* only if `category` is equal to `card_decline`.
|
|
142
|
-
*/
|
|
143
|
-
card_decline: Source.CardDecline | null;
|
|
144
|
-
|
|
145
133
|
/**
|
|
146
134
|
* The type of the resource. We may add additional possible values for this enum
|
|
147
135
|
* over time; your application should be able to handle such additions gracefully.
|
|
@@ -173,43 +161,55 @@ export namespace DeclinedTransaction {
|
|
|
173
161
|
| 'check_deposit_rejection'
|
|
174
162
|
| 'other';
|
|
175
163
|
|
|
164
|
+
/**
|
|
165
|
+
* An ACH Decline object. This field will be present in the JSON response if and
|
|
166
|
+
* only if `category` is equal to `ach_decline`.
|
|
167
|
+
*/
|
|
168
|
+
ach_decline?: Source.ACHDecline | null;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* A Card Decline object. This field will be present in the JSON response if and
|
|
172
|
+
* only if `category` is equal to `card_decline`.
|
|
173
|
+
*/
|
|
174
|
+
card_decline?: Source.CardDecline | null;
|
|
175
|
+
|
|
176
176
|
/**
|
|
177
177
|
* A Check Decline object. This field will be present in the JSON response if and
|
|
178
178
|
* only if `category` is equal to `check_decline`.
|
|
179
179
|
*/
|
|
180
|
-
check_decline
|
|
180
|
+
check_decline?: Source.CheckDecline | null;
|
|
181
181
|
|
|
182
182
|
/**
|
|
183
183
|
* A Check Deposit Rejection object. This field will be present in the JSON
|
|
184
184
|
* response if and only if `category` is equal to `check_deposit_rejection`.
|
|
185
185
|
*/
|
|
186
|
-
check_deposit_rejection
|
|
186
|
+
check_deposit_rejection?: Source.CheckDepositRejection | null;
|
|
187
187
|
|
|
188
188
|
/**
|
|
189
189
|
* An Inbound FedNow Transfer Decline object. This field will be present in the
|
|
190
190
|
* JSON response if and only if `category` is equal to
|
|
191
191
|
* `inbound_fednow_transfer_decline`.
|
|
192
192
|
*/
|
|
193
|
-
inbound_fednow_transfer_decline
|
|
193
|
+
inbound_fednow_transfer_decline?: Source.InboundFednowTransferDecline | null;
|
|
194
194
|
|
|
195
195
|
/**
|
|
196
196
|
* An Inbound Real-Time Payments Transfer Decline object. This field will be
|
|
197
197
|
* present in the JSON response if and only if `category` is equal to
|
|
198
198
|
* `inbound_real_time_payments_transfer_decline`.
|
|
199
199
|
*/
|
|
200
|
-
inbound_real_time_payments_transfer_decline
|
|
200
|
+
inbound_real_time_payments_transfer_decline?: Source.InboundRealTimePaymentsTransferDecline | null;
|
|
201
201
|
|
|
202
202
|
/**
|
|
203
203
|
* If the category of this Transaction source is equal to `other`, this field will
|
|
204
204
|
* contain an empty object, otherwise it will contain null.
|
|
205
205
|
*/
|
|
206
|
-
other
|
|
206
|
+
other?: Source.Other | null;
|
|
207
207
|
|
|
208
208
|
/**
|
|
209
209
|
* A Wire Decline object. This field will be present in the JSON response if and
|
|
210
210
|
* only if `category` is equal to `wire_decline`.
|
|
211
211
|
*/
|
|
212
|
-
wire_decline
|
|
212
|
+
wire_decline?: Source.WireDecline | null;
|
|
213
213
|
|
|
214
214
|
[k: string]: unknown;
|
|
215
215
|
}
|
|
@@ -350,6 +350,8 @@ export interface Entity {
|
|
|
350
350
|
* `entity`.
|
|
351
351
|
*/
|
|
352
352
|
type: 'entity';
|
|
353
|
+
|
|
354
|
+
[k: string]: unknown;
|
|
353
355
|
}
|
|
354
356
|
|
|
355
357
|
export namespace Entity {
|
|
@@ -1215,7 +1217,7 @@ export interface EntityCreateParams {
|
|
|
1215
1217
|
natural_person?: EntityCreateParams.NaturalPerson;
|
|
1216
1218
|
|
|
1217
1219
|
/**
|
|
1218
|
-
* An assessment of the entity
|
|
1220
|
+
* An assessment of the entity's potential risk of involvement in financial crimes,
|
|
1219
1221
|
* such as money laundering.
|
|
1220
1222
|
*/
|
|
1221
1223
|
risk_rating?: EntityCreateParams.RiskRating;
|
|
@@ -2077,7 +2079,7 @@ export namespace EntityCreateParams {
|
|
|
2077
2079
|
}
|
|
2078
2080
|
|
|
2079
2081
|
/**
|
|
2080
|
-
* An assessment of the entity
|
|
2082
|
+
* An assessment of the entity's potential risk of involvement in financial crimes,
|
|
2081
2083
|
* such as money laundering.
|
|
2082
2084
|
*/
|
|
2083
2085
|
export interface RiskRating {
|
package/src/resources/exports.ts
CHANGED
|
@@ -153,18 +153,6 @@ export interface Export {
|
|
|
153
153
|
*/
|
|
154
154
|
entity_csv: Export.EntityCsv | null;
|
|
155
155
|
|
|
156
|
-
/**
|
|
157
|
-
* A URL at which the Export's file can be downloaded. This will be present when
|
|
158
|
-
* the Export's status transitions to `complete`.
|
|
159
|
-
*/
|
|
160
|
-
file_download_url: string | null;
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* The File containing the contents of the Export. This will be present when the
|
|
164
|
-
* Export's status transitions to `complete`.
|
|
165
|
-
*/
|
|
166
|
-
file_id: string | null;
|
|
167
|
-
|
|
168
156
|
/**
|
|
169
157
|
* Details of the Form 1099-INT export. This field will be present when the
|
|
170
158
|
* `category` is equal to `form_1099_int`.
|
|
@@ -190,6 +178,12 @@ export interface Export {
|
|
|
190
178
|
*/
|
|
191
179
|
idempotency_key: string | null;
|
|
192
180
|
|
|
181
|
+
/**
|
|
182
|
+
* The result of the Export. This will be present when the Export's status
|
|
183
|
+
* transitions to `complete`.
|
|
184
|
+
*/
|
|
185
|
+
result: Export.Result | null;
|
|
186
|
+
|
|
193
187
|
/**
|
|
194
188
|
* The status of the Export.
|
|
195
189
|
*
|
|
@@ -217,6 +211,8 @@ export interface Export {
|
|
|
217
211
|
* is equal to `vendor_csv`.
|
|
218
212
|
*/
|
|
219
213
|
vendor_csv: Export.VendorCsv | null;
|
|
214
|
+
|
|
215
|
+
[k: string]: unknown;
|
|
220
216
|
}
|
|
221
217
|
|
|
222
218
|
export namespace Export {
|
|
@@ -426,6 +422,17 @@ export namespace Export {
|
|
|
426
422
|
account_number_id: string;
|
|
427
423
|
}
|
|
428
424
|
|
|
425
|
+
/**
|
|
426
|
+
* The result of the Export. This will be present when the Export's status
|
|
427
|
+
* transitions to `complete`.
|
|
428
|
+
*/
|
|
429
|
+
export interface Result {
|
|
430
|
+
/**
|
|
431
|
+
* The File containing the contents of the Export.
|
|
432
|
+
*/
|
|
433
|
+
file_id: string;
|
|
434
|
+
}
|
|
435
|
+
|
|
429
436
|
/**
|
|
430
437
|
* Details of the transaction CSV export. This field will be present when the
|
|
431
438
|
* `category` is equal to `transaction_csv`.
|
|
@@ -806,10 +813,48 @@ export namespace ExportCreateParams {
|
|
|
806
813
|
}
|
|
807
814
|
|
|
808
815
|
export interface ExportListParams extends PageParams {
|
|
809
|
-
|
|
816
|
+
/**
|
|
817
|
+
* Filter Exports for those with the specified category.
|
|
818
|
+
*
|
|
819
|
+
* - `account_statement_ofx` - Export an Open Financial Exchange (OFX) file of
|
|
820
|
+
* transactions and balances for a given time range and Account.
|
|
821
|
+
* - `account_statement_bai2` - Export a BAI2 file of transactions and balances for
|
|
822
|
+
* a given date and optional Account.
|
|
823
|
+
* - `transaction_csv` - Export a CSV of all transactions for a given time range.
|
|
824
|
+
* - `balance_csv` - Export a CSV of account balances for the dates in a given
|
|
825
|
+
* range.
|
|
826
|
+
* - `bookkeeping_account_balance_csv` - Export a CSV of bookkeeping account
|
|
827
|
+
* balances for the dates in a given range.
|
|
828
|
+
* - `entity_csv` - Export a CSV of entities with a given status.
|
|
829
|
+
* - `vendor_csv` - Export a CSV of vendors added to the third-party risk
|
|
830
|
+
* management dashboard.
|
|
831
|
+
* - `dashboard_table_csv` - Certain dashboard tables are available as CSV exports.
|
|
832
|
+
* This export cannot be created via the API.
|
|
833
|
+
* - `account_verification_letter` - A PDF of an account verification letter.
|
|
834
|
+
* - `funding_instructions` - A PDF of funding instructions.
|
|
835
|
+
* - `form_1099_int` - A PDF of an Internal Revenue Service Form 1099-INT.
|
|
836
|
+
* - `form_1099_misc` - A PDF of an Internal Revenue Service Form 1099-MISC.
|
|
837
|
+
*/
|
|
838
|
+
category?:
|
|
839
|
+
| 'account_statement_ofx'
|
|
840
|
+
| 'account_statement_bai2'
|
|
841
|
+
| 'transaction_csv'
|
|
842
|
+
| 'balance_csv'
|
|
843
|
+
| 'bookkeeping_account_balance_csv'
|
|
844
|
+
| 'entity_csv'
|
|
845
|
+
| 'vendor_csv'
|
|
846
|
+
| 'dashboard_table_csv'
|
|
847
|
+
| 'account_verification_letter'
|
|
848
|
+
| 'funding_instructions'
|
|
849
|
+
| 'form_1099_int'
|
|
850
|
+
| 'form_1099_misc';
|
|
810
851
|
|
|
811
852
|
created_at?: ExportListParams.CreatedAt;
|
|
812
853
|
|
|
854
|
+
form_1099_int?: ExportListParams.Form1099Int;
|
|
855
|
+
|
|
856
|
+
form_1099_misc?: ExportListParams.Form1099Misc;
|
|
857
|
+
|
|
813
858
|
/**
|
|
814
859
|
* Filter records to the one with the specified `idempotency_key` you chose for
|
|
815
860
|
* that object. This value is unique across Increase and is used to ensure that a
|
|
@@ -822,28 +867,6 @@ export interface ExportListParams extends PageParams {
|
|
|
822
867
|
}
|
|
823
868
|
|
|
824
869
|
export namespace ExportListParams {
|
|
825
|
-
export interface Category {
|
|
826
|
-
/**
|
|
827
|
-
* Filter Exports for those with the specified category or categories. For GET
|
|
828
|
-
* requests, this should be encoded as a comma-delimited string, such as
|
|
829
|
-
* `?in=one,two,three`.
|
|
830
|
-
*/
|
|
831
|
-
in?: Array<
|
|
832
|
-
| 'account_statement_ofx'
|
|
833
|
-
| 'account_statement_bai2'
|
|
834
|
-
| 'transaction_csv'
|
|
835
|
-
| 'balance_csv'
|
|
836
|
-
| 'bookkeeping_account_balance_csv'
|
|
837
|
-
| 'entity_csv'
|
|
838
|
-
| 'vendor_csv'
|
|
839
|
-
| 'dashboard_table_csv'
|
|
840
|
-
| 'account_verification_letter'
|
|
841
|
-
| 'funding_instructions'
|
|
842
|
-
| 'form_1099_int'
|
|
843
|
-
| 'form_1099_misc'
|
|
844
|
-
>;
|
|
845
|
-
}
|
|
846
|
-
|
|
847
870
|
export interface CreatedAt {
|
|
848
871
|
/**
|
|
849
872
|
* Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
@@ -870,6 +893,20 @@ export namespace ExportListParams {
|
|
|
870
893
|
on_or_before?: string;
|
|
871
894
|
}
|
|
872
895
|
|
|
896
|
+
export interface Form1099Int {
|
|
897
|
+
/**
|
|
898
|
+
* Filter Form 1099-INT Exports to those for the specified Account.
|
|
899
|
+
*/
|
|
900
|
+
account_id?: string;
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
export interface Form1099Misc {
|
|
904
|
+
/**
|
|
905
|
+
* Filter Form 1099-MISC Exports to those for the specified Account.
|
|
906
|
+
*/
|
|
907
|
+
account_id?: string;
|
|
908
|
+
}
|
|
909
|
+
|
|
873
910
|
export interface Status {
|
|
874
911
|
/**
|
|
875
912
|
* Filter Exports for those with the specified status or statuses. For GET
|
|
@@ -259,11 +259,6 @@ export namespace FednowTransfer {
|
|
|
259
259
|
* What object created the transfer, either via the API or the dashboard.
|
|
260
260
|
*/
|
|
261
261
|
export interface CreatedBy {
|
|
262
|
-
/**
|
|
263
|
-
* If present, details about the API key that created the transfer.
|
|
264
|
-
*/
|
|
265
|
-
api_key: CreatedBy.APIKey | null;
|
|
266
|
-
|
|
267
262
|
/**
|
|
268
263
|
* The type of object that created this transfer.
|
|
269
264
|
*
|
|
@@ -275,15 +270,20 @@ export namespace FednowTransfer {
|
|
|
275
270
|
*/
|
|
276
271
|
category: 'api_key' | 'oauth_application' | 'user';
|
|
277
272
|
|
|
273
|
+
/**
|
|
274
|
+
* If present, details about the API key that created the transfer.
|
|
275
|
+
*/
|
|
276
|
+
api_key?: CreatedBy.APIKey | null;
|
|
277
|
+
|
|
278
278
|
/**
|
|
279
279
|
* If present, details about the OAuth Application that created the transfer.
|
|
280
280
|
*/
|
|
281
|
-
oauth_application
|
|
281
|
+
oauth_application?: CreatedBy.OAuthApplication | null;
|
|
282
282
|
|
|
283
283
|
/**
|
|
284
284
|
* If present, details about the User that created the transfer.
|
|
285
285
|
*/
|
|
286
|
-
user
|
|
286
|
+
user?: CreatedBy.User | null;
|
|
287
287
|
}
|
|
288
288
|
|
|
289
289
|
export namespace CreatedBy {
|
|
@@ -79,6 +79,11 @@ export interface InboundWireTransfer {
|
|
|
79
79
|
*/
|
|
80
80
|
id: string;
|
|
81
81
|
|
|
82
|
+
/**
|
|
83
|
+
* If the transfer is accepted, this will contain details of the acceptance.
|
|
84
|
+
*/
|
|
85
|
+
acceptance: InboundWireTransfer.Acceptance | null;
|
|
86
|
+
|
|
82
87
|
/**
|
|
83
88
|
* The Account to which the transfer belongs.
|
|
84
89
|
*/
|
|
@@ -169,8 +174,7 @@ export interface InboundWireTransfer {
|
|
|
169
174
|
instruction_identification: string | null;
|
|
170
175
|
|
|
171
176
|
/**
|
|
172
|
-
*
|
|
173
|
-
* reversed.
|
|
177
|
+
* If the transfer is reversed, this will contain details of the reversal.
|
|
174
178
|
*/
|
|
175
179
|
reversal: InboundWireTransfer.Reversal | null;
|
|
176
180
|
|
|
@@ -213,8 +217,23 @@ export interface InboundWireTransfer {
|
|
|
213
217
|
|
|
214
218
|
export namespace InboundWireTransfer {
|
|
215
219
|
/**
|
|
216
|
-
*
|
|
217
|
-
|
|
220
|
+
* If the transfer is accepted, this will contain details of the acceptance.
|
|
221
|
+
*/
|
|
222
|
+
export interface Acceptance {
|
|
223
|
+
/**
|
|
224
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
225
|
+
* the transfer was accepted.
|
|
226
|
+
*/
|
|
227
|
+
accepted_at: string;
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* The identifier of the transaction for the accepted transfer.
|
|
231
|
+
*/
|
|
232
|
+
transaction_id: string;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* If the transfer is reversed, this will contain details of the reversal.
|
|
218
237
|
*/
|
|
219
238
|
export interface Reversal {
|
|
220
239
|
/**
|
|
@@ -129,6 +129,8 @@ export interface Lockbox {
|
|
|
129
129
|
* `lockbox`.
|
|
130
130
|
*/
|
|
131
131
|
type: 'lockbox';
|
|
132
|
+
|
|
133
|
+
[k: string]: unknown;
|
|
132
134
|
}
|
|
133
135
|
|
|
134
136
|
export namespace Lockbox {
|
|
@@ -211,6 +213,8 @@ export interface LockboxUpdateParams {
|
|
|
211
213
|
* The recipient name you choose for the Lockbox.
|
|
212
214
|
*/
|
|
213
215
|
recipient_name?: string;
|
|
216
|
+
|
|
217
|
+
[k: string]: unknown;
|
|
214
218
|
}
|
|
215
219
|
|
|
216
220
|
export interface LockboxListParams extends PageParams {
|
|
@@ -188,46 +188,6 @@ export namespace PendingTransaction {
|
|
|
188
188
|
* merchant's industry and location.
|
|
189
189
|
*/
|
|
190
190
|
export interface Source {
|
|
191
|
-
/**
|
|
192
|
-
* An Account Transfer Instruction object. This field will be present in the JSON
|
|
193
|
-
* response if and only if `category` is equal to `account_transfer_instruction`.
|
|
194
|
-
*/
|
|
195
|
-
account_transfer_instruction: Source.AccountTransferInstruction | null;
|
|
196
|
-
|
|
197
|
-
/**
|
|
198
|
-
* An ACH Transfer Instruction object. This field will be present in the JSON
|
|
199
|
-
* response if and only if `category` is equal to `ach_transfer_instruction`.
|
|
200
|
-
*/
|
|
201
|
-
ach_transfer_instruction: Source.ACHTransferInstruction | null;
|
|
202
|
-
|
|
203
|
-
/**
|
|
204
|
-
* A Blockchain Off-Ramp Transfer Intention object. This field will be present in
|
|
205
|
-
* the JSON response if and only if `category` is equal to
|
|
206
|
-
* `blockchain_offramp_transfer_intention`.
|
|
207
|
-
*/
|
|
208
|
-
blockchain_offramp_transfer_intention: Source.BlockchainOfframpTransferIntention | null;
|
|
209
|
-
|
|
210
|
-
/**
|
|
211
|
-
* A Blockchain On-Ramp Transfer Instruction object. This field will be present in
|
|
212
|
-
* the JSON response if and only if `category` is equal to
|
|
213
|
-
* `blockchain_onramp_transfer_instruction`.
|
|
214
|
-
*/
|
|
215
|
-
blockchain_onramp_transfer_instruction: Source.BlockchainOnrampTransferInstruction | null;
|
|
216
|
-
|
|
217
|
-
/**
|
|
218
|
-
* A Card Authorization object. This field will be present in the JSON response if
|
|
219
|
-
* and only if `category` is equal to `card_authorization`. Card Authorizations are
|
|
220
|
-
* temporary holds placed on a customers funds with the intent to later clear a
|
|
221
|
-
* transaction.
|
|
222
|
-
*/
|
|
223
|
-
card_authorization: Source.CardAuthorization | null;
|
|
224
|
-
|
|
225
|
-
/**
|
|
226
|
-
* A Card Push Transfer Instruction object. This field will be present in the JSON
|
|
227
|
-
* response if and only if `category` is equal to `card_push_transfer_instruction`.
|
|
228
|
-
*/
|
|
229
|
-
card_push_transfer_instruction: Source.CardPushTransferInstruction | null;
|
|
230
|
-
|
|
231
191
|
/**
|
|
232
192
|
* The type of the resource. We may add additional possible values for this enum
|
|
233
193
|
* over time; your application should be able to handle such additions gracefully.
|
|
@@ -262,9 +222,9 @@ export namespace PendingTransaction {
|
|
|
262
222
|
* - `blockchain_onramp_transfer_instruction` - Blockchain On-Ramp Transfer
|
|
263
223
|
* Instruction: details will be under the
|
|
264
224
|
* `blockchain_onramp_transfer_instruction` object.
|
|
265
|
-
* - `
|
|
266
|
-
*
|
|
267
|
-
* object.
|
|
225
|
+
* - `blockchain_offramp_transfer_instruction` - Blockchain Off-Ramp Transfer
|
|
226
|
+
* Instruction: details will be under the
|
|
227
|
+
* `blockchain_offramp_transfer_instruction` object.
|
|
268
228
|
* - `other` - The Pending Transaction was made for an undocumented or deprecated
|
|
269
229
|
* reason.
|
|
270
230
|
*/
|
|
@@ -283,26 +243,66 @@ export namespace PendingTransaction {
|
|
|
283
243
|
| 'swift_transfer_instruction'
|
|
284
244
|
| 'card_push_transfer_instruction'
|
|
285
245
|
| 'blockchain_onramp_transfer_instruction'
|
|
286
|
-
| '
|
|
246
|
+
| 'blockchain_offramp_transfer_instruction'
|
|
287
247
|
| 'other';
|
|
288
248
|
|
|
249
|
+
/**
|
|
250
|
+
* An Account Transfer Instruction object. This field will be present in the JSON
|
|
251
|
+
* response if and only if `category` is equal to `account_transfer_instruction`.
|
|
252
|
+
*/
|
|
253
|
+
account_transfer_instruction?: Source.AccountTransferInstruction | null;
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* An ACH Transfer Instruction object. This field will be present in the JSON
|
|
257
|
+
* response if and only if `category` is equal to `ach_transfer_instruction`.
|
|
258
|
+
*/
|
|
259
|
+
ach_transfer_instruction?: Source.ACHTransferInstruction | null;
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* A Blockchain Off-Ramp Transfer Instruction object. This field will be present in
|
|
263
|
+
* the JSON response if and only if `category` is equal to
|
|
264
|
+
* `blockchain_offramp_transfer_instruction`.
|
|
265
|
+
*/
|
|
266
|
+
blockchain_offramp_transfer_instruction?: Source.BlockchainOfframpTransferInstruction | null;
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* A Blockchain On-Ramp Transfer Instruction object. This field will be present in
|
|
270
|
+
* the JSON response if and only if `category` is equal to
|
|
271
|
+
* `blockchain_onramp_transfer_instruction`.
|
|
272
|
+
*/
|
|
273
|
+
blockchain_onramp_transfer_instruction?: Source.BlockchainOnrampTransferInstruction | null;
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* A Card Authorization object. This field will be present in the JSON response if
|
|
277
|
+
* and only if `category` is equal to `card_authorization`. Card Authorizations are
|
|
278
|
+
* temporary holds placed on a customers funds with the intent to later clear a
|
|
279
|
+
* transaction.
|
|
280
|
+
*/
|
|
281
|
+
card_authorization?: Source.CardAuthorization | null;
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* A Card Push Transfer Instruction object. This field will be present in the JSON
|
|
285
|
+
* response if and only if `category` is equal to `card_push_transfer_instruction`.
|
|
286
|
+
*/
|
|
287
|
+
card_push_transfer_instruction?: Source.CardPushTransferInstruction | null;
|
|
288
|
+
|
|
289
289
|
/**
|
|
290
290
|
* A Check Deposit Instruction object. This field will be present in the JSON
|
|
291
291
|
* response if and only if `category` is equal to `check_deposit_instruction`.
|
|
292
292
|
*/
|
|
293
|
-
check_deposit_instruction
|
|
293
|
+
check_deposit_instruction?: Source.CheckDepositInstruction | null;
|
|
294
294
|
|
|
295
295
|
/**
|
|
296
296
|
* A Check Transfer Instruction object. This field will be present in the JSON
|
|
297
297
|
* response if and only if `category` is equal to `check_transfer_instruction`.
|
|
298
298
|
*/
|
|
299
|
-
check_transfer_instruction
|
|
299
|
+
check_transfer_instruction?: Source.CheckTransferInstruction | null;
|
|
300
300
|
|
|
301
301
|
/**
|
|
302
302
|
* A FedNow Transfer Instruction object. This field will be present in the JSON
|
|
303
303
|
* response if and only if `category` is equal to `fednow_transfer_instruction`.
|
|
304
304
|
*/
|
|
305
|
-
fednow_transfer_instruction
|
|
305
|
+
fednow_transfer_instruction?: Source.FednowTransferInstruction | null;
|
|
306
306
|
|
|
307
307
|
/**
|
|
308
308
|
* An Inbound Funds Hold object. This field will be present in the JSON response if
|
|
@@ -310,7 +310,7 @@ export namespace PendingTransaction {
|
|
|
310
310
|
* certain transaction types to account for return windows where funds might still
|
|
311
311
|
* be clawed back by the sending institution.
|
|
312
312
|
*/
|
|
313
|
-
inbound_funds_hold
|
|
313
|
+
inbound_funds_hold?: Source.InboundFundsHold | null;
|
|
314
314
|
|
|
315
315
|
/**
|
|
316
316
|
* An Inbound Wire Transfer Reversal object. This field will be present in the JSON
|
|
@@ -318,39 +318,39 @@ export namespace PendingTransaction {
|
|
|
318
318
|
* An Inbound Wire Transfer Reversal is created when Increase has received a wire
|
|
319
319
|
* and the User requests that it be reversed.
|
|
320
320
|
*/
|
|
321
|
-
inbound_wire_transfer_reversal
|
|
321
|
+
inbound_wire_transfer_reversal?: Source.InboundWireTransferReversal | null;
|
|
322
322
|
|
|
323
323
|
/**
|
|
324
324
|
* If the category of this Transaction source is equal to `other`, this field will
|
|
325
325
|
* contain an empty object, otherwise it will contain null.
|
|
326
326
|
*/
|
|
327
|
-
other
|
|
327
|
+
other?: Source.Other | null;
|
|
328
328
|
|
|
329
329
|
/**
|
|
330
330
|
* A Real-Time Payments Transfer Instruction object. This field will be present in
|
|
331
331
|
* the JSON response if and only if `category` is equal to
|
|
332
332
|
* `real_time_payments_transfer_instruction`.
|
|
333
333
|
*/
|
|
334
|
-
real_time_payments_transfer_instruction
|
|
334
|
+
real_time_payments_transfer_instruction?: Source.RealTimePaymentsTransferInstruction | null;
|
|
335
335
|
|
|
336
336
|
/**
|
|
337
337
|
* A Swift Transfer Instruction object. This field will be present in the JSON
|
|
338
338
|
* response if and only if `category` is equal to `swift_transfer_instruction`.
|
|
339
339
|
*/
|
|
340
|
-
swift_transfer_instruction
|
|
340
|
+
swift_transfer_instruction?: Source.SwiftTransferInstruction | null;
|
|
341
341
|
|
|
342
342
|
/**
|
|
343
343
|
* An User Initiated Hold object. This field will be present in the JSON response
|
|
344
344
|
* if and only if `category` is equal to `user_initiated_hold`. Created when a user
|
|
345
345
|
* initiates a hold on funds in their account.
|
|
346
346
|
*/
|
|
347
|
-
user_initiated_hold
|
|
347
|
+
user_initiated_hold?: { [key: string]: unknown } | null;
|
|
348
348
|
|
|
349
349
|
/**
|
|
350
350
|
* A Wire Transfer Instruction object. This field will be present in the JSON
|
|
351
351
|
* response if and only if `category` is equal to `wire_transfer_instruction`.
|
|
352
352
|
*/
|
|
353
|
-
wire_transfer_instruction
|
|
353
|
+
wire_transfer_instruction?: Source.WireTransferInstruction | null;
|
|
354
354
|
|
|
355
355
|
[k: string]: unknown;
|
|
356
356
|
}
|
|
@@ -402,11 +402,11 @@ export namespace PendingTransaction {
|
|
|
402
402
|
}
|
|
403
403
|
|
|
404
404
|
/**
|
|
405
|
-
* A Blockchain Off-Ramp Transfer
|
|
405
|
+
* A Blockchain Off-Ramp Transfer Instruction object. This field will be present in
|
|
406
406
|
* the JSON response if and only if `category` is equal to
|
|
407
|
-
* `
|
|
407
|
+
* `blockchain_offramp_transfer_instruction`.
|
|
408
408
|
*/
|
|
409
|
-
export interface
|
|
409
|
+
export interface BlockchainOfframpTransferInstruction {
|
|
410
410
|
/**
|
|
411
411
|
* The identifier of the Blockchain Address the funds were received at.
|
|
412
412
|
*/
|
|
@@ -1484,7 +1484,7 @@ export namespace PendingTransactionListParams {
|
|
|
1484
1484
|
| 'swift_transfer_instruction'
|
|
1485
1485
|
| 'card_push_transfer_instruction'
|
|
1486
1486
|
| 'blockchain_onramp_transfer_instruction'
|
|
1487
|
-
| '
|
|
1487
|
+
| 'blockchain_offramp_transfer_instruction'
|
|
1488
1488
|
| 'other'
|
|
1489
1489
|
>;
|
|
1490
1490
|
}
|
|
@@ -335,11 +335,6 @@ export namespace RealTimePaymentsTransfer {
|
|
|
335
335
|
* What object created the transfer, either via the API or the dashboard.
|
|
336
336
|
*/
|
|
337
337
|
export interface CreatedBy {
|
|
338
|
-
/**
|
|
339
|
-
* If present, details about the API key that created the transfer.
|
|
340
|
-
*/
|
|
341
|
-
api_key: CreatedBy.APIKey | null;
|
|
342
|
-
|
|
343
338
|
/**
|
|
344
339
|
* The type of object that created this transfer.
|
|
345
340
|
*
|
|
@@ -351,15 +346,20 @@ export namespace RealTimePaymentsTransfer {
|
|
|
351
346
|
*/
|
|
352
347
|
category: 'api_key' | 'oauth_application' | 'user';
|
|
353
348
|
|
|
349
|
+
/**
|
|
350
|
+
* If present, details about the API key that created the transfer.
|
|
351
|
+
*/
|
|
352
|
+
api_key?: CreatedBy.APIKey | null;
|
|
353
|
+
|
|
354
354
|
/**
|
|
355
355
|
* If present, details about the OAuth Application that created the transfer.
|
|
356
356
|
*/
|
|
357
|
-
oauth_application
|
|
357
|
+
oauth_application?: CreatedBy.OAuthApplication | null;
|
|
358
358
|
|
|
359
359
|
/**
|
|
360
360
|
* If present, details about the User that created the transfer.
|
|
361
361
|
*/
|
|
362
|
-
user
|
|
362
|
+
user?: CreatedBy.User | null;
|
|
363
363
|
}
|
|
364
364
|
|
|
365
365
|
export namespace CreatedBy {
|