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.
Files changed (131) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/package.json +1 -1
  3. package/resources/accounts.d.mts +3 -2
  4. package/resources/accounts.d.mts.map +1 -1
  5. package/resources/accounts.d.ts +3 -2
  6. package/resources/accounts.d.ts.map +1 -1
  7. package/resources/ach-transfers.d.mts +47 -31
  8. package/resources/ach-transfers.d.mts.map +1 -1
  9. package/resources/ach-transfers.d.ts +47 -31
  10. package/resources/ach-transfers.d.ts.map +1 -1
  11. package/resources/beneficial-owners.d.mts +6 -3
  12. package/resources/beneficial-owners.d.mts.map +1 -1
  13. package/resources/beneficial-owners.d.ts +6 -3
  14. package/resources/beneficial-owners.d.ts.map +1 -1
  15. package/resources/card-push-transfers.d.mts +4 -4
  16. package/resources/card-push-transfers.d.mts.map +1 -1
  17. package/resources/card-push-transfers.d.ts +4 -4
  18. package/resources/card-push-transfers.d.ts.map +1 -1
  19. package/resources/check-transfers.d.mts +7 -5
  20. package/resources/check-transfers.d.mts.map +1 -1
  21. package/resources/check-transfers.d.ts +7 -5
  22. package/resources/check-transfers.d.ts.map +1 -1
  23. package/resources/entities.d.mts +28 -16
  24. package/resources/entities.d.mts.map +1 -1
  25. package/resources/entities.d.ts +28 -16
  26. package/resources/entities.d.ts.map +1 -1
  27. package/resources/fednow-transfers.d.mts +3 -3
  28. package/resources/fednow-transfers.d.mts.map +1 -1
  29. package/resources/fednow-transfers.d.ts +3 -3
  30. package/resources/fednow-transfers.d.ts.map +1 -1
  31. package/resources/inbound-mail-items.d.mts +6 -2
  32. package/resources/inbound-mail-items.d.mts.map +1 -1
  33. package/resources/inbound-mail-items.d.ts +6 -2
  34. package/resources/inbound-mail-items.d.ts.map +1 -1
  35. package/resources/inbound-mail-items.js +3 -1
  36. package/resources/inbound-mail-items.js.map +1 -1
  37. package/resources/inbound-mail-items.mjs +3 -1
  38. package/resources/inbound-mail-items.mjs.map +1 -1
  39. package/resources/inbound-real-time-payments-transfers.d.mts +2 -1
  40. package/resources/inbound-real-time-payments-transfers.d.mts.map +1 -1
  41. package/resources/inbound-real-time-payments-transfers.d.ts +2 -1
  42. package/resources/inbound-real-time-payments-transfers.d.ts.map +1 -1
  43. package/resources/lockbox-addresses.d.mts +9 -2
  44. package/resources/lockbox-addresses.d.mts.map +1 -1
  45. package/resources/lockbox-addresses.d.ts +9 -2
  46. package/resources/lockbox-addresses.d.ts.map +1 -1
  47. package/resources/lockbox-addresses.js +4 -1
  48. package/resources/lockbox-addresses.js.map +1 -1
  49. package/resources/lockbox-addresses.mjs +4 -1
  50. package/resources/lockbox-addresses.mjs.map +1 -1
  51. package/resources/lockbox-recipients.d.mts +2 -1
  52. package/resources/lockbox-recipients.d.mts.map +1 -1
  53. package/resources/lockbox-recipients.d.ts +2 -1
  54. package/resources/lockbox-recipients.d.ts.map +1 -1
  55. package/resources/pending-transactions.d.mts +7 -2
  56. package/resources/pending-transactions.d.mts.map +1 -1
  57. package/resources/pending-transactions.d.ts +7 -2
  58. package/resources/pending-transactions.d.ts.map +1 -1
  59. package/resources/physical-cards.d.mts +6 -4
  60. package/resources/physical-cards.d.mts.map +1 -1
  61. package/resources/physical-cards.d.ts +6 -4
  62. package/resources/physical-cards.d.ts.map +1 -1
  63. package/resources/real-time-payments-transfers.d.mts +4 -4
  64. package/resources/real-time-payments-transfers.d.mts.map +1 -1
  65. package/resources/real-time-payments-transfers.d.ts +4 -4
  66. package/resources/real-time-payments-transfers.d.ts.map +1 -1
  67. package/resources/simulations/card-authorizations.d.mts +4 -1
  68. package/resources/simulations/card-authorizations.d.mts.map +1 -1
  69. package/resources/simulations/card-authorizations.d.ts +4 -1
  70. package/resources/simulations/card-authorizations.d.ts.map +1 -1
  71. package/resources/simulations/card-authorizations.js +4 -1
  72. package/resources/simulations/card-authorizations.js.map +1 -1
  73. package/resources/simulations/card-authorizations.mjs +4 -1
  74. package/resources/simulations/card-authorizations.mjs.map +1 -1
  75. package/resources/simulations/inbound-ach-transfers.d.mts +2 -1
  76. package/resources/simulations/inbound-ach-transfers.d.mts.map +1 -1
  77. package/resources/simulations/inbound-ach-transfers.d.ts +2 -1
  78. package/resources/simulations/inbound-ach-transfers.d.ts.map +1 -1
  79. package/resources/simulations/inbound-mail-items.d.mts +8 -3
  80. package/resources/simulations/inbound-mail-items.d.mts.map +1 -1
  81. package/resources/simulations/inbound-mail-items.d.ts +8 -3
  82. package/resources/simulations/inbound-mail-items.d.ts.map +1 -1
  83. package/resources/simulations/inbound-mail-items.js +4 -1
  84. package/resources/simulations/inbound-mail-items.js.map +1 -1
  85. package/resources/simulations/inbound-mail-items.mjs +4 -1
  86. package/resources/simulations/inbound-mail-items.mjs.map +1 -1
  87. package/resources/simulations/physical-cards.d.mts +6 -4
  88. package/resources/simulations/physical-cards.d.mts.map +1 -1
  89. package/resources/simulations/physical-cards.d.ts +6 -4
  90. package/resources/simulations/physical-cards.d.ts.map +1 -1
  91. package/resources/supplemental-documents.d.mts +1 -1
  92. package/resources/supplemental-documents.d.ts +1 -1
  93. package/resources/swift-transfers.d.mts +3 -3
  94. package/resources/swift-transfers.d.mts.map +1 -1
  95. package/resources/swift-transfers.d.ts +3 -3
  96. package/resources/swift-transfers.d.ts.map +1 -1
  97. package/resources/transactions.d.mts +6 -3
  98. package/resources/transactions.d.mts.map +1 -1
  99. package/resources/transactions.d.ts +6 -3
  100. package/resources/transactions.d.ts.map +1 -1
  101. package/resources/wire-transfers.d.mts +3 -3
  102. package/resources/wire-transfers.d.mts.map +1 -1
  103. package/resources/wire-transfers.d.ts +3 -3
  104. package/resources/wire-transfers.d.ts.map +1 -1
  105. package/src/resources/accounts.ts +3 -2
  106. package/src/resources/ach-transfers.ts +47 -31
  107. package/src/resources/beneficial-owners.ts +6 -3
  108. package/src/resources/card-push-transfers.ts +4 -4
  109. package/src/resources/check-transfers.ts +7 -2
  110. package/src/resources/entities.ts +28 -16
  111. package/src/resources/fednow-transfers.ts +3 -3
  112. package/src/resources/inbound-mail-items.ts +6 -2
  113. package/src/resources/inbound-real-time-payments-transfers.ts +2 -1
  114. package/src/resources/lockbox-addresses.ts +9 -2
  115. package/src/resources/lockbox-recipients.ts +2 -1
  116. package/src/resources/pending-transactions.ts +7 -2
  117. package/src/resources/physical-cards.ts +6 -3
  118. package/src/resources/real-time-payments-transfers.ts +4 -4
  119. package/src/resources/simulations/card-authorizations.ts +4 -1
  120. package/src/resources/simulations/inbound-ach-transfers.ts +2 -1
  121. package/src/resources/simulations/inbound-mail-items.ts +8 -3
  122. package/src/resources/simulations/physical-cards.ts +12 -4
  123. package/src/resources/supplemental-documents.ts +1 -1
  124. package/src/resources/swift-transfers.ts +3 -3
  125. package/src/resources/transactions.ts +6 -3
  126. package/src/resources/wire-transfers.ts +3 -3
  127. package/src/version.ts +1 -1
  128. package/version.d.mts +1 -1
  129. package/version.d.ts +1 -1
  130. package/version.js +1 -1
  131. package/version.mjs +1 -1
@@ -102,7 +102,7 @@ export interface ACHTransfer {
102
102
  account_id: string;
103
103
 
104
104
  /**
105
- * The destination account number.
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 to which the ACH Transfer is being
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 account to which the transfer will be sent.
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 is complete.
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.000.00.
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 for the destination account.
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 that will be sent to the recipient. This is included in
1094
- * the transfer data sent to the receiving bank.
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
- * The description of the date of the transfer, usually in the format `YYMMDD`.
1100
- * This is included in the transfer data sent to the receiving bank.
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
- * The data you choose to associate with the transfer. This is included in the
1106
- * transfer data sent to the receiving bank.
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 of the transfer, included in the transfer data sent to the
1112
- * receiving bank. Standardized formatting may be required, for example `PAYROLL`
1113
- * for payroll-related Prearranged Payments and Deposits (PPD) credit transfers.
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. This is included in the transfer data
1119
- * sent to the receiving bank.
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 to which the ACH Transfer is being
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 account to which the transfer will be sent.
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) for the
1175
- * destination account.
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 that will be sent to the recipient. This is included in
1217
- * the transfer data sent to the receiving bank.
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.000.00.
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 returned to sender.
599
- * - `returned_to_sender` - Delivery failed and the check was returned to sender.
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, partnerships, government authorities, or trusts. To learn more,
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 identifier of the legal identifier.
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 digits
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 identifier of the legal identifier. For US Employer Identification Numbers,
2923
- * submit nine digits with no dashes or other separators.
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
- * Action an Inbound Mail Item
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
- * Create a Lockbox Address
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 returned to sender.
333
- * - `returned_to_sender` - Delivery failed and the physical card was returned to
334
- * sender.
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