increase 0.1.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 (425) hide show
  1. package/.eslintrc.js +10 -0
  2. package/.prettierrc +6 -0
  3. package/.stats.yml +1 -0
  4. package/LICENSE +201 -0
  5. package/README.md +211 -0
  6. package/api.md +477 -0
  7. package/bin/check-test-server +50 -0
  8. package/build +12 -0
  9. package/check-version.ts +15 -0
  10. package/core.ts +908 -0
  11. package/dist/cjs/check-version.d.ts +1 -0
  12. package/dist/cjs/check-version.js +21 -0
  13. package/dist/cjs/check-version.js.map +1 -0
  14. package/dist/cjs/core.d.ts +262 -0
  15. package/dist/cjs/core.js +978 -0
  16. package/dist/cjs/core.js.map +1 -0
  17. package/dist/cjs/fetch-polyfill.d.ts +5 -0
  18. package/dist/cjs/fetch-polyfill.js +55 -0
  19. package/dist/cjs/fetch-polyfill.js.map +1 -0
  20. package/dist/cjs/index.d.ts +201 -0
  21. package/dist/cjs/index.js +180 -0
  22. package/dist/cjs/index.js.map +1 -0
  23. package/dist/cjs/pagination.d.ts +28 -0
  24. package/dist/cjs/pagination.js +30 -0
  25. package/dist/cjs/pagination.js.map +1 -0
  26. package/dist/cjs/resource.d.ts +11 -0
  27. package/dist/cjs/resource.js +17 -0
  28. package/dist/cjs/resource.js.map +1 -0
  29. package/dist/cjs/resources/account-numbers.d.ts +103 -0
  30. package/dist/cjs/resources/account-numbers.js +37 -0
  31. package/dist/cjs/resources/account-numbers.js.map +1 -0
  32. package/dist/cjs/resources/account-statements.d.ts +99 -0
  33. package/dist/cjs/resources/account-statements.js +25 -0
  34. package/dist/cjs/resources/account-statements.js.map +1 -0
  35. package/dist/cjs/resources/account-transfers.d.ts +189 -0
  36. package/dist/cjs/resources/account-transfers.js +43 -0
  37. package/dist/cjs/resources/account-transfers.js.map +1 -0
  38. package/dist/cjs/resources/accounts.d.ts +133 -0
  39. package/dist/cjs/resources/accounts.js +43 -0
  40. package/dist/cjs/resources/accounts.js.map +1 -0
  41. package/dist/cjs/resources/ach-prenotifications.d.ts +188 -0
  42. package/dist/cjs/resources/ach-prenotifications.js +35 -0
  43. package/dist/cjs/resources/ach-prenotifications.js.map +1 -0
  44. package/dist/cjs/resources/ach-transfers.d.ts +375 -0
  45. package/dist/cjs/resources/ach-transfers.js +43 -0
  46. package/dist/cjs/resources/ach-transfers.js.map +1 -0
  47. package/dist/cjs/resources/card-disputes.d.ts +143 -0
  48. package/dist/cjs/resources/card-disputes.js +31 -0
  49. package/dist/cjs/resources/card-disputes.js.map +1 -0
  50. package/dist/cjs/resources/card-profiles.d.ts +183 -0
  51. package/dist/cjs/resources/card-profiles.js +31 -0
  52. package/dist/cjs/resources/card-profiles.js.map +1 -0
  53. package/dist/cjs/resources/cards.d.ts +316 -0
  54. package/dist/cjs/resources/cards.js +43 -0
  55. package/dist/cjs/resources/cards.js.map +1 -0
  56. package/dist/cjs/resources/check-deposits.d.ts +241 -0
  57. package/dist/cjs/resources/check-deposits.js +31 -0
  58. package/dist/cjs/resources/check-deposits.js.map +1 -0
  59. package/dist/cjs/resources/check-transfers.d.ts +331 -0
  60. package/dist/cjs/resources/check-transfers.js +49 -0
  61. package/dist/cjs/resources/check-transfers.js.map +1 -0
  62. package/dist/cjs/resources/declined-transactions.d.ts +424 -0
  63. package/dist/cjs/resources/declined-transactions.js +29 -0
  64. package/dist/cjs/resources/declined-transactions.js.map +1 -0
  65. package/dist/cjs/resources/digital-wallet-tokens.d.ts +85 -0
  66. package/dist/cjs/resources/digital-wallet-tokens.js +29 -0
  67. package/dist/cjs/resources/digital-wallet-tokens.js.map +1 -0
  68. package/dist/cjs/resources/documents.d.ts +87 -0
  69. package/dist/cjs/resources/documents.js +25 -0
  70. package/dist/cjs/resources/documents.js.map +1 -0
  71. package/dist/cjs/resources/entities/entities.d.ts +1383 -0
  72. package/dist/cjs/resources/entities/entities.js +36 -0
  73. package/dist/cjs/resources/entities/entities.js.map +1 -0
  74. package/dist/cjs/resources/entities/index.d.ts +2 -0
  75. package/dist/cjs/resources/entities/index.js +12 -0
  76. package/dist/cjs/resources/entities/index.js.map +1 -0
  77. package/dist/cjs/resources/entities/supplemental-documents.d.ts +19 -0
  78. package/dist/cjs/resources/entities/supplemental-documents.js +15 -0
  79. package/dist/cjs/resources/entities/supplemental-documents.js.map +1 -0
  80. package/dist/cjs/resources/event-subscriptions.d.ts +196 -0
  81. package/dist/cjs/resources/event-subscriptions.js +37 -0
  82. package/dist/cjs/resources/event-subscriptions.js.map +1 -0
  83. package/dist/cjs/resources/events.d.ts +183 -0
  84. package/dist/cjs/resources/events.js +25 -0
  85. package/dist/cjs/resources/events.js.map +1 -0
  86. package/dist/cjs/resources/external-accounts.d.ts +121 -0
  87. package/dist/cjs/resources/external-accounts.js +37 -0
  88. package/dist/cjs/resources/external-accounts.js.map +1 -0
  89. package/dist/cjs/resources/files.d.ts +148 -0
  90. package/dist/cjs/resources/files.js +34 -0
  91. package/dist/cjs/resources/files.js.map +1 -0
  92. package/dist/cjs/resources/groups.d.ts +37 -0
  93. package/dist/cjs/resources/groups.js +15 -0
  94. package/dist/cjs/resources/groups.js.map +1 -0
  95. package/dist/cjs/resources/inbound-ach-transfer-returns.d.ts +106 -0
  96. package/dist/cjs/resources/inbound-ach-transfer-returns.js +35 -0
  97. package/dist/cjs/resources/inbound-ach-transfer-returns.js.map +1 -0
  98. package/dist/cjs/resources/inbound-wire-drawdown-requests.d.ts +124 -0
  99. package/dist/cjs/resources/inbound-wire-drawdown-requests.js +29 -0
  100. package/dist/cjs/resources/inbound-wire-drawdown-requests.js.map +1 -0
  101. package/dist/cjs/resources/index.d.ts +163 -0
  102. package/dist/cjs/resources/index.js +478 -0
  103. package/dist/cjs/resources/index.js.map +1 -0
  104. package/dist/cjs/resources/limits.d.ts +105 -0
  105. package/dist/cjs/resources/limits.js +37 -0
  106. package/dist/cjs/resources/limits.js.map +1 -0
  107. package/dist/cjs/resources/oauth-connections.d.ts +50 -0
  108. package/dist/cjs/resources/oauth-connections.js +25 -0
  109. package/dist/cjs/resources/oauth-connections.js.map +1 -0
  110. package/dist/cjs/resources/pending-transactions.d.ts +397 -0
  111. package/dist/cjs/resources/pending-transactions.js +29 -0
  112. package/dist/cjs/resources/pending-transactions.js.map +1 -0
  113. package/dist/cjs/resources/real-time-decisions.d.ts +289 -0
  114. package/dist/cjs/resources/real-time-decisions.js +21 -0
  115. package/dist/cjs/resources/real-time-decisions.js.map +1 -0
  116. package/dist/cjs/resources/routing-numbers.d.ts +49 -0
  117. package/dist/cjs/resources/routing-numbers.js +21 -0
  118. package/dist/cjs/resources/routing-numbers.js.map +1 -0
  119. package/dist/cjs/resources/shared.d.ts +15 -0
  120. package/dist/cjs/resources/shared.js +4 -0
  121. package/dist/cjs/resources/shared.js.map +1 -0
  122. package/dist/cjs/resources/simulations/account-statements.d.ts +19 -0
  123. package/dist/cjs/resources/simulations/account-statements.js +16 -0
  124. package/dist/cjs/resources/simulations/account-statements.js.map +1 -0
  125. package/dist/cjs/resources/simulations/account-transfers.d.ts +15 -0
  126. package/dist/cjs/resources/simulations/account-transfers.js +18 -0
  127. package/dist/cjs/resources/simulations/account-transfers.js.map +1 -0
  128. package/dist/cjs/resources/simulations/ach-transfers.d.ts +1488 -0
  129. package/dist/cjs/resources/simulations/ach-transfers.js +39 -0
  130. package/dist/cjs/resources/simulations/ach-transfers.js.map +1 -0
  131. package/dist/cjs/resources/simulations/card-disputes.d.ts +26 -0
  132. package/dist/cjs/resources/simulations/card-disputes.js +18 -0
  133. package/dist/cjs/resources/simulations/card-disputes.js.map +1 -0
  134. package/dist/cjs/resources/simulations/card-refunds.d.ts +20 -0
  135. package/dist/cjs/resources/simulations/card-refunds.js +16 -0
  136. package/dist/cjs/resources/simulations/card-refunds.js.map +1 -0
  137. package/dist/cjs/resources/simulations/cards.d.ts +793 -0
  138. package/dist/cjs/resources/simulations/cards.js +31 -0
  139. package/dist/cjs/resources/simulations/cards.js.map +1 -0
  140. package/dist/cjs/resources/simulations/check-deposits.d.ts +30 -0
  141. package/dist/cjs/resources/simulations/check-deposits.js +31 -0
  142. package/dist/cjs/resources/simulations/check-deposits.js.map +1 -0
  143. package/dist/cjs/resources/simulations/check-transfers.d.ts +22 -0
  144. package/dist/cjs/resources/simulations/check-transfers.js +24 -0
  145. package/dist/cjs/resources/simulations/check-transfers.js.map +1 -0
  146. package/dist/cjs/resources/simulations/digital-wallet-token-requests.d.ts +43 -0
  147. package/dist/cjs/resources/simulations/digital-wallet-token-requests.js +16 -0
  148. package/dist/cjs/resources/simulations/digital-wallet-token-requests.js.map +1 -0
  149. package/dist/cjs/resources/simulations/documents.d.ts +18 -0
  150. package/dist/cjs/resources/simulations/documents.js +15 -0
  151. package/dist/cjs/resources/simulations/documents.js.map +1 -0
  152. package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.d.ts +101 -0
  153. package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.js +16 -0
  154. package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.js.map +1 -0
  155. package/dist/cjs/resources/simulations/index.d.ts +20 -0
  156. package/dist/cjs/resources/simulations/index.js +4 -0
  157. package/dist/cjs/resources/simulations/index.js.map +1 -0
  158. package/dist/cjs/resources/simulations/real-time-payments-transfers.d.ts +1431 -0
  159. package/dist/cjs/resources/simulations/real-time-payments-transfers.js +16 -0
  160. package/dist/cjs/resources/simulations/real-time-payments-transfers.js.map +1 -0
  161. package/dist/cjs/resources/simulations/simulations.d.ts +29 -0
  162. package/dist/cjs/resources/simulations/simulations.js +44 -0
  163. package/dist/cjs/resources/simulations/simulations.js.map +1 -0
  164. package/dist/cjs/resources/simulations/wire-transfers.d.ts +1104 -0
  165. package/dist/cjs/resources/simulations/wire-transfers.js +15 -0
  166. package/dist/cjs/resources/simulations/wire-transfers.js.map +1 -0
  167. package/dist/cjs/resources/transactions.d.ts +1101 -0
  168. package/dist/cjs/resources/transactions.js +25 -0
  169. package/dist/cjs/resources/transactions.js.map +1 -0
  170. package/dist/cjs/resources/wire-drawdown-requests.d.ts +148 -0
  171. package/dist/cjs/resources/wire-drawdown-requests.js +35 -0
  172. package/dist/cjs/resources/wire-drawdown-requests.js.map +1 -0
  173. package/dist/cjs/resources/wire-transfers.d.ts +310 -0
  174. package/dist/cjs/resources/wire-transfers.js +60 -0
  175. package/dist/cjs/resources/wire-transfers.js.map +1 -0
  176. package/dist/cjs/tests/api-resources/account-numbers.test.d.ts +1 -0
  177. package/dist/cjs/tests/api-resources/account-numbers.test.js +104 -0
  178. package/dist/cjs/tests/api-resources/account-numbers.test.js.map +1 -0
  179. package/dist/cjs/tests/api-resources/account-statements.test.d.ts +1 -0
  180. package/dist/cjs/tests/api-resources/account-statements.test.js +101 -0
  181. package/dist/cjs/tests/api-resources/account-statements.test.js.map +1 -0
  182. package/dist/cjs/tests/api-resources/account-transfers.test.d.ts +1 -0
  183. package/dist/cjs/tests/api-resources/account-transfers.test.js +146 -0
  184. package/dist/cjs/tests/api-resources/account-transfers.test.js.map +1 -0
  185. package/dist/cjs/tests/api-resources/accounts.test.d.ts +1 -0
  186. package/dist/cjs/tests/api-resources/accounts.test.js +119 -0
  187. package/dist/cjs/tests/api-resources/accounts.test.js.map +1 -0
  188. package/dist/cjs/tests/api-resources/ach-prenotifications.test.d.ts +1 -0
  189. package/dist/cjs/tests/api-resources/ach-prenotifications.test.js +125 -0
  190. package/dist/cjs/tests/api-resources/ach-prenotifications.test.js.map +1 -0
  191. package/dist/cjs/tests/api-resources/ach-transfers.test.d.ts +1 -0
  192. package/dist/cjs/tests/api-resources/ach-transfers.test.js +159 -0
  193. package/dist/cjs/tests/api-resources/ach-transfers.test.js.map +1 -0
  194. package/dist/cjs/tests/api-resources/card-disputes.test.d.ts +1 -0
  195. package/dist/cjs/tests/api-resources/card-disputes.test.js +108 -0
  196. package/dist/cjs/tests/api-resources/card-disputes.test.js.map +1 -0
  197. package/dist/cjs/tests/api-resources/card-profiles.test.d.ts +1 -0
  198. package/dist/cjs/tests/api-resources/card-profiles.test.js +97 -0
  199. package/dist/cjs/tests/api-resources/card-profiles.test.js.map +1 -0
  200. package/dist/cjs/tests/api-resources/cards.test.d.ts +1 -0
  201. package/dist/cjs/tests/api-resources/cards.test.js +138 -0
  202. package/dist/cjs/tests/api-resources/cards.test.js.map +1 -0
  203. package/dist/cjs/tests/api-resources/check-deposits.test.d.ts +1 -0
  204. package/dist/cjs/tests/api-resources/check-deposits.test.js +113 -0
  205. package/dist/cjs/tests/api-resources/check-deposits.test.js.map +1 -0
  206. package/dist/cjs/tests/api-resources/check-transfers.test.d.ts +1 -0
  207. package/dist/cjs/tests/api-resources/check-transfers.test.js +172 -0
  208. package/dist/cjs/tests/api-resources/check-transfers.test.js.map +1 -0
  209. package/dist/cjs/tests/api-resources/declined-transactions.test.d.ts +1 -0
  210. package/dist/cjs/tests/api-resources/declined-transactions.test.js +105 -0
  211. package/dist/cjs/tests/api-resources/declined-transactions.test.js.map +1 -0
  212. package/dist/cjs/tests/api-resources/digital-wallet-tokens.test.d.ts +1 -0
  213. package/dist/cjs/tests/api-resources/digital-wallet-tokens.test.js +103 -0
  214. package/dist/cjs/tests/api-resources/digital-wallet-tokens.test.js.map +1 -0
  215. package/dist/cjs/tests/api-resources/documents.test.d.ts +1 -0
  216. package/dist/cjs/tests/api-resources/documents.test.js +101 -0
  217. package/dist/cjs/tests/api-resources/documents.test.js.map +1 -0
  218. package/dist/cjs/tests/api-resources/entities/entities.test.d.ts +1 -0
  219. package/dist/cjs/tests/api-resources/entities/entities.test.js +280 -0
  220. package/dist/cjs/tests/api-resources/entities/entities.test.js.map +1 -0
  221. package/dist/cjs/tests/api-resources/entities/supplemental-documents.test.d.ts +1 -0
  222. package/dist/cjs/tests/api-resources/entities/supplemental-documents.test.js +49 -0
  223. package/dist/cjs/tests/api-resources/entities/supplemental-documents.test.js.map +1 -0
  224. package/dist/cjs/tests/api-resources/event-subscriptions.test.d.ts +1 -0
  225. package/dist/cjs/tests/api-resources/event-subscriptions.test.js +109 -0
  226. package/dist/cjs/tests/api-resources/event-subscriptions.test.js.map +1 -0
  227. package/dist/cjs/tests/api-resources/events.test.d.ts +1 -0
  228. package/dist/cjs/tests/api-resources/events.test.js +101 -0
  229. package/dist/cjs/tests/api-resources/events.test.js.map +1 -0
  230. package/dist/cjs/tests/api-resources/external-accounts.test.d.ts +1 -0
  231. package/dist/cjs/tests/api-resources/external-accounts.test.js +113 -0
  232. package/dist/cjs/tests/api-resources/external-accounts.test.js.map +1 -0
  233. package/dist/cjs/tests/api-resources/files.test.d.ts +1 -0
  234. package/dist/cjs/tests/api-resources/files.test.js +117 -0
  235. package/dist/cjs/tests/api-resources/files.test.js.map +1 -0
  236. package/dist/cjs/tests/api-resources/groups.test.d.ts +1 -0
  237. package/dist/cjs/tests/api-resources/groups.test.js +54 -0
  238. package/dist/cjs/tests/api-resources/groups.test.js.map +1 -0
  239. package/dist/cjs/tests/api-resources/inbound-ach-transfer-returns.test.d.ts +1 -0
  240. package/dist/cjs/tests/api-resources/inbound-ach-transfer-returns.test.js +90 -0
  241. package/dist/cjs/tests/api-resources/inbound-ach-transfer-returns.test.js.map +1 -0
  242. package/dist/cjs/tests/api-resources/inbound-wire-drawdown-requests.test.d.ts +1 -0
  243. package/dist/cjs/tests/api-resources/inbound-wire-drawdown-requests.test.js +83 -0
  244. package/dist/cjs/tests/api-resources/inbound-wire-drawdown-requests.test.js.map +1 -0
  245. package/dist/cjs/tests/api-resources/limits.test.d.ts +1 -0
  246. package/dist/cjs/tests/api-resources/limits.test.js +100 -0
  247. package/dist/cjs/tests/api-resources/limits.test.js.map +1 -0
  248. package/dist/cjs/tests/api-resources/oauth-connections.test.d.ts +1 -0
  249. package/dist/cjs/tests/api-resources/oauth-connections.test.js +78 -0
  250. package/dist/cjs/tests/api-resources/oauth-connections.test.js.map +1 -0
  251. package/dist/cjs/tests/api-resources/pending-transactions.test.d.ts +1 -0
  252. package/dist/cjs/tests/api-resources/pending-transactions.test.js +97 -0
  253. package/dist/cjs/tests/api-resources/pending-transactions.test.js.map +1 -0
  254. package/dist/cjs/tests/api-resources/real-time-decisions.test.d.ts +1 -0
  255. package/dist/cjs/tests/api-resources/real-time-decisions.test.js +71 -0
  256. package/dist/cjs/tests/api-resources/real-time-decisions.test.js.map +1 -0
  257. package/dist/cjs/tests/api-resources/routing-numbers.test.d.ts +1 -0
  258. package/dist/cjs/tests/api-resources/routing-numbers.test.js +55 -0
  259. package/dist/cjs/tests/api-resources/routing-numbers.test.js.map +1 -0
  260. package/dist/cjs/tests/api-resources/simulations/account-statements.test.d.ts +1 -0
  261. package/dist/cjs/tests/api-resources/simulations/account-statements.test.js +49 -0
  262. package/dist/cjs/tests/api-resources/simulations/account-statements.test.js.map +1 -0
  263. package/dist/cjs/tests/api-resources/simulations/account-transfers.test.d.ts +1 -0
  264. package/dist/cjs/tests/api-resources/simulations/account-transfers.test.js +60 -0
  265. package/dist/cjs/tests/api-resources/simulations/account-transfers.test.js.map +1 -0
  266. package/dist/cjs/tests/api-resources/simulations/ach-transfers.test.d.ts +1 -0
  267. package/dist/cjs/tests/api-resources/simulations/ach-transfers.test.js +92 -0
  268. package/dist/cjs/tests/api-resources/simulations/ach-transfers.test.js.map +1 -0
  269. package/dist/cjs/tests/api-resources/simulations/card-disputes.test.d.ts +1 -0
  270. package/dist/cjs/tests/api-resources/simulations/card-disputes.test.js +56 -0
  271. package/dist/cjs/tests/api-resources/simulations/card-disputes.test.js.map +1 -0
  272. package/dist/cjs/tests/api-resources/simulations/card-refunds.test.d.ts +1 -0
  273. package/dist/cjs/tests/api-resources/simulations/card-refunds.test.js +49 -0
  274. package/dist/cjs/tests/api-resources/simulations/card-refunds.test.js.map +1 -0
  275. package/dist/cjs/tests/api-resources/simulations/cards.test.d.ts +1 -0
  276. package/dist/cjs/tests/api-resources/simulations/cards.test.js +70 -0
  277. package/dist/cjs/tests/api-resources/simulations/cards.test.js.map +1 -0
  278. package/dist/cjs/tests/api-resources/simulations/check-deposits.test.d.ts +1 -0
  279. package/dist/cjs/tests/api-resources/simulations/check-deposits.test.js +86 -0
  280. package/dist/cjs/tests/api-resources/simulations/check-deposits.test.js.map +1 -0
  281. package/dist/cjs/tests/api-resources/simulations/check-transfers.test.d.ts +1 -0
  282. package/dist/cjs/tests/api-resources/simulations/check-transfers.test.js +73 -0
  283. package/dist/cjs/tests/api-resources/simulations/check-transfers.test.js.map +1 -0
  284. package/dist/cjs/tests/api-resources/simulations/digital-wallet-token-requests.test.d.ts +1 -0
  285. package/dist/cjs/tests/api-resources/simulations/digital-wallet-token-requests.test.js +49 -0
  286. package/dist/cjs/tests/api-resources/simulations/digital-wallet-token-requests.test.js.map +1 -0
  287. package/dist/cjs/tests/api-resources/simulations/documents.test.d.ts +1 -0
  288. package/dist/cjs/tests/api-resources/simulations/documents.test.js +49 -0
  289. package/dist/cjs/tests/api-resources/simulations/documents.test.js.map +1 -0
  290. package/dist/cjs/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.d.ts +1 -0
  291. package/dist/cjs/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.js +81 -0
  292. package/dist/cjs/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.js.map +1 -0
  293. package/dist/cjs/tests/api-resources/simulations/real-time-payments-transfers.test.d.ts +1 -0
  294. package/dist/cjs/tests/api-resources/simulations/real-time-payments-transfers.test.js +62 -0
  295. package/dist/cjs/tests/api-resources/simulations/real-time-payments-transfers.test.js.map +1 -0
  296. package/dist/cjs/tests/api-resources/simulations/wire-transfers.test.d.ts +1 -0
  297. package/dist/cjs/tests/api-resources/simulations/wire-transfers.test.js +70 -0
  298. package/dist/cjs/tests/api-resources/simulations/wire-transfers.test.js.map +1 -0
  299. package/dist/cjs/tests/api-resources/transactions.test.d.ts +1 -0
  300. package/dist/cjs/tests/api-resources/transactions.test.js +109 -0
  301. package/dist/cjs/tests/api-resources/transactions.test.js.map +1 -0
  302. package/dist/cjs/tests/api-resources/wire-drawdown-requests.test.d.ts +1 -0
  303. package/dist/cjs/tests/api-resources/wire-drawdown-requests.test.js +110 -0
  304. package/dist/cjs/tests/api-resources/wire-drawdown-requests.test.js.map +1 -0
  305. package/dist/cjs/tests/api-resources/wire-transfers.test.d.ts +1 -0
  306. package/dist/cjs/tests/api-resources/wire-transfers.test.js +184 -0
  307. package/dist/cjs/tests/api-resources/wire-transfers.test.js.map +1 -0
  308. package/dist/cjs/tests/form.test.d.ts +1 -0
  309. package/dist/cjs/tests/form.test.js +60 -0
  310. package/dist/cjs/tests/form.test.js.map +1 -0
  311. package/dist/cjs/tests/index.test.d.ts +1 -0
  312. package/dist/cjs/tests/index.test.js +44 -0
  313. package/dist/cjs/tests/index.test.js.map +1 -0
  314. package/dist/cjs/tests/responses.test.d.ts +1 -0
  315. package/dist/cjs/tests/responses.test.js +59 -0
  316. package/dist/cjs/tests/responses.test.js.map +1 -0
  317. package/dist/cjs/version.d.ts +1 -0
  318. package/dist/cjs/version.js +5 -0
  319. package/dist/cjs/version.js.map +1 -0
  320. package/fetch-polyfill.ts +69 -0
  321. package/index.ts +276 -0
  322. package/jest.config.js +8 -0
  323. package/package.json +47 -0
  324. package/pagination.ts +58 -0
  325. package/resource.ts +24 -0
  326. package/resources/account-numbers.ts +141 -0
  327. package/resources/account-statements.ts +132 -0
  328. package/resources/account-transfers.ts +244 -0
  329. package/resources/accounts.ts +179 -0
  330. package/resources/ach-prenotifications.ts +242 -0
  331. package/resources/ach-transfers.ts +465 -0
  332. package/resources/card-disputes.ts +187 -0
  333. package/resources/card-profiles.ts +236 -0
  334. package/resources/cards.ts +398 -0
  335. package/resources/check-deposits.ts +303 -0
  336. package/resources/check-transfers.ts +422 -0
  337. package/resources/declined-transactions.ts +547 -0
  338. package/resources/digital-wallet-tokens.ts +115 -0
  339. package/resources/documents.ts +119 -0
  340. package/resources/entities/entities.ts +1668 -0
  341. package/resources/entities/index.ts +4 -0
  342. package/resources/entities/supplemental-documents.ts +25 -0
  343. package/resources/event-subscriptions.ts +232 -0
  344. package/resources/events.ts +215 -0
  345. package/resources/external-accounts.ts +162 -0
  346. package/resources/files.ts +188 -0
  347. package/resources/groups.ts +47 -0
  348. package/resources/inbound-ach-transfer-returns.ts +142 -0
  349. package/resources/inbound-wire-drawdown-requests.ts +168 -0
  350. package/resources/index.ts +165 -0
  351. package/resources/limits.ts +144 -0
  352. package/resources/oauth-connections.ts +74 -0
  353. package/resources/pending-transactions.ts +491 -0
  354. package/resources/real-time-decisions.ts +345 -0
  355. package/resources/routing-numbers.ts +62 -0
  356. package/resources/shared.ts +17 -0
  357. package/resources/simulations/account-statements.ts +25 -0
  358. package/resources/simulations/account-transfers.ts +20 -0
  359. package/resources/simulations/ach-transfers.ts +1873 -0
  360. package/resources/simulations/card-disputes.ts +33 -0
  361. package/resources/simulations/card-refunds.ts +26 -0
  362. package/resources/simulations/cards.ts +979 -0
  363. package/resources/simulations/check-deposits.ts +41 -0
  364. package/resources/simulations/check-transfers.ts +30 -0
  365. package/resources/simulations/digital-wallet-token-requests.ts +52 -0
  366. package/resources/simulations/documents.ts +24 -0
  367. package/resources/simulations/inbound-wire-drawdown-requests.ts +126 -0
  368. package/resources/simulations/index.ts +22 -0
  369. package/resources/simulations/real-time-payments-transfers.ts +1809 -0
  370. package/resources/simulations/simulations.ts +32 -0
  371. package/resources/simulations/wire-transfers.ts +1391 -0
  372. package/resources/transactions.ts +1393 -0
  373. package/resources/wire-drawdown-requests.ts +195 -0
  374. package/resources/wire-transfers.ts +399 -0
  375. package/tests/api-resources/account-numbers.test.ts +67 -0
  376. package/tests/api-resources/account-statements.test.ts +64 -0
  377. package/tests/api-resources/account-transfers.test.ts +109 -0
  378. package/tests/api-resources/accounts.test.ts +82 -0
  379. package/tests/api-resources/ach-prenotifications.test.ts +86 -0
  380. package/tests/api-resources/ach-transfers.test.ts +120 -0
  381. package/tests/api-resources/card-disputes.test.ts +71 -0
  382. package/tests/api-resources/card-profiles.test.ts +60 -0
  383. package/tests/api-resources/cards.test.ts +101 -0
  384. package/tests/api-resources/check-deposits.test.ts +74 -0
  385. package/tests/api-resources/check-transfers.test.ts +135 -0
  386. package/tests/api-resources/declined-transactions.test.ts +68 -0
  387. package/tests/api-resources/digital-wallet-tokens.test.ts +64 -0
  388. package/tests/api-resources/documents.test.ts +64 -0
  389. package/tests/api-resources/entities/entities.test.ts +243 -0
  390. package/tests/api-resources/entities/supplemental-documents.test.ts +12 -0
  391. package/tests/api-resources/event-subscriptions.test.ts +69 -0
  392. package/tests/api-resources/events.test.ts +64 -0
  393. package/tests/api-resources/external-accounts.test.ts +76 -0
  394. package/tests/api-resources/files.test.ts +81 -0
  395. package/tests/api-resources/groups.test.ts +17 -0
  396. package/tests/api-resources/inbound-ach-transfer-returns.test.ts +53 -0
  397. package/tests/api-resources/inbound-wire-drawdown-requests.test.ts +46 -0
  398. package/tests/api-resources/limits.test.ts +63 -0
  399. package/tests/api-resources/oauth-connections.test.ts +41 -0
  400. package/tests/api-resources/pending-transactions.test.ts +58 -0
  401. package/tests/api-resources/real-time-decisions.test.ts +34 -0
  402. package/tests/api-resources/routing-numbers.test.ts +18 -0
  403. package/tests/api-resources/simulations/account-statements.test.ts +12 -0
  404. package/tests/api-resources/simulations/account-transfers.test.ts +23 -0
  405. package/tests/api-resources/simulations/ach-transfers.test.ts +52 -0
  406. package/tests/api-resources/simulations/card-disputes.test.ts +19 -0
  407. package/tests/api-resources/simulations/card-refunds.test.ts +12 -0
  408. package/tests/api-resources/simulations/cards.test.ts +33 -0
  409. package/tests/api-resources/simulations/check-deposits.test.ts +49 -0
  410. package/tests/api-resources/simulations/check-transfers.test.ts +34 -0
  411. package/tests/api-resources/simulations/digital-wallet-token-requests.test.ts +12 -0
  412. package/tests/api-resources/simulations/documents.test.ts +12 -0
  413. package/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.ts +44 -0
  414. package/tests/api-resources/simulations/real-time-payments-transfers.test.ts +25 -0
  415. package/tests/api-resources/simulations/wire-transfers.test.ts +33 -0
  416. package/tests/api-resources/transactions.test.ts +70 -0
  417. package/tests/api-resources/wire-drawdown-requests.test.ts +73 -0
  418. package/tests/api-resources/wire-transfers.test.ts +147 -0
  419. package/tests/form.test.ts +27 -0
  420. package/tests/index.test.ts +47 -0
  421. package/tests/responses.test.ts +25 -0
  422. package/tsconfig.cjs.json +8 -0
  423. package/tsconfig.json +37 -0
  424. package/typings/digest-fetch/index.d.ts +33 -0
  425. package/version.ts +1 -0
@@ -0,0 +1,1391 @@
1
+ // File generated from our OpenAPI spec by Stainless.
2
+
3
+ import * as Core from '~/core';
4
+ import { APIResource } from '~/resource';
5
+
6
+ export class WireTransfers extends APIResource {
7
+ /**
8
+ * Simulates an inbound Wire Transfer to your account.
9
+ */
10
+ createInbound(
11
+ body: WireTransferCreateInboundParams,
12
+ options?: Core.RequestOptions,
13
+ ): Promise<Core.APIResponse<WireTransferSimulation>> {
14
+ return this.post('/simulations/inbound_wire_transfers', { body, ...options });
15
+ }
16
+ }
17
+
18
+ /**
19
+ * The results of an inbound Wire Transfer simulation.
20
+ */
21
+ export interface WireTransferSimulation {
22
+ /**
23
+ * If the Wire Transfer attempt succeeds, this will contain the resulting
24
+ * [Transaction](#transactions) object. The Transaction's `source` will be of
25
+ * `category: inbound_wire_transfer`.
26
+ */
27
+ transaction: WireTransferSimulation.Transaction;
28
+
29
+ /**
30
+ * A constant representing the object's type. For this resource it will always be
31
+ * `inbound_wire_transfer_simulation_result`.
32
+ */
33
+ type: 'inbound_wire_transfer_simulation_result';
34
+ }
35
+
36
+ export namespace WireTransferSimulation {
37
+ export interface Transaction {
38
+ /**
39
+ * The identifier for the Account the Transaction belongs to.
40
+ */
41
+ account_id: string;
42
+
43
+ /**
44
+ * The Transaction amount in the minor unit of its currency. For dollars, for
45
+ * example, this is cents.
46
+ */
47
+ amount: number;
48
+
49
+ /**
50
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the
51
+ * Transaction occured.
52
+ */
53
+ created_at: string;
54
+
55
+ /**
56
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
57
+ * Transaction's currency. This will match the currency on the Transcation's
58
+ * Account.
59
+ */
60
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
61
+
62
+ /**
63
+ * For a Transaction related to a transfer, this is the description you provide.
64
+ * For a Transaction related to a payment, this is the description the vendor
65
+ * provides.
66
+ */
67
+ description: string;
68
+
69
+ /**
70
+ * The Transaction identifier.
71
+ */
72
+ id: string;
73
+
74
+ /**
75
+ * The identifier for the route this Transaction came through. Routes are things
76
+ * like cards and ACH details.
77
+ */
78
+ route_id: string | null;
79
+
80
+ /**
81
+ * The type of the route this Transaction came through.
82
+ */
83
+ route_type: string | null;
84
+
85
+ /**
86
+ * This is an object giving more details on the network-level event that caused the
87
+ * Transaction. Note that for backwards compatibility reasons, additional
88
+ * undocumented keys may appear in this object. These should be treated as
89
+ * deprecated and will be removed in the future.
90
+ */
91
+ source: Transaction.Source;
92
+
93
+ /**
94
+ * A constant representing the object's type. For this resource it will always be
95
+ * `transaction`.
96
+ */
97
+ type: 'transaction';
98
+ }
99
+
100
+ export namespace Transaction {
101
+ export interface Source {
102
+ /**
103
+ * A Account Transfer Intention object. This field will be present in the JSON
104
+ * response if and only if `category` is equal to `account_transfer_intention`.
105
+ */
106
+ account_transfer_intention: Source.AccountTransferIntention | null;
107
+
108
+ /**
109
+ * A ACH Check Conversion object. This field will be present in the JSON response
110
+ * if and only if `category` is equal to `ach_check_conversion`.
111
+ */
112
+ ach_check_conversion: Source.ACHCheckConversion | null;
113
+
114
+ /**
115
+ * A ACH Check Conversion Return object. This field will be present in the JSON
116
+ * response if and only if `category` is equal to `ach_check_conversion_return`.
117
+ */
118
+ ach_check_conversion_return: Source.ACHCheckConversionReturn | null;
119
+
120
+ /**
121
+ * A ACH Transfer Intention object. This field will be present in the JSON response
122
+ * if and only if `category` is equal to `ach_transfer_intention`.
123
+ */
124
+ ach_transfer_intention: Source.ACHTransferIntention | null;
125
+
126
+ /**
127
+ * A ACH Transfer Rejection object. This field will be present in the JSON response
128
+ * if and only if `category` is equal to `ach_transfer_rejection`.
129
+ */
130
+ ach_transfer_rejection: Source.ACHTransferRejection | null;
131
+
132
+ /**
133
+ * A ACH Transfer Return object. This field will be present in the JSON response if
134
+ * and only if `category` is equal to `ach_transfer_return`.
135
+ */
136
+ ach_transfer_return: Source.ACHTransferReturn | null;
137
+
138
+ /**
139
+ * A Card Dispute Acceptance object. This field will be present in the JSON
140
+ * response if and only if `category` is equal to `card_dispute_acceptance`.
141
+ */
142
+ card_dispute_acceptance: Source.CardDisputeAcceptance | null;
143
+
144
+ /**
145
+ * A Card Refund object. This field will be present in the JSON response if and
146
+ * only if `category` is equal to `card_refund`.
147
+ */
148
+ card_refund: Source.CardRefund | null;
149
+
150
+ /**
151
+ * A Deprecated Card Refund object. This field will be present in the JSON response
152
+ * if and only if `category` is equal to `card_route_refund`.
153
+ */
154
+ card_route_refund: Source.CardRouteRefund | null;
155
+
156
+ /**
157
+ * A Deprecated Card Settlement object. This field will be present in the JSON
158
+ * response if and only if `category` is equal to `card_route_settlement`.
159
+ */
160
+ card_route_settlement: Source.CardRouteSettlement | null;
161
+
162
+ /**
163
+ * A Card Settlement object. This field will be present in the JSON response if and
164
+ * only if `category` is equal to `card_settlement`.
165
+ */
166
+ card_settlement: Source.CardSettlement | null;
167
+
168
+ /**
169
+ * The type of transaction that took place. We may add additional possible values
170
+ * for this enum over time; your application should be able to handle such
171
+ * additions gracefully.
172
+ */
173
+ category:
174
+ | 'account_transfer_intention'
175
+ | 'ach_check_conversion_return'
176
+ | 'ach_check_conversion'
177
+ | 'ach_transfer_intention'
178
+ | 'ach_transfer_rejection'
179
+ | 'ach_transfer_return'
180
+ | 'card_dispute_acceptance'
181
+ | 'card_refund'
182
+ | 'card_settlement'
183
+ | 'check_deposit_acceptance'
184
+ | 'check_deposit_return'
185
+ | 'check_transfer_intention'
186
+ | 'check_transfer_return'
187
+ | 'check_transfer_rejection'
188
+ | 'check_transfer_stop_payment_request'
189
+ | 'dispute_resolution'
190
+ | 'empyreal_cash_deposit'
191
+ | 'inbound_ach_transfer'
192
+ | 'inbound_ach_transfer_return_intention'
193
+ | 'inbound_check'
194
+ | 'inbound_international_ach_transfer'
195
+ | 'inbound_real_time_payments_transfer_confirmation'
196
+ | 'inbound_wire_drawdown_payment_reversal'
197
+ | 'inbound_wire_drawdown_payment'
198
+ | 'inbound_wire_reversal'
199
+ | 'inbound_wire_transfer'
200
+ | 'interest_payment'
201
+ | 'internal_general_ledger_transaction'
202
+ | 'internal_source'
203
+ | 'card_route_refund'
204
+ | 'card_route_settlement'
205
+ | 'real_time_payments_transfer_acknowledgement'
206
+ | 'sample_funds'
207
+ | 'wire_drawdown_payment_intention'
208
+ | 'wire_drawdown_payment_rejection'
209
+ | 'wire_transfer_intention'
210
+ | 'wire_transfer_rejection'
211
+ | 'other';
212
+
213
+ /**
214
+ * A Check Deposit Acceptance object. This field will be present in the JSON
215
+ * response if and only if `category` is equal to `check_deposit_acceptance`.
216
+ */
217
+ check_deposit_acceptance: Source.CheckDepositAcceptance | null;
218
+
219
+ /**
220
+ * A Check Deposit Return object. This field will be present in the JSON response
221
+ * if and only if `category` is equal to `check_deposit_return`.
222
+ */
223
+ check_deposit_return: Source.CheckDepositReturn | null;
224
+
225
+ /**
226
+ * A Check Transfer Intention object. This field will be present in the JSON
227
+ * response if and only if `category` is equal to `check_transfer_intention`.
228
+ */
229
+ check_transfer_intention: Source.CheckTransferIntention | null;
230
+
231
+ /**
232
+ * A Check Transfer Rejection object. This field will be present in the JSON
233
+ * response if and only if `category` is equal to `check_transfer_rejection`.
234
+ */
235
+ check_transfer_rejection: Source.CheckTransferRejection | null;
236
+
237
+ /**
238
+ * A Check Transfer Return object. This field will be present in the JSON response
239
+ * if and only if `category` is equal to `check_transfer_return`.
240
+ */
241
+ check_transfer_return: Source.CheckTransferReturn | null;
242
+
243
+ /**
244
+ * A Check Transfer Stop Payment Request object. This field will be present in the
245
+ * JSON response if and only if `category` is equal to
246
+ * `check_transfer_stop_payment_request`.
247
+ */
248
+ check_transfer_stop_payment_request: Source.CheckTransferStopPaymentRequest | null;
249
+
250
+ /**
251
+ * A Dispute Resolution object. This field will be present in the JSON response if
252
+ * and only if `category` is equal to `dispute_resolution`.
253
+ */
254
+ dispute_resolution: Source.DisputeResolution | null;
255
+
256
+ /**
257
+ * A Empyreal Cash Deposit object. This field will be present in the JSON response
258
+ * if and only if `category` is equal to `empyreal_cash_deposit`.
259
+ */
260
+ empyreal_cash_deposit: Source.EmpyrealCashDeposit | null;
261
+
262
+ /**
263
+ * A Inbound ACH Transfer object. This field will be present in the JSON response
264
+ * if and only if `category` is equal to `inbound_ach_transfer`.
265
+ */
266
+ inbound_ach_transfer: Source.InboundACHTransfer | null;
267
+
268
+ /**
269
+ * A Inbound Check object. This field will be present in the JSON response if and
270
+ * only if `category` is equal to `inbound_check`.
271
+ */
272
+ inbound_check: Source.InboundCheck | null;
273
+
274
+ /**
275
+ * A Inbound International ACH Transfer object. This field will be present in the
276
+ * JSON response if and only if `category` is equal to
277
+ * `inbound_international_ach_transfer`.
278
+ */
279
+ inbound_international_ach_transfer: Source.InboundInternationalACHTransfer | null;
280
+
281
+ /**
282
+ * A Inbound Real Time Payments Transfer Confirmation object. This field will be
283
+ * present in the JSON response if and only if `category` is equal to
284
+ * `inbound_real_time_payments_transfer_confirmation`.
285
+ */
286
+ inbound_real_time_payments_transfer_confirmation: Source.InboundRealTimePaymentsTransferConfirmation | null;
287
+
288
+ /**
289
+ * A Inbound Wire Drawdown Payment object. This field will be present in the JSON
290
+ * response if and only if `category` is equal to `inbound_wire_drawdown_payment`.
291
+ */
292
+ inbound_wire_drawdown_payment: Source.InboundWireDrawdownPayment | null;
293
+
294
+ /**
295
+ * A Inbound Wire Drawdown Payment Reversal object. This field will be present in
296
+ * the JSON response if and only if `category` is equal to
297
+ * `inbound_wire_drawdown_payment_reversal`.
298
+ */
299
+ inbound_wire_drawdown_payment_reversal: Source.InboundWireDrawdownPaymentReversal | null;
300
+
301
+ /**
302
+ * A Inbound Wire Reversal object. This field will be present in the JSON response
303
+ * if and only if `category` is equal to `inbound_wire_reversal`.
304
+ */
305
+ inbound_wire_reversal: Source.InboundWireReversal | null;
306
+
307
+ /**
308
+ * A Inbound Wire Transfer object. This field will be present in the JSON response
309
+ * if and only if `category` is equal to `inbound_wire_transfer`.
310
+ */
311
+ inbound_wire_transfer: Source.InboundWireTransfer | null;
312
+
313
+ /**
314
+ * A Interest Payment object. This field will be present in the JSON response if
315
+ * and only if `category` is equal to `interest_payment`.
316
+ */
317
+ interest_payment: Source.InterestPayment | null;
318
+
319
+ /**
320
+ * A Internal Source object. This field will be present in the JSON response if and
321
+ * only if `category` is equal to `internal_source`.
322
+ */
323
+ internal_source: Source.InternalSource | null;
324
+
325
+ /**
326
+ * A Sample Funds object. This field will be present in the JSON response if and
327
+ * only if `category` is equal to `sample_funds`.
328
+ */
329
+ sample_funds: Source.SampleFunds | null;
330
+
331
+ /**
332
+ * A Wire Drawdown Payment Intention object. This field will be present in the JSON
333
+ * response if and only if `category` is equal to
334
+ * `wire_drawdown_payment_intention`.
335
+ */
336
+ wire_drawdown_payment_intention: Source.WireDrawdownPaymentIntention | null;
337
+
338
+ /**
339
+ * A Wire Drawdown Payment Rejection object. This field will be present in the JSON
340
+ * response if and only if `category` is equal to
341
+ * `wire_drawdown_payment_rejection`.
342
+ */
343
+ wire_drawdown_payment_rejection: Source.WireDrawdownPaymentRejection | null;
344
+
345
+ /**
346
+ * A Wire Transfer Intention object. This field will be present in the JSON
347
+ * response if and only if `category` is equal to `wire_transfer_intention`.
348
+ */
349
+ wire_transfer_intention: Source.WireTransferIntention | null;
350
+
351
+ /**
352
+ * A Wire Transfer Rejection object. This field will be present in the JSON
353
+ * response if and only if `category` is equal to `wire_transfer_rejection`.
354
+ */
355
+ wire_transfer_rejection: Source.WireTransferRejection | null;
356
+ }
357
+
358
+ export namespace Source {
359
+ export interface AccountTransferIntention {
360
+ /**
361
+ * The pending amount in the minor unit of the transaction's currency. For dollars,
362
+ * for example, this is cents.
363
+ */
364
+ amount: number;
365
+
366
+ /**
367
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination
368
+ * account currency.
369
+ */
370
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
371
+
372
+ /**
373
+ * The description you chose to give the transfer.
374
+ */
375
+ description: string;
376
+
377
+ /**
378
+ * The identifier of the Account to where the Account Transfer was sent.
379
+ */
380
+ destination_account_id: string;
381
+
382
+ /**
383
+ * The identifier of the Account from where the Account Transfer was sent.
384
+ */
385
+ source_account_id: string;
386
+
387
+ /**
388
+ * The identifier of the Account Transfer that led to this Pending Transaction.
389
+ */
390
+ transfer_id: string;
391
+ }
392
+
393
+ export interface ACHCheckConversionReturn {
394
+ /**
395
+ * The amount in the minor unit of the transaction's currency. For dollars, for
396
+ * example, this is cents.
397
+ */
398
+ amount: number;
399
+
400
+ /**
401
+ * Why the transfer was returned.
402
+ */
403
+ return_reason_code: string;
404
+ }
405
+
406
+ export interface ACHCheckConversion {
407
+ /**
408
+ * The amount in the minor unit of the transaction's currency. For dollars, for
409
+ * example, this is cents.
410
+ */
411
+ amount: number;
412
+
413
+ /**
414
+ * The identifier of the File containing an image of the returned check.
415
+ */
416
+ file_id: string;
417
+ }
418
+
419
+ export interface ACHTransferIntention {
420
+ account_number: string;
421
+
422
+ /**
423
+ * The amount in the minor unit of the transaction's currency. For dollars, for
424
+ * example, this is cents.
425
+ */
426
+ amount: number;
427
+
428
+ routing_number: string;
429
+
430
+ statement_descriptor: string;
431
+
432
+ /**
433
+ * The identifier of the ACH Transfer that led to this Transaction.
434
+ */
435
+ transfer_id: string;
436
+ }
437
+
438
+ export interface ACHTransferRejection {
439
+ /**
440
+ * The identifier of the ACH Transfer that led to this Transaction.
441
+ */
442
+ transfer_id: string;
443
+ }
444
+
445
+ export interface ACHTransferReturn {
446
+ /**
447
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
448
+ * the transfer was created.
449
+ */
450
+ created_at: string;
451
+
452
+ /**
453
+ * Why the ACH Transfer was returned.
454
+ */
455
+ return_reason_code:
456
+ | 'insufficient_fund'
457
+ | 'no_account'
458
+ | 'account_closed'
459
+ | 'invalid_account_number_structure'
460
+ | 'account_frozen_entry_returned_per_ofac_instruction'
461
+ | 'credit_entry_refused_by_receiver'
462
+ | 'unauthorized_debit_to_consumer_account_using_corporate_sec_code'
463
+ | 'corporate_customer_advised_not_authorized'
464
+ | 'payment_stopped'
465
+ | 'non_transaction_account'
466
+ | 'uncollected_funds'
467
+ | 'routing_number_check_digit_error'
468
+ | 'customer_advised_unauthorized_improper_ineligible_or_incomplete'
469
+ | 'amount_field_error'
470
+ | 'authorization_revoked_by_customer'
471
+ | 'invalid_ach_routing_number'
472
+ | 'file_record_edit_criteria'
473
+ | 'enr_invalid_individual_name'
474
+ | 'returned_per_odfi_request'
475
+ | 'addenda_error'
476
+ | 'limited_participation_dfi'
477
+ | 'incorrectly_coded_outbound_international_payment'
478
+ | 'other';
479
+
480
+ /**
481
+ * The identifier of the Tranasaction associated with this return.
482
+ */
483
+ transaction_id: string;
484
+
485
+ /**
486
+ * The identifier of the ACH Transfer associated with this return.
487
+ */
488
+ transfer_id: string;
489
+ }
490
+
491
+ export interface CardDisputeAcceptance {
492
+ /**
493
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
494
+ * the Card Dispute was accepted.
495
+ */
496
+ accepted_at: string;
497
+
498
+ /**
499
+ * The identifier of the Card Dispute that was accepted.
500
+ */
501
+ card_dispute_id: string;
502
+
503
+ /**
504
+ * The identifier of the Transaction that was created to return the disputed funds
505
+ * to your account.
506
+ */
507
+ transaction_id: string | null;
508
+ }
509
+
510
+ export interface CardRefund {
511
+ /**
512
+ * The pending amount in the minor unit of the transaction's currency. For dollars,
513
+ * for example, this is cents.
514
+ */
515
+ amount: number;
516
+
517
+ /**
518
+ * The identifier for the Transaction this refunds, if any.
519
+ */
520
+ card_settlement_transaction_id: string | null;
521
+
522
+ /**
523
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
524
+ * transaction's currency.
525
+ */
526
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
527
+
528
+ /**
529
+ * A constant representing the object's type. For this resource it will always be
530
+ * `card_refund`.
531
+ */
532
+ type: 'card_refund';
533
+ }
534
+
535
+ export interface CardSettlement {
536
+ /**
537
+ * The amount in the minor unit of the transaction's settlement currency. For
538
+ * dollars, for example, this is cents.
539
+ */
540
+ amount: number;
541
+
542
+ /**
543
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
544
+ * transaction's settlement currency.
545
+ */
546
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
547
+
548
+ merchant_category_code: string;
549
+
550
+ merchant_city: string | null;
551
+
552
+ merchant_country: string;
553
+
554
+ merchant_name: string | null;
555
+
556
+ merchant_state: string | null;
557
+
558
+ /**
559
+ * The identifier of the Pending Transaction associated with this Transaction.
560
+ */
561
+ pending_transaction_id: string | null;
562
+
563
+ /**
564
+ * The amount in the minor unit of the transaction's presentment currency.
565
+ */
566
+ presentment_amount: number;
567
+
568
+ /**
569
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
570
+ * transaction's presentment currency.
571
+ */
572
+ presentment_currency: string;
573
+
574
+ /**
575
+ * A constant representing the object's type. For this resource it will always be
576
+ * `card_settlement`.
577
+ */
578
+ type: 'card_settlement';
579
+ }
580
+
581
+ export interface CheckDepositAcceptance {
582
+ /**
583
+ * The account number printed on the check.
584
+ */
585
+ account_number: string;
586
+
587
+ /**
588
+ * The amount to be deposited in the minor unit of the transaction's currency. For
589
+ * dollars, for example, this is cents.
590
+ */
591
+ amount: number;
592
+
593
+ /**
594
+ * An additional line of metadata printed on the check. This typically includes the
595
+ * check number for business checks.
596
+ */
597
+ auxiliary_on_us: string | null;
598
+
599
+ /**
600
+ * The ID of the Check Deposit that was accepted.
601
+ */
602
+ check_deposit_id: string;
603
+
604
+ /**
605
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
606
+ * transaction's currency.
607
+ */
608
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
609
+
610
+ /**
611
+ * The routing number printed on the check.
612
+ */
613
+ routing_number: string;
614
+
615
+ /**
616
+ * The check serial number, if present, for consumer checks. For business checks,
617
+ * the serial number is usually in the `auxiliary_on_us` field.
618
+ */
619
+ serial_number: string | null;
620
+ }
621
+
622
+ export interface CheckDepositReturn {
623
+ /**
624
+ * The amount in the minor unit of the transaction's currency. For dollars, for
625
+ * example, this is cents.
626
+ */
627
+ amount: number;
628
+
629
+ /**
630
+ * The identifier of the Check Deposit that was returned.
631
+ */
632
+ check_deposit_id: string;
633
+
634
+ /**
635
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
636
+ * transaction's currency.
637
+ */
638
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
639
+
640
+ return_reason:
641
+ | 'ach_conversion_not_supported'
642
+ | 'closed_account'
643
+ | 'duplicate_submission'
644
+ | 'insufficient_funds'
645
+ | 'no_account'
646
+ | 'not_authorized'
647
+ | 'stale_dated'
648
+ | 'stop_payment'
649
+ | 'unknown_reason'
650
+ | 'unmatched_details'
651
+ | 'unreadable_image';
652
+
653
+ /**
654
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
655
+ * the check deposit was returned.
656
+ */
657
+ returned_at: string;
658
+
659
+ /**
660
+ * The identifier of the transaction that reversed the original check deposit
661
+ * transaction.
662
+ */
663
+ transaction_id: string;
664
+ }
665
+
666
+ export interface CheckTransferIntention {
667
+ /**
668
+ * The city of the check's destination.
669
+ */
670
+ address_city: string;
671
+
672
+ /**
673
+ * The street address of the check's destination.
674
+ */
675
+ address_line1: string;
676
+
677
+ /**
678
+ * The second line of the address of the check's destination.
679
+ */
680
+ address_line2: string | null;
681
+
682
+ /**
683
+ * The state of the check's destination.
684
+ */
685
+ address_state: string;
686
+
687
+ /**
688
+ * The postal code of the check's destination.
689
+ */
690
+ address_zip: string;
691
+
692
+ /**
693
+ * The transfer amount in USD cents.
694
+ */
695
+ amount: number;
696
+
697
+ /**
698
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's
699
+ * currency.
700
+ */
701
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
702
+
703
+ /**
704
+ * The name that will be printed on the check.
705
+ */
706
+ recipient_name: string;
707
+
708
+ /**
709
+ * The identifier of the Check Transfer with which this is associated.
710
+ */
711
+ transfer_id: string;
712
+ }
713
+
714
+ export interface CheckTransferReturn {
715
+ /**
716
+ * If available, a document with additional information about the return.
717
+ */
718
+ file_id: string | null;
719
+
720
+ /**
721
+ * The identifier of the returned Check Transfer.
722
+ */
723
+ transfer_id: string;
724
+ }
725
+
726
+ export interface CheckTransferRejection {
727
+ /**
728
+ * The identifier of the Check Transfer that led to this Transaction.
729
+ */
730
+ transfer_id: string;
731
+ }
732
+
733
+ export interface CheckTransferStopPaymentRequest {
734
+ /**
735
+ * The time the stop-payment was requested.
736
+ */
737
+ requested_at: string;
738
+
739
+ /**
740
+ * The transaction ID of the corresponding credit transaction.
741
+ */
742
+ transaction_id: string;
743
+
744
+ /**
745
+ * The ID of the check transfer that was stopped.
746
+ */
747
+ transfer_id: string;
748
+
749
+ /**
750
+ * A constant representing the object's type. For this resource it will always be
751
+ * `check_transfer_stop_payment_request`.
752
+ */
753
+ type: 'check_transfer_stop_payment_request';
754
+ }
755
+
756
+ export interface DisputeResolution {
757
+ /**
758
+ * The amount in the minor unit of the transaction's currency. For dollars, for
759
+ * example, this is cents.
760
+ */
761
+ amount: number;
762
+
763
+ /**
764
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
765
+ * transaction's currency.
766
+ */
767
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
768
+
769
+ /**
770
+ * The identifier of the Transaction that was disputed.
771
+ */
772
+ disputed_transaction_id: string;
773
+ }
774
+
775
+ export interface EmpyrealCashDeposit {
776
+ /**
777
+ * The amount in the minor unit of the transaction's currency. For dollars, for
778
+ * example, this is cents.
779
+ */
780
+ amount: number;
781
+
782
+ bag_id: string;
783
+
784
+ deposit_date: string;
785
+ }
786
+
787
+ export interface InboundACHTransfer {
788
+ /**
789
+ * The amount in the minor unit of the destination account currency. For dollars,
790
+ * for example, this is cents.
791
+ */
792
+ amount: number;
793
+
794
+ originator_company_descriptive_date: string | null;
795
+
796
+ originator_company_discretionary_data: string | null;
797
+
798
+ originator_company_entry_description: string;
799
+
800
+ originator_company_id: string;
801
+
802
+ originator_company_name: string;
803
+
804
+ receiver_id_number: string | null;
805
+
806
+ receiver_name: string | null;
807
+
808
+ trace_number: string;
809
+ }
810
+
811
+ export interface InboundCheck {
812
+ /**
813
+ * The amount in the minor unit of the destination account currency. For dollars,
814
+ * for example, this is cents.
815
+ */
816
+ amount: number;
817
+
818
+ check_front_image_file_id: string | null;
819
+
820
+ check_number: string | null;
821
+
822
+ check_rear_image_file_id: string | null;
823
+
824
+ /**
825
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
826
+ * transaction's currency.
827
+ */
828
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
829
+ }
830
+
831
+ export interface InboundInternationalACHTransfer {
832
+ /**
833
+ * The amount in the minor unit of the destination account currency. For dollars,
834
+ * for example, this is cents.
835
+ */
836
+ amount: number;
837
+
838
+ destination_country_code: string;
839
+
840
+ destination_currency_code: string;
841
+
842
+ foreign_exchange_indicator: string;
843
+
844
+ foreign_exchange_reference: string | null;
845
+
846
+ foreign_exchange_reference_indicator: string;
847
+
848
+ foreign_payment_amount: number;
849
+
850
+ foreign_trace_number: string | null;
851
+
852
+ international_transaction_type_code: string;
853
+
854
+ originating_currency_code: string;
855
+
856
+ originating_depository_financial_institution_branch_country: string;
857
+
858
+ originating_depository_financial_institution_id: string;
859
+
860
+ originating_depository_financial_institution_id_qualifier: string;
861
+
862
+ originating_depository_financial_institution_name: string;
863
+
864
+ originator_city: string;
865
+
866
+ originator_company_entry_description: string;
867
+
868
+ originator_country: string;
869
+
870
+ originator_identification: string;
871
+
872
+ originator_name: string;
873
+
874
+ originator_postal_code: string | null;
875
+
876
+ originator_state_or_province: string | null;
877
+
878
+ originator_street_address: string;
879
+
880
+ payment_related_information: string | null;
881
+
882
+ payment_related_information2: string | null;
883
+
884
+ receiver_city: string;
885
+
886
+ receiver_country: string;
887
+
888
+ receiver_identification_number: string | null;
889
+
890
+ receiver_postal_code: string | null;
891
+
892
+ receiver_state_or_province: string | null;
893
+
894
+ receiver_street_address: string;
895
+
896
+ receiving_company_or_individual_name: string;
897
+
898
+ receiving_depository_financial_institution_country: string;
899
+
900
+ receiving_depository_financial_institution_id: string;
901
+
902
+ receiving_depository_financial_institution_id_qualifier: string;
903
+
904
+ receiving_depository_financial_institution_name: string;
905
+
906
+ trace_number: string;
907
+ }
908
+
909
+ export interface InboundRealTimePaymentsTransferConfirmation {
910
+ /**
911
+ * The amount in the minor unit of the transfer's currency. For dollars, for
912
+ * example, this is cents.
913
+ */
914
+ amount: number;
915
+
916
+ /**
917
+ * The name the sender of the transfer specified as the recipient of the transfer.
918
+ */
919
+ creditor_name: string;
920
+
921
+ /**
922
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the transfer's
923
+ * currency. This will always be "USD" for a Real Time Payments transfer.
924
+ */
925
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
926
+
927
+ /**
928
+ * The account number of the account that sent the transfer.
929
+ */
930
+ debtor_account_number: string;
931
+
932
+ /**
933
+ * The name provided by the sender of the transfer.
934
+ */
935
+ debtor_name: string;
936
+
937
+ /**
938
+ * The routing number of the account that sent the transfer.
939
+ */
940
+ debtor_routing_number: string;
941
+
942
+ /**
943
+ * Additional information included with the transfer.
944
+ */
945
+ remittance_information: string | null;
946
+
947
+ /**
948
+ * The Real Time Payments network identification of the transfer
949
+ */
950
+ transaction_identification: string;
951
+ }
952
+
953
+ export interface InboundWireDrawdownPaymentReversal {
954
+ /**
955
+ * The amount that was reversed.
956
+ */
957
+ amount: number;
958
+
959
+ /**
960
+ * The description on the reversal message from Fedwire.
961
+ */
962
+ description: string;
963
+
964
+ /**
965
+ * The Fedwire cycle date for the wire reversal.
966
+ */
967
+ input_cycle_date: string;
968
+
969
+ /**
970
+ * The Fedwire transaction identifier.
971
+ */
972
+ input_message_accountability_data: string;
973
+
974
+ /**
975
+ * The Fedwire sequence number.
976
+ */
977
+ input_sequence_number: string;
978
+
979
+ /**
980
+ * The Fedwire input source identifier.
981
+ */
982
+ input_source: string;
983
+
984
+ /**
985
+ * The Fedwire cycle date for the wire transfer that was reversed.
986
+ */
987
+ previous_message_input_cycle_date: string;
988
+
989
+ /**
990
+ * The Fedwire transaction identifier for the wire transfer that was reversed.
991
+ */
992
+ previous_message_input_message_accountability_data: string;
993
+
994
+ /**
995
+ * The Fedwire sequence number for the wire transfer that was reversed.
996
+ */
997
+ previous_message_input_sequence_number: string;
998
+
999
+ /**
1000
+ * The Fedwire input source identifier for the wire transfer that was reversed.
1001
+ */
1002
+ previous_message_input_source: string;
1003
+ }
1004
+
1005
+ export interface InboundWireDrawdownPayment {
1006
+ /**
1007
+ * The amount in the minor unit of the transaction's currency. For dollars, for
1008
+ * example, this is cents.
1009
+ */
1010
+ amount: number;
1011
+
1012
+ beneficiary_address_line1: string | null;
1013
+
1014
+ beneficiary_address_line2: string | null;
1015
+
1016
+ beneficiary_address_line3: string | null;
1017
+
1018
+ beneficiary_name: string | null;
1019
+
1020
+ beneficiary_reference: string | null;
1021
+
1022
+ description: string;
1023
+
1024
+ input_message_accountability_data: string | null;
1025
+
1026
+ originator_address_line1: string | null;
1027
+
1028
+ originator_address_line2: string | null;
1029
+
1030
+ originator_address_line3: string | null;
1031
+
1032
+ originator_name: string | null;
1033
+
1034
+ originator_to_beneficiary_information: string | null;
1035
+ }
1036
+
1037
+ export interface InboundWireReversal {
1038
+ /**
1039
+ * The amount that was reversed.
1040
+ */
1041
+ amount: number;
1042
+
1043
+ /**
1044
+ * The description on the reversal message from Fedwire.
1045
+ */
1046
+ description: string;
1047
+
1048
+ /**
1049
+ * Additional financial institution information included in the wire reversal.
1050
+ */
1051
+ financial_institution_to_financial_institution_information: string | null;
1052
+
1053
+ /**
1054
+ * The Fedwire cycle date for the wire reversal.
1055
+ */
1056
+ input_cycle_date: string;
1057
+
1058
+ /**
1059
+ * The Fedwire transaction identifier.
1060
+ */
1061
+ input_message_accountability_data: string;
1062
+
1063
+ /**
1064
+ * The Fedwire sequence number.
1065
+ */
1066
+ input_sequence_number: string;
1067
+
1068
+ /**
1069
+ * The Fedwire input source identifier.
1070
+ */
1071
+ input_source: string;
1072
+
1073
+ /**
1074
+ * The Fedwire cycle date for the wire transfer that was reversed.
1075
+ */
1076
+ previous_message_input_cycle_date: string;
1077
+
1078
+ /**
1079
+ * The Fedwire transaction identifier for the wire transfer that was reversed.
1080
+ */
1081
+ previous_message_input_message_accountability_data: string;
1082
+
1083
+ /**
1084
+ * The Fedwire sequence number for the wire transfer that was reversed.
1085
+ */
1086
+ previous_message_input_sequence_number: string;
1087
+
1088
+ /**
1089
+ * The Fedwire input source identifier for the wire transfer that was reversed.
1090
+ */
1091
+ previous_message_input_source: string;
1092
+
1093
+ /**
1094
+ * Information included in the wire reversal for the receiving financial
1095
+ * institution.
1096
+ */
1097
+ receiver_financial_institution_information: string | null;
1098
+ }
1099
+
1100
+ export interface InboundWireTransfer {
1101
+ /**
1102
+ * The amount in the minor unit of the transaction's currency. For dollars, for
1103
+ * example, this is cents.
1104
+ */
1105
+ amount: number;
1106
+
1107
+ beneficiary_address_line1: string | null;
1108
+
1109
+ beneficiary_address_line2: string | null;
1110
+
1111
+ beneficiary_address_line3: string | null;
1112
+
1113
+ beneficiary_name: string | null;
1114
+
1115
+ beneficiary_reference: string | null;
1116
+
1117
+ description: string;
1118
+
1119
+ input_message_accountability_data: string | null;
1120
+
1121
+ originator_address_line1: string | null;
1122
+
1123
+ originator_address_line2: string | null;
1124
+
1125
+ originator_address_line3: string | null;
1126
+
1127
+ originator_name: string | null;
1128
+
1129
+ originator_to_beneficiary_information: string | null;
1130
+
1131
+ originator_to_beneficiary_information_line1: string | null;
1132
+
1133
+ originator_to_beneficiary_information_line2: string | null;
1134
+
1135
+ originator_to_beneficiary_information_line3: string | null;
1136
+
1137
+ originator_to_beneficiary_information_line4: string | null;
1138
+ }
1139
+
1140
+ export interface InterestPayment {
1141
+ /**
1142
+ * The account on which the interest was accrued.
1143
+ */
1144
+ accrued_on_account_id: string | null;
1145
+
1146
+ /**
1147
+ * The amount in the minor unit of the transaction's currency. For dollars, for
1148
+ * example, this is cents.
1149
+ */
1150
+ amount: number;
1151
+
1152
+ /**
1153
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction
1154
+ * currency.
1155
+ */
1156
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
1157
+
1158
+ /**
1159
+ * The end of the period for which this transaction paid interest.
1160
+ */
1161
+ period_end: string;
1162
+
1163
+ /**
1164
+ * The start of the period for which this transaction paid interest.
1165
+ */
1166
+ period_start: string;
1167
+ }
1168
+
1169
+ export interface InternalSource {
1170
+ /**
1171
+ * The amount in the minor unit of the transaction's currency. For dollars, for
1172
+ * example, this is cents.
1173
+ */
1174
+ amount: number;
1175
+
1176
+ /**
1177
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction
1178
+ * currency.
1179
+ */
1180
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
1181
+
1182
+ reason:
1183
+ | 'bank_migration'
1184
+ | 'cashback'
1185
+ | 'empyreal_adjustment'
1186
+ | 'error'
1187
+ | 'error_correction'
1188
+ | 'fees'
1189
+ | 'interest'
1190
+ | 'sample_funds'
1191
+ | 'sample_funds_return';
1192
+ }
1193
+
1194
+ export interface CardRouteRefund {
1195
+ /**
1196
+ * The refunded amount in the minor unit of the refunded currency. For dollars, for
1197
+ * example, this is cents.
1198
+ */
1199
+ amount: number;
1200
+
1201
+ /**
1202
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the refund
1203
+ * currency.
1204
+ */
1205
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
1206
+
1207
+ merchant_acceptor_id: string;
1208
+
1209
+ merchant_category_code: string | null;
1210
+
1211
+ merchant_city: string | null;
1212
+
1213
+ merchant_country: string;
1214
+
1215
+ merchant_descriptor: string;
1216
+
1217
+ merchant_state: string | null;
1218
+ }
1219
+
1220
+ export interface CardRouteSettlement {
1221
+ /**
1222
+ * The settled amount in the minor unit of the settlement currency. For dollars,
1223
+ * for example, this is cents.
1224
+ */
1225
+ amount: number;
1226
+
1227
+ /**
1228
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the settlement
1229
+ * currency.
1230
+ */
1231
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
1232
+
1233
+ merchant_acceptor_id: string;
1234
+
1235
+ merchant_category_code: string | null;
1236
+
1237
+ merchant_city: string | null;
1238
+
1239
+ merchant_country: string | null;
1240
+
1241
+ merchant_descriptor: string;
1242
+
1243
+ merchant_state: string | null;
1244
+ }
1245
+
1246
+ export interface SampleFunds {
1247
+ /**
1248
+ * Where the sample funds came from.
1249
+ */
1250
+ originator: string;
1251
+ }
1252
+
1253
+ export interface WireDrawdownPaymentIntention {
1254
+ account_number: string;
1255
+
1256
+ /**
1257
+ * The transfer amount in USD cents.
1258
+ */
1259
+ amount: number;
1260
+
1261
+ message_to_recipient: string;
1262
+
1263
+ routing_number: string;
1264
+
1265
+ transfer_id: string;
1266
+ }
1267
+
1268
+ export interface WireDrawdownPaymentRejection {
1269
+ transfer_id: string;
1270
+ }
1271
+
1272
+ export interface WireTransferIntention {
1273
+ /**
1274
+ * The destination account number.
1275
+ */
1276
+ account_number: string;
1277
+
1278
+ /**
1279
+ * The transfer amount in USD cents.
1280
+ */
1281
+ amount: number;
1282
+
1283
+ /**
1284
+ * The message that will show on the recipient's bank statement.
1285
+ */
1286
+ message_to_recipient: string;
1287
+
1288
+ /**
1289
+ * The American Bankers' Association (ABA) Routing Transit Number (RTN).
1290
+ */
1291
+ routing_number: string;
1292
+
1293
+ transfer_id: string;
1294
+ }
1295
+
1296
+ export interface WireTransferRejection {
1297
+ transfer_id: string;
1298
+ }
1299
+ }
1300
+ }
1301
+ }
1302
+
1303
+ export interface WireTransferCreateInboundParams {
1304
+ /**
1305
+ * The identifier of the Account Number the inbound Wire Transfer is for.
1306
+ */
1307
+ account_number_id: string;
1308
+
1309
+ /**
1310
+ * The transfer amount in cents. Must be positive.
1311
+ */
1312
+ amount: number;
1313
+
1314
+ /**
1315
+ * The sending bank will set beneficiary_address_line1 in production. You can
1316
+ * simulate any value here.
1317
+ */
1318
+ beneficiary_address_line1?: string;
1319
+
1320
+ /**
1321
+ * The sending bank will set beneficiary_address_line2 in production. You can
1322
+ * simulate any value here.
1323
+ */
1324
+ beneficiary_address_line2?: string;
1325
+
1326
+ /**
1327
+ * The sending bank will set beneficiary_address_line3 in production. You can
1328
+ * simulate any value here.
1329
+ */
1330
+ beneficiary_address_line3?: string;
1331
+
1332
+ /**
1333
+ * The sending bank will set beneficiary_name in production. You can simulate any
1334
+ * value here.
1335
+ */
1336
+ beneficiary_name?: string;
1337
+
1338
+ /**
1339
+ * The sending bank will set beneficiary_reference in production. You can simulate
1340
+ * any value here.
1341
+ */
1342
+ beneficiary_reference?: string;
1343
+
1344
+ /**
1345
+ * The sending bank will set originator_address_line1 in production. You can
1346
+ * simulate any value here.
1347
+ */
1348
+ originator_address_line1?: string;
1349
+
1350
+ /**
1351
+ * The sending bank will set originator_address_line2 in production. You can
1352
+ * simulate any value here.
1353
+ */
1354
+ originator_address_line2?: string;
1355
+
1356
+ /**
1357
+ * The sending bank will set originator_address_line3 in production. You can
1358
+ * simulate any value here.
1359
+ */
1360
+ originator_address_line3?: string;
1361
+
1362
+ /**
1363
+ * The sending bank will set originator_name in production. You can simulate any
1364
+ * value here.
1365
+ */
1366
+ originator_name?: string;
1367
+
1368
+ /**
1369
+ * The sending bank will set originator_to_beneficiary_information_line1 in
1370
+ * production. You can simulate any value here.
1371
+ */
1372
+ originator_to_beneficiary_information_line1?: string;
1373
+
1374
+ /**
1375
+ * The sending bank will set originator_to_beneficiary_information_line2 in
1376
+ * production. You can simulate any value here.
1377
+ */
1378
+ originator_to_beneficiary_information_line2?: string;
1379
+
1380
+ /**
1381
+ * The sending bank will set originator_to_beneficiary_information_line3 in
1382
+ * production. You can simulate any value here.
1383
+ */
1384
+ originator_to_beneficiary_information_line3?: string;
1385
+
1386
+ /**
1387
+ * The sending bank will set originator_to_beneficiary_information_line4 in
1388
+ * production. You can simulate any value here.
1389
+ */
1390
+ originator_to_beneficiary_information_line4?: string;
1391
+ }