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