increase 0.5.0 → 0.6.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 (1278) hide show
  1. package/_shims/agent.d.ts +9 -0
  2. package/_shims/agent.d.ts.map +1 -0
  3. package/_shims/agent.js.map +1 -0
  4. package/_shims/agent.mjs +10 -0
  5. package/_shims/agent.mjs.map +1 -0
  6. package/_shims/agent.node.d.ts +7 -0
  7. package/_shims/agent.node.d.ts.map +1 -0
  8. package/_shims/agent.node.js.map +1 -0
  9. package/_shims/agent.node.mjs +16 -0
  10. package/_shims/agent.node.mjs.map +1 -0
  11. package/_shims/fetch.d.ts +52 -0
  12. package/_shims/fetch.js +13 -0
  13. package/_shims/fetch.mjs +15 -0
  14. package/_shims/fetch.node.d.ts +53 -0
  15. package/_shims/fetch.node.js +12 -0
  16. package/_shims/fetch.node.mjs +14 -0
  17. package/_shims/fileFromPath.d.ts +22 -0
  18. package/_shims/fileFromPath.d.ts.map +1 -0
  19. package/_shims/fileFromPath.js +16 -0
  20. package/_shims/fileFromPath.js.map +1 -0
  21. package/_shims/fileFromPath.mjs +12 -0
  22. package/_shims/fileFromPath.mjs.map +1 -0
  23. package/_shims/fileFromPath.node.d.ts +17 -0
  24. package/_shims/fileFromPath.node.d.ts.map +1 -0
  25. package/_shims/fileFromPath.node.js +17 -0
  26. package/_shims/fileFromPath.node.js.map +1 -0
  27. package/_shims/fileFromPath.node.mjs +13 -0
  28. package/_shims/fileFromPath.node.mjs.map +1 -0
  29. package/_shims/formdata.d.ts +43 -0
  30. package/_shims/formdata.js +9 -0
  31. package/_shims/formdata.mjs +11 -0
  32. package/_shims/formdata.node.d.ts +44 -0
  33. package/_shims/formdata.node.js +11 -0
  34. package/_shims/getMultipartRequestOptions.d.ts.map +1 -0
  35. package/_shims/getMultipartRequestOptions.js +12 -0
  36. package/_shims/getMultipartRequestOptions.js.map +1 -0
  37. package/_shims/getMultipartRequestOptions.mjs +8 -0
  38. package/_shims/getMultipartRequestOptions.mjs.map +1 -0
  39. package/_shims/getMultipartRequestOptions.node.d.ts.map +1 -0
  40. package/_shims/getMultipartRequestOptions.node.js +22 -0
  41. package/_shims/getMultipartRequestOptions.node.js.map +1 -0
  42. package/_shims/getMultipartRequestOptions.node.mjs +18 -0
  43. package/_shims/getMultipartRequestOptions.node.mjs.map +1 -0
  44. package/_shims/node-readable.d.ts +23 -0
  45. package/_shims/node-readable.d.ts.map +1 -0
  46. package/_shims/node-readable.js +11 -0
  47. package/_shims/node-readable.js.map +1 -0
  48. package/_shims/node-readable.mjs +7 -0
  49. package/_shims/node-readable.mjs.map +1 -0
  50. package/_shims/node-readable.node.d.ts +8 -0
  51. package/_shims/node-readable.node.d.ts.map +1 -0
  52. package/_shims/node-readable.node.js +9 -0
  53. package/_shims/node-readable.node.js.map +1 -0
  54. package/_shims/node-readable.node.mjs +5 -0
  55. package/_shims/node-readable.node.mjs.map +1 -0
  56. package/core.d.ts +226 -0
  57. package/core.d.ts.map +1 -0
  58. package/core.js +683 -0
  59. package/core.js.map +1 -0
  60. package/core.mjs +587 -0
  61. package/core.mjs.map +1 -0
  62. package/error.d.ts.map +1 -0
  63. package/error.js +326 -0
  64. package/error.js.map +1 -0
  65. package/error.mjs +277 -0
  66. package/error.mjs.map +1 -0
  67. package/index.d.mts +344 -0
  68. package/index.d.ts +344 -0
  69. package/index.d.ts.map +1 -0
  70. package/index.js +285 -0
  71. package/index.js.map +1 -0
  72. package/index.mjs +216 -0
  73. package/index.mjs.map +1 -0
  74. package/package.json +34 -77
  75. package/pagination.d.ts.map +1 -0
  76. package/pagination.js +30 -0
  77. package/pagination.js.map +1 -0
  78. package/pagination.mjs +26 -0
  79. package/pagination.mjs.map +1 -0
  80. package/resource.d.ts.map +1 -0
  81. package/resource.js.map +1 -0
  82. package/resource.mjs +13 -0
  83. package/resource.mjs.map +1 -0
  84. package/resources/account-numbers.d.ts +151 -0
  85. package/resources/account-numbers.d.ts.map +1 -0
  86. package/resources/account-numbers.js +38 -0
  87. package/resources/account-numbers.js.map +1 -0
  88. package/resources/account-numbers.mjs +33 -0
  89. package/resources/account-numbers.mjs.map +1 -0
  90. package/resources/account-statements.d.ts +108 -0
  91. package/resources/account-statements.d.ts.map +1 -0
  92. package/resources/account-statements.js +28 -0
  93. package/resources/account-statements.js.map +1 -0
  94. package/resources/account-statements.mjs +21 -0
  95. package/resources/account-statements.mjs.map +1 -0
  96. package/resources/account-transfers.d.ts +218 -0
  97. package/resources/account-transfers.d.ts.map +1 -0
  98. package/resources/account-transfers.js +46 -0
  99. package/resources/account-transfers.js.map +1 -0
  100. package/resources/account-transfers.mjs +39 -0
  101. package/resources/account-transfers.mjs.map +1 -0
  102. package/resources/accounts.d.ts +178 -0
  103. package/resources/accounts.d.ts.map +1 -0
  104. package/resources/accounts.js +44 -0
  105. package/resources/accounts.js.map +1 -0
  106. package/resources/accounts.mjs +39 -0
  107. package/resources/accounts.mjs.map +1 -0
  108. package/resources/ach-prenotifications.d.ts +216 -0
  109. package/resources/ach-prenotifications.d.ts.map +1 -0
  110. package/resources/ach-prenotifications.js +34 -0
  111. package/resources/ach-prenotifications.js.map +1 -0
  112. package/resources/ach-prenotifications.mjs +27 -0
  113. package/resources/ach-prenotifications.mjs.map +1 -0
  114. package/resources/ach-transfers.d.ts +640 -0
  115. package/resources/ach-transfers.d.ts.map +1 -0
  116. package/resources/ach-transfers.js +44 -0
  117. package/resources/ach-transfers.js.map +1 -0
  118. package/resources/ach-transfers.mjs +39 -0
  119. package/resources/ach-transfers.mjs.map +1 -0
  120. package/resources/balance-lookups.d.ts +52 -0
  121. package/resources/balance-lookups.d.ts.map +1 -0
  122. package/resources/balance-lookups.js +16 -0
  123. package/resources/balance-lookups.js.map +1 -0
  124. package/resources/balance-lookups.mjs +12 -0
  125. package/resources/balance-lookups.mjs.map +1 -0
  126. package/resources/bookkeeping-accounts.d.ts +86 -0
  127. package/resources/bookkeeping-accounts.d.ts.map +1 -0
  128. package/resources/bookkeeping-accounts.js +28 -0
  129. package/resources/bookkeeping-accounts.js.map +1 -0
  130. package/resources/bookkeeping-accounts.mjs +21 -0
  131. package/resources/bookkeeping-accounts.mjs.map +1 -0
  132. package/resources/bookkeeping-entries.d.ts +51 -0
  133. package/resources/bookkeeping-entries.d.ts.map +1 -0
  134. package/resources/bookkeeping-entries.js +22 -0
  135. package/resources/bookkeeping-entries.js.map +1 -0
  136. package/resources/bookkeeping-entries.mjs +15 -0
  137. package/resources/bookkeeping-entries.mjs.map +1 -0
  138. package/resources/bookkeeping-entry-sets.d.ts +88 -0
  139. package/resources/bookkeeping-entry-sets.d.ts.map +1 -0
  140. package/resources/bookkeeping-entry-sets.js +18 -0
  141. package/resources/bookkeeping-entry-sets.js.map +1 -0
  142. package/resources/bookkeeping-entry-sets.mjs +12 -0
  143. package/resources/bookkeeping-entry-sets.mjs.map +1 -0
  144. package/resources/card-disputes.d.ts +167 -0
  145. package/resources/card-disputes.d.ts.map +1 -0
  146. package/resources/card-disputes.js +32 -0
  147. package/resources/card-disputes.js.map +1 -0
  148. package/resources/card-disputes.mjs +27 -0
  149. package/resources/card-disputes.mjs.map +1 -0
  150. package/resources/card-profiles.d.ts +214 -0
  151. package/resources/card-profiles.d.ts.map +1 -0
  152. package/resources/card-profiles.js +32 -0
  153. package/resources/card-profiles.js.map +1 -0
  154. package/resources/card-profiles.mjs +27 -0
  155. package/resources/card-profiles.mjs.map +1 -0
  156. package/resources/cards.d.ts +364 -0
  157. package/resources/cards.d.ts.map +1 -0
  158. package/resources/cards.js +44 -0
  159. package/resources/cards.js.map +1 -0
  160. package/resources/cards.mjs +39 -0
  161. package/resources/cards.mjs.map +1 -0
  162. package/resources/check-deposits.d.ts +324 -0
  163. package/resources/check-deposits.d.ts.map +1 -0
  164. package/resources/check-deposits.js +32 -0
  165. package/resources/check-deposits.js.map +1 -0
  166. package/resources/check-deposits.mjs +27 -0
  167. package/resources/check-deposits.mjs.map +1 -0
  168. package/resources/check-transfers.d.ts +454 -0
  169. package/resources/check-transfers.d.ts.map +1 -0
  170. package/resources/check-transfers.js +50 -0
  171. package/resources/check-transfers.js.map +1 -0
  172. package/resources/check-transfers.mjs +45 -0
  173. package/resources/check-transfers.mjs.map +1 -0
  174. package/resources/declined-transactions.d.ts +633 -0
  175. package/resources/declined-transactions.d.ts.map +1 -0
  176. package/resources/declined-transactions.js +28 -0
  177. package/resources/declined-transactions.js.map +1 -0
  178. package/resources/declined-transactions.mjs +21 -0
  179. package/resources/declined-transactions.mjs.map +1 -0
  180. package/resources/digital-wallet-tokens.d.ts +103 -0
  181. package/resources/digital-wallet-tokens.d.ts.map +1 -0
  182. package/resources/digital-wallet-tokens.js +28 -0
  183. package/resources/digital-wallet-tokens.js.map +1 -0
  184. package/resources/digital-wallet-tokens.mjs +21 -0
  185. package/resources/digital-wallet-tokens.mjs.map +1 -0
  186. package/resources/documents.d.ts +103 -0
  187. package/resources/documents.d.ts.map +1 -0
  188. package/resources/documents.js +26 -0
  189. package/resources/documents.js.map +1 -0
  190. package/resources/documents.mjs +21 -0
  191. package/resources/documents.mjs.map +1 -0
  192. package/resources/entities/entities.d.ts +1734 -0
  193. package/resources/entities/entities.d.ts.map +1 -0
  194. package/resources/entities/entities.js +81 -0
  195. package/resources/entities/entities.js.map +1 -0
  196. package/resources/entities/entities.mjs +36 -0
  197. package/resources/entities/entities.mjs.map +1 -0
  198. package/resources/entities/index.d.ts.map +1 -0
  199. package/resources/entities/index.js +35 -0
  200. package/resources/entities/index.js.map +1 -0
  201. package/resources/entities/index.mjs +4 -0
  202. package/resources/entities/index.mjs.map +1 -0
  203. package/resources/entities/supplemental-documents.d.ts +64 -0
  204. package/resources/entities/supplemental-documents.d.ts.map +1 -0
  205. package/resources/entities/supplemental-documents.js +30 -0
  206. package/resources/entities/supplemental-documents.js.map +1 -0
  207. package/resources/entities/supplemental-documents.mjs +23 -0
  208. package/resources/entities/supplemental-documents.mjs.map +1 -0
  209. package/resources/event-subscriptions.d.ts +373 -0
  210. package/resources/event-subscriptions.d.ts.map +1 -0
  211. package/resources/event-subscriptions.js +40 -0
  212. package/resources/event-subscriptions.js.map +1 -0
  213. package/resources/event-subscriptions.mjs +33 -0
  214. package/resources/event-subscriptions.mjs.map +1 -0
  215. package/resources/events.d.ts +271 -0
  216. package/resources/events.d.ts.map +1 -0
  217. package/resources/events.js +26 -0
  218. package/resources/events.js.map +1 -0
  219. package/resources/events.mjs +21 -0
  220. package/resources/events.mjs.map +1 -0
  221. package/resources/exports.d.ts +182 -0
  222. package/resources/exports.d.ts.map +1 -0
  223. package/resources/exports.js +32 -0
  224. package/resources/exports.js.map +1 -0
  225. package/resources/exports.mjs +27 -0
  226. package/resources/exports.mjs.map +1 -0
  227. package/resources/external-accounts.d.ts +153 -0
  228. package/resources/external-accounts.d.ts.map +1 -0
  229. package/resources/external-accounts.js +40 -0
  230. package/resources/external-accounts.js.map +1 -0
  231. package/resources/external-accounts.mjs +33 -0
  232. package/resources/external-accounts.mjs.map +1 -0
  233. package/resources/files.d.ts +217 -0
  234. package/resources/files.d.ts.map +1 -0
  235. package/resources/files.js +35 -0
  236. package/resources/files.js.map +1 -0
  237. package/resources/files.mjs +30 -0
  238. package/resources/files.mjs.map +1 -0
  239. package/resources/groups.d.ts +48 -0
  240. package/resources/groups.d.ts.map +1 -0
  241. package/resources/groups.js +16 -0
  242. package/resources/groups.js.map +1 -0
  243. package/resources/groups.mjs +12 -0
  244. package/resources/groups.mjs.map +1 -0
  245. package/resources/inbound-ach-transfer-returns.d.ts +159 -0
  246. package/resources/inbound-ach-transfer-returns.d.ts.map +1 -0
  247. package/resources/inbound-ach-transfer-returns.js +37 -0
  248. package/resources/inbound-ach-transfer-returns.js.map +1 -0
  249. package/resources/inbound-ach-transfer-returns.mjs +30 -0
  250. package/resources/inbound-ach-transfer-returns.mjs.map +1 -0
  251. package/resources/inbound-wire-drawdown-requests.d.ts +133 -0
  252. package/resources/inbound-wire-drawdown-requests.d.ts.map +1 -0
  253. package/resources/inbound-wire-drawdown-requests.js +32 -0
  254. package/resources/inbound-wire-drawdown-requests.js.map +1 -0
  255. package/resources/inbound-wire-drawdown-requests.mjs +26 -0
  256. package/resources/inbound-wire-drawdown-requests.mjs.map +1 -0
  257. package/resources/index.d.ts +200 -0
  258. package/resources/index.d.ts.map +1 -0
  259. package/resources/index.js +569 -0
  260. package/resources/index.js.map +1 -0
  261. package/resources/index.mjs +44 -0
  262. package/resources/index.mjs.map +1 -0
  263. package/resources/limits.d.ts +152 -0
  264. package/resources/limits.d.ts.map +1 -0
  265. package/resources/limits.js +38 -0
  266. package/resources/limits.js.map +1 -0
  267. package/resources/limits.mjs +33 -0
  268. package/resources/limits.mjs.map +1 -0
  269. package/resources/oauth-connections.d.ts +62 -0
  270. package/resources/oauth-connections.d.ts.map +1 -0
  271. package/resources/oauth-connections.js +28 -0
  272. package/resources/oauth-connections.js.map +1 -0
  273. package/resources/oauth-connections.mjs +21 -0
  274. package/resources/oauth-connections.mjs.map +1 -0
  275. package/resources/pending-transactions.d.ts +594 -0
  276. package/resources/pending-transactions.d.ts.map +1 -0
  277. package/resources/pending-transactions.js +28 -0
  278. package/resources/pending-transactions.js.map +1 -0
  279. package/resources/pending-transactions.mjs +21 -0
  280. package/resources/pending-transactions.mjs.map +1 -0
  281. package/resources/programs.d.ts +56 -0
  282. package/resources/programs.d.ts.map +1 -0
  283. package/resources/programs.js +26 -0
  284. package/resources/programs.js.map +1 -0
  285. package/resources/programs.mjs +21 -0
  286. package/resources/programs.mjs.map +1 -0
  287. package/resources/real-time-decisions.d.ts +400 -0
  288. package/resources/real-time-decisions.d.ts.map +1 -0
  289. package/resources/real-time-decisions.js +24 -0
  290. package/resources/real-time-decisions.js.map +1 -0
  291. package/resources/real-time-decisions.mjs +18 -0
  292. package/resources/real-time-decisions.mjs.map +1 -0
  293. package/resources/real-time-payments-transfers.d.ts +363 -0
  294. package/resources/real-time-payments-transfers.d.ts.map +1 -0
  295. package/resources/real-time-payments-transfers.js +37 -0
  296. package/resources/real-time-payments-transfers.js.map +1 -0
  297. package/resources/real-time-payments-transfers.mjs +30 -0
  298. package/resources/real-time-payments-transfers.mjs.map +1 -0
  299. package/resources/routing-numbers.d.ts +67 -0
  300. package/resources/routing-numbers.d.ts.map +1 -0
  301. package/resources/routing-numbers.js +22 -0
  302. package/resources/routing-numbers.js.map +1 -0
  303. package/resources/routing-numbers.mjs +17 -0
  304. package/resources/routing-numbers.mjs.map +1 -0
  305. package/resources/shared.d.ts +29 -0
  306. package/resources/shared.d.ts.map +1 -0
  307. package/resources/shared.js.map +1 -0
  308. package/resources/shared.mjs +3 -0
  309. package/resources/shared.mjs.map +1 -0
  310. package/resources/simulations/account-statements.d.ts +24 -0
  311. package/resources/simulations/account-statements.d.ts.map +1 -0
  312. package/resources/simulations/account-statements.js +19 -0
  313. package/resources/simulations/account-statements.js.map +1 -0
  314. package/resources/simulations/account-statements.mjs +13 -0
  315. package/resources/simulations/account-statements.mjs.map +1 -0
  316. package/resources/simulations/account-transfers.d.ts +16 -0
  317. package/resources/simulations/account-transfers.d.ts.map +1 -0
  318. package/resources/simulations/account-transfers.js +18 -0
  319. package/resources/simulations/account-transfers.js.map +1 -0
  320. package/resources/simulations/account-transfers.mjs +14 -0
  321. package/resources/simulations/account-transfers.mjs.map +1 -0
  322. package/resources/simulations/ach-transfers.d.ts +2439 -0
  323. package/resources/simulations/ach-transfers.d.ts.map +1 -0
  324. package/resources/simulations/ach-transfers.js +40 -0
  325. package/resources/simulations/ach-transfers.js.map +1 -0
  326. package/resources/simulations/ach-transfers.mjs +36 -0
  327. package/resources/simulations/ach-transfers.mjs.map +1 -0
  328. package/resources/simulations/card-disputes.d.ts +35 -0
  329. package/resources/simulations/card-disputes.d.ts.map +1 -0
  330. package/resources/simulations/card-disputes.js +19 -0
  331. package/resources/simulations/card-disputes.js.map +1 -0
  332. package/resources/simulations/card-disputes.mjs +15 -0
  333. package/resources/simulations/card-disputes.mjs.map +1 -0
  334. package/resources/simulations/card-profiles.d.ts +17 -0
  335. package/resources/simulations/card-profiles.d.ts.map +1 -0
  336. package/resources/simulations/card-profiles.js +19 -0
  337. package/resources/simulations/card-profiles.js.map +1 -0
  338. package/resources/simulations/card-profiles.mjs +15 -0
  339. package/resources/simulations/card-profiles.mjs.map +1 -0
  340. package/resources/simulations/card-refunds.d.ts +25 -0
  341. package/resources/simulations/card-refunds.d.ts.map +1 -0
  342. package/resources/simulations/card-refunds.js +17 -0
  343. package/resources/simulations/card-refunds.js.map +1 -0
  344. package/resources/simulations/card-refunds.mjs +13 -0
  345. package/resources/simulations/card-refunds.mjs.map +1 -0
  346. package/resources/simulations/cards.d.ts +1180 -0
  347. package/resources/simulations/cards.d.ts.map +1 -0
  348. package/resources/simulations/cards.js +32 -0
  349. package/resources/simulations/cards.js.map +1 -0
  350. package/resources/simulations/cards.mjs +28 -0
  351. package/resources/simulations/cards.mjs.map +1 -0
  352. package/resources/simulations/check-deposits.d.ts +31 -0
  353. package/resources/simulations/check-deposits.d.ts.map +1 -0
  354. package/resources/simulations/check-deposits.js +31 -0
  355. package/resources/simulations/check-deposits.js.map +1 -0
  356. package/resources/simulations/check-deposits.mjs +27 -0
  357. package/resources/simulations/check-deposits.mjs.map +1 -0
  358. package/resources/simulations/check-transfers.d.ts +23 -0
  359. package/resources/simulations/check-transfers.d.ts.map +1 -0
  360. package/resources/simulations/check-transfers.js +24 -0
  361. package/resources/simulations/check-transfers.js.map +1 -0
  362. package/resources/simulations/check-transfers.mjs +20 -0
  363. package/resources/simulations/check-transfers.mjs.map +1 -0
  364. package/resources/simulations/digital-wallet-token-requests.d.ts +56 -0
  365. package/resources/simulations/digital-wallet-token-requests.d.ts.map +1 -0
  366. package/resources/simulations/digital-wallet-token-requests.js +20 -0
  367. package/resources/simulations/digital-wallet-token-requests.js.map +1 -0
  368. package/resources/simulations/digital-wallet-token-requests.mjs +13 -0
  369. package/resources/simulations/digital-wallet-token-requests.mjs.map +1 -0
  370. package/resources/simulations/documents.d.ts +23 -0
  371. package/resources/simulations/documents.d.ts.map +1 -0
  372. package/resources/simulations/documents.js +16 -0
  373. package/resources/simulations/documents.js.map +1 -0
  374. package/resources/simulations/documents.mjs +12 -0
  375. package/resources/simulations/documents.mjs.map +1 -0
  376. package/resources/simulations/inbound-wire-drawdown-requests.d.ts +106 -0
  377. package/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +1 -0
  378. package/resources/simulations/inbound-wire-drawdown-requests.js +20 -0
  379. package/resources/simulations/inbound-wire-drawdown-requests.js.map +1 -0
  380. package/resources/simulations/inbound-wire-drawdown-requests.mjs +15 -0
  381. package/resources/simulations/inbound-wire-drawdown-requests.mjs.map +1 -0
  382. package/resources/simulations/index.d.ts +39 -0
  383. package/resources/simulations/index.d.ts.map +1 -0
  384. package/resources/simulations/index.js +141 -0
  385. package/resources/simulations/index.js.map +1 -0
  386. package/resources/simulations/index.mjs +19 -0
  387. package/resources/simulations/index.mjs.map +1 -0
  388. package/resources/simulations/interest-payments.d.ts +1591 -0
  389. package/resources/simulations/interest-payments.d.ts.map +1 -0
  390. package/resources/simulations/interest-payments.js +19 -0
  391. package/resources/simulations/interest-payments.js.map +1 -0
  392. package/resources/simulations/interest-payments.mjs +13 -0
  393. package/resources/simulations/interest-payments.mjs.map +1 -0
  394. package/resources/simulations/programs.d.ts +25 -0
  395. package/resources/simulations/programs.d.ts.map +1 -0
  396. package/resources/simulations/programs.js +18 -0
  397. package/resources/simulations/programs.js.map +1 -0
  398. package/resources/simulations/programs.mjs +14 -0
  399. package/resources/simulations/programs.mjs.map +1 -0
  400. package/resources/simulations/real-time-payments-transfers.d.ts +2289 -0
  401. package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -0
  402. package/resources/simulations/real-time-payments-transfers.js +30 -0
  403. package/resources/simulations/real-time-payments-transfers.js.map +1 -0
  404. package/resources/simulations/real-time-payments-transfers.mjs +24 -0
  405. package/resources/simulations/real-time-payments-transfers.mjs.map +1 -0
  406. package/resources/simulations/simulations.d.ts +76 -0
  407. package/resources/simulations/simulations.d.ts.map +1 -0
  408. package/resources/simulations/simulations.js +109 -0
  409. package/resources/simulations/simulations.js.map +1 -0
  410. package/resources/simulations/simulations.mjs +59 -0
  411. package/resources/simulations/simulations.mjs.map +1 -0
  412. package/resources/simulations/wire-transfers.d.ts +1657 -0
  413. package/resources/simulations/wire-transfers.d.ts.map +1 -0
  414. package/resources/simulations/wire-transfers.js +16 -0
  415. package/resources/simulations/wire-transfers.js.map +1 -0
  416. package/resources/simulations/wire-transfers.mjs +12 -0
  417. package/resources/simulations/wire-transfers.mjs.map +1 -0
  418. package/resources/transactions.d.ts +1646 -0
  419. package/resources/transactions.d.ts.map +1 -0
  420. package/resources/transactions.js +26 -0
  421. package/resources/transactions.js.map +1 -0
  422. package/resources/transactions.mjs +21 -0
  423. package/resources/transactions.mjs.map +1 -0
  424. package/resources/wire-drawdown-requests.d.ts +169 -0
  425. package/resources/wire-drawdown-requests.d.ts.map +1 -0
  426. package/resources/wire-drawdown-requests.js +34 -0
  427. package/resources/wire-drawdown-requests.js.map +1 -0
  428. package/resources/wire-drawdown-requests.mjs +27 -0
  429. package/resources/wire-drawdown-requests.mjs.map +1 -0
  430. package/resources/wire-transfers.d.ts +370 -0
  431. package/resources/wire-transfers.d.ts.map +1 -0
  432. package/resources/wire-transfers.js +61 -0
  433. package/resources/wire-transfers.js.map +1 -0
  434. package/resources/wire-transfers.mjs +56 -0
  435. package/resources/wire-transfers.mjs.map +1 -0
  436. package/src/_shims/agent.node.ts +22 -0
  437. package/src/_shims/agent.ts +12 -0
  438. package/src/_shims/fetch.d.ts +52 -0
  439. package/src/_shims/fetch.js +13 -0
  440. package/src/_shims/fetch.mjs +15 -0
  441. package/src/_shims/fetch.node.d.ts +53 -0
  442. package/src/_shims/fetch.node.js +12 -0
  443. package/src/_shims/fetch.node.mjs +14 -0
  444. package/src/_shims/fileFromPath.node.ts +29 -0
  445. package/src/_shims/fileFromPath.ts +29 -0
  446. package/src/_shims/formdata.d.ts +43 -0
  447. package/src/_shims/formdata.js +9 -0
  448. package/src/_shims/formdata.mjs +11 -0
  449. package/src/_shims/formdata.node.d.ts +44 -0
  450. package/src/_shims/formdata.node.js +11 -0
  451. package/src/_shims/formdata.node.mjs +9 -0
  452. package/src/_shims/getMultipartRequestOptions.node.ts +25 -0
  453. package/src/_shims/getMultipartRequestOptions.ts +14 -0
  454. package/src/_shims/node-readable.node.ts +10 -0
  455. package/src/_shims/node-readable.ts +30 -0
  456. package/src/core.ts +783 -0
  457. package/src/index.ts +443 -0
  458. package/src/resources/account-numbers.ts +193 -0
  459. package/src/resources/account-statements.ts +140 -0
  460. package/src/resources/account-transfers.ts +273 -0
  461. package/src/resources/accounts.ts +228 -0
  462. package/src/resources/ach-prenotifications.ts +269 -0
  463. package/src/resources/ach-transfers.ts +732 -0
  464. package/src/resources/balance-lookups.ts +63 -0
  465. package/src/resources/bookkeeping-accounts.ts +114 -0
  466. package/src/resources/bookkeeping-entries.ts +71 -0
  467. package/src/resources/bookkeeping-entry-sets.ts +106 -0
  468. package/src/resources/card-disputes.ts +210 -0
  469. package/src/resources/card-profiles.ts +266 -0
  470. package/src/resources/cards.ts +445 -0
  471. package/src/resources/check-deposits.ts +385 -0
  472. package/src/resources/check-transfers.ts +556 -0
  473. package/src/resources/declined-transactions.ts +764 -0
  474. package/src/resources/digital-wallet-tokens.ts +132 -0
  475. package/src/resources/documents.ts +134 -0
  476. package/src/resources/entities/entities.ts +2025 -0
  477. package/src/resources/entities/supplemental-documents.ts +81 -0
  478. package/src/resources/event-subscriptions.ts +408 -0
  479. package/src/resources/events.ts +302 -0
  480. package/src/resources/exports.ts +225 -0
  481. package/src/resources/external-accounts.ts +193 -0
  482. package/src/resources/files.ts +255 -0
  483. package/src/resources/groups.ts +58 -0
  484. package/src/resources/inbound-ach-transfer-returns.ts +194 -0
  485. package/src/resources/inbound-wire-drawdown-requests.ts +176 -0
  486. package/src/resources/index.ts +194 -0
  487. package/src/resources/limits.ts +190 -0
  488. package/src/resources/oauth-connections.ts +85 -0
  489. package/src/resources/pending-transactions.ts +688 -0
  490. package/src/resources/programs.ts +79 -0
  491. package/src/resources/real-time-decisions.ts +456 -0
  492. package/src/resources/real-time-payments-transfers.ts +428 -0
  493. package/src/resources/routing-numbers.ts +80 -0
  494. package/src/resources/shared.ts +30 -0
  495. package/src/resources/simulations/account-statements.ts +30 -0
  496. package/src/resources/simulations/account-transfers.ts +20 -0
  497. package/src/resources/simulations/ach-transfers.ts +2826 -0
  498. package/src/resources/simulations/card-disputes.ts +42 -0
  499. package/src/resources/simulations/card-profiles.ts +21 -0
  500. package/src/resources/simulations/card-refunds.ts +31 -0
  501. package/src/resources/simulations/cards.ts +1372 -0
  502. package/src/resources/simulations/check-deposits.ts +41 -0
  503. package/src/resources/simulations/check-transfers.ts +30 -0
  504. package/src/resources/simulations/digital-wallet-token-requests.ts +65 -0
  505. package/src/resources/simulations/documents.ts +29 -0
  506. package/src/resources/simulations/inbound-wire-drawdown-requests.ts +131 -0
  507. package/src/resources/simulations/index.ts +40 -0
  508. package/src/resources/simulations/interest-payments.ts +1858 -0
  509. package/src/resources/simulations/programs.ts +31 -0
  510. package/src/resources/simulations/real-time-payments-transfers.ts +2677 -0
  511. package/src/resources/simulations/simulations.ts +94 -0
  512. package/src/resources/simulations/wire-transfers.ts +1937 -0
  513. package/src/resources/transactions.ts +1930 -0
  514. package/src/resources/wire-drawdown-requests.ts +215 -0
  515. package/src/resources/wire-transfers.ts +462 -0
  516. package/src/streaming.ts +204 -0
  517. package/src/uploads.ts +248 -0
  518. package/src/version.ts +1 -0
  519. package/streaming.d.ts +14 -0
  520. package/streaming.d.ts.map +1 -0
  521. package/streaming.js +155 -0
  522. package/streaming.js.map +1 -0
  523. package/streaming.mjs +151 -0
  524. package/streaming.mjs.map +1 -0
  525. package/uploads.d.ts +90 -0
  526. package/uploads.d.ts.map +1 -0
  527. package/uploads.js +207 -0
  528. package/uploads.js.map +1 -0
  529. package/uploads.mjs +174 -0
  530. package/uploads.mjs.map +1 -0
  531. package/version.d.ts +2 -0
  532. package/version.d.ts.map +1 -0
  533. package/version.js +5 -0
  534. package/version.js.map +1 -0
  535. package/version.mjs +2 -0
  536. package/version.mjs.map +1 -0
  537. package/CHANGELOG.md +0 -171
  538. package/LICENSE +0 -201
  539. package/README.md +0 -240
  540. package/_shims/agent.node.ts +0 -20
  541. package/_shims/agent.ts +0 -12
  542. package/_shims/fetch.node.ts +0 -11
  543. package/_shims/fetch.ts +0 -32
  544. package/_shims/fileFromPath.node.ts +0 -30
  545. package/_shims/fileFromPath.ts +0 -30
  546. package/_shims/formdata.ts +0 -22
  547. package/_shims/getMultipartRequestOptions.node.ts +0 -24
  548. package/_shims/getMultipartRequestOptions.ts +0 -13
  549. package/_shims/newFileArgs.ts +0 -94
  550. package/_shims/toFile.node.ts +0 -25
  551. package/_shims/toFile.ts +0 -26
  552. package/_shims/uploadable.node.ts +0 -21
  553. package/_shims/uploadable.ts +0 -82
  554. package/check-version.ts +0 -18
  555. package/core.ts +0 -761
  556. package/dist/cjs/_shims/agent.d.ts +0 -9
  557. package/dist/cjs/_shims/agent.d.ts.map +0 -1
  558. package/dist/cjs/_shims/agent.js.map +0 -1
  559. package/dist/cjs/_shims/agent.node.d.ts +0 -6
  560. package/dist/cjs/_shims/agent.node.d.ts.map +0 -1
  561. package/dist/cjs/_shims/agent.node.js.map +0 -1
  562. package/dist/cjs/_shims/fetch.d.ts +0 -19
  563. package/dist/cjs/_shims/fetch.d.ts.map +0 -1
  564. package/dist/cjs/_shims/fetch.js +0 -24
  565. package/dist/cjs/_shims/fetch.js.map +0 -1
  566. package/dist/cjs/_shims/fetch.node.d.ts +0 -9
  567. package/dist/cjs/_shims/fetch.node.d.ts.map +0 -1
  568. package/dist/cjs/_shims/fetch.node.js +0 -68
  569. package/dist/cjs/_shims/fetch.node.js.map +0 -1
  570. package/dist/cjs/_shims/fileFromPath.d.ts +0 -23
  571. package/dist/cjs/_shims/fileFromPath.d.ts.map +0 -1
  572. package/dist/cjs/_shims/fileFromPath.js +0 -49
  573. package/dist/cjs/_shims/fileFromPath.js.map +0 -1
  574. package/dist/cjs/_shims/fileFromPath.node.d.ts +0 -18
  575. package/dist/cjs/_shims/fileFromPath.node.d.ts.map +0 -1
  576. package/dist/cjs/_shims/fileFromPath.node.js +0 -50
  577. package/dist/cjs/_shims/fileFromPath.node.js.map +0 -1
  578. package/dist/cjs/_shims/formdata.d.ts +0 -13
  579. package/dist/cjs/_shims/formdata.d.ts.map +0 -1
  580. package/dist/cjs/_shims/formdata.js +0 -20
  581. package/dist/cjs/_shims/formdata.js.map +0 -1
  582. package/dist/cjs/_shims/formdata.node.d.ts +0 -7
  583. package/dist/cjs/_shims/formdata.node.d.ts.map +0 -1
  584. package/dist/cjs/_shims/formdata.node.js +0 -27
  585. package/dist/cjs/_shims/formdata.node.js.map +0 -1
  586. package/dist/cjs/_shims/getMultipartRequestOptions.d.ts +0 -10
  587. package/dist/cjs/_shims/getMultipartRequestOptions.d.ts.map +0 -1
  588. package/dist/cjs/_shims/getMultipartRequestOptions.js +0 -44
  589. package/dist/cjs/_shims/getMultipartRequestOptions.js.map +0 -1
  590. package/dist/cjs/_shims/getMultipartRequestOptions.node.d.ts +0 -10
  591. package/dist/cjs/_shims/getMultipartRequestOptions.node.d.ts.map +0 -1
  592. package/dist/cjs/_shims/getMultipartRequestOptions.node.js +0 -52
  593. package/dist/cjs/_shims/getMultipartRequestOptions.node.js.map +0 -1
  594. package/dist/cjs/_shims/newFileArgs.d.ts +0 -19
  595. package/dist/cjs/_shims/newFileArgs.d.ts.map +0 -1
  596. package/dist/cjs/_shims/newFileArgs.js +0 -169
  597. package/dist/cjs/_shims/newFileArgs.js.map +0 -1
  598. package/dist/cjs/_shims/toFile.d.ts +0 -21
  599. package/dist/cjs/_shims/toFile.d.ts.map +0 -1
  600. package/dist/cjs/_shims/toFile.js +0 -56
  601. package/dist/cjs/_shims/toFile.js.map +0 -1
  602. package/dist/cjs/_shims/toFile.node.d.ts +0 -20
  603. package/dist/cjs/_shims/toFile.node.d.ts.map +0 -1
  604. package/dist/cjs/_shims/toFile.node.js +0 -56
  605. package/dist/cjs/_shims/toFile.node.js.map +0 -1
  606. package/dist/cjs/_shims/uploadable.d.ts +0 -56
  607. package/dist/cjs/_shims/uploadable.d.ts.map +0 -1
  608. package/dist/cjs/_shims/uploadable.js +0 -37
  609. package/dist/cjs/_shims/uploadable.js.map +0 -1
  610. package/dist/cjs/_shims/uploadable.node.d.ts +0 -7
  611. package/dist/cjs/_shims/uploadable.node.d.ts.map +0 -1
  612. package/dist/cjs/_shims/uploadable.node.js +0 -23
  613. package/dist/cjs/_shims/uploadable.node.js.map +0 -1
  614. package/dist/cjs/check-version.d.ts +0 -2
  615. package/dist/cjs/check-version.d.ts.map +0 -1
  616. package/dist/cjs/check-version.js +0 -23
  617. package/dist/cjs/check-version.js.map +0 -1
  618. package/dist/cjs/core.d.ts +0 -221
  619. package/dist/cjs/core.d.ts.map +0 -1
  620. package/dist/cjs/core.js +0 -825
  621. package/dist/cjs/core.js.map +0 -1
  622. package/dist/cjs/error.d.ts +0 -208
  623. package/dist/cjs/error.d.ts.map +0 -1
  624. package/dist/cjs/error.js +0 -326
  625. package/dist/cjs/error.js.map +0 -1
  626. package/dist/cjs/index.d.ts +0 -301
  627. package/dist/cjs/index.d.ts.map +0 -1
  628. package/dist/cjs/index.js +0 -281
  629. package/dist/cjs/index.js.map +0 -1
  630. package/dist/cjs/pagination.d.ts +0 -34
  631. package/dist/cjs/pagination.d.ts.map +0 -1
  632. package/dist/cjs/pagination.js +0 -30
  633. package/dist/cjs/pagination.js.map +0 -1
  634. package/dist/cjs/resource.d.ts +0 -12
  635. package/dist/cjs/resource.d.ts.map +0 -1
  636. package/dist/cjs/resource.js.map +0 -1
  637. package/dist/cjs/resources/account-numbers.d.ts +0 -137
  638. package/dist/cjs/resources/account-numbers.d.ts.map +0 -1
  639. package/dist/cjs/resources/account-numbers.js +0 -81
  640. package/dist/cjs/resources/account-numbers.js.map +0 -1
  641. package/dist/cjs/resources/account-statements.d.ts +0 -106
  642. package/dist/cjs/resources/account-statements.d.ts.map +0 -1
  643. package/dist/cjs/resources/account-statements.js +0 -69
  644. package/dist/cjs/resources/account-statements.js.map +0 -1
  645. package/dist/cjs/resources/account-transfers.d.ts +0 -205
  646. package/dist/cjs/resources/account-transfers.d.ts.map +0 -1
  647. package/dist/cjs/resources/account-transfers.js +0 -87
  648. package/dist/cjs/resources/account-transfers.js.map +0 -1
  649. package/dist/cjs/resources/accounts.d.ts +0 -163
  650. package/dist/cjs/resources/accounts.d.ts.map +0 -1
  651. package/dist/cjs/resources/accounts.js +0 -87
  652. package/dist/cjs/resources/accounts.js.map +0 -1
  653. package/dist/cjs/resources/ach-prenotifications.d.ts +0 -199
  654. package/dist/cjs/resources/ach-prenotifications.d.ts.map +0 -1
  655. package/dist/cjs/resources/ach-prenotifications.js +0 -79
  656. package/dist/cjs/resources/ach-prenotifications.js.map +0 -1
  657. package/dist/cjs/resources/ach-transfers.d.ts +0 -461
  658. package/dist/cjs/resources/ach-transfers.d.ts.map +0 -1
  659. package/dist/cjs/resources/ach-transfers.js +0 -87
  660. package/dist/cjs/resources/ach-transfers.js.map +0 -1
  661. package/dist/cjs/resources/balance-lookups.d.ts +0 -52
  662. package/dist/cjs/resources/balance-lookups.d.ts.map +0 -1
  663. package/dist/cjs/resources/balance-lookups.js +0 -16
  664. package/dist/cjs/resources/balance-lookups.js.map +0 -1
  665. package/dist/cjs/resources/bookkeeping-accounts.d.ts +0 -78
  666. package/dist/cjs/resources/bookkeeping-accounts.d.ts.map +0 -1
  667. package/dist/cjs/resources/bookkeeping-accounts.js +0 -73
  668. package/dist/cjs/resources/bookkeeping-accounts.js.map +0 -1
  669. package/dist/cjs/resources/bookkeeping-entries.d.ts +0 -49
  670. package/dist/cjs/resources/bookkeeping-entries.d.ts.map +0 -1
  671. package/dist/cjs/resources/bookkeeping-entries.js +0 -63
  672. package/dist/cjs/resources/bookkeeping-entries.js.map +0 -1
  673. package/dist/cjs/resources/bookkeeping-entry-sets.d.ts +0 -88
  674. package/dist/cjs/resources/bookkeeping-entry-sets.d.ts.map +0 -1
  675. package/dist/cjs/resources/bookkeeping-entry-sets.js +0 -18
  676. package/dist/cjs/resources/bookkeeping-entry-sets.js.map +0 -1
  677. package/dist/cjs/resources/card-disputes.d.ts +0 -160
  678. package/dist/cjs/resources/card-disputes.d.ts.map +0 -1
  679. package/dist/cjs/resources/card-disputes.js +0 -75
  680. package/dist/cjs/resources/card-disputes.js.map +0 -1
  681. package/dist/cjs/resources/card-profiles.d.ts +0 -206
  682. package/dist/cjs/resources/card-profiles.d.ts.map +0 -1
  683. package/dist/cjs/resources/card-profiles.js +0 -75
  684. package/dist/cjs/resources/card-profiles.js.map +0 -1
  685. package/dist/cjs/resources/cards.d.ts +0 -354
  686. package/dist/cjs/resources/cards.d.ts.map +0 -1
  687. package/dist/cjs/resources/cards.js +0 -87
  688. package/dist/cjs/resources/cards.js.map +0 -1
  689. package/dist/cjs/resources/check-deposits.d.ts +0 -263
  690. package/dist/cjs/resources/check-deposits.d.ts.map +0 -1
  691. package/dist/cjs/resources/check-deposits.js +0 -75
  692. package/dist/cjs/resources/check-deposits.js.map +0 -1
  693. package/dist/cjs/resources/check-transfers.d.ts +0 -438
  694. package/dist/cjs/resources/check-transfers.d.ts.map +0 -1
  695. package/dist/cjs/resources/check-transfers.js +0 -93
  696. package/dist/cjs/resources/check-transfers.js.map +0 -1
  697. package/dist/cjs/resources/declined-transactions.d.ts +0 -492
  698. package/dist/cjs/resources/declined-transactions.d.ts.map +0 -1
  699. package/dist/cjs/resources/declined-transactions.js +0 -73
  700. package/dist/cjs/resources/declined-transactions.js.map +0 -1
  701. package/dist/cjs/resources/digital-wallet-tokens.d.ts +0 -92
  702. package/dist/cjs/resources/digital-wallet-tokens.d.ts.map +0 -1
  703. package/dist/cjs/resources/digital-wallet-tokens.js +0 -73
  704. package/dist/cjs/resources/digital-wallet-tokens.js.map +0 -1
  705. package/dist/cjs/resources/documents.d.ts +0 -95
  706. package/dist/cjs/resources/documents.d.ts.map +0 -1
  707. package/dist/cjs/resources/documents.js +0 -69
  708. package/dist/cjs/resources/documents.js.map +0 -1
  709. package/dist/cjs/resources/entities/entities.d.ts +0 -1622
  710. package/dist/cjs/resources/entities/entities.d.ts.map +0 -1
  711. package/dist/cjs/resources/entities/entities.js +0 -82
  712. package/dist/cjs/resources/entities/entities.js.map +0 -1
  713. package/dist/cjs/resources/entities/index.d.ts +0 -9
  714. package/dist/cjs/resources/entities/index.d.ts.map +0 -1
  715. package/dist/cjs/resources/entities/index.js +0 -35
  716. package/dist/cjs/resources/entities/index.js.map +0 -1
  717. package/dist/cjs/resources/entities/supplemental-documents.d.ts +0 -62
  718. package/dist/cjs/resources/entities/supplemental-documents.d.ts.map +0 -1
  719. package/dist/cjs/resources/entities/supplemental-documents.js +0 -72
  720. package/dist/cjs/resources/entities/supplemental-documents.js.map +0 -1
  721. package/dist/cjs/resources/event-subscriptions.d.ts +0 -209
  722. package/dist/cjs/resources/event-subscriptions.d.ts.map +0 -1
  723. package/dist/cjs/resources/event-subscriptions.js +0 -81
  724. package/dist/cjs/resources/event-subscriptions.js.map +0 -1
  725. package/dist/cjs/resources/events.d.ts +0 -195
  726. package/dist/cjs/resources/events.d.ts.map +0 -1
  727. package/dist/cjs/resources/events.js +0 -69
  728. package/dist/cjs/resources/events.js.map +0 -1
  729. package/dist/cjs/resources/exports.d.ts +0 -169
  730. package/dist/cjs/resources/exports.d.ts.map +0 -1
  731. package/dist/cjs/resources/exports.js +0 -75
  732. package/dist/cjs/resources/exports.js.map +0 -1
  733. package/dist/cjs/resources/external-accounts.d.ts +0 -131
  734. package/dist/cjs/resources/external-accounts.d.ts.map +0 -1
  735. package/dist/cjs/resources/external-accounts.js +0 -81
  736. package/dist/cjs/resources/external-accounts.js.map +0 -1
  737. package/dist/cjs/resources/files.d.ts +0 -167
  738. package/dist/cjs/resources/files.d.ts.map +0 -1
  739. package/dist/cjs/resources/files.js +0 -114
  740. package/dist/cjs/resources/files.js.map +0 -1
  741. package/dist/cjs/resources/groups.d.ts +0 -42
  742. package/dist/cjs/resources/groups.d.ts.map +0 -1
  743. package/dist/cjs/resources/groups.js +0 -16
  744. package/dist/cjs/resources/groups.js.map +0 -1
  745. package/dist/cjs/resources/inbound-ach-transfer-returns.d.ts +0 -117
  746. package/dist/cjs/resources/inbound-ach-transfer-returns.d.ts.map +0 -1
  747. package/dist/cjs/resources/inbound-ach-transfer-returns.js +0 -81
  748. package/dist/cjs/resources/inbound-ach-transfer-returns.js.map +0 -1
  749. package/dist/cjs/resources/inbound-wire-drawdown-requests.d.ts +0 -131
  750. package/dist/cjs/resources/inbound-wire-drawdown-requests.d.ts.map +0 -1
  751. package/dist/cjs/resources/inbound-wire-drawdown-requests.js +0 -76
  752. package/dist/cjs/resources/inbound-wire-drawdown-requests.js.map +0 -1
  753. package/dist/cjs/resources/index.d.ts +0 -192
  754. package/dist/cjs/resources/index.d.ts.map +0 -1
  755. package/dist/cjs/resources/index.js +0 -569
  756. package/dist/cjs/resources/index.js.map +0 -1
  757. package/dist/cjs/resources/limits.d.ts +0 -114
  758. package/dist/cjs/resources/limits.d.ts.map +0 -1
  759. package/dist/cjs/resources/limits.js +0 -81
  760. package/dist/cjs/resources/limits.js.map +0 -1
  761. package/dist/cjs/resources/oauth-connections.d.ts +0 -57
  762. package/dist/cjs/resources/oauth-connections.d.ts.map +0 -1
  763. package/dist/cjs/resources/oauth-connections.js +0 -69
  764. package/dist/cjs/resources/oauth-connections.js.map +0 -1
  765. package/dist/cjs/resources/pending-transactions.d.ts +0 -482
  766. package/dist/cjs/resources/pending-transactions.d.ts.map +0 -1
  767. package/dist/cjs/resources/pending-transactions.js +0 -73
  768. package/dist/cjs/resources/pending-transactions.js.map +0 -1
  769. package/dist/cjs/resources/programs.d.ts +0 -54
  770. package/dist/cjs/resources/programs.d.ts.map +0 -1
  771. package/dist/cjs/resources/programs.js +0 -69
  772. package/dist/cjs/resources/programs.js.map +0 -1
  773. package/dist/cjs/resources/real-time-decisions.d.ts +0 -330
  774. package/dist/cjs/resources/real-time-decisions.d.ts.map +0 -1
  775. package/dist/cjs/resources/real-time-decisions.js +0 -24
  776. package/dist/cjs/resources/real-time-decisions.js.map +0 -1
  777. package/dist/cjs/resources/real-time-payments-transfers.d.ts +0 -294
  778. package/dist/cjs/resources/real-time-payments-transfers.d.ts.map +0 -1
  779. package/dist/cjs/resources/real-time-payments-transfers.js +0 -81
  780. package/dist/cjs/resources/real-time-payments-transfers.js.map +0 -1
  781. package/dist/cjs/resources/routing-numbers.d.ts +0 -56
  782. package/dist/cjs/resources/routing-numbers.d.ts.map +0 -1
  783. package/dist/cjs/resources/routing-numbers.js +0 -65
  784. package/dist/cjs/resources/routing-numbers.js.map +0 -1
  785. package/dist/cjs/resources/shared.d.ts +0 -16
  786. package/dist/cjs/resources/shared.d.ts.map +0 -1
  787. package/dist/cjs/resources/shared.js.map +0 -1
  788. package/dist/cjs/resources/simulations/account-statements.d.ts +0 -24
  789. package/dist/cjs/resources/simulations/account-statements.d.ts.map +0 -1
  790. package/dist/cjs/resources/simulations/account-statements.js +0 -19
  791. package/dist/cjs/resources/simulations/account-statements.js.map +0 -1
  792. package/dist/cjs/resources/simulations/account-transfers.d.ts +0 -16
  793. package/dist/cjs/resources/simulations/account-transfers.d.ts.map +0 -1
  794. package/dist/cjs/resources/simulations/account-transfers.js +0 -18
  795. package/dist/cjs/resources/simulations/account-transfers.js.map +0 -1
  796. package/dist/cjs/resources/simulations/ach-transfers.d.ts +0 -1836
  797. package/dist/cjs/resources/simulations/ach-transfers.d.ts.map +0 -1
  798. package/dist/cjs/resources/simulations/ach-transfers.js +0 -40
  799. package/dist/cjs/resources/simulations/ach-transfers.js.map +0 -1
  800. package/dist/cjs/resources/simulations/card-disputes.d.ts +0 -31
  801. package/dist/cjs/resources/simulations/card-disputes.d.ts.map +0 -1
  802. package/dist/cjs/resources/simulations/card-disputes.js +0 -19
  803. package/dist/cjs/resources/simulations/card-disputes.js.map +0 -1
  804. package/dist/cjs/resources/simulations/card-refunds.d.ts +0 -25
  805. package/dist/cjs/resources/simulations/card-refunds.d.ts.map +0 -1
  806. package/dist/cjs/resources/simulations/card-refunds.js +0 -17
  807. package/dist/cjs/resources/simulations/card-refunds.js.map +0 -1
  808. package/dist/cjs/resources/simulations/cards.d.ts +0 -931
  809. package/dist/cjs/resources/simulations/cards.d.ts.map +0 -1
  810. package/dist/cjs/resources/simulations/cards.js +0 -32
  811. package/dist/cjs/resources/simulations/cards.js.map +0 -1
  812. package/dist/cjs/resources/simulations/check-deposits.d.ts +0 -31
  813. package/dist/cjs/resources/simulations/check-deposits.d.ts.map +0 -1
  814. package/dist/cjs/resources/simulations/check-deposits.js +0 -31
  815. package/dist/cjs/resources/simulations/check-deposits.js.map +0 -1
  816. package/dist/cjs/resources/simulations/check-transfers.d.ts +0 -42
  817. package/dist/cjs/resources/simulations/check-transfers.d.ts.map +0 -1
  818. package/dist/cjs/resources/simulations/check-transfers.js +0 -35
  819. package/dist/cjs/resources/simulations/check-transfers.js.map +0 -1
  820. package/dist/cjs/resources/simulations/digital-wallet-token-requests.d.ts +0 -49
  821. package/dist/cjs/resources/simulations/digital-wallet-token-requests.d.ts.map +0 -1
  822. package/dist/cjs/resources/simulations/digital-wallet-token-requests.js +0 -20
  823. package/dist/cjs/resources/simulations/digital-wallet-token-requests.js.map +0 -1
  824. package/dist/cjs/resources/simulations/documents.d.ts +0 -23
  825. package/dist/cjs/resources/simulations/documents.d.ts.map +0 -1
  826. package/dist/cjs/resources/simulations/documents.js +0 -16
  827. package/dist/cjs/resources/simulations/documents.js.map +0 -1
  828. package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.d.ts +0 -106
  829. package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +0 -1
  830. package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.js +0 -20
  831. package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.js.map +0 -1
  832. package/dist/cjs/resources/simulations/index.d.ts +0 -38
  833. package/dist/cjs/resources/simulations/index.d.ts.map +0 -1
  834. package/dist/cjs/resources/simulations/index.js +0 -133
  835. package/dist/cjs/resources/simulations/index.js.map +0 -1
  836. package/dist/cjs/resources/simulations/interest-payments.d.ts +0 -1272
  837. package/dist/cjs/resources/simulations/interest-payments.d.ts.map +0 -1
  838. package/dist/cjs/resources/simulations/interest-payments.js +0 -19
  839. package/dist/cjs/resources/simulations/interest-payments.js.map +0 -1
  840. package/dist/cjs/resources/simulations/programs.d.ts +0 -25
  841. package/dist/cjs/resources/simulations/programs.d.ts.map +0 -1
  842. package/dist/cjs/resources/simulations/programs.js +0 -18
  843. package/dist/cjs/resources/simulations/programs.js.map +0 -1
  844. package/dist/cjs/resources/simulations/real-time-payments-transfers.d.ts +0 -1782
  845. package/dist/cjs/resources/simulations/real-time-payments-transfers.d.ts.map +0 -1
  846. package/dist/cjs/resources/simulations/real-time-payments-transfers.js +0 -30
  847. package/dist/cjs/resources/simulations/real-time-payments-transfers.js.map +0 -1
  848. package/dist/cjs/resources/simulations/simulations.d.ts +0 -74
  849. package/dist/cjs/resources/simulations/simulations.d.ts.map +0 -1
  850. package/dist/cjs/resources/simulations/simulations.js +0 -106
  851. package/dist/cjs/resources/simulations/simulations.js.map +0 -1
  852. package/dist/cjs/resources/simulations/wire-transfers.d.ts +0 -1338
  853. package/dist/cjs/resources/simulations/wire-transfers.d.ts.map +0 -1
  854. package/dist/cjs/resources/simulations/wire-transfers.js +0 -16
  855. package/dist/cjs/resources/simulations/wire-transfers.js.map +0 -1
  856. package/dist/cjs/resources/transactions.d.ts +0 -1326
  857. package/dist/cjs/resources/transactions.d.ts.map +0 -1
  858. package/dist/cjs/resources/transactions.js +0 -69
  859. package/dist/cjs/resources/transactions.js.map +0 -1
  860. package/dist/cjs/resources/wire-drawdown-requests.d.ts +0 -160
  861. package/dist/cjs/resources/wire-drawdown-requests.d.ts.map +0 -1
  862. package/dist/cjs/resources/wire-drawdown-requests.js +0 -79
  863. package/dist/cjs/resources/wire-drawdown-requests.js.map +0 -1
  864. package/dist/cjs/resources/wire-transfers.d.ts +0 -352
  865. package/dist/cjs/resources/wire-transfers.d.ts.map +0 -1
  866. package/dist/cjs/resources/wire-transfers.js +0 -104
  867. package/dist/cjs/resources/wire-transfers.js.map +0 -1
  868. package/dist/cjs/streaming.d.ts +0 -12
  869. package/dist/cjs/streaming.d.ts.map +0 -1
  870. package/dist/cjs/streaming.js +0 -284
  871. package/dist/cjs/streaming.js.map +0 -1
  872. package/dist/cjs/uploads.d.ts +0 -24
  873. package/dist/cjs/uploads.d.ts.map +0 -1
  874. package/dist/cjs/uploads.js +0 -121
  875. package/dist/cjs/uploads.js.map +0 -1
  876. package/dist/cjs/version.d.ts +0 -2
  877. package/dist/cjs/version.d.ts.map +0 -1
  878. package/dist/cjs/version.js +0 -5
  879. package/dist/cjs/version.js.map +0 -1
  880. package/dist/esm/_shims/agent.d.ts +0 -9
  881. package/dist/esm/_shims/agent.d.ts.map +0 -1
  882. package/dist/esm/_shims/agent.js +0 -10
  883. package/dist/esm/_shims/agent.js.map +0 -1
  884. package/dist/esm/_shims/agent.node.d.ts +0 -6
  885. package/dist/esm/_shims/agent.node.d.ts.map +0 -1
  886. package/dist/esm/_shims/agent.node.js +0 -16
  887. package/dist/esm/_shims/agent.node.js.map +0 -1
  888. package/dist/esm/_shims/fetch.d.ts +0 -19
  889. package/dist/esm/_shims/fetch.d.ts.map +0 -1
  890. package/dist/esm/_shims/fetch.js +0 -18
  891. package/dist/esm/_shims/fetch.js.map +0 -1
  892. package/dist/esm/_shims/fetch.node.d.ts +0 -9
  893. package/dist/esm/_shims/fetch.node.d.ts.map +0 -1
  894. package/dist/esm/_shims/fetch.node.js +0 -7
  895. package/dist/esm/_shims/fetch.node.js.map +0 -1
  896. package/dist/esm/_shims/fileFromPath.d.ts +0 -23
  897. package/dist/esm/_shims/fileFromPath.d.ts.map +0 -1
  898. package/dist/esm/_shims/fileFromPath.js +0 -12
  899. package/dist/esm/_shims/fileFromPath.js.map +0 -1
  900. package/dist/esm/_shims/fileFromPath.node.d.ts +0 -18
  901. package/dist/esm/_shims/fileFromPath.node.d.ts.map +0 -1
  902. package/dist/esm/_shims/fileFromPath.node.js +0 -13
  903. package/dist/esm/_shims/fileFromPath.node.js.map +0 -1
  904. package/dist/esm/_shims/formdata.d.ts +0 -13
  905. package/dist/esm/_shims/formdata.d.ts.map +0 -1
  906. package/dist/esm/_shims/formdata.js +0 -15
  907. package/dist/esm/_shims/formdata.js.map +0 -1
  908. package/dist/esm/_shims/formdata.node.d.ts +0 -7
  909. package/dist/esm/_shims/formdata.node.d.ts.map +0 -1
  910. package/dist/esm/_shims/formdata.node.js +0 -7
  911. package/dist/esm/_shims/formdata.node.js.map +0 -1
  912. package/dist/esm/_shims/getMultipartRequestOptions.d.ts.map +0 -1
  913. package/dist/esm/_shims/getMultipartRequestOptions.js +0 -7
  914. package/dist/esm/_shims/getMultipartRequestOptions.js.map +0 -1
  915. package/dist/esm/_shims/getMultipartRequestOptions.node.d.ts.map +0 -1
  916. package/dist/esm/_shims/getMultipartRequestOptions.node.js +0 -17
  917. package/dist/esm/_shims/getMultipartRequestOptions.node.js.map +0 -1
  918. package/dist/esm/_shims/newFileArgs.d.ts +0 -19
  919. package/dist/esm/_shims/newFileArgs.d.ts.map +0 -1
  920. package/dist/esm/_shims/newFileArgs.js +0 -66
  921. package/dist/esm/_shims/newFileArgs.js.map +0 -1
  922. package/dist/esm/_shims/toFile.d.ts +0 -21
  923. package/dist/esm/_shims/toFile.d.ts.map +0 -1
  924. package/dist/esm/_shims/toFile.js +0 -19
  925. package/dist/esm/_shims/toFile.js.map +0 -1
  926. package/dist/esm/_shims/toFile.node.d.ts +0 -20
  927. package/dist/esm/_shims/toFile.node.d.ts.map +0 -1
  928. package/dist/esm/_shims/toFile.node.js +0 -19
  929. package/dist/esm/_shims/toFile.node.js.map +0 -1
  930. package/dist/esm/_shims/uploadable.d.ts +0 -56
  931. package/dist/esm/_shims/uploadable.d.ts.map +0 -1
  932. package/dist/esm/_shims/uploadable.js +0 -30
  933. package/dist/esm/_shims/uploadable.js.map +0 -1
  934. package/dist/esm/_shims/uploadable.node.d.ts +0 -7
  935. package/dist/esm/_shims/uploadable.node.d.ts.map +0 -1
  936. package/dist/esm/_shims/uploadable.node.js +0 -10
  937. package/dist/esm/_shims/uploadable.node.js.map +0 -1
  938. package/dist/esm/check-version.d.ts +0 -2
  939. package/dist/esm/check-version.d.ts.map +0 -1
  940. package/dist/esm/check-version.js +0 -16
  941. package/dist/esm/check-version.js.map +0 -1
  942. package/dist/esm/core.d.ts +0 -221
  943. package/dist/esm/core.d.ts.map +0 -1
  944. package/dist/esm/core.js +0 -556
  945. package/dist/esm/core.js.map +0 -1
  946. package/dist/esm/error.d.ts.map +0 -1
  947. package/dist/esm/error.js +0 -275
  948. package/dist/esm/error.js.map +0 -1
  949. package/dist/esm/index.d.ts +0 -301
  950. package/dist/esm/index.d.ts.map +0 -1
  951. package/dist/esm/index.js +0 -213
  952. package/dist/esm/index.js.map +0 -1
  953. package/dist/esm/package.json +0 -3
  954. package/dist/esm/pagination.d.ts.map +0 -1
  955. package/dist/esm/pagination.js +0 -26
  956. package/dist/esm/pagination.js.map +0 -1
  957. package/dist/esm/resource.d.ts.map +0 -1
  958. package/dist/esm/resource.js +0 -13
  959. package/dist/esm/resource.js.map +0 -1
  960. package/dist/esm/resources/account-numbers.d.ts +0 -137
  961. package/dist/esm/resources/account-numbers.d.ts.map +0 -1
  962. package/dist/esm/resources/account-numbers.js +0 -36
  963. package/dist/esm/resources/account-numbers.js.map +0 -1
  964. package/dist/esm/resources/account-statements.d.ts +0 -106
  965. package/dist/esm/resources/account-statements.d.ts.map +0 -1
  966. package/dist/esm/resources/account-statements.js +0 -24
  967. package/dist/esm/resources/account-statements.js.map +0 -1
  968. package/dist/esm/resources/account-transfers.d.ts +0 -205
  969. package/dist/esm/resources/account-transfers.d.ts.map +0 -1
  970. package/dist/esm/resources/account-transfers.js +0 -42
  971. package/dist/esm/resources/account-transfers.js.map +0 -1
  972. package/dist/esm/resources/accounts.d.ts +0 -163
  973. package/dist/esm/resources/accounts.d.ts.map +0 -1
  974. package/dist/esm/resources/accounts.js +0 -42
  975. package/dist/esm/resources/accounts.js.map +0 -1
  976. package/dist/esm/resources/ach-prenotifications.d.ts +0 -199
  977. package/dist/esm/resources/ach-prenotifications.d.ts.map +0 -1
  978. package/dist/esm/resources/ach-prenotifications.js +0 -30
  979. package/dist/esm/resources/ach-prenotifications.js.map +0 -1
  980. package/dist/esm/resources/ach-transfers.d.ts +0 -461
  981. package/dist/esm/resources/ach-transfers.d.ts.map +0 -1
  982. package/dist/esm/resources/ach-transfers.js +0 -42
  983. package/dist/esm/resources/ach-transfers.js.map +0 -1
  984. package/dist/esm/resources/balance-lookups.d.ts +0 -52
  985. package/dist/esm/resources/balance-lookups.d.ts.map +0 -1
  986. package/dist/esm/resources/balance-lookups.js +0 -12
  987. package/dist/esm/resources/balance-lookups.js.map +0 -1
  988. package/dist/esm/resources/bookkeeping-accounts.d.ts +0 -78
  989. package/dist/esm/resources/bookkeeping-accounts.d.ts.map +0 -1
  990. package/dist/esm/resources/bookkeeping-accounts.js +0 -24
  991. package/dist/esm/resources/bookkeeping-accounts.js.map +0 -1
  992. package/dist/esm/resources/bookkeeping-entries.d.ts +0 -49
  993. package/dist/esm/resources/bookkeeping-entries.d.ts.map +0 -1
  994. package/dist/esm/resources/bookkeeping-entries.js +0 -18
  995. package/dist/esm/resources/bookkeeping-entries.js.map +0 -1
  996. package/dist/esm/resources/bookkeeping-entry-sets.d.ts +0 -88
  997. package/dist/esm/resources/bookkeeping-entry-sets.d.ts.map +0 -1
  998. package/dist/esm/resources/bookkeeping-entry-sets.js +0 -12
  999. package/dist/esm/resources/bookkeeping-entry-sets.js.map +0 -1
  1000. package/dist/esm/resources/card-disputes.d.ts +0 -160
  1001. package/dist/esm/resources/card-disputes.d.ts.map +0 -1
  1002. package/dist/esm/resources/card-disputes.js +0 -30
  1003. package/dist/esm/resources/card-disputes.js.map +0 -1
  1004. package/dist/esm/resources/card-profiles.d.ts +0 -206
  1005. package/dist/esm/resources/card-profiles.d.ts.map +0 -1
  1006. package/dist/esm/resources/card-profiles.js +0 -30
  1007. package/dist/esm/resources/card-profiles.js.map +0 -1
  1008. package/dist/esm/resources/cards.d.ts +0 -354
  1009. package/dist/esm/resources/cards.d.ts.map +0 -1
  1010. package/dist/esm/resources/cards.js +0 -42
  1011. package/dist/esm/resources/cards.js.map +0 -1
  1012. package/dist/esm/resources/check-deposits.d.ts +0 -263
  1013. package/dist/esm/resources/check-deposits.d.ts.map +0 -1
  1014. package/dist/esm/resources/check-deposits.js +0 -30
  1015. package/dist/esm/resources/check-deposits.js.map +0 -1
  1016. package/dist/esm/resources/check-transfers.d.ts +0 -438
  1017. package/dist/esm/resources/check-transfers.d.ts.map +0 -1
  1018. package/dist/esm/resources/check-transfers.js +0 -48
  1019. package/dist/esm/resources/check-transfers.js.map +0 -1
  1020. package/dist/esm/resources/declined-transactions.d.ts +0 -492
  1021. package/dist/esm/resources/declined-transactions.d.ts.map +0 -1
  1022. package/dist/esm/resources/declined-transactions.js +0 -24
  1023. package/dist/esm/resources/declined-transactions.js.map +0 -1
  1024. package/dist/esm/resources/digital-wallet-tokens.d.ts +0 -92
  1025. package/dist/esm/resources/digital-wallet-tokens.d.ts.map +0 -1
  1026. package/dist/esm/resources/digital-wallet-tokens.js +0 -24
  1027. package/dist/esm/resources/digital-wallet-tokens.js.map +0 -1
  1028. package/dist/esm/resources/documents.d.ts +0 -95
  1029. package/dist/esm/resources/documents.d.ts.map +0 -1
  1030. package/dist/esm/resources/documents.js +0 -24
  1031. package/dist/esm/resources/documents.js.map +0 -1
  1032. package/dist/esm/resources/entities/entities.d.ts +0 -1622
  1033. package/dist/esm/resources/entities/entities.d.ts.map +0 -1
  1034. package/dist/esm/resources/entities/entities.js +0 -37
  1035. package/dist/esm/resources/entities/entities.js.map +0 -1
  1036. package/dist/esm/resources/entities/index.d.ts.map +0 -1
  1037. package/dist/esm/resources/entities/index.js +0 -4
  1038. package/dist/esm/resources/entities/index.js.map +0 -1
  1039. package/dist/esm/resources/entities/supplemental-documents.d.ts +0 -62
  1040. package/dist/esm/resources/entities/supplemental-documents.d.ts.map +0 -1
  1041. package/dist/esm/resources/entities/supplemental-documents.js +0 -26
  1042. package/dist/esm/resources/entities/supplemental-documents.js.map +0 -1
  1043. package/dist/esm/resources/event-subscriptions.d.ts +0 -209
  1044. package/dist/esm/resources/event-subscriptions.d.ts.map +0 -1
  1045. package/dist/esm/resources/event-subscriptions.js +0 -36
  1046. package/dist/esm/resources/event-subscriptions.js.map +0 -1
  1047. package/dist/esm/resources/events.d.ts +0 -195
  1048. package/dist/esm/resources/events.d.ts.map +0 -1
  1049. package/dist/esm/resources/events.js +0 -24
  1050. package/dist/esm/resources/events.js.map +0 -1
  1051. package/dist/esm/resources/exports.d.ts +0 -169
  1052. package/dist/esm/resources/exports.d.ts.map +0 -1
  1053. package/dist/esm/resources/exports.js +0 -30
  1054. package/dist/esm/resources/exports.js.map +0 -1
  1055. package/dist/esm/resources/external-accounts.d.ts +0 -131
  1056. package/dist/esm/resources/external-accounts.d.ts.map +0 -1
  1057. package/dist/esm/resources/external-accounts.js +0 -36
  1058. package/dist/esm/resources/external-accounts.js.map +0 -1
  1059. package/dist/esm/resources/files.d.ts +0 -167
  1060. package/dist/esm/resources/files.d.ts.map +0 -1
  1061. package/dist/esm/resources/files.js +0 -33
  1062. package/dist/esm/resources/files.js.map +0 -1
  1063. package/dist/esm/resources/groups.d.ts +0 -42
  1064. package/dist/esm/resources/groups.d.ts.map +0 -1
  1065. package/dist/esm/resources/groups.js +0 -12
  1066. package/dist/esm/resources/groups.js.map +0 -1
  1067. package/dist/esm/resources/inbound-ach-transfer-returns.d.ts +0 -117
  1068. package/dist/esm/resources/inbound-ach-transfer-returns.d.ts.map +0 -1
  1069. package/dist/esm/resources/inbound-ach-transfer-returns.js +0 -33
  1070. package/dist/esm/resources/inbound-ach-transfer-returns.js.map +0 -1
  1071. package/dist/esm/resources/inbound-wire-drawdown-requests.d.ts +0 -131
  1072. package/dist/esm/resources/inbound-wire-drawdown-requests.d.ts.map +0 -1
  1073. package/dist/esm/resources/inbound-wire-drawdown-requests.js +0 -27
  1074. package/dist/esm/resources/inbound-wire-drawdown-requests.js.map +0 -1
  1075. package/dist/esm/resources/index.d.ts +0 -199
  1076. package/dist/esm/resources/index.d.ts.map +0 -1
  1077. package/dist/esm/resources/index.js +0 -44
  1078. package/dist/esm/resources/index.js.map +0 -1
  1079. package/dist/esm/resources/limits.d.ts +0 -114
  1080. package/dist/esm/resources/limits.d.ts.map +0 -1
  1081. package/dist/esm/resources/limits.js +0 -36
  1082. package/dist/esm/resources/limits.js.map +0 -1
  1083. package/dist/esm/resources/oauth-connections.d.ts +0 -57
  1084. package/dist/esm/resources/oauth-connections.d.ts.map +0 -1
  1085. package/dist/esm/resources/oauth-connections.js +0 -24
  1086. package/dist/esm/resources/oauth-connections.js.map +0 -1
  1087. package/dist/esm/resources/pending-transactions.d.ts +0 -482
  1088. package/dist/esm/resources/pending-transactions.d.ts.map +0 -1
  1089. package/dist/esm/resources/pending-transactions.js +0 -24
  1090. package/dist/esm/resources/pending-transactions.js.map +0 -1
  1091. package/dist/esm/resources/programs.d.ts +0 -54
  1092. package/dist/esm/resources/programs.d.ts.map +0 -1
  1093. package/dist/esm/resources/programs.js +0 -24
  1094. package/dist/esm/resources/programs.js.map +0 -1
  1095. package/dist/esm/resources/real-time-decisions.d.ts +0 -330
  1096. package/dist/esm/resources/real-time-decisions.d.ts.map +0 -1
  1097. package/dist/esm/resources/real-time-decisions.js +0 -18
  1098. package/dist/esm/resources/real-time-decisions.js.map +0 -1
  1099. package/dist/esm/resources/real-time-payments-transfers.d.ts +0 -294
  1100. package/dist/esm/resources/real-time-payments-transfers.d.ts.map +0 -1
  1101. package/dist/esm/resources/real-time-payments-transfers.js +0 -33
  1102. package/dist/esm/resources/real-time-payments-transfers.js.map +0 -1
  1103. package/dist/esm/resources/routing-numbers.d.ts +0 -56
  1104. package/dist/esm/resources/routing-numbers.d.ts.map +0 -1
  1105. package/dist/esm/resources/routing-numbers.js +0 -20
  1106. package/dist/esm/resources/routing-numbers.js.map +0 -1
  1107. package/dist/esm/resources/shared.d.ts +0 -16
  1108. package/dist/esm/resources/shared.d.ts.map +0 -1
  1109. package/dist/esm/resources/shared.js +0 -3
  1110. package/dist/esm/resources/shared.js.map +0 -1
  1111. package/dist/esm/resources/simulations/account-statements.d.ts +0 -24
  1112. package/dist/esm/resources/simulations/account-statements.d.ts.map +0 -1
  1113. package/dist/esm/resources/simulations/account-statements.js +0 -13
  1114. package/dist/esm/resources/simulations/account-statements.js.map +0 -1
  1115. package/dist/esm/resources/simulations/account-transfers.d.ts +0 -16
  1116. package/dist/esm/resources/simulations/account-transfers.d.ts.map +0 -1
  1117. package/dist/esm/resources/simulations/account-transfers.js +0 -14
  1118. package/dist/esm/resources/simulations/account-transfers.js.map +0 -1
  1119. package/dist/esm/resources/simulations/ach-transfers.d.ts +0 -1836
  1120. package/dist/esm/resources/simulations/ach-transfers.d.ts.map +0 -1
  1121. package/dist/esm/resources/simulations/ach-transfers.js +0 -36
  1122. package/dist/esm/resources/simulations/ach-transfers.js.map +0 -1
  1123. package/dist/esm/resources/simulations/card-disputes.d.ts +0 -31
  1124. package/dist/esm/resources/simulations/card-disputes.d.ts.map +0 -1
  1125. package/dist/esm/resources/simulations/card-disputes.js +0 -15
  1126. package/dist/esm/resources/simulations/card-disputes.js.map +0 -1
  1127. package/dist/esm/resources/simulations/card-refunds.d.ts +0 -25
  1128. package/dist/esm/resources/simulations/card-refunds.d.ts.map +0 -1
  1129. package/dist/esm/resources/simulations/card-refunds.js +0 -13
  1130. package/dist/esm/resources/simulations/card-refunds.js.map +0 -1
  1131. package/dist/esm/resources/simulations/cards.d.ts +0 -931
  1132. package/dist/esm/resources/simulations/cards.d.ts.map +0 -1
  1133. package/dist/esm/resources/simulations/cards.js +0 -28
  1134. package/dist/esm/resources/simulations/cards.js.map +0 -1
  1135. package/dist/esm/resources/simulations/check-deposits.d.ts +0 -31
  1136. package/dist/esm/resources/simulations/check-deposits.d.ts.map +0 -1
  1137. package/dist/esm/resources/simulations/check-deposits.js +0 -27
  1138. package/dist/esm/resources/simulations/check-deposits.js.map +0 -1
  1139. package/dist/esm/resources/simulations/check-transfers.d.ts +0 -42
  1140. package/dist/esm/resources/simulations/check-transfers.d.ts.map +0 -1
  1141. package/dist/esm/resources/simulations/check-transfers.js +0 -28
  1142. package/dist/esm/resources/simulations/check-transfers.js.map +0 -1
  1143. package/dist/esm/resources/simulations/digital-wallet-token-requests.d.ts +0 -49
  1144. package/dist/esm/resources/simulations/digital-wallet-token-requests.d.ts.map +0 -1
  1145. package/dist/esm/resources/simulations/digital-wallet-token-requests.js +0 -13
  1146. package/dist/esm/resources/simulations/digital-wallet-token-requests.js.map +0 -1
  1147. package/dist/esm/resources/simulations/documents.d.ts +0 -23
  1148. package/dist/esm/resources/simulations/documents.d.ts.map +0 -1
  1149. package/dist/esm/resources/simulations/documents.js +0 -12
  1150. package/dist/esm/resources/simulations/documents.js.map +0 -1
  1151. package/dist/esm/resources/simulations/inbound-wire-drawdown-requests.d.ts +0 -106
  1152. package/dist/esm/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +0 -1
  1153. package/dist/esm/resources/simulations/inbound-wire-drawdown-requests.js +0 -15
  1154. package/dist/esm/resources/simulations/inbound-wire-drawdown-requests.js.map +0 -1
  1155. package/dist/esm/resources/simulations/index.d.ts +0 -38
  1156. package/dist/esm/resources/simulations/index.d.ts.map +0 -1
  1157. package/dist/esm/resources/simulations/index.js +0 -18
  1158. package/dist/esm/resources/simulations/index.js.map +0 -1
  1159. package/dist/esm/resources/simulations/interest-payments.d.ts +0 -1272
  1160. package/dist/esm/resources/simulations/interest-payments.d.ts.map +0 -1
  1161. package/dist/esm/resources/simulations/interest-payments.js +0 -13
  1162. package/dist/esm/resources/simulations/interest-payments.js.map +0 -1
  1163. package/dist/esm/resources/simulations/programs.d.ts +0 -25
  1164. package/dist/esm/resources/simulations/programs.d.ts.map +0 -1
  1165. package/dist/esm/resources/simulations/programs.js +0 -14
  1166. package/dist/esm/resources/simulations/programs.js.map +0 -1
  1167. package/dist/esm/resources/simulations/real-time-payments-transfers.d.ts +0 -1782
  1168. package/dist/esm/resources/simulations/real-time-payments-transfers.d.ts.map +0 -1
  1169. package/dist/esm/resources/simulations/real-time-payments-transfers.js +0 -24
  1170. package/dist/esm/resources/simulations/real-time-payments-transfers.js.map +0 -1
  1171. package/dist/esm/resources/simulations/simulations.d.ts +0 -74
  1172. package/dist/esm/resources/simulations/simulations.d.ts.map +0 -1
  1173. package/dist/esm/resources/simulations/simulations.js +0 -56
  1174. package/dist/esm/resources/simulations/simulations.js.map +0 -1
  1175. package/dist/esm/resources/simulations/wire-transfers.d.ts +0 -1338
  1176. package/dist/esm/resources/simulations/wire-transfers.d.ts.map +0 -1
  1177. package/dist/esm/resources/simulations/wire-transfers.js +0 -12
  1178. package/dist/esm/resources/simulations/wire-transfers.js.map +0 -1
  1179. package/dist/esm/resources/transactions.d.ts +0 -1326
  1180. package/dist/esm/resources/transactions.d.ts.map +0 -1
  1181. package/dist/esm/resources/transactions.js +0 -24
  1182. package/dist/esm/resources/transactions.js.map +0 -1
  1183. package/dist/esm/resources/wire-drawdown-requests.d.ts +0 -160
  1184. package/dist/esm/resources/wire-drawdown-requests.d.ts.map +0 -1
  1185. package/dist/esm/resources/wire-drawdown-requests.js +0 -30
  1186. package/dist/esm/resources/wire-drawdown-requests.js.map +0 -1
  1187. package/dist/esm/resources/wire-transfers.d.ts +0 -352
  1188. package/dist/esm/resources/wire-transfers.d.ts.map +0 -1
  1189. package/dist/esm/resources/wire-transfers.js +0 -59
  1190. package/dist/esm/resources/wire-transfers.js.map +0 -1
  1191. package/dist/esm/streaming.d.ts +0 -12
  1192. package/dist/esm/streaming.d.ts.map +0 -1
  1193. package/dist/esm/streaming.js +0 -150
  1194. package/dist/esm/streaming.js.map +0 -1
  1195. package/dist/esm/uploads.d.ts +0 -24
  1196. package/dist/esm/uploads.d.ts.map +0 -1
  1197. package/dist/esm/uploads.js +0 -61
  1198. package/dist/esm/uploads.js.map +0 -1
  1199. package/dist/esm/version.d.ts +0 -2
  1200. package/dist/esm/version.d.ts.map +0 -1
  1201. package/dist/esm/version.js +0 -2
  1202. package/dist/esm/version.js.map +0 -1
  1203. package/index.ts +0 -388
  1204. package/resources/account-numbers.ts +0 -179
  1205. package/resources/account-statements.ts +0 -138
  1206. package/resources/account-transfers.ts +0 -260
  1207. package/resources/accounts.ts +0 -213
  1208. package/resources/ach-prenotifications.ts +0 -252
  1209. package/resources/ach-transfers.ts +0 -553
  1210. package/resources/balance-lookups.ts +0 -63
  1211. package/resources/bookkeeping-accounts.ts +0 -106
  1212. package/resources/bookkeeping-entries.ts +0 -69
  1213. package/resources/bookkeeping-entry-sets.ts +0 -106
  1214. package/resources/card-disputes.ts +0 -203
  1215. package/resources/card-profiles.ts +0 -258
  1216. package/resources/cards.ts +0 -435
  1217. package/resources/check-deposits.ts +0 -324
  1218. package/resources/check-transfers.ts +0 -541
  1219. package/resources/declined-transactions.ts +0 -623
  1220. package/resources/digital-wallet-tokens.ts +0 -121
  1221. package/resources/documents.ts +0 -126
  1222. package/resources/entities/entities.ts +0 -1913
  1223. package/resources/entities/supplemental-documents.ts +0 -79
  1224. package/resources/event-subscriptions.ts +0 -244
  1225. package/resources/events.ts +0 -226
  1226. package/resources/exports.ts +0 -212
  1227. package/resources/external-accounts.ts +0 -171
  1228. package/resources/files.ts +0 -205
  1229. package/resources/groups.ts +0 -52
  1230. package/resources/inbound-ach-transfer-returns.ts +0 -152
  1231. package/resources/inbound-wire-drawdown-requests.ts +0 -174
  1232. package/resources/index.ts +0 -193
  1233. package/resources/limits.ts +0 -152
  1234. package/resources/oauth-connections.ts +0 -80
  1235. package/resources/pending-transactions.ts +0 -576
  1236. package/resources/programs.ts +0 -77
  1237. package/resources/real-time-decisions.ts +0 -386
  1238. package/resources/real-time-payments-transfers.ts +0 -359
  1239. package/resources/routing-numbers.ts +0 -69
  1240. package/resources/shared.ts +0 -17
  1241. package/resources/simulations/account-statements.ts +0 -30
  1242. package/resources/simulations/account-transfers.ts +0 -20
  1243. package/resources/simulations/ach-transfers.ts +0 -2226
  1244. package/resources/simulations/card-disputes.ts +0 -38
  1245. package/resources/simulations/card-refunds.ts +0 -31
  1246. package/resources/simulations/cards.ts +0 -1123
  1247. package/resources/simulations/check-deposits.ts +0 -41
  1248. package/resources/simulations/check-transfers.ts +0 -54
  1249. package/resources/simulations/digital-wallet-token-requests.ts +0 -58
  1250. package/resources/simulations/documents.ts +0 -29
  1251. package/resources/simulations/inbound-wire-drawdown-requests.ts +0 -131
  1252. package/resources/simulations/index.ts +0 -39
  1253. package/resources/simulations/interest-payments.ts +0 -1542
  1254. package/resources/simulations/programs.ts +0 -31
  1255. package/resources/simulations/real-time-payments-transfers.ts +0 -2173
  1256. package/resources/simulations/simulations.ts +0 -91
  1257. package/resources/simulations/wire-transfers.ts +0 -1621
  1258. package/resources/transactions.ts +0 -1613
  1259. package/resources/wire-drawdown-requests.ts +0 -206
  1260. package/resources/wire-transfers.ts +0 -444
  1261. package/streaming.ts +0 -201
  1262. package/uploads.ts +0 -81
  1263. package/version.ts +0 -1
  1264. /package/{dist/cjs/_shims → _shims}/agent.js +0 -0
  1265. /package/{dist/cjs/_shims → _shims}/agent.node.js +0 -0
  1266. /package/_shims/{formdata.node.ts → formdata.node.mjs} +0 -0
  1267. /package/{dist/esm/_shims → _shims}/getMultipartRequestOptions.d.ts +0 -0
  1268. /package/{dist/esm/_shims → _shims}/getMultipartRequestOptions.node.d.ts +0 -0
  1269. /package/{dist/esm/error.d.ts → error.d.ts} +0 -0
  1270. /package/{dist/esm/pagination.d.ts → pagination.d.ts} +0 -0
  1271. /package/{dist/esm/resource.d.ts → resource.d.ts} +0 -0
  1272. /package/{dist/cjs/resource.js → resource.js} +0 -0
  1273. /package/{dist/esm/resources → resources}/entities/index.d.ts +0 -0
  1274. /package/{dist/cjs/resources → resources}/shared.js +0 -0
  1275. /package/{error.ts → src/error.ts} +0 -0
  1276. /package/{pagination.ts → src/pagination.ts} +0 -0
  1277. /package/{resource.ts → src/resource.ts} +0 -0
  1278. /package/{resources → src/resources}/entities/index.ts +0 -0
@@ -0,0 +1,2289 @@
1
+ import * as Core from 'increase/core';
2
+ import { APIResource } from 'increase/resource';
3
+ import * as RealTimePaymentsTransfers_ from 'increase/resources/real-time-payments-transfers';
4
+ import * as Shared from 'increase/resources/shared';
5
+ import * as API from './index.js';
6
+ export declare class RealTimePaymentsTransfers extends APIResource {
7
+ /**
8
+ * Simulates submission of a Real Time Payments transfer and handling the response
9
+ * from the destination financial institution. This transfer must first have a
10
+ * `status` of `pending_submission`.
11
+ */
12
+ complete(
13
+ realTimePaymentsTransferId: string,
14
+ body: RealTimePaymentsTransferCompleteParams,
15
+ options?: Core.RequestOptions,
16
+ ): Promise<Core.APIResponse<RealTimePaymentsTransfers_.RealTimePaymentsTransfer>>;
17
+ /**
18
+ * Simulates an inbound Real Time Payments transfer to your account. Real Time
19
+ * Payments are a beta feature.
20
+ */
21
+ createInbound(
22
+ body: RealTimePaymentsTransferCreateInboundParams,
23
+ options?: Core.RequestOptions,
24
+ ): Promise<Core.APIResponse<InboundRealTimePaymentsTransferSimulationResult>>;
25
+ }
26
+ /**
27
+ * The results of an inbound Real Time Payments Transfer simulation.
28
+ */
29
+ export interface InboundRealTimePaymentsTransferSimulationResult {
30
+ /**
31
+ * If the Real Time Payments Transfer attempt fails, this will contain the
32
+ * resulting [Declined Transaction](#declined-transactions) object. The Declined
33
+ * Transaction's `source` will be of
34
+ * `category: inbound_real_time_payments_transfer_decline`.
35
+ */
36
+ declined_transaction: InboundRealTimePaymentsTransferSimulationResult.DeclinedTransaction | null;
37
+ /**
38
+ * If the Real Time Payments Transfer attempt succeeds, this will contain the
39
+ * resulting [Transaction](#transactions) object. The Transaction's `source` will
40
+ * be of `category: inbound_real_time_payments_transfer_confirmation`.
41
+ */
42
+ transaction: InboundRealTimePaymentsTransferSimulationResult.Transaction | null;
43
+ /**
44
+ * A constant representing the object's type. For this resource it will always be
45
+ * `inbound_real_time_payments_transfer_simulation_result`.
46
+ */
47
+ type: 'inbound_real_time_payments_transfer_simulation_result';
48
+ }
49
+ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
50
+ /**
51
+ * If the Real Time Payments Transfer attempt fails, this will contain the
52
+ * resulting [Declined Transaction](#declined-transactions) object. The Declined
53
+ * Transaction's `source` will be of
54
+ * `category: inbound_real_time_payments_transfer_decline`.
55
+ */
56
+ interface DeclinedTransaction {
57
+ /**
58
+ * The Declined Transaction identifier.
59
+ */
60
+ id: string;
61
+ /**
62
+ * The identifier for the Account the Declined Transaction belongs to.
63
+ */
64
+ account_id: string;
65
+ /**
66
+ * The Declined Transaction amount in the minor unit of its currency. For dollars,
67
+ * for example, this is cents.
68
+ */
69
+ amount: number;
70
+ /**
71
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the
72
+ * Transaction occured.
73
+ */
74
+ created_at: string;
75
+ /**
76
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Declined
77
+ * Transaction's currency. This will match the currency on the Declined
78
+ * Transcation's Account.
79
+ *
80
+ * - `CAD` - Canadian Dollar (CAD)
81
+ * - `CHF` - Swiss Franc (CHF)
82
+ * - `EUR` - Euro (EUR)
83
+ * - `GBP` - British Pound (GBP)
84
+ * - `JPY` - Japanese Yen (JPY)
85
+ * - `USD` - US Dollar (USD)
86
+ */
87
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
88
+ /**
89
+ * This is the description the vendor provides.
90
+ */
91
+ description: string;
92
+ /**
93
+ * The identifier for the route this Declined Transaction came through. Routes are
94
+ * things like cards and ACH details.
95
+ */
96
+ route_id: string | null;
97
+ /**
98
+ * The type of the route this Declined Transaction came through.
99
+ *
100
+ * - `account_number` - An Account Number.
101
+ * - `card` - A Card.
102
+ */
103
+ route_type: 'account_number' | 'card' | null;
104
+ /**
105
+ * This is an object giving more details on the network-level event that caused the
106
+ * Declined Transaction. For example, for a card transaction this lists the
107
+ * merchant's industry and location. Note that for backwards compatibility reasons,
108
+ * additional undocumented keys may appear in this object. These should be treated
109
+ * as deprecated and will be removed in the future.
110
+ */
111
+ source: DeclinedTransaction.Source;
112
+ /**
113
+ * A constant representing the object's type. For this resource it will always be
114
+ * `declined_transaction`.
115
+ */
116
+ type: 'declined_transaction';
117
+ }
118
+ namespace DeclinedTransaction {
119
+ /**
120
+ * This is an object giving more details on the network-level event that caused the
121
+ * Declined Transaction. For example, for a card transaction this lists the
122
+ * merchant's industry and location. Note that for backwards compatibility reasons,
123
+ * additional undocumented keys may appear in this object. These should be treated
124
+ * as deprecated and will be removed in the future.
125
+ */
126
+ interface Source {
127
+ /**
128
+ * A ACH Decline object. This field will be present in the JSON response if and
129
+ * only if `category` is equal to `ach_decline`.
130
+ */
131
+ ach_decline: Source.ACHDecline | null;
132
+ /**
133
+ * A Card Decline object. This field will be present in the JSON response if and
134
+ * only if `category` is equal to `card_decline`.
135
+ */
136
+ card_decline: Source.CardDecline | null;
137
+ /**
138
+ * The type of decline that took place. We may add additional possible values for
139
+ * this enum over time; your application should be able to handle such additions
140
+ * gracefully.
141
+ *
142
+ * - `ach_decline` - The Declined Transaction was created by a ACH Decline object.
143
+ * Details will be under the `ach_decline` object.
144
+ * - `card_decline` - The Declined Transaction was created by a Card Decline
145
+ * object. Details will be under the `card_decline` object.
146
+ * - `check_decline` - The Declined Transaction was created by a Check Decline
147
+ * object. Details will be under the `check_decline` object.
148
+ * - `inbound_real_time_payments_transfer_decline` - The Declined Transaction was
149
+ * created by a Inbound Real Time Payments Transfer Decline object. Details will
150
+ * be under the `inbound_real_time_payments_transfer_decline` object.
151
+ * - `international_ach_decline` - The Declined Transaction was created by a
152
+ * International ACH Decline object. Details will be under the
153
+ * `international_ach_decline` object.
154
+ * - `wire_decline` - The Declined Transaction was created by a Wire Decline
155
+ * object. Details will be under the `wire_decline` object.
156
+ * - `other` - The Declined Transaction was made for an undocumented or deprecated
157
+ * reason.
158
+ */
159
+ category:
160
+ | 'ach_decline'
161
+ | 'card_decline'
162
+ | 'check_decline'
163
+ | 'inbound_real_time_payments_transfer_decline'
164
+ | 'international_ach_decline'
165
+ | 'wire_decline'
166
+ | 'other';
167
+ /**
168
+ * A Check Decline object. This field will be present in the JSON response if and
169
+ * only if `category` is equal to `check_decline`.
170
+ */
171
+ check_decline: Source.CheckDecline | null;
172
+ /**
173
+ * A Inbound Real Time Payments Transfer Decline object. This field will be present
174
+ * in the JSON response if and only if `category` is equal to
175
+ * `inbound_real_time_payments_transfer_decline`.
176
+ */
177
+ inbound_real_time_payments_transfer_decline: Source.InboundRealTimePaymentsTransferDecline | null;
178
+ /**
179
+ * A International ACH Decline object. This field will be present in the JSON
180
+ * response if and only if `category` is equal to `international_ach_decline`.
181
+ */
182
+ international_ach_decline: Source.InternationalACHDecline | null;
183
+ /**
184
+ * A Wire Decline object. This field will be present in the JSON response if and
185
+ * only if `category` is equal to `wire_decline`.
186
+ */
187
+ wire_decline: Source.WireDecline | null;
188
+ }
189
+ namespace Source {
190
+ /**
191
+ * A ACH Decline object. This field will be present in the JSON response if and
192
+ * only if `category` is equal to `ach_decline`.
193
+ */
194
+ interface ACHDecline {
195
+ /**
196
+ * The declined amount in the minor unit of the destination account currency. For
197
+ * dollars, for example, this is cents.
198
+ */
199
+ amount: number;
200
+ originator_company_descriptive_date: string | null;
201
+ originator_company_discretionary_data: string | null;
202
+ originator_company_id: string;
203
+ originator_company_name: string;
204
+ /**
205
+ * Why the ACH transfer was declined.
206
+ *
207
+ * - `ach_route_canceled` - The account number is canceled.
208
+ * - `ach_route_disabled` - The account number is disabled.
209
+ * - `breaches_limit` - The transaction would cause a limit to be exceeded.
210
+ * - `credit_entry_refused_by_receiver` - A credit was refused.
211
+ * - `duplicate_return` - Other.
212
+ * - `entity_not_active` - The account's entity is not active.
213
+ * - `group_locked` - Your account is inactive.
214
+ * - `insufficient_funds` - Your account contains insufficient funds.
215
+ * - `misrouted_return` - Other.
216
+ * - `no_ach_route` - The account number that was debited does not exist.
217
+ * - `originator_request` - Other.
218
+ * - `transaction_not_allowed` - The transaction is not allowed per Increase's
219
+ * terms.
220
+ */
221
+ reason:
222
+ | 'ach_route_canceled'
223
+ | 'ach_route_disabled'
224
+ | 'breaches_limit'
225
+ | 'credit_entry_refused_by_receiver'
226
+ | 'duplicate_return'
227
+ | 'entity_not_active'
228
+ | 'group_locked'
229
+ | 'insufficient_funds'
230
+ | 'misrouted_return'
231
+ | 'no_ach_route'
232
+ | 'originator_request'
233
+ | 'transaction_not_allowed';
234
+ receiver_id_number: string | null;
235
+ receiver_name: string | null;
236
+ trace_number: string;
237
+ }
238
+ /**
239
+ * A Card Decline object. This field will be present in the JSON response if and
240
+ * only if `category` is equal to `card_decline`.
241
+ */
242
+ interface CardDecline {
243
+ /**
244
+ * The declined amount in the minor unit of the destination account currency. For
245
+ * dollars, for example, this is cents.
246
+ */
247
+ amount: number;
248
+ /**
249
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination
250
+ * account currency.
251
+ *
252
+ * - `CAD` - Canadian Dollar (CAD)
253
+ * - `CHF` - Swiss Franc (CHF)
254
+ * - `EUR` - Euro (EUR)
255
+ * - `GBP` - British Pound (GBP)
256
+ * - `JPY` - Japanese Yen (JPY)
257
+ * - `USD` - US Dollar (USD)
258
+ */
259
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
260
+ /**
261
+ * If the authorization was attempted using a Digital Wallet Token (such as an
262
+ * Apple Pay purchase), the identifier of the token that was used.
263
+ */
264
+ digital_wallet_token_id: string | null;
265
+ /**
266
+ * The merchant identifier (commonly abbreviated as MID) of the merchant the card
267
+ * is transacting with.
268
+ */
269
+ merchant_acceptor_id: string;
270
+ /**
271
+ * The Merchant Category Code (commonly abbreviated as MCC) of the merchant the
272
+ * card is transacting with.
273
+ */
274
+ merchant_category_code: string | null;
275
+ /**
276
+ * The city the merchant resides in.
277
+ */
278
+ merchant_city: string | null;
279
+ /**
280
+ * The country the merchant resides in.
281
+ */
282
+ merchant_country: string | null;
283
+ /**
284
+ * The merchant descriptor of the merchant the card is transacting with.
285
+ */
286
+ merchant_descriptor: string;
287
+ /**
288
+ * The state the merchant resides in.
289
+ */
290
+ merchant_state: string | null;
291
+ /**
292
+ * The payment network used to process this card authorization
293
+ *
294
+ * - `visa` - Visa
295
+ */
296
+ network: 'visa';
297
+ /**
298
+ * Fields specific to the `network`
299
+ */
300
+ network_details: CardDecline.NetworkDetails;
301
+ /**
302
+ * The identifier of the Real-Time Decision sent to approve or decline this
303
+ * transaction.
304
+ */
305
+ real_time_decision_id: string | null;
306
+ /**
307
+ * Why the transaction was declined.
308
+ *
309
+ * - `card_not_active` - The Card was not active.
310
+ * - `entity_not_active` - The account's entity was not active.
311
+ * - `group_locked` - The account was inactive.
312
+ * - `insufficient_funds` - The Card's Account did not have a sufficient available
313
+ * balance.
314
+ * - `cvv2_mismatch` - The given CVV2 did not match the card's value.
315
+ * - `transaction_not_allowed` - The attempted card transaction is not allowed per
316
+ * Increase's terms.
317
+ * - `breaches_internal_limit` - The transaction was blocked by an internal limit
318
+ * for new Increase accounts.
319
+ * - `breaches_limit` - The transaction was blocked by a Limit.
320
+ * - `webhook_declined` - Your application declined the transaction via webhook.
321
+ * - `webhook_timed_out` - Your application webhook did not respond without the
322
+ * required timeout.
323
+ * - `declined_by_stand_in_processing` - Declined by stand-in processing.
324
+ * - `invalid_physical_card` - The card read had an invalid CVV, dCVV, or
325
+ * authorization request cryptogram.
326
+ * - `missing_original_authorization` - The original card authorization for this
327
+ * incremental authorization does not exist.
328
+ */
329
+ reason:
330
+ | 'card_not_active'
331
+ | 'entity_not_active'
332
+ | 'group_locked'
333
+ | 'insufficient_funds'
334
+ | 'cvv2_mismatch'
335
+ | 'transaction_not_allowed'
336
+ | 'breaches_internal_limit'
337
+ | 'breaches_limit'
338
+ | 'webhook_declined'
339
+ | 'webhook_timed_out'
340
+ | 'declined_by_stand_in_processing'
341
+ | 'invalid_physical_card'
342
+ | 'missing_original_authorization';
343
+ }
344
+ namespace CardDecline {
345
+ /**
346
+ * Fields specific to the `network`
347
+ */
348
+ interface NetworkDetails {
349
+ /**
350
+ * Fields specific to the `visa` network
351
+ */
352
+ visa: NetworkDetails.Visa;
353
+ }
354
+ namespace NetworkDetails {
355
+ /**
356
+ * Fields specific to the `visa` network
357
+ */
358
+ interface Visa {
359
+ /**
360
+ * For electronic commerce transactions, this identifies the level of security used
361
+ * in obtaining the customer's payment credential. For mail or telephone order
362
+ * transactions, identifies the type of mail or telephone order.
363
+ *
364
+ * - `mail_phone_order` - Single transaction of a mail/phone order: Use to indicate
365
+ * that the transaction is a mail/phone order purchase, not a recurring
366
+ * transaction or installment payment. For domestic transactions in the US
367
+ * region, this value may also indicate one bill payment transaction in the
368
+ * card-present or card-absent environments.
369
+ * - `recurring` - Recurring transaction: Payment indicator used to indicate a
370
+ * recurring transaction that originates from an acquirer in the US region.
371
+ * - `installment` - Installment payment: Payment indicator used to indicate one
372
+ * purchase of goods or services that is billed to the account in multiple
373
+ * charges over a period of time agreed upon by the cardholder and merchant from
374
+ * transactions that originate from an acquirer in the US region.
375
+ * - `unknown_mail_phone_order` - Unknown classification: other mail order: Use to
376
+ * indicate that the type of mail/telephone order is unknown.
377
+ * - `secure_electronic_commerce` - Secure electronic commerce transaction: Use to
378
+ * indicate that the electronic commerce transaction has been authenticated using
379
+ * e.g., 3-D Secure
380
+ * - `non_authenticated_security_transaction_at_3ds_capable_merchant` -
381
+ * Non-authenticated security transaction at a 3-D Secure-capable merchant, and
382
+ * merchant attempted to authenticate the cardholder using 3-D Secure: Use to
383
+ * identify an electronic commerce transaction where the merchant attempted to
384
+ * authenticate the cardholder using 3-D Secure, but was unable to complete the
385
+ * authentication because the issuer or cardholder does not participate in the
386
+ * 3-D Secure program.
387
+ * - `non_authenticated_security_transaction` - Non-authenticated security
388
+ * transaction: Use to identify an electronic commerce transaction that uses data
389
+ * encryption for security however , cardholder authentication is not performed
390
+ * using 3-D Secure.
391
+ * - `non_secure_transaction` - Non-secure transaction: Use to identify an
392
+ * electronic commerce transaction that has no data protection.
393
+ */
394
+ electronic_commerce_indicator:
395
+ | 'mail_phone_order'
396
+ | 'recurring'
397
+ | 'installment'
398
+ | 'unknown_mail_phone_order'
399
+ | 'secure_electronic_commerce'
400
+ | 'non_authenticated_security_transaction_at_3ds_capable_merchant'
401
+ | 'non_authenticated_security_transaction'
402
+ | 'non_secure_transaction'
403
+ | null;
404
+ /**
405
+ * The method used to enter the cardholder's primary account number and card
406
+ * expiration date
407
+ */
408
+ point_of_service_entry_mode: Shared.PointOfServiceEntryMode | null;
409
+ }
410
+ }
411
+ }
412
+ /**
413
+ * A Check Decline object. This field will be present in the JSON response if and
414
+ * only if `category` is equal to `check_decline`.
415
+ */
416
+ interface CheckDecline {
417
+ /**
418
+ * The declined amount in the minor unit of the destination account currency. For
419
+ * dollars, for example, this is cents.
420
+ */
421
+ amount: number;
422
+ auxiliary_on_us: string | null;
423
+ /**
424
+ * Why the check was declined.
425
+ *
426
+ * - `ach_route_canceled` - The account number is canceled.
427
+ * - `ach_route_disabled` - The account number is disabled.
428
+ * - `breaches_limit` - The transaction would cause a limit to be exceeded.
429
+ * - `entity_not_active` - The account's entity is not active.
430
+ * - `group_locked` - Your account is inactive.
431
+ * - `insufficient_funds` - Your account contains insufficient funds.
432
+ * - `unable_to_locate_account` - Unable to locate account.
433
+ * - `not_our_item` - Routing number on the check is not ours.
434
+ * - `unable_to_process` - Unable to process.
435
+ * - `refer_to_image` - Refer to image.
436
+ * - `stop_payment_requested` - Stop payment requested for this check.
437
+ * - `returned` - Check was returned to sender.
438
+ * - `duplicate_presentment` - The check was a duplicate deposit.
439
+ * - `not_authorized` - The transaction is not allowed.
440
+ * - `altered_or_fictitious` - The check was altered or fictitious.
441
+ */
442
+ reason:
443
+ | 'ach_route_canceled'
444
+ | 'ach_route_disabled'
445
+ | 'breaches_limit'
446
+ | 'entity_not_active'
447
+ | 'group_locked'
448
+ | 'insufficient_funds'
449
+ | 'unable_to_locate_account'
450
+ | 'not_our_item'
451
+ | 'unable_to_process'
452
+ | 'refer_to_image'
453
+ | 'stop_payment_requested'
454
+ | 'returned'
455
+ | 'duplicate_presentment'
456
+ | 'not_authorized'
457
+ | 'altered_or_fictitious';
458
+ }
459
+ /**
460
+ * A Inbound Real Time Payments Transfer Decline object. This field will be present
461
+ * in the JSON response if and only if `category` is equal to
462
+ * `inbound_real_time_payments_transfer_decline`.
463
+ */
464
+ interface InboundRealTimePaymentsTransferDecline {
465
+ /**
466
+ * The declined amount in the minor unit of the destination account currency. For
467
+ * dollars, for example, this is cents.
468
+ */
469
+ amount: number;
470
+ /**
471
+ * The name the sender of the transfer specified as the recipient of the transfer.
472
+ */
473
+ creditor_name: string;
474
+ /**
475
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the declined
476
+ * transfer's currency. This will always be "USD" for a Real Time Payments
477
+ * transfer.
478
+ *
479
+ * - `CAD` - Canadian Dollar (CAD)
480
+ * - `CHF` - Swiss Franc (CHF)
481
+ * - `EUR` - Euro (EUR)
482
+ * - `GBP` - British Pound (GBP)
483
+ * - `JPY` - Japanese Yen (JPY)
484
+ * - `USD` - US Dollar (USD)
485
+ */
486
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
487
+ /**
488
+ * The account number of the account that sent the transfer.
489
+ */
490
+ debtor_account_number: string;
491
+ /**
492
+ * The name provided by the sender of the transfer.
493
+ */
494
+ debtor_name: string;
495
+ /**
496
+ * The routing number of the account that sent the transfer.
497
+ */
498
+ debtor_routing_number: string;
499
+ /**
500
+ * Why the transfer was declined.
501
+ *
502
+ * - `account_number_canceled` - The account number is canceled.
503
+ * - `account_number_disabled` - The account number is disabled.
504
+ * - `account_restricted` - Your account is restricted.
505
+ * - `group_locked` - Your account is inactive.
506
+ * - `entity_not_active` - The account's entity is not active.
507
+ * - `real_time_payments_not_enabled` - Your account is not enabled to receive Real
508
+ * Time Payments transfers.
509
+ */
510
+ reason:
511
+ | 'account_number_canceled'
512
+ | 'account_number_disabled'
513
+ | 'account_restricted'
514
+ | 'group_locked'
515
+ | 'entity_not_active'
516
+ | 'real_time_payments_not_enabled';
517
+ /**
518
+ * Additional information included with the transfer.
519
+ */
520
+ remittance_information: string | null;
521
+ /**
522
+ * The Real Time Payments network identification of the declined transfer.
523
+ */
524
+ transaction_identification: string;
525
+ }
526
+ /**
527
+ * A International ACH Decline object. This field will be present in the JSON
528
+ * response if and only if `category` is equal to `international_ach_decline`.
529
+ */
530
+ interface InternationalACHDecline {
531
+ /**
532
+ * The declined amount in the minor unit of the destination account currency. For
533
+ * dollars, for example, this is cents.
534
+ */
535
+ amount: number;
536
+ destination_country_code: string;
537
+ destination_currency_code: string;
538
+ foreign_exchange_indicator: string;
539
+ foreign_exchange_reference: string | null;
540
+ foreign_exchange_reference_indicator: string;
541
+ foreign_payment_amount: number;
542
+ foreign_trace_number: string | null;
543
+ international_transaction_type_code: string;
544
+ originating_currency_code: string;
545
+ originating_depository_financial_institution_branch_country: string;
546
+ originating_depository_financial_institution_id: string;
547
+ originating_depository_financial_institution_id_qualifier: string;
548
+ originating_depository_financial_institution_name: string;
549
+ originator_city: string;
550
+ originator_company_entry_description: string;
551
+ originator_country: string;
552
+ originator_identification: string;
553
+ originator_name: string;
554
+ originator_postal_code: string | null;
555
+ originator_state_or_province: string | null;
556
+ originator_street_address: string;
557
+ payment_related_information: string | null;
558
+ payment_related_information2: string | null;
559
+ receiver_city: string;
560
+ receiver_country: string;
561
+ receiver_identification_number: string | null;
562
+ receiver_postal_code: string | null;
563
+ receiver_state_or_province: string | null;
564
+ receiver_street_address: string;
565
+ receiving_company_or_individual_name: string;
566
+ receiving_depository_financial_institution_country: string;
567
+ receiving_depository_financial_institution_id: string;
568
+ receiving_depository_financial_institution_id_qualifier: string;
569
+ receiving_depository_financial_institution_name: string;
570
+ trace_number: string;
571
+ }
572
+ /**
573
+ * A Wire Decline object. This field will be present in the JSON response if and
574
+ * only if `category` is equal to `wire_decline`.
575
+ */
576
+ interface WireDecline {
577
+ /**
578
+ * The declined amount in the minor unit of the destination account currency. For
579
+ * dollars, for example, this is cents.
580
+ */
581
+ amount: number;
582
+ beneficiary_address_line1: string | null;
583
+ beneficiary_address_line2: string | null;
584
+ beneficiary_address_line3: string | null;
585
+ beneficiary_name: string | null;
586
+ beneficiary_reference: string | null;
587
+ description: string;
588
+ input_message_accountability_data: string | null;
589
+ originator_address_line1: string | null;
590
+ originator_address_line2: string | null;
591
+ originator_address_line3: string | null;
592
+ originator_name: string | null;
593
+ originator_to_beneficiary_information_line1: string | null;
594
+ originator_to_beneficiary_information_line2: string | null;
595
+ originator_to_beneficiary_information_line3: string | null;
596
+ originator_to_beneficiary_information_line4: string | null;
597
+ /**
598
+ * Why the wire transfer was declined.
599
+ *
600
+ * - `account_number_canceled` - The account number is canceled.
601
+ * - `account_number_disabled` - The account number is disabled.
602
+ * - `entity_not_active` - The account's entity is not active.
603
+ * - `group_locked` - Your account is inactive.
604
+ * - `no_account_number` - The beneficiary account number does not exist.
605
+ * - `transaction_not_allowed` - The transaction is not allowed per Increase's
606
+ * terms.
607
+ */
608
+ reason:
609
+ | 'account_number_canceled'
610
+ | 'account_number_disabled'
611
+ | 'entity_not_active'
612
+ | 'group_locked'
613
+ | 'no_account_number'
614
+ | 'transaction_not_allowed';
615
+ }
616
+ }
617
+ }
618
+ /**
619
+ * If the Real Time Payments Transfer attempt succeeds, this will contain the
620
+ * resulting [Transaction](#transactions) object. The Transaction's `source` will
621
+ * be of `category: inbound_real_time_payments_transfer_confirmation`.
622
+ */
623
+ interface Transaction {
624
+ /**
625
+ * The Transaction identifier.
626
+ */
627
+ id: string;
628
+ /**
629
+ * The identifier for the Account the Transaction belongs to.
630
+ */
631
+ account_id: string;
632
+ /**
633
+ * The Transaction amount in the minor unit of its currency. For dollars, for
634
+ * example, this is cents.
635
+ */
636
+ amount: number;
637
+ /**
638
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the
639
+ * Transaction occured.
640
+ */
641
+ created_at: string;
642
+ /**
643
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
644
+ * Transaction's currency. This will match the currency on the Transcation's
645
+ * Account.
646
+ *
647
+ * - `CAD` - Canadian Dollar (CAD)
648
+ * - `CHF` - Swiss Franc (CHF)
649
+ * - `EUR` - Euro (EUR)
650
+ * - `GBP` - British Pound (GBP)
651
+ * - `JPY` - Japanese Yen (JPY)
652
+ * - `USD` - US Dollar (USD)
653
+ */
654
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
655
+ /**
656
+ * An informational message describing this transaction. Use the fields in `source`
657
+ * to get more detailed information. This field appears as the line-item on the
658
+ * statement.
659
+ */
660
+ description: string;
661
+ /**
662
+ * The identifier for the route this Transaction came through. Routes are things
663
+ * like cards and ACH details.
664
+ */
665
+ route_id: string | null;
666
+ /**
667
+ * The type of the route this Transaction came through.
668
+ *
669
+ * - `account_number` - An Account Number.
670
+ * - `card` - A Card.
671
+ */
672
+ route_type: 'account_number' | 'card' | null;
673
+ /**
674
+ * This is an object giving more details on the network-level event that caused the
675
+ * Transaction. Note that for backwards compatibility reasons, additional
676
+ * undocumented keys may appear in this object. These should be treated as
677
+ * deprecated and will be removed in the future.
678
+ */
679
+ source: Transaction.Source;
680
+ /**
681
+ * A constant representing the object's type. For this resource it will always be
682
+ * `transaction`.
683
+ */
684
+ type: 'transaction';
685
+ }
686
+ namespace Transaction {
687
+ /**
688
+ * This is an object giving more details on the network-level event that caused the
689
+ * Transaction. Note that for backwards compatibility reasons, additional
690
+ * undocumented keys may appear in this object. These should be treated as
691
+ * deprecated and will be removed in the future.
692
+ */
693
+ interface Source {
694
+ /**
695
+ * A Account Transfer Intention object. This field will be present in the JSON
696
+ * response if and only if `category` is equal to `account_transfer_intention`.
697
+ */
698
+ account_transfer_intention: Source.AccountTransferIntention | null;
699
+ /**
700
+ * A ACH Transfer Intention object. This field will be present in the JSON response
701
+ * if and only if `category` is equal to `ach_transfer_intention`.
702
+ */
703
+ ach_transfer_intention: Source.ACHTransferIntention | null;
704
+ /**
705
+ * A ACH Transfer Rejection object. This field will be present in the JSON response
706
+ * if and only if `category` is equal to `ach_transfer_rejection`.
707
+ */
708
+ ach_transfer_rejection: Source.ACHTransferRejection | null;
709
+ /**
710
+ * A ACH Transfer Return object. This field will be present in the JSON response if
711
+ * and only if `category` is equal to `ach_transfer_return`.
712
+ */
713
+ ach_transfer_return: Source.ACHTransferReturn | null;
714
+ /**
715
+ * A Card Dispute Acceptance object. This field will be present in the JSON
716
+ * response if and only if `category` is equal to `card_dispute_acceptance`.
717
+ */
718
+ card_dispute_acceptance: Source.CardDisputeAcceptance | null;
719
+ /**
720
+ * A Card Refund object. This field will be present in the JSON response if and
721
+ * only if `category` is equal to `card_refund`.
722
+ */
723
+ card_refund: Source.CardRefund | null;
724
+ /**
725
+ * A Card Revenue Payment object. This field will be present in the JSON response
726
+ * if and only if `category` is equal to `card_revenue_payment`.
727
+ */
728
+ card_revenue_payment: Source.CardRevenuePayment | null;
729
+ /**
730
+ * A Card Settlement object. This field will be present in the JSON response if and
731
+ * only if `category` is equal to `card_settlement`.
732
+ */
733
+ card_settlement: Source.CardSettlement | null;
734
+ /**
735
+ * The type of transaction that took place. We may add additional possible values
736
+ * for this enum over time; your application should be able to handle such
737
+ * additions gracefully.
738
+ *
739
+ * - `account_transfer_intention` - The Transaction was created by a Account
740
+ * Transfer Intention object. Details will be under the
741
+ * `account_transfer_intention` object.
742
+ * - `ach_transfer_intention` - The Transaction was created by a ACH Transfer
743
+ * Intention object. Details will be under the `ach_transfer_intention` object.
744
+ * - `ach_transfer_rejection` - The Transaction was created by a ACH Transfer
745
+ * Rejection object. Details will be under the `ach_transfer_rejection` object.
746
+ * - `ach_transfer_return` - The Transaction was created by a ACH Transfer Return
747
+ * object. Details will be under the `ach_transfer_return` object.
748
+ * - `card_dispute_acceptance` - The Transaction was created by a Card Dispute
749
+ * Acceptance object. Details will be under the `card_dispute_acceptance` object.
750
+ * - `card_refund` - The Transaction was created by a Card Refund object. Details
751
+ * will be under the `card_refund` object.
752
+ * - `card_revenue_payment` - The Transaction was created by a Card Revenue Payment
753
+ * object. Details will be under the `card_revenue_payment` object.
754
+ * - `card_settlement` - The Transaction was created by a Card Settlement object.
755
+ * Details will be under the `card_settlement` object.
756
+ * - `check_deposit_acceptance` - The Transaction was created by a Check Deposit
757
+ * Acceptance object. Details will be under the `check_deposit_acceptance`
758
+ * object.
759
+ * - `check_deposit_return` - The Transaction was created by a Check Deposit Return
760
+ * object. Details will be under the `check_deposit_return` object.
761
+ * - `check_transfer_deposit` - The Transaction was created by a Check Transfer
762
+ * Deposit object. Details will be under the `check_transfer_deposit` object.
763
+ * - `check_transfer_intention` - The Transaction was created by a Check Transfer
764
+ * Intention object. Details will be under the `check_transfer_intention` object.
765
+ * - `check_transfer_rejection` - The Transaction was created by a Check Transfer
766
+ * Rejection object. Details will be under the `check_transfer_rejection` object.
767
+ * - `check_transfer_stop_payment_request` - The Transaction was created by a Check
768
+ * Transfer Stop Payment Request object. Details will be under the
769
+ * `check_transfer_stop_payment_request` object.
770
+ * - `fee_payment` - The Transaction was created by a Fee Payment object. Details
771
+ * will be under the `fee_payment` object.
772
+ * - `inbound_ach_transfer` - The Transaction was created by a Inbound ACH Transfer
773
+ * object. Details will be under the `inbound_ach_transfer` object.
774
+ * - `inbound_ach_transfer_return_intention` - The Transaction was created by a
775
+ * Inbound ACH Transfer Return Intention object. Details will be under the
776
+ * `inbound_ach_transfer_return_intention` object.
777
+ * - `inbound_check` - The Transaction was created by a Inbound Check object.
778
+ * Details will be under the `inbound_check` object.
779
+ * - `inbound_international_ach_transfer` - The Transaction was created by a
780
+ * Inbound International ACH Transfer object. Details will be under the
781
+ * `inbound_international_ach_transfer` object.
782
+ * - `inbound_real_time_payments_transfer_confirmation` - The Transaction was
783
+ * created by a Inbound Real Time Payments Transfer Confirmation object. Details
784
+ * will be under the `inbound_real_time_payments_transfer_confirmation` object.
785
+ * - `inbound_wire_drawdown_payment` - The Transaction was created by a Inbound
786
+ * Wire Drawdown Payment object. Details will be under the
787
+ * `inbound_wire_drawdown_payment` object.
788
+ * - `inbound_wire_drawdown_payment_reversal` - The Transaction was created by a
789
+ * Inbound Wire Drawdown Payment Reversal object. Details will be under the
790
+ * `inbound_wire_drawdown_payment_reversal` object.
791
+ * - `inbound_wire_reversal` - The Transaction was created by a Inbound Wire
792
+ * Reversal object. Details will be under the `inbound_wire_reversal` object.
793
+ * - `inbound_wire_transfer` - The Transaction was created by a Inbound Wire
794
+ * Transfer object. Details will be under the `inbound_wire_transfer` object.
795
+ * - `interest_payment` - The Transaction was created by a Interest Payment object.
796
+ * Details will be under the `interest_payment` object.
797
+ * - `internal_source` - The Transaction was created by a Internal Source object.
798
+ * Details will be under the `internal_source` object.
799
+ * - `real_time_payments_transfer_acknowledgement` - The Transaction was created by
800
+ * a Real Time Payments Transfer Acknowledgement object. Details will be under
801
+ * the `real_time_payments_transfer_acknowledgement` object.
802
+ * - `sample_funds` - The Transaction was created by a Sample Funds object. Details
803
+ * will be under the `sample_funds` object.
804
+ * - `wire_transfer_intention` - The Transaction was created by a Wire Transfer
805
+ * Intention object. Details will be under the `wire_transfer_intention` object.
806
+ * - `wire_transfer_rejection` - The Transaction was created by a Wire Transfer
807
+ * Rejection object. Details will be under the `wire_transfer_rejection` object.
808
+ * - `other` - The Transaction was made for an undocumented or deprecated reason.
809
+ */
810
+ category:
811
+ | 'account_transfer_intention'
812
+ | 'ach_transfer_intention'
813
+ | 'ach_transfer_rejection'
814
+ | 'ach_transfer_return'
815
+ | 'card_dispute_acceptance'
816
+ | 'card_refund'
817
+ | 'card_revenue_payment'
818
+ | 'card_settlement'
819
+ | 'check_deposit_acceptance'
820
+ | 'check_deposit_return'
821
+ | 'check_transfer_deposit'
822
+ | 'check_transfer_intention'
823
+ | 'check_transfer_rejection'
824
+ | 'check_transfer_stop_payment_request'
825
+ | 'fee_payment'
826
+ | 'inbound_ach_transfer'
827
+ | 'inbound_ach_transfer_return_intention'
828
+ | 'inbound_check'
829
+ | 'inbound_international_ach_transfer'
830
+ | 'inbound_real_time_payments_transfer_confirmation'
831
+ | 'inbound_wire_drawdown_payment'
832
+ | 'inbound_wire_drawdown_payment_reversal'
833
+ | 'inbound_wire_reversal'
834
+ | 'inbound_wire_transfer'
835
+ | 'interest_payment'
836
+ | 'internal_source'
837
+ | 'real_time_payments_transfer_acknowledgement'
838
+ | 'sample_funds'
839
+ | 'wire_transfer_intention'
840
+ | 'wire_transfer_rejection'
841
+ | 'other';
842
+ /**
843
+ * A Check Deposit Acceptance object. This field will be present in the JSON
844
+ * response if and only if `category` is equal to `check_deposit_acceptance`.
845
+ */
846
+ check_deposit_acceptance: Source.CheckDepositAcceptance | null;
847
+ /**
848
+ * A Check Deposit Return object. This field will be present in the JSON response
849
+ * if and only if `category` is equal to `check_deposit_return`.
850
+ */
851
+ check_deposit_return: Source.CheckDepositReturn | null;
852
+ /**
853
+ * A Check Transfer Deposit object. This field will be present in the JSON response
854
+ * if and only if `category` is equal to `check_transfer_deposit`.
855
+ */
856
+ check_transfer_deposit: Source.CheckTransferDeposit | null;
857
+ /**
858
+ * A Check Transfer Intention object. This field will be present in the JSON
859
+ * response if and only if `category` is equal to `check_transfer_intention`.
860
+ */
861
+ check_transfer_intention: Source.CheckTransferIntention | null;
862
+ /**
863
+ * A Check Transfer Rejection object. This field will be present in the JSON
864
+ * response if and only if `category` is equal to `check_transfer_rejection`.
865
+ */
866
+ check_transfer_rejection: Source.CheckTransferRejection | null;
867
+ /**
868
+ * A Check Transfer Stop Payment Request object. This field will be present in the
869
+ * JSON response if and only if `category` is equal to
870
+ * `check_transfer_stop_payment_request`.
871
+ */
872
+ check_transfer_stop_payment_request: Source.CheckTransferStopPaymentRequest | null;
873
+ /**
874
+ * A Fee Payment object. This field will be present in the JSON response if and
875
+ * only if `category` is equal to `fee_payment`.
876
+ */
877
+ fee_payment: Source.FeePayment | null;
878
+ /**
879
+ * A Inbound ACH Transfer object. This field will be present in the JSON response
880
+ * if and only if `category` is equal to `inbound_ach_transfer`.
881
+ */
882
+ inbound_ach_transfer: Source.InboundACHTransfer | null;
883
+ /**
884
+ * A Inbound Check object. This field will be present in the JSON response if and
885
+ * only if `category` is equal to `inbound_check`.
886
+ */
887
+ inbound_check: Source.InboundCheck | null;
888
+ /**
889
+ * A Inbound International ACH Transfer object. This field will be present in the
890
+ * JSON response if and only if `category` is equal to
891
+ * `inbound_international_ach_transfer`.
892
+ */
893
+ inbound_international_ach_transfer: Source.InboundInternationalACHTransfer | null;
894
+ /**
895
+ * A Inbound Real Time Payments Transfer Confirmation object. This field will be
896
+ * present in the JSON response if and only if `category` is equal to
897
+ * `inbound_real_time_payments_transfer_confirmation`.
898
+ */
899
+ inbound_real_time_payments_transfer_confirmation: Source.InboundRealTimePaymentsTransferConfirmation | null;
900
+ /**
901
+ * A Inbound Wire Drawdown Payment object. This field will be present in the JSON
902
+ * response if and only if `category` is equal to `inbound_wire_drawdown_payment`.
903
+ */
904
+ inbound_wire_drawdown_payment: Source.InboundWireDrawdownPayment | null;
905
+ /**
906
+ * A Inbound Wire Drawdown Payment Reversal object. This field will be present in
907
+ * the JSON response if and only if `category` is equal to
908
+ * `inbound_wire_drawdown_payment_reversal`.
909
+ */
910
+ inbound_wire_drawdown_payment_reversal: Source.InboundWireDrawdownPaymentReversal | null;
911
+ /**
912
+ * A Inbound Wire Reversal object. This field will be present in the JSON response
913
+ * if and only if `category` is equal to `inbound_wire_reversal`.
914
+ */
915
+ inbound_wire_reversal: Source.InboundWireReversal | null;
916
+ /**
917
+ * A Inbound Wire Transfer object. This field will be present in the JSON response
918
+ * if and only if `category` is equal to `inbound_wire_transfer`.
919
+ */
920
+ inbound_wire_transfer: Source.InboundWireTransfer | null;
921
+ /**
922
+ * A Interest Payment object. This field will be present in the JSON response if
923
+ * and only if `category` is equal to `interest_payment`.
924
+ */
925
+ interest_payment: Source.InterestPayment | null;
926
+ /**
927
+ * A Internal Source object. This field will be present in the JSON response if and
928
+ * only if `category` is equal to `internal_source`.
929
+ */
930
+ internal_source: Source.InternalSource | null;
931
+ /**
932
+ * A Real Time Payments Transfer Acknowledgement object. This field will be present
933
+ * in the JSON response if and only if `category` is equal to
934
+ * `real_time_payments_transfer_acknowledgement`.
935
+ */
936
+ real_time_payments_transfer_acknowledgement: Source.RealTimePaymentsTransferAcknowledgement | null;
937
+ /**
938
+ * A Sample Funds object. This field will be present in the JSON response if and
939
+ * only if `category` is equal to `sample_funds`.
940
+ */
941
+ sample_funds: Source.SampleFunds | null;
942
+ /**
943
+ * A Wire Transfer Intention object. This field will be present in the JSON
944
+ * response if and only if `category` is equal to `wire_transfer_intention`.
945
+ */
946
+ wire_transfer_intention: Source.WireTransferIntention | null;
947
+ /**
948
+ * A Wire Transfer Rejection object. This field will be present in the JSON
949
+ * response if and only if `category` is equal to `wire_transfer_rejection`.
950
+ */
951
+ wire_transfer_rejection: Source.WireTransferRejection | null;
952
+ }
953
+ namespace Source {
954
+ /**
955
+ * A Account Transfer Intention object. This field will be present in the JSON
956
+ * response if and only if `category` is equal to `account_transfer_intention`.
957
+ */
958
+ interface AccountTransferIntention {
959
+ /**
960
+ * The pending amount in the minor unit of the transaction's currency. For dollars,
961
+ * for example, this is cents.
962
+ */
963
+ amount: number;
964
+ /**
965
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination
966
+ * account currency.
967
+ *
968
+ * - `CAD` - Canadian Dollar (CAD)
969
+ * - `CHF` - Swiss Franc (CHF)
970
+ * - `EUR` - Euro (EUR)
971
+ * - `GBP` - British Pound (GBP)
972
+ * - `JPY` - Japanese Yen (JPY)
973
+ * - `USD` - US Dollar (USD)
974
+ */
975
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
976
+ /**
977
+ * The description you chose to give the transfer.
978
+ */
979
+ description: string;
980
+ /**
981
+ * The identifier of the Account to where the Account Transfer was sent.
982
+ */
983
+ destination_account_id: string;
984
+ /**
985
+ * The identifier of the Account from where the Account Transfer was sent.
986
+ */
987
+ source_account_id: string;
988
+ /**
989
+ * The identifier of the Account Transfer that led to this Pending Transaction.
990
+ */
991
+ transfer_id: string;
992
+ }
993
+ /**
994
+ * A ACH Transfer Intention object. This field will be present in the JSON response
995
+ * if and only if `category` is equal to `ach_transfer_intention`.
996
+ */
997
+ interface ACHTransferIntention {
998
+ account_number: string;
999
+ /**
1000
+ * The amount in the minor unit of the transaction's currency. For dollars, for
1001
+ * example, this is cents.
1002
+ */
1003
+ amount: number;
1004
+ routing_number: string;
1005
+ statement_descriptor: string;
1006
+ /**
1007
+ * The identifier of the ACH Transfer that led to this Transaction.
1008
+ */
1009
+ transfer_id: string;
1010
+ }
1011
+ /**
1012
+ * A ACH Transfer Rejection object. This field will be present in the JSON response
1013
+ * if and only if `category` is equal to `ach_transfer_rejection`.
1014
+ */
1015
+ interface ACHTransferRejection {
1016
+ /**
1017
+ * The identifier of the ACH Transfer that led to this Transaction.
1018
+ */
1019
+ transfer_id: string;
1020
+ }
1021
+ /**
1022
+ * A ACH Transfer Return object. This field will be present in the JSON response if
1023
+ * and only if `category` is equal to `ach_transfer_return`.
1024
+ */
1025
+ interface ACHTransferReturn {
1026
+ /**
1027
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
1028
+ * the transfer was created.
1029
+ */
1030
+ created_at: string;
1031
+ /**
1032
+ * The three character ACH return code, in the range R01 to R85.
1033
+ */
1034
+ raw_return_reason_code: string;
1035
+ /**
1036
+ * Why the ACH Transfer was returned.
1037
+ *
1038
+ * - `insufficient_fund` - Code R01. Insufficient funds in the source account.
1039
+ * - `no_account` - Code R03. The account does not exist or the receiving bank was
1040
+ * unable to locate it.
1041
+ * - `account_closed` - Code R02. The account is closed.
1042
+ * - `invalid_account_number_structure` - Code R04. The account number is invalid
1043
+ * at the receiving bank.
1044
+ * - `account_frozen_entry_returned_per_ofac_instruction` - Code R16. The account
1045
+ * was frozen per the Office of Foreign Assets Control.
1046
+ * - `credit_entry_refused_by_receiver` - Code R23. The receiving bank account
1047
+ * refused a credit transfer.
1048
+ * - `unauthorized_debit_to_consumer_account_using_corporate_sec_code` - Code R05.
1049
+ * The receiving bank rejected because of an incorrect Standard Entry Class code.
1050
+ * - `corporate_customer_advised_not_authorized` - Code R29. The corporate customer
1051
+ * reversed the transfer.
1052
+ * - `payment_stopped` - Code R08. The receiving bank stopped payment on this
1053
+ * transfer.
1054
+ * - `non_transaction_account` - Code R20. The receiving bank account does not
1055
+ * perform transfers.
1056
+ * - `uncollected_funds` - Code R09. The receiving bank account does not have
1057
+ * enough available balance for the transfer.
1058
+ * - `routing_number_check_digit_error` - Code R28. The routing number is
1059
+ * incorrect.
1060
+ * - `customer_advised_unauthorized_improper_ineligible_or_incomplete` - Code R10.
1061
+ * The customer reversed the transfer.
1062
+ * - `amount_field_error` - Code R19. The amount field is incorrect or too large.
1063
+ * - `authorization_revoked_by_customer` - Code R07. The customer who initiated the
1064
+ * transfer revoked authorization.
1065
+ * - `invalid_ach_routing_number` - Code R13. The routing number is invalid.
1066
+ * - `file_record_edit_criteria` - Code R17. The receiving bank is unable to
1067
+ * process a field in the transfer.
1068
+ * - `enr_invalid_individual_name` - Code R45. The individual name field was
1069
+ * invalid.
1070
+ * - `returned_per_odfi_request` - Code R06. The originating financial institution
1071
+ * reversed the transfer.
1072
+ * - `limited_participation_dfi` - Code R34. The receiving bank's regulatory
1073
+ * supervisor has limited their participation.
1074
+ * - `incorrectly_coded_outbound_international_payment` - Code R85. The outbound
1075
+ * international ACH transfer was incorrect.
1076
+ * - `account_sold_to_another_dfi` - Code R12. A rare return reason. The account
1077
+ * was sold to another bank.
1078
+ * - `addenda_error` - Code R25. The addenda record is incorrect or missing.
1079
+ * - `beneficiary_or_account_holder_deceased` - Code R15. A rare return reason. The
1080
+ * account holder is deceased.
1081
+ * - `customer_advised_not_within_authorization_terms` - Code R11. A rare return
1082
+ * reason. The customer authorized some payment to the sender, but this payment
1083
+ * was not in error.
1084
+ * - `corrected_return` - Code R74. A rare return reason. Sent in response to a
1085
+ * return that was returned with code `field_error`. The latest return should
1086
+ * include the corrected field(s).
1087
+ * - `duplicate_entry` - Code R24. A rare return reason. The receiving bank
1088
+ * received an exact duplicate entry with the same trace number and amount.
1089
+ * - `duplicate_return` - Code R67. A rare return reason. The return this message
1090
+ * refers to was a duplicate.
1091
+ * - `enr_duplicate_enrollment` - Code R47. A rare return reason. Only used for US
1092
+ * Government agency non-monetary automatic enrollment messages.
1093
+ * - `enr_invalid_dfi_account_number` - Code R43. A rare return reason. Only used
1094
+ * for US Government agency non-monetary automatic enrollment messages.
1095
+ * - `enr_invalid_individual_id_number` - Code R44. A rare return reason. Only used
1096
+ * for US Government agency non-monetary automatic enrollment messages.
1097
+ * - `enr_invalid_representative_payee_indicator` - Code R46. A rare return reason.
1098
+ * Only used for US Government agency non-monetary automatic enrollment messages.
1099
+ * - `enr_invalid_transaction_code` - Code R41. A rare return reason. Only used for
1100
+ * US Government agency non-monetary automatic enrollment messages.
1101
+ * - `enr_return_of_enr_entry` - Code R40. A rare return reason. Only used for US
1102
+ * Government agency non-monetary automatic enrollment messages.
1103
+ * - `enr_routing_number_check_digit_error` - Code R42. A rare return reason. Only
1104
+ * used for US Government agency non-monetary automatic enrollment messages.
1105
+ * - `entry_not_processed_by_gateway` - Code R84. A rare return reason. The
1106
+ * International ACH Transfer cannot be processed by the gateway.
1107
+ * - `field_error` - Code R69. A rare return reason. One or more of the fields in
1108
+ * the ACH were malformed.
1109
+ * - `foreign_receiving_dfi_unable_to_settle` - Code R83. A rare return reason. The
1110
+ * Foreign receiving bank was unable to settle this ACH transfer.
1111
+ * - `iat_entry_coding_error` - Code R80. A rare return reason. The International
1112
+ * ACH Transfer is malformed.
1113
+ * - `improper_effective_entry_date` - Code R18. A rare return reason. The ACH has
1114
+ * an improper effective entry date field.
1115
+ * - `improper_source_document_source_document_presented` - Code R39. A rare return
1116
+ * reason. The source document related to this ACH, usually an ACH check
1117
+ * conversion, was presented to the bank.
1118
+ * - `invalid_company_id` - Code R21. A rare return reason. The Company ID field of
1119
+ * the ACH was invalid.
1120
+ * - `invalid_foreign_receiving_dfi_identification` - Code R82. A rare return
1121
+ * reason. The foreign receiving bank identifier for an International ACH
1122
+ * Transfer was invalid.
1123
+ * - `invalid_individual_id_number` - Code R22. A rare return reason. The
1124
+ * Individual ID number field of the ACH was invalid.
1125
+ * - `item_and_rck_entry_presented_for_payment` - Code R53. A rare return reason.
1126
+ * Both the Represented Check ("RCK") entry and the original check were presented
1127
+ * to the bank.
1128
+ * - `item_related_to_rck_entry_is_ineligible` - Code R51. A rare return reason.
1129
+ * The Represented Check ("RCK") entry is ineligible.
1130
+ * - `mandatory_field_error` - Code R26. A rare return reason. The ACH is missing a
1131
+ * required field.
1132
+ * - `misrouted_dishonored_return` - Code R71. A rare return reason. The receiving
1133
+ * bank does not recognize the routing number in a dishonored return entry.
1134
+ * - `misrouted_return` - Code R61. A rare return reason. The receiving bank does
1135
+ * not recognize the routing number in a return entry.
1136
+ * - `no_errors_found` - Code R76. A rare return reason. Sent in response to a
1137
+ * return, the bank does not find the errors alleged by the returning bank.
1138
+ * - `non_acceptance_of_r62_dishonored_return` - Code R77. A rare return reason.
1139
+ * The receiving bank does not accept the return of the erroneous debit. The
1140
+ * funds are not available at the receiving bank.
1141
+ * - `non_participant_in_iat_program` - Code R81. A rare return reason. The
1142
+ * receiving bank does not accept International ACH Transfers.
1143
+ * - `permissible_return_entry` - Code R31. A rare return reason. A return that has
1144
+ * been agreed to be accepted by the receiving bank, despite falling outside of
1145
+ * the usual return timeframe.
1146
+ * - `permissible_return_entry_not_accepted` - Code R70. A rare return reason. The
1147
+ * receiving bank had not approved this return.
1148
+ * - `rdfi_non_settlement` - Code R32. A rare return reason. The receiving bank
1149
+ * could not settle this transaction.
1150
+ * - `rdfi_participant_in_check_truncation_program` - Code R30. A rare return
1151
+ * reason. The receiving bank does not accept Check Truncation ACH transfers.
1152
+ * - `representative_payee_deceased_or_unable_to_continue_in_that_capacity` - Code
1153
+ * R14. A rare return reason. The payee is deceased.
1154
+ * - `return_not_a_duplicate` - Code R75. A rare return reason. The originating
1155
+ * bank disputes that an earlier `duplicate_entry` return was actually a
1156
+ * duplicate.
1157
+ * - `return_of_erroneous_or_reversing_debit` - Code R62. A rare return reason. The
1158
+ * originating bank made a mistake earlier and this return corrects it.
1159
+ * - `return_of_improper_credit_entry` - Code R36. A rare return reason. Return of
1160
+ * a malformed credit entry.
1161
+ * - `return_of_improper_debit_entry` - Code R35. A rare return reason. Return of a
1162
+ * malformed debit entry.
1163
+ * - `return_of_xck_entry` - Code R33. A rare return reason. Return of a Destroyed
1164
+ * Check ("XKC") entry.
1165
+ * - `source_document_presented_for_payment` - Code R37. A rare return reason. The
1166
+ * source document related to this ACH, usually an ACH check conversion, was
1167
+ * presented to the bank.
1168
+ * - `state_law_affecting_rck_acceptance` - Code R50. A rare return reason. State
1169
+ * law prevents the bank from accepting the Represented Check ("RCK") entry.
1170
+ * - `stop_payment_on_item_related_to_rck_entry` - Code R52. A rare return reason.
1171
+ * A stop payment was issued on a Represented Check ("RCK") entry.
1172
+ * - `stop_payment_on_source_document` - Code R38. A rare return reason. The source
1173
+ * attached to the ACH, usually an ACH check conversion, includes a stop payment.
1174
+ * - `timely_original_return` - Code R73. A rare return reason. The bank receiving
1175
+ * an `untimely_return` believes it was on time.
1176
+ * - `trace_number_error` - Code R27. A rare return reason. An ACH Return's trace
1177
+ * number does not match an originated ACH.
1178
+ * - `untimely_dishonored_return` - Code R72. A rare return reason. The dishonored
1179
+ * return was sent too late.
1180
+ * - `untimely_return` - Code R68. A rare return reason. The return was sent too
1181
+ * late.
1182
+ */
1183
+ return_reason_code:
1184
+ | 'insufficient_fund'
1185
+ | 'no_account'
1186
+ | 'account_closed'
1187
+ | 'invalid_account_number_structure'
1188
+ | 'account_frozen_entry_returned_per_ofac_instruction'
1189
+ | 'credit_entry_refused_by_receiver'
1190
+ | 'unauthorized_debit_to_consumer_account_using_corporate_sec_code'
1191
+ | 'corporate_customer_advised_not_authorized'
1192
+ | 'payment_stopped'
1193
+ | 'non_transaction_account'
1194
+ | 'uncollected_funds'
1195
+ | 'routing_number_check_digit_error'
1196
+ | 'customer_advised_unauthorized_improper_ineligible_or_incomplete'
1197
+ | 'amount_field_error'
1198
+ | 'authorization_revoked_by_customer'
1199
+ | 'invalid_ach_routing_number'
1200
+ | 'file_record_edit_criteria'
1201
+ | 'enr_invalid_individual_name'
1202
+ | 'returned_per_odfi_request'
1203
+ | 'limited_participation_dfi'
1204
+ | 'incorrectly_coded_outbound_international_payment'
1205
+ | 'account_sold_to_another_dfi'
1206
+ | 'addenda_error'
1207
+ | 'beneficiary_or_account_holder_deceased'
1208
+ | 'customer_advised_not_within_authorization_terms'
1209
+ | 'corrected_return'
1210
+ | 'duplicate_entry'
1211
+ | 'duplicate_return'
1212
+ | 'enr_duplicate_enrollment'
1213
+ | 'enr_invalid_dfi_account_number'
1214
+ | 'enr_invalid_individual_id_number'
1215
+ | 'enr_invalid_representative_payee_indicator'
1216
+ | 'enr_invalid_transaction_code'
1217
+ | 'enr_return_of_enr_entry'
1218
+ | 'enr_routing_number_check_digit_error'
1219
+ | 'entry_not_processed_by_gateway'
1220
+ | 'field_error'
1221
+ | 'foreign_receiving_dfi_unable_to_settle'
1222
+ | 'iat_entry_coding_error'
1223
+ | 'improper_effective_entry_date'
1224
+ | 'improper_source_document_source_document_presented'
1225
+ | 'invalid_company_id'
1226
+ | 'invalid_foreign_receiving_dfi_identification'
1227
+ | 'invalid_individual_id_number'
1228
+ | 'item_and_rck_entry_presented_for_payment'
1229
+ | 'item_related_to_rck_entry_is_ineligible'
1230
+ | 'mandatory_field_error'
1231
+ | 'misrouted_dishonored_return'
1232
+ | 'misrouted_return'
1233
+ | 'no_errors_found'
1234
+ | 'non_acceptance_of_r62_dishonored_return'
1235
+ | 'non_participant_in_iat_program'
1236
+ | 'permissible_return_entry'
1237
+ | 'permissible_return_entry_not_accepted'
1238
+ | 'rdfi_non_settlement'
1239
+ | 'rdfi_participant_in_check_truncation_program'
1240
+ | 'representative_payee_deceased_or_unable_to_continue_in_that_capacity'
1241
+ | 'return_not_a_duplicate'
1242
+ | 'return_of_erroneous_or_reversing_debit'
1243
+ | 'return_of_improper_credit_entry'
1244
+ | 'return_of_improper_debit_entry'
1245
+ | 'return_of_xck_entry'
1246
+ | 'source_document_presented_for_payment'
1247
+ | 'state_law_affecting_rck_acceptance'
1248
+ | 'stop_payment_on_item_related_to_rck_entry'
1249
+ | 'stop_payment_on_source_document'
1250
+ | 'timely_original_return'
1251
+ | 'trace_number_error'
1252
+ | 'untimely_dishonored_return'
1253
+ | 'untimely_return';
1254
+ /**
1255
+ * The identifier of the Tranasaction associated with this return.
1256
+ */
1257
+ transaction_id: string;
1258
+ /**
1259
+ * The identifier of the ACH Transfer associated with this return.
1260
+ */
1261
+ transfer_id: string;
1262
+ }
1263
+ /**
1264
+ * A Card Dispute Acceptance object. This field will be present in the JSON
1265
+ * response if and only if `category` is equal to `card_dispute_acceptance`.
1266
+ */
1267
+ interface CardDisputeAcceptance {
1268
+ /**
1269
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
1270
+ * the Card Dispute was accepted.
1271
+ */
1272
+ accepted_at: string;
1273
+ /**
1274
+ * The identifier of the Card Dispute that was accepted.
1275
+ */
1276
+ card_dispute_id: string;
1277
+ /**
1278
+ * The identifier of the Transaction that was created to return the disputed funds
1279
+ * to your account.
1280
+ */
1281
+ transaction_id: string;
1282
+ }
1283
+ /**
1284
+ * A Card Refund object. This field will be present in the JSON response if and
1285
+ * only if `category` is equal to `card_refund`.
1286
+ */
1287
+ interface CardRefund {
1288
+ /**
1289
+ * The Card Refund identifier.
1290
+ */
1291
+ id: string;
1292
+ /**
1293
+ * The pending amount in the minor unit of the transaction's currency. For dollars,
1294
+ * for example, this is cents.
1295
+ */
1296
+ amount: number;
1297
+ /**
1298
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
1299
+ * transaction's currency.
1300
+ *
1301
+ * - `CAD` - Canadian Dollar (CAD)
1302
+ * - `CHF` - Swiss Franc (CHF)
1303
+ * - `EUR` - Euro (EUR)
1304
+ * - `GBP` - British Pound (GBP)
1305
+ * - `JPY` - Japanese Yen (JPY)
1306
+ * - `USD` - US Dollar (USD)
1307
+ */
1308
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
1309
+ /**
1310
+ * The merchant identifier (commonly abbreviated as MID) of the merchant the card
1311
+ * is transacting with.
1312
+ */
1313
+ merchant_acceptor_id: string | null;
1314
+ /**
1315
+ * The 4-digit MCC describing the merchant's business.
1316
+ */
1317
+ merchant_category_code: string;
1318
+ /**
1319
+ * The city the merchant resides in.
1320
+ */
1321
+ merchant_city: string | null;
1322
+ /**
1323
+ * The country the merchant resides in.
1324
+ */
1325
+ merchant_country: string;
1326
+ /**
1327
+ * The name of the merchant.
1328
+ */
1329
+ merchant_name: string | null;
1330
+ /**
1331
+ * The state the merchant resides in.
1332
+ */
1333
+ merchant_state: string | null;
1334
+ /**
1335
+ * The identifier of the Transaction associated with this Transaction.
1336
+ */
1337
+ transaction_id: string;
1338
+ /**
1339
+ * A constant representing the object's type. For this resource it will always be
1340
+ * `card_refund`.
1341
+ */
1342
+ type: 'card_refund';
1343
+ }
1344
+ /**
1345
+ * A Card Revenue Payment object. This field will be present in the JSON response
1346
+ * if and only if `category` is equal to `card_revenue_payment`.
1347
+ */
1348
+ interface CardRevenuePayment {
1349
+ /**
1350
+ * The amount in the minor unit of the transaction's currency. For dollars, for
1351
+ * example, this is cents.
1352
+ */
1353
+ amount: number;
1354
+ /**
1355
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction
1356
+ * currency.
1357
+ *
1358
+ * - `CAD` - Canadian Dollar (CAD)
1359
+ * - `CHF` - Swiss Franc (CHF)
1360
+ * - `EUR` - Euro (EUR)
1361
+ * - `GBP` - British Pound (GBP)
1362
+ * - `JPY` - Japanese Yen (JPY)
1363
+ * - `USD` - US Dollar (USD)
1364
+ */
1365
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
1366
+ /**
1367
+ * The end of the period for which this transaction paid interest.
1368
+ */
1369
+ period_end: string;
1370
+ /**
1371
+ * The start of the period for which this transaction paid interest.
1372
+ */
1373
+ period_start: string;
1374
+ /**
1375
+ * The account the card belonged to.
1376
+ */
1377
+ transacted_on_account_id: string | null;
1378
+ }
1379
+ /**
1380
+ * A Card Settlement object. This field will be present in the JSON response if and
1381
+ * only if `category` is equal to `card_settlement`.
1382
+ */
1383
+ interface CardSettlement {
1384
+ /**
1385
+ * The Card Settlement identifier.
1386
+ */
1387
+ id: string;
1388
+ /**
1389
+ * The amount in the minor unit of the transaction's settlement currency. For
1390
+ * dollars, for example, this is cents.
1391
+ */
1392
+ amount: number;
1393
+ /**
1394
+ * The Card Authorization that was created prior to this Card Settlement, if on
1395
+ * exists.
1396
+ */
1397
+ card_authorization: string | null;
1398
+ /**
1399
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
1400
+ * transaction's settlement currency.
1401
+ *
1402
+ * - `CAD` - Canadian Dollar (CAD)
1403
+ * - `CHF` - Swiss Franc (CHF)
1404
+ * - `EUR` - Euro (EUR)
1405
+ * - `GBP` - British Pound (GBP)
1406
+ * - `JPY` - Japanese Yen (JPY)
1407
+ * - `USD` - US Dollar (USD)
1408
+ */
1409
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
1410
+ /**
1411
+ * The merchant identifier (commonly abbreviated as MID) of the merchant the card
1412
+ * is transacting with.
1413
+ */
1414
+ merchant_acceptor_id: string | null;
1415
+ /**
1416
+ * The 4-digit MCC describing the merchant's business.
1417
+ */
1418
+ merchant_category_code: string;
1419
+ /**
1420
+ * The city the merchant resides in.
1421
+ */
1422
+ merchant_city: string | null;
1423
+ /**
1424
+ * The country the merchant resides in.
1425
+ */
1426
+ merchant_country: string;
1427
+ /**
1428
+ * The name of the merchant.
1429
+ */
1430
+ merchant_name: string | null;
1431
+ /**
1432
+ * The state the merchant resides in.
1433
+ */
1434
+ merchant_state: string | null;
1435
+ /**
1436
+ * The identifier of the Pending Transaction associated with this Transaction.
1437
+ */
1438
+ pending_transaction_id: string | null;
1439
+ /**
1440
+ * The amount in the minor unit of the transaction's presentment currency.
1441
+ */
1442
+ presentment_amount: number;
1443
+ /**
1444
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
1445
+ * transaction's presentment currency.
1446
+ */
1447
+ presentment_currency: string;
1448
+ /**
1449
+ * The identifier of the Transaction associated with this Transaction.
1450
+ */
1451
+ transaction_id: string;
1452
+ /**
1453
+ * A constant representing the object's type. For this resource it will always be
1454
+ * `card_settlement`.
1455
+ */
1456
+ type: 'card_settlement';
1457
+ }
1458
+ /**
1459
+ * A Check Deposit Acceptance object. This field will be present in the JSON
1460
+ * response if and only if `category` is equal to `check_deposit_acceptance`.
1461
+ */
1462
+ interface CheckDepositAcceptance {
1463
+ /**
1464
+ * The account number printed on the check.
1465
+ */
1466
+ account_number: string;
1467
+ /**
1468
+ * The amount to be deposited in the minor unit of the transaction's currency. For
1469
+ * dollars, for example, this is cents.
1470
+ */
1471
+ amount: number;
1472
+ /**
1473
+ * An additional line of metadata printed on the check. This typically includes the
1474
+ * check number for business checks.
1475
+ */
1476
+ auxiliary_on_us: string | null;
1477
+ /**
1478
+ * The ID of the Check Deposit that was accepted.
1479
+ */
1480
+ check_deposit_id: string;
1481
+ /**
1482
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
1483
+ * transaction's currency.
1484
+ *
1485
+ * - `CAD` - Canadian Dollar (CAD)
1486
+ * - `CHF` - Swiss Franc (CHF)
1487
+ * - `EUR` - Euro (EUR)
1488
+ * - `GBP` - British Pound (GBP)
1489
+ * - `JPY` - Japanese Yen (JPY)
1490
+ * - `USD` - US Dollar (USD)
1491
+ */
1492
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
1493
+ /**
1494
+ * The routing number printed on the check.
1495
+ */
1496
+ routing_number: string;
1497
+ /**
1498
+ * The check serial number, if present, for consumer checks. For business checks,
1499
+ * the serial number is usually in the `auxiliary_on_us` field.
1500
+ */
1501
+ serial_number: string | null;
1502
+ }
1503
+ /**
1504
+ * A Check Deposit Return object. This field will be present in the JSON response
1505
+ * if and only if `category` is equal to `check_deposit_return`.
1506
+ */
1507
+ interface CheckDepositReturn {
1508
+ /**
1509
+ * The amount in the minor unit of the transaction's currency. For dollars, for
1510
+ * example, this is cents.
1511
+ */
1512
+ amount: number;
1513
+ /**
1514
+ * The identifier of the Check Deposit that was returned.
1515
+ */
1516
+ check_deposit_id: string;
1517
+ /**
1518
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
1519
+ * transaction's currency.
1520
+ *
1521
+ * - `CAD` - Canadian Dollar (CAD)
1522
+ * - `CHF` - Swiss Franc (CHF)
1523
+ * - `EUR` - Euro (EUR)
1524
+ * - `GBP` - British Pound (GBP)
1525
+ * - `JPY` - Japanese Yen (JPY)
1526
+ * - `USD` - US Dollar (USD)
1527
+ */
1528
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
1529
+ /**
1530
+ * - `ach_conversion_not_supported` - The check doesn't allow ACH conversion.
1531
+ * - `closed_account` - The account is closed.
1532
+ * - `duplicate_submission` - The check has already been deposited.
1533
+ * - `insufficient_funds` - Insufficient funds
1534
+ * - `no_account` - No account was found matching the check details.
1535
+ * - `not_authorized` - The check was not authorized.
1536
+ * - `stale_dated` - The check is too old.
1537
+ * - `stop_payment` - The payment has been stopped by the account holder.
1538
+ * - `unknown_reason` - The reason for the return is unknown.
1539
+ * - `unmatched_details` - The image doesn't match the details submitted.
1540
+ * - `unreadable_image` - The image could not be read.
1541
+ * - `endorsement_irregular` - The check endorsement was irregular.
1542
+ */
1543
+ return_reason:
1544
+ | 'ach_conversion_not_supported'
1545
+ | 'closed_account'
1546
+ | 'duplicate_submission'
1547
+ | 'insufficient_funds'
1548
+ | 'no_account'
1549
+ | 'not_authorized'
1550
+ | 'stale_dated'
1551
+ | 'stop_payment'
1552
+ | 'unknown_reason'
1553
+ | 'unmatched_details'
1554
+ | 'unreadable_image'
1555
+ | 'endorsement_irregular';
1556
+ /**
1557
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
1558
+ * the check deposit was returned.
1559
+ */
1560
+ returned_at: string;
1561
+ /**
1562
+ * The identifier of the transaction that reversed the original check deposit
1563
+ * transaction.
1564
+ */
1565
+ transaction_id: string;
1566
+ }
1567
+ /**
1568
+ * A Check Transfer Deposit object. This field will be present in the JSON response
1569
+ * if and only if `category` is equal to `check_transfer_deposit`.
1570
+ */
1571
+ interface CheckTransferDeposit {
1572
+ /**
1573
+ * The identifier of the API File object containing an image of the back of the
1574
+ * deposited check.
1575
+ */
1576
+ back_image_file_id: string | null;
1577
+ /**
1578
+ * When the check was deposited.
1579
+ */
1580
+ deposited_at: string;
1581
+ /**
1582
+ * The identifier of the API File object containing an image of the front of the
1583
+ * deposited check.
1584
+ */
1585
+ front_image_file_id: string | null;
1586
+ /**
1587
+ * The identifier of the Transaction object created when the check was deposited.
1588
+ */
1589
+ transaction_id: string | null;
1590
+ /**
1591
+ * A constant representing the object's type. For this resource it will always be
1592
+ * `check_transfer_deposit`.
1593
+ */
1594
+ type: 'check_transfer_deposit';
1595
+ }
1596
+ /**
1597
+ * A Check Transfer Intention object. This field will be present in the JSON
1598
+ * response if and only if `category` is equal to `check_transfer_intention`.
1599
+ */
1600
+ interface CheckTransferIntention {
1601
+ /**
1602
+ * The city of the check's destination.
1603
+ */
1604
+ address_city: string | null;
1605
+ /**
1606
+ * The street address of the check's destination.
1607
+ */
1608
+ address_line1: string | null;
1609
+ /**
1610
+ * The second line of the address of the check's destination.
1611
+ */
1612
+ address_line2: string | null;
1613
+ /**
1614
+ * The state of the check's destination.
1615
+ */
1616
+ address_state: string | null;
1617
+ /**
1618
+ * The postal code of the check's destination.
1619
+ */
1620
+ address_zip: string | null;
1621
+ /**
1622
+ * The transfer amount in USD cents.
1623
+ */
1624
+ amount: number;
1625
+ /**
1626
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's
1627
+ * currency.
1628
+ *
1629
+ * - `CAD` - Canadian Dollar (CAD)
1630
+ * - `CHF` - Swiss Franc (CHF)
1631
+ * - `EUR` - Euro (EUR)
1632
+ * - `GBP` - British Pound (GBP)
1633
+ * - `JPY` - Japanese Yen (JPY)
1634
+ * - `USD` - US Dollar (USD)
1635
+ */
1636
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
1637
+ /**
1638
+ * The name that will be printed on the check.
1639
+ */
1640
+ recipient_name: string | null;
1641
+ /**
1642
+ * The identifier of the Check Transfer with which this is associated.
1643
+ */
1644
+ transfer_id: string;
1645
+ }
1646
+ /**
1647
+ * A Check Transfer Rejection object. This field will be present in the JSON
1648
+ * response if and only if `category` is equal to `check_transfer_rejection`.
1649
+ */
1650
+ interface CheckTransferRejection {
1651
+ /**
1652
+ * The identifier of the Check Transfer that led to this Transaction.
1653
+ */
1654
+ transfer_id: string;
1655
+ }
1656
+ /**
1657
+ * A Check Transfer Stop Payment Request object. This field will be present in the
1658
+ * JSON response if and only if `category` is equal to
1659
+ * `check_transfer_stop_payment_request`.
1660
+ */
1661
+ interface CheckTransferStopPaymentRequest {
1662
+ /**
1663
+ * The reason why this transfer was stopped.
1664
+ *
1665
+ * - `mail_delivery_failed` - The check could not be delivered.
1666
+ * - `unknown` - The check was stopped for another reason.
1667
+ */
1668
+ reason: 'mail_delivery_failed' | 'unknown';
1669
+ /**
1670
+ * The time the stop-payment was requested.
1671
+ */
1672
+ requested_at: string;
1673
+ /**
1674
+ * The ID of the check transfer that was stopped.
1675
+ */
1676
+ transfer_id: string;
1677
+ /**
1678
+ * A constant representing the object's type. For this resource it will always be
1679
+ * `check_transfer_stop_payment_request`.
1680
+ */
1681
+ type: 'check_transfer_stop_payment_request';
1682
+ }
1683
+ /**
1684
+ * A Fee Payment object. This field will be present in the JSON response if and
1685
+ * only if `category` is equal to `fee_payment`.
1686
+ */
1687
+ interface FeePayment {
1688
+ /**
1689
+ * The amount in the minor unit of the transaction's currency. For dollars, for
1690
+ * example, this is cents.
1691
+ */
1692
+ amount: number;
1693
+ /**
1694
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction
1695
+ * currency.
1696
+ *
1697
+ * - `CAD` - Canadian Dollar (CAD)
1698
+ * - `CHF` - Swiss Franc (CHF)
1699
+ * - `EUR` - Euro (EUR)
1700
+ * - `GBP` - British Pound (GBP)
1701
+ * - `JPY` - Japanese Yen (JPY)
1702
+ * - `USD` - US Dollar (USD)
1703
+ */
1704
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
1705
+ }
1706
+ /**
1707
+ * A Inbound ACH Transfer object. This field will be present in the JSON response
1708
+ * if and only if `category` is equal to `inbound_ach_transfer`.
1709
+ */
1710
+ interface InboundACHTransfer {
1711
+ /**
1712
+ * The amount in the minor unit of the destination account currency. For dollars,
1713
+ * for example, this is cents.
1714
+ */
1715
+ amount: number;
1716
+ originator_company_descriptive_date: string | null;
1717
+ originator_company_discretionary_data: string | null;
1718
+ originator_company_entry_description: string;
1719
+ originator_company_id: string;
1720
+ originator_company_name: string;
1721
+ receiver_id_number: string | null;
1722
+ receiver_name: string | null;
1723
+ trace_number: string;
1724
+ }
1725
+ /**
1726
+ * A Inbound Check object. This field will be present in the JSON response if and
1727
+ * only if `category` is equal to `inbound_check`.
1728
+ */
1729
+ interface InboundCheck {
1730
+ /**
1731
+ * The amount in the minor unit of the destination account currency. For dollars,
1732
+ * for example, this is cents.
1733
+ */
1734
+ amount: number;
1735
+ check_front_image_file_id: string | null;
1736
+ check_number: string | null;
1737
+ check_rear_image_file_id: string | null;
1738
+ /**
1739
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
1740
+ * transaction's currency.
1741
+ *
1742
+ * - `CAD` - Canadian Dollar (CAD)
1743
+ * - `CHF` - Swiss Franc (CHF)
1744
+ * - `EUR` - Euro (EUR)
1745
+ * - `GBP` - British Pound (GBP)
1746
+ * - `JPY` - Japanese Yen (JPY)
1747
+ * - `USD` - US Dollar (USD)
1748
+ */
1749
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
1750
+ }
1751
+ /**
1752
+ * A Inbound International ACH Transfer object. This field will be present in the
1753
+ * JSON response if and only if `category` is equal to
1754
+ * `inbound_international_ach_transfer`.
1755
+ */
1756
+ interface InboundInternationalACHTransfer {
1757
+ /**
1758
+ * The amount in the minor unit of the destination account currency. For dollars,
1759
+ * for example, this is cents.
1760
+ */
1761
+ amount: number;
1762
+ destination_country_code: string;
1763
+ destination_currency_code: string;
1764
+ foreign_exchange_indicator: string;
1765
+ foreign_exchange_reference: string | null;
1766
+ foreign_exchange_reference_indicator: string;
1767
+ foreign_payment_amount: number;
1768
+ foreign_trace_number: string | null;
1769
+ international_transaction_type_code: string;
1770
+ originating_currency_code: string;
1771
+ originating_depository_financial_institution_branch_country: string;
1772
+ originating_depository_financial_institution_id: string;
1773
+ originating_depository_financial_institution_id_qualifier: string;
1774
+ originating_depository_financial_institution_name: string;
1775
+ originator_city: string;
1776
+ originator_company_entry_description: string;
1777
+ originator_country: string;
1778
+ originator_identification: string;
1779
+ originator_name: string;
1780
+ originator_postal_code: string | null;
1781
+ originator_state_or_province: string | null;
1782
+ originator_street_address: string;
1783
+ payment_related_information: string | null;
1784
+ payment_related_information2: string | null;
1785
+ receiver_city: string;
1786
+ receiver_country: string;
1787
+ receiver_identification_number: string | null;
1788
+ receiver_postal_code: string | null;
1789
+ receiver_state_or_province: string | null;
1790
+ receiver_street_address: string;
1791
+ receiving_company_or_individual_name: string;
1792
+ receiving_depository_financial_institution_country: string;
1793
+ receiving_depository_financial_institution_id: string;
1794
+ receiving_depository_financial_institution_id_qualifier: string;
1795
+ receiving_depository_financial_institution_name: string;
1796
+ trace_number: string;
1797
+ }
1798
+ /**
1799
+ * A Inbound Real Time Payments Transfer Confirmation object. This field will be
1800
+ * present in the JSON response if and only if `category` is equal to
1801
+ * `inbound_real_time_payments_transfer_confirmation`.
1802
+ */
1803
+ interface InboundRealTimePaymentsTransferConfirmation {
1804
+ /**
1805
+ * The amount in the minor unit of the transfer's currency. For dollars, for
1806
+ * example, this is cents.
1807
+ */
1808
+ amount: number;
1809
+ /**
1810
+ * The name the sender of the transfer specified as the recipient of the transfer.
1811
+ */
1812
+ creditor_name: string;
1813
+ /**
1814
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the transfer's
1815
+ * currency. This will always be "USD" for a Real Time Payments transfer.
1816
+ *
1817
+ * - `CAD` - Canadian Dollar (CAD)
1818
+ * - `CHF` - Swiss Franc (CHF)
1819
+ * - `EUR` - Euro (EUR)
1820
+ * - `GBP` - British Pound (GBP)
1821
+ * - `JPY` - Japanese Yen (JPY)
1822
+ * - `USD` - US Dollar (USD)
1823
+ */
1824
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
1825
+ /**
1826
+ * The account number of the account that sent the transfer.
1827
+ */
1828
+ debtor_account_number: string;
1829
+ /**
1830
+ * The name provided by the sender of the transfer.
1831
+ */
1832
+ debtor_name: string;
1833
+ /**
1834
+ * The routing number of the account that sent the transfer.
1835
+ */
1836
+ debtor_routing_number: string;
1837
+ /**
1838
+ * Additional information included with the transfer.
1839
+ */
1840
+ remittance_information: string | null;
1841
+ /**
1842
+ * The Real Time Payments network identification of the transfer
1843
+ */
1844
+ transaction_identification: string;
1845
+ }
1846
+ /**
1847
+ * A Inbound Wire Drawdown Payment object. This field will be present in the JSON
1848
+ * response if and only if `category` is equal to `inbound_wire_drawdown_payment`.
1849
+ */
1850
+ interface InboundWireDrawdownPayment {
1851
+ /**
1852
+ * The amount in the minor unit of the transaction's currency. For dollars, for
1853
+ * example, this is cents.
1854
+ */
1855
+ amount: number;
1856
+ beneficiary_address_line1: string | null;
1857
+ beneficiary_address_line2: string | null;
1858
+ beneficiary_address_line3: string | null;
1859
+ beneficiary_name: string | null;
1860
+ beneficiary_reference: string | null;
1861
+ description: string;
1862
+ input_message_accountability_data: string | null;
1863
+ originator_address_line1: string | null;
1864
+ originator_address_line2: string | null;
1865
+ originator_address_line3: string | null;
1866
+ originator_name: string | null;
1867
+ originator_to_beneficiary_information: string | null;
1868
+ }
1869
+ /**
1870
+ * A Inbound Wire Drawdown Payment Reversal object. This field will be present in
1871
+ * the JSON response if and only if `category` is equal to
1872
+ * `inbound_wire_drawdown_payment_reversal`.
1873
+ */
1874
+ interface InboundWireDrawdownPaymentReversal {
1875
+ /**
1876
+ * The amount that was reversed.
1877
+ */
1878
+ amount: number;
1879
+ /**
1880
+ * The description on the reversal message from Fedwire.
1881
+ */
1882
+ description: string;
1883
+ /**
1884
+ * The Fedwire cycle date for the wire reversal.
1885
+ */
1886
+ input_cycle_date: string;
1887
+ /**
1888
+ * The Fedwire transaction identifier.
1889
+ */
1890
+ input_message_accountability_data: string;
1891
+ /**
1892
+ * The Fedwire sequence number.
1893
+ */
1894
+ input_sequence_number: string;
1895
+ /**
1896
+ * The Fedwire input source identifier.
1897
+ */
1898
+ input_source: string;
1899
+ /**
1900
+ * The Fedwire cycle date for the wire transfer that was reversed.
1901
+ */
1902
+ previous_message_input_cycle_date: string;
1903
+ /**
1904
+ * The Fedwire transaction identifier for the wire transfer that was reversed.
1905
+ */
1906
+ previous_message_input_message_accountability_data: string;
1907
+ /**
1908
+ * The Fedwire sequence number for the wire transfer that was reversed.
1909
+ */
1910
+ previous_message_input_sequence_number: string;
1911
+ /**
1912
+ * The Fedwire input source identifier for the wire transfer that was reversed.
1913
+ */
1914
+ previous_message_input_source: string;
1915
+ }
1916
+ /**
1917
+ * A Inbound Wire Reversal object. This field will be present in the JSON response
1918
+ * if and only if `category` is equal to `inbound_wire_reversal`.
1919
+ */
1920
+ interface InboundWireReversal {
1921
+ /**
1922
+ * The amount that was reversed.
1923
+ */
1924
+ amount: number;
1925
+ /**
1926
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
1927
+ * the reversal was created.
1928
+ */
1929
+ created_at: string;
1930
+ /**
1931
+ * The description on the reversal message from Fedwire.
1932
+ */
1933
+ description: string;
1934
+ /**
1935
+ * Additional financial institution information included in the wire reversal.
1936
+ */
1937
+ financial_institution_to_financial_institution_information: string | null;
1938
+ /**
1939
+ * The Fedwire cycle date for the wire reversal.
1940
+ */
1941
+ input_cycle_date: string;
1942
+ /**
1943
+ * The Fedwire transaction identifier.
1944
+ */
1945
+ input_message_accountability_data: string;
1946
+ /**
1947
+ * The Fedwire sequence number.
1948
+ */
1949
+ input_sequence_number: string;
1950
+ /**
1951
+ * The Fedwire input source identifier.
1952
+ */
1953
+ input_source: string;
1954
+ /**
1955
+ * The Fedwire cycle date for the wire transfer that was reversed.
1956
+ */
1957
+ previous_message_input_cycle_date: string;
1958
+ /**
1959
+ * The Fedwire transaction identifier for the wire transfer that was reversed.
1960
+ */
1961
+ previous_message_input_message_accountability_data: string;
1962
+ /**
1963
+ * The Fedwire sequence number for the wire transfer that was reversed.
1964
+ */
1965
+ previous_message_input_sequence_number: string;
1966
+ /**
1967
+ * The Fedwire input source identifier for the wire transfer that was reversed.
1968
+ */
1969
+ previous_message_input_source: string;
1970
+ /**
1971
+ * Information included in the wire reversal for the receiving financial
1972
+ * institution.
1973
+ */
1974
+ receiver_financial_institution_information: string | null;
1975
+ /**
1976
+ * The ID for the Transaction associated with the transfer reversal.
1977
+ */
1978
+ transaction_id: string | null;
1979
+ /**
1980
+ * The ID for the Wire Transfer that is being reversed.
1981
+ */
1982
+ wire_transfer_id: string;
1983
+ }
1984
+ /**
1985
+ * A Inbound Wire Transfer object. This field will be present in the JSON response
1986
+ * if and only if `category` is equal to `inbound_wire_transfer`.
1987
+ */
1988
+ interface InboundWireTransfer {
1989
+ /**
1990
+ * The amount in the minor unit of the transaction's currency. For dollars, for
1991
+ * example, this is cents.
1992
+ */
1993
+ amount: number;
1994
+ beneficiary_address_line1: string | null;
1995
+ beneficiary_address_line2: string | null;
1996
+ beneficiary_address_line3: string | null;
1997
+ beneficiary_name: string | null;
1998
+ beneficiary_reference: string | null;
1999
+ description: string;
2000
+ input_message_accountability_data: string | null;
2001
+ originator_address_line1: string | null;
2002
+ originator_address_line2: string | null;
2003
+ originator_address_line3: string | null;
2004
+ originator_name: string | null;
2005
+ originator_to_beneficiary_information: string | null;
2006
+ originator_to_beneficiary_information_line1: string | null;
2007
+ originator_to_beneficiary_information_line2: string | null;
2008
+ originator_to_beneficiary_information_line3: string | null;
2009
+ originator_to_beneficiary_information_line4: string | null;
2010
+ }
2011
+ /**
2012
+ * A Interest Payment object. This field will be present in the JSON response if
2013
+ * and only if `category` is equal to `interest_payment`.
2014
+ */
2015
+ interface InterestPayment {
2016
+ /**
2017
+ * The account on which the interest was accrued.
2018
+ */
2019
+ accrued_on_account_id: string | null;
2020
+ /**
2021
+ * The amount in the minor unit of the transaction's currency. For dollars, for
2022
+ * example, this is cents.
2023
+ */
2024
+ amount: number;
2025
+ /**
2026
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction
2027
+ * currency.
2028
+ *
2029
+ * - `CAD` - Canadian Dollar (CAD)
2030
+ * - `CHF` - Swiss Franc (CHF)
2031
+ * - `EUR` - Euro (EUR)
2032
+ * - `GBP` - British Pound (GBP)
2033
+ * - `JPY` - Japanese Yen (JPY)
2034
+ * - `USD` - US Dollar (USD)
2035
+ */
2036
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
2037
+ /**
2038
+ * The end of the period for which this transaction paid interest.
2039
+ */
2040
+ period_end: string;
2041
+ /**
2042
+ * The start of the period for which this transaction paid interest.
2043
+ */
2044
+ period_start: string;
2045
+ }
2046
+ /**
2047
+ * A Internal Source object. This field will be present in the JSON response if and
2048
+ * only if `category` is equal to `internal_source`.
2049
+ */
2050
+ interface InternalSource {
2051
+ /**
2052
+ * The amount in the minor unit of the transaction's currency. For dollars, for
2053
+ * example, this is cents.
2054
+ */
2055
+ amount: number;
2056
+ /**
2057
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction
2058
+ * currency.
2059
+ *
2060
+ * - `CAD` - Canadian Dollar (CAD)
2061
+ * - `CHF` - Swiss Franc (CHF)
2062
+ * - `EUR` - Euro (EUR)
2063
+ * - `GBP` - British Pound (GBP)
2064
+ * - `JPY` - Japanese Yen (JPY)
2065
+ * - `USD` - US Dollar (USD)
2066
+ */
2067
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
2068
+ /**
2069
+ * - `account_closure` - Account closure
2070
+ * - `bank_migration` - Bank migration
2071
+ * - `cashback` - Cashback
2072
+ * - `collection_receivable` - Collection receivable
2073
+ * - `empyreal_adjustment` - Empyreal adjustment
2074
+ * - `error` - Error
2075
+ * - `error_correction` - Error correction
2076
+ * - `fees` - Fees
2077
+ * - `interest` - Interest
2078
+ * - `negative_balance_forgiveness` - Negative balance forgiveness
2079
+ * - `sample_funds` - Sample funds
2080
+ * - `sample_funds_return` - Sample funds return
2081
+ */
2082
+ reason:
2083
+ | 'account_closure'
2084
+ | 'bank_migration'
2085
+ | 'cashback'
2086
+ | 'collection_receivable'
2087
+ | 'empyreal_adjustment'
2088
+ | 'error'
2089
+ | 'error_correction'
2090
+ | 'fees'
2091
+ | 'interest'
2092
+ | 'negative_balance_forgiveness'
2093
+ | 'sample_funds'
2094
+ | 'sample_funds_return';
2095
+ }
2096
+ /**
2097
+ * A Real Time Payments Transfer Acknowledgement object. This field will be present
2098
+ * in the JSON response if and only if `category` is equal to
2099
+ * `real_time_payments_transfer_acknowledgement`.
2100
+ */
2101
+ interface RealTimePaymentsTransferAcknowledgement {
2102
+ /**
2103
+ * The transfer amount in USD cents.
2104
+ */
2105
+ amount: number;
2106
+ /**
2107
+ * The destination account number.
2108
+ */
2109
+ destination_account_number: string;
2110
+ /**
2111
+ * The American Bankers' Association (ABA) Routing Transit Number (RTN).
2112
+ */
2113
+ destination_routing_number: string;
2114
+ /**
2115
+ * Unstructured information that will show on the recipient's bank statement.
2116
+ */
2117
+ remittance_information: string;
2118
+ /**
2119
+ * The identifier of the Real Time Payments Transfer that led to this Transaction.
2120
+ */
2121
+ transfer_id: string;
2122
+ }
2123
+ /**
2124
+ * A Sample Funds object. This field will be present in the JSON response if and
2125
+ * only if `category` is equal to `sample_funds`.
2126
+ */
2127
+ interface SampleFunds {
2128
+ /**
2129
+ * Where the sample funds came from.
2130
+ */
2131
+ originator: string;
2132
+ }
2133
+ /**
2134
+ * A Wire Transfer Intention object. This field will be present in the JSON
2135
+ * response if and only if `category` is equal to `wire_transfer_intention`.
2136
+ */
2137
+ interface WireTransferIntention {
2138
+ /**
2139
+ * The destination account number.
2140
+ */
2141
+ account_number: string;
2142
+ /**
2143
+ * The transfer amount in USD cents.
2144
+ */
2145
+ amount: number;
2146
+ /**
2147
+ * The message that will show on the recipient's bank statement.
2148
+ */
2149
+ message_to_recipient: string;
2150
+ /**
2151
+ * The American Bankers' Association (ABA) Routing Transit Number (RTN).
2152
+ */
2153
+ routing_number: string;
2154
+ transfer_id: string;
2155
+ }
2156
+ /**
2157
+ * A Wire Transfer Rejection object. This field will be present in the JSON
2158
+ * response if and only if `category` is equal to `wire_transfer_rejection`.
2159
+ */
2160
+ interface WireTransferRejection {
2161
+ transfer_id: string;
2162
+ }
2163
+ }
2164
+ }
2165
+ }
2166
+ export interface RealTimePaymentsTransferCompleteParams {
2167
+ /**
2168
+ * If set, the simulation will reject the transfer.
2169
+ */
2170
+ rejection?: RealTimePaymentsTransferCompleteParams.Rejection;
2171
+ }
2172
+ export declare namespace RealTimePaymentsTransferCompleteParams {
2173
+ /**
2174
+ * If set, the simulation will reject the transfer.
2175
+ */
2176
+ interface Rejection {
2177
+ /**
2178
+ * The reason code that the simulated rejection will have.
2179
+ *
2180
+ * - `account_closed` - The destination account is closed. Corresponds to the Real
2181
+ * Time Payments reason code `AC04`.
2182
+ * - `account_blocked` - The destination account is currently blocked from
2183
+ * receiving transactions. Corresponds to the Real Time Payments reason code
2184
+ * `AC06`.
2185
+ * - `invalid_creditor_account_type` - The destination account is ineligible to
2186
+ * receive Real Time Payments transfers. Corresponds to the Real Time Payments
2187
+ * reason code `AC14`.
2188
+ * - `invalid_creditor_account_number` - The destination account does not exist.
2189
+ * Corresponds to the Real Time Payments reason code `AC03`.
2190
+ * - `invalid_creditor_financial_institution_identifier` - The destination routing
2191
+ * number is invalid. Corresponds to the Real Time Payments reason code `RC04`.
2192
+ * - `end_customer_deceased` - The destination account holder is deceased.
2193
+ * Corresponds to the Real Time Payments reason code `MD07`.
2194
+ * - `narrative` - The reason is provided as narrative information in the
2195
+ * additional information field.
2196
+ * - `transaction_forbidden` - Real Time Payments transfers are not allowed to the
2197
+ * destination account. Corresponds to the Real Time Payments reason code `AG01`.
2198
+ * - `transaction_type_not_supported` - Real Time Payments transfers are not
2199
+ * enabled for the destination account. Corresponds to the Real Time Payments
2200
+ * reason code `AG03`.
2201
+ * - `unexpected_amount` - The amount of the transfer is different than expected by
2202
+ * the recipient. Corresponds to the Real Time Payments reason code `AM09`.
2203
+ * - `amount_exceeds_bank_limits` - The amount is higher than the recipient is
2204
+ * authorized to send or receive. Corresponds to the Real Time Payments reason
2205
+ * code `AM14`.
2206
+ * - `invalid_creditor_address` - The creditor's address is required, but missing
2207
+ * or invalid. Corresponds to the Real Time Payments reason code `BE04`.
2208
+ * - `unknown_end_customer` - The specified creditor is unknown. Corresponds to the
2209
+ * Real Time Payments reason code `BE06`.
2210
+ * - `invalid_debtor_address` - The debtor's address is required, but missing or
2211
+ * invalid. Corresponds to the Real Time Payments reason code `BE07`.
2212
+ * - `timeout` - There was a timeout processing the transfer. Corresponds to the
2213
+ * Real Time Payments reason code `DS24`.
2214
+ * - `unsupported_message_for_recipient` - Real Time Payments transfers are not
2215
+ * enabled for the destination account. Corresponds to the Real Time Payments
2216
+ * reason code `NOAT`.
2217
+ * - `recipient_connection_not_available` - The destination financial institution
2218
+ * is currently not connected to Real Time Payments. Corresponds to the Real Time
2219
+ * Payments reason code `9912`.
2220
+ * - `real_time_payments_suspended` - Real Time Payments is currently unavailable.
2221
+ * Corresponds to the Real Time Payments reason code `9948`.
2222
+ * - `instructed_agent_signed_off` - The destination financial institution is
2223
+ * currently signed off of Real Time Payments. Corresponds to the Real Time
2224
+ * Payments reason code `9910`.
2225
+ * - `processing_error` - The transfer was rejected due to an internal Increase
2226
+ * issue. We have been notified.
2227
+ * - `other` - Some other error or issue has occurred.
2228
+ */
2229
+ reject_reason_code:
2230
+ | 'account_closed'
2231
+ | 'account_blocked'
2232
+ | 'invalid_creditor_account_type'
2233
+ | 'invalid_creditor_account_number'
2234
+ | 'invalid_creditor_financial_institution_identifier'
2235
+ | 'end_customer_deceased'
2236
+ | 'narrative'
2237
+ | 'transaction_forbidden'
2238
+ | 'transaction_type_not_supported'
2239
+ | 'unexpected_amount'
2240
+ | 'amount_exceeds_bank_limits'
2241
+ | 'invalid_creditor_address'
2242
+ | 'unknown_end_customer'
2243
+ | 'invalid_debtor_address'
2244
+ | 'timeout'
2245
+ | 'unsupported_message_for_recipient'
2246
+ | 'recipient_connection_not_available'
2247
+ | 'real_time_payments_suspended'
2248
+ | 'instructed_agent_signed_off'
2249
+ | 'processing_error'
2250
+ | 'other';
2251
+ }
2252
+ }
2253
+ export interface RealTimePaymentsTransferCreateInboundParams {
2254
+ /**
2255
+ * The identifier of the Account Number the inbound Real Time Payments Transfer is
2256
+ * for.
2257
+ */
2258
+ account_number_id: string;
2259
+ /**
2260
+ * The transfer amount in USD cents. Must be positive.
2261
+ */
2262
+ amount: number;
2263
+ /**
2264
+ * The account number of the account that sent the transfer.
2265
+ */
2266
+ debtor_account_number?: string;
2267
+ /**
2268
+ * The name provided by the sender of the transfer.
2269
+ */
2270
+ debtor_name?: string;
2271
+ /**
2272
+ * The routing number of the account that sent the transfer.
2273
+ */
2274
+ debtor_routing_number?: string;
2275
+ /**
2276
+ * Additional information included with the transfer.
2277
+ */
2278
+ remittance_information?: string;
2279
+ /**
2280
+ * The identifier of a pending Request for Payment that this transfer will fulfill.
2281
+ */
2282
+ request_for_payment_id?: string;
2283
+ }
2284
+ export declare namespace RealTimePaymentsTransfers {
2285
+ export import InboundRealTimePaymentsTransferSimulationResult = API.InboundRealTimePaymentsTransferSimulationResult;
2286
+ export import RealTimePaymentsTransferCompleteParams = API.RealTimePaymentsTransferCompleteParams;
2287
+ export import RealTimePaymentsTransferCreateInboundParams = API.RealTimePaymentsTransferCreateInboundParams;
2288
+ }
2289
+ //# sourceMappingURL=real-time-payments-transfers.d.ts.map