increase 0.573.0 → 0.575.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 +14 -0
- package/package.json +1 -1
- package/resources/accounts.d.mts +3 -2
- package/resources/accounts.d.mts.map +1 -1
- package/resources/accounts.d.ts +3 -2
- package/resources/accounts.d.ts.map +1 -1
- package/resources/ach-transfers.d.mts +47 -31
- package/resources/ach-transfers.d.mts.map +1 -1
- package/resources/ach-transfers.d.ts +47 -31
- package/resources/ach-transfers.d.ts.map +1 -1
- package/resources/beneficial-owners.d.mts +6 -3
- package/resources/beneficial-owners.d.mts.map +1 -1
- package/resources/beneficial-owners.d.ts +6 -3
- package/resources/beneficial-owners.d.ts.map +1 -1
- package/resources/card-push-transfers.d.mts +4 -4
- package/resources/card-push-transfers.d.mts.map +1 -1
- package/resources/card-push-transfers.d.ts +4 -4
- package/resources/card-push-transfers.d.ts.map +1 -1
- package/resources/check-transfers.d.mts +7 -5
- package/resources/check-transfers.d.mts.map +1 -1
- package/resources/check-transfers.d.ts +7 -5
- package/resources/check-transfers.d.ts.map +1 -1
- package/resources/entities.d.mts +28 -16
- package/resources/entities.d.mts.map +1 -1
- package/resources/entities.d.ts +28 -16
- package/resources/entities.d.ts.map +1 -1
- package/resources/fednow-transfers.d.mts +3 -3
- package/resources/fednow-transfers.d.mts.map +1 -1
- package/resources/fednow-transfers.d.ts +3 -3
- package/resources/fednow-transfers.d.ts.map +1 -1
- package/resources/inbound-mail-items.d.mts +6 -2
- package/resources/inbound-mail-items.d.mts.map +1 -1
- package/resources/inbound-mail-items.d.ts +6 -2
- package/resources/inbound-mail-items.d.ts.map +1 -1
- package/resources/inbound-mail-items.js +3 -1
- package/resources/inbound-mail-items.js.map +1 -1
- package/resources/inbound-mail-items.mjs +3 -1
- package/resources/inbound-mail-items.mjs.map +1 -1
- package/resources/inbound-real-time-payments-transfers.d.mts +2 -1
- package/resources/inbound-real-time-payments-transfers.d.mts.map +1 -1
- package/resources/inbound-real-time-payments-transfers.d.ts +2 -1
- package/resources/inbound-real-time-payments-transfers.d.ts.map +1 -1
- package/resources/lockbox-addresses.d.mts +9 -2
- package/resources/lockbox-addresses.d.mts.map +1 -1
- package/resources/lockbox-addresses.d.ts +9 -2
- package/resources/lockbox-addresses.d.ts.map +1 -1
- package/resources/lockbox-addresses.js +4 -1
- package/resources/lockbox-addresses.js.map +1 -1
- package/resources/lockbox-addresses.mjs +4 -1
- package/resources/lockbox-addresses.mjs.map +1 -1
- package/resources/lockbox-recipients.d.mts +2 -1
- package/resources/lockbox-recipients.d.mts.map +1 -1
- package/resources/lockbox-recipients.d.ts +2 -1
- package/resources/lockbox-recipients.d.ts.map +1 -1
- package/resources/pending-transactions.d.mts +7 -2
- package/resources/pending-transactions.d.mts.map +1 -1
- package/resources/pending-transactions.d.ts +7 -2
- package/resources/pending-transactions.d.ts.map +1 -1
- package/resources/physical-cards.d.mts +6 -4
- package/resources/physical-cards.d.mts.map +1 -1
- package/resources/physical-cards.d.ts +6 -4
- package/resources/physical-cards.d.ts.map +1 -1
- package/resources/real-time-payments-transfers.d.mts +4 -4
- package/resources/real-time-payments-transfers.d.mts.map +1 -1
- package/resources/real-time-payments-transfers.d.ts +4 -4
- package/resources/real-time-payments-transfers.d.ts.map +1 -1
- package/resources/simulations/card-authorizations.d.mts +4 -1
- package/resources/simulations/card-authorizations.d.mts.map +1 -1
- package/resources/simulations/card-authorizations.d.ts +4 -1
- package/resources/simulations/card-authorizations.d.ts.map +1 -1
- package/resources/simulations/card-authorizations.js +4 -1
- package/resources/simulations/card-authorizations.js.map +1 -1
- package/resources/simulations/card-authorizations.mjs +4 -1
- package/resources/simulations/card-authorizations.mjs.map +1 -1
- package/resources/simulations/inbound-ach-transfers.d.mts +2 -1
- package/resources/simulations/inbound-ach-transfers.d.mts.map +1 -1
- package/resources/simulations/inbound-ach-transfers.d.ts +2 -1
- package/resources/simulations/inbound-ach-transfers.d.ts.map +1 -1
- package/resources/simulations/inbound-mail-items.d.mts +8 -3
- package/resources/simulations/inbound-mail-items.d.mts.map +1 -1
- package/resources/simulations/inbound-mail-items.d.ts +8 -3
- package/resources/simulations/inbound-mail-items.d.ts.map +1 -1
- package/resources/simulations/inbound-mail-items.js +4 -1
- package/resources/simulations/inbound-mail-items.js.map +1 -1
- package/resources/simulations/inbound-mail-items.mjs +4 -1
- package/resources/simulations/inbound-mail-items.mjs.map +1 -1
- package/resources/simulations/physical-cards.d.mts +6 -4
- package/resources/simulations/physical-cards.d.mts.map +1 -1
- package/resources/simulations/physical-cards.d.ts +6 -4
- package/resources/simulations/physical-cards.d.ts.map +1 -1
- package/resources/supplemental-documents.d.mts +1 -1
- package/resources/supplemental-documents.d.ts +1 -1
- package/resources/swift-transfers.d.mts +3 -3
- package/resources/swift-transfers.d.mts.map +1 -1
- package/resources/swift-transfers.d.ts +3 -3
- package/resources/swift-transfers.d.ts.map +1 -1
- package/resources/transactions.d.mts +6 -3
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts +6 -3
- package/resources/transactions.d.ts.map +1 -1
- package/resources/wire-transfers.d.mts +3 -3
- package/resources/wire-transfers.d.mts.map +1 -1
- package/resources/wire-transfers.d.ts +3 -3
- package/resources/wire-transfers.d.ts.map +1 -1
- package/src/resources/accounts.ts +3 -2
- package/src/resources/ach-transfers.ts +47 -31
- package/src/resources/beneficial-owners.ts +6 -3
- package/src/resources/card-push-transfers.ts +4 -4
- package/src/resources/check-transfers.ts +7 -2
- package/src/resources/entities.ts +28 -16
- package/src/resources/fednow-transfers.ts +3 -3
- package/src/resources/inbound-mail-items.ts +6 -2
- package/src/resources/inbound-real-time-payments-transfers.ts +2 -1
- package/src/resources/lockbox-addresses.ts +9 -2
- package/src/resources/lockbox-recipients.ts +2 -1
- package/src/resources/pending-transactions.ts +7 -2
- package/src/resources/physical-cards.ts +6 -3
- package/src/resources/real-time-payments-transfers.ts +4 -4
- package/src/resources/simulations/card-authorizations.ts +4 -1
- package/src/resources/simulations/inbound-ach-transfers.ts +2 -1
- package/src/resources/simulations/inbound-mail-items.ts +8 -3
- package/src/resources/simulations/physical-cards.ts +12 -4
- package/src/resources/supplemental-documents.ts +1 -1
- package/src/resources/swift-transfers.ts +3 -3
- package/src/resources/transactions.ts +6 -3
- package/src/resources/wire-transfers.ts +3 -3
- 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
|
@@ -102,7 +102,7 @@ export interface ACHTransfer {
|
|
|
102
102
|
account_id: string;
|
|
103
103
|
|
|
104
104
|
/**
|
|
105
|
-
* The
|
|
105
|
+
* The receiver's account number.
|
|
106
106
|
*/
|
|
107
107
|
account_number: string;
|
|
108
108
|
|
|
@@ -182,8 +182,7 @@ export interface ACHTransfer {
|
|
|
182
182
|
currency: 'USD';
|
|
183
183
|
|
|
184
184
|
/**
|
|
185
|
-
* The type of entity that owns the account
|
|
186
|
-
* sent.
|
|
185
|
+
* The type of entity that owns the receiver's account.
|
|
187
186
|
*
|
|
188
187
|
* - `business` - The External Account is owned by a business.
|
|
189
188
|
* - `individual` - The External Account is owned by an individual.
|
|
@@ -197,7 +196,7 @@ export interface ACHTransfer {
|
|
|
197
196
|
external_account_id: string | null;
|
|
198
197
|
|
|
199
198
|
/**
|
|
200
|
-
* The type of the
|
|
199
|
+
* The type of the receiver's bank account.
|
|
201
200
|
*
|
|
202
201
|
* - `checking` - A checking account.
|
|
203
202
|
* - `savings` - A savings account.
|
|
@@ -220,7 +219,8 @@ export interface ACHTransfer {
|
|
|
220
219
|
inbound_funds_hold: ACHTransfer.InboundFundsHold | null;
|
|
221
220
|
|
|
222
221
|
/**
|
|
223
|
-
* Your identifier for the transfer recipient.
|
|
222
|
+
* Your internal identifier for the transfer recipient. This value is informational
|
|
223
|
+
* and not verified by the recipient's bank.
|
|
224
224
|
*/
|
|
225
225
|
individual_id: string | null;
|
|
226
226
|
|
|
@@ -263,7 +263,8 @@ export interface ACHTransfer {
|
|
|
263
263
|
return: ACHTransfer.Return | null;
|
|
264
264
|
|
|
265
265
|
/**
|
|
266
|
-
* The American Bankers' Association (ABA) Routing Transit Number (RTN)
|
|
266
|
+
* The American Bankers' Association (ABA) Routing Transit Number (RTN) of the
|
|
267
|
+
* receiver's bank.
|
|
267
268
|
*/
|
|
268
269
|
routing_number: string;
|
|
269
270
|
|
|
@@ -314,7 +315,9 @@ export interface ACHTransfer {
|
|
|
314
315
|
* - `requires_attention` - The transfer requires attention from an Increase
|
|
315
316
|
* operator.
|
|
316
317
|
* - `rejected` - The transfer has been rejected.
|
|
317
|
-
* - `submitted` - The transfer
|
|
318
|
+
* - `submitted` - The transfer has been submitted to the Federal Reserve. When the
|
|
319
|
+
* transfer settles, the status remains `submitted` and the `settlement`
|
|
320
|
+
* sub-object is populated.
|
|
318
321
|
* - `returned` - The transfer has been returned.
|
|
319
322
|
*/
|
|
320
323
|
status:
|
|
@@ -718,7 +721,7 @@ export namespace ACHTransfer {
|
|
|
718
721
|
* - `same_day` - The chosen effective date will be the same as the ACH processing
|
|
719
722
|
* date on which the transfer is submitted. This is necessary, but not sufficient
|
|
720
723
|
* for the transfer to be settled same-day: it must also be submitted before the
|
|
721
|
-
* last same-day cutoff and be less than or equal to $1,000
|
|
724
|
+
* last same-day cutoff and be less than or equal to $1,000,000.00.
|
|
722
725
|
* - `future_dated` - The chosen effective date will be the business day following
|
|
723
726
|
* the ACH processing date on which the transfer is submitted. The transfer will
|
|
724
727
|
* be settled on that future day.
|
|
@@ -982,7 +985,8 @@ export namespace ACHTransfer {
|
|
|
982
985
|
transaction_id: string;
|
|
983
986
|
|
|
984
987
|
/**
|
|
985
|
-
* The identifier of the ACH Transfer associated with this return.
|
|
988
|
+
* The identifier of the ACH Transfer associated with this return. This matches the
|
|
989
|
+
* original Transaction's `source.ach_transfer_intention.transfer_id`.
|
|
986
990
|
*/
|
|
987
991
|
transfer_id: string;
|
|
988
992
|
|
|
@@ -1085,44 +1089,52 @@ export interface ACHTransferCreateParams {
|
|
|
1085
1089
|
statement_descriptor: string;
|
|
1086
1090
|
|
|
1087
1091
|
/**
|
|
1088
|
-
* The account number
|
|
1092
|
+
* The receiver's account number. For credit transfers (positive `amount`) this is
|
|
1093
|
+
* the account that funds will be sent to. For debit transfers (negative `amount`)
|
|
1094
|
+
* this is the account that funds will be pulled from.
|
|
1089
1095
|
*/
|
|
1090
1096
|
account_number?: string;
|
|
1091
1097
|
|
|
1092
1098
|
/**
|
|
1093
|
-
* Additional information
|
|
1094
|
-
*
|
|
1099
|
+
* Additional information passed through to the receiving bank with the transfer.
|
|
1100
|
+
* Most ACH transfers do not need this. Only set this if your recipient has asked
|
|
1101
|
+
* for addendum data, typically unstructured remittance information. Corporate
|
|
1102
|
+
* Trade Exchange (CTX) flows can carry structured X12 remittance advice instead.
|
|
1095
1103
|
*/
|
|
1096
1104
|
addenda?: ACHTransferCreateParams.Addenda;
|
|
1097
1105
|
|
|
1098
1106
|
/**
|
|
1099
|
-
*
|
|
1100
|
-
*
|
|
1107
|
+
* A description of the transfer date (typically `YYMMDD`), sent in the company
|
|
1108
|
+
* batch header. This value is informational and does not affect funds movement,
|
|
1109
|
+
* settlement timing, or returns. Only set this if your recipient has asked for it.
|
|
1101
1110
|
*/
|
|
1102
1111
|
company_descriptive_date?: string;
|
|
1103
1112
|
|
|
1104
1113
|
/**
|
|
1105
|
-
*
|
|
1106
|
-
*
|
|
1114
|
+
* Custom data sent in the company batch header. This value is informational and
|
|
1115
|
+
* does not affect funds movement, settlement timing, or returns. Most ACH
|
|
1116
|
+
* transfers do not need this. Only set this if your recipient has asked for it.
|
|
1107
1117
|
*/
|
|
1108
1118
|
company_discretionary_data?: string;
|
|
1109
1119
|
|
|
1110
1120
|
/**
|
|
1111
|
-
* A description
|
|
1112
|
-
*
|
|
1113
|
-
* for
|
|
1121
|
+
* A short description sent in the company batch header. Most receivers do not
|
|
1122
|
+
* surface this. Only set this if your recipient has asked for a specific value or
|
|
1123
|
+
* if Nacha mandates one for your Standard Entry Class (SEC) code and use case. For
|
|
1124
|
+
* example, Prearranged Payment and Deposit (PPD) payroll credits must use
|
|
1125
|
+
* `PAYROLL`, and reversals must use `REVERSAL`.
|
|
1114
1126
|
*/
|
|
1115
1127
|
company_entry_description?: string;
|
|
1116
1128
|
|
|
1117
1129
|
/**
|
|
1118
|
-
* The name by which the recipient knows you
|
|
1119
|
-
*
|
|
1130
|
+
* The name by which the recipient knows you, sent in the company batch header. We
|
|
1131
|
+
* recommend setting this on every transfer; if you do not, we fall back to the ACH
|
|
1132
|
+
* company name configured on your account.
|
|
1120
1133
|
*/
|
|
1121
1134
|
company_name?: string;
|
|
1122
1135
|
|
|
1123
1136
|
/**
|
|
1124
|
-
* The type of entity that owns the account
|
|
1125
|
-
* sent.
|
|
1137
|
+
* The type of entity that owns the receiver's account.
|
|
1126
1138
|
*
|
|
1127
1139
|
* - `business` - The External Account is owned by a business.
|
|
1128
1140
|
* - `individual` - The External Account is owned by an individual.
|
|
@@ -1137,7 +1149,7 @@ export interface ACHTransferCreateParams {
|
|
|
1137
1149
|
external_account_id?: string;
|
|
1138
1150
|
|
|
1139
1151
|
/**
|
|
1140
|
-
* The type of the
|
|
1152
|
+
* The type of the receiver's bank account.
|
|
1141
1153
|
*
|
|
1142
1154
|
* - `checking` - A checking account.
|
|
1143
1155
|
* - `savings` - A savings account.
|
|
@@ -1147,7 +1159,8 @@ export interface ACHTransferCreateParams {
|
|
|
1147
1159
|
funding?: 'checking' | 'savings' | 'loan' | 'general_ledger';
|
|
1148
1160
|
|
|
1149
1161
|
/**
|
|
1150
|
-
* Your identifier for the transfer recipient.
|
|
1162
|
+
* Your internal identifier for the transfer recipient. This value is informational
|
|
1163
|
+
* and not verified by the recipient's bank. Most callers can leave this unset.
|
|
1151
1164
|
*/
|
|
1152
1165
|
individual_id?: string;
|
|
1153
1166
|
|
|
@@ -1171,15 +1184,16 @@ export interface ACHTransferCreateParams {
|
|
|
1171
1184
|
require_approval?: boolean;
|
|
1172
1185
|
|
|
1173
1186
|
/**
|
|
1174
|
-
* The American Bankers' Association (ABA) Routing Transit Number (RTN)
|
|
1175
|
-
*
|
|
1187
|
+
* The American Bankers' Association (ABA) Routing Transit Number (RTN) of the
|
|
1188
|
+
* receiver's bank.
|
|
1176
1189
|
*/
|
|
1177
1190
|
routing_number?: string;
|
|
1178
1191
|
|
|
1179
1192
|
/**
|
|
1180
1193
|
* The
|
|
1181
1194
|
* [Standard Entry Class (SEC) code](/documentation/ach-standard-entry-class-codes)
|
|
1182
|
-
* to use for the transfer.
|
|
1195
|
+
* to use for the transfer. If not provided, the default is
|
|
1196
|
+
* `corporate_credit_or_debit`.
|
|
1183
1197
|
*
|
|
1184
1198
|
* - `corporate_credit_or_debit` - Corporate Credit and Debit (CCD) is used for
|
|
1185
1199
|
* business-to-business payments.
|
|
@@ -1213,8 +1227,10 @@ export interface ACHTransferCreateParams {
|
|
|
1213
1227
|
|
|
1214
1228
|
export namespace ACHTransferCreateParams {
|
|
1215
1229
|
/**
|
|
1216
|
-
* Additional information
|
|
1217
|
-
*
|
|
1230
|
+
* Additional information passed through to the receiving bank with the transfer.
|
|
1231
|
+
* Most ACH transfers do not need this. Only set this if your recipient has asked
|
|
1232
|
+
* for addendum data, typically unstructured remittance information. Corporate
|
|
1233
|
+
* Trade Exchange (CTX) flows can carry structured X12 remittance advice instead.
|
|
1218
1234
|
*/
|
|
1219
1235
|
export interface Addenda {
|
|
1220
1236
|
/**
|
|
@@ -1312,7 +1328,7 @@ export namespace ACHTransferCreateParams {
|
|
|
1312
1328
|
* - `same_day` - The chosen effective date will be the same as the ACH processing
|
|
1313
1329
|
* date on which the transfer is submitted. This is necessary, but not sufficient
|
|
1314
1330
|
* for the transfer to be settled same-day: it must also be submitted before the
|
|
1315
|
-
* last same-day cutoff and be less than or equal to $1,000
|
|
1331
|
+
* last same-day cutoff and be less than or equal to $1,000,000.00.
|
|
1316
1332
|
* - `future_dated` - The chosen effective date will be the business day following
|
|
1317
1333
|
* the ACH processing date on which the transfer is submitted. The transfer will
|
|
1318
1334
|
* be settled on that future day.
|
|
@@ -264,7 +264,8 @@ export namespace EntityBeneficialOwner {
|
|
|
264
264
|
|
|
265
265
|
export interface BeneficialOwnerCreateParams {
|
|
266
266
|
/**
|
|
267
|
-
* The identifier of the Entity to associate with the new Beneficial Owner.
|
|
267
|
+
* The identifier of the Entity to associate with the new Beneficial Owner. Only
|
|
268
|
+
* `corporation` entities have beneficial owners.
|
|
268
269
|
*/
|
|
269
270
|
entity_id: string;
|
|
270
271
|
|
|
@@ -386,7 +387,8 @@ export namespace BeneficialOwnerCreateParams {
|
|
|
386
387
|
* An identification number that can be used to verify the individual's identity,
|
|
387
388
|
* such as a social security number. For Social Security Numbers and Individual
|
|
388
389
|
* Taxpayer Identification Numbers, submit nine digits with no dashes or other
|
|
389
|
-
* separators.
|
|
390
|
+
* separators. When testing in sandbox, use one of our
|
|
391
|
+
* [sandbox test values](https://increase.com/documentation/sandbox-test-values).
|
|
390
392
|
*/
|
|
391
393
|
number: string;
|
|
392
394
|
|
|
@@ -593,7 +595,8 @@ export namespace BeneficialOwnerUpdateParams {
|
|
|
593
595
|
* An identification number that can be used to verify the individual's identity,
|
|
594
596
|
* such as a social security number. For Social Security Numbers and Individual
|
|
595
597
|
* Taxpayer Identification Numbers, submit nine digits with no dashes or other
|
|
596
|
-
* separators.
|
|
598
|
+
* separators. When testing in sandbox, use one of our
|
|
599
|
+
* [sandbox test values](https://increase.com/documentation/sandbox-test-values).
|
|
597
600
|
*/
|
|
598
601
|
number: string;
|
|
599
602
|
|
|
@@ -331,11 +331,11 @@ export interface CardPushTransfer {
|
|
|
331
331
|
*
|
|
332
332
|
* - `pending_approval` - The transfer is pending approval.
|
|
333
333
|
* - `canceled` - The transfer has been canceled.
|
|
334
|
+
* - `pending_submission` - The transfer is queued to be submitted to the card
|
|
335
|
+
* network.
|
|
334
336
|
* - `pending_reviewing` - The transfer is pending review by Increase.
|
|
335
337
|
* - `requires_attention` - The transfer requires attention from an Increase
|
|
336
338
|
* operator.
|
|
337
|
-
* - `pending_submission` - The transfer is queued to be submitted to the card
|
|
338
|
-
* network.
|
|
339
339
|
* - `submitted` - The transfer has been submitted and is pending a response from
|
|
340
340
|
* the card network.
|
|
341
341
|
* - `complete` - The transfer has been sent successfully and is complete.
|
|
@@ -344,9 +344,9 @@ export interface CardPushTransfer {
|
|
|
344
344
|
status:
|
|
345
345
|
| 'pending_approval'
|
|
346
346
|
| 'canceled'
|
|
347
|
+
| 'pending_submission'
|
|
347
348
|
| 'pending_reviewing'
|
|
348
349
|
| 'requires_attention'
|
|
349
|
-
| 'pending_submission'
|
|
350
350
|
| 'submitted'
|
|
351
351
|
| 'complete'
|
|
352
352
|
| 'declined';
|
|
@@ -1626,9 +1626,9 @@ export namespace CardPushTransferListParams {
|
|
|
1626
1626
|
in?: Array<
|
|
1627
1627
|
| 'pending_approval'
|
|
1628
1628
|
| 'canceled'
|
|
1629
|
+
| 'pending_submission'
|
|
1629
1630
|
| 'pending_reviewing'
|
|
1630
1631
|
| 'requires_attention'
|
|
1631
|
-
| 'pending_submission'
|
|
1632
1632
|
| 'submitted'
|
|
1633
1633
|
| 'complete'
|
|
1634
1634
|
| 'declined'
|
|
@@ -243,6 +243,7 @@ export interface CheckTransfer {
|
|
|
243
243
|
* - `pending_approval` - The transfer is awaiting approval.
|
|
244
244
|
* - `canceled` - The transfer has been canceled.
|
|
245
245
|
* - `pending_submission` - The transfer is pending submission.
|
|
246
|
+
* - `pending_reviewing` - The transfer is pending review by Increase.
|
|
246
247
|
* - `requires_attention` - The transfer requires attention from an Increase
|
|
247
248
|
* operator.
|
|
248
249
|
* - `rejected` - The transfer has been rejected.
|
|
@@ -256,6 +257,7 @@ export interface CheckTransfer {
|
|
|
256
257
|
| 'pending_approval'
|
|
257
258
|
| 'canceled'
|
|
258
259
|
| 'pending_submission'
|
|
260
|
+
| 'pending_reviewing'
|
|
259
261
|
| 'requires_attention'
|
|
260
262
|
| 'rejected'
|
|
261
263
|
| 'pending_mailing'
|
|
@@ -595,14 +597,16 @@ export namespace CheckTransfer {
|
|
|
595
597
|
* While uncommon, a single check may have more than one delivered event.
|
|
596
598
|
* - `delivery_issue` - There is an issue preventing delivery. The delivery will be
|
|
597
599
|
* attempted again if possible. If the issue cannot be resolved, the check will
|
|
598
|
-
* be
|
|
599
|
-
* - `
|
|
600
|
+
* be rerouted to the return address.
|
|
601
|
+
* - `returning_to_sender` - The check has been rerouted to the return address.
|
|
602
|
+
* - `returned_to_sender` - The check has been delivered to the return address.
|
|
600
603
|
*/
|
|
601
604
|
category:
|
|
602
605
|
| 'in_transit'
|
|
603
606
|
| 'processed_for_delivery'
|
|
604
607
|
| 'delivered'
|
|
605
608
|
| 'delivery_issue'
|
|
609
|
+
| 'returning_to_sender'
|
|
606
610
|
| 'returned_to_sender';
|
|
607
611
|
|
|
608
612
|
/**
|
|
@@ -1084,6 +1088,7 @@ export namespace CheckTransferListParams {
|
|
|
1084
1088
|
| 'pending_approval'
|
|
1085
1089
|
| 'canceled'
|
|
1086
1090
|
| 'pending_submission'
|
|
1091
|
+
| 'pending_reviewing'
|
|
1087
1092
|
| 'requires_attention'
|
|
1088
1093
|
| 'rejected'
|
|
1089
1094
|
| 'pending_mailing'
|
|
@@ -87,7 +87,7 @@ export type EntitiesPage = Page<Entity>;
|
|
|
87
87
|
|
|
88
88
|
/**
|
|
89
89
|
* Entities are the legal entities that own accounts. They can be people,
|
|
90
|
-
* corporations,
|
|
90
|
+
* corporations, joint accounts, trusts, or government authorities. To learn more,
|
|
91
91
|
* see [Entities](/documentation/entities).
|
|
92
92
|
*/
|
|
93
93
|
export interface Entity {
|
|
@@ -271,7 +271,8 @@ export namespace Entity {
|
|
|
271
271
|
industry_code: string | null;
|
|
272
272
|
|
|
273
273
|
/**
|
|
274
|
-
* The legal identifier of the corporation
|
|
274
|
+
* The legal identifier of the corporation, like an Employer Identification Number
|
|
275
|
+
* (EIN).
|
|
275
276
|
*/
|
|
276
277
|
legal_identifier: Corporation.LegalIdentifier | null;
|
|
277
278
|
|
|
@@ -445,7 +446,8 @@ export namespace Entity {
|
|
|
445
446
|
}
|
|
446
447
|
|
|
447
448
|
/**
|
|
448
|
-
* The legal identifier of the corporation
|
|
449
|
+
* The legal identifier of the corporation, like an Employer Identification Number
|
|
450
|
+
* (EIN).
|
|
449
451
|
*/
|
|
450
452
|
export interface LegalIdentifier {
|
|
451
453
|
/**
|
|
@@ -460,7 +462,7 @@ export namespace Entity {
|
|
|
460
462
|
category: 'us_employer_identification_number' | 'other';
|
|
461
463
|
|
|
462
464
|
/**
|
|
463
|
-
* The
|
|
465
|
+
* The legal identifier itself.
|
|
464
466
|
*/
|
|
465
467
|
value: string;
|
|
466
468
|
}
|
|
@@ -1325,7 +1327,8 @@ export namespace EntityCreateParams {
|
|
|
1325
1327
|
|
|
1326
1328
|
/**
|
|
1327
1329
|
* The legal identifier of the corporation. This is usually the Employer
|
|
1328
|
-
* Identification Number (EIN).
|
|
1330
|
+
* Identification Number (EIN). This replaces the deprecated `tax_identifier`
|
|
1331
|
+
* field.
|
|
1329
1332
|
*/
|
|
1330
1333
|
legal_identifier: Corporation.LegalIdentifier;
|
|
1331
1334
|
|
|
@@ -1539,7 +1542,8 @@ export namespace EntityCreateParams {
|
|
|
1539
1542
|
* An identification number that can be used to verify the individual's identity,
|
|
1540
1543
|
* such as a social security number. For Social Security Numbers and Individual
|
|
1541
1544
|
* Taxpayer Identification Numbers, submit nine digits with no dashes or other
|
|
1542
|
-
* separators.
|
|
1545
|
+
* separators. When testing in sandbox, use one of our
|
|
1546
|
+
* [sandbox test values](https://increase.com/documentation/sandbox-test-values).
|
|
1543
1547
|
*/
|
|
1544
1548
|
number: string;
|
|
1545
1549
|
|
|
@@ -1651,12 +1655,15 @@ export namespace EntityCreateParams {
|
|
|
1651
1655
|
|
|
1652
1656
|
/**
|
|
1653
1657
|
* The legal identifier of the corporation. This is usually the Employer
|
|
1654
|
-
* Identification Number (EIN).
|
|
1658
|
+
* Identification Number (EIN). This replaces the deprecated `tax_identifier`
|
|
1659
|
+
* field.
|
|
1655
1660
|
*/
|
|
1656
1661
|
export interface LegalIdentifier {
|
|
1657
1662
|
/**
|
|
1658
|
-
* The legal identifier. For US Employer Identification Numbers, submit nine
|
|
1659
|
-
* with no dashes or other separators.
|
|
1663
|
+
* The legal identifier itself. For US Employer Identification Numbers, submit nine
|
|
1664
|
+
* digits with no dashes or other separators. When testing in sandbox, use one of
|
|
1665
|
+
* our
|
|
1666
|
+
* [sandbox test values](https://increase.com/documentation/sandbox-test-values).
|
|
1660
1667
|
*/
|
|
1661
1668
|
value: string;
|
|
1662
1669
|
|
|
@@ -1865,7 +1872,8 @@ export namespace EntityCreateParams {
|
|
|
1865
1872
|
* An identification number that can be used to verify the individual's identity,
|
|
1866
1873
|
* such as a social security number. For Social Security Numbers and Individual
|
|
1867
1874
|
* Taxpayer Identification Numbers, submit nine digits with no dashes or other
|
|
1868
|
-
* separators.
|
|
1875
|
+
* separators. When testing in sandbox, use one of our
|
|
1876
|
+
* [sandbox test values](https://increase.com/documentation/sandbox-test-values).
|
|
1869
1877
|
*/
|
|
1870
1878
|
number: string;
|
|
1871
1879
|
|
|
@@ -2075,7 +2083,8 @@ export namespace EntityCreateParams {
|
|
|
2075
2083
|
* An identification number that can be used to verify the individual's identity,
|
|
2076
2084
|
* such as a social security number. For Social Security Numbers and Individual
|
|
2077
2085
|
* Taxpayer Identification Numbers, submit nine digits with no dashes or other
|
|
2078
|
-
* separators.
|
|
2086
|
+
* separators. When testing in sandbox, use one of our
|
|
2087
|
+
* [sandbox test values](https://increase.com/documentation/sandbox-test-values).
|
|
2079
2088
|
*/
|
|
2080
2089
|
number: string;
|
|
2081
2090
|
|
|
@@ -2453,7 +2462,8 @@ export namespace EntityCreateParams {
|
|
|
2453
2462
|
* An identification number that can be used to verify the individual's identity,
|
|
2454
2463
|
* such as a social security number. For Social Security Numbers and Individual
|
|
2455
2464
|
* Taxpayer Identification Numbers, submit nine digits with no dashes or other
|
|
2456
|
-
* separators.
|
|
2465
|
+
* separators. When testing in sandbox, use one of our
|
|
2466
|
+
* [sandbox test values](https://increase.com/documentation/sandbox-test-values).
|
|
2457
2467
|
*/
|
|
2458
2468
|
number: string;
|
|
2459
2469
|
|
|
@@ -2660,7 +2670,8 @@ export namespace EntityCreateParams {
|
|
|
2660
2670
|
* An identification number that can be used to verify the individual's identity,
|
|
2661
2671
|
* such as a social security number. For Social Security Numbers and Individual
|
|
2662
2672
|
* Taxpayer Identification Numbers, submit nine digits with no dashes or other
|
|
2663
|
-
* separators.
|
|
2673
|
+
* separators. When testing in sandbox, use one of our
|
|
2674
|
+
* [sandbox test values](https://increase.com/documentation/sandbox-test-values).
|
|
2664
2675
|
*/
|
|
2665
2676
|
number: string;
|
|
2666
2677
|
|
|
@@ -2919,8 +2930,8 @@ export namespace EntityUpdateParams {
|
|
|
2919
2930
|
*/
|
|
2920
2931
|
export interface LegalIdentifier {
|
|
2921
2932
|
/**
|
|
2922
|
-
* The
|
|
2923
|
-
*
|
|
2933
|
+
* The legal identifier itself. For US Employer Identification Numbers, submit nine
|
|
2934
|
+
* digits with no dashes or other separators.
|
|
2924
2935
|
*/
|
|
2925
2936
|
value: string;
|
|
2926
2937
|
|
|
@@ -3081,7 +3092,8 @@ export namespace EntityUpdateParams {
|
|
|
3081
3092
|
* An identification number that can be used to verify the individual's identity,
|
|
3082
3093
|
* such as a social security number. For Social Security Numbers and Individual
|
|
3083
3094
|
* Taxpayer Identification Numbers, submit nine digits with no dashes or other
|
|
3084
|
-
* separators.
|
|
3095
|
+
* separators. When testing in sandbox, use one of our
|
|
3096
|
+
* [sandbox test values](https://increase.com/documentation/sandbox-test-values).
|
|
3085
3097
|
*/
|
|
3086
3098
|
number: string;
|
|
3087
3099
|
|
|
@@ -199,25 +199,25 @@ export interface FednowTransfer {
|
|
|
199
199
|
/**
|
|
200
200
|
* The lifecycle status of the transfer.
|
|
201
201
|
*
|
|
202
|
+
* - `pending_submitting` - The transfer is queued to be submitted to FedNow.
|
|
202
203
|
* - `pending_reviewing` - The transfer is pending review by Increase.
|
|
203
204
|
* - `canceled` - The transfer has been canceled.
|
|
204
205
|
* - `reviewing_rejected` - The transfer has been rejected by Increase.
|
|
205
206
|
* - `requires_attention` - The transfer requires attention from an Increase
|
|
206
207
|
* operator.
|
|
207
208
|
* - `pending_approval` - The transfer is pending approval.
|
|
208
|
-
* - `pending_submitting` - The transfer is queued to be submitted to FedNow.
|
|
209
209
|
* - `pending_response` - The transfer has been submitted and is pending a response
|
|
210
210
|
* from FedNow.
|
|
211
211
|
* - `complete` - The transfer has been sent successfully and is complete.
|
|
212
212
|
* - `rejected` - The transfer was rejected by the network or the recipient's bank.
|
|
213
213
|
*/
|
|
214
214
|
status:
|
|
215
|
+
| 'pending_submitting'
|
|
215
216
|
| 'pending_reviewing'
|
|
216
217
|
| 'canceled'
|
|
217
218
|
| 'reviewing_rejected'
|
|
218
219
|
| 'requires_attention'
|
|
219
220
|
| 'pending_approval'
|
|
220
|
-
| 'pending_submitting'
|
|
221
221
|
| 'pending_response'
|
|
222
222
|
| 'complete'
|
|
223
223
|
| 'rejected';
|
|
@@ -632,12 +632,12 @@ export namespace FednowTransferListParams {
|
|
|
632
632
|
* should be encoded as a comma-delimited string, such as `?in=one,two,three`.
|
|
633
633
|
*/
|
|
634
634
|
in?: Array<
|
|
635
|
+
| 'pending_submitting'
|
|
635
636
|
| 'pending_reviewing'
|
|
636
637
|
| 'canceled'
|
|
637
638
|
| 'reviewing_rejected'
|
|
638
639
|
| 'requires_attention'
|
|
639
640
|
| 'pending_approval'
|
|
640
|
-
| 'pending_submitting'
|
|
641
641
|
| 'pending_response'
|
|
642
642
|
| 'complete'
|
|
643
643
|
| 'rejected'
|
|
@@ -41,7 +41,9 @@ export class InboundMailItems extends APIResource {
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* Deposits or ignores each check contained in a pending Inbound Mail Item.
|
|
45
|
+
* Depositing a check creates a [Check Deposit](#check-deposits) into the Account
|
|
46
|
+
* you specify.
|
|
45
47
|
*
|
|
46
48
|
* @example
|
|
47
49
|
* ```ts
|
|
@@ -67,7 +69,9 @@ export type InboundMailItemsPage = Page<InboundMailItem>;
|
|
|
67
69
|
|
|
68
70
|
/**
|
|
69
71
|
* Inbound Mail Items represent pieces of physical mail delivered to a Lockbox
|
|
70
|
-
* Address.
|
|
72
|
+
* Address. Increase automatically deposits checks mailed to a Lockbox Recipient
|
|
73
|
+
* into the recipient's Account. Checks that are not matched to a Lockbox Recipient
|
|
74
|
+
* must be deposited or ignored using the Action an Inbound Mail Item endpoint.
|
|
71
75
|
*/
|
|
72
76
|
export interface InboundMailItem {
|
|
73
77
|
/**
|
|
@@ -126,7 +126,8 @@ export interface InboundRealTimePaymentsTransfer {
|
|
|
126
126
|
* The lifecycle status of the transfer.
|
|
127
127
|
*
|
|
128
128
|
* - `pending_confirming` - The transfer is pending confirmation.
|
|
129
|
-
* - `timed_out` - The transfer was not responded to in time.
|
|
129
|
+
* - `timed_out` - The transfer was not responded to in time. This is rare and
|
|
130
|
+
* represents an error at Increase.
|
|
130
131
|
* - `confirmed` - The transfer has been received successfully and is confirmed.
|
|
131
132
|
* - `declined` - The transfer has been declined.
|
|
132
133
|
*/
|
|
@@ -8,7 +8,10 @@ import { path } from '../internal/utils/path';
|
|
|
8
8
|
|
|
9
9
|
export class LockboxAddresses extends APIResource {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* The Lockbox Address starts with a `pending` status and a null `address`. Shortly
|
|
12
|
+
* after creation, Increase generates the mailing address and the status becomes
|
|
13
|
+
* `active`. You can only create Lockbox Recipients for an `active` Lockbox
|
|
14
|
+
* Address.
|
|
12
15
|
*
|
|
13
16
|
* @example
|
|
14
17
|
* ```ts
|
|
@@ -76,7 +79,11 @@ export type LockboxAddressesPage = Page<LockboxAddress>;
|
|
|
76
79
|
|
|
77
80
|
/**
|
|
78
81
|
* Lockbox Addresses are physical locations that can receive mail containing paper
|
|
79
|
-
* checks.
|
|
82
|
+
* checks. A Lockbox Address is not itself linked to an Account; Lockbox Recipients
|
|
83
|
+
* determine where checks received at the address are deposited. Lockbox Addresses
|
|
84
|
+
* are created with a `pending` status and a null `address`. Increase generates the
|
|
85
|
+
* mailing address shortly after creation, at which point the status becomes
|
|
86
|
+
* `active`.
|
|
80
87
|
*/
|
|
81
88
|
export interface LockboxAddress {
|
|
82
89
|
/**
|
|
@@ -156,7 +156,8 @@ export interface LockboxRecipientCreateParams {
|
|
|
156
156
|
account_id: string;
|
|
157
157
|
|
|
158
158
|
/**
|
|
159
|
-
* The Lockbox Address where this Lockbox Recipient may receive mail.
|
|
159
|
+
* The Lockbox Address where this Lockbox Recipient may receive mail. The Lockbox
|
|
160
|
+
* Address must have a `status` of `active`.
|
|
160
161
|
*/
|
|
161
162
|
lockbox_address_id: string;
|
|
162
163
|
|
|
@@ -100,7 +100,10 @@ export interface PendingTransaction {
|
|
|
100
100
|
|
|
101
101
|
/**
|
|
102
102
|
* The Pending Transaction amount in the minor unit of its currency. For dollars,
|
|
103
|
-
* for example, this is cents.
|
|
103
|
+
* for example, this is cents. This amount does not change after the Pending
|
|
104
|
+
* Transaction is created. If a card authorization settles for a different amount,
|
|
105
|
+
* the settled amount is available on the resulting Transaction and on the Card
|
|
106
|
+
* Payment's `state.settled_amount`.
|
|
104
107
|
*/
|
|
105
108
|
amount: number;
|
|
106
109
|
|
|
@@ -168,7 +171,9 @@ export interface PendingTransaction {
|
|
|
168
171
|
* - `pending` - The Pending Transaction is still awaiting confirmation.
|
|
169
172
|
* - `complete` - The Pending Transaction is confirmed. An associated Transaction
|
|
170
173
|
* exists for this object. The Pending Transaction will no longer count against
|
|
171
|
-
* your balance and can generally be hidden from UIs, etc.
|
|
174
|
+
* your balance and can generally be hidden from UIs, etc. The Pending
|
|
175
|
+
* Transaction's `amount` is not updated if the associated Transaction settles
|
|
176
|
+
* for a different amount.
|
|
172
177
|
*/
|
|
173
178
|
status: 'pending' | 'complete';
|
|
174
179
|
|
|
@@ -329,15 +329,18 @@ export namespace PhysicalCard {
|
|
|
329
329
|
* event.
|
|
330
330
|
* - `delivery_issue` - There is an issue preventing delivery. The delivery will be
|
|
331
331
|
* attempted again if possible. If the issue cannot be resolved, the physical
|
|
332
|
-
* card will be
|
|
333
|
-
* - `
|
|
334
|
-
*
|
|
332
|
+
* card will be rerouted to the return address.
|
|
333
|
+
* - `returning_to_sender` - The physical card has been rerouted to the return
|
|
334
|
+
* address.
|
|
335
|
+
* - `returned_to_sender` - The physical card has been delivered to the return
|
|
336
|
+
* address.
|
|
335
337
|
*/
|
|
336
338
|
category:
|
|
337
339
|
| 'in_transit'
|
|
338
340
|
| 'processed_for_delivery'
|
|
339
341
|
| 'delivered'
|
|
340
342
|
| 'delivery_issue'
|
|
343
|
+
| 'returning_to_sender'
|
|
341
344
|
| 'returned_to_sender';
|
|
342
345
|
|
|
343
346
|
/**
|
|
@@ -226,12 +226,12 @@ export interface RealTimePaymentsTransfer {
|
|
|
226
226
|
*
|
|
227
227
|
* - `pending_approval` - The transfer is pending approval.
|
|
228
228
|
* - `canceled` - The transfer has been canceled.
|
|
229
|
+
* - `pending_submission` - The transfer is queued to be submitted to Real-Time
|
|
230
|
+
* Payments.
|
|
229
231
|
* - `pending_reviewing` - The transfer is pending review by Increase.
|
|
230
232
|
* - `requires_attention` - The transfer requires attention from an Increase
|
|
231
233
|
* operator.
|
|
232
234
|
* - `rejected` - The transfer was rejected by the network or the recipient's bank.
|
|
233
|
-
* - `pending_submission` - The transfer is queued to be submitted to Real-Time
|
|
234
|
-
* Payments.
|
|
235
235
|
* - `submitted` - The transfer has been submitted and is pending a response from
|
|
236
236
|
* Real-Time Payments.
|
|
237
237
|
* - `complete` - The transfer has been sent successfully and is complete.
|
|
@@ -239,10 +239,10 @@ export interface RealTimePaymentsTransfer {
|
|
|
239
239
|
status:
|
|
240
240
|
| 'pending_approval'
|
|
241
241
|
| 'canceled'
|
|
242
|
+
| 'pending_submission'
|
|
242
243
|
| 'pending_reviewing'
|
|
243
244
|
| 'requires_attention'
|
|
244
245
|
| 'rejected'
|
|
245
|
-
| 'pending_submission'
|
|
246
246
|
| 'submitted'
|
|
247
247
|
| 'complete';
|
|
248
248
|
|
|
@@ -631,10 +631,10 @@ export namespace RealTimePaymentsTransferListParams {
|
|
|
631
631
|
in?: Array<
|
|
632
632
|
| 'pending_approval'
|
|
633
633
|
| 'canceled'
|
|
634
|
+
| 'pending_submission'
|
|
634
635
|
| 'pending_reviewing'
|
|
635
636
|
| 'requires_attention'
|
|
636
637
|
| 'rejected'
|
|
637
|
-
| 'pending_submission'
|
|
638
638
|
| 'submitted'
|
|
639
639
|
| 'complete'
|
|
640
640
|
>;
|
|
@@ -14,7 +14,10 @@ export class CardAuthorizations extends APIResource {
|
|
|
14
14
|
* `card_authorization` or a [Declined Transaction](#declined-transactions) of type
|
|
15
15
|
* `card_decline`. You can pass either a Card id or a
|
|
16
16
|
* [Digital Wallet Token](#digital-wallet-tokens) id to simulate the two different
|
|
17
|
-
* ways purchases can be made.
|
|
17
|
+
* ways purchases can be made. The response will contain either a
|
|
18
|
+
* `pending_transaction` or a `declined_transaction`; the other attribute will be
|
|
19
|
+
* null. If the authorization is declined, the reason is available on the Declined
|
|
20
|
+
* Transaction at `source.card_decline.reason`.
|
|
18
21
|
*
|
|
19
22
|
* @example
|
|
20
23
|
* ```ts
|