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