increase 0.10.2 → 0.10.4

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 (281) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/README.md +4 -0
  3. package/_shims/{ReadableStream.node.d.ts → ReadableStream-node.d.ts} +1 -1
  4. package/_shims/ReadableStream-node.d.ts.map +1 -0
  5. package/_shims/{ReadableStream.node.js → ReadableStream-node.js} +1 -1
  6. package/_shims/ReadableStream-node.js.map +1 -0
  7. package/_shims/{ReadableStream.node.mjs → ReadableStream-node.mjs} +1 -1
  8. package/_shims/ReadableStream-node.mjs.map +1 -0
  9. package/_shims/{agent.node.d.ts → agent-node.d.ts} +1 -1
  10. package/_shims/agent-node.d.ts.map +1 -0
  11. package/_shims/{agent.node.js → agent-node.js} +1 -1
  12. package/_shims/{agent.node.js.map → agent-node.js.map} +1 -1
  13. package/_shims/{agent.node.mjs → agent-node.mjs} +1 -1
  14. package/_shims/{agent.node.mjs.map → agent-node.mjs.map} +1 -1
  15. package/_shims/agent.d.ts +1 -1
  16. package/_shims/agent.js +1 -1
  17. package/_shims/agent.mjs +1 -1
  18. package/_shims/{fileFromPath.node.d.ts → fileFromPath-node.d.ts} +2 -2
  19. package/_shims/{fileFromPath.node.d.ts.map → fileFromPath-node.d.ts.map} +1 -1
  20. package/_shims/{fileFromPath.node.js → fileFromPath-node.js} +1 -1
  21. package/_shims/{fileFromPath.node.js.map → fileFromPath-node.js.map} +1 -1
  22. package/_shims/{fileFromPath.node.mjs → fileFromPath-node.mjs} +1 -1
  23. package/_shims/{fileFromPath.node.mjs.map → fileFromPath-node.mjs.map} +1 -1
  24. package/_shims/fileFromPath.d.ts +2 -2
  25. package/_shims/fileFromPath.d.ts.map +1 -1
  26. package/_shims/fileFromPath.js +1 -1
  27. package/_shims/fileFromPath.mjs +1 -1
  28. package/_shims/{getMultipartRequestOptions.node.d.ts → getMultipartRequestOptions-node.d.ts} +2 -2
  29. package/_shims/getMultipartRequestOptions-node.d.ts.map +1 -0
  30. package/_shims/{getMultipartRequestOptions.node.js → getMultipartRequestOptions-node.js} +1 -1
  31. package/_shims/{getMultipartRequestOptions.node.js.map → getMultipartRequestOptions-node.js.map} +1 -1
  32. package/_shims/{getMultipartRequestOptions.node.mjs → getMultipartRequestOptions-node.mjs} +1 -1
  33. package/_shims/{getMultipartRequestOptions.node.mjs.map → getMultipartRequestOptions-node.mjs.map} +1 -1
  34. package/_shims/getMultipartRequestOptions.d.ts +1 -1
  35. package/_shims/getMultipartRequestOptions.d.ts.map +1 -1
  36. package/_shims/{node-readable.node.d.ts → node-readable-node.d.ts} +1 -1
  37. package/_shims/{node-readable.node.d.ts.map → node-readable-node.d.ts.map} +1 -1
  38. package/_shims/{node-readable.node.js → node-readable-node.js} +1 -1
  39. package/_shims/node-readable-node.js.map +1 -0
  40. package/_shims/{node-readable.node.mjs → node-readable-node.mjs} +1 -1
  41. package/_shims/node-readable-node.mjs.map +1 -0
  42. package/core.d.ts +3 -2
  43. package/core.d.ts.map +1 -1
  44. package/core.js +3 -1
  45. package/core.js.map +1 -1
  46. package/core.mjs +1 -1
  47. package/core.mjs.map +1 -1
  48. package/error.d.ts +1 -1
  49. package/error.d.ts.map +1 -1
  50. package/error.js +2 -2
  51. package/error.js.map +1 -1
  52. package/error.mjs +2 -2
  53. package/error.mjs.map +1 -1
  54. package/index.d.mts +2 -5
  55. package/index.d.ts +2 -5
  56. package/index.d.ts.map +1 -1
  57. package/index.js +3 -6
  58. package/index.js.map +1 -1
  59. package/index.mjs +3 -6
  60. package/index.mjs.map +1 -1
  61. package/package.json +9 -4
  62. package/pagination.d.ts +1 -1
  63. package/resources/ach-prenotifications.d.ts +219 -3
  64. package/resources/ach-prenotifications.d.ts.map +1 -1
  65. package/resources/ach-prenotifications.js.map +1 -1
  66. package/resources/ach-prenotifications.mjs.map +1 -1
  67. package/resources/ach-transfers.d.ts +14 -9
  68. package/resources/ach-transfers.d.ts.map +1 -1
  69. package/resources/ach-transfers.js.map +1 -1
  70. package/resources/ach-transfers.mjs.map +1 -1
  71. package/resources/bookkeeping-entry-sets.d.ts +1 -1
  72. package/resources/card-profiles.d.ts +1 -1
  73. package/resources/card-purchase-supplements.d.ts +2 -2
  74. package/resources/check-deposits.d.ts +3 -0
  75. package/resources/check-deposits.d.ts.map +1 -1
  76. package/resources/check-deposits.js.map +1 -1
  77. package/resources/check-deposits.mjs.map +1 -1
  78. package/resources/check-transfers.d.ts +6 -0
  79. package/resources/check-transfers.d.ts.map +1 -1
  80. package/resources/check-transfers.js.map +1 -1
  81. package/resources/check-transfers.mjs.map +1 -1
  82. package/resources/declined-transactions.d.ts +282 -19
  83. package/resources/declined-transactions.d.ts.map +1 -1
  84. package/resources/declined-transactions.js.map +1 -1
  85. package/resources/declined-transactions.mjs.map +1 -1
  86. package/resources/digital-wallet-tokens.d.ts +2 -1
  87. package/resources/digital-wallet-tokens.d.ts.map +1 -1
  88. package/resources/digital-wallet-tokens.js.map +1 -1
  89. package/resources/digital-wallet-tokens.mjs.map +1 -1
  90. package/resources/entities/beneficial-owners.d.ts +51 -0
  91. package/resources/entities/beneficial-owners.d.ts.map +1 -1
  92. package/resources/entities/beneficial-owners.js +6 -0
  93. package/resources/entities/beneficial-owners.js.map +1 -1
  94. package/resources/entities/beneficial-owners.mjs +6 -0
  95. package/resources/entities/beneficial-owners.mjs.map +1 -1
  96. package/resources/entities/entities.d.ts +45 -1
  97. package/resources/entities/entities.d.ts.map +1 -1
  98. package/resources/entities/entities.js +6 -0
  99. package/resources/entities/entities.js.map +1 -1
  100. package/resources/entities/entities.mjs +6 -0
  101. package/resources/entities/entities.mjs.map +1 -1
  102. package/resources/entities/index.d.ts +9 -1
  103. package/resources/entities/index.d.ts.map +1 -1
  104. package/resources/entities/index.js.map +1 -1
  105. package/resources/entities/index.mjs.map +1 -1
  106. package/resources/external-accounts.d.ts +4 -0
  107. package/resources/external-accounts.d.ts.map +1 -1
  108. package/resources/external-accounts.js.map +1 -1
  109. package/resources/external-accounts.mjs.map +1 -1
  110. package/resources/inbound-ach-transfers.d.ts +57 -9
  111. package/resources/inbound-ach-transfers.d.ts.map +1 -1
  112. package/resources/inbound-ach-transfers.js +11 -2
  113. package/resources/inbound-ach-transfers.js.map +1 -1
  114. package/resources/inbound-ach-transfers.mjs +11 -2
  115. package/resources/inbound-ach-transfers.mjs.map +1 -1
  116. package/resources/index.d.ts +9 -7
  117. package/resources/index.d.ts.map +1 -1
  118. package/resources/index.js +0 -15
  119. package/resources/index.js.map +1 -1
  120. package/resources/index.mjs +0 -1
  121. package/resources/index.mjs.map +1 -1
  122. package/resources/pending-transactions.d.ts +19 -6
  123. package/resources/pending-transactions.d.ts.map +1 -1
  124. package/resources/pending-transactions.js.map +1 -1
  125. package/resources/pending-transactions.mjs.map +1 -1
  126. package/resources/real-time-decisions.d.ts +16 -9
  127. package/resources/real-time-decisions.d.ts.map +1 -1
  128. package/resources/real-time-decisions.js.map +1 -1
  129. package/resources/real-time-decisions.mjs.map +1 -1
  130. package/resources/simulations/ach-transfers.d.ts +686 -35
  131. package/resources/simulations/ach-transfers.d.ts.map +1 -1
  132. package/resources/simulations/ach-transfers.js.map +1 -1
  133. package/resources/simulations/ach-transfers.mjs.map +1 -1
  134. package/resources/simulations/cards.d.ts +301 -25
  135. package/resources/simulations/cards.d.ts.map +1 -1
  136. package/resources/simulations/cards.js.map +1 -1
  137. package/resources/simulations/cards.mjs.map +1 -1
  138. package/resources/simulations/interest-payments.d.ts +402 -14
  139. package/resources/simulations/interest-payments.d.ts.map +1 -1
  140. package/resources/simulations/interest-payments.js.map +1 -1
  141. package/resources/simulations/interest-payments.mjs.map +1 -1
  142. package/resources/simulations/real-time-payments-transfers.d.ts +684 -33
  143. package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
  144. package/resources/simulations/real-time-payments-transfers.js.map +1 -1
  145. package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
  146. package/resources/simulations/wire-transfers.d.ts +402 -14
  147. package/resources/simulations/wire-transfers.d.ts.map +1 -1
  148. package/resources/simulations/wire-transfers.js.map +1 -1
  149. package/resources/simulations/wire-transfers.mjs.map +1 -1
  150. package/resources/transactions.d.ts +402 -14
  151. package/resources/transactions.d.ts.map +1 -1
  152. package/resources/transactions.js.map +1 -1
  153. package/resources/transactions.mjs.map +1 -1
  154. package/resources/wire-transfers.d.ts +7 -5
  155. package/resources/wire-transfers.d.ts.map +1 -1
  156. package/resources/wire-transfers.js +1 -1
  157. package/resources/wire-transfers.js.map +1 -1
  158. package/resources/wire-transfers.mjs +1 -1
  159. package/resources/wire-transfers.mjs.map +1 -1
  160. package/src/_shims/ReadableStream.d.ts +5 -5
  161. package/src/_shims/agent.ts +1 -1
  162. package/src/_shims/{fetch.node.d.ts → fetch-node.d.ts} +8 -8
  163. package/src/_shims/fetch.d.ts +10 -10
  164. package/src/_shims/{fileFromPath.node.ts → fileFromPath-node.ts} +1 -1
  165. package/src/_shims/fileFromPath.ts +2 -2
  166. package/src/_shims/{formdata.node.d.ts → form-data-node.d.ts} +4 -4
  167. package/src/_shims/{formdata.d.ts → form-data.d.ts} +4 -4
  168. package/src/_shims/{getMultipartRequestOptions.node.ts → getMultipartRequestOptions-node.ts} +3 -3
  169. package/src/_shims/getMultipartRequestOptions.ts +3 -3
  170. package/src/core.ts +12 -11
  171. package/src/error.ts +3 -3
  172. package/src/index.ts +9 -13
  173. package/src/pagination.ts +2 -2
  174. package/src/resource.ts +1 -1
  175. package/src/resources/account-numbers.ts +5 -5
  176. package/src/resources/account-statements.ts +5 -5
  177. package/src/resources/account-transfers.ts +5 -5
  178. package/src/resources/accounts.ts +5 -5
  179. package/src/resources/ach-prenotifications.ts +224 -8
  180. package/src/resources/ach-transfers.ts +19 -14
  181. package/src/resources/balance-lookups.ts +3 -3
  182. package/src/resources/bookkeeping-accounts.ts +5 -5
  183. package/src/resources/bookkeeping-entries.ts +5 -5
  184. package/src/resources/bookkeeping-entry-sets.ts +4 -4
  185. package/src/resources/card-disputes.ts +5 -5
  186. package/src/resources/card-profiles.ts +6 -6
  187. package/src/resources/card-purchase-supplements.ts +7 -7
  188. package/src/resources/cards.ts +5 -5
  189. package/src/resources/check-deposits.ts +8 -5
  190. package/src/resources/check-transfers.ts +12 -5
  191. package/src/resources/declined-transactions.ts +287 -24
  192. package/src/resources/digital-wallet-tokens.ts +7 -6
  193. package/src/resources/documents.ts +5 -5
  194. package/src/resources/entities/beneficial-owners.ts +66 -4
  195. package/src/resources/entities/entities.ts +61 -8
  196. package/src/resources/entities/index.ts +11 -3
  197. package/src/resources/entities/supplemental-documents.ts +5 -5
  198. package/src/resources/event-subscriptions.ts +5 -5
  199. package/src/resources/events.ts +5 -5
  200. package/src/resources/exports.ts +5 -5
  201. package/src/resources/external-accounts.ts +10 -5
  202. package/src/resources/files.ts +6 -6
  203. package/src/resources/groups.ts +3 -3
  204. package/src/resources/inbound-ach-transfers.ts +75 -15
  205. package/src/resources/inbound-wire-drawdown-requests.ts +5 -5
  206. package/src/resources/index.ts +54 -45
  207. package/src/resources/limits.ts +5 -5
  208. package/src/resources/oauth-connections.ts +5 -5
  209. package/src/resources/pending-transactions.ts +24 -11
  210. package/src/resources/programs.ts +5 -5
  211. package/src/resources/real-time-decisions.ts +20 -12
  212. package/src/resources/real-time-payments-transfers.ts +5 -5
  213. package/src/resources/routing-numbers.ts +4 -4
  214. package/src/resources/simulations/account-statements.ts +4 -4
  215. package/src/resources/simulations/account-transfers.ts +3 -3
  216. package/src/resources/simulations/ach-transfers.ts +699 -41
  217. package/src/resources/simulations/card-disputes.ts +4 -4
  218. package/src/resources/simulations/card-profiles.ts +3 -3
  219. package/src/resources/simulations/card-refunds.ts +4 -4
  220. package/src/resources/simulations/cards.ts +306 -30
  221. package/src/resources/simulations/check-deposits.ts +3 -3
  222. package/src/resources/simulations/check-transfers.ts +3 -3
  223. package/src/resources/simulations/digital-wallet-token-requests.ts +3 -3
  224. package/src/resources/simulations/documents.ts +4 -4
  225. package/src/resources/simulations/inbound-funds-holds.ts +3 -3
  226. package/src/resources/simulations/inbound-wire-drawdown-requests.ts +4 -4
  227. package/src/resources/simulations/index.ts +18 -18
  228. package/src/resources/simulations/interest-payments.ts +413 -18
  229. package/src/resources/simulations/programs.ts +4 -4
  230. package/src/resources/simulations/real-time-payments-transfers.ts +697 -39
  231. package/src/resources/simulations/simulations.ts +19 -19
  232. package/src/resources/simulations/wire-transfers.ts +413 -18
  233. package/src/resources/transactions.ts +415 -20
  234. package/src/resources/wire-drawdown-requests.ts +5 -5
  235. package/src/resources/wire-transfers.ts +12 -10
  236. package/src/tsconfig.json +11 -0
  237. package/src/uploads.ts +6 -6
  238. package/src/version.ts +1 -1
  239. package/uploads.d.ts +1 -1
  240. package/uploads.d.ts.map +1 -1
  241. package/uploads.js +4 -4
  242. package/uploads.js.map +1 -1
  243. package/uploads.mjs +1 -1
  244. package/uploads.mjs.map +1 -1
  245. package/version.d.ts +1 -1
  246. package/version.js +1 -1
  247. package/version.mjs +1 -1
  248. package/_shims/ReadableStream.node.d.ts.map +0 -1
  249. package/_shims/ReadableStream.node.js.map +0 -1
  250. package/_shims/ReadableStream.node.mjs.map +0 -1
  251. package/_shims/agent.node.d.ts.map +0 -1
  252. package/_shims/getMultipartRequestOptions.node.d.ts.map +0 -1
  253. package/_shims/node-readable.node.js.map +0 -1
  254. package/_shims/node-readable.node.mjs.map +0 -1
  255. package/resources/inbound-ach-transfer-returns.d.ts +0 -115
  256. package/resources/inbound-ach-transfer-returns.d.ts.map +0 -1
  257. package/resources/inbound-ach-transfer-returns.js +0 -31
  258. package/resources/inbound-ach-transfer-returns.js.map +0 -1
  259. package/resources/inbound-ach-transfer-returns.mjs +0 -24
  260. package/resources/inbound-ach-transfer-returns.mjs.map +0 -1
  261. package/src/_shims/fetch.deno.ts +0 -23
  262. package/src/_shims/formdata.deno.ts +0 -16
  263. package/src/resources/inbound-ach-transfer-returns.ts +0 -145
  264. /package/_shims/{fetch.node.d.ts → fetch-node.d.ts} +0 -0
  265. /package/_shims/{fetch.node.js → fetch-node.js} +0 -0
  266. /package/_shims/{fetch.node.mjs → fetch-node.mjs} +0 -0
  267. /package/_shims/{formdata.node.d.ts → form-data-node.d.ts} +0 -0
  268. /package/_shims/{formdata.node.js → form-data-node.js} +0 -0
  269. /package/_shims/{formdata.node.mjs → form-data-node.mjs} +0 -0
  270. /package/_shims/{formdata.d.ts → form-data.d.ts} +0 -0
  271. /package/_shims/{formdata.js → form-data.js} +0 -0
  272. /package/_shims/{formdata.mjs → form-data.mjs} +0 -0
  273. /package/src/_shims/{ReadableStream.node.ts → ReadableStream-node.ts} +0 -0
  274. /package/src/_shims/{agent.node.ts → agent-node.ts} +0 -0
  275. /package/src/_shims/{fetch.node.js → fetch-node.js} +0 -0
  276. /package/src/_shims/{fetch.node.mjs → fetch-node.mjs} +0 -0
  277. /package/src/_shims/{formdata.node.js → form-data-node.js} +0 -0
  278. /package/src/_shims/{formdata.node.mjs → form-data-node.mjs} +0 -0
  279. /package/src/_shims/{formdata.js → form-data.js} +0 -0
  280. /package/src/_shims/{formdata.mjs → form-data.mjs} +0 -0
  281. /package/src/_shims/{node-readable.node.ts → node-readable-node.ts} +0 -0
@@ -218,16 +218,22 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
218
218
  *
219
219
  * - `ach_route_canceled` - The account number is canceled.
220
220
  * - `ach_route_disabled` - The account number is disabled.
221
- * - `breaches_limit` - The transaction would cause a limit to be exceeded.
222
- * - `credit_entry_refused_by_receiver` - A credit was refused.
223
- * - `duplicate_return` - Other.
221
+ * - `breaches_limit` - The transaction would cause an Increase limit to be
222
+ * exceeded.
223
+ * - `credit_entry_refused_by_receiver` - A credit was refused. This is a
224
+ * reasonable default reason for decline of credits.
225
+ * - `duplicate_return` - A rare return reason. The return this message refers to
226
+ * was a duplicate.
224
227
  * - `entity_not_active` - The account's entity is not active.
225
228
  * - `group_locked` - Your account is inactive.
226
229
  * - `insufficient_funds` - Your account contains insufficient funds.
227
- * - `misrouted_return` - Other.
228
- * - `return_of_erroneous_or_reversing_debit` - Other.
230
+ * - `misrouted_return` - A rare return reason. The return this message refers to
231
+ * was misrouted.
232
+ * - `return_of_erroneous_or_reversing_debit` - The originating financial
233
+ * institution made a mistake and this return corrects it.
229
234
  * - `no_ach_route` - The account number that was debited does not exist.
230
- * - `originator_request` - Other.
235
+ * - `originator_request` - The originating financial institution asked for this
236
+ * transfer to be returned.
231
237
  * - `transaction_not_allowed` - The transaction is not allowed per Increase's
232
238
  * terms.
233
239
  * - `user_initiated` - The user initiated the decline.
@@ -288,8 +294,8 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
288
294
  */
289
295
  currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
290
296
  /**
291
- * If the authorization was attempted using a Digital Wallet Token (such as an
292
- * Apple Pay purchase), the identifier of the token that was used.
297
+ * If the authorization was made via a Digital Wallet Token (such as an Apple Pay
298
+ * purchase), the identifier of the token that was used.
293
299
  */
294
300
  digital_wallet_token_id: string | null;
295
301
  /**
@@ -319,7 +325,7 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
319
325
  */
320
326
  merchant_state: string | null;
321
327
  /**
322
- * Fields specific to the `network`
328
+ * Fields specific to the `network`.
323
329
  */
324
330
  network_details: CardDecline.NetworkDetails;
325
331
  /**
@@ -374,23 +380,23 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
374
380
  }
375
381
  namespace CardDecline {
376
382
  /**
377
- * Fields specific to the `network`
383
+ * Fields specific to the `network`.
378
384
  */
379
385
  interface NetworkDetails {
380
386
  /**
381
- * The payment network used to process this card authorization
387
+ * The payment network used to process this card authorization.
382
388
  *
383
389
  * - `visa` - Visa
384
390
  */
385
391
  category: 'visa';
386
392
  /**
387
- * Fields specific to the `visa` network
393
+ * Fields specific to the `visa` network.
388
394
  */
389
395
  visa: NetworkDetails.Visa | null;
390
396
  }
391
397
  namespace NetworkDetails {
392
398
  /**
393
- * Fields specific to the `visa` network
399
+ * Fields specific to the `visa` network.
394
400
  */
395
401
  interface Visa {
396
402
  /**
@@ -440,7 +446,7 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
440
446
  | null;
441
447
  /**
442
448
  * The method used to enter the cardholder's primary account number and card
443
- * expiration date
449
+ * expiration date.
444
450
  *
445
451
  * - `unknown` - Unknown
446
452
  * - `manual` - Manual key entry
@@ -481,6 +487,11 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
481
487
  * dollars, for example, this is cents.
482
488
  */
483
489
  amount: number;
490
+ /**
491
+ * A computer-readable number printed on the MICR line of business checks, usually
492
+ * the check number. This is useful for positive pay checks, but can be unreliably
493
+ * transmitted by the bank of first deposit.
494
+ */
484
495
  auxiliary_on_us: string | null;
485
496
  /**
486
497
  * Why the check was declined.
@@ -595,40 +606,245 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
595
606
  * dollars, for example, this is cents.
596
607
  */
597
608
  amount: number;
609
+ /**
610
+ * The [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2), Alpha-2
611
+ * country code of the destination country.
612
+ */
598
613
  destination_country_code: string;
614
+ /**
615
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code for the
616
+ * destination bank account.
617
+ */
599
618
  destination_currency_code: string;
600
- foreign_exchange_indicator: string;
619
+ /**
620
+ * A description of how the foreign exchange rate was calculated.
621
+ *
622
+ * - `fixed_to_variable` - The originator chose an amount in their own currency.
623
+ * The settled amount in USD was converted using the exchange rate.
624
+ * - `variable_to_fixed` - The originator chose an amount to settle in USD. The
625
+ * originator's amount was variable; known only after the foreign exchange
626
+ * conversion.
627
+ * - `fixed_to_fixed` - The amount was originated and settled as a fixed amount in
628
+ * USD. There is no foreign exchange conversion.
629
+ */
630
+ foreign_exchange_indicator: 'fixed_to_variable' | 'variable_to_fixed' | 'fixed_to_fixed';
631
+ /**
632
+ * Depending on the `foreign_exchange_reference_indicator`, an exchange rate or a
633
+ * reference to a well-known rate.
634
+ */
601
635
  foreign_exchange_reference: string | null;
602
- foreign_exchange_reference_indicator: string;
636
+ /**
637
+ * An instruction of how to interpret the `foreign_exchange_reference` field for
638
+ * this Transaction.
639
+ *
640
+ * - `foreign_exchange_rate` - The ACH file contains a foreign exchange rate.
641
+ * - `foreign_exchange_reference_number` - The ACH file contains a reference to a
642
+ * well-known foreign exchange rate.
643
+ * - `blank` - There is no foreign exchange for this transfer, so the
644
+ * `foreign_exchange_reference` field is blank.
645
+ */
646
+ foreign_exchange_reference_indicator:
647
+ | 'foreign_exchange_rate'
648
+ | 'foreign_exchange_reference_number'
649
+ | 'blank';
650
+ /**
651
+ * The amount in the minor unit of the foreign payment currency. For dollars, for
652
+ * example, this is cents.
653
+ */
603
654
  foreign_payment_amount: number;
655
+ /**
656
+ * A reference number in the foreign banking infrastructure.
657
+ */
604
658
  foreign_trace_number: string | null;
605
- international_transaction_type_code: string;
659
+ /**
660
+ * The type of transfer. Set by the originator.
661
+ *
662
+ * - `annuity` - Sent as `ANN` in the Nacha file.
663
+ * - `business_or_commercial` - Sent as `BUS` in the Nacha file.
664
+ * - `deposit` - Sent as `DEP` in the Nacha file.
665
+ * - `loan` - Sent as `LOA` in the Nacha file.
666
+ * - `miscellaneous` - Sent as `MIS` in the Nacha file.
667
+ * - `mortgage` - Sent as `MOR` in the Nacha file.
668
+ * - `pension` - Sent as `PEN` in the Nacha file.
669
+ * - `remittance` - Sent as `REM` in the Nacha file.
670
+ * - `rent_or_lease` - Sent as `RLS` in the Nacha file.
671
+ * - `salary_or_payroll` - Sent as `SAL` in the Nacha file.
672
+ * - `tax` - Sent as `TAX` in the Nacha file.
673
+ * - `accounts_receivable` - Sent as `ARC` in the Nacha file.
674
+ * - `back_office_conversion` - Sent as `BOC` in the Nacha file.
675
+ * - `machine_transfer` - Sent as `MTE` in the Nacha file.
676
+ * - `point_of_purchase` - Sent as `POP` in the Nacha file.
677
+ * - `point_of_sale` - Sent as `POS` in the Nacha file.
678
+ * - `represented_check` - Sent as `RCK` in the Nacha file.
679
+ * - `shared_network_transaction` - Sent as `SHR` in the Nacha file.
680
+ * - `telphone_initiated` - Sent as `TEL` in the Nacha file.
681
+ * - `internet_initiated` - Sent as `WEB` in the Nacha file.
682
+ */
683
+ international_transaction_type_code:
684
+ | 'annuity'
685
+ | 'business_or_commercial'
686
+ | 'deposit'
687
+ | 'loan'
688
+ | 'miscellaneous'
689
+ | 'mortgage'
690
+ | 'pension'
691
+ | 'remittance'
692
+ | 'rent_or_lease'
693
+ | 'salary_or_payroll'
694
+ | 'tax'
695
+ | 'accounts_receivable'
696
+ | 'back_office_conversion'
697
+ | 'machine_transfer'
698
+ | 'point_of_purchase'
699
+ | 'point_of_sale'
700
+ | 'represented_check'
701
+ | 'shared_network_transaction'
702
+ | 'telphone_initiated'
703
+ | 'internet_initiated';
704
+ /**
705
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code for the
706
+ * originating bank account.
707
+ */
606
708
  originating_currency_code: string;
709
+ /**
710
+ * The [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2), Alpha-2
711
+ * country code of the originating branch country.
712
+ */
607
713
  originating_depository_financial_institution_branch_country: string;
714
+ /**
715
+ * An identifier for the originating bank. One of an International Bank Account
716
+ * Number (IBAN) bank identifier, SWIFT Bank Identification Code (BIC), or a
717
+ * domestic identifier like a US Routing Number.
718
+ */
608
719
  originating_depository_financial_institution_id: string;
609
- originating_depository_financial_institution_id_qualifier: string;
720
+ /**
721
+ * An instruction of how to interpret the
722
+ * `originating_depository_financial_institution_id` field for this Transaction.
723
+ *
724
+ * - `national_clearing_system_number` - A domestic clearing system number. In the
725
+ * US, for example, this is the American Banking Association (ABA) routing
726
+ * number.
727
+ * - `bic_code` - The SWIFT Bank Identifier Code (BIC) of the bank.
728
+ * - `iban` - An International Bank Account Number.
729
+ */
730
+ originating_depository_financial_institution_id_qualifier:
731
+ | 'national_clearing_system_number'
732
+ | 'bic_code'
733
+ | 'iban';
734
+ /**
735
+ * The name of the originating bank. Sometimes this will refer to an American bank
736
+ * and obscure the correspondent foreign bank.
737
+ */
610
738
  originating_depository_financial_institution_name: string;
739
+ /**
740
+ * A portion of the originator address. This may be incomplete.
741
+ */
611
742
  originator_city: string;
743
+ /**
744
+ * A description field set by the originator.
745
+ */
612
746
  originator_company_entry_description: string;
747
+ /**
748
+ * A portion of the originator address. The
749
+ * [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2), Alpha-2 country
750
+ * code of the originator country.
751
+ */
613
752
  originator_country: string;
753
+ /**
754
+ * An identifier for the originating company. This is generally stable across
755
+ * multiple ACH transfers.
756
+ */
614
757
  originator_identification: string;
758
+ /**
759
+ * Either the name of the originator or an intermediary money transmitter.
760
+ */
615
761
  originator_name: string;
762
+ /**
763
+ * A portion of the originator address. This may be incomplete.
764
+ */
616
765
  originator_postal_code: string | null;
766
+ /**
767
+ * A portion of the originator address. This may be incomplete.
768
+ */
617
769
  originator_state_or_province: string | null;
770
+ /**
771
+ * A portion of the originator address. This may be incomplete.
772
+ */
618
773
  originator_street_address: string;
774
+ /**
775
+ * A description field set by the originator.
776
+ */
619
777
  payment_related_information: string | null;
778
+ /**
779
+ * A description field set by the originator.
780
+ */
620
781
  payment_related_information2: string | null;
782
+ /**
783
+ * A portion of the receiver address. This may be incomplete.
784
+ */
621
785
  receiver_city: string;
786
+ /**
787
+ * A portion of the receiver address. The
788
+ * [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2), Alpha-2 country
789
+ * code of the receiver country.
790
+ */
622
791
  receiver_country: string;
792
+ /**
793
+ * An identification number the originator uses for the receiver.
794
+ */
623
795
  receiver_identification_number: string | null;
796
+ /**
797
+ * A portion of the receiver address. This may be incomplete.
798
+ */
624
799
  receiver_postal_code: string | null;
800
+ /**
801
+ * A portion of the receiver address. This may be incomplete.
802
+ */
625
803
  receiver_state_or_province: string | null;
804
+ /**
805
+ * A portion of the receiver address. This may be incomplete.
806
+ */
626
807
  receiver_street_address: string;
808
+ /**
809
+ * The name of the receiver of the transfer. This is not verified by Increase.
810
+ */
627
811
  receiving_company_or_individual_name: string;
812
+ /**
813
+ * The [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2), Alpha-2
814
+ * country code of the receiving bank country.
815
+ */
628
816
  receiving_depository_financial_institution_country: string;
817
+ /**
818
+ * An identifier for the receiving bank. One of an International Bank Account
819
+ * Number (IBAN) bank identifier, SWIFT Bank Identification Code (BIC), or a
820
+ * domestic identifier like a US Routing Number.
821
+ */
629
822
  receiving_depository_financial_institution_id: string;
630
- receiving_depository_financial_institution_id_qualifier: string;
823
+ /**
824
+ * An instruction of how to interpret the
825
+ * `receiving_depository_financial_institution_id` field for this Transaction.
826
+ *
827
+ * - `national_clearing_system_number` - A domestic clearing system number. In the
828
+ * US, for example, this is the American Banking Association (ABA) routing
829
+ * number.
830
+ * - `bic_code` - The SWIFT Bank Identifier Code (BIC) of the bank.
831
+ * - `iban` - An International Bank Account Number.
832
+ */
833
+ receiving_depository_financial_institution_id_qualifier:
834
+ | 'national_clearing_system_number'
835
+ | 'bic_code'
836
+ | 'iban';
837
+ /**
838
+ * The name of the receiving bank, as set by the sending financial institution.
839
+ */
631
840
  receiving_depository_financial_institution_name: string;
841
+ /**
842
+ * A 15 digit number recorded in the Nacha file and available to both the
843
+ * originating and receiving bank. Along with the amount, date, and originating
844
+ * routing number, this can be used to identify the ACH transfer at either bank.
845
+ * ACH trace numbers are not unique, but are
846
+ * [used to correlate returns](https://increase.com/documentation/ach#returns).
847
+ */
632
848
  trace_number: string;
633
849
  }
634
850
  /**
@@ -641,20 +857,67 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
641
857
  * dollars, for example, this is cents.
642
858
  */
643
859
  amount: number;
860
+ /**
861
+ * A free-form address field set by the sender.
862
+ */
644
863
  beneficiary_address_line1: string | null;
864
+ /**
865
+ * A free-form address field set by the sender.
866
+ */
645
867
  beneficiary_address_line2: string | null;
868
+ /**
869
+ * A free-form address field set by the sender.
870
+ */
646
871
  beneficiary_address_line3: string | null;
872
+ /**
873
+ * A name set by the sender.
874
+ */
647
875
  beneficiary_name: string | null;
876
+ /**
877
+ * A free-form reference string set by the sender, to help identify the transfer.
878
+ */
648
879
  beneficiary_reference: string | null;
880
+ /**
881
+ * An Increase-constructed description of the declined transaction.
882
+ */
649
883
  description: string;
884
+ /**
885
+ * A unique identifier available to the originating and receiving banks, commonly
886
+ * abbreviated as IMAD. It is created when the wire is submitted to the Fedwire
887
+ * service and is helpful when debugging wires with the originating bank.
888
+ */
650
889
  input_message_accountability_data: string | null;
890
+ /**
891
+ * The address of the wire originator, set by the sending bank.
892
+ */
651
893
  originator_address_line1: string | null;
894
+ /**
895
+ * The address of the wire originator, set by the sending bank.
896
+ */
652
897
  originator_address_line2: string | null;
898
+ /**
899
+ * The address of the wire originator, set by the sending bank.
900
+ */
653
901
  originator_address_line3: string | null;
902
+ /**
903
+ * The originator of the wire, set by the sending bank.
904
+ */
654
905
  originator_name: string | null;
906
+ /**
907
+ * A free-form message set by the wire originator.
908
+ */
655
909
  originator_to_beneficiary_information_line1: string | null;
910
+ /**
911
+ * A free-form message set by the wire originator.
912
+ */
656
913
  originator_to_beneficiary_information_line2: string | null;
914
+ /**
915
+ * A free-form message set by the wire originator.
916
+ */
657
917
  originator_to_beneficiary_information_line3: string | null;
918
+ /**
919
+ * A free-form message set by the wire originator.
920
+ */
658
921
  originator_to_beneficiary_information_line4: string | null;
659
922
  /**
660
923
  * Why the wire transfer was declined.
@@ -1041,13 +1304,23 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
1041
1304
  * response if and only if `category` is equal to `ach_transfer_intention`.
1042
1305
  */
1043
1306
  interface ACHTransferIntention {
1307
+ /**
1308
+ * The account number for the destination account.
1309
+ */
1044
1310
  account_number: string;
1045
1311
  /**
1046
1312
  * The amount in the minor unit of the transaction's currency. For dollars, for
1047
1313
  * example, this is cents.
1048
1314
  */
1049
1315
  amount: number;
1316
+ /**
1317
+ * The American Bankers' Association (ABA) Routing Transit Number (RTN) for the
1318
+ * destination account.
1319
+ */
1050
1320
  routing_number: string;
1321
+ /**
1322
+ * A description set when the ACH Transfer was created.
1323
+ */
1051
1324
  statement_descriptor: string;
1052
1325
  /**
1053
1326
  * The identifier of the ACH Transfer that led to this Transaction.
@@ -1114,7 +1387,7 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
1114
1387
  * - `enr_invalid_individual_name` - Code R45. The individual name field was
1115
1388
  * invalid.
1116
1389
  * - `returned_per_odfi_request` - Code R06. The originating financial institution
1117
- * reversed the transfer.
1390
+ * asked for this transfer to be returned.
1118
1391
  * - `limited_participation_dfi` - Code R34. The receiving bank's regulatory
1119
1392
  * supervisor has limited their participation.
1120
1393
  * - `incorrectly_coded_outbound_international_payment` - Code R85. The outbound
@@ -1201,7 +1474,7 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
1201
1474
  * bank disputes that an earlier `duplicate_entry` return was actually a
1202
1475
  * duplicate.
1203
1476
  * - `return_of_erroneous_or_reversing_debit` - Code R62. A rare return reason. The
1204
- * originating bank made a mistake earlier and this return corrects it.
1477
+ * originating financial institution made a mistake and this return corrects it.
1205
1478
  * - `return_of_improper_credit_entry` - Code R36. A rare return reason. Return of
1206
1479
  * a malformed credit entry.
1207
1480
  * - `return_of_improper_debit_entry` - Code R35. A rare return reason. Return of a
@@ -2507,6 +2780,9 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
2507
2780
  */
2508
2781
  currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
2509
2782
  /**
2783
+ * Why this check was returned by the bank holding the account it was drawn
2784
+ * against.
2785
+ *
2510
2786
  * - `ach_conversion_not_supported` - The check doesn't allow ACH conversion.
2511
2787
  * - `closed_account` - The account is closed.
2512
2788
  * - `duplicate_submission` - The check has already been deposited.
@@ -2554,6 +2830,12 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
2554
2830
  * deposited check.
2555
2831
  */
2556
2832
  back_image_file_id: string | null;
2833
+ /**
2834
+ * The American Bankers' Association (ABA) Routing Transit Number (RTN) for the
2835
+ * bank depositing this check. In some rare cases, this is not transmitted via
2836
+ * Check21 and the value will be null.
2837
+ */
2838
+ bank_of_first_deposit_routing_number: string | null;
2557
2839
  /**
2558
2840
  * When the check was deposited.
2559
2841
  */
@@ -2689,14 +2971,48 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
2689
2971
  * for example, this is cents.
2690
2972
  */
2691
2973
  amount: number;
2974
+ /**
2975
+ * The description of the date of the transfer, usually in the format `YYMMDD`.
2976
+ */
2692
2977
  originator_company_descriptive_date: string | null;
2978
+ /**
2979
+ * Data set by the originator.
2980
+ */
2693
2981
  originator_company_discretionary_data: string | null;
2982
+ /**
2983
+ * An informational description of the transfer.
2984
+ */
2694
2985
  originator_company_entry_description: string;
2986
+ /**
2987
+ * An identifier for the originating company. This is generally, but not always, a
2988
+ * stable identifier across multiple transfers.
2989
+ */
2695
2990
  originator_company_id: string;
2991
+ /**
2992
+ * A name set by the originator to identify themselves.
2993
+ */
2696
2994
  originator_company_name: string;
2995
+ /**
2996
+ * The originator's identifier for the transfer receipient.
2997
+ */
2697
2998
  receiver_id_number: string | null;
2999
+ /**
3000
+ * The name of the transfer recipient. This value is informational and not verified
3001
+ * by Increase.
3002
+ */
2698
3003
  receiver_name: string | null;
3004
+ /**
3005
+ * A 15 digit number recorded in the Nacha file and available to both the
3006
+ * originating and receiving bank. Along with the amount, date, and originating
3007
+ * routing number, this can be used to identify the ACH transfer at either bank.
3008
+ * ACH trace numbers are not unique, but are
3009
+ * [used to correlate returns](https://increase.com/documentation/ach#returns).
3010
+ */
2699
3011
  trace_number: string;
3012
+ /**
3013
+ * The inbound ach transfer's identifier.
3014
+ */
3015
+ transfer_id: string;
2700
3016
  }
2701
3017
  /**
2702
3018
  * An Inbound Check object. This field will be present in the JSON response if and
@@ -2708,8 +3024,24 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
2708
3024
  * for example, this is cents.
2709
3025
  */
2710
3026
  amount: number;
3027
+ /**
3028
+ * The American Bankers' Association (ABA) Routing Transit Number (RTN) for the
3029
+ * bank depositing this check. In some rare cases, this is not transmitted via
3030
+ * Check21 and the value will be null.
3031
+ */
3032
+ bank_of_first_deposit_routing_number: string | null;
3033
+ /**
3034
+ * The front image of the check. This is a black and white TIFF image file.
3035
+ */
2711
3036
  check_front_image_file_id: string | null;
3037
+ /**
3038
+ * The number of the check. This field is set by the depositing bank and can be
3039
+ * unreliable.
3040
+ */
2712
3041
  check_number: string | null;
3042
+ /**
3043
+ * The rear image of the check. This is a black and white TIFF image file.
3044
+ */
2713
3045
  check_rear_image_file_id: string | null;
2714
3046
  /**
2715
3047
  * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
@@ -2735,40 +3067,245 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
2735
3067
  * for example, this is cents.
2736
3068
  */
2737
3069
  amount: number;
3070
+ /**
3071
+ * The [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2), Alpha-2
3072
+ * country code of the destination country.
3073
+ */
2738
3074
  destination_country_code: string;
3075
+ /**
3076
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code for the
3077
+ * destination bank account.
3078
+ */
2739
3079
  destination_currency_code: string;
2740
- foreign_exchange_indicator: string;
3080
+ /**
3081
+ * A description of how the foreign exchange rate was calculated.
3082
+ *
3083
+ * - `fixed_to_variable` - The originator chose an amount in their own currency.
3084
+ * The settled amount in USD was converted using the exchange rate.
3085
+ * - `variable_to_fixed` - The originator chose an amount to settle in USD. The
3086
+ * originator's amount was variable; known only after the foreign exchange
3087
+ * conversion.
3088
+ * - `fixed_to_fixed` - The amount was originated and settled as a fixed amount in
3089
+ * USD. There is no foreign exchange conversion.
3090
+ */
3091
+ foreign_exchange_indicator: 'fixed_to_variable' | 'variable_to_fixed' | 'fixed_to_fixed';
3092
+ /**
3093
+ * Depending on the `foreign_exchange_reference_indicator`, an exchange rate or a
3094
+ * reference to a well-known rate.
3095
+ */
2741
3096
  foreign_exchange_reference: string | null;
2742
- foreign_exchange_reference_indicator: string;
3097
+ /**
3098
+ * An instruction of how to interpret the `foreign_exchange_reference` field for
3099
+ * this Transaction.
3100
+ *
3101
+ * - `foreign_exchange_rate` - The ACH file contains a foreign exchange rate.
3102
+ * - `foreign_exchange_reference_number` - The ACH file contains a reference to a
3103
+ * well-known foreign exchange rate.
3104
+ * - `blank` - There is no foreign exchange for this transfer, so the
3105
+ * `foreign_exchange_reference` field is blank.
3106
+ */
3107
+ foreign_exchange_reference_indicator:
3108
+ | 'foreign_exchange_rate'
3109
+ | 'foreign_exchange_reference_number'
3110
+ | 'blank';
3111
+ /**
3112
+ * The amount in the minor unit of the foreign payment currency. For dollars, for
3113
+ * example, this is cents.
3114
+ */
2743
3115
  foreign_payment_amount: number;
3116
+ /**
3117
+ * A reference number in the foreign banking infrastructure.
3118
+ */
2744
3119
  foreign_trace_number: string | null;
2745
- international_transaction_type_code: string;
3120
+ /**
3121
+ * The type of transfer. Set by the originator.
3122
+ *
3123
+ * - `annuity` - Sent as `ANN` in the Nacha file.
3124
+ * - `business_or_commercial` - Sent as `BUS` in the Nacha file.
3125
+ * - `deposit` - Sent as `DEP` in the Nacha file.
3126
+ * - `loan` - Sent as `LOA` in the Nacha file.
3127
+ * - `miscellaneous` - Sent as `MIS` in the Nacha file.
3128
+ * - `mortgage` - Sent as `MOR` in the Nacha file.
3129
+ * - `pension` - Sent as `PEN` in the Nacha file.
3130
+ * - `remittance` - Sent as `REM` in the Nacha file.
3131
+ * - `rent_or_lease` - Sent as `RLS` in the Nacha file.
3132
+ * - `salary_or_payroll` - Sent as `SAL` in the Nacha file.
3133
+ * - `tax` - Sent as `TAX` in the Nacha file.
3134
+ * - `accounts_receivable` - Sent as `ARC` in the Nacha file.
3135
+ * - `back_office_conversion` - Sent as `BOC` in the Nacha file.
3136
+ * - `machine_transfer` - Sent as `MTE` in the Nacha file.
3137
+ * - `point_of_purchase` - Sent as `POP` in the Nacha file.
3138
+ * - `point_of_sale` - Sent as `POS` in the Nacha file.
3139
+ * - `represented_check` - Sent as `RCK` in the Nacha file.
3140
+ * - `shared_network_transaction` - Sent as `SHR` in the Nacha file.
3141
+ * - `telphone_initiated` - Sent as `TEL` in the Nacha file.
3142
+ * - `internet_initiated` - Sent as `WEB` in the Nacha file.
3143
+ */
3144
+ international_transaction_type_code:
3145
+ | 'annuity'
3146
+ | 'business_or_commercial'
3147
+ | 'deposit'
3148
+ | 'loan'
3149
+ | 'miscellaneous'
3150
+ | 'mortgage'
3151
+ | 'pension'
3152
+ | 'remittance'
3153
+ | 'rent_or_lease'
3154
+ | 'salary_or_payroll'
3155
+ | 'tax'
3156
+ | 'accounts_receivable'
3157
+ | 'back_office_conversion'
3158
+ | 'machine_transfer'
3159
+ | 'point_of_purchase'
3160
+ | 'point_of_sale'
3161
+ | 'represented_check'
3162
+ | 'shared_network_transaction'
3163
+ | 'telphone_initiated'
3164
+ | 'internet_initiated';
3165
+ /**
3166
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code for the
3167
+ * originating bank account.
3168
+ */
2746
3169
  originating_currency_code: string;
3170
+ /**
3171
+ * The [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2), Alpha-2
3172
+ * country code of the originating branch country.
3173
+ */
2747
3174
  originating_depository_financial_institution_branch_country: string;
3175
+ /**
3176
+ * An identifier for the originating bank. One of an International Bank Account
3177
+ * Number (IBAN) bank identifier, SWIFT Bank Identification Code (BIC), or a
3178
+ * domestic identifier like a US Routing Number.
3179
+ */
2748
3180
  originating_depository_financial_institution_id: string;
2749
- originating_depository_financial_institution_id_qualifier: string;
3181
+ /**
3182
+ * An instruction of how to interpret the
3183
+ * `originating_depository_financial_institution_id` field for this Transaction.
3184
+ *
3185
+ * - `national_clearing_system_number` - A domestic clearing system number. In the
3186
+ * US, for example, this is the American Banking Association (ABA) routing
3187
+ * number.
3188
+ * - `bic_code` - The SWIFT Bank Identifier Code (BIC) of the bank.
3189
+ * - `iban` - An International Bank Account Number.
3190
+ */
3191
+ originating_depository_financial_institution_id_qualifier:
3192
+ | 'national_clearing_system_number'
3193
+ | 'bic_code'
3194
+ | 'iban';
3195
+ /**
3196
+ * The name of the originating bank. Sometimes this will refer to an American bank
3197
+ * and obscure the correspondent foreign bank.
3198
+ */
2750
3199
  originating_depository_financial_institution_name: string;
3200
+ /**
3201
+ * A portion of the originator address. This may be incomplete.
3202
+ */
2751
3203
  originator_city: string;
3204
+ /**
3205
+ * A description field set by the originator.
3206
+ */
2752
3207
  originator_company_entry_description: string;
3208
+ /**
3209
+ * A portion of the originator address. The
3210
+ * [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2), Alpha-2 country
3211
+ * code of the originator country.
3212
+ */
2753
3213
  originator_country: string;
3214
+ /**
3215
+ * An identifier for the originating company. This is generally stable across
3216
+ * multiple ACH transfers.
3217
+ */
2754
3218
  originator_identification: string;
3219
+ /**
3220
+ * Either the name of the originator or an intermediary money transmitter.
3221
+ */
2755
3222
  originator_name: string;
3223
+ /**
3224
+ * A portion of the originator address. This may be incomplete.
3225
+ */
2756
3226
  originator_postal_code: string | null;
3227
+ /**
3228
+ * A portion of the originator address. This may be incomplete.
3229
+ */
2757
3230
  originator_state_or_province: string | null;
3231
+ /**
3232
+ * A portion of the originator address. This may be incomplete.
3233
+ */
2758
3234
  originator_street_address: string;
3235
+ /**
3236
+ * A description field set by the originator.
3237
+ */
2759
3238
  payment_related_information: string | null;
3239
+ /**
3240
+ * A description field set by the originator.
3241
+ */
2760
3242
  payment_related_information2: string | null;
3243
+ /**
3244
+ * A portion of the receiver address. This may be incomplete.
3245
+ */
2761
3246
  receiver_city: string;
3247
+ /**
3248
+ * A portion of the receiver address. The
3249
+ * [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2), Alpha-2 country
3250
+ * code of the receiver country.
3251
+ */
2762
3252
  receiver_country: string;
3253
+ /**
3254
+ * An identification number the originator uses for the receiver.
3255
+ */
2763
3256
  receiver_identification_number: string | null;
3257
+ /**
3258
+ * A portion of the receiver address. This may be incomplete.
3259
+ */
2764
3260
  receiver_postal_code: string | null;
3261
+ /**
3262
+ * A portion of the receiver address. This may be incomplete.
3263
+ */
2765
3264
  receiver_state_or_province: string | null;
3265
+ /**
3266
+ * A portion of the receiver address. This may be incomplete.
3267
+ */
2766
3268
  receiver_street_address: string;
3269
+ /**
3270
+ * The name of the receiver of the transfer. This is not verified by Increase.
3271
+ */
2767
3272
  receiving_company_or_individual_name: string;
3273
+ /**
3274
+ * The [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2), Alpha-2
3275
+ * country code of the receiving bank country.
3276
+ */
2768
3277
  receiving_depository_financial_institution_country: string;
3278
+ /**
3279
+ * An identifier for the receiving bank. One of an International Bank Account
3280
+ * Number (IBAN) bank identifier, SWIFT Bank Identification Code (BIC), or a
3281
+ * domestic identifier like a US Routing Number.
3282
+ */
2769
3283
  receiving_depository_financial_institution_id: string;
2770
- receiving_depository_financial_institution_id_qualifier: string;
3284
+ /**
3285
+ * An instruction of how to interpret the
3286
+ * `receiving_depository_financial_institution_id` field for this Transaction.
3287
+ *
3288
+ * - `national_clearing_system_number` - A domestic clearing system number. In the
3289
+ * US, for example, this is the American Banking Association (ABA) routing
3290
+ * number.
3291
+ * - `bic_code` - The SWIFT Bank Identifier Code (BIC) of the bank.
3292
+ * - `iban` - An International Bank Account Number.
3293
+ */
3294
+ receiving_depository_financial_institution_id_qualifier:
3295
+ | 'national_clearing_system_number'
3296
+ | 'bic_code'
3297
+ | 'iban';
3298
+ /**
3299
+ * The name of the receiving bank, as set by the sending financial institution.
3300
+ */
2771
3301
  receiving_depository_financial_institution_name: string;
3302
+ /**
3303
+ * A 15 digit number recorded in the Nacha file and available to both the
3304
+ * originating and receiving bank. Along with the amount, date, and originating
3305
+ * routing number, this can be used to identify the ACH transfer at either bank.
3306
+ * ACH trace numbers are not unique, but are
3307
+ * [used to correlate returns](https://increase.com/documentation/ach#returns).
3308
+ */
2772
3309
  trace_number: string;
2773
3310
  }
2774
3311
  /**
@@ -2815,7 +3352,7 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
2815
3352
  */
2816
3353
  remittance_information: string | null;
2817
3354
  /**
2818
- * The Real-Time Payments network identification of the transfer
3355
+ * The Real-Time Payments network identification of the transfer.
2819
3356
  */
2820
3357
  transaction_identification: string;
2821
3358
  }
@@ -2829,18 +3366,72 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
2829
3366
  * example, this is cents.
2830
3367
  */
2831
3368
  amount: number;
3369
+ /**
3370
+ * A free-form address field set by the sender.
3371
+ */
2832
3372
  beneficiary_address_line1: string | null;
3373
+ /**
3374
+ * A free-form address field set by the sender.
3375
+ */
2833
3376
  beneficiary_address_line2: string | null;
3377
+ /**
3378
+ * A free-form address field set by the sender.
3379
+ */
2834
3380
  beneficiary_address_line3: string | null;
3381
+ /**
3382
+ * A name set by the sender.
3383
+ */
2835
3384
  beneficiary_name: string | null;
3385
+ /**
3386
+ * A free-form reference string set by the sender, to help identify the transfer.
3387
+ */
2836
3388
  beneficiary_reference: string | null;
3389
+ /**
3390
+ * An Increase-constructed description of the transfer.
3391
+ */
2837
3392
  description: string;
3393
+ /**
3394
+ * A unique identifier available to the originating and receiving banks, commonly
3395
+ * abbreviated as IMAD. It is created when the wire is submitted to the Fedwire
3396
+ * service and is helpful when debugging wires with the receiving bank.
3397
+ */
2838
3398
  input_message_accountability_data: string | null;
3399
+ /**
3400
+ * The address of the wire originator, set by the sending bank.
3401
+ */
2839
3402
  originator_address_line1: string | null;
3403
+ /**
3404
+ * The address of the wire originator, set by the sending bank.
3405
+ */
2840
3406
  originator_address_line2: string | null;
3407
+ /**
3408
+ * The address of the wire originator, set by the sending bank.
3409
+ */
2841
3410
  originator_address_line3: string | null;
3411
+ /**
3412
+ * The originator of the wire, set by the sending bank.
3413
+ */
2842
3414
  originator_name: string | null;
3415
+ /**
3416
+ * An Increase-created concatenation of the Originator-to-Beneficiary lines.
3417
+ */
2843
3418
  originator_to_beneficiary_information: string | null;
3419
+ /**
3420
+ * A free-form message set by the wire originator.
3421
+ */
3422
+ originator_to_beneficiary_information_line1: string | null;
3423
+ /**
3424
+ * A free-form message set by the wire originator.
3425
+ */
3426
+ originator_to_beneficiary_information_line2: string | null;
3427
+ /**
3428
+ * A free-form message set by the wire originator.
3429
+ */
3430
+ originator_to_beneficiary_information_line3: string | null;
3431
+ /**
3432
+ * A free-form message set by the wire originator.
3433
+ */
3434
+ originator_to_beneficiary_information_line4: string | null;
2844
3435
  }
2845
3436
  /**
2846
3437
  * An Inbound Wire Drawdown Payment Reversal object. This field will be present in
@@ -2895,7 +3486,7 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
2895
3486
  */
2896
3487
  interface InboundWireReversal {
2897
3488
  /**
2898
- * The amount that was reversed.
3489
+ * The amount that was reversed in USD cents.
2899
3490
  */
2900
3491
  amount: number;
2901
3492
  /**
@@ -2904,7 +3495,7 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
2904
3495
  */
2905
3496
  created_at: string;
2906
3497
  /**
2907
- * The description on the reversal message from Fedwire.
3498
+ * The description on the reversal message from Fedwire, set by the reversing bank.
2908
3499
  */
2909
3500
  description: string;
2910
3501
  /**
@@ -2912,7 +3503,8 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
2912
3503
  */
2913
3504
  financial_institution_to_financial_institution_information: string | null;
2914
3505
  /**
2915
- * The Fedwire cycle date for the wire reversal.
3506
+ * The Fedwire cycle date for the wire reversal. The "Fedwire day" begins at 9:00
3507
+ * PM Eastern Time on the evening before the `cycle date`.
2916
3508
  */
2917
3509
  input_cycle_date: string;
2918
3510
  /**
@@ -2928,7 +3520,8 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
2928
3520
  */
2929
3521
  input_source: string;
2930
3522
  /**
2931
- * The Fedwire cycle date for the wire transfer that was reversed.
3523
+ * The Fedwire cycle date for the wire transfer that is being reversed by this
3524
+ * message.
2932
3525
  */
2933
3526
  previous_message_input_cycle_date: string;
2934
3527
  /**
@@ -2963,25 +3556,74 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
2963
3556
  */
2964
3557
  interface InboundWireTransfer {
2965
3558
  /**
2966
- * The amount in the minor unit of the transaction's currency. For dollars, for
2967
- * example, this is cents.
3559
+ * The amount in USD cents.
2968
3560
  */
2969
3561
  amount: number;
3562
+ /**
3563
+ * A free-form address field set by the sender.
3564
+ */
2970
3565
  beneficiary_address_line1: string | null;
3566
+ /**
3567
+ * A free-form address field set by the sender.
3568
+ */
2971
3569
  beneficiary_address_line2: string | null;
3570
+ /**
3571
+ * A free-form address field set by the sender.
3572
+ */
2972
3573
  beneficiary_address_line3: string | null;
3574
+ /**
3575
+ * A name set by the sender.
3576
+ */
2973
3577
  beneficiary_name: string | null;
3578
+ /**
3579
+ * A free-form reference string set by the sender, to help identify the transfer.
3580
+ */
2974
3581
  beneficiary_reference: string | null;
3582
+ /**
3583
+ * An Increase-constructed description of the transfer.
3584
+ */
2975
3585
  description: string;
3586
+ /**
3587
+ * A unique identifier available to the originating and receiving banks, commonly
3588
+ * abbreviated as IMAD. It is created when the wire is submitted to the Fedwire
3589
+ * service and is helpful when debugging wires with the originating bank.
3590
+ */
2976
3591
  input_message_accountability_data: string | null;
3592
+ /**
3593
+ * The address of the wire originator, set by the sending bank.
3594
+ */
2977
3595
  originator_address_line1: string | null;
3596
+ /**
3597
+ * The address of the wire originator, set by the sending bank.
3598
+ */
2978
3599
  originator_address_line2: string | null;
3600
+ /**
3601
+ * The address of the wire originator, set by the sending bank.
3602
+ */
2979
3603
  originator_address_line3: string | null;
3604
+ /**
3605
+ * The originator of the wire, set by the sending bank.
3606
+ */
2980
3607
  originator_name: string | null;
3608
+ /**
3609
+ * An Increase-created concatenation of the Originator-to-Beneficiary lines.
3610
+ */
2981
3611
  originator_to_beneficiary_information: string | null;
3612
+ /**
3613
+ * A free-form message set by the wire originator.
3614
+ */
2982
3615
  originator_to_beneficiary_information_line1: string | null;
3616
+ /**
3617
+ * A free-form message set by the wire originator.
3618
+ */
2983
3619
  originator_to_beneficiary_information_line2: string | null;
3620
+ /**
3621
+ * A free-form message set by the wire originator.
3622
+ */
2984
3623
  originator_to_beneficiary_information_line3: string | null;
3624
+ /**
3625
+ * A free-form message set by the wire originator.
3626
+ */
2985
3627
  originator_to_beneficiary_information_line4: string | null;
2986
3628
  }
2987
3629
  /**
@@ -3042,6 +3684,9 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
3042
3684
  */
3043
3685
  currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
3044
3686
  /**
3687
+ * An Internal Source is a transaction between you and Increase. This describes the
3688
+ * reason for the transaction.
3689
+ *
3045
3690
  * - `account_closure` - Account closure
3046
3691
  * - `bank_migration` - Bank migration
3047
3692
  * - `cashback` - Cashback
@@ -3129,6 +3774,9 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
3129
3774
  * The American Bankers' Association (ABA) Routing Transit Number (RTN).
3130
3775
  */
3131
3776
  routing_number: string;
3777
+ /**
3778
+ * The identifier of the Wire Transfer that led to this Transaction.
3779
+ */
3132
3780
  transfer_id: string;
3133
3781
  }
3134
3782
  /**
@@ -3136,6 +3784,9 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
3136
3784
  * response if and only if `category` is equal to `wire_transfer_rejection`.
3137
3785
  */
3138
3786
  interface WireTransferRejection {
3787
+ /**
3788
+ * The identifier of the Wire Transfer that led to this Transaction.
3789
+ */
3139
3790
  transfer_id: string;
3140
3791
  }
3141
3792
  }