increase 0.377.0 → 0.379.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/CHANGELOG.md +203 -4438
  2. package/README.md +115 -50
  3. package/api-promise.d.mts +2 -0
  4. package/api-promise.d.mts.map +1 -0
  5. package/api-promise.d.ts +2 -0
  6. package/api-promise.d.ts.map +1 -0
  7. package/api-promise.js +6 -0
  8. package/api-promise.js.map +1 -0
  9. package/api-promise.mjs +2 -0
  10. package/api-promise.mjs.map +1 -0
  11. package/bin/cli +46 -0
  12. package/bin/migration-config.json +6 -0
  13. package/client.d.mts +382 -0
  14. package/client.d.mts.map +1 -0
  15. package/client.d.ts +382 -0
  16. package/client.d.ts.map +1 -0
  17. package/client.js +650 -0
  18. package/client.js.map +1 -0
  19. package/client.mjs +646 -0
  20. package/client.mjs.map +1 -0
  21. package/core/api-promise.d.mts +46 -0
  22. package/core/api-promise.d.mts.map +1 -0
  23. package/core/api-promise.d.ts +46 -0
  24. package/core/api-promise.d.ts.map +1 -0
  25. package/core/api-promise.js +74 -0
  26. package/core/api-promise.js.map +1 -0
  27. package/core/api-promise.mjs +70 -0
  28. package/core/api-promise.mjs.map +1 -0
  29. package/core/error.d.mts +145 -0
  30. package/core/error.d.mts.map +1 -0
  31. package/core/error.d.ts +145 -0
  32. package/core/error.d.ts.map +1 -0
  33. package/core/error.js +280 -0
  34. package/core/error.js.map +1 -0
  35. package/core/error.mjs +253 -0
  36. package/core/error.mjs.map +1 -0
  37. package/core/pagination.d.mts +67 -0
  38. package/core/pagination.d.mts.map +1 -0
  39. package/core/pagination.d.ts +67 -0
  40. package/core/pagination.d.ts.map +1 -0
  41. package/core/pagination.js +101 -0
  42. package/core/pagination.js.map +1 -0
  43. package/core/pagination.mjs +95 -0
  44. package/core/pagination.mjs.map +1 -0
  45. package/core/resource.d.mts +6 -0
  46. package/core/resource.d.mts.map +1 -0
  47. package/core/resource.d.ts +6 -0
  48. package/core/resource.d.ts.map +1 -0
  49. package/core/resource.js +11 -0
  50. package/core/resource.js.map +1 -0
  51. package/core/resource.mjs +7 -0
  52. package/core/resource.mjs.map +1 -0
  53. package/core/uploads.d.mts +3 -0
  54. package/core/uploads.d.mts.map +1 -0
  55. package/core/uploads.d.ts +3 -0
  56. package/core/uploads.d.ts.map +1 -0
  57. package/core/uploads.js +6 -0
  58. package/core/uploads.js.map +1 -0
  59. package/core/uploads.mjs +2 -0
  60. package/core/uploads.mjs.map +1 -0
  61. package/error.d.mts +2 -0
  62. package/error.d.mts.map +1 -0
  63. package/error.d.ts +1 -145
  64. package/error.d.ts.map +1 -1
  65. package/error.js +3 -277
  66. package/error.js.map +1 -1
  67. package/error.mjs +1 -252
  68. package/error.mjs.map +1 -1
  69. package/index.d.mts +7 -320
  70. package/index.d.mts.map +1 -0
  71. package/index.d.ts +6 -319
  72. package/index.d.ts.map +1 -1
  73. package/index.js +14 -358
  74. package/index.js.map +1 -1
  75. package/index.mjs +6 -331
  76. package/index.mjs.map +1 -1
  77. package/internal/builtin-types.d.mts +73 -0
  78. package/internal/builtin-types.d.mts.map +1 -0
  79. package/internal/builtin-types.d.ts +73 -0
  80. package/internal/builtin-types.d.ts.map +1 -0
  81. package/internal/builtin-types.js +4 -0
  82. package/internal/builtin-types.js.map +1 -0
  83. package/internal/builtin-types.mjs +3 -0
  84. package/internal/builtin-types.mjs.map +1 -0
  85. package/internal/detect-platform.d.mts +15 -0
  86. package/internal/detect-platform.d.mts.map +1 -0
  87. package/internal/detect-platform.d.ts +15 -0
  88. package/internal/detect-platform.d.ts.map +1 -0
  89. package/internal/detect-platform.js +162 -0
  90. package/internal/detect-platform.js.map +1 -0
  91. package/internal/detect-platform.mjs +157 -0
  92. package/internal/detect-platform.mjs.map +1 -0
  93. package/internal/errors.d.mts +3 -0
  94. package/internal/errors.d.mts.map +1 -0
  95. package/internal/errors.d.ts +3 -0
  96. package/internal/errors.d.ts.map +1 -0
  97. package/internal/errors.js +41 -0
  98. package/internal/errors.js.map +1 -0
  99. package/internal/errors.mjs +36 -0
  100. package/internal/errors.mjs.map +1 -0
  101. package/internal/headers.d.mts +20 -0
  102. package/internal/headers.d.mts.map +1 -0
  103. package/internal/headers.d.ts +20 -0
  104. package/internal/headers.d.ts.map +1 -0
  105. package/internal/headers.js +79 -0
  106. package/internal/headers.js.map +1 -0
  107. package/internal/headers.mjs +74 -0
  108. package/internal/headers.mjs.map +1 -0
  109. package/internal/parse.d.mts +12 -0
  110. package/internal/parse.d.mts.map +1 -0
  111. package/internal/parse.d.ts +12 -0
  112. package/internal/parse.d.ts.map +1 -0
  113. package/internal/parse.js +35 -0
  114. package/internal/parse.js.map +1 -0
  115. package/internal/parse.mjs +32 -0
  116. package/internal/parse.mjs.map +1 -0
  117. package/internal/qs/formats.d.mts +7 -0
  118. package/internal/qs/formats.d.mts.map +1 -0
  119. package/internal/qs/formats.d.ts +1 -0
  120. package/internal/qs/formats.d.ts.map +1 -1
  121. package/internal/qs/formats.js +4 -2
  122. package/internal/qs/formats.js.map +1 -1
  123. package/internal/qs/formats.mjs +2 -1
  124. package/internal/qs/formats.mjs.map +1 -1
  125. package/internal/qs/index.d.mts +10 -0
  126. package/internal/qs/index.d.mts.map +1 -0
  127. package/internal/qs/index.d.ts.map +1 -1
  128. package/internal/qs/stringify.d.mts +3 -0
  129. package/internal/qs/stringify.d.mts.map +1 -0
  130. package/internal/qs/stringify.d.ts.map +1 -1
  131. package/internal/qs/stringify.js +16 -19
  132. package/internal/qs/stringify.js.map +1 -1
  133. package/internal/qs/stringify.mjs +17 -19
  134. package/internal/qs/stringify.mjs.map +1 -1
  135. package/internal/qs/types.d.mts +57 -0
  136. package/internal/qs/types.d.mts.map +1 -0
  137. package/internal/qs/utils.d.mts +15 -0
  138. package/internal/qs/utils.d.mts.map +1 -0
  139. package/internal/qs/utils.d.ts +1 -0
  140. package/internal/qs/utils.d.ts.map +1 -1
  141. package/internal/qs/utils.js +22 -21
  142. package/internal/qs/utils.js.map +1 -1
  143. package/internal/qs/utils.mjs +12 -12
  144. package/internal/qs/utils.mjs.map +1 -1
  145. package/internal/request-options.d.mts +75 -0
  146. package/internal/request-options.d.mts.map +1 -0
  147. package/internal/request-options.d.ts +75 -0
  148. package/internal/request-options.d.ts.map +1 -0
  149. package/internal/request-options.js +14 -0
  150. package/internal/request-options.js.map +1 -0
  151. package/internal/request-options.mjs +10 -0
  152. package/internal/request-options.mjs.map +1 -0
  153. package/internal/shim-types.d.mts +17 -0
  154. package/internal/shim-types.d.mts.map +1 -0
  155. package/internal/shim-types.d.ts +17 -0
  156. package/internal/shim-types.d.ts.map +1 -0
  157. package/internal/shim-types.js +4 -0
  158. package/internal/shim-types.js.map +1 -0
  159. package/internal/shim-types.mjs +3 -0
  160. package/internal/shim-types.mjs.map +1 -0
  161. package/internal/shims.d.mts +20 -0
  162. package/internal/shims.d.mts.map +1 -0
  163. package/internal/shims.d.ts +20 -0
  164. package/internal/shims.d.ts.map +1 -0
  165. package/internal/shims.js +92 -0
  166. package/internal/shims.js.map +1 -0
  167. package/internal/shims.mjs +85 -0
  168. package/internal/shims.mjs.map +1 -0
  169. package/internal/to-file.d.mts +45 -0
  170. package/internal/to-file.d.mts.map +1 -0
  171. package/internal/to-file.d.ts +45 -0
  172. package/internal/to-file.d.ts.map +1 -0
  173. package/internal/to-file.js +91 -0
  174. package/internal/to-file.js.map +1 -0
  175. package/internal/to-file.mjs +88 -0
  176. package/internal/to-file.mjs.map +1 -0
  177. package/internal/tslib.js +81 -0
  178. package/internal/tslib.mjs +17 -0
  179. package/internal/types.d.mts +69 -0
  180. package/internal/types.d.mts.map +1 -0
  181. package/internal/types.d.ts +69 -0
  182. package/internal/types.d.ts.map +1 -0
  183. package/internal/types.js +4 -0
  184. package/internal/types.js.map +1 -0
  185. package/internal/types.mjs +3 -0
  186. package/internal/types.mjs.map +1 -0
  187. package/internal/uploads.d.mts +42 -0
  188. package/internal/uploads.d.mts.map +1 -0
  189. package/internal/uploads.d.ts +42 -0
  190. package/internal/uploads.d.ts.map +1 -0
  191. package/internal/uploads.js +141 -0
  192. package/internal/uploads.js.map +1 -0
  193. package/internal/uploads.mjs +131 -0
  194. package/internal/uploads.mjs.map +1 -0
  195. package/internal/utils/base64.d.mts +3 -0
  196. package/internal/utils/base64.d.mts.map +1 -0
  197. package/internal/utils/base64.d.ts +3 -0
  198. package/internal/utils/base64.d.ts.map +1 -0
  199. package/internal/utils/base64.js +38 -0
  200. package/internal/utils/base64.js.map +1 -0
  201. package/internal/utils/base64.mjs +33 -0
  202. package/internal/utils/base64.mjs.map +1 -0
  203. package/internal/utils/bytes.d.mts +4 -0
  204. package/internal/utils/bytes.d.mts.map +1 -0
  205. package/internal/utils/bytes.d.ts +4 -0
  206. package/internal/utils/bytes.d.ts.map +1 -0
  207. package/internal/utils/bytes.js +31 -0
  208. package/internal/utils/bytes.js.map +1 -0
  209. package/internal/utils/bytes.mjs +26 -0
  210. package/internal/utils/bytes.mjs.map +1 -0
  211. package/internal/utils/env.d.mts +9 -0
  212. package/internal/utils/env.d.mts.map +1 -0
  213. package/internal/utils/env.d.ts +9 -0
  214. package/internal/utils/env.d.ts.map +1 -0
  215. package/internal/utils/env.js +22 -0
  216. package/internal/utils/env.js.map +1 -0
  217. package/internal/utils/env.mjs +18 -0
  218. package/internal/utils/env.mjs.map +1 -0
  219. package/internal/utils/log.d.mts +37 -0
  220. package/internal/utils/log.d.mts.map +1 -0
  221. package/internal/utils/log.d.ts +37 -0
  222. package/internal/utils/log.d.ts.map +1 -0
  223. package/internal/utils/log.js +85 -0
  224. package/internal/utils/log.js.map +1 -0
  225. package/internal/utils/log.mjs +79 -0
  226. package/internal/utils/log.mjs.map +1 -0
  227. package/internal/utils/path.d.mts +15 -0
  228. package/internal/utils/path.d.mts.map +1 -0
  229. package/internal/utils/path.d.ts +15 -0
  230. package/internal/utils/path.d.ts.map +1 -0
  231. package/internal/utils/path.js +79 -0
  232. package/internal/utils/path.js.map +1 -0
  233. package/internal/utils/path.mjs +74 -0
  234. package/internal/utils/path.mjs.map +1 -0
  235. package/internal/utils/sleep.d.mts +2 -0
  236. package/internal/utils/sleep.d.mts.map +1 -0
  237. package/internal/utils/sleep.d.ts +2 -0
  238. package/internal/utils/sleep.d.ts.map +1 -0
  239. package/internal/utils/sleep.js +7 -0
  240. package/internal/utils/sleep.js.map +1 -0
  241. package/internal/utils/sleep.mjs +3 -0
  242. package/internal/utils/sleep.mjs.map +1 -0
  243. package/internal/utils/uuid.d.mts +5 -0
  244. package/internal/utils/uuid.d.mts.map +1 -0
  245. package/internal/utils/uuid.d.ts +5 -0
  246. package/internal/utils/uuid.d.ts.map +1 -0
  247. package/internal/utils/uuid.js +19 -0
  248. package/internal/utils/uuid.js.map +1 -0
  249. package/internal/utils/uuid.mjs +15 -0
  250. package/internal/utils/uuid.mjs.map +1 -0
  251. package/internal/utils/values.d.mts +18 -0
  252. package/internal/utils/values.d.mts.map +1 -0
  253. package/internal/utils/values.d.ts +18 -0
  254. package/internal/utils/values.d.ts.map +1 -0
  255. package/internal/utils/values.js +112 -0
  256. package/internal/utils/values.js.map +1 -0
  257. package/internal/utils/values.mjs +94 -0
  258. package/internal/utils/values.mjs.map +1 -0
  259. package/internal/utils.d.mts +7 -0
  260. package/internal/utils.d.mts.map +1 -0
  261. package/internal/utils.d.ts +7 -0
  262. package/internal/utils.d.ts.map +1 -0
  263. package/internal/utils.js +11 -0
  264. package/internal/utils.js.map +1 -0
  265. package/internal/utils.mjs +8 -0
  266. package/internal/utils.mjs.map +1 -0
  267. package/package.json +114 -66
  268. package/pagination.d.mts +2 -0
  269. package/pagination.d.mts.map +1 -0
  270. package/pagination.d.ts +1 -30
  271. package/pagination.d.ts.map +1 -1
  272. package/pagination.js +3 -37
  273. package/pagination.js.map +1 -1
  274. package/pagination.mjs +1 -35
  275. package/pagination.mjs.map +1 -1
  276. package/resource.d.mts +2 -0
  277. package/resource.d.mts.map +1 -0
  278. package/resource.d.ts +1 -5
  279. package/resource.d.ts.map +1 -1
  280. package/resource.js +3 -8
  281. package/resource.js.map +1 -1
  282. package/resource.mjs +1 -6
  283. package/resource.mjs.map +1 -1
  284. package/resources/account-numbers.d.mts +309 -0
  285. package/resources/account-numbers.d.mts.map +1 -0
  286. package/resources/account-numbers.d.ts +10 -11
  287. package/resources/account-numbers.d.ts.map +1 -1
  288. package/resources/account-numbers.js +20 -16
  289. package/resources/account-numbers.js.map +1 -1
  290. package/resources/account-numbers.mjs +19 -14
  291. package/resources/account-numbers.mjs.map +1 -1
  292. package/resources/account-statements.d.mts +113 -0
  293. package/resources/account-statements.d.mts.map +1 -0
  294. package/resources/account-statements.d.ts +8 -9
  295. package/resources/account-statements.d.ts.map +1 -1
  296. package/resources/account-statements.js +18 -14
  297. package/resources/account-statements.js.map +1 -1
  298. package/resources/account-statements.mjs +17 -12
  299. package/resources/account-statements.mjs.map +1 -1
  300. package/resources/account-transfers.d.mts +325 -0
  301. package/resources/account-transfers.d.mts.map +1 -0
  302. package/resources/account-transfers.d.ts +11 -12
  303. package/resources/account-transfers.d.ts.map +1 -1
  304. package/resources/account-transfers.js +22 -18
  305. package/resources/account-transfers.js.map +1 -1
  306. package/resources/account-transfers.mjs +21 -16
  307. package/resources/account-transfers.mjs.map +1 -1
  308. package/resources/accounts.d.mts +291 -0
  309. package/resources/accounts.d.mts.map +1 -0
  310. package/resources/accounts.d.ts +12 -14
  311. package/resources/accounts.d.ts.map +1 -1
  312. package/resources/accounts.js +35 -23
  313. package/resources/accounts.js.map +1 -1
  314. package/resources/accounts.mjs +34 -21
  315. package/resources/accounts.mjs.map +1 -1
  316. package/resources/ach-prenotifications.d.mts +473 -0
  317. package/resources/ach-prenotifications.d.mts.map +1 -0
  318. package/resources/ach-prenotifications.d.ts +9 -10
  319. package/resources/ach-prenotifications.d.ts.map +1 -1
  320. package/resources/ach-prenotifications.js +18 -14
  321. package/resources/ach-prenotifications.js.map +1 -1
  322. package/resources/ach-prenotifications.mjs +17 -12
  323. package/resources/ach-prenotifications.mjs.map +1 -1
  324. package/resources/ach-transfers.d.mts +1091 -0
  325. package/resources/ach-transfers.d.mts.map +1 -0
  326. package/resources/ach-transfers.d.ts +11 -12
  327. package/resources/ach-transfers.d.ts.map +1 -1
  328. package/resources/ach-transfers.js +22 -18
  329. package/resources/ach-transfers.js.map +1 -1
  330. package/resources/ach-transfers.mjs +21 -16
  331. package/resources/ach-transfers.mjs.map +1 -1
  332. package/resources/bookkeeping-accounts.d.mts +164 -0
  333. package/resources/bookkeeping-accounts.d.mts.map +1 -0
  334. package/resources/bookkeeping-accounts.d.ts +10 -12
  335. package/resources/bookkeeping-accounts.d.ts.map +1 -1
  336. package/resources/bookkeeping-accounts.js +34 -19
  337. package/resources/bookkeeping-accounts.js.map +1 -1
  338. package/resources/bookkeeping-accounts.mjs +33 -17
  339. package/resources/bookkeeping-accounts.mjs.map +1 -1
  340. package/resources/bookkeeping-entries.d.mts +74 -0
  341. package/resources/bookkeeping-entries.d.mts.map +1 -0
  342. package/resources/bookkeeping-entries.d.ts +8 -9
  343. package/resources/bookkeeping-entries.d.ts.map +1 -1
  344. package/resources/bookkeeping-entries.js +18 -14
  345. package/resources/bookkeeping-entries.js.map +1 -1
  346. package/resources/bookkeeping-entries.mjs +17 -12
  347. package/resources/bookkeeping-entries.mjs.map +1 -1
  348. package/resources/bookkeeping-entry-sets.d.mts +156 -0
  349. package/resources/bookkeeping-entry-sets.d.mts.map +1 -0
  350. package/resources/bookkeeping-entry-sets.d.ts +9 -10
  351. package/resources/bookkeeping-entry-sets.d.ts.map +1 -1
  352. package/resources/bookkeeping-entry-sets.js +18 -14
  353. package/resources/bookkeeping-entry-sets.js.map +1 -1
  354. package/resources/bookkeeping-entry-sets.mjs +17 -12
  355. package/resources/bookkeeping-entry-sets.mjs.map +1 -1
  356. package/resources/card-disputes.d.mts +5657 -0
  357. package/resources/card-disputes.d.mts.map +1 -0
  358. package/resources/card-disputes.d.ts +11 -12
  359. package/resources/card-disputes.d.ts.map +1 -1
  360. package/resources/card-disputes.js +25 -18
  361. package/resources/card-disputes.js.map +1 -1
  362. package/resources/card-disputes.mjs +24 -16
  363. package/resources/card-disputes.mjs.map +1 -1
  364. package/resources/card-payments.d.mts +5066 -0
  365. package/resources/card-payments.d.mts.map +1 -0
  366. package/resources/card-payments.d.ts +555 -13
  367. package/resources/card-payments.d.ts.map +1 -1
  368. package/resources/card-payments.js +18 -14
  369. package/resources/card-payments.js.map +1 -1
  370. package/resources/card-payments.mjs +17 -12
  371. package/resources/card-payments.mjs.map +1 -1
  372. package/resources/card-purchase-supplements.d.mts +266 -0
  373. package/resources/card-purchase-supplements.d.mts.map +1 -0
  374. package/resources/card-purchase-supplements.d.ts +8 -9
  375. package/resources/card-purchase-supplements.d.ts.map +1 -1
  376. package/resources/card-purchase-supplements.js +18 -14
  377. package/resources/card-purchase-supplements.js.map +1 -1
  378. package/resources/card-purchase-supplements.mjs +17 -12
  379. package/resources/card-purchase-supplements.mjs.map +1 -1
  380. package/resources/card-push-transfers.d.mts +992 -0
  381. package/resources/card-push-transfers.d.mts.map +1 -0
  382. package/resources/card-push-transfers.d.ts +11 -12
  383. package/resources/card-push-transfers.d.ts.map +1 -1
  384. package/resources/card-push-transfers.js +22 -18
  385. package/resources/card-push-transfers.js.map +1 -1
  386. package/resources/card-push-transfers.mjs +21 -16
  387. package/resources/card-push-transfers.mjs.map +1 -1
  388. package/resources/card-tokens.d.mts +153 -0
  389. package/resources/card-tokens.d.mts.map +1 -0
  390. package/resources/card-tokens.d.ts +9 -10
  391. package/resources/card-tokens.d.ts.map +1 -1
  392. package/resources/card-tokens.js +20 -16
  393. package/resources/card-tokens.js.map +1 -1
  394. package/resources/card-tokens.mjs +19 -14
  395. package/resources/card-tokens.mjs.map +1 -1
  396. package/resources/card-validations.d.mts +513 -0
  397. package/resources/card-validations.d.mts.map +1 -0
  398. package/resources/card-validations.d.ts +9 -10
  399. package/resources/card-validations.d.ts.map +1 -1
  400. package/resources/card-validations.js +18 -14
  401. package/resources/card-validations.js.map +1 -1
  402. package/resources/card-validations.mjs +17 -12
  403. package/resources/card-validations.mjs.map +1 -1
  404. package/resources/cards.d.mts +486 -0
  405. package/resources/cards.d.mts.map +1 -0
  406. package/resources/cards.d.ts +13 -14
  407. package/resources/cards.d.ts.map +1 -1
  408. package/resources/cards.js +26 -22
  409. package/resources/cards.js.map +1 -1
  410. package/resources/cards.mjs +25 -20
  411. package/resources/cards.mjs.map +1 -1
  412. package/resources/check-deposits.d.mts +453 -0
  413. package/resources/check-deposits.d.mts.map +1 -0
  414. package/resources/check-deposits.d.ts +9 -10
  415. package/resources/check-deposits.d.ts.map +1 -1
  416. package/resources/check-deposits.js +18 -14
  417. package/resources/check-deposits.js.map +1 -1
  418. package/resources/check-deposits.mjs +17 -12
  419. package/resources/check-deposits.mjs.map +1 -1
  420. package/resources/check-transfers.d.mts +874 -0
  421. package/resources/check-transfers.d.mts.map +1 -0
  422. package/resources/check-transfers.d.ts +12 -13
  423. package/resources/check-transfers.d.ts.map +1 -1
  424. package/resources/check-transfers.js +24 -20
  425. package/resources/check-transfers.js.map +1 -1
  426. package/resources/check-transfers.mjs +23 -18
  427. package/resources/check-transfers.mjs.map +1 -1
  428. package/resources/declined-transactions.d.mts +1163 -0
  429. package/resources/declined-transactions.d.mts.map +1 -0
  430. package/resources/declined-transactions.d.ts +11 -10
  431. package/resources/declined-transactions.d.ts.map +1 -1
  432. package/resources/declined-transactions.js +21 -14
  433. package/resources/declined-transactions.js.map +1 -1
  434. package/resources/declined-transactions.mjs +20 -12
  435. package/resources/declined-transactions.mjs.map +1 -1
  436. package/resources/digital-card-profiles.d.mts +303 -0
  437. package/resources/digital-card-profiles.d.mts.map +1 -0
  438. package/resources/digital-card-profiles.d.ts +11 -12
  439. package/resources/digital-card-profiles.d.ts.map +1 -1
  440. package/resources/digital-card-profiles.js +25 -18
  441. package/resources/digital-card-profiles.js.map +1 -1
  442. package/resources/digital-card-profiles.mjs +24 -16
  443. package/resources/digital-card-profiles.mjs.map +1 -1
  444. package/resources/digital-wallet-tokens.d.mts +181 -0
  445. package/resources/digital-wallet-tokens.d.mts.map +1 -0
  446. package/resources/digital-wallet-tokens.d.ts +8 -9
  447. package/resources/digital-wallet-tokens.d.ts.map +1 -1
  448. package/resources/digital-wallet-tokens.js +18 -14
  449. package/resources/digital-wallet-tokens.js.map +1 -1
  450. package/resources/digital-wallet-tokens.mjs +17 -12
  451. package/resources/digital-wallet-tokens.mjs.map +1 -1
  452. package/resources/documents.d.mts +213 -0
  453. package/resources/documents.d.mts.map +1 -0
  454. package/resources/documents.d.ts +9 -10
  455. package/resources/documents.d.ts.map +1 -1
  456. package/resources/documents.js +18 -14
  457. package/resources/documents.js.map +1 -1
  458. package/resources/documents.mjs +17 -12
  459. package/resources/documents.mjs.map +1 -1
  460. package/resources/entities.d.mts +2776 -0
  461. package/resources/entities.d.mts.map +1 -0
  462. package/resources/entities.d.ts +37 -21
  463. package/resources/entities.d.ts.map +1 -1
  464. package/resources/entities.js +37 -30
  465. package/resources/entities.js.map +1 -1
  466. package/resources/entities.mjs +36 -28
  467. package/resources/entities.mjs.map +1 -1
  468. package/resources/event-subscriptions.d.mts +475 -0
  469. package/resources/event-subscriptions.d.mts.map +1 -0
  470. package/resources/event-subscriptions.d.ts +16 -13
  471. package/resources/event-subscriptions.d.ts.map +1 -1
  472. package/resources/event-subscriptions.js +20 -16
  473. package/resources/event-subscriptions.js.map +1 -1
  474. package/resources/event-subscriptions.mjs +19 -14
  475. package/resources/event-subscriptions.mjs.map +1 -1
  476. package/resources/events.d.mts +263 -0
  477. package/resources/events.d.mts.map +1 -0
  478. package/resources/events.d.ts +12 -11
  479. package/resources/events.d.ts.map +1 -1
  480. package/resources/events.js +18 -14
  481. package/resources/events.js.map +1 -1
  482. package/resources/events.mjs +17 -12
  483. package/resources/events.mjs.map +1 -1
  484. package/resources/exports.d.mts +440 -0
  485. package/resources/exports.d.mts.map +1 -0
  486. package/resources/exports.d.ts +9 -10
  487. package/resources/exports.d.ts.map +1 -1
  488. package/resources/exports.js +18 -14
  489. package/resources/exports.js.map +1 -1
  490. package/resources/exports.mjs +17 -12
  491. package/resources/exports.mjs.map +1 -1
  492. package/resources/external-accounts.d.mts +212 -0
  493. package/resources/external-accounts.d.mts.map +1 -0
  494. package/resources/external-accounts.d.ts +10 -11
  495. package/resources/external-accounts.d.ts.map +1 -1
  496. package/resources/external-accounts.js +20 -16
  497. package/resources/external-accounts.js.map +1 -1
  498. package/resources/external-accounts.mjs +19 -14
  499. package/resources/external-accounts.mjs.map +1 -1
  500. package/resources/fednow-transfers.d.mts +474 -0
  501. package/resources/fednow-transfers.d.mts.map +1 -0
  502. package/resources/fednow-transfers.d.ts +11 -12
  503. package/resources/fednow-transfers.d.ts.map +1 -1
  504. package/resources/fednow-transfers.js +22 -18
  505. package/resources/fednow-transfers.js.map +1 -1
  506. package/resources/fednow-transfers.mjs +21 -16
  507. package/resources/fednow-transfers.mjs.map +1 -1
  508. package/resources/file-links.d.mts +72 -0
  509. package/resources/file-links.d.mts.map +1 -0
  510. package/resources/file-links.d.ts +4 -3
  511. package/resources/file-links.d.ts.map +1 -1
  512. package/resources/file-links.js +1 -1
  513. package/resources/file-links.js.map +1 -1
  514. package/resources/file-links.mjs +1 -1
  515. package/resources/file-links.mjs.map +1 -1
  516. package/resources/files.d.mts +242 -0
  517. package/resources/files.d.mts.map +1 -0
  518. package/resources/files.d.ts +11 -11
  519. package/resources/files.d.ts.map +1 -1
  520. package/resources/files.js +20 -39
  521. package/resources/files.js.map +1 -1
  522. package/resources/files.mjs +19 -14
  523. package/resources/files.mjs.map +1 -1
  524. package/resources/groups.d.mts +54 -0
  525. package/resources/groups.d.mts.map +1 -0
  526. package/resources/groups.d.ts +4 -3
  527. package/resources/groups.d.ts.map +1 -1
  528. package/resources/groups.js +1 -1
  529. package/resources/groups.js.map +1 -1
  530. package/resources/groups.mjs +1 -1
  531. package/resources/groups.mjs.map +1 -1
  532. package/resources/inbound-ach-transfers.d.mts +704 -0
  533. package/resources/inbound-ach-transfers.d.mts.map +1 -0
  534. package/resources/inbound-ach-transfers.d.ts +11 -12
  535. package/resources/inbound-ach-transfers.d.ts.map +1 -1
  536. package/resources/inbound-ach-transfers.js +27 -23
  537. package/resources/inbound-ach-transfers.js.map +1 -1
  538. package/resources/inbound-ach-transfers.mjs +26 -21
  539. package/resources/inbound-ach-transfers.mjs.map +1 -1
  540. package/resources/inbound-check-deposits.d.mts +278 -0
  541. package/resources/inbound-check-deposits.d.mts.map +1 -0
  542. package/resources/inbound-check-deposits.d.ts +10 -11
  543. package/resources/inbound-check-deposits.d.ts.map +1 -1
  544. package/resources/inbound-check-deposits.js +25 -18
  545. package/resources/inbound-check-deposits.js.map +1 -1
  546. package/resources/inbound-check-deposits.mjs +24 -16
  547. package/resources/inbound-check-deposits.mjs.map +1 -1
  548. package/resources/inbound-fednow-transfers.d.mts +188 -0
  549. package/resources/inbound-fednow-transfers.d.mts.map +1 -0
  550. package/resources/inbound-fednow-transfers.d.ts +8 -9
  551. package/resources/inbound-fednow-transfers.d.ts.map +1 -1
  552. package/resources/inbound-fednow-transfers.js +18 -14
  553. package/resources/inbound-fednow-transfers.js.map +1 -1
  554. package/resources/inbound-fednow-transfers.mjs +17 -12
  555. package/resources/inbound-fednow-transfers.mjs.map +1 -1
  556. package/resources/inbound-mail-items.d.mts +187 -0
  557. package/resources/inbound-mail-items.d.mts.map +1 -0
  558. package/resources/inbound-mail-items.d.ts +9 -10
  559. package/resources/inbound-mail-items.d.ts.map +1 -1
  560. package/resources/inbound-mail-items.js +20 -16
  561. package/resources/inbound-mail-items.js.map +1 -1
  562. package/resources/inbound-mail-items.mjs +19 -14
  563. package/resources/inbound-mail-items.mjs.map +1 -1
  564. package/resources/inbound-real-time-payments-transfers.d.mts +192 -0
  565. package/resources/inbound-real-time-payments-transfers.d.mts.map +1 -0
  566. package/resources/inbound-real-time-payments-transfers.d.ts +8 -9
  567. package/resources/inbound-real-time-payments-transfers.d.ts.map +1 -1
  568. package/resources/inbound-real-time-payments-transfers.js +18 -14
  569. package/resources/inbound-real-time-payments-transfers.js.map +1 -1
  570. package/resources/inbound-real-time-payments-transfers.mjs +17 -12
  571. package/resources/inbound-real-time-payments-transfers.mjs.map +1 -1
  572. package/resources/inbound-wire-drawdown-requests.d.mts +138 -0
  573. package/resources/inbound-wire-drawdown-requests.d.mts.map +1 -0
  574. package/resources/inbound-wire-drawdown-requests.d.ts +8 -9
  575. package/resources/inbound-wire-drawdown-requests.d.ts.map +1 -1
  576. package/resources/inbound-wire-drawdown-requests.js +18 -14
  577. package/resources/inbound-wire-drawdown-requests.js.map +1 -1
  578. package/resources/inbound-wire-drawdown-requests.mjs +17 -12
  579. package/resources/inbound-wire-drawdown-requests.mjs.map +1 -1
  580. package/resources/inbound-wire-transfers.d.mts +245 -0
  581. package/resources/inbound-wire-transfers.d.mts.map +1 -0
  582. package/resources/inbound-wire-transfers.d.ts +9 -10
  583. package/resources/inbound-wire-transfers.d.ts.map +1 -1
  584. package/resources/inbound-wire-transfers.js +20 -16
  585. package/resources/inbound-wire-transfers.js.map +1 -1
  586. package/resources/inbound-wire-transfers.mjs +19 -14
  587. package/resources/inbound-wire-transfers.mjs.map +1 -1
  588. package/resources/index.d.mts +58 -0
  589. package/resources/index.d.mts.map +1 -0
  590. package/resources/index.d.ts +51 -52
  591. package/resources/index.d.ts.map +1 -1
  592. package/resources/index.js +4 -58
  593. package/resources/index.js.map +1 -1
  594. package/resources/index.mjs +51 -52
  595. package/resources/index.mjs.map +1 -1
  596. package/resources/intrafi-account-enrollments.d.mts +153 -0
  597. package/resources/intrafi-account-enrollments.d.mts.map +1 -0
  598. package/resources/intrafi-account-enrollments.d.ts +10 -11
  599. package/resources/intrafi-account-enrollments.d.ts.map +1 -1
  600. package/resources/intrafi-account-enrollments.js +20 -16
  601. package/resources/intrafi-account-enrollments.js.map +1 -1
  602. package/resources/intrafi-account-enrollments.mjs +19 -14
  603. package/resources/intrafi-account-enrollments.mjs.map +1 -1
  604. package/resources/intrafi-balances.d.mts +101 -0
  605. package/resources/intrafi-balances.d.mts.map +1 -0
  606. package/resources/intrafi-balances.d.ts +4 -3
  607. package/resources/intrafi-balances.d.ts.map +1 -1
  608. package/resources/intrafi-balances.js +4 -3
  609. package/resources/intrafi-balances.js.map +1 -1
  610. package/resources/intrafi-balances.mjs +4 -3
  611. package/resources/intrafi-balances.mjs.map +1 -1
  612. package/resources/intrafi-exclusions.d.mts +141 -0
  613. package/resources/intrafi-exclusions.d.mts.map +1 -0
  614. package/resources/intrafi-exclusions.d.ts +10 -11
  615. package/resources/intrafi-exclusions.d.ts.map +1 -1
  616. package/resources/intrafi-exclusions.js +20 -16
  617. package/resources/intrafi-exclusions.js.map +1 -1
  618. package/resources/intrafi-exclusions.mjs +19 -14
  619. package/resources/intrafi-exclusions.mjs.map +1 -1
  620. package/resources/lockboxes.d.mts +215 -0
  621. package/resources/lockboxes.d.mts.map +1 -0
  622. package/resources/lockboxes.d.ts +10 -11
  623. package/resources/lockboxes.d.ts.map +1 -1
  624. package/resources/lockboxes.js +20 -16
  625. package/resources/lockboxes.js.map +1 -1
  626. package/resources/lockboxes.mjs +19 -14
  627. package/resources/lockboxes.mjs.map +1 -1
  628. package/resources/oauth-applications.d.mts +113 -0
  629. package/resources/oauth-applications.d.mts.map +1 -0
  630. package/resources/oauth-applications.d.ts +8 -9
  631. package/resources/oauth-applications.d.ts.map +1 -1
  632. package/resources/oauth-applications.js +18 -14
  633. package/resources/oauth-applications.js.map +1 -1
  634. package/resources/oauth-applications.mjs +17 -12
  635. package/resources/oauth-applications.mjs.map +1 -1
  636. package/resources/oauth-connections.d.mts +94 -0
  637. package/resources/oauth-connections.d.mts.map +1 -0
  638. package/resources/oauth-connections.d.ts +8 -9
  639. package/resources/oauth-connections.d.ts.map +1 -1
  640. package/resources/oauth-connections.js +18 -14
  641. package/resources/oauth-connections.js.map +1 -1
  642. package/resources/oauth-connections.mjs +17 -12
  643. package/resources/oauth-connections.mjs.map +1 -1
  644. package/resources/oauth-tokens.d.mts +77 -0
  645. package/resources/oauth-tokens.d.mts.map +1 -0
  646. package/resources/oauth-tokens.d.ts +4 -3
  647. package/resources/oauth-tokens.d.ts.map +1 -1
  648. package/resources/oauth-tokens.js +1 -1
  649. package/resources/oauth-tokens.js.map +1 -1
  650. package/resources/oauth-tokens.mjs +1 -1
  651. package/resources/oauth-tokens.mjs.map +1 -1
  652. package/resources/pending-transactions.d.mts +1185 -0
  653. package/resources/pending-transactions.d.mts.map +1 -0
  654. package/resources/pending-transactions.d.ts +17 -15
  655. package/resources/pending-transactions.d.ts.map +1 -1
  656. package/resources/pending-transactions.js +24 -19
  657. package/resources/pending-transactions.js.map +1 -1
  658. package/resources/pending-transactions.mjs +23 -17
  659. package/resources/pending-transactions.mjs.map +1 -1
  660. package/resources/physical-card-profiles.d.mts +268 -0
  661. package/resources/physical-card-profiles.d.mts.map +1 -0
  662. package/resources/physical-card-profiles.d.ts +11 -12
  663. package/resources/physical-card-profiles.d.ts.map +1 -1
  664. package/resources/physical-card-profiles.js +25 -18
  665. package/resources/physical-card-profiles.js.map +1 -1
  666. package/resources/physical-card-profiles.mjs +24 -16
  667. package/resources/physical-card-profiles.mjs.map +1 -1
  668. package/resources/physical-cards.d.mts +455 -0
  669. package/resources/physical-cards.d.mts.map +1 -0
  670. package/resources/physical-cards.d.ts +10 -11
  671. package/resources/physical-cards.d.ts.map +1 -1
  672. package/resources/physical-cards.js +20 -16
  673. package/resources/physical-cards.js.map +1 -1
  674. package/resources/physical-cards.mjs +19 -14
  675. package/resources/physical-cards.mjs.map +1 -1
  676. package/resources/programs.d.mts +89 -0
  677. package/resources/programs.d.mts.map +1 -0
  678. package/resources/programs.d.ts +8 -9
  679. package/resources/programs.d.ts.map +1 -1
  680. package/resources/programs.js +18 -14
  681. package/resources/programs.js.map +1 -1
  682. package/resources/programs.mjs +17 -12
  683. package/resources/programs.mjs.map +1 -1
  684. package/resources/real-time-decisions.d.mts +1733 -0
  685. package/resources/real-time-decisions.d.mts.map +1 -0
  686. package/resources/real-time-decisions.d.ts +791 -189
  687. package/resources/real-time-decisions.d.ts.map +1 -1
  688. package/resources/real-time-decisions.js +6 -5
  689. package/resources/real-time-decisions.js.map +1 -1
  690. package/resources/real-time-decisions.mjs +6 -5
  691. package/resources/real-time-decisions.mjs.map +1 -1
  692. package/resources/real-time-payments-transfers.d.mts +504 -0
  693. package/resources/real-time-payments-transfers.d.mts.map +1 -0
  694. package/resources/real-time-payments-transfers.d.ts +11 -12
  695. package/resources/real-time-payments-transfers.d.ts.map +1 -1
  696. package/resources/real-time-payments-transfers.js +22 -18
  697. package/resources/real-time-payments-transfers.js.map +1 -1
  698. package/resources/real-time-payments-transfers.mjs +21 -16
  699. package/resources/real-time-payments-transfers.mjs.map +1 -1
  700. package/resources/routing-numbers.d.mts +79 -0
  701. package/resources/routing-numbers.d.mts.map +1 -0
  702. package/resources/routing-numbers.d.ts +6 -7
  703. package/resources/routing-numbers.d.ts.map +1 -1
  704. package/resources/routing-numbers.js +7 -8
  705. package/resources/routing-numbers.js.map +1 -1
  706. package/resources/routing-numbers.mjs +6 -6
  707. package/resources/routing-numbers.mjs.map +1 -1
  708. package/resources/simulations/account-statements.d.mts +29 -0
  709. package/resources/simulations/account-statements.d.mts.map +1 -0
  710. package/resources/simulations/account-statements.d.ts +4 -3
  711. package/resources/simulations/account-statements.d.ts.map +1 -1
  712. package/resources/simulations/account-statements.js +1 -1
  713. package/resources/simulations/account-statements.js.map +1 -1
  714. package/resources/simulations/account-statements.mjs +1 -1
  715. package/resources/simulations/account-statements.mjs.map +1 -1
  716. package/resources/simulations/account-transfers.d.mts +22 -0
  717. package/resources/simulations/account-transfers.d.mts.map +1 -0
  718. package/resources/simulations/account-transfers.d.ts +4 -3
  719. package/resources/simulations/account-transfers.d.ts.map +1 -1
  720. package/resources/simulations/account-transfers.js +4 -3
  721. package/resources/simulations/account-transfers.js.map +1 -1
  722. package/resources/simulations/account-transfers.mjs +4 -3
  723. package/resources/simulations/account-transfers.mjs.map +1 -1
  724. package/resources/simulations/ach-transfers.d.mts +307 -0
  725. package/resources/simulations/ach-transfers.d.mts.map +1 -0
  726. package/resources/simulations/ach-transfers.d.ts +8 -7
  727. package/resources/simulations/ach-transfers.d.ts.map +1 -1
  728. package/resources/simulations/ach-transfers.js +12 -14
  729. package/resources/simulations/ach-transfers.js.map +1 -1
  730. package/resources/simulations/ach-transfers.mjs +12 -14
  731. package/resources/simulations/ach-transfers.mjs.map +1 -1
  732. package/resources/simulations/card-authorization-expirations.d.mts +30 -0
  733. package/resources/simulations/card-authorization-expirations.d.mts.map +1 -0
  734. package/resources/simulations/card-authorization-expirations.d.ts +4 -3
  735. package/resources/simulations/card-authorization-expirations.d.ts.map +1 -1
  736. package/resources/simulations/card-authorization-expirations.js +1 -1
  737. package/resources/simulations/card-authorization-expirations.js.map +1 -1
  738. package/resources/simulations/card-authorization-expirations.mjs +1 -1
  739. package/resources/simulations/card-authorization-expirations.mjs.map +1 -1
  740. package/resources/simulations/card-authorizations.d.mts +246 -0
  741. package/resources/simulations/card-authorizations.d.mts.map +1 -0
  742. package/resources/simulations/card-authorizations.d.ts +7 -4
  743. package/resources/simulations/card-authorizations.d.ts.map +1 -1
  744. package/resources/simulations/card-authorizations.js +1 -1
  745. package/resources/simulations/card-authorizations.js.map +1 -1
  746. package/resources/simulations/card-authorizations.mjs +1 -1
  747. package/resources/simulations/card-authorizations.mjs.map +1 -1
  748. package/resources/simulations/card-balance-inquiries.d.mts +160 -0
  749. package/resources/simulations/card-balance-inquiries.d.mts.map +1 -0
  750. package/resources/simulations/card-balance-inquiries.d.ts +160 -0
  751. package/resources/simulations/card-balance-inquiries.d.ts.map +1 -0
  752. package/resources/simulations/card-balance-inquiries.js +21 -0
  753. package/resources/simulations/card-balance-inquiries.js.map +1 -0
  754. package/resources/simulations/card-balance-inquiries.mjs +17 -0
  755. package/resources/simulations/card-balance-inquiries.mjs.map +1 -0
  756. package/resources/simulations/card-disputes.d.mts +192 -0
  757. package/resources/simulations/card-disputes.d.mts.map +1 -0
  758. package/resources/simulations/card-disputes.d.ts +4 -3
  759. package/resources/simulations/card-disputes.d.ts.map +1 -1
  760. package/resources/simulations/card-disputes.js +4 -3
  761. package/resources/simulations/card-disputes.js.map +1 -1
  762. package/resources/simulations/card-disputes.mjs +4 -3
  763. package/resources/simulations/card-disputes.mjs.map +1 -1
  764. package/resources/simulations/card-fuel-confirmations.d.mts +36 -0
  765. package/resources/simulations/card-fuel-confirmations.d.mts.map +1 -0
  766. package/resources/simulations/card-fuel-confirmations.d.ts +4 -3
  767. package/resources/simulations/card-fuel-confirmations.d.ts.map +1 -1
  768. package/resources/simulations/card-fuel-confirmations.js +1 -1
  769. package/resources/simulations/card-fuel-confirmations.js.map +1 -1
  770. package/resources/simulations/card-fuel-confirmations.mjs +1 -1
  771. package/resources/simulations/card-fuel-confirmations.mjs.map +1 -1
  772. package/resources/simulations/card-increments.d.mts +41 -0
  773. package/resources/simulations/card-increments.d.mts.map +1 -0
  774. package/resources/simulations/card-increments.d.ts +4 -3
  775. package/resources/simulations/card-increments.d.ts.map +1 -1
  776. package/resources/simulations/card-increments.js +1 -1
  777. package/resources/simulations/card-increments.js.map +1 -1
  778. package/resources/simulations/card-increments.mjs +1 -1
  779. package/resources/simulations/card-increments.mjs.map +1 -1
  780. package/resources/simulations/card-refunds.d.mts +39 -0
  781. package/resources/simulations/card-refunds.d.mts.map +1 -0
  782. package/resources/simulations/card-refunds.d.ts +4 -3
  783. package/resources/simulations/card-refunds.d.ts.map +1 -1
  784. package/resources/simulations/card-refunds.js +1 -1
  785. package/resources/simulations/card-refunds.js.map +1 -1
  786. package/resources/simulations/card-refunds.mjs +1 -1
  787. package/resources/simulations/card-refunds.mjs.map +1 -1
  788. package/resources/simulations/card-reversals.d.mts +36 -0
  789. package/resources/simulations/card-reversals.d.mts.map +1 -0
  790. package/resources/simulations/card-reversals.d.ts +4 -3
  791. package/resources/simulations/card-reversals.d.ts.map +1 -1
  792. package/resources/simulations/card-reversals.js +1 -1
  793. package/resources/simulations/card-reversals.js.map +1 -1
  794. package/resources/simulations/card-reversals.mjs +1 -1
  795. package/resources/simulations/card-reversals.mjs.map +1 -1
  796. package/resources/simulations/card-settlements.d.mts +44 -0
  797. package/resources/simulations/card-settlements.d.mts.map +1 -0
  798. package/resources/simulations/card-settlements.d.ts +4 -3
  799. package/resources/simulations/card-settlements.d.ts.map +1 -1
  800. package/resources/simulations/card-settlements.js +1 -1
  801. package/resources/simulations/card-settlements.js.map +1 -1
  802. package/resources/simulations/card-settlements.mjs +1 -1
  803. package/resources/simulations/card-settlements.mjs.map +1 -1
  804. package/resources/simulations/card-tokens.d.mts +67 -0
  805. package/resources/simulations/card-tokens.d.mts.map +1 -0
  806. package/resources/simulations/card-tokens.d.ts +4 -3
  807. package/resources/simulations/card-tokens.d.ts.map +1 -1
  808. package/resources/simulations/card-tokens.js +1 -1
  809. package/resources/simulations/card-tokens.js.map +1 -1
  810. package/resources/simulations/card-tokens.mjs +1 -1
  811. package/resources/simulations/card-tokens.mjs.map +1 -1
  812. package/resources/simulations/check-deposits.d.mts +47 -0
  813. package/resources/simulations/check-deposits.d.mts.map +1 -0
  814. package/resources/simulations/check-deposits.d.ts +6 -5
  815. package/resources/simulations/check-deposits.d.ts.map +1 -1
  816. package/resources/simulations/check-deposits.js +8 -7
  817. package/resources/simulations/check-deposits.js.map +1 -1
  818. package/resources/simulations/check-deposits.mjs +8 -7
  819. package/resources/simulations/check-deposits.mjs.map +1 -1
  820. package/resources/simulations/check-transfers.d.mts +22 -0
  821. package/resources/simulations/check-transfers.d.mts.map +1 -0
  822. package/resources/simulations/check-transfers.d.ts +4 -3
  823. package/resources/simulations/check-transfers.d.ts.map +1 -1
  824. package/resources/simulations/check-transfers.js +4 -3
  825. package/resources/simulations/check-transfers.js.map +1 -1
  826. package/resources/simulations/check-transfers.mjs +4 -3
  827. package/resources/simulations/check-transfers.mjs.map +1 -1
  828. package/resources/simulations/digital-wallet-token-requests.d.mts +55 -0
  829. package/resources/simulations/digital-wallet-token-requests.d.mts.map +1 -0
  830. package/resources/simulations/digital-wallet-token-requests.d.ts +4 -3
  831. package/resources/simulations/digital-wallet-token-requests.d.ts.map +1 -1
  832. package/resources/simulations/digital-wallet-token-requests.js +1 -1
  833. package/resources/simulations/digital-wallet-token-requests.js.map +1 -1
  834. package/resources/simulations/digital-wallet-token-requests.mjs +1 -1
  835. package/resources/simulations/digital-wallet-token-requests.mjs.map +1 -1
  836. package/resources/simulations/documents.d.mts +27 -0
  837. package/resources/simulations/documents.d.mts.map +1 -0
  838. package/resources/simulations/documents.d.ts +4 -3
  839. package/resources/simulations/documents.d.ts.map +1 -1
  840. package/resources/simulations/documents.js +1 -1
  841. package/resources/simulations/documents.js.map +1 -1
  842. package/resources/simulations/documents.mjs +1 -1
  843. package/resources/simulations/documents.mjs.map +1 -1
  844. package/resources/simulations/inbound-ach-transfers.d.mts +140 -0
  845. package/resources/simulations/inbound-ach-transfers.d.mts.map +1 -0
  846. package/resources/simulations/inbound-ach-transfers.d.ts +4 -3
  847. package/resources/simulations/inbound-ach-transfers.d.ts.map +1 -1
  848. package/resources/simulations/inbound-ach-transfers.js +1 -1
  849. package/resources/simulations/inbound-ach-transfers.js.map +1 -1
  850. package/resources/simulations/inbound-ach-transfers.mjs +1 -1
  851. package/resources/simulations/inbound-ach-transfers.mjs.map +1 -1
  852. package/resources/simulations/inbound-check-deposits.d.mts +56 -0
  853. package/resources/simulations/inbound-check-deposits.d.mts.map +1 -0
  854. package/resources/simulations/inbound-check-deposits.d.ts +4 -3
  855. package/resources/simulations/inbound-check-deposits.d.ts.map +1 -1
  856. package/resources/simulations/inbound-check-deposits.js +1 -1
  857. package/resources/simulations/inbound-check-deposits.js.map +1 -1
  858. package/resources/simulations/inbound-check-deposits.mjs +1 -1
  859. package/resources/simulations/inbound-check-deposits.mjs.map +1 -1
  860. package/resources/simulations/inbound-fednow-transfers.d.mts +51 -0
  861. package/resources/simulations/inbound-fednow-transfers.d.mts.map +1 -0
  862. package/resources/simulations/inbound-fednow-transfers.d.ts +4 -3
  863. package/resources/simulations/inbound-fednow-transfers.d.ts.map +1 -1
  864. package/resources/simulations/inbound-fednow-transfers.js +1 -1
  865. package/resources/simulations/inbound-fednow-transfers.js.map +1 -1
  866. package/resources/simulations/inbound-fednow-transfers.mjs +1 -1
  867. package/resources/simulations/inbound-fednow-transfers.mjs.map +1 -1
  868. package/resources/simulations/inbound-mail-items.d.mts +39 -0
  869. package/resources/simulations/inbound-mail-items.d.mts.map +1 -0
  870. package/resources/simulations/inbound-mail-items.d.ts +4 -3
  871. package/resources/simulations/inbound-mail-items.d.ts.map +1 -1
  872. package/resources/simulations/inbound-mail-items.js +1 -1
  873. package/resources/simulations/inbound-mail-items.js.map +1 -1
  874. package/resources/simulations/inbound-mail-items.mjs +1 -1
  875. package/resources/simulations/inbound-mail-items.mjs.map +1 -1
  876. package/resources/simulations/inbound-real-time-payments-transfers.d.mts +59 -0
  877. package/resources/simulations/inbound-real-time-payments-transfers.d.mts.map +1 -0
  878. package/resources/simulations/inbound-real-time-payments-transfers.d.ts +4 -3
  879. package/resources/simulations/inbound-real-time-payments-transfers.d.ts.map +1 -1
  880. package/resources/simulations/inbound-real-time-payments-transfers.js +1 -1
  881. package/resources/simulations/inbound-real-time-payments-transfers.js.map +1 -1
  882. package/resources/simulations/inbound-real-time-payments-transfers.mjs +1 -1
  883. package/resources/simulations/inbound-real-time-payments-transfers.mjs.map +1 -1
  884. package/resources/simulations/inbound-wire-drawdown-requests.d.mts +117 -0
  885. package/resources/simulations/inbound-wire-drawdown-requests.d.mts.map +1 -0
  886. package/resources/simulations/inbound-wire-drawdown-requests.d.ts +4 -3
  887. package/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +1 -1
  888. package/resources/simulations/inbound-wire-drawdown-requests.js +1 -1
  889. package/resources/simulations/inbound-wire-drawdown-requests.js.map +1 -1
  890. package/resources/simulations/inbound-wire-drawdown-requests.mjs +1 -1
  891. package/resources/simulations/inbound-wire-drawdown-requests.mjs.map +1 -1
  892. package/resources/simulations/inbound-wire-transfers.d.mts +104 -0
  893. package/resources/simulations/inbound-wire-transfers.d.mts.map +1 -0
  894. package/resources/simulations/inbound-wire-transfers.d.ts +4 -3
  895. package/resources/simulations/inbound-wire-transfers.d.ts.map +1 -1
  896. package/resources/simulations/inbound-wire-transfers.js +1 -1
  897. package/resources/simulations/inbound-wire-transfers.js.map +1 -1
  898. package/resources/simulations/inbound-wire-transfers.mjs +1 -1
  899. package/resources/simulations/inbound-wire-transfers.mjs.map +1 -1
  900. package/resources/simulations/index.d.mts +33 -0
  901. package/resources/simulations/index.d.mts.map +1 -0
  902. package/resources/simulations/index.d.ts +1 -0
  903. package/resources/simulations/index.d.ts.map +1 -1
  904. package/resources/simulations/index.js +3 -1
  905. package/resources/simulations/index.js.map +1 -1
  906. package/resources/simulations/index.mjs +1 -0
  907. package/resources/simulations/index.mjs.map +1 -1
  908. package/resources/simulations/interest-payments.d.mts +46 -0
  909. package/resources/simulations/interest-payments.d.mts.map +1 -0
  910. package/resources/simulations/interest-payments.d.ts +4 -3
  911. package/resources/simulations/interest-payments.d.ts.map +1 -1
  912. package/resources/simulations/interest-payments.js +1 -1
  913. package/resources/simulations/interest-payments.js.map +1 -1
  914. package/resources/simulations/interest-payments.mjs +1 -1
  915. package/resources/simulations/interest-payments.mjs.map +1 -1
  916. package/resources/simulations/pending-transactions.d.mts +20 -0
  917. package/resources/simulations/pending-transactions.d.mts.map +1 -0
  918. package/resources/simulations/pending-transactions.d.ts +4 -3
  919. package/resources/simulations/pending-transactions.d.ts.map +1 -1
  920. package/resources/simulations/pending-transactions.js +4 -3
  921. package/resources/simulations/pending-transactions.js.map +1 -1
  922. package/resources/simulations/pending-transactions.mjs +4 -3
  923. package/resources/simulations/pending-transactions.mjs.map +1 -1
  924. package/resources/simulations/physical-cards.d.mts +88 -0
  925. package/resources/simulations/physical-cards.d.mts.map +1 -0
  926. package/resources/simulations/physical-cards.d.ts +5 -4
  927. package/resources/simulations/physical-cards.d.ts.map +1 -1
  928. package/resources/simulations/physical-cards.js +6 -5
  929. package/resources/simulations/physical-cards.js.map +1 -1
  930. package/resources/simulations/physical-cards.mjs +6 -5
  931. package/resources/simulations/physical-cards.mjs.map +1 -1
  932. package/resources/simulations/programs.d.mts +46 -0
  933. package/resources/simulations/programs.d.mts.map +1 -0
  934. package/resources/simulations/programs.d.ts +4 -3
  935. package/resources/simulations/programs.d.ts.map +1 -1
  936. package/resources/simulations/programs.js +1 -1
  937. package/resources/simulations/programs.js.map +1 -1
  938. package/resources/simulations/programs.mjs +1 -1
  939. package/resources/simulations/programs.mjs.map +1 -1
  940. package/resources/simulations/real-time-payments-transfers.d.mts +91 -0
  941. package/resources/simulations/real-time-payments-transfers.d.mts.map +1 -0
  942. package/resources/simulations/real-time-payments-transfers.d.ts +4 -3
  943. package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
  944. package/resources/simulations/real-time-payments-transfers.js +4 -3
  945. package/resources/simulations/real-time-payments-transfers.js.map +1 -1
  946. package/resources/simulations/real-time-payments-transfers.mjs +4 -3
  947. package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
  948. package/resources/simulations/simulations.d.mts +130 -0
  949. package/resources/simulations/simulations.d.mts.map +1 -0
  950. package/resources/simulations/simulations.d.ts +5 -1
  951. package/resources/simulations/simulations.d.ts.map +1 -1
  952. package/resources/simulations/simulations.js +36 -54
  953. package/resources/simulations/simulations.js.map +1 -1
  954. package/resources/simulations/simulations.mjs +5 -1
  955. package/resources/simulations/simulations.mjs.map +1 -1
  956. package/resources/simulations/wire-drawdown-requests.d.mts +31 -0
  957. package/resources/simulations/wire-drawdown-requests.d.mts.map +1 -0
  958. package/resources/simulations/wire-drawdown-requests.d.ts +5 -4
  959. package/resources/simulations/wire-drawdown-requests.d.ts.map +1 -1
  960. package/resources/simulations/wire-drawdown-requests.js +6 -5
  961. package/resources/simulations/wire-drawdown-requests.js.map +1 -1
  962. package/resources/simulations/wire-drawdown-requests.mjs +6 -5
  963. package/resources/simulations/wire-drawdown-requests.mjs.map +1 -1
  964. package/resources/simulations/wire-transfers.d.mts +36 -0
  965. package/resources/simulations/wire-transfers.d.mts.map +1 -0
  966. package/resources/simulations/wire-transfers.d.ts +5 -4
  967. package/resources/simulations/wire-transfers.d.ts.map +1 -1
  968. package/resources/simulations/wire-transfers.js +6 -5
  969. package/resources/simulations/wire-transfers.js.map +1 -1
  970. package/resources/simulations/wire-transfers.mjs +6 -5
  971. package/resources/simulations/wire-transfers.mjs.map +1 -1
  972. package/resources/simulations.d.mts +2 -0
  973. package/resources/simulations.d.mts.map +1 -0
  974. package/resources/simulations.d.ts.map +1 -1
  975. package/resources/simulations.js +2 -15
  976. package/resources/simulations.js.map +1 -1
  977. package/resources/supplemental-documents.d.mts +92 -0
  978. package/resources/supplemental-documents.d.mts.map +1 -0
  979. package/resources/supplemental-documents.d.ts +8 -8
  980. package/resources/supplemental-documents.d.ts.map +1 -1
  981. package/resources/supplemental-documents.js +4 -8
  982. package/resources/supplemental-documents.js.map +1 -1
  983. package/resources/supplemental-documents.mjs +3 -6
  984. package/resources/supplemental-documents.mjs.map +1 -1
  985. package/resources/transactions.d.mts +3485 -0
  986. package/resources/transactions.d.mts.map +1 -0
  987. package/resources/transactions.d.ts +11 -10
  988. package/resources/transactions.d.ts.map +1 -1
  989. package/resources/transactions.js +18 -14
  990. package/resources/transactions.js.map +1 -1
  991. package/resources/transactions.mjs +17 -12
  992. package/resources/transactions.mjs.map +1 -1
  993. package/resources/wire-drawdown-requests.d.mts +362 -0
  994. package/resources/wire-drawdown-requests.d.mts.map +1 -0
  995. package/resources/wire-drawdown-requests.d.ts +9 -10
  996. package/resources/wire-drawdown-requests.d.ts.map +1 -1
  997. package/resources/wire-drawdown-requests.js +18 -14
  998. package/resources/wire-drawdown-requests.js.map +1 -1
  999. package/resources/wire-drawdown-requests.mjs +17 -12
  1000. package/resources/wire-drawdown-requests.mjs.map +1 -1
  1001. package/resources/wire-transfers.d.mts +751 -0
  1002. package/resources/wire-transfers.d.mts.map +1 -0
  1003. package/resources/wire-transfers.d.ts +11 -12
  1004. package/resources/wire-transfers.d.ts.map +1 -1
  1005. package/resources/wire-transfers.js +22 -18
  1006. package/resources/wire-transfers.js.map +1 -1
  1007. package/resources/wire-transfers.mjs +21 -16
  1008. package/resources/wire-transfers.mjs.map +1 -1
  1009. package/resources.d.mts +2 -0
  1010. package/resources.d.mts.map +1 -0
  1011. package/resources.d.ts.map +1 -1
  1012. package/resources.js +2 -15
  1013. package/resources.js.map +1 -1
  1014. package/src/api-promise.ts +2 -0
  1015. package/src/client.ts +1692 -0
  1016. package/src/core/README.md +3 -0
  1017. package/src/core/api-promise.ts +92 -0
  1018. package/src/core/error.ts +443 -0
  1019. package/src/core/pagination.ts +165 -0
  1020. package/src/core/resource.ts +11 -0
  1021. package/src/core/uploads.ts +2 -0
  1022. package/src/error.ts +2 -443
  1023. package/src/index.ts +6 -1199
  1024. package/src/internal/README.md +3 -0
  1025. package/src/internal/builtin-types.ts +93 -0
  1026. package/src/internal/detect-platform.ts +196 -0
  1027. package/src/internal/errors.ts +33 -0
  1028. package/src/internal/headers.ts +97 -0
  1029. package/src/internal/parse.ts +50 -0
  1030. package/src/internal/qs/formats.ts +2 -1
  1031. package/src/internal/qs/stringify.ts +17 -20
  1032. package/src/internal/qs/utils.ts +14 -14
  1033. package/src/internal/request-options.ts +91 -0
  1034. package/src/internal/shim-types.ts +26 -0
  1035. package/src/internal/shims.ts +107 -0
  1036. package/src/internal/to-file.ts +154 -0
  1037. package/src/internal/types.ts +95 -0
  1038. package/src/internal/uploads.ts +187 -0
  1039. package/src/internal/utils/base64.ts +40 -0
  1040. package/src/internal/utils/bytes.ts +32 -0
  1041. package/src/internal/utils/env.ts +18 -0
  1042. package/src/internal/utils/log.ts +126 -0
  1043. package/src/internal/utils/path.ts +88 -0
  1044. package/src/internal/utils/sleep.ts +3 -0
  1045. package/src/internal/utils/uuid.ts +17 -0
  1046. package/src/internal/utils/values.ts +105 -0
  1047. package/src/internal/utils.ts +8 -0
  1048. package/src/pagination.ts +2 -68
  1049. package/src/resource.ts +2 -11
  1050. package/src/resources/account-numbers.ts +18 -27
  1051. package/src/resources/account-statements.ts +13 -22
  1052. package/src/resources/account-transfers.ts +18 -27
  1053. package/src/resources/accounts.ts +23 -42
  1054. package/src/resources/ach-prenotifications.ts +14 -26
  1055. package/src/resources/ach-transfers.ts +18 -27
  1056. package/src/resources/bookkeeping-accounts.ts +24 -45
  1057. package/src/resources/bookkeeping-entries.ts +13 -22
  1058. package/src/resources/bookkeeping-entry-sets.ts +14 -29
  1059. package/src/resources/card-disputes.ts +23 -29
  1060. package/src/resources/card-payments.ts +900 -257
  1061. package/src/resources/card-purchase-supplements.ts +13 -25
  1062. package/src/resources/card-push-transfers.ts +18 -30
  1063. package/src/resources/card-tokens.ts +15 -24
  1064. package/src/resources/card-validations.ts +14 -23
  1065. package/src/resources/cards.ts +24 -34
  1066. package/src/resources/check-deposits.ts +14 -23
  1067. package/src/resources/check-transfers.ts +22 -31
  1068. package/src/resources/declined-transactions.ts +19 -25
  1069. package/src/resources/digital-card-profiles.ts +23 -32
  1070. package/src/resources/digital-wallet-tokens.ts +13 -22
  1071. package/src/resources/documents.ts +14 -20
  1072. package/src/resources/entities.ts +66 -53
  1073. package/src/resources/event-subscriptions.ts +24 -30
  1074. package/src/resources/events.ts +17 -19
  1075. package/src/resources/exports.ts +14 -20
  1076. package/src/resources/external-accounts.ts +18 -27
  1077. package/src/resources/fednow-transfers.ts +18 -27
  1078. package/src/resources/file-links.ts +4 -3
  1079. package/src/resources/files.ts +18 -22
  1080. package/src/resources/groups.ts +4 -3
  1081. package/src/resources/inbound-ach-transfers.ts +31 -37
  1082. package/src/resources/inbound-check-deposits.ts +22 -34
  1083. package/src/resources/inbound-fednow-transfers.ts +13 -25
  1084. package/src/resources/inbound-mail-items.ts +17 -26
  1085. package/src/resources/inbound-real-time-payments-transfers.ts +15 -26
  1086. package/src/resources/inbound-wire-drawdown-requests.ts +15 -26
  1087. package/src/resources/inbound-wire-transfers.ts +17 -29
  1088. package/src/resources/index.ts +68 -58
  1089. package/src/resources/intrafi-account-enrollments.ts +24 -32
  1090. package/src/resources/intrafi-balances.ts +6 -4
  1091. package/src/resources/intrafi-exclusions.ts +16 -28
  1092. package/src/resources/lockboxes.ts +16 -26
  1093. package/src/resources/oauth-applications.ts +13 -22
  1094. package/src/resources/oauth-connections.ts +13 -22
  1095. package/src/resources/oauth-tokens.ts +4 -3
  1096. package/src/resources/pending-transactions.ts +23 -31
  1097. package/src/resources/physical-card-profiles.ts +23 -38
  1098. package/src/resources/physical-cards.ts +18 -27
  1099. package/src/resources/programs.ts +13 -19
  1100. package/src/resources/real-time-decisions.ts +903 -185
  1101. package/src/resources/real-time-payments-transfers.ts +29 -37
  1102. package/src/resources/routing-numbers.ts +11 -10
  1103. package/src/resources/simulations/account-statements.ts +5 -4
  1104. package/src/resources/simulations/account-transfers.ts +8 -6
  1105. package/src/resources/simulations/ach-transfers.ts +23 -24
  1106. package/src/resources/simulations/card-authorization-expirations.ts +5 -4
  1107. package/src/resources/simulations/card-authorizations.ts +9 -5
  1108. package/src/resources/simulations/card-balance-inquiries.ts +212 -0
  1109. package/src/resources/simulations/card-disputes.ts +8 -6
  1110. package/src/resources/simulations/card-fuel-confirmations.ts +5 -4
  1111. package/src/resources/simulations/card-increments.ts +4 -6
  1112. package/src/resources/simulations/card-refunds.ts +4 -6
  1113. package/src/resources/simulations/card-reversals.ts +4 -6
  1114. package/src/resources/simulations/card-settlements.ts +5 -4
  1115. package/src/resources/simulations/card-tokens.ts +4 -6
  1116. package/src/resources/simulations/check-deposits.ts +10 -17
  1117. package/src/resources/simulations/check-transfers.ts +6 -7
  1118. package/src/resources/simulations/digital-wallet-token-requests.ts +5 -4
  1119. package/src/resources/simulations/documents.ts +4 -3
  1120. package/src/resources/simulations/inbound-ach-transfers.ts +5 -4
  1121. package/src/resources/simulations/inbound-check-deposits.ts +5 -4
  1122. package/src/resources/simulations/inbound-fednow-transfers.ts +5 -4
  1123. package/src/resources/simulations/inbound-mail-items.ts +5 -4
  1124. package/src/resources/simulations/inbound-real-time-payments-transfers.ts +5 -4
  1125. package/src/resources/simulations/inbound-wire-drawdown-requests.ts +5 -4
  1126. package/src/resources/simulations/inbound-wire-transfers.ts +5 -4
  1127. package/src/resources/simulations/index.ts +1 -0
  1128. package/src/resources/simulations/interest-payments.ts +5 -4
  1129. package/src/resources/simulations/pending-transactions.ts +8 -6
  1130. package/src/resources/simulations/physical-cards.ts +12 -10
  1131. package/src/resources/simulations/programs.ts +4 -3
  1132. package/src/resources/simulations/real-time-payments-transfers.ts +8 -6
  1133. package/src/resources/simulations/simulations.ts +11 -1
  1134. package/src/resources/simulations/wire-drawdown-requests.ts +18 -10
  1135. package/src/resources/simulations/wire-transfers.ts +8 -12
  1136. package/src/resources/supplemental-documents.ts +11 -12
  1137. package/src/resources/transactions.ts +16 -22
  1138. package/src/resources/wire-drawdown-requests.ts +14 -29
  1139. package/src/resources/wire-transfers.ts +18 -27
  1140. package/src/tsconfig.json +2 -2
  1141. package/src/uploads.ts +2 -255
  1142. package/src/version.ts +1 -1
  1143. package/uploads.d.mts +2 -0
  1144. package/uploads.d.mts.map +1 -0
  1145. package/uploads.d.ts +1 -74
  1146. package/uploads.d.ts.map +1 -1
  1147. package/uploads.js +3 -168
  1148. package/uploads.js.map +1 -1
  1149. package/uploads.mjs +1 -157
  1150. package/uploads.mjs.map +1 -1
  1151. package/version.d.mts +2 -0
  1152. package/version.d.mts.map +1 -0
  1153. package/version.d.ts +1 -1
  1154. package/version.js +1 -1
  1155. package/version.mjs +1 -1
  1156. package/_shims/MultipartBody.d.ts +0 -9
  1157. package/_shims/MultipartBody.d.ts.map +0 -1
  1158. package/_shims/MultipartBody.js +0 -16
  1159. package/_shims/MultipartBody.js.map +0 -1
  1160. package/_shims/MultipartBody.mjs +0 -12
  1161. package/_shims/MultipartBody.mjs.map +0 -1
  1162. package/_shims/README.md +0 -46
  1163. package/_shims/auto/runtime-bun.d.ts +0 -5
  1164. package/_shims/auto/runtime-bun.d.ts.map +0 -1
  1165. package/_shims/auto/runtime-bun.js +0 -21
  1166. package/_shims/auto/runtime-bun.js.map +0 -1
  1167. package/_shims/auto/runtime-bun.mjs +0 -2
  1168. package/_shims/auto/runtime-bun.mjs.map +0 -1
  1169. package/_shims/auto/runtime-node.d.ts +0 -5
  1170. package/_shims/auto/runtime-node.d.ts.map +0 -1
  1171. package/_shims/auto/runtime-node.js +0 -21
  1172. package/_shims/auto/runtime-node.js.map +0 -1
  1173. package/_shims/auto/runtime-node.mjs +0 -2
  1174. package/_shims/auto/runtime-node.mjs.map +0 -1
  1175. package/_shims/auto/runtime.d.ts +0 -5
  1176. package/_shims/auto/runtime.d.ts.map +0 -1
  1177. package/_shims/auto/runtime.js +0 -21
  1178. package/_shims/auto/runtime.js.map +0 -1
  1179. package/_shims/auto/runtime.mjs +0 -2
  1180. package/_shims/auto/runtime.mjs.map +0 -1
  1181. package/_shims/auto/types-node.d.ts +0 -5
  1182. package/_shims/auto/types-node.d.ts.map +0 -1
  1183. package/_shims/auto/types-node.js +0 -21
  1184. package/_shims/auto/types-node.js.map +0 -1
  1185. package/_shims/auto/types-node.mjs +0 -2
  1186. package/_shims/auto/types-node.mjs.map +0 -1
  1187. package/_shims/auto/types.d.ts +0 -101
  1188. package/_shims/auto/types.js +0 -3
  1189. package/_shims/auto/types.mjs +0 -3
  1190. package/_shims/bun-runtime.d.ts +0 -6
  1191. package/_shims/bun-runtime.d.ts.map +0 -1
  1192. package/_shims/bun-runtime.js +0 -14
  1193. package/_shims/bun-runtime.js.map +0 -1
  1194. package/_shims/bun-runtime.mjs +0 -10
  1195. package/_shims/bun-runtime.mjs.map +0 -1
  1196. package/_shims/index.d.ts +0 -83
  1197. package/_shims/index.js +0 -17
  1198. package/_shims/index.mjs +0 -11
  1199. package/_shims/manual-types.d.ts +0 -12
  1200. package/_shims/manual-types.js +0 -3
  1201. package/_shims/manual-types.mjs +0 -3
  1202. package/_shims/node-runtime.d.ts +0 -3
  1203. package/_shims/node-runtime.d.ts.map +0 -1
  1204. package/_shims/node-runtime.js +0 -89
  1205. package/_shims/node-runtime.js.map +0 -1
  1206. package/_shims/node-runtime.mjs +0 -56
  1207. package/_shims/node-runtime.mjs.map +0 -1
  1208. package/_shims/node-types.d.ts +0 -42
  1209. package/_shims/node-types.js +0 -3
  1210. package/_shims/node-types.mjs +0 -3
  1211. package/_shims/registry.d.ts +0 -37
  1212. package/_shims/registry.d.ts.map +0 -1
  1213. package/_shims/registry.js +0 -41
  1214. package/_shims/registry.js.map +0 -1
  1215. package/_shims/registry.mjs +0 -37
  1216. package/_shims/registry.mjs.map +0 -1
  1217. package/_shims/web-runtime.d.ts +0 -5
  1218. package/_shims/web-runtime.d.ts.map +0 -1
  1219. package/_shims/web-runtime.js +0 -78
  1220. package/_shims/web-runtime.js.map +0 -1
  1221. package/_shims/web-runtime.mjs +0 -71
  1222. package/_shims/web-runtime.mjs.map +0 -1
  1223. package/_shims/web-types.d.ts +0 -83
  1224. package/_shims/web-types.js +0 -3
  1225. package/_shims/web-types.mjs +0 -3
  1226. package/core.d.ts +0 -255
  1227. package/core.d.ts.map +0 -1
  1228. package/core.js +0 -924
  1229. package/core.js.map +0 -1
  1230. package/core.mjs +0 -892
  1231. package/core.mjs.map +0 -1
  1232. package/resources/webhooks.d.ts +0 -22
  1233. package/resources/webhooks.d.ts.map +0 -1
  1234. package/resources/webhooks.js +0 -82
  1235. package/resources/webhooks.js.map +0 -1
  1236. package/resources/webhooks.mjs +0 -78
  1237. package/resources/webhooks.mjs.map +0 -1
  1238. package/shims/node.d.ts +0 -30
  1239. package/shims/node.d.ts.map +0 -1
  1240. package/shims/node.js +0 -31
  1241. package/shims/node.js.map +0 -1
  1242. package/shims/node.mjs +0 -5
  1243. package/shims/node.mjs.map +0 -1
  1244. package/shims/web.d.ts +0 -26
  1245. package/shims/web.d.ts.map +0 -1
  1246. package/shims/web.js +0 -31
  1247. package/shims/web.js.map +0 -1
  1248. package/shims/web.mjs +0 -5
  1249. package/shims/web.mjs.map +0 -1
  1250. package/src/_shims/MultipartBody.ts +0 -9
  1251. package/src/_shims/README.md +0 -46
  1252. package/src/_shims/auto/runtime-bun.ts +0 -4
  1253. package/src/_shims/auto/runtime-node.ts +0 -4
  1254. package/src/_shims/auto/runtime.ts +0 -4
  1255. package/src/_shims/auto/types-node.ts +0 -4
  1256. package/src/_shims/auto/types.d.ts +0 -101
  1257. package/src/_shims/auto/types.js +0 -3
  1258. package/src/_shims/auto/types.mjs +0 -3
  1259. package/src/_shims/bun-runtime.ts +0 -14
  1260. package/src/_shims/index.d.ts +0 -83
  1261. package/src/_shims/index.js +0 -17
  1262. package/src/_shims/index.mjs +0 -11
  1263. package/src/_shims/manual-types.d.ts +0 -12
  1264. package/src/_shims/manual-types.js +0 -3
  1265. package/src/_shims/manual-types.mjs +0 -3
  1266. package/src/_shims/node-runtime.ts +0 -81
  1267. package/src/_shims/node-types.d.ts +0 -42
  1268. package/src/_shims/node-types.js +0 -3
  1269. package/src/_shims/node-types.mjs +0 -3
  1270. package/src/_shims/registry.ts +0 -67
  1271. package/src/_shims/web-runtime.ts +0 -103
  1272. package/src/_shims/web-types.d.ts +0 -83
  1273. package/src/_shims/web-types.js +0 -3
  1274. package/src/_shims/web-types.mjs +0 -3
  1275. package/src/core.ts +0 -1236
  1276. package/src/resources/webhooks.ts +0 -110
  1277. package/src/shims/node.ts +0 -50
  1278. package/src/shims/web.ts +0 -50
@@ -0,0 +1,3485 @@
1
+ import { APIResource } from "../core/resource.mjs";
2
+ import { APIPromise } from "../core/api-promise.mjs";
3
+ import { Page, type PageParams, PagePromise } from "../core/pagination.mjs";
4
+ import { RequestOptions } from "../internal/request-options.mjs";
5
+ export declare class Transactions extends APIResource {
6
+ /**
7
+ * Retrieve a Transaction
8
+ *
9
+ * @example
10
+ * ```ts
11
+ * const transaction = await client.transactions.retrieve(
12
+ * 'transaction_uyrp7fld2ium70oa7oi',
13
+ * );
14
+ * ```
15
+ */
16
+ retrieve(transactionID: string, options?: RequestOptions): APIPromise<Transaction>;
17
+ /**
18
+ * List Transactions
19
+ *
20
+ * @example
21
+ * ```ts
22
+ * // Automatically fetches more pages as needed.
23
+ * for await (const transaction of client.transactions.list()) {
24
+ * // ...
25
+ * }
26
+ * ```
27
+ */
28
+ list(query?: TransactionListParams | null | undefined, options?: RequestOptions): PagePromise<TransactionsPage, Transaction>;
29
+ }
30
+ export type TransactionsPage = Page<Transaction>;
31
+ /**
32
+ * Transactions are the immutable additions and removals of money from your bank
33
+ * account. They're the equivalent of line items on your bank statement. To learn
34
+ * more, see [Transactions and Transfers](/documentation/transactions-transfers).
35
+ */
36
+ export interface Transaction {
37
+ /**
38
+ * The Transaction identifier.
39
+ */
40
+ id: string;
41
+ /**
42
+ * The identifier for the Account the Transaction belongs to.
43
+ */
44
+ account_id: string;
45
+ /**
46
+ * The Transaction amount in the minor unit of its currency. For dollars, for
47
+ * example, this is cents.
48
+ */
49
+ amount: number;
50
+ /**
51
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the
52
+ * Transaction occurred.
53
+ */
54
+ created_at: string;
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 Transaction's
58
+ * Account.
59
+ *
60
+ * - `USD` - US Dollar (USD)
61
+ */
62
+ currency: 'USD';
63
+ /**
64
+ * An informational message describing this transaction. Use the fields in `source`
65
+ * to get more detailed information. This field appears as the line-item on the
66
+ * statement.
67
+ */
68
+ description: string;
69
+ /**
70
+ * The identifier for the route this Transaction came through. Routes are things
71
+ * like cards and ACH details.
72
+ */
73
+ route_id: string | null;
74
+ /**
75
+ * The type of the route this Transaction came through.
76
+ *
77
+ * - `account_number` - An Account Number.
78
+ * - `card` - A Card.
79
+ * - `lockbox` - A Lockbox.
80
+ */
81
+ route_type: 'account_number' | 'card' | 'lockbox' | null;
82
+ /**
83
+ * This is an object giving more details on the network-level event that caused the
84
+ * Transaction. Note that for backwards compatibility reasons, additional
85
+ * undocumented keys may appear in this object. These should be treated as
86
+ * deprecated and will be removed in the future.
87
+ */
88
+ source: Transaction.Source;
89
+ /**
90
+ * A constant representing the object's type. For this resource it will always be
91
+ * `transaction`.
92
+ */
93
+ type: 'transaction';
94
+ [k: string]: unknown;
95
+ }
96
+ export declare namespace Transaction {
97
+ /**
98
+ * This is an object giving more details on the network-level event that caused the
99
+ * Transaction. Note that for backwards compatibility reasons, additional
100
+ * undocumented keys may appear in this object. These should be treated as
101
+ * deprecated and will be removed in the future.
102
+ */
103
+ interface Source {
104
+ /**
105
+ * An Account Revenue Payment object. This field will be present in the JSON
106
+ * response if and only if `category` is equal to `account_revenue_payment`. An
107
+ * Account Revenue Payment represents a payment made to an account from the bank.
108
+ * Account revenue is a type of non-interest income.
109
+ */
110
+ account_revenue_payment: Source.AccountRevenuePayment | null;
111
+ /**
112
+ * An Account Transfer Intention object. This field will be present in the JSON
113
+ * response if and only if `category` is equal to `account_transfer_intention`. Two
114
+ * Account Transfer Intentions are created from each Account Transfer. One
115
+ * decrements the source account, and the other increments the destination account.
116
+ */
117
+ account_transfer_intention: Source.AccountTransferIntention | null;
118
+ /**
119
+ * An ACH Transfer Intention object. This field will be present in the JSON
120
+ * response if and only if `category` is equal to `ach_transfer_intention`. An ACH
121
+ * Transfer Intention is created from an ACH Transfer. It reflects the intention to
122
+ * move money into or out of an Increase account via the ACH network.
123
+ */
124
+ ach_transfer_intention: Source.ACHTransferIntention | null;
125
+ /**
126
+ * An ACH Transfer Rejection object. This field will be present in the JSON
127
+ * response if and only if `category` is equal to `ach_transfer_rejection`. An ACH
128
+ * Transfer Rejection is created when an ACH Transfer is rejected by Increase. It
129
+ * offsets the ACH Transfer Intention. These rejections are rare.
130
+ */
131
+ ach_transfer_rejection: Source.ACHTransferRejection | null;
132
+ /**
133
+ * An ACH Transfer Return object. This field will be present in the JSON response
134
+ * if and only if `category` is equal to `ach_transfer_return`. An ACH Transfer
135
+ * Return is created when an ACH Transfer is returned by the receiving bank. It
136
+ * offsets the ACH Transfer Intention. ACH Transfer Returns usually occur within
137
+ * the first two business days after the transfer is initiated, but can occur much
138
+ * later.
139
+ */
140
+ ach_transfer_return: Source.ACHTransferReturn | null;
141
+ /**
142
+ * A Legacy Card Dispute Acceptance object. This field will be present in the JSON
143
+ * response if and only if `category` is equal to `card_dispute_acceptance`.
144
+ * Contains the details of a successful Card Dispute.
145
+ */
146
+ card_dispute_acceptance: Source.CardDisputeAcceptance | null;
147
+ /**
148
+ * A Card Dispute Financial object. This field will be present in the JSON response
149
+ * if and only if `category` is equal to `card_dispute_financial`. Financial event
150
+ * related to a Card Dispute.
151
+ */
152
+ card_dispute_financial: Source.CardDisputeFinancial | null;
153
+ /**
154
+ * A Legacy Card Dispute Loss object. This field will be present in the JSON
155
+ * response if and only if `category` is equal to `card_dispute_loss`. Contains the
156
+ * details of a lost Card Dispute.
157
+ */
158
+ card_dispute_loss: Source.CardDisputeLoss | null;
159
+ /**
160
+ * A Card Financial object. This field will be present in the JSON response if and
161
+ * only if `category` is equal to `card_financial`. Card Financials are temporary
162
+ * holds placed on a customers funds with the intent to later clear a transaction.
163
+ */
164
+ card_financial: Source.CardFinancial | null;
165
+ /**
166
+ * A Card Push Transfer Acceptance object. This field will be present in the JSON
167
+ * response if and only if `category` is equal to `card_push_transfer_acceptance`.
168
+ * A Card Push Transfer Acceptance is created when an Outbound Card Push Transfer
169
+ * sent from Increase is accepted by the receiving bank.
170
+ */
171
+ card_push_transfer_acceptance: Source.CardPushTransferAcceptance | null;
172
+ /**
173
+ * A Card Refund object. This field will be present in the JSON response if and
174
+ * only if `category` is equal to `card_refund`. Card Refunds move money back to
175
+ * the cardholder. While they are usually connected to a Card Settlement an
176
+ * acquirer can also refund money directly to a card without relation to a
177
+ * transaction.
178
+ */
179
+ card_refund: Source.CardRefund | null;
180
+ /**
181
+ * A Card Revenue Payment object. This field will be present in the JSON response
182
+ * if and only if `category` is equal to `card_revenue_payment`. Card Revenue
183
+ * Payments reflect earnings from fees on card transactions.
184
+ */
185
+ card_revenue_payment: Source.CardRevenuePayment | null;
186
+ /**
187
+ * A Card Settlement object. This field will be present in the JSON response if and
188
+ * only if `category` is equal to `card_settlement`. Card Settlements are card
189
+ * transactions that have cleared and settled. While a settlement is usually
190
+ * preceded by an authorization, an acquirer can also directly clear a transaction
191
+ * without first authorizing it.
192
+ */
193
+ card_settlement: Source.CardSettlement | null;
194
+ /**
195
+ * A Cashback Payment object. This field will be present in the JSON response if
196
+ * and only if `category` is equal to `cashback_payment`. A Cashback Payment
197
+ * represents the cashback paid to a cardholder for a given period. Cashback is
198
+ * usually paid monthly for the prior month's transactions.
199
+ */
200
+ cashback_payment: Source.CashbackPayment | null;
201
+ /**
202
+ * The type of the resource. We may add additional possible values for this enum
203
+ * over time; your application should be able to handle such additions gracefully.
204
+ *
205
+ * - `account_transfer_intention` - Account Transfer Intention: details will be
206
+ * under the `account_transfer_intention` object.
207
+ * - `ach_transfer_intention` - ACH Transfer Intention: details will be under the
208
+ * `ach_transfer_intention` object.
209
+ * - `ach_transfer_rejection` - ACH Transfer Rejection: details will be under the
210
+ * `ach_transfer_rejection` object.
211
+ * - `ach_transfer_return` - ACH Transfer Return: details will be under the
212
+ * `ach_transfer_return` object.
213
+ * - `cashback_payment` - Cashback Payment: details will be under the
214
+ * `cashback_payment` object.
215
+ * - `card_dispute_acceptance` - Legacy Card Dispute Acceptance: details will be
216
+ * under the `card_dispute_acceptance` object.
217
+ * - `card_dispute_financial` - Card Dispute Financial: details will be under the
218
+ * `card_dispute_financial` object.
219
+ * - `card_dispute_loss` - Legacy Card Dispute Loss: details will be under the
220
+ * `card_dispute_loss` object.
221
+ * - `card_refund` - Card Refund: details will be under the `card_refund` object.
222
+ * - `card_settlement` - Card Settlement: details will be under the
223
+ * `card_settlement` object.
224
+ * - `card_financial` - Card Financial: details will be under the `card_financial`
225
+ * object.
226
+ * - `card_revenue_payment` - Card Revenue Payment: details will be under the
227
+ * `card_revenue_payment` object.
228
+ * - `check_deposit_acceptance` - Check Deposit Acceptance: details will be under
229
+ * the `check_deposit_acceptance` object.
230
+ * - `check_deposit_return` - Check Deposit Return: details will be under the
231
+ * `check_deposit_return` object.
232
+ * - `fednow_transfer_acknowledgement` - FedNow Transfer Acknowledgement: details
233
+ * will be under the `fednow_transfer_acknowledgement` object.
234
+ * - `check_transfer_deposit` - Check Transfer Deposit: details will be under the
235
+ * `check_transfer_deposit` object.
236
+ * - `fee_payment` - Fee Payment: details will be under the `fee_payment` object.
237
+ * - `inbound_ach_transfer` - Inbound ACH Transfer Intention: details will be under
238
+ * the `inbound_ach_transfer` object.
239
+ * - `inbound_ach_transfer_return_intention` - Inbound ACH Transfer Return
240
+ * Intention: details will be under the `inbound_ach_transfer_return_intention`
241
+ * object.
242
+ * - `inbound_check_deposit_return_intention` - Inbound Check Deposit Return
243
+ * Intention: details will be under the `inbound_check_deposit_return_intention`
244
+ * object.
245
+ * - `inbound_check_adjustment` - Inbound Check Adjustment: details will be under
246
+ * the `inbound_check_adjustment` object.
247
+ * - `inbound_fednow_transfer_confirmation` - Inbound FedNow Transfer Confirmation:
248
+ * details will be under the `inbound_fednow_transfer_confirmation` object.
249
+ * - `inbound_real_time_payments_transfer_confirmation` - Inbound Real-Time
250
+ * Payments Transfer Confirmation: details will be under the
251
+ * `inbound_real_time_payments_transfer_confirmation` object.
252
+ * - `inbound_wire_reversal` - Inbound Wire Reversal: details will be under the
253
+ * `inbound_wire_reversal` object.
254
+ * - `inbound_wire_transfer` - Inbound Wire Transfer Intention: details will be
255
+ * under the `inbound_wire_transfer` object.
256
+ * - `inbound_wire_transfer_reversal` - Inbound Wire Transfer Reversal Intention:
257
+ * details will be under the `inbound_wire_transfer_reversal` object.
258
+ * - `interest_payment` - Interest Payment: details will be under the
259
+ * `interest_payment` object.
260
+ * - `internal_source` - Internal Source: details will be under the
261
+ * `internal_source` object.
262
+ * - `real_time_payments_transfer_acknowledgement` - Real-Time Payments Transfer
263
+ * Acknowledgement: details will be under the
264
+ * `real_time_payments_transfer_acknowledgement` object.
265
+ * - `sample_funds` - Sample Funds: details will be under the `sample_funds`
266
+ * object.
267
+ * - `wire_transfer_intention` - Wire Transfer Intention: details will be under the
268
+ * `wire_transfer_intention` object.
269
+ * - `swift_transfer_intention` - Swift Transfer Intention: details will be under
270
+ * the `swift_transfer_intention` object.
271
+ * - `swift_transfer_return` - Swift Transfer Return: details will be under the
272
+ * `swift_transfer_return` object.
273
+ * - `card_push_transfer_acceptance` - Card Push Transfer Acceptance: details will
274
+ * be under the `card_push_transfer_acceptance` object.
275
+ * - `account_revenue_payment` - Account Revenue Payment: details will be under the
276
+ * `account_revenue_payment` object.
277
+ * - `other` - The Transaction was made for an undocumented or deprecated reason.
278
+ */
279
+ category: 'account_transfer_intention' | 'ach_transfer_intention' | 'ach_transfer_rejection' | 'ach_transfer_return' | 'cashback_payment' | 'card_dispute_acceptance' | 'card_dispute_financial' | 'card_dispute_loss' | 'card_refund' | 'card_settlement' | 'card_financial' | 'card_revenue_payment' | 'check_deposit_acceptance' | 'check_deposit_return' | 'fednow_transfer_acknowledgement' | 'check_transfer_deposit' | 'fee_payment' | 'inbound_ach_transfer' | 'inbound_ach_transfer_return_intention' | 'inbound_check_deposit_return_intention' | 'inbound_check_adjustment' | 'inbound_fednow_transfer_confirmation' | 'inbound_real_time_payments_transfer_confirmation' | 'inbound_wire_reversal' | 'inbound_wire_transfer' | 'inbound_wire_transfer_reversal' | 'interest_payment' | 'internal_source' | 'real_time_payments_transfer_acknowledgement' | 'sample_funds' | 'wire_transfer_intention' | 'swift_transfer_intention' | 'swift_transfer_return' | 'card_push_transfer_acceptance' | 'account_revenue_payment' | 'other';
280
+ /**
281
+ * A Check Deposit Acceptance object. This field will be present in the JSON
282
+ * response if and only if `category` is equal to `check_deposit_acceptance`. A
283
+ * Check Deposit Acceptance is created when a Check Deposit is processed and its
284
+ * details confirmed. Check Deposits may be returned by the receiving bank, which
285
+ * will appear as a Check Deposit Return.
286
+ */
287
+ check_deposit_acceptance: Source.CheckDepositAcceptance | null;
288
+ /**
289
+ * A Check Deposit Return object. This field will be present in the JSON response
290
+ * if and only if `category` is equal to `check_deposit_return`. A Check Deposit
291
+ * Return is created when a Check Deposit is returned by the bank holding the
292
+ * account it was drawn against. Check Deposits may be returned for a variety of
293
+ * reasons, including insufficient funds or a mismatched account number. Usually,
294
+ * checks are returned within the first 7 days after the deposit is made.
295
+ */
296
+ check_deposit_return: Source.CheckDepositReturn | null;
297
+ /**
298
+ * A Check Transfer Deposit object. This field will be present in the JSON response
299
+ * if and only if `category` is equal to `check_transfer_deposit`. An Inbound Check
300
+ * is a check drawn on an Increase account that has been deposited by an external
301
+ * bank account. These types of checks are not pre-registered.
302
+ */
303
+ check_transfer_deposit: Source.CheckTransferDeposit | null;
304
+ /**
305
+ * A FedNow Transfer Acknowledgement object. This field will be present in the JSON
306
+ * response if and only if `category` is equal to
307
+ * `fednow_transfer_acknowledgement`. A FedNow Transfer Acknowledgement is created
308
+ * when a FedNow Transfer sent from Increase is acknowledged by the receiving bank.
309
+ */
310
+ fednow_transfer_acknowledgement: Source.FednowTransferAcknowledgement | null;
311
+ /**
312
+ * A Fee Payment object. This field will be present in the JSON response if and
313
+ * only if `category` is equal to `fee_payment`. A Fee Payment represents a payment
314
+ * made to Increase.
315
+ */
316
+ fee_payment: Source.FeePayment | null;
317
+ /**
318
+ * An Inbound ACH Transfer Intention object. This field will be present in the JSON
319
+ * response if and only if `category` is equal to `inbound_ach_transfer`. An
320
+ * Inbound ACH Transfer Intention is created when an ACH transfer is initiated at
321
+ * another bank and received by Increase.
322
+ */
323
+ inbound_ach_transfer: Source.InboundACHTransfer | null;
324
+ /**
325
+ * An Inbound ACH Transfer Return Intention object. This field will be present in
326
+ * the JSON response if and only if `category` is equal to
327
+ * `inbound_ach_transfer_return_intention`. An Inbound ACH Transfer Return
328
+ * Intention is created when an ACH transfer is initiated at another bank and
329
+ * returned by Increase.
330
+ */
331
+ inbound_ach_transfer_return_intention: Source.InboundACHTransferReturnIntention | null;
332
+ /**
333
+ * An Inbound Check Adjustment object. This field will be present in the JSON
334
+ * response if and only if `category` is equal to `inbound_check_adjustment`. An
335
+ * Inbound Check Adjustment is created when Increase receives an adjustment for a
336
+ * check or return deposited through Check21.
337
+ */
338
+ inbound_check_adjustment: Source.InboundCheckAdjustment | null;
339
+ /**
340
+ * An Inbound Check Deposit Return Intention object. This field will be present in
341
+ * the JSON response if and only if `category` is equal to
342
+ * `inbound_check_deposit_return_intention`. An Inbound Check Deposit Return
343
+ * Intention is created when Increase receives an Inbound Check and the User
344
+ * requests that it be returned.
345
+ */
346
+ inbound_check_deposit_return_intention: Source.InboundCheckDepositReturnIntention | null;
347
+ /**
348
+ * An Inbound FedNow Transfer Confirmation object. This field will be present in
349
+ * the JSON response if and only if `category` is equal to
350
+ * `inbound_fednow_transfer_confirmation`. An Inbound FedNow Transfer Confirmation
351
+ * is created when a FedNow transfer is initiated at another bank and received by
352
+ * Increase.
353
+ */
354
+ inbound_fednow_transfer_confirmation: Source.InboundFednowTransferConfirmation | null;
355
+ /**
356
+ * An Inbound Real-Time Payments Transfer Confirmation object. This field will be
357
+ * present in the JSON response if and only if `category` is equal to
358
+ * `inbound_real_time_payments_transfer_confirmation`. An Inbound Real-Time
359
+ * Payments Transfer Confirmation is created when a Real-Time Payments transfer is
360
+ * initiated at another bank and received by Increase.
361
+ */
362
+ inbound_real_time_payments_transfer_confirmation: Source.InboundRealTimePaymentsTransferConfirmation | null;
363
+ /**
364
+ * An Inbound Wire Reversal object. This field will be present in the JSON response
365
+ * if and only if `category` is equal to `inbound_wire_reversal`. An Inbound Wire
366
+ * Reversal represents a reversal of a wire transfer that was initiated via
367
+ * Increase. The other bank is sending the money back. This most often happens when
368
+ * the original destination account details were incorrect.
369
+ */
370
+ inbound_wire_reversal: Source.InboundWireReversal | null;
371
+ /**
372
+ * An Inbound Wire Transfer Intention object. This field will be present in the
373
+ * JSON response if and only if `category` is equal to `inbound_wire_transfer`. An
374
+ * Inbound Wire Transfer Intention is created when a wire transfer is initiated at
375
+ * another bank and received by Increase.
376
+ */
377
+ inbound_wire_transfer: Source.InboundWireTransfer | null;
378
+ /**
379
+ * An Inbound Wire Transfer Reversal Intention object. This field will be present
380
+ * in the JSON response if and only if `category` is equal to
381
+ * `inbound_wire_transfer_reversal`. An Inbound Wire Transfer Reversal Intention is
382
+ * created when Increase has received a wire and the User requests that it be
383
+ * reversed.
384
+ */
385
+ inbound_wire_transfer_reversal: Source.InboundWireTransferReversal | null;
386
+ /**
387
+ * An Interest Payment object. This field will be present in the JSON response if
388
+ * and only if `category` is equal to `interest_payment`. An Interest Payment
389
+ * represents a payment of interest on an account. Interest is usually paid
390
+ * monthly.
391
+ */
392
+ interest_payment: Source.InterestPayment | null;
393
+ /**
394
+ * An Internal Source object. This field will be present in the JSON response if
395
+ * and only if `category` is equal to `internal_source`. A transaction between the
396
+ * user and Increase. See the `reason` attribute for more information.
397
+ */
398
+ internal_source: Source.InternalSource | null;
399
+ /**
400
+ * If the category of this Transaction source is equal to `other`, this field will
401
+ * contain an empty object, otherwise it will contain null.
402
+ */
403
+ other: Source.Other | null;
404
+ /**
405
+ * A Real-Time Payments Transfer Acknowledgement object. This field will be present
406
+ * in the JSON response if and only if `category` is equal to
407
+ * `real_time_payments_transfer_acknowledgement`. A Real-Time Payments Transfer
408
+ * Acknowledgement is created when a Real-Time Payments Transfer sent from Increase
409
+ * is acknowledged by the receiving bank.
410
+ */
411
+ real_time_payments_transfer_acknowledgement: Source.RealTimePaymentsTransferAcknowledgement | null;
412
+ /**
413
+ * A Sample Funds object. This field will be present in the JSON response if and
414
+ * only if `category` is equal to `sample_funds`. Sample funds for testing
415
+ * purposes.
416
+ */
417
+ sample_funds: Source.SampleFunds | null;
418
+ /**
419
+ * A Swift Transfer Intention object. This field will be present in the JSON
420
+ * response if and only if `category` is equal to `swift_transfer_intention`. A
421
+ * Swift Transfer initiated via Increase.
422
+ */
423
+ swift_transfer_intention: Source.SwiftTransferIntention | null;
424
+ /**
425
+ * A Swift Transfer Return object. This field will be present in the JSON response
426
+ * if and only if `category` is equal to `swift_transfer_return`. A Swift Transfer
427
+ * Return is created when a Swift Transfer is returned by the receiving bank.
428
+ */
429
+ swift_transfer_return: Source.SwiftTransferReturn | null;
430
+ /**
431
+ * A Wire Transfer Intention object. This field will be present in the JSON
432
+ * response if and only if `category` is equal to `wire_transfer_intention`. A Wire
433
+ * Transfer initiated via Increase and sent to a different bank.
434
+ */
435
+ wire_transfer_intention: Source.WireTransferIntention | null;
436
+ [k: string]: unknown;
437
+ }
438
+ namespace Source {
439
+ /**
440
+ * An Account Revenue Payment object. This field will be present in the JSON
441
+ * response if and only if `category` is equal to `account_revenue_payment`. An
442
+ * Account Revenue Payment represents a payment made to an account from the bank.
443
+ * Account revenue is a type of non-interest income.
444
+ */
445
+ interface AccountRevenuePayment {
446
+ /**
447
+ * The account on which the account revenue was accrued.
448
+ */
449
+ accrued_on_account_id: string;
450
+ /**
451
+ * The end of the period for which this transaction paid account revenue.
452
+ */
453
+ period_end: string;
454
+ /**
455
+ * The start of the period for which this transaction paid account revenue.
456
+ */
457
+ period_start: string;
458
+ [k: string]: unknown;
459
+ }
460
+ /**
461
+ * An Account Transfer Intention object. This field will be present in the JSON
462
+ * response if and only if `category` is equal to `account_transfer_intention`. Two
463
+ * Account Transfer Intentions are created from each Account Transfer. One
464
+ * decrements the source account, and the other increments the destination account.
465
+ */
466
+ interface AccountTransferIntention {
467
+ /**
468
+ * The pending amount in the minor unit of the transaction's currency. For dollars,
469
+ * for example, this is cents.
470
+ */
471
+ amount: number;
472
+ /**
473
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination
474
+ * account currency.
475
+ *
476
+ * - `USD` - US Dollar (USD)
477
+ */
478
+ currency: 'USD';
479
+ /**
480
+ * The description you chose to give the transfer.
481
+ */
482
+ description: string;
483
+ /**
484
+ * The identifier of the Account to where the Account Transfer was sent.
485
+ */
486
+ destination_account_id: string;
487
+ /**
488
+ * The identifier of the Account from where the Account Transfer was sent.
489
+ */
490
+ source_account_id: string;
491
+ /**
492
+ * The identifier of the Account Transfer that led to this Pending Transaction.
493
+ */
494
+ transfer_id: string;
495
+ [k: string]: unknown;
496
+ }
497
+ /**
498
+ * An ACH Transfer Intention object. This field will be present in the JSON
499
+ * response if and only if `category` is equal to `ach_transfer_intention`. An ACH
500
+ * Transfer Intention is created from an ACH Transfer. It reflects the intention to
501
+ * move money into or out of an Increase account via the ACH network.
502
+ */
503
+ interface ACHTransferIntention {
504
+ /**
505
+ * The account number for the destination account.
506
+ */
507
+ account_number: string;
508
+ /**
509
+ * The amount in the minor unit of the transaction's currency. For dollars, for
510
+ * example, this is cents.
511
+ */
512
+ amount: number;
513
+ /**
514
+ * The American Bankers' Association (ABA) Routing Transit Number (RTN) for the
515
+ * destination account.
516
+ */
517
+ routing_number: string;
518
+ /**
519
+ * A description set when the ACH Transfer was created.
520
+ */
521
+ statement_descriptor: string;
522
+ /**
523
+ * The identifier of the ACH Transfer that led to this Transaction.
524
+ */
525
+ transfer_id: string;
526
+ [k: string]: unknown;
527
+ }
528
+ /**
529
+ * An ACH Transfer Rejection object. This field will be present in the JSON
530
+ * response if and only if `category` is equal to `ach_transfer_rejection`. An ACH
531
+ * Transfer Rejection is created when an ACH Transfer is rejected by Increase. It
532
+ * offsets the ACH Transfer Intention. These rejections are rare.
533
+ */
534
+ interface ACHTransferRejection {
535
+ /**
536
+ * The identifier of the ACH Transfer that led to this Transaction.
537
+ */
538
+ transfer_id: string;
539
+ [k: string]: unknown;
540
+ }
541
+ /**
542
+ * An ACH Transfer Return object. This field will be present in the JSON response
543
+ * if and only if `category` is equal to `ach_transfer_return`. An ACH Transfer
544
+ * Return is created when an ACH Transfer is returned by the receiving bank. It
545
+ * offsets the ACH Transfer Intention. ACH Transfer Returns usually occur within
546
+ * the first two business days after the transfer is initiated, but can occur much
547
+ * later.
548
+ */
549
+ interface ACHTransferReturn {
550
+ /**
551
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
552
+ * the transfer was created.
553
+ */
554
+ created_at: string;
555
+ /**
556
+ * The three character ACH return code, in the range R01 to R85.
557
+ */
558
+ raw_return_reason_code: string;
559
+ /**
560
+ * Why the ACH Transfer was returned. This reason code is sent by the receiving
561
+ * bank back to Increase.
562
+ *
563
+ * - `insufficient_fund` - Code R01. Insufficient funds in the receiving account.
564
+ * Sometimes abbreviated to NSF.
565
+ * - `no_account` - Code R03. The account does not exist or the receiving bank was
566
+ * unable to locate it.
567
+ * - `account_closed` - Code R02. The account is closed at the receiving bank.
568
+ * - `invalid_account_number_structure` - Code R04. The account number is invalid
569
+ * at the receiving bank.
570
+ * - `account_frozen_entry_returned_per_ofac_instruction` - Code R16. The account
571
+ * at the receiving bank was frozen per the Office of Foreign Assets Control.
572
+ * - `credit_entry_refused_by_receiver` - Code R23. The receiving bank account
573
+ * refused a credit transfer.
574
+ * - `unauthorized_debit_to_consumer_account_using_corporate_sec_code` - Code R05.
575
+ * The receiving bank rejected because of an incorrect Standard Entry Class code.
576
+ * - `corporate_customer_advised_not_authorized` - Code R29. The corporate customer
577
+ * at the receiving bank reversed the transfer.
578
+ * - `payment_stopped` - Code R08. The receiving bank stopped payment on this
579
+ * transfer.
580
+ * - `non_transaction_account` - Code R20. The receiving bank account does not
581
+ * perform transfers.
582
+ * - `uncollected_funds` - Code R09. The receiving bank account does not have
583
+ * enough available balance for the transfer.
584
+ * - `routing_number_check_digit_error` - Code R28. The routing number is
585
+ * incorrect.
586
+ * - `customer_advised_unauthorized_improper_ineligible_or_incomplete` - Code R10.
587
+ * The customer at the receiving bank reversed the transfer.
588
+ * - `amount_field_error` - Code R19. The amount field is incorrect or too large.
589
+ * - `authorization_revoked_by_customer` - Code R07. The customer at the receiving
590
+ * institution informed their bank that they have revoked authorization for a
591
+ * previously authorized transfer.
592
+ * - `invalid_ach_routing_number` - Code R13. The routing number is invalid.
593
+ * - `file_record_edit_criteria` - Code R17. The receiving bank is unable to
594
+ * process a field in the transfer.
595
+ * - `enr_invalid_individual_name` - Code R45. The individual name field was
596
+ * invalid.
597
+ * - `returned_per_odfi_request` - Code R06. The originating financial institution
598
+ * asked for this transfer to be returned. The receiving bank is complying with
599
+ * the request.
600
+ * - `limited_participation_dfi` - Code R34. The receiving bank's regulatory
601
+ * supervisor has limited their participation in the ACH network.
602
+ * - `incorrectly_coded_outbound_international_payment` - Code R85. The outbound
603
+ * international ACH transfer was incorrect.
604
+ * - `account_sold_to_another_dfi` - Code R12. A rare return reason. The account
605
+ * was sold to another bank.
606
+ * - `addenda_error` - Code R25. The addenda record is incorrect or missing.
607
+ * - `beneficiary_or_account_holder_deceased` - Code R15. A rare return reason. The
608
+ * account holder is deceased.
609
+ * - `customer_advised_not_within_authorization_terms` - Code R11. A rare return
610
+ * reason. The customer authorized some payment to the sender, but this payment
611
+ * was not in error.
612
+ * - `corrected_return` - Code R74. A rare return reason. Sent in response to a
613
+ * return that was returned with code `field_error`. The latest return should
614
+ * include the corrected field(s).
615
+ * - `duplicate_entry` - Code R24. A rare return reason. The receiving bank
616
+ * received an exact duplicate entry with the same trace number and amount.
617
+ * - `duplicate_return` - Code R67. A rare return reason. The return this message
618
+ * refers to was a duplicate.
619
+ * - `enr_duplicate_enrollment` - Code R47. A rare return reason. Only used for US
620
+ * Government agency non-monetary automatic enrollment messages.
621
+ * - `enr_invalid_dfi_account_number` - Code R43. A rare return reason. Only used
622
+ * for US Government agency non-monetary automatic enrollment messages.
623
+ * - `enr_invalid_individual_id_number` - Code R44. A rare return reason. Only used
624
+ * for US Government agency non-monetary automatic enrollment messages.
625
+ * - `enr_invalid_representative_payee_indicator` - Code R46. A rare return reason.
626
+ * Only used for US Government agency non-monetary automatic enrollment messages.
627
+ * - `enr_invalid_transaction_code` - Code R41. A rare return reason. Only used for
628
+ * US Government agency non-monetary automatic enrollment messages.
629
+ * - `enr_return_of_enr_entry` - Code R40. A rare return reason. Only used for US
630
+ * Government agency non-monetary automatic enrollment messages.
631
+ * - `enr_routing_number_check_digit_error` - Code R42. A rare return reason. Only
632
+ * used for US Government agency non-monetary automatic enrollment messages.
633
+ * - `entry_not_processed_by_gateway` - Code R84. A rare return reason. The
634
+ * International ACH Transfer cannot be processed by the gateway.
635
+ * - `field_error` - Code R69. A rare return reason. One or more of the fields in
636
+ * the ACH were malformed.
637
+ * - `foreign_receiving_dfi_unable_to_settle` - Code R83. A rare return reason. The
638
+ * Foreign receiving bank was unable to settle this ACH transfer.
639
+ * - `iat_entry_coding_error` - Code R80. A rare return reason. The International
640
+ * ACH Transfer is malformed.
641
+ * - `improper_effective_entry_date` - Code R18. A rare return reason. The ACH has
642
+ * an improper effective entry date field.
643
+ * - `improper_source_document_source_document_presented` - Code R39. A rare return
644
+ * reason. The source document related to this ACH, usually an ACH check
645
+ * conversion, was presented to the bank.
646
+ * - `invalid_company_id` - Code R21. A rare return reason. The Company ID field of
647
+ * the ACH was invalid.
648
+ * - `invalid_foreign_receiving_dfi_identification` - Code R82. A rare return
649
+ * reason. The foreign receiving bank identifier for an International ACH
650
+ * Transfer was invalid.
651
+ * - `invalid_individual_id_number` - Code R22. A rare return reason. The
652
+ * Individual ID number field of the ACH was invalid.
653
+ * - `item_and_rck_entry_presented_for_payment` - Code R53. A rare return reason.
654
+ * Both the Represented Check ("RCK") entry and the original check were presented
655
+ * to the bank.
656
+ * - `item_related_to_rck_entry_is_ineligible` - Code R51. A rare return reason.
657
+ * The Represented Check ("RCK") entry is ineligible.
658
+ * - `mandatory_field_error` - Code R26. A rare return reason. The ACH is missing a
659
+ * required field.
660
+ * - `misrouted_dishonored_return` - Code R71. A rare return reason. The receiving
661
+ * bank does not recognize the routing number in a dishonored return entry.
662
+ * - `misrouted_return` - Code R61. A rare return reason. The receiving bank does
663
+ * not recognize the routing number in a return entry.
664
+ * - `no_errors_found` - Code R76. A rare return reason. Sent in response to a
665
+ * return, the bank does not find the errors alleged by the returning bank.
666
+ * - `non_acceptance_of_r62_dishonored_return` - Code R77. A rare return reason.
667
+ * The receiving bank does not accept the return of the erroneous debit. The
668
+ * funds are not available at the receiving bank.
669
+ * - `non_participant_in_iat_program` - Code R81. A rare return reason. The
670
+ * receiving bank does not accept International ACH Transfers.
671
+ * - `permissible_return_entry` - Code R31. A rare return reason. A return that has
672
+ * been agreed to be accepted by the receiving bank, despite falling outside of
673
+ * the usual return timeframe.
674
+ * - `permissible_return_entry_not_accepted` - Code R70. A rare return reason. The
675
+ * receiving bank had not approved this return.
676
+ * - `rdfi_non_settlement` - Code R32. A rare return reason. The receiving bank
677
+ * could not settle this transaction.
678
+ * - `rdfi_participant_in_check_truncation_program` - Code R30. A rare return
679
+ * reason. The receiving bank does not accept Check Truncation ACH transfers.
680
+ * - `representative_payee_deceased_or_unable_to_continue_in_that_capacity` - Code
681
+ * R14. A rare return reason. The payee is deceased.
682
+ * - `return_not_a_duplicate` - Code R75. A rare return reason. The originating
683
+ * bank disputes that an earlier `duplicate_entry` return was actually a
684
+ * duplicate.
685
+ * - `return_of_erroneous_or_reversing_debit` - Code R62. A rare return reason. The
686
+ * originating financial institution made a mistake and this return corrects it.
687
+ * - `return_of_improper_credit_entry` - Code R36. A rare return reason. Return of
688
+ * a malformed credit entry.
689
+ * - `return_of_improper_debit_entry` - Code R35. A rare return reason. Return of a
690
+ * malformed debit entry.
691
+ * - `return_of_xck_entry` - Code R33. A rare return reason. Return of a Destroyed
692
+ * Check ("XKC") entry.
693
+ * - `source_document_presented_for_payment` - Code R37. A rare return reason. The
694
+ * source document related to this ACH, usually an ACH check conversion, was
695
+ * presented to the bank.
696
+ * - `state_law_affecting_rck_acceptance` - Code R50. A rare return reason. State
697
+ * law prevents the bank from accepting the Represented Check ("RCK") entry.
698
+ * - `stop_payment_on_item_related_to_rck_entry` - Code R52. A rare return reason.
699
+ * A stop payment was issued on a Represented Check ("RCK") entry.
700
+ * - `stop_payment_on_source_document` - Code R38. A rare return reason. The source
701
+ * attached to the ACH, usually an ACH check conversion, includes a stop payment.
702
+ * - `timely_original_return` - Code R73. A rare return reason. The bank receiving
703
+ * an `untimely_return` believes it was on time.
704
+ * - `trace_number_error` - Code R27. A rare return reason. An ACH return's trace
705
+ * number does not match an originated ACH.
706
+ * - `untimely_dishonored_return` - Code R72. A rare return reason. The dishonored
707
+ * return was sent too late.
708
+ * - `untimely_return` - Code R68. A rare return reason. The return was sent too
709
+ * late.
710
+ */
711
+ return_reason_code: 'insufficient_fund' | 'no_account' | 'account_closed' | 'invalid_account_number_structure' | 'account_frozen_entry_returned_per_ofac_instruction' | 'credit_entry_refused_by_receiver' | 'unauthorized_debit_to_consumer_account_using_corporate_sec_code' | 'corporate_customer_advised_not_authorized' | 'payment_stopped' | 'non_transaction_account' | 'uncollected_funds' | 'routing_number_check_digit_error' | 'customer_advised_unauthorized_improper_ineligible_or_incomplete' | 'amount_field_error' | 'authorization_revoked_by_customer' | 'invalid_ach_routing_number' | 'file_record_edit_criteria' | 'enr_invalid_individual_name' | 'returned_per_odfi_request' | 'limited_participation_dfi' | 'incorrectly_coded_outbound_international_payment' | 'account_sold_to_another_dfi' | 'addenda_error' | 'beneficiary_or_account_holder_deceased' | 'customer_advised_not_within_authorization_terms' | 'corrected_return' | 'duplicate_entry' | 'duplicate_return' | 'enr_duplicate_enrollment' | 'enr_invalid_dfi_account_number' | 'enr_invalid_individual_id_number' | 'enr_invalid_representative_payee_indicator' | 'enr_invalid_transaction_code' | 'enr_return_of_enr_entry' | 'enr_routing_number_check_digit_error' | 'entry_not_processed_by_gateway' | 'field_error' | 'foreign_receiving_dfi_unable_to_settle' | 'iat_entry_coding_error' | 'improper_effective_entry_date' | 'improper_source_document_source_document_presented' | 'invalid_company_id' | 'invalid_foreign_receiving_dfi_identification' | 'invalid_individual_id_number' | 'item_and_rck_entry_presented_for_payment' | 'item_related_to_rck_entry_is_ineligible' | 'mandatory_field_error' | 'misrouted_dishonored_return' | 'misrouted_return' | 'no_errors_found' | 'non_acceptance_of_r62_dishonored_return' | 'non_participant_in_iat_program' | 'permissible_return_entry' | 'permissible_return_entry_not_accepted' | 'rdfi_non_settlement' | 'rdfi_participant_in_check_truncation_program' | 'representative_payee_deceased_or_unable_to_continue_in_that_capacity' | 'return_not_a_duplicate' | 'return_of_erroneous_or_reversing_debit' | 'return_of_improper_credit_entry' | 'return_of_improper_debit_entry' | 'return_of_xck_entry' | 'source_document_presented_for_payment' | 'state_law_affecting_rck_acceptance' | 'stop_payment_on_item_related_to_rck_entry' | 'stop_payment_on_source_document' | 'timely_original_return' | 'trace_number_error' | 'untimely_dishonored_return' | 'untimely_return';
712
+ /**
713
+ * A 15 digit number that was generated by the bank that initiated the return. The
714
+ * trace number of the return is different than that of the original transfer. ACH
715
+ * trace numbers are not unique, but along with the amount and date this number can
716
+ * be used to identify the ACH return at the bank that initiated it.
717
+ */
718
+ trace_number: string;
719
+ /**
720
+ * The identifier of the Transaction associated with this return.
721
+ */
722
+ transaction_id: string;
723
+ /**
724
+ * The identifier of the ACH Transfer associated with this return.
725
+ */
726
+ transfer_id: string;
727
+ [k: string]: unknown;
728
+ }
729
+ /**
730
+ * A Legacy Card Dispute Acceptance object. This field will be present in the JSON
731
+ * response if and only if `category` is equal to `card_dispute_acceptance`.
732
+ * Contains the details of a successful Card Dispute.
733
+ */
734
+ interface CardDisputeAcceptance {
735
+ /**
736
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
737
+ * the Card Dispute was accepted.
738
+ */
739
+ accepted_at: string;
740
+ /**
741
+ * The identifier of the Transaction that was created to return the disputed funds
742
+ * to your account.
743
+ */
744
+ transaction_id: string;
745
+ [k: string]: unknown;
746
+ }
747
+ /**
748
+ * A Card Dispute Financial object. This field will be present in the JSON response
749
+ * if and only if `category` is equal to `card_dispute_financial`. Financial event
750
+ * related to a Card Dispute.
751
+ */
752
+ interface CardDisputeFinancial {
753
+ /**
754
+ * The amount of the financial event.
755
+ */
756
+ amount: number;
757
+ /**
758
+ * The network that the Card Dispute is associated with.
759
+ *
760
+ * - `visa` - Visa: details will be under the `visa` object.
761
+ * - `pulse` - Pulse: details will be under the `pulse` object.
762
+ */
763
+ network: 'visa' | 'pulse';
764
+ /**
765
+ * The identifier of the Transaction that was created to credit or debit the
766
+ * disputed funds to or from your account.
767
+ */
768
+ transaction_id: string;
769
+ /**
770
+ * Information for events related to card dispute for card payments processed over
771
+ * Visa's network. This field will be present in the JSON response if and only if
772
+ * `network` is equal to `visa`.
773
+ */
774
+ visa: CardDisputeFinancial.Visa | null;
775
+ [k: string]: unknown;
776
+ }
777
+ namespace CardDisputeFinancial {
778
+ /**
779
+ * Information for events related to card dispute for card payments processed over
780
+ * Visa's network. This field will be present in the JSON response if and only if
781
+ * `network` is equal to `visa`.
782
+ */
783
+ interface Visa {
784
+ /**
785
+ * The type of card dispute financial event.
786
+ *
787
+ * - `chargeback_submitted` - The user's chargeback was submitted.
788
+ * - `merchant_prearbitration_decline_submitted` - The user declined the merchant's
789
+ * pre-arbitration submission.
790
+ * - `merchant_prearbitration_received` - The merchant's pre-arbitration submission
791
+ * was received.
792
+ * - `represented` - The transaction was re-presented by the merchant.
793
+ * - `user_prearbitration_decline_received` - The user's pre-arbitration was
794
+ * declined by the merchant.
795
+ * - `user_prearbitration_submitted` - The user's pre-arbitration was submitted.
796
+ * - `user_withdrawal_submitted` - The user withdrew from the dispute.
797
+ */
798
+ event_type: 'chargeback_submitted' | 'merchant_prearbitration_decline_submitted' | 'merchant_prearbitration_received' | 'represented' | 'user_prearbitration_decline_received' | 'user_prearbitration_submitted' | 'user_withdrawal_submitted';
799
+ }
800
+ }
801
+ /**
802
+ * A Legacy Card Dispute Loss object. This field will be present in the JSON
803
+ * response if and only if `category` is equal to `card_dispute_loss`. Contains the
804
+ * details of a lost Card Dispute.
805
+ */
806
+ interface CardDisputeLoss {
807
+ /**
808
+ * Why the Card Dispute was lost.
809
+ */
810
+ explanation: string;
811
+ /**
812
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
813
+ * the Card Dispute was lost.
814
+ */
815
+ lost_at: string;
816
+ /**
817
+ * The identifier of the Transaction that was created to debit the disputed funds
818
+ * from your account.
819
+ */
820
+ transaction_id: string;
821
+ [k: string]: unknown;
822
+ }
823
+ /**
824
+ * A Card Financial object. This field will be present in the JSON response if and
825
+ * only if `category` is equal to `card_financial`. Card Financials are temporary
826
+ * holds placed on a customers funds with the intent to later clear a transaction.
827
+ */
828
+ interface CardFinancial {
829
+ /**
830
+ * The Card Financial identifier.
831
+ */
832
+ id: string;
833
+ /**
834
+ * Whether this financial was approved by Increase, the card network through
835
+ * stand-in processing, or the user through a real-time decision.
836
+ *
837
+ * - `user` - This object was actioned by the user through a real-time decision.
838
+ * - `increase` - This object was actioned by Increase without user intervention.
839
+ * - `network` - This object was actioned by the network, through stand-in
840
+ * processing.
841
+ */
842
+ actioner: 'user' | 'increase' | 'network';
843
+ /**
844
+ * Additional amounts associated with the card authorization, such as ATM
845
+ * surcharges fees. These are usually a subset of the `amount` field and are used
846
+ * to provide more detailed information about the transaction.
847
+ */
848
+ additional_amounts: CardFinancial.AdditionalAmounts;
849
+ /**
850
+ * The pending amount in the minor unit of the transaction's currency. For dollars,
851
+ * for example, this is cents.
852
+ */
853
+ amount: number;
854
+ /**
855
+ * The ID of the Card Payment this transaction belongs to.
856
+ */
857
+ card_payment_id: string;
858
+ /**
859
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
860
+ * transaction's currency.
861
+ *
862
+ * - `USD` - US Dollar (USD)
863
+ */
864
+ currency: 'USD';
865
+ /**
866
+ * If the authorization was made via a Digital Wallet Token (such as an Apple Pay
867
+ * purchase), the identifier of the token that was used.
868
+ */
869
+ digital_wallet_token_id: string | null;
870
+ /**
871
+ * The direction describes the direction the funds will move, either from the
872
+ * cardholder to the merchant or from the merchant to the cardholder.
873
+ *
874
+ * - `settlement` - A regular card authorization where funds are debited from the
875
+ * cardholder.
876
+ * - `refund` - A refund card authorization, sometimes referred to as a credit
877
+ * voucher authorization, where funds are credited to the cardholder.
878
+ */
879
+ direction: 'settlement' | 'refund';
880
+ /**
881
+ * The merchant identifier (commonly abbreviated as MID) of the merchant the card
882
+ * is transacting with.
883
+ */
884
+ merchant_acceptor_id: string;
885
+ /**
886
+ * The Merchant Category Code (commonly abbreviated as MCC) of the merchant the
887
+ * card is transacting with.
888
+ */
889
+ merchant_category_code: string;
890
+ /**
891
+ * The city the merchant resides in.
892
+ */
893
+ merchant_city: string | null;
894
+ /**
895
+ * The country the merchant resides in.
896
+ */
897
+ merchant_country: string;
898
+ /**
899
+ * The merchant descriptor of the merchant the card is transacting with.
900
+ */
901
+ merchant_descriptor: string;
902
+ /**
903
+ * The merchant's postal code. For US merchants this is either a 5-digit or 9-digit
904
+ * ZIP code, where the first 5 and last 4 are separated by a dash.
905
+ */
906
+ merchant_postal_code: string | null;
907
+ /**
908
+ * The state the merchant resides in.
909
+ */
910
+ merchant_state: string | null;
911
+ /**
912
+ * Fields specific to the `network`.
913
+ */
914
+ network_details: CardFinancial.NetworkDetails;
915
+ /**
916
+ * Network-specific identifiers for a specific request or transaction.
917
+ */
918
+ network_identifiers: CardFinancial.NetworkIdentifiers;
919
+ /**
920
+ * The risk score generated by the card network. For Visa this is the Visa Advanced
921
+ * Authorization risk score, from 0 to 99, where 99 is the riskiest. For Pulse the
922
+ * score is from 0 to 999, where 999 is the riskiest.
923
+ */
924
+ network_risk_score: number | null;
925
+ /**
926
+ * If the authorization was made in-person with a physical card, the Physical Card
927
+ * that was used.
928
+ */
929
+ physical_card_id: string | null;
930
+ /**
931
+ * The pending amount in the minor unit of the transaction's presentment currency.
932
+ */
933
+ presentment_amount: number;
934
+ /**
935
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
936
+ * transaction's presentment currency.
937
+ */
938
+ presentment_currency: string;
939
+ /**
940
+ * The processing category describes the intent behind the financial, such as
941
+ * whether it was used for bill payments or an automatic fuel dispenser.
942
+ *
943
+ * - `account_funding` - Account funding transactions are transactions used to
944
+ * e.g., fund an account or transfer funds between accounts.
945
+ * - `automatic_fuel_dispenser` - Automatic fuel dispenser authorizations occur
946
+ * when a card is used at a gas pump, prior to the actual transaction amount
947
+ * being known. They are followed by an advice message that updates the amount of
948
+ * the pending transaction.
949
+ * - `bill_payment` - A transaction used to pay a bill.
950
+ * - `original_credit` - Original credit transactions are used to send money to a
951
+ * cardholder.
952
+ * - `purchase` - A regular purchase.
953
+ * - `quasi_cash` - Quasi-cash transactions represent purchases of items which may
954
+ * be convertible to cash.
955
+ * - `refund` - A refund card authorization, sometimes referred to as a credit
956
+ * voucher authorization, where funds are credited to the cardholder.
957
+ * - `cash_disbursement` - Cash disbursement transactions are used to withdraw cash
958
+ * from an ATM or a point of sale.
959
+ * - `balance_inquiry` - A balance inquiry transaction is used to check the balance
960
+ * of an account associated with a card.
961
+ * - `unknown` - The processing category is unknown.
962
+ */
963
+ processing_category: 'account_funding' | 'automatic_fuel_dispenser' | 'bill_payment' | 'original_credit' | 'purchase' | 'quasi_cash' | 'refund' | 'cash_disbursement' | 'balance_inquiry' | 'unknown';
964
+ /**
965
+ * The identifier of the Real-Time Decision sent to approve or decline this
966
+ * transaction.
967
+ */
968
+ real_time_decision_id: string | null;
969
+ /**
970
+ * The terminal identifier (commonly abbreviated as TID) of the terminal the card
971
+ * is transacting with.
972
+ */
973
+ terminal_id: string | null;
974
+ /**
975
+ * The identifier of the Transaction associated with this Transaction.
976
+ */
977
+ transaction_id: string;
978
+ /**
979
+ * A constant representing the object's type. For this resource it will always be
980
+ * `card_financial`.
981
+ */
982
+ type: 'card_financial';
983
+ /**
984
+ * Fields related to verification of cardholder-provided values.
985
+ */
986
+ verification: CardFinancial.Verification;
987
+ [k: string]: unknown;
988
+ }
989
+ namespace CardFinancial {
990
+ /**
991
+ * Additional amounts associated with the card authorization, such as ATM
992
+ * surcharges fees. These are usually a subset of the `amount` field and are used
993
+ * to provide more detailed information about the transaction.
994
+ */
995
+ interface AdditionalAmounts {
996
+ /**
997
+ * The part of this transaction amount that was for clinic-related services.
998
+ */
999
+ clinic: AdditionalAmounts.Clinic | null;
1000
+ /**
1001
+ * The part of this transaction amount that was for dental-related services.
1002
+ */
1003
+ dental: AdditionalAmounts.Dental | null;
1004
+ /**
1005
+ * The original pre-authorized amount.
1006
+ */
1007
+ original: AdditionalAmounts.Original | null;
1008
+ /**
1009
+ * The part of this transaction amount that was for healthcare prescriptions.
1010
+ */
1011
+ prescription: AdditionalAmounts.Prescription | null;
1012
+ /**
1013
+ * The surcharge amount charged for this transaction by the merchant.
1014
+ */
1015
+ surcharge: AdditionalAmounts.Surcharge | null;
1016
+ /**
1017
+ * The total amount of a series of incremental authorizations, optionally provided.
1018
+ */
1019
+ total_cumulative: AdditionalAmounts.TotalCumulative | null;
1020
+ /**
1021
+ * The total amount of healthcare-related additional amounts.
1022
+ */
1023
+ total_healthcare: AdditionalAmounts.TotalHealthcare | null;
1024
+ /**
1025
+ * The part of this transaction amount that was for transit-related services.
1026
+ */
1027
+ transit: AdditionalAmounts.Transit | null;
1028
+ /**
1029
+ * An unknown additional amount.
1030
+ */
1031
+ unknown: AdditionalAmounts.Unknown | null;
1032
+ /**
1033
+ * The part of this transaction amount that was for vision-related services.
1034
+ */
1035
+ vision: AdditionalAmounts.Vision | null;
1036
+ }
1037
+ namespace AdditionalAmounts {
1038
+ /**
1039
+ * The part of this transaction amount that was for clinic-related services.
1040
+ */
1041
+ interface Clinic {
1042
+ /**
1043
+ * The amount in minor units of the `currency` field. The amount is positive if it
1044
+ * is added to the amount (such as an ATM surcharge fee) and negative if it is
1045
+ * subtracted from the amount (such as a discount).
1046
+ */
1047
+ amount: number;
1048
+ /**
1049
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
1050
+ * amount's currency.
1051
+ */
1052
+ currency: string;
1053
+ }
1054
+ /**
1055
+ * The part of this transaction amount that was for dental-related services.
1056
+ */
1057
+ interface Dental {
1058
+ /**
1059
+ * The amount in minor units of the `currency` field. The amount is positive if it
1060
+ * is added to the amount (such as an ATM surcharge fee) and negative if it is
1061
+ * subtracted from the amount (such as a discount).
1062
+ */
1063
+ amount: number;
1064
+ /**
1065
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
1066
+ * amount's currency.
1067
+ */
1068
+ currency: string;
1069
+ }
1070
+ /**
1071
+ * The original pre-authorized amount.
1072
+ */
1073
+ interface Original {
1074
+ /**
1075
+ * The amount in minor units of the `currency` field. The amount is positive if it
1076
+ * is added to the amount (such as an ATM surcharge fee) and negative if it is
1077
+ * subtracted from the amount (such as a discount).
1078
+ */
1079
+ amount: number;
1080
+ /**
1081
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
1082
+ * amount's currency.
1083
+ */
1084
+ currency: string;
1085
+ }
1086
+ /**
1087
+ * The part of this transaction amount that was for healthcare prescriptions.
1088
+ */
1089
+ interface Prescription {
1090
+ /**
1091
+ * The amount in minor units of the `currency` field. The amount is positive if it
1092
+ * is added to the amount (such as an ATM surcharge fee) and negative if it is
1093
+ * subtracted from the amount (such as a discount).
1094
+ */
1095
+ amount: number;
1096
+ /**
1097
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
1098
+ * amount's currency.
1099
+ */
1100
+ currency: string;
1101
+ }
1102
+ /**
1103
+ * The surcharge amount charged for this transaction by the merchant.
1104
+ */
1105
+ interface Surcharge {
1106
+ /**
1107
+ * The amount in minor units of the `currency` field. The amount is positive if it
1108
+ * is added to the amount (such as an ATM surcharge fee) and negative if it is
1109
+ * subtracted from the amount (such as a discount).
1110
+ */
1111
+ amount: number;
1112
+ /**
1113
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
1114
+ * amount's currency.
1115
+ */
1116
+ currency: string;
1117
+ }
1118
+ /**
1119
+ * The total amount of a series of incremental authorizations, optionally provided.
1120
+ */
1121
+ interface TotalCumulative {
1122
+ /**
1123
+ * The amount in minor units of the `currency` field. The amount is positive if it
1124
+ * is added to the amount (such as an ATM surcharge fee) and negative if it is
1125
+ * subtracted from the amount (such as a discount).
1126
+ */
1127
+ amount: number;
1128
+ /**
1129
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
1130
+ * amount's currency.
1131
+ */
1132
+ currency: string;
1133
+ }
1134
+ /**
1135
+ * The total amount of healthcare-related additional amounts.
1136
+ */
1137
+ interface TotalHealthcare {
1138
+ /**
1139
+ * The amount in minor units of the `currency` field. The amount is positive if it
1140
+ * is added to the amount (such as an ATM surcharge fee) and negative if it is
1141
+ * subtracted from the amount (such as a discount).
1142
+ */
1143
+ amount: number;
1144
+ /**
1145
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
1146
+ * amount's currency.
1147
+ */
1148
+ currency: string;
1149
+ }
1150
+ /**
1151
+ * The part of this transaction amount that was for transit-related services.
1152
+ */
1153
+ interface Transit {
1154
+ /**
1155
+ * The amount in minor units of the `currency` field. The amount is positive if it
1156
+ * is added to the amount (such as an ATM surcharge fee) and negative if it is
1157
+ * subtracted from the amount (such as a discount).
1158
+ */
1159
+ amount: number;
1160
+ /**
1161
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
1162
+ * amount's currency.
1163
+ */
1164
+ currency: string;
1165
+ }
1166
+ /**
1167
+ * An unknown additional amount.
1168
+ */
1169
+ interface Unknown {
1170
+ /**
1171
+ * The amount in minor units of the `currency` field. The amount is positive if it
1172
+ * is added to the amount (such as an ATM surcharge fee) and negative if it is
1173
+ * subtracted from the amount (such as a discount).
1174
+ */
1175
+ amount: number;
1176
+ /**
1177
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
1178
+ * amount's currency.
1179
+ */
1180
+ currency: string;
1181
+ }
1182
+ /**
1183
+ * The part of this transaction amount that was for vision-related services.
1184
+ */
1185
+ interface Vision {
1186
+ /**
1187
+ * The amount in minor units of the `currency` field. The amount is positive if it
1188
+ * is added to the amount (such as an ATM surcharge fee) and negative if it is
1189
+ * subtracted from the amount (such as a discount).
1190
+ */
1191
+ amount: number;
1192
+ /**
1193
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
1194
+ * amount's currency.
1195
+ */
1196
+ currency: string;
1197
+ }
1198
+ }
1199
+ /**
1200
+ * Fields specific to the `network`.
1201
+ */
1202
+ interface NetworkDetails {
1203
+ /**
1204
+ * The payment network used to process this card authorization.
1205
+ *
1206
+ * - `visa` - Visa
1207
+ * - `pulse` - Pulse
1208
+ */
1209
+ category: 'visa' | 'pulse';
1210
+ /**
1211
+ * Fields specific to the `pulse` network.
1212
+ */
1213
+ pulse: NetworkDetails.Pulse | null;
1214
+ /**
1215
+ * Fields specific to the `visa` network.
1216
+ */
1217
+ visa: NetworkDetails.Visa | null;
1218
+ }
1219
+ namespace NetworkDetails {
1220
+ /**
1221
+ * Fields specific to the `pulse` network.
1222
+ */
1223
+ interface Pulse {
1224
+ }
1225
+ /**
1226
+ * Fields specific to the `visa` network.
1227
+ */
1228
+ interface Visa {
1229
+ /**
1230
+ * For electronic commerce transactions, this identifies the level of security used
1231
+ * in obtaining the customer's payment credential. For mail or telephone order
1232
+ * transactions, identifies the type of mail or telephone order.
1233
+ *
1234
+ * - `mail_phone_order` - Single transaction of a mail/phone order: Use to indicate
1235
+ * that the transaction is a mail/phone order purchase, not a recurring
1236
+ * transaction or installment payment. For domestic transactions in the US
1237
+ * region, this value may also indicate one bill payment transaction in the
1238
+ * card-present or card-absent environments.
1239
+ * - `recurring` - Recurring transaction: Payment indicator used to indicate a
1240
+ * recurring transaction that originates from an acquirer in the US region.
1241
+ * - `installment` - Installment payment: Payment indicator used to indicate one
1242
+ * purchase of goods or services that is billed to the account in multiple
1243
+ * charges over a period of time agreed upon by the cardholder and merchant from
1244
+ * transactions that originate from an acquirer in the US region.
1245
+ * - `unknown_mail_phone_order` - Unknown classification: other mail order: Use to
1246
+ * indicate that the type of mail/telephone order is unknown.
1247
+ * - `secure_electronic_commerce` - Secure electronic commerce transaction: Use to
1248
+ * indicate that the electronic commerce transaction has been authenticated using
1249
+ * e.g., 3-D Secure
1250
+ * - `non_authenticated_security_transaction_at_3ds_capable_merchant` -
1251
+ * Non-authenticated security transaction at a 3-D Secure-capable merchant, and
1252
+ * merchant attempted to authenticate the cardholder using 3-D Secure: Use to
1253
+ * identify an electronic commerce transaction where the merchant attempted to
1254
+ * authenticate the cardholder using 3-D Secure, but was unable to complete the
1255
+ * authentication because the issuer or cardholder does not participate in the
1256
+ * 3-D Secure program.
1257
+ * - `non_authenticated_security_transaction` - Non-authenticated security
1258
+ * transaction: Use to identify an electronic commerce transaction that uses data
1259
+ * encryption for security however, cardholder authentication is not performed
1260
+ * using 3-D Secure.
1261
+ * - `non_secure_transaction` - Non-secure transaction: Use to identify an
1262
+ * electronic commerce transaction that has no data protection.
1263
+ */
1264
+ electronic_commerce_indicator: 'mail_phone_order' | 'recurring' | 'installment' | 'unknown_mail_phone_order' | 'secure_electronic_commerce' | 'non_authenticated_security_transaction_at_3ds_capable_merchant' | 'non_authenticated_security_transaction' | 'non_secure_transaction' | null;
1265
+ /**
1266
+ * The method used to enter the cardholder's primary account number and card
1267
+ * expiration date.
1268
+ *
1269
+ * - `unknown` - Unknown
1270
+ * - `manual` - Manual key entry
1271
+ * - `magnetic_stripe_no_cvv` - Magnetic stripe read, without card verification
1272
+ * value
1273
+ * - `optical_code` - Optical code
1274
+ * - `integrated_circuit_card` - Contact chip card
1275
+ * - `contactless` - Contactless read of chip card
1276
+ * - `credential_on_file` - Transaction initiated using a credential that has
1277
+ * previously been stored on file
1278
+ * - `magnetic_stripe` - Magnetic stripe read
1279
+ * - `contactless_magnetic_stripe` - Contactless read of magnetic stripe data
1280
+ * - `integrated_circuit_card_no_cvv` - Contact chip card, without card
1281
+ * verification value
1282
+ */
1283
+ point_of_service_entry_mode: 'unknown' | 'manual' | 'magnetic_stripe_no_cvv' | 'optical_code' | 'integrated_circuit_card' | 'contactless' | 'credential_on_file' | 'magnetic_stripe' | 'contactless_magnetic_stripe' | 'integrated_circuit_card_no_cvv' | null;
1284
+ /**
1285
+ * Only present when `actioner: network`. Describes why a card authorization was
1286
+ * approved or declined by Visa through stand-in processing.
1287
+ *
1288
+ * - `issuer_error` - Increase failed to process the authorization in a timely
1289
+ * manner.
1290
+ * - `invalid_physical_card` - The physical card read had an invalid CVV, dCVV, or
1291
+ * authorization request cryptogram.
1292
+ * - `invalid_cardholder_authentication_verification_value` - The 3DS cardholder
1293
+ * authentication verification value was invalid.
1294
+ * - `internal_visa_error` - An internal Visa error occurred. Visa uses this reason
1295
+ * code for certain expected occurrences as well, such as Application Transaction
1296
+ * Counter (ATC) replays.
1297
+ * - `merchant_transaction_advisory_service_authentication_required` - The merchant
1298
+ * has enabled Visa's Transaction Advisory Service and requires further
1299
+ * authentication to perform the transaction. In practice this is often utilized
1300
+ * at fuel pumps to tell the cardholder to see the cashier.
1301
+ * - `payment_fraud_disruption_acquirer_block` - The transaction was blocked by
1302
+ * Visa's Payment Fraud Disruption service due to fraudulent Acquirer behavior,
1303
+ * such as card testing.
1304
+ * - `other` - An unspecific reason for stand-in processing.
1305
+ */
1306
+ stand_in_processing_reason: 'issuer_error' | 'invalid_physical_card' | 'invalid_cardholder_authentication_verification_value' | 'internal_visa_error' | 'merchant_transaction_advisory_service_authentication_required' | 'payment_fraud_disruption_acquirer_block' | 'other' | null;
1307
+ }
1308
+ }
1309
+ /**
1310
+ * Network-specific identifiers for a specific request or transaction.
1311
+ */
1312
+ interface NetworkIdentifiers {
1313
+ /**
1314
+ * The randomly generated 6-character Authorization Identification Response code
1315
+ * sent back to the acquirer in an approved response.
1316
+ */
1317
+ authorization_identification_response: string | null;
1318
+ /**
1319
+ * A life-cycle identifier used across e.g., an authorization and a reversal.
1320
+ * Expected to be unique per acquirer within a window of time. For some card
1321
+ * networks the retrieval reference number includes the trace counter.
1322
+ */
1323
+ retrieval_reference_number: string | null;
1324
+ /**
1325
+ * A counter used to verify an individual authorization. Expected to be unique per
1326
+ * acquirer within a window of time.
1327
+ */
1328
+ trace_number: string | null;
1329
+ /**
1330
+ * A globally unique transaction identifier provided by the card network, used
1331
+ * across multiple life-cycle requests.
1332
+ */
1333
+ transaction_id: string | null;
1334
+ }
1335
+ /**
1336
+ * Fields related to verification of cardholder-provided values.
1337
+ */
1338
+ interface Verification {
1339
+ /**
1340
+ * Fields related to verification of the Card Verification Code, a 3-digit code on
1341
+ * the back of the card.
1342
+ */
1343
+ card_verification_code: Verification.CardVerificationCode;
1344
+ /**
1345
+ * Cardholder address provided in the authorization request and the address on file
1346
+ * we verified it against.
1347
+ */
1348
+ cardholder_address: Verification.CardholderAddress;
1349
+ }
1350
+ namespace Verification {
1351
+ /**
1352
+ * Fields related to verification of the Card Verification Code, a 3-digit code on
1353
+ * the back of the card.
1354
+ */
1355
+ interface CardVerificationCode {
1356
+ /**
1357
+ * The result of verifying the Card Verification Code.
1358
+ *
1359
+ * - `not_checked` - No card verification code was provided in the authorization
1360
+ * request.
1361
+ * - `match` - The card verification code matched the one on file.
1362
+ * - `no_match` - The card verification code did not match the one on file.
1363
+ */
1364
+ result: 'not_checked' | 'match' | 'no_match';
1365
+ }
1366
+ /**
1367
+ * Cardholder address provided in the authorization request and the address on file
1368
+ * we verified it against.
1369
+ */
1370
+ interface CardholderAddress {
1371
+ /**
1372
+ * Line 1 of the address on file for the cardholder.
1373
+ */
1374
+ actual_line1: string | null;
1375
+ /**
1376
+ * The postal code of the address on file for the cardholder.
1377
+ */
1378
+ actual_postal_code: string | null;
1379
+ /**
1380
+ * The cardholder address line 1 provided for verification in the authorization
1381
+ * request.
1382
+ */
1383
+ provided_line1: string | null;
1384
+ /**
1385
+ * The postal code provided for verification in the authorization request.
1386
+ */
1387
+ provided_postal_code: string | null;
1388
+ /**
1389
+ * The address verification result returned to the card network.
1390
+ *
1391
+ * - `not_checked` - No address information was provided in the authorization
1392
+ * request.
1393
+ * - `postal_code_match_address_no_match` - Postal code matches, but the street
1394
+ * address does not match or was not provided.
1395
+ * - `postal_code_no_match_address_match` - Postal code does not match, but the
1396
+ * street address matches or was not provided.
1397
+ * - `match` - Postal code and street address match.
1398
+ * - `no_match` - Postal code and street address do not match.
1399
+ * - `postal_code_match_address_not_checked` - Postal code matches, but the street
1400
+ * address was not verified. (deprecated)
1401
+ */
1402
+ result: 'not_checked' | 'postal_code_match_address_no_match' | 'postal_code_no_match_address_match' | 'match' | 'no_match' | 'postal_code_match_address_not_checked';
1403
+ }
1404
+ }
1405
+ }
1406
+ /**
1407
+ * A Card Push Transfer Acceptance object. This field will be present in the JSON
1408
+ * response if and only if `category` is equal to `card_push_transfer_acceptance`.
1409
+ * A Card Push Transfer Acceptance is created when an Outbound Card Push Transfer
1410
+ * sent from Increase is accepted by the receiving bank.
1411
+ */
1412
+ interface CardPushTransferAcceptance {
1413
+ /**
1414
+ * The transfer amount in USD cents.
1415
+ */
1416
+ settlement_amount: number;
1417
+ /**
1418
+ * The identifier of the Card Push Transfer that led to this Transaction.
1419
+ */
1420
+ transfer_id: string;
1421
+ [k: string]: unknown;
1422
+ }
1423
+ /**
1424
+ * A Card Refund object. This field will be present in the JSON response if and
1425
+ * only if `category` is equal to `card_refund`. Card Refunds move money back to
1426
+ * the cardholder. While they are usually connected to a Card Settlement an
1427
+ * acquirer can also refund money directly to a card without relation to a
1428
+ * transaction.
1429
+ */
1430
+ interface CardRefund {
1431
+ /**
1432
+ * The Card Refund identifier.
1433
+ */
1434
+ id: string;
1435
+ /**
1436
+ * The amount in the minor unit of the transaction's settlement currency. For
1437
+ * dollars, for example, this is cents.
1438
+ */
1439
+ amount: number;
1440
+ /**
1441
+ * The ID of the Card Payment this transaction belongs to.
1442
+ */
1443
+ card_payment_id: string;
1444
+ /**
1445
+ * Cashback debited for this transaction, if eligible. Cashback is paid out in
1446
+ * aggregate, monthly.
1447
+ */
1448
+ cashback: CardRefund.Cashback | null;
1449
+ /**
1450
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
1451
+ * transaction's settlement currency.
1452
+ *
1453
+ * - `USD` - US Dollar (USD)
1454
+ */
1455
+ currency: 'USD';
1456
+ /**
1457
+ * Interchange assessed as a part of this transaciton.
1458
+ */
1459
+ interchange: CardRefund.Interchange | null;
1460
+ /**
1461
+ * The merchant identifier (commonly abbreviated as MID) of the merchant the card
1462
+ * is transacting with.
1463
+ */
1464
+ merchant_acceptor_id: string;
1465
+ /**
1466
+ * The 4-digit MCC describing the merchant's business.
1467
+ */
1468
+ merchant_category_code: string;
1469
+ /**
1470
+ * The city the merchant resides in.
1471
+ */
1472
+ merchant_city: string;
1473
+ /**
1474
+ * The country the merchant resides in.
1475
+ */
1476
+ merchant_country: string;
1477
+ /**
1478
+ * The name of the merchant.
1479
+ */
1480
+ merchant_name: string;
1481
+ /**
1482
+ * The merchant's postal code. For US merchants this is always a 5-digit ZIP code.
1483
+ */
1484
+ merchant_postal_code: string | null;
1485
+ /**
1486
+ * The state the merchant resides in.
1487
+ */
1488
+ merchant_state: string | null;
1489
+ /**
1490
+ * Network-specific identifiers for this refund.
1491
+ */
1492
+ network_identifiers: CardRefund.NetworkIdentifiers;
1493
+ /**
1494
+ * The amount in the minor unit of the transaction's presentment currency.
1495
+ */
1496
+ presentment_amount: number;
1497
+ /**
1498
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
1499
+ * transaction's presentment currency.
1500
+ */
1501
+ presentment_currency: string;
1502
+ /**
1503
+ * Additional details about the card purchase, such as tax and industry-specific
1504
+ * fields.
1505
+ */
1506
+ purchase_details: CardRefund.PurchaseDetails | null;
1507
+ /**
1508
+ * The identifier of the Transaction associated with this Transaction.
1509
+ */
1510
+ transaction_id: string;
1511
+ /**
1512
+ * A constant representing the object's type. For this resource it will always be
1513
+ * `card_refund`.
1514
+ */
1515
+ type: 'card_refund';
1516
+ [k: string]: unknown;
1517
+ }
1518
+ namespace CardRefund {
1519
+ /**
1520
+ * Cashback debited for this transaction, if eligible. Cashback is paid out in
1521
+ * aggregate, monthly.
1522
+ */
1523
+ interface Cashback {
1524
+ /**
1525
+ * The cashback amount given as a string containing a decimal number. The amount is
1526
+ * a positive number if it will be credited to you (e.g., settlements) and a
1527
+ * negative number if it will be debited (e.g., refunds).
1528
+ */
1529
+ amount: string;
1530
+ /**
1531
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the cashback.
1532
+ *
1533
+ * - `USD` - US Dollar (USD)
1534
+ */
1535
+ currency: 'USD';
1536
+ }
1537
+ /**
1538
+ * Interchange assessed as a part of this transaciton.
1539
+ */
1540
+ interface Interchange {
1541
+ /**
1542
+ * The interchange amount given as a string containing a decimal number in major
1543
+ * units (so e.g., "3.14" for $3.14). The amount is a positive number if it is
1544
+ * credited to Increase (e.g., settlements) and a negative number if it is debited
1545
+ * (e.g., refunds).
1546
+ */
1547
+ amount: string;
1548
+ /**
1549
+ * The card network specific interchange code.
1550
+ */
1551
+ code: string | null;
1552
+ /**
1553
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the interchange
1554
+ * reimbursement.
1555
+ *
1556
+ * - `USD` - US Dollar (USD)
1557
+ */
1558
+ currency: 'USD';
1559
+ }
1560
+ /**
1561
+ * Network-specific identifiers for this refund.
1562
+ */
1563
+ interface NetworkIdentifiers {
1564
+ /**
1565
+ * A network assigned business ID that identifies the acquirer that processed this
1566
+ * transaction.
1567
+ */
1568
+ acquirer_business_id: string;
1569
+ /**
1570
+ * A globally unique identifier for this settlement.
1571
+ */
1572
+ acquirer_reference_number: string;
1573
+ /**
1574
+ * The randomly generated 6-character Authorization Identification Response code
1575
+ * sent back to the acquirer in an approved response.
1576
+ */
1577
+ authorization_identification_response: string | null;
1578
+ /**
1579
+ * A globally unique transaction identifier provided by the card network, used
1580
+ * across multiple life-cycle requests.
1581
+ */
1582
+ transaction_id: string | null;
1583
+ }
1584
+ /**
1585
+ * Additional details about the card purchase, such as tax and industry-specific
1586
+ * fields.
1587
+ */
1588
+ interface PurchaseDetails {
1589
+ /**
1590
+ * Fields specific to car rentals.
1591
+ */
1592
+ car_rental: PurchaseDetails.CarRental | null;
1593
+ /**
1594
+ * An identifier from the merchant for the customer or consumer.
1595
+ */
1596
+ customer_reference_identifier: string | null;
1597
+ /**
1598
+ * The state or provincial tax amount in minor units.
1599
+ */
1600
+ local_tax_amount: number | null;
1601
+ /**
1602
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the local tax
1603
+ * assessed.
1604
+ */
1605
+ local_tax_currency: string | null;
1606
+ /**
1607
+ * Fields specific to lodging.
1608
+ */
1609
+ lodging: PurchaseDetails.Lodging | null;
1610
+ /**
1611
+ * The national tax amount in minor units.
1612
+ */
1613
+ national_tax_amount: number | null;
1614
+ /**
1615
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the local tax
1616
+ * assessed.
1617
+ */
1618
+ national_tax_currency: string | null;
1619
+ /**
1620
+ * An identifier from the merchant for the purchase to the issuer and cardholder.
1621
+ */
1622
+ purchase_identifier: string | null;
1623
+ /**
1624
+ * The format of the purchase identifier.
1625
+ *
1626
+ * - `free_text` - Free text
1627
+ * - `order_number` - Order number
1628
+ * - `rental_agreement_number` - Rental agreement number
1629
+ * - `hotel_folio_number` - Hotel folio number
1630
+ * - `invoice_number` - Invoice number
1631
+ */
1632
+ purchase_identifier_format: 'free_text' | 'order_number' | 'rental_agreement_number' | 'hotel_folio_number' | 'invoice_number' | null;
1633
+ /**
1634
+ * Fields specific to travel.
1635
+ */
1636
+ travel: PurchaseDetails.Travel | null;
1637
+ }
1638
+ namespace PurchaseDetails {
1639
+ /**
1640
+ * Fields specific to car rentals.
1641
+ */
1642
+ interface CarRental {
1643
+ /**
1644
+ * Code indicating the vehicle's class.
1645
+ */
1646
+ car_class_code: string | null;
1647
+ /**
1648
+ * Date the customer picked up the car or, in the case of a no-show or pre-pay
1649
+ * transaction, the scheduled pick up date.
1650
+ */
1651
+ checkout_date: string | null;
1652
+ /**
1653
+ * Daily rate being charged for the vehicle.
1654
+ */
1655
+ daily_rental_rate_amount: number | null;
1656
+ /**
1657
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the daily rental
1658
+ * rate.
1659
+ */
1660
+ daily_rental_rate_currency: string | null;
1661
+ /**
1662
+ * Number of days the vehicle was rented.
1663
+ */
1664
+ days_rented: number | null;
1665
+ /**
1666
+ * Additional charges (gas, late fee, etc.) being billed.
1667
+ *
1668
+ * - `no_extra_charge` - No extra charge
1669
+ * - `gas` - Gas
1670
+ * - `extra_mileage` - Extra mileage
1671
+ * - `late_return` - Late return
1672
+ * - `one_way_service_fee` - One way service fee
1673
+ * - `parking_violation` - Parking violation
1674
+ */
1675
+ extra_charges: 'no_extra_charge' | 'gas' | 'extra_mileage' | 'late_return' | 'one_way_service_fee' | 'parking_violation' | null;
1676
+ /**
1677
+ * Fuel charges for the vehicle.
1678
+ */
1679
+ fuel_charges_amount: number | null;
1680
+ /**
1681
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fuel charges
1682
+ * assessed.
1683
+ */
1684
+ fuel_charges_currency: string | null;
1685
+ /**
1686
+ * Any insurance being charged for the vehicle.
1687
+ */
1688
+ insurance_charges_amount: number | null;
1689
+ /**
1690
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the insurance
1691
+ * charges assessed.
1692
+ */
1693
+ insurance_charges_currency: string | null;
1694
+ /**
1695
+ * An indicator that the cardholder is being billed for a reserved vehicle that was
1696
+ * not actually rented (that is, a "no-show" charge).
1697
+ *
1698
+ * - `not_applicable` - Not applicable
1699
+ * - `no_show_for_specialized_vehicle` - No show for specialized vehicle
1700
+ */
1701
+ no_show_indicator: 'not_applicable' | 'no_show_for_specialized_vehicle' | null;
1702
+ /**
1703
+ * Charges for returning the vehicle at a different location than where it was
1704
+ * picked up.
1705
+ */
1706
+ one_way_drop_off_charges_amount: number | null;
1707
+ /**
1708
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the one-way
1709
+ * drop-off charges assessed.
1710
+ */
1711
+ one_way_drop_off_charges_currency: string | null;
1712
+ /**
1713
+ * Name of the person renting the vehicle.
1714
+ */
1715
+ renter_name: string | null;
1716
+ /**
1717
+ * Weekly rate being charged for the vehicle.
1718
+ */
1719
+ weekly_rental_rate_amount: number | null;
1720
+ /**
1721
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the weekly
1722
+ * rental rate.
1723
+ */
1724
+ weekly_rental_rate_currency: string | null;
1725
+ }
1726
+ /**
1727
+ * Fields specific to lodging.
1728
+ */
1729
+ interface Lodging {
1730
+ /**
1731
+ * Date the customer checked in.
1732
+ */
1733
+ check_in_date: string | null;
1734
+ /**
1735
+ * Daily rate being charged for the room.
1736
+ */
1737
+ daily_room_rate_amount: number | null;
1738
+ /**
1739
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the daily room
1740
+ * rate.
1741
+ */
1742
+ daily_room_rate_currency: string | null;
1743
+ /**
1744
+ * Additional charges (phone, late check-out, etc.) being billed.
1745
+ *
1746
+ * - `no_extra_charge` - No extra charge
1747
+ * - `restaurant` - Restaurant
1748
+ * - `gift_shop` - Gift shop
1749
+ * - `mini_bar` - Mini bar
1750
+ * - `telephone` - Telephone
1751
+ * - `other` - Other
1752
+ * - `laundry` - Laundry
1753
+ */
1754
+ extra_charges: 'no_extra_charge' | 'restaurant' | 'gift_shop' | 'mini_bar' | 'telephone' | 'other' | 'laundry' | null;
1755
+ /**
1756
+ * Folio cash advances for the room.
1757
+ */
1758
+ folio_cash_advances_amount: number | null;
1759
+ /**
1760
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the folio cash
1761
+ * advances.
1762
+ */
1763
+ folio_cash_advances_currency: string | null;
1764
+ /**
1765
+ * Food and beverage charges for the room.
1766
+ */
1767
+ food_beverage_charges_amount: number | null;
1768
+ /**
1769
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the food and
1770
+ * beverage charges.
1771
+ */
1772
+ food_beverage_charges_currency: string | null;
1773
+ /**
1774
+ * Indicator that the cardholder is being billed for a reserved room that was not
1775
+ * actually used.
1776
+ *
1777
+ * - `not_applicable` - Not applicable
1778
+ * - `no_show` - No show
1779
+ */
1780
+ no_show_indicator: 'not_applicable' | 'no_show' | null;
1781
+ /**
1782
+ * Prepaid expenses being charged for the room.
1783
+ */
1784
+ prepaid_expenses_amount: number | null;
1785
+ /**
1786
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the prepaid
1787
+ * expenses.
1788
+ */
1789
+ prepaid_expenses_currency: string | null;
1790
+ /**
1791
+ * Number of nights the room was rented.
1792
+ */
1793
+ room_nights: number | null;
1794
+ /**
1795
+ * Total room tax being charged.
1796
+ */
1797
+ total_room_tax_amount: number | null;
1798
+ /**
1799
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the total room
1800
+ * tax.
1801
+ */
1802
+ total_room_tax_currency: string | null;
1803
+ /**
1804
+ * Total tax being charged for the room.
1805
+ */
1806
+ total_tax_amount: number | null;
1807
+ /**
1808
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the total tax
1809
+ * assessed.
1810
+ */
1811
+ total_tax_currency: string | null;
1812
+ }
1813
+ /**
1814
+ * Fields specific to travel.
1815
+ */
1816
+ interface Travel {
1817
+ /**
1818
+ * Ancillary purchases in addition to the airfare.
1819
+ */
1820
+ ancillary: Travel.Ancillary | null;
1821
+ /**
1822
+ * Indicates the computerized reservation system used to book the ticket.
1823
+ */
1824
+ computerized_reservation_system: string | null;
1825
+ /**
1826
+ * Indicates the reason for a credit to the cardholder.
1827
+ *
1828
+ * - `no_credit` - No credit
1829
+ * - `passenger_transport_ancillary_purchase_cancellation` - Passenger transport
1830
+ * ancillary purchase cancellation
1831
+ * - `airline_ticket_and_passenger_transport_ancillary_purchase_cancellation` -
1832
+ * Airline ticket and passenger transport ancillary purchase cancellation
1833
+ * - `airline_ticket_cancellation` - Airline ticket cancellation
1834
+ * - `other` - Other
1835
+ * - `partial_refund_of_airline_ticket` - Partial refund of airline ticket
1836
+ */
1837
+ credit_reason_indicator: 'no_credit' | 'passenger_transport_ancillary_purchase_cancellation' | 'airline_ticket_and_passenger_transport_ancillary_purchase_cancellation' | 'airline_ticket_cancellation' | 'other' | 'partial_refund_of_airline_ticket' | null;
1838
+ /**
1839
+ * Date of departure.
1840
+ */
1841
+ departure_date: string | null;
1842
+ /**
1843
+ * Code for the originating city or airport.
1844
+ */
1845
+ origination_city_airport_code: string | null;
1846
+ /**
1847
+ * Name of the passenger.
1848
+ */
1849
+ passenger_name: string | null;
1850
+ /**
1851
+ * Indicates whether this ticket is non-refundable.
1852
+ *
1853
+ * - `no_restrictions` - No restrictions
1854
+ * - `restricted_non_refundable_ticket` - Restricted non-refundable ticket
1855
+ */
1856
+ restricted_ticket_indicator: 'no_restrictions' | 'restricted_non_refundable_ticket' | null;
1857
+ /**
1858
+ * Indicates why a ticket was changed.
1859
+ *
1860
+ * - `none` - None
1861
+ * - `change_to_existing_ticket` - Change to existing ticket
1862
+ * - `new_ticket` - New ticket
1863
+ */
1864
+ ticket_change_indicator: 'none' | 'change_to_existing_ticket' | 'new_ticket' | null;
1865
+ /**
1866
+ * Ticket number.
1867
+ */
1868
+ ticket_number: string | null;
1869
+ /**
1870
+ * Code for the travel agency if the ticket was issued by a travel agency.
1871
+ */
1872
+ travel_agency_code: string | null;
1873
+ /**
1874
+ * Name of the travel agency if the ticket was issued by a travel agency.
1875
+ */
1876
+ travel_agency_name: string | null;
1877
+ /**
1878
+ * Fields specific to each leg of the journey.
1879
+ */
1880
+ trip_legs: Array<Travel.TripLeg> | null;
1881
+ }
1882
+ namespace Travel {
1883
+ /**
1884
+ * Ancillary purchases in addition to the airfare.
1885
+ */
1886
+ interface Ancillary {
1887
+ /**
1888
+ * If this purchase has a connection or relationship to another purchase, such as a
1889
+ * baggage fee for a passenger transport ticket, this field should contain the
1890
+ * ticket document number for the other purchase.
1891
+ */
1892
+ connected_ticket_document_number: string | null;
1893
+ /**
1894
+ * Indicates the reason for a credit to the cardholder.
1895
+ *
1896
+ * - `no_credit` - No credit
1897
+ * - `passenger_transport_ancillary_purchase_cancellation` - Passenger transport
1898
+ * ancillary purchase cancellation
1899
+ * - `airline_ticket_and_passenger_transport_ancillary_purchase_cancellation` -
1900
+ * Airline ticket and passenger transport ancillary purchase cancellation
1901
+ * - `other` - Other
1902
+ */
1903
+ credit_reason_indicator: 'no_credit' | 'passenger_transport_ancillary_purchase_cancellation' | 'airline_ticket_and_passenger_transport_ancillary_purchase_cancellation' | 'other' | null;
1904
+ /**
1905
+ * Name of the passenger or description of the ancillary purchase.
1906
+ */
1907
+ passenger_name_or_description: string | null;
1908
+ /**
1909
+ * Additional travel charges, such as baggage fees.
1910
+ */
1911
+ services: Array<Ancillary.Service>;
1912
+ /**
1913
+ * Ticket document number.
1914
+ */
1915
+ ticket_document_number: string | null;
1916
+ }
1917
+ namespace Ancillary {
1918
+ interface Service {
1919
+ /**
1920
+ * Category of the ancillary service.
1921
+ *
1922
+ * - `none` - None
1923
+ * - `bundled_service` - Bundled service
1924
+ * - `baggage_fee` - Baggage fee
1925
+ * - `change_fee` - Change fee
1926
+ * - `cargo` - Cargo
1927
+ * - `carbon_offset` - Carbon offset
1928
+ * - `frequent_flyer` - Frequent flyer
1929
+ * - `gift_card` - Gift card
1930
+ * - `ground_transport` - Ground transport
1931
+ * - `in_flight_entertainment` - In-flight entertainment
1932
+ * - `lounge` - Lounge
1933
+ * - `medical` - Medical
1934
+ * - `meal_beverage` - Meal beverage
1935
+ * - `other` - Other
1936
+ * - `passenger_assist_fee` - Passenger assist fee
1937
+ * - `pets` - Pets
1938
+ * - `seat_fees` - Seat fees
1939
+ * - `standby` - Standby
1940
+ * - `service_fee` - Service fee
1941
+ * - `store` - Store
1942
+ * - `travel_service` - Travel service
1943
+ * - `unaccompanied_travel` - Unaccompanied travel
1944
+ * - `upgrades` - Upgrades
1945
+ * - `wifi` - Wi-fi
1946
+ */
1947
+ category: 'none' | 'bundled_service' | 'baggage_fee' | 'change_fee' | 'cargo' | 'carbon_offset' | 'frequent_flyer' | 'gift_card' | 'ground_transport' | 'in_flight_entertainment' | 'lounge' | 'medical' | 'meal_beverage' | 'other' | 'passenger_assist_fee' | 'pets' | 'seat_fees' | 'standby' | 'service_fee' | 'store' | 'travel_service' | 'unaccompanied_travel' | 'upgrades' | 'wifi' | null;
1948
+ /**
1949
+ * Sub-category of the ancillary service, free-form.
1950
+ */
1951
+ sub_category: string | null;
1952
+ }
1953
+ }
1954
+ interface TripLeg {
1955
+ /**
1956
+ * Carrier code (e.g., United Airlines, Jet Blue, etc.).
1957
+ */
1958
+ carrier_code: string | null;
1959
+ /**
1960
+ * Code for the destination city or airport.
1961
+ */
1962
+ destination_city_airport_code: string | null;
1963
+ /**
1964
+ * Fare basis code.
1965
+ */
1966
+ fare_basis_code: string | null;
1967
+ /**
1968
+ * Flight number.
1969
+ */
1970
+ flight_number: string | null;
1971
+ /**
1972
+ * Service class (e.g., first class, business class, etc.).
1973
+ */
1974
+ service_class: string | null;
1975
+ /**
1976
+ * Indicates whether a stopover is allowed on this ticket.
1977
+ *
1978
+ * - `none` - None
1979
+ * - `stop_over_allowed` - Stop over allowed
1980
+ * - `stop_over_not_allowed` - Stop over not allowed
1981
+ */
1982
+ stop_over_code: 'none' | 'stop_over_allowed' | 'stop_over_not_allowed' | null;
1983
+ }
1984
+ }
1985
+ }
1986
+ }
1987
+ /**
1988
+ * A Card Revenue Payment object. This field will be present in the JSON response
1989
+ * if and only if `category` is equal to `card_revenue_payment`. Card Revenue
1990
+ * Payments reflect earnings from fees on card transactions.
1991
+ */
1992
+ interface CardRevenuePayment {
1993
+ /**
1994
+ * The amount in the minor unit of the transaction's currency. For dollars, for
1995
+ * example, this is cents.
1996
+ */
1997
+ amount: number;
1998
+ /**
1999
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction
2000
+ * currency.
2001
+ *
2002
+ * - `USD` - US Dollar (USD)
2003
+ */
2004
+ currency: 'USD';
2005
+ /**
2006
+ * The end of the period for which this transaction paid interest.
2007
+ */
2008
+ period_end: string;
2009
+ /**
2010
+ * The start of the period for which this transaction paid interest.
2011
+ */
2012
+ period_start: string;
2013
+ /**
2014
+ * The account the card belonged to.
2015
+ */
2016
+ transacted_on_account_id: string | null;
2017
+ [k: string]: unknown;
2018
+ }
2019
+ /**
2020
+ * A Card Settlement object. This field will be present in the JSON response if and
2021
+ * only if `category` is equal to `card_settlement`. Card Settlements are card
2022
+ * transactions that have cleared and settled. While a settlement is usually
2023
+ * preceded by an authorization, an acquirer can also directly clear a transaction
2024
+ * without first authorizing it.
2025
+ */
2026
+ interface CardSettlement {
2027
+ /**
2028
+ * The Card Settlement identifier.
2029
+ */
2030
+ id: string;
2031
+ /**
2032
+ * The amount in the minor unit of the transaction's settlement currency. For
2033
+ * dollars, for example, this is cents.
2034
+ */
2035
+ amount: number;
2036
+ /**
2037
+ * The Card Authorization that was created prior to this Card Settlement, if one
2038
+ * exists.
2039
+ */
2040
+ card_authorization: string | null;
2041
+ /**
2042
+ * The ID of the Card Payment this transaction belongs to.
2043
+ */
2044
+ card_payment_id: string;
2045
+ /**
2046
+ * Cashback earned on this transaction, if eligible. Cashback is paid out in
2047
+ * aggregate, monthly.
2048
+ */
2049
+ cashback: CardSettlement.Cashback | null;
2050
+ /**
2051
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
2052
+ * transaction's settlement currency.
2053
+ *
2054
+ * - `USD` - US Dollar (USD)
2055
+ */
2056
+ currency: 'USD';
2057
+ /**
2058
+ * Interchange assessed as a part of this transaction.
2059
+ */
2060
+ interchange: CardSettlement.Interchange | null;
2061
+ /**
2062
+ * The merchant identifier (commonly abbreviated as MID) of the merchant the card
2063
+ * is transacting with.
2064
+ */
2065
+ merchant_acceptor_id: string;
2066
+ /**
2067
+ * The 4-digit MCC describing the merchant's business.
2068
+ */
2069
+ merchant_category_code: string;
2070
+ /**
2071
+ * The city the merchant resides in.
2072
+ */
2073
+ merchant_city: string;
2074
+ /**
2075
+ * The country the merchant resides in.
2076
+ */
2077
+ merchant_country: string;
2078
+ /**
2079
+ * The name of the merchant.
2080
+ */
2081
+ merchant_name: string;
2082
+ /**
2083
+ * The merchant's postal code. For US merchants this is always a 5-digit ZIP code.
2084
+ */
2085
+ merchant_postal_code: string | null;
2086
+ /**
2087
+ * The state the merchant resides in.
2088
+ */
2089
+ merchant_state: string | null;
2090
+ /**
2091
+ * The card network on which this transaction was processed.
2092
+ *
2093
+ * - `visa` - Visa
2094
+ * - `pulse` - Pulse
2095
+ */
2096
+ network: 'visa' | 'pulse';
2097
+ /**
2098
+ * Network-specific identifiers for this refund.
2099
+ */
2100
+ network_identifiers: CardSettlement.NetworkIdentifiers;
2101
+ /**
2102
+ * The identifier of the Pending Transaction associated with this Transaction.
2103
+ */
2104
+ pending_transaction_id: string | null;
2105
+ /**
2106
+ * The amount in the minor unit of the transaction's presentment currency.
2107
+ */
2108
+ presentment_amount: number;
2109
+ /**
2110
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
2111
+ * transaction's presentment currency.
2112
+ */
2113
+ presentment_currency: string;
2114
+ /**
2115
+ * Additional details about the card purchase, such as tax and industry-specific
2116
+ * fields.
2117
+ */
2118
+ purchase_details: CardSettlement.PurchaseDetails | null;
2119
+ /**
2120
+ * Surcharge amount details, if applicable. The amount is positive if the surcharge
2121
+ * is added to to the overall transaction amount (surcharge), and negative if the
2122
+ * surcharge is deducted from the overall transaction amount (discount).
2123
+ */
2124
+ surcharge: CardSettlement.Surcharge | null;
2125
+ /**
2126
+ * The identifier of the Transaction associated with this Transaction.
2127
+ */
2128
+ transaction_id: string;
2129
+ /**
2130
+ * A constant representing the object's type. For this resource it will always be
2131
+ * `card_settlement`.
2132
+ */
2133
+ type: 'card_settlement';
2134
+ [k: string]: unknown;
2135
+ }
2136
+ namespace CardSettlement {
2137
+ /**
2138
+ * Cashback earned on this transaction, if eligible. Cashback is paid out in
2139
+ * aggregate, monthly.
2140
+ */
2141
+ interface Cashback {
2142
+ /**
2143
+ * The cashback amount given as a string containing a decimal number. The amount is
2144
+ * a positive number if it will be credited to you (e.g., settlements) and a
2145
+ * negative number if it will be debited (e.g., refunds).
2146
+ */
2147
+ amount: string;
2148
+ /**
2149
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the cashback.
2150
+ *
2151
+ * - `USD` - US Dollar (USD)
2152
+ */
2153
+ currency: 'USD';
2154
+ }
2155
+ /**
2156
+ * Interchange assessed as a part of this transaction.
2157
+ */
2158
+ interface Interchange {
2159
+ /**
2160
+ * The interchange amount given as a string containing a decimal number in major
2161
+ * units (so e.g., "3.14" for $3.14). The amount is a positive number if it is
2162
+ * credited to Increase (e.g., settlements) and a negative number if it is debited
2163
+ * (e.g., refunds).
2164
+ */
2165
+ amount: string;
2166
+ /**
2167
+ * The card network specific interchange code.
2168
+ */
2169
+ code: string | null;
2170
+ /**
2171
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the interchange
2172
+ * reimbursement.
2173
+ *
2174
+ * - `USD` - US Dollar (USD)
2175
+ */
2176
+ currency: 'USD';
2177
+ }
2178
+ /**
2179
+ * Network-specific identifiers for this refund.
2180
+ */
2181
+ interface NetworkIdentifiers {
2182
+ /**
2183
+ * A network assigned business ID that identifies the acquirer that processed this
2184
+ * transaction.
2185
+ */
2186
+ acquirer_business_id: string;
2187
+ /**
2188
+ * A globally unique identifier for this settlement.
2189
+ */
2190
+ acquirer_reference_number: string;
2191
+ /**
2192
+ * The randomly generated 6-character Authorization Identification Response code
2193
+ * sent back to the acquirer in an approved response.
2194
+ */
2195
+ authorization_identification_response: string | null;
2196
+ /**
2197
+ * A globally unique transaction identifier provided by the card network, used
2198
+ * across multiple life-cycle requests.
2199
+ */
2200
+ transaction_id: string | null;
2201
+ }
2202
+ /**
2203
+ * Additional details about the card purchase, such as tax and industry-specific
2204
+ * fields.
2205
+ */
2206
+ interface PurchaseDetails {
2207
+ /**
2208
+ * Fields specific to car rentals.
2209
+ */
2210
+ car_rental: PurchaseDetails.CarRental | null;
2211
+ /**
2212
+ * An identifier from the merchant for the customer or consumer.
2213
+ */
2214
+ customer_reference_identifier: string | null;
2215
+ /**
2216
+ * The state or provincial tax amount in minor units.
2217
+ */
2218
+ local_tax_amount: number | null;
2219
+ /**
2220
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the local tax
2221
+ * assessed.
2222
+ */
2223
+ local_tax_currency: string | null;
2224
+ /**
2225
+ * Fields specific to lodging.
2226
+ */
2227
+ lodging: PurchaseDetails.Lodging | null;
2228
+ /**
2229
+ * The national tax amount in minor units.
2230
+ */
2231
+ national_tax_amount: number | null;
2232
+ /**
2233
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the local tax
2234
+ * assessed.
2235
+ */
2236
+ national_tax_currency: string | null;
2237
+ /**
2238
+ * An identifier from the merchant for the purchase to the issuer and cardholder.
2239
+ */
2240
+ purchase_identifier: string | null;
2241
+ /**
2242
+ * The format of the purchase identifier.
2243
+ *
2244
+ * - `free_text` - Free text
2245
+ * - `order_number` - Order number
2246
+ * - `rental_agreement_number` - Rental agreement number
2247
+ * - `hotel_folio_number` - Hotel folio number
2248
+ * - `invoice_number` - Invoice number
2249
+ */
2250
+ purchase_identifier_format: 'free_text' | 'order_number' | 'rental_agreement_number' | 'hotel_folio_number' | 'invoice_number' | null;
2251
+ /**
2252
+ * Fields specific to travel.
2253
+ */
2254
+ travel: PurchaseDetails.Travel | null;
2255
+ }
2256
+ namespace PurchaseDetails {
2257
+ /**
2258
+ * Fields specific to car rentals.
2259
+ */
2260
+ interface CarRental {
2261
+ /**
2262
+ * Code indicating the vehicle's class.
2263
+ */
2264
+ car_class_code: string | null;
2265
+ /**
2266
+ * Date the customer picked up the car or, in the case of a no-show or pre-pay
2267
+ * transaction, the scheduled pick up date.
2268
+ */
2269
+ checkout_date: string | null;
2270
+ /**
2271
+ * Daily rate being charged for the vehicle.
2272
+ */
2273
+ daily_rental_rate_amount: number | null;
2274
+ /**
2275
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the daily rental
2276
+ * rate.
2277
+ */
2278
+ daily_rental_rate_currency: string | null;
2279
+ /**
2280
+ * Number of days the vehicle was rented.
2281
+ */
2282
+ days_rented: number | null;
2283
+ /**
2284
+ * Additional charges (gas, late fee, etc.) being billed.
2285
+ *
2286
+ * - `no_extra_charge` - No extra charge
2287
+ * - `gas` - Gas
2288
+ * - `extra_mileage` - Extra mileage
2289
+ * - `late_return` - Late return
2290
+ * - `one_way_service_fee` - One way service fee
2291
+ * - `parking_violation` - Parking violation
2292
+ */
2293
+ extra_charges: 'no_extra_charge' | 'gas' | 'extra_mileage' | 'late_return' | 'one_way_service_fee' | 'parking_violation' | null;
2294
+ /**
2295
+ * Fuel charges for the vehicle.
2296
+ */
2297
+ fuel_charges_amount: number | null;
2298
+ /**
2299
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fuel charges
2300
+ * assessed.
2301
+ */
2302
+ fuel_charges_currency: string | null;
2303
+ /**
2304
+ * Any insurance being charged for the vehicle.
2305
+ */
2306
+ insurance_charges_amount: number | null;
2307
+ /**
2308
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the insurance
2309
+ * charges assessed.
2310
+ */
2311
+ insurance_charges_currency: string | null;
2312
+ /**
2313
+ * An indicator that the cardholder is being billed for a reserved vehicle that was
2314
+ * not actually rented (that is, a "no-show" charge).
2315
+ *
2316
+ * - `not_applicable` - Not applicable
2317
+ * - `no_show_for_specialized_vehicle` - No show for specialized vehicle
2318
+ */
2319
+ no_show_indicator: 'not_applicable' | 'no_show_for_specialized_vehicle' | null;
2320
+ /**
2321
+ * Charges for returning the vehicle at a different location than where it was
2322
+ * picked up.
2323
+ */
2324
+ one_way_drop_off_charges_amount: number | null;
2325
+ /**
2326
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the one-way
2327
+ * drop-off charges assessed.
2328
+ */
2329
+ one_way_drop_off_charges_currency: string | null;
2330
+ /**
2331
+ * Name of the person renting the vehicle.
2332
+ */
2333
+ renter_name: string | null;
2334
+ /**
2335
+ * Weekly rate being charged for the vehicle.
2336
+ */
2337
+ weekly_rental_rate_amount: number | null;
2338
+ /**
2339
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the weekly
2340
+ * rental rate.
2341
+ */
2342
+ weekly_rental_rate_currency: string | null;
2343
+ }
2344
+ /**
2345
+ * Fields specific to lodging.
2346
+ */
2347
+ interface Lodging {
2348
+ /**
2349
+ * Date the customer checked in.
2350
+ */
2351
+ check_in_date: string | null;
2352
+ /**
2353
+ * Daily rate being charged for the room.
2354
+ */
2355
+ daily_room_rate_amount: number | null;
2356
+ /**
2357
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the daily room
2358
+ * rate.
2359
+ */
2360
+ daily_room_rate_currency: string | null;
2361
+ /**
2362
+ * Additional charges (phone, late check-out, etc.) being billed.
2363
+ *
2364
+ * - `no_extra_charge` - No extra charge
2365
+ * - `restaurant` - Restaurant
2366
+ * - `gift_shop` - Gift shop
2367
+ * - `mini_bar` - Mini bar
2368
+ * - `telephone` - Telephone
2369
+ * - `other` - Other
2370
+ * - `laundry` - Laundry
2371
+ */
2372
+ extra_charges: 'no_extra_charge' | 'restaurant' | 'gift_shop' | 'mini_bar' | 'telephone' | 'other' | 'laundry' | null;
2373
+ /**
2374
+ * Folio cash advances for the room.
2375
+ */
2376
+ folio_cash_advances_amount: number | null;
2377
+ /**
2378
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the folio cash
2379
+ * advances.
2380
+ */
2381
+ folio_cash_advances_currency: string | null;
2382
+ /**
2383
+ * Food and beverage charges for the room.
2384
+ */
2385
+ food_beverage_charges_amount: number | null;
2386
+ /**
2387
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the food and
2388
+ * beverage charges.
2389
+ */
2390
+ food_beverage_charges_currency: string | null;
2391
+ /**
2392
+ * Indicator that the cardholder is being billed for a reserved room that was not
2393
+ * actually used.
2394
+ *
2395
+ * - `not_applicable` - Not applicable
2396
+ * - `no_show` - No show
2397
+ */
2398
+ no_show_indicator: 'not_applicable' | 'no_show' | null;
2399
+ /**
2400
+ * Prepaid expenses being charged for the room.
2401
+ */
2402
+ prepaid_expenses_amount: number | null;
2403
+ /**
2404
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the prepaid
2405
+ * expenses.
2406
+ */
2407
+ prepaid_expenses_currency: string | null;
2408
+ /**
2409
+ * Number of nights the room was rented.
2410
+ */
2411
+ room_nights: number | null;
2412
+ /**
2413
+ * Total room tax being charged.
2414
+ */
2415
+ total_room_tax_amount: number | null;
2416
+ /**
2417
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the total room
2418
+ * tax.
2419
+ */
2420
+ total_room_tax_currency: string | null;
2421
+ /**
2422
+ * Total tax being charged for the room.
2423
+ */
2424
+ total_tax_amount: number | null;
2425
+ /**
2426
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the total tax
2427
+ * assessed.
2428
+ */
2429
+ total_tax_currency: string | null;
2430
+ }
2431
+ /**
2432
+ * Fields specific to travel.
2433
+ */
2434
+ interface Travel {
2435
+ /**
2436
+ * Ancillary purchases in addition to the airfare.
2437
+ */
2438
+ ancillary: Travel.Ancillary | null;
2439
+ /**
2440
+ * Indicates the computerized reservation system used to book the ticket.
2441
+ */
2442
+ computerized_reservation_system: string | null;
2443
+ /**
2444
+ * Indicates the reason for a credit to the cardholder.
2445
+ *
2446
+ * - `no_credit` - No credit
2447
+ * - `passenger_transport_ancillary_purchase_cancellation` - Passenger transport
2448
+ * ancillary purchase cancellation
2449
+ * - `airline_ticket_and_passenger_transport_ancillary_purchase_cancellation` -
2450
+ * Airline ticket and passenger transport ancillary purchase cancellation
2451
+ * - `airline_ticket_cancellation` - Airline ticket cancellation
2452
+ * - `other` - Other
2453
+ * - `partial_refund_of_airline_ticket` - Partial refund of airline ticket
2454
+ */
2455
+ credit_reason_indicator: 'no_credit' | 'passenger_transport_ancillary_purchase_cancellation' | 'airline_ticket_and_passenger_transport_ancillary_purchase_cancellation' | 'airline_ticket_cancellation' | 'other' | 'partial_refund_of_airline_ticket' | null;
2456
+ /**
2457
+ * Date of departure.
2458
+ */
2459
+ departure_date: string | null;
2460
+ /**
2461
+ * Code for the originating city or airport.
2462
+ */
2463
+ origination_city_airport_code: string | null;
2464
+ /**
2465
+ * Name of the passenger.
2466
+ */
2467
+ passenger_name: string | null;
2468
+ /**
2469
+ * Indicates whether this ticket is non-refundable.
2470
+ *
2471
+ * - `no_restrictions` - No restrictions
2472
+ * - `restricted_non_refundable_ticket` - Restricted non-refundable ticket
2473
+ */
2474
+ restricted_ticket_indicator: 'no_restrictions' | 'restricted_non_refundable_ticket' | null;
2475
+ /**
2476
+ * Indicates why a ticket was changed.
2477
+ *
2478
+ * - `none` - None
2479
+ * - `change_to_existing_ticket` - Change to existing ticket
2480
+ * - `new_ticket` - New ticket
2481
+ */
2482
+ ticket_change_indicator: 'none' | 'change_to_existing_ticket' | 'new_ticket' | null;
2483
+ /**
2484
+ * Ticket number.
2485
+ */
2486
+ ticket_number: string | null;
2487
+ /**
2488
+ * Code for the travel agency if the ticket was issued by a travel agency.
2489
+ */
2490
+ travel_agency_code: string | null;
2491
+ /**
2492
+ * Name of the travel agency if the ticket was issued by a travel agency.
2493
+ */
2494
+ travel_agency_name: string | null;
2495
+ /**
2496
+ * Fields specific to each leg of the journey.
2497
+ */
2498
+ trip_legs: Array<Travel.TripLeg> | null;
2499
+ }
2500
+ namespace Travel {
2501
+ /**
2502
+ * Ancillary purchases in addition to the airfare.
2503
+ */
2504
+ interface Ancillary {
2505
+ /**
2506
+ * If this purchase has a connection or relationship to another purchase, such as a
2507
+ * baggage fee for a passenger transport ticket, this field should contain the
2508
+ * ticket document number for the other purchase.
2509
+ */
2510
+ connected_ticket_document_number: string | null;
2511
+ /**
2512
+ * Indicates the reason for a credit to the cardholder.
2513
+ *
2514
+ * - `no_credit` - No credit
2515
+ * - `passenger_transport_ancillary_purchase_cancellation` - Passenger transport
2516
+ * ancillary purchase cancellation
2517
+ * - `airline_ticket_and_passenger_transport_ancillary_purchase_cancellation` -
2518
+ * Airline ticket and passenger transport ancillary purchase cancellation
2519
+ * - `other` - Other
2520
+ */
2521
+ credit_reason_indicator: 'no_credit' | 'passenger_transport_ancillary_purchase_cancellation' | 'airline_ticket_and_passenger_transport_ancillary_purchase_cancellation' | 'other' | null;
2522
+ /**
2523
+ * Name of the passenger or description of the ancillary purchase.
2524
+ */
2525
+ passenger_name_or_description: string | null;
2526
+ /**
2527
+ * Additional travel charges, such as baggage fees.
2528
+ */
2529
+ services: Array<Ancillary.Service>;
2530
+ /**
2531
+ * Ticket document number.
2532
+ */
2533
+ ticket_document_number: string | null;
2534
+ }
2535
+ namespace Ancillary {
2536
+ interface Service {
2537
+ /**
2538
+ * Category of the ancillary service.
2539
+ *
2540
+ * - `none` - None
2541
+ * - `bundled_service` - Bundled service
2542
+ * - `baggage_fee` - Baggage fee
2543
+ * - `change_fee` - Change fee
2544
+ * - `cargo` - Cargo
2545
+ * - `carbon_offset` - Carbon offset
2546
+ * - `frequent_flyer` - Frequent flyer
2547
+ * - `gift_card` - Gift card
2548
+ * - `ground_transport` - Ground transport
2549
+ * - `in_flight_entertainment` - In-flight entertainment
2550
+ * - `lounge` - Lounge
2551
+ * - `medical` - Medical
2552
+ * - `meal_beverage` - Meal beverage
2553
+ * - `other` - Other
2554
+ * - `passenger_assist_fee` - Passenger assist fee
2555
+ * - `pets` - Pets
2556
+ * - `seat_fees` - Seat fees
2557
+ * - `standby` - Standby
2558
+ * - `service_fee` - Service fee
2559
+ * - `store` - Store
2560
+ * - `travel_service` - Travel service
2561
+ * - `unaccompanied_travel` - Unaccompanied travel
2562
+ * - `upgrades` - Upgrades
2563
+ * - `wifi` - Wi-fi
2564
+ */
2565
+ category: 'none' | 'bundled_service' | 'baggage_fee' | 'change_fee' | 'cargo' | 'carbon_offset' | 'frequent_flyer' | 'gift_card' | 'ground_transport' | 'in_flight_entertainment' | 'lounge' | 'medical' | 'meal_beverage' | 'other' | 'passenger_assist_fee' | 'pets' | 'seat_fees' | 'standby' | 'service_fee' | 'store' | 'travel_service' | 'unaccompanied_travel' | 'upgrades' | 'wifi' | null;
2566
+ /**
2567
+ * Sub-category of the ancillary service, free-form.
2568
+ */
2569
+ sub_category: string | null;
2570
+ }
2571
+ }
2572
+ interface TripLeg {
2573
+ /**
2574
+ * Carrier code (e.g., United Airlines, Jet Blue, etc.).
2575
+ */
2576
+ carrier_code: string | null;
2577
+ /**
2578
+ * Code for the destination city or airport.
2579
+ */
2580
+ destination_city_airport_code: string | null;
2581
+ /**
2582
+ * Fare basis code.
2583
+ */
2584
+ fare_basis_code: string | null;
2585
+ /**
2586
+ * Flight number.
2587
+ */
2588
+ flight_number: string | null;
2589
+ /**
2590
+ * Service class (e.g., first class, business class, etc.).
2591
+ */
2592
+ service_class: string | null;
2593
+ /**
2594
+ * Indicates whether a stopover is allowed on this ticket.
2595
+ *
2596
+ * - `none` - None
2597
+ * - `stop_over_allowed` - Stop over allowed
2598
+ * - `stop_over_not_allowed` - Stop over not allowed
2599
+ */
2600
+ stop_over_code: 'none' | 'stop_over_allowed' | 'stop_over_not_allowed' | null;
2601
+ }
2602
+ }
2603
+ }
2604
+ /**
2605
+ * Surcharge amount details, if applicable. The amount is positive if the surcharge
2606
+ * is added to to the overall transaction amount (surcharge), and negative if the
2607
+ * surcharge is deducted from the overall transaction amount (discount).
2608
+ */
2609
+ interface Surcharge {
2610
+ /**
2611
+ * The surcharge amount in the minor unit of the transaction's settlement currency.
2612
+ */
2613
+ amount: number;
2614
+ /**
2615
+ * The surcharge amount in the minor unit of the transaction's presentment
2616
+ * currency.
2617
+ */
2618
+ presentment_amount: number;
2619
+ }
2620
+ }
2621
+ /**
2622
+ * A Cashback Payment object. This field will be present in the JSON response if
2623
+ * and only if `category` is equal to `cashback_payment`. A Cashback Payment
2624
+ * represents the cashback paid to a cardholder for a given period. Cashback is
2625
+ * usually paid monthly for the prior month's transactions.
2626
+ */
2627
+ interface CashbackPayment {
2628
+ /**
2629
+ * The card on which the cashback was accrued.
2630
+ */
2631
+ accrued_on_card_id: string | null;
2632
+ /**
2633
+ * The amount in the minor unit of the transaction's currency. For dollars, for
2634
+ * example, this is cents.
2635
+ */
2636
+ amount: number;
2637
+ /**
2638
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction
2639
+ * currency.
2640
+ *
2641
+ * - `USD` - US Dollar (USD)
2642
+ */
2643
+ currency: 'USD';
2644
+ /**
2645
+ * The end of the period for which this transaction paid cashback.
2646
+ */
2647
+ period_end: string;
2648
+ /**
2649
+ * The start of the period for which this transaction paid cashback.
2650
+ */
2651
+ period_start: string;
2652
+ [k: string]: unknown;
2653
+ }
2654
+ /**
2655
+ * A Check Deposit Acceptance object. This field will be present in the JSON
2656
+ * response if and only if `category` is equal to `check_deposit_acceptance`. A
2657
+ * Check Deposit Acceptance is created when a Check Deposit is processed and its
2658
+ * details confirmed. Check Deposits may be returned by the receiving bank, which
2659
+ * will appear as a Check Deposit Return.
2660
+ */
2661
+ interface CheckDepositAcceptance {
2662
+ /**
2663
+ * The account number printed on the check. This is an account at the bank that
2664
+ * issued the check.
2665
+ */
2666
+ account_number: string;
2667
+ /**
2668
+ * The amount to be deposited in the minor unit of the transaction's currency. For
2669
+ * dollars, for example, this is cents.
2670
+ */
2671
+ amount: number;
2672
+ /**
2673
+ * An additional line of metadata printed on the check. This typically includes the
2674
+ * check number for business checks.
2675
+ */
2676
+ auxiliary_on_us: string | null;
2677
+ /**
2678
+ * The ID of the Check Deposit that was accepted.
2679
+ */
2680
+ check_deposit_id: string;
2681
+ /**
2682
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
2683
+ * transaction's currency.
2684
+ *
2685
+ * - `USD` - US Dollar (USD)
2686
+ */
2687
+ currency: 'USD';
2688
+ /**
2689
+ * The routing number printed on the check. This is a routing number for the bank
2690
+ * that issued the check.
2691
+ */
2692
+ routing_number: string;
2693
+ /**
2694
+ * The check serial number, if present, for consumer checks. For business checks,
2695
+ * the serial number is usually in the `auxiliary_on_us` field.
2696
+ */
2697
+ serial_number: string | null;
2698
+ [k: string]: unknown;
2699
+ }
2700
+ /**
2701
+ * A Check Deposit Return object. This field will be present in the JSON response
2702
+ * if and only if `category` is equal to `check_deposit_return`. A Check Deposit
2703
+ * Return is created when a Check Deposit is returned by the bank holding the
2704
+ * account it was drawn against. Check Deposits may be returned for a variety of
2705
+ * reasons, including insufficient funds or a mismatched account number. Usually,
2706
+ * checks are returned within the first 7 days after the deposit is made.
2707
+ */
2708
+ interface CheckDepositReturn {
2709
+ /**
2710
+ * The returned amount in USD cents.
2711
+ */
2712
+ amount: number;
2713
+ /**
2714
+ * The identifier of the Check Deposit that was returned.
2715
+ */
2716
+ check_deposit_id: string;
2717
+ /**
2718
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
2719
+ * transaction's currency.
2720
+ *
2721
+ * - `USD` - US Dollar (USD)
2722
+ */
2723
+ currency: 'USD';
2724
+ /**
2725
+ * Why this check was returned by the bank holding the account it was drawn
2726
+ * against.
2727
+ *
2728
+ * - `ach_conversion_not_supported` - The check doesn't allow ACH conversion.
2729
+ * - `closed_account` - The account is closed. (Check21 return code `D`)
2730
+ * - `duplicate_submission` - The check has already been deposited. (Check21 return
2731
+ * code `Y`)
2732
+ * - `insufficient_funds` - Insufficient funds (Check21 return code `A`)
2733
+ * - `no_account` - No account was found matching the check details. (Check21
2734
+ * return code `E`)
2735
+ * - `not_authorized` - The check was not authorized. (Check21 return code `Q`)
2736
+ * - `stale_dated` - The check is too old. (Check21 return code `G`)
2737
+ * - `stop_payment` - The payment has been stopped by the account holder. (Check21
2738
+ * return code `C`)
2739
+ * - `unknown_reason` - The reason for the return is unknown.
2740
+ * - `unmatched_details` - The image doesn't match the details submitted.
2741
+ * - `unreadable_image` - The image could not be read. (Check21 return code `U`)
2742
+ * - `endorsement_irregular` - The check endorsement was irregular. (Check21 return
2743
+ * code `J`)
2744
+ * - `altered_or_fictitious_item` - The check present was either altered or fake.
2745
+ * (Check21 return code `N`)
2746
+ * - `frozen_or_blocked_account` - The account this check is drawn on is frozen.
2747
+ * (Check21 return code `F`)
2748
+ * - `post_dated` - The check is post dated. (Check21 return code `H`)
2749
+ * - `endorsement_missing` - The endorsement was missing. (Check21 return code `I`)
2750
+ * - `signature_missing` - The check signature was missing. (Check21 return code
2751
+ * `K`)
2752
+ * - `stop_payment_suspect` - The bank suspects a stop payment will be placed.
2753
+ * (Check21 return code `T`)
2754
+ * - `unusable_image` - The bank cannot read the image. (Check21 return code `U`)
2755
+ * - `image_fails_security_check` - The check image fails the bank's security
2756
+ * check. (Check21 return code `V`)
2757
+ * - `cannot_determine_amount` - The bank cannot determine the amount. (Check21
2758
+ * return code `W`)
2759
+ * - `signature_irregular` - The signature is inconsistent with prior signatures.
2760
+ * (Check21 return code `L`)
2761
+ * - `non_cash_item` - The check is a non-cash item and cannot be drawn against the
2762
+ * account. (Check21 return code `M`)
2763
+ * - `unable_to_process` - The bank is unable to process this check. (Check21
2764
+ * return code `O`)
2765
+ * - `item_exceeds_dollar_limit` - The check exceeds the bank or customer's limit.
2766
+ * (Check21 return code `P`)
2767
+ * - `branch_or_account_sold` - The bank sold this account and no longer services
2768
+ * this customer. (Check21 return code `R`)
2769
+ */
2770
+ return_reason: 'ach_conversion_not_supported' | 'closed_account' | 'duplicate_submission' | 'insufficient_funds' | 'no_account' | 'not_authorized' | 'stale_dated' | 'stop_payment' | 'unknown_reason' | 'unmatched_details' | 'unreadable_image' | 'endorsement_irregular' | 'altered_or_fictitious_item' | 'frozen_or_blocked_account' | 'post_dated' | 'endorsement_missing' | 'signature_missing' | 'stop_payment_suspect' | 'unusable_image' | 'image_fails_security_check' | 'cannot_determine_amount' | 'signature_irregular' | 'non_cash_item' | 'unable_to_process' | 'item_exceeds_dollar_limit' | 'branch_or_account_sold';
2771
+ /**
2772
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
2773
+ * the check deposit was returned.
2774
+ */
2775
+ returned_at: string;
2776
+ /**
2777
+ * The identifier of the transaction that reversed the original check deposit
2778
+ * transaction.
2779
+ */
2780
+ transaction_id: string;
2781
+ [k: string]: unknown;
2782
+ }
2783
+ /**
2784
+ * A Check Transfer Deposit object. This field will be present in the JSON response
2785
+ * if and only if `category` is equal to `check_transfer_deposit`. An Inbound Check
2786
+ * is a check drawn on an Increase account that has been deposited by an external
2787
+ * bank account. These types of checks are not pre-registered.
2788
+ */
2789
+ interface CheckTransferDeposit {
2790
+ /**
2791
+ * The identifier of the API File object containing an image of the back of the
2792
+ * deposited check.
2793
+ */
2794
+ back_image_file_id: string | null;
2795
+ /**
2796
+ * The American Bankers' Association (ABA) Routing Transit Number (RTN) for the
2797
+ * bank depositing this check. In some rare cases, this is not transmitted via
2798
+ * Check21 and the value will be null.
2799
+ */
2800
+ bank_of_first_deposit_routing_number: string | null;
2801
+ /**
2802
+ * When the check was deposited.
2803
+ */
2804
+ deposited_at: string;
2805
+ /**
2806
+ * The identifier of the API File object containing an image of the front of the
2807
+ * deposited check.
2808
+ */
2809
+ front_image_file_id: string | null;
2810
+ /**
2811
+ * The identifier of the Inbound Check Deposit object associated with this
2812
+ * transaction.
2813
+ */
2814
+ inbound_check_deposit_id: string | null;
2815
+ /**
2816
+ * The identifier of the Transaction object created when the check was deposited.
2817
+ */
2818
+ transaction_id: string | null;
2819
+ /**
2820
+ * The identifier of the Check Transfer object that was deposited.
2821
+ */
2822
+ transfer_id: string | null;
2823
+ /**
2824
+ * A constant representing the object's type. For this resource it will always be
2825
+ * `check_transfer_deposit`.
2826
+ */
2827
+ type: 'check_transfer_deposit';
2828
+ [k: string]: unknown;
2829
+ }
2830
+ /**
2831
+ * A FedNow Transfer Acknowledgement object. This field will be present in the JSON
2832
+ * response if and only if `category` is equal to
2833
+ * `fednow_transfer_acknowledgement`. A FedNow Transfer Acknowledgement is created
2834
+ * when a FedNow Transfer sent from Increase is acknowledged by the receiving bank.
2835
+ */
2836
+ interface FednowTransferAcknowledgement {
2837
+ /**
2838
+ * The identifier of the FedNow Transfer that led to this Transaction.
2839
+ */
2840
+ transfer_id: string;
2841
+ [k: string]: unknown;
2842
+ }
2843
+ /**
2844
+ * A Fee Payment object. This field will be present in the JSON response if and
2845
+ * only if `category` is equal to `fee_payment`. A Fee Payment represents a payment
2846
+ * made to Increase.
2847
+ */
2848
+ interface FeePayment {
2849
+ /**
2850
+ * The amount in the minor unit of the transaction's currency. For dollars, for
2851
+ * example, this is cents.
2852
+ */
2853
+ amount: number;
2854
+ /**
2855
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction
2856
+ * currency.
2857
+ *
2858
+ * - `USD` - US Dollar (USD)
2859
+ */
2860
+ currency: 'USD';
2861
+ /**
2862
+ * The start of this payment's fee period, usually the first day of a month.
2863
+ */
2864
+ fee_period_start: string;
2865
+ /**
2866
+ * The Program for which this fee was incurred.
2867
+ */
2868
+ program_id: string | null;
2869
+ [k: string]: unknown;
2870
+ }
2871
+ /**
2872
+ * An Inbound ACH Transfer Intention object. This field will be present in the JSON
2873
+ * response if and only if `category` is equal to `inbound_ach_transfer`. An
2874
+ * Inbound ACH Transfer Intention is created when an ACH transfer is initiated at
2875
+ * another bank and received by Increase.
2876
+ */
2877
+ interface InboundACHTransfer {
2878
+ /**
2879
+ * Additional information sent from the originator.
2880
+ */
2881
+ addenda: InboundACHTransfer.Addenda | null;
2882
+ /**
2883
+ * The transfer amount in USD cents.
2884
+ */
2885
+ amount: number;
2886
+ /**
2887
+ * The description of the date of the transfer, usually in the format `YYMMDD`.
2888
+ */
2889
+ originator_company_descriptive_date: string | null;
2890
+ /**
2891
+ * Data set by the originator.
2892
+ */
2893
+ originator_company_discretionary_data: string | null;
2894
+ /**
2895
+ * An informational description of the transfer.
2896
+ */
2897
+ originator_company_entry_description: string;
2898
+ /**
2899
+ * An identifier for the originating company. This is generally, but not always, a
2900
+ * stable identifier across multiple transfers.
2901
+ */
2902
+ originator_company_id: string;
2903
+ /**
2904
+ * A name set by the originator to identify themselves.
2905
+ */
2906
+ originator_company_name: string;
2907
+ /**
2908
+ * The originator's identifier for the transfer recipient.
2909
+ */
2910
+ receiver_id_number: string | null;
2911
+ /**
2912
+ * The name of the transfer recipient. This value is informational and not verified
2913
+ * by Increase.
2914
+ */
2915
+ receiver_name: string | null;
2916
+ /**
2917
+ * A 15 digit number recorded in the Nacha file and available to both the
2918
+ * originating and receiving bank. Along with the amount, date, and originating
2919
+ * routing number, this can be used to identify the ACH transfer at either bank.
2920
+ * ACH trace numbers are not unique, but are
2921
+ * [used to correlate returns](https://increase.com/documentation/ach-returns#ach-returns).
2922
+ */
2923
+ trace_number: string;
2924
+ /**
2925
+ * The Inbound ACH Transfer's identifier.
2926
+ */
2927
+ transfer_id: string;
2928
+ [k: string]: unknown;
2929
+ }
2930
+ namespace InboundACHTransfer {
2931
+ /**
2932
+ * Additional information sent from the originator.
2933
+ */
2934
+ interface Addenda {
2935
+ /**
2936
+ * The type of addendum.
2937
+ *
2938
+ * - `freeform` - Unstructured addendum.
2939
+ */
2940
+ category: 'freeform';
2941
+ /**
2942
+ * Unstructured `payment_related_information` passed through by the originator.
2943
+ */
2944
+ freeform: Addenda.Freeform | null;
2945
+ }
2946
+ namespace Addenda {
2947
+ /**
2948
+ * Unstructured `payment_related_information` passed through by the originator.
2949
+ */
2950
+ interface Freeform {
2951
+ /**
2952
+ * Each entry represents an addendum received from the originator.
2953
+ */
2954
+ entries: Array<Freeform.Entry>;
2955
+ }
2956
+ namespace Freeform {
2957
+ interface Entry {
2958
+ /**
2959
+ * The payment related information passed in the addendum.
2960
+ */
2961
+ payment_related_information: string;
2962
+ }
2963
+ }
2964
+ }
2965
+ }
2966
+ /**
2967
+ * An Inbound ACH Transfer Return Intention object. This field will be present in
2968
+ * the JSON response if and only if `category` is equal to
2969
+ * `inbound_ach_transfer_return_intention`. An Inbound ACH Transfer Return
2970
+ * Intention is created when an ACH transfer is initiated at another bank and
2971
+ * returned by Increase.
2972
+ */
2973
+ interface InboundACHTransferReturnIntention {
2974
+ /**
2975
+ * The ID of the Inbound ACH Transfer that is being returned.
2976
+ */
2977
+ inbound_ach_transfer_id: string;
2978
+ [k: string]: unknown;
2979
+ }
2980
+ /**
2981
+ * An Inbound Check Adjustment object. This field will be present in the JSON
2982
+ * response if and only if `category` is equal to `inbound_check_adjustment`. An
2983
+ * Inbound Check Adjustment is created when Increase receives an adjustment for a
2984
+ * check or return deposited through Check21.
2985
+ */
2986
+ interface InboundCheckAdjustment {
2987
+ /**
2988
+ * The ID of the transaction that was adjusted.
2989
+ */
2990
+ adjusted_transaction_id: string;
2991
+ /**
2992
+ * The amount of the check adjustment.
2993
+ */
2994
+ amount: number;
2995
+ /**
2996
+ * The reason for the adjustment.
2997
+ *
2998
+ * - `late_return` - The return was initiated too late and the receiving
2999
+ * institution has responded with a Late Return Claim.
3000
+ * - `wrong_payee_credit` - The check was deposited to the wrong payee and the
3001
+ * depositing institution has reimbursed the funds with a Wrong Payee Credit.
3002
+ * - `adjusted_amount` - The check was deposited with a different amount than what
3003
+ * was written on the check.
3004
+ * - `non_conforming_item` - The recipient was not able to process the check. This
3005
+ * usually happens for e.g., low quality images.
3006
+ * - `paid` - The check has already been deposited elsewhere and so this is a
3007
+ * duplicate.
3008
+ */
3009
+ reason: 'late_return' | 'wrong_payee_credit' | 'adjusted_amount' | 'non_conforming_item' | 'paid';
3010
+ [k: string]: unknown;
3011
+ }
3012
+ /**
3013
+ * An Inbound Check Deposit Return Intention object. This field will be present in
3014
+ * the JSON response if and only if `category` is equal to
3015
+ * `inbound_check_deposit_return_intention`. An Inbound Check Deposit Return
3016
+ * Intention is created when Increase receives an Inbound Check and the User
3017
+ * requests that it be returned.
3018
+ */
3019
+ interface InboundCheckDepositReturnIntention {
3020
+ /**
3021
+ * The ID of the Inbound Check Deposit that is being returned.
3022
+ */
3023
+ inbound_check_deposit_id: string;
3024
+ /**
3025
+ * The identifier of the Check Transfer object that was deposited.
3026
+ */
3027
+ transfer_id: string | null;
3028
+ [k: string]: unknown;
3029
+ }
3030
+ /**
3031
+ * An Inbound FedNow Transfer Confirmation object. This field will be present in
3032
+ * the JSON response if and only if `category` is equal to
3033
+ * `inbound_fednow_transfer_confirmation`. An Inbound FedNow Transfer Confirmation
3034
+ * is created when a FedNow transfer is initiated at another bank and received by
3035
+ * Increase.
3036
+ */
3037
+ interface InboundFednowTransferConfirmation {
3038
+ /**
3039
+ * The identifier of the FedNow Transfer that led to this Transaction.
3040
+ */
3041
+ transfer_id: string;
3042
+ [k: string]: unknown;
3043
+ }
3044
+ /**
3045
+ * An Inbound Real-Time Payments Transfer Confirmation object. This field will be
3046
+ * present in the JSON response if and only if `category` is equal to
3047
+ * `inbound_real_time_payments_transfer_confirmation`. An Inbound Real-Time
3048
+ * Payments Transfer Confirmation is created when a Real-Time Payments transfer is
3049
+ * initiated at another bank and received by Increase.
3050
+ */
3051
+ interface InboundRealTimePaymentsTransferConfirmation {
3052
+ /**
3053
+ * The amount in the minor unit of the transfer's currency. For dollars, for
3054
+ * example, this is cents.
3055
+ */
3056
+ amount: number;
3057
+ /**
3058
+ * The name the sender of the transfer specified as the recipient of the transfer.
3059
+ */
3060
+ creditor_name: string;
3061
+ /**
3062
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the transfer's
3063
+ * currency. This will always be "USD" for a Real-Time Payments transfer.
3064
+ *
3065
+ * - `USD` - US Dollar (USD)
3066
+ */
3067
+ currency: 'USD';
3068
+ /**
3069
+ * The account number of the account that sent the transfer.
3070
+ */
3071
+ debtor_account_number: string;
3072
+ /**
3073
+ * The name provided by the sender of the transfer.
3074
+ */
3075
+ debtor_name: string;
3076
+ /**
3077
+ * The routing number of the account that sent the transfer.
3078
+ */
3079
+ debtor_routing_number: string;
3080
+ /**
3081
+ * Additional information included with the transfer.
3082
+ */
3083
+ remittance_information: string | null;
3084
+ /**
3085
+ * The Real-Time Payments network identification of the transfer.
3086
+ */
3087
+ transaction_identification: string;
3088
+ /**
3089
+ * The identifier of the Real-Time Payments Transfer that led to this Transaction.
3090
+ */
3091
+ transfer_id: string;
3092
+ [k: string]: unknown;
3093
+ }
3094
+ /**
3095
+ * An Inbound Wire Reversal object. This field will be present in the JSON response
3096
+ * if and only if `category` is equal to `inbound_wire_reversal`. An Inbound Wire
3097
+ * Reversal represents a reversal of a wire transfer that was initiated via
3098
+ * Increase. The other bank is sending the money back. This most often happens when
3099
+ * the original destination account details were incorrect.
3100
+ */
3101
+ interface InboundWireReversal {
3102
+ /**
3103
+ * The amount that was reversed in USD cents.
3104
+ */
3105
+ amount: number;
3106
+ /**
3107
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
3108
+ * the reversal was created.
3109
+ */
3110
+ created_at: string;
3111
+ /**
3112
+ * The debtor's routing number.
3113
+ */
3114
+ debtor_routing_number: string | null;
3115
+ /**
3116
+ * The description on the reversal message from Fedwire, set by the reversing bank.
3117
+ */
3118
+ description: string;
3119
+ /**
3120
+ * The Fedwire cycle date for the wire reversal. The "Fedwire day" begins at 9:00
3121
+ * PM Eastern Time on the evening before the `cycle date`.
3122
+ */
3123
+ input_cycle_date: string;
3124
+ /**
3125
+ * The Fedwire transaction identifier.
3126
+ */
3127
+ input_message_accountability_data: string;
3128
+ /**
3129
+ * The Fedwire sequence number.
3130
+ */
3131
+ input_sequence_number: string;
3132
+ /**
3133
+ * The Fedwire input source identifier.
3134
+ */
3135
+ input_source: string;
3136
+ /**
3137
+ * The sending bank's identifier for the reversal.
3138
+ */
3139
+ instruction_identification: string | null;
3140
+ /**
3141
+ * Additional information about the reason for the reversal.
3142
+ */
3143
+ return_reason_additional_information: string | null;
3144
+ /**
3145
+ * A code provided by the sending bank giving a reason for the reversal. It will
3146
+ * generally be one of the codes defined in the ISO20022
3147
+ * `ExternalReturnReason1Code` code set, but this is not enforced by the network.
3148
+ */
3149
+ return_reason_code: string | null;
3150
+ /**
3151
+ * An Increase-generated description of the `return_reason_code`.
3152
+ */
3153
+ return_reason_code_description: string | null;
3154
+ /**
3155
+ * The ID for the Transaction associated with the transfer reversal.
3156
+ */
3157
+ transaction_id: string;
3158
+ /**
3159
+ * The ID for the Wire Transfer that is being reversed.
3160
+ */
3161
+ wire_transfer_id: string;
3162
+ [k: string]: unknown;
3163
+ }
3164
+ /**
3165
+ * An Inbound Wire Transfer Intention object. This field will be present in the
3166
+ * JSON response if and only if `category` is equal to `inbound_wire_transfer`. An
3167
+ * Inbound Wire Transfer Intention is created when a wire transfer is initiated at
3168
+ * another bank and received by Increase.
3169
+ */
3170
+ interface InboundWireTransfer {
3171
+ /**
3172
+ * The amount in USD cents.
3173
+ */
3174
+ amount: number;
3175
+ /**
3176
+ * A free-form address field set by the sender.
3177
+ */
3178
+ creditor_address_line1: string | null;
3179
+ /**
3180
+ * A free-form address field set by the sender.
3181
+ */
3182
+ creditor_address_line2: string | null;
3183
+ /**
3184
+ * A free-form address field set by the sender.
3185
+ */
3186
+ creditor_address_line3: string | null;
3187
+ /**
3188
+ * A name set by the sender.
3189
+ */
3190
+ creditor_name: string | null;
3191
+ /**
3192
+ * A free-form address field set by the sender.
3193
+ */
3194
+ debtor_address_line1: string | null;
3195
+ /**
3196
+ * A free-form address field set by the sender.
3197
+ */
3198
+ debtor_address_line2: string | null;
3199
+ /**
3200
+ * A free-form address field set by the sender.
3201
+ */
3202
+ debtor_address_line3: string | null;
3203
+ /**
3204
+ * A name set by the sender.
3205
+ */
3206
+ debtor_name: string | null;
3207
+ /**
3208
+ * An Increase-constructed description of the transfer.
3209
+ */
3210
+ description: string;
3211
+ /**
3212
+ * A free-form reference string set by the sender, to help identify the transfer.
3213
+ */
3214
+ end_to_end_identification: string | null;
3215
+ /**
3216
+ * A unique identifier available to the originating and receiving banks, commonly
3217
+ * abbreviated as IMAD. It is created when the wire is submitted to the Fedwire
3218
+ * service and is helpful when debugging wires with the originating bank.
3219
+ */
3220
+ input_message_accountability_data: string | null;
3221
+ /**
3222
+ * The American Banking Association (ABA) routing number of the bank that sent the
3223
+ * wire.
3224
+ */
3225
+ instructing_agent_routing_number: string | null;
3226
+ /**
3227
+ * The sending bank's identifier for the wire transfer.
3228
+ */
3229
+ instruction_identification: string | null;
3230
+ /**
3231
+ * The ID of the Inbound Wire Transfer object that resulted in this Transaction.
3232
+ */
3233
+ transfer_id: string;
3234
+ /**
3235
+ * The Unique End-to-end Transaction Reference
3236
+ * ([UETR](https://www.swift.com/payments/what-unique-end-end-transaction-reference-uetr))
3237
+ * of the transfer.
3238
+ */
3239
+ unique_end_to_end_transaction_reference: string | null;
3240
+ /**
3241
+ * A free-form message set by the sender.
3242
+ */
3243
+ unstructured_remittance_information: string | null;
3244
+ [k: string]: unknown;
3245
+ }
3246
+ /**
3247
+ * An Inbound Wire Transfer Reversal Intention object. This field will be present
3248
+ * in the JSON response if and only if `category` is equal to
3249
+ * `inbound_wire_transfer_reversal`. An Inbound Wire Transfer Reversal Intention is
3250
+ * created when Increase has received a wire and the User requests that it be
3251
+ * reversed.
3252
+ */
3253
+ interface InboundWireTransferReversal {
3254
+ /**
3255
+ * The ID of the Inbound Wire Transfer that is being reversed.
3256
+ */
3257
+ inbound_wire_transfer_id: string;
3258
+ [k: string]: unknown;
3259
+ }
3260
+ /**
3261
+ * An Interest Payment object. This field will be present in the JSON response if
3262
+ * and only if `category` is equal to `interest_payment`. An Interest Payment
3263
+ * represents a payment of interest on an account. Interest is usually paid
3264
+ * monthly.
3265
+ */
3266
+ interface InterestPayment {
3267
+ /**
3268
+ * The account on which the interest was accrued.
3269
+ */
3270
+ accrued_on_account_id: string;
3271
+ /**
3272
+ * The amount in the minor unit of the transaction's currency. For dollars, for
3273
+ * example, this is cents.
3274
+ */
3275
+ amount: number;
3276
+ /**
3277
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction
3278
+ * currency.
3279
+ *
3280
+ * - `USD` - US Dollar (USD)
3281
+ */
3282
+ currency: 'USD';
3283
+ /**
3284
+ * The end of the period for which this transaction paid interest.
3285
+ */
3286
+ period_end: string;
3287
+ /**
3288
+ * The start of the period for which this transaction paid interest.
3289
+ */
3290
+ period_start: string;
3291
+ [k: string]: unknown;
3292
+ }
3293
+ /**
3294
+ * An Internal Source object. This field will be present in the JSON response if
3295
+ * and only if `category` is equal to `internal_source`. A transaction between the
3296
+ * user and Increase. See the `reason` attribute for more information.
3297
+ */
3298
+ interface InternalSource {
3299
+ /**
3300
+ * The amount in the minor unit of the transaction's currency. For dollars, for
3301
+ * example, this is cents.
3302
+ */
3303
+ amount: number;
3304
+ /**
3305
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction
3306
+ * currency.
3307
+ *
3308
+ * - `USD` - US Dollar (USD)
3309
+ */
3310
+ currency: 'USD';
3311
+ /**
3312
+ * An Internal Source is a transaction between you and Increase. This describes the
3313
+ * reason for the transaction.
3314
+ *
3315
+ * - `account_closure` - Account closure
3316
+ * - `account_revenue_payment_distribution` - Account revenue payment distribution
3317
+ * - `bank_drawn_check` - Bank-drawn check
3318
+ * - `bank_drawn_check_credit` - Bank-drawn check credit
3319
+ * - `bank_migration` - Bank migration
3320
+ * - `check_adjustment` - Check adjustment
3321
+ * - `collection_payment` - Collection payment
3322
+ * - `collection_receivable` - Collection receivable
3323
+ * - `dishonored_ach_return` - Dishonored ACH return
3324
+ * - `empyreal_adjustment` - Empyreal adjustment
3325
+ * - `error` - Error
3326
+ * - `error_correction` - Error correction
3327
+ * - `fees` - Fees
3328
+ * - `interest` - Interest
3329
+ * - `negative_balance_forgiveness` - Negative balance forgiveness
3330
+ * - `sample_funds` - Sample funds
3331
+ * - `sample_funds_return` - Sample funds return
3332
+ */
3333
+ reason: 'account_closure' | 'account_revenue_payment_distribution' | 'bank_drawn_check' | 'bank_drawn_check_credit' | 'bank_migration' | 'check_adjustment' | 'collection_payment' | 'collection_receivable' | 'dishonored_ach_return' | 'empyreal_adjustment' | 'error' | 'error_correction' | 'fees' | 'interest' | 'negative_balance_forgiveness' | 'sample_funds' | 'sample_funds_return';
3334
+ [k: string]: unknown;
3335
+ }
3336
+ /**
3337
+ * If the category of this Transaction source is equal to `other`, this field will
3338
+ * contain an empty object, otherwise it will contain null.
3339
+ */
3340
+ interface Other {
3341
+ }
3342
+ /**
3343
+ * A Real-Time Payments Transfer Acknowledgement object. This field will be present
3344
+ * in the JSON response if and only if `category` is equal to
3345
+ * `real_time_payments_transfer_acknowledgement`. A Real-Time Payments Transfer
3346
+ * Acknowledgement is created when a Real-Time Payments Transfer sent from Increase
3347
+ * is acknowledged by the receiving bank.
3348
+ */
3349
+ interface RealTimePaymentsTransferAcknowledgement {
3350
+ /**
3351
+ * The transfer amount in USD cents.
3352
+ */
3353
+ amount: number;
3354
+ /**
3355
+ * The destination account number.
3356
+ */
3357
+ destination_account_number: string;
3358
+ /**
3359
+ * The American Bankers' Association (ABA) Routing Transit Number (RTN).
3360
+ */
3361
+ destination_routing_number: string;
3362
+ /**
3363
+ * Unstructured information that will show on the recipient's bank statement.
3364
+ */
3365
+ remittance_information: string;
3366
+ /**
3367
+ * The identifier of the Real-Time Payments Transfer that led to this Transaction.
3368
+ */
3369
+ transfer_id: string;
3370
+ [k: string]: unknown;
3371
+ }
3372
+ /**
3373
+ * A Sample Funds object. This field will be present in the JSON response if and
3374
+ * only if `category` is equal to `sample_funds`. Sample funds for testing
3375
+ * purposes.
3376
+ */
3377
+ interface SampleFunds {
3378
+ /**
3379
+ * Where the sample funds came from.
3380
+ */
3381
+ originator: string;
3382
+ [k: string]: unknown;
3383
+ }
3384
+ /**
3385
+ * A Swift Transfer Intention object. This field will be present in the JSON
3386
+ * response if and only if `category` is equal to `swift_transfer_intention`. A
3387
+ * Swift Transfer initiated via Increase.
3388
+ */
3389
+ interface SwiftTransferIntention {
3390
+ /**
3391
+ * The identifier of the Swift Transfer that led to this Transaction.
3392
+ */
3393
+ transfer_id: string;
3394
+ [k: string]: unknown;
3395
+ }
3396
+ /**
3397
+ * A Swift Transfer Return object. This field will be present in the JSON response
3398
+ * if and only if `category` is equal to `swift_transfer_return`. A Swift Transfer
3399
+ * Return is created when a Swift Transfer is returned by the receiving bank.
3400
+ */
3401
+ interface SwiftTransferReturn {
3402
+ /**
3403
+ * The identifier of the Swift Transfer that led to this Transaction.
3404
+ */
3405
+ transfer_id: string;
3406
+ [k: string]: unknown;
3407
+ }
3408
+ /**
3409
+ * A Wire Transfer Intention object. This field will be present in the JSON
3410
+ * response if and only if `category` is equal to `wire_transfer_intention`. A Wire
3411
+ * Transfer initiated via Increase and sent to a different bank.
3412
+ */
3413
+ interface WireTransferIntention {
3414
+ /**
3415
+ * The destination account number.
3416
+ */
3417
+ account_number: string;
3418
+ /**
3419
+ * The transfer amount in USD cents.
3420
+ */
3421
+ amount: number;
3422
+ /**
3423
+ * The message that will show on the recipient's bank statement.
3424
+ */
3425
+ message_to_recipient: string;
3426
+ /**
3427
+ * The American Bankers' Association (ABA) Routing Transit Number (RTN).
3428
+ */
3429
+ routing_number: string;
3430
+ /**
3431
+ * The identifier of the Wire Transfer that led to this Transaction.
3432
+ */
3433
+ transfer_id: string;
3434
+ [k: string]: unknown;
3435
+ }
3436
+ }
3437
+ }
3438
+ export interface TransactionListParams extends PageParams {
3439
+ /**
3440
+ * Filter Transactions for those belonging to the specified Account.
3441
+ */
3442
+ account_id?: string;
3443
+ category?: TransactionListParams.Category;
3444
+ created_at?: TransactionListParams.CreatedAt;
3445
+ /**
3446
+ * Filter Transactions for those belonging to the specified route. This could be a
3447
+ * Card ID or an Account Number ID.
3448
+ */
3449
+ route_id?: string;
3450
+ }
3451
+ export declare namespace TransactionListParams {
3452
+ interface Category {
3453
+ /**
3454
+ * Return results whose value is in the provided list. For GET requests, this
3455
+ * should be encoded as a comma-delimited string, such as `?in=one,two,three`.
3456
+ */
3457
+ in?: Array<'account_transfer_intention' | 'ach_transfer_intention' | 'ach_transfer_rejection' | 'ach_transfer_return' | 'cashback_payment' | 'card_dispute_acceptance' | 'card_dispute_financial' | 'card_dispute_loss' | 'card_refund' | 'card_settlement' | 'card_financial' | 'card_revenue_payment' | 'check_deposit_acceptance' | 'check_deposit_return' | 'fednow_transfer_acknowledgement' | 'check_transfer_deposit' | 'fee_payment' | 'inbound_ach_transfer' | 'inbound_ach_transfer_return_intention' | 'inbound_check_deposit_return_intention' | 'inbound_check_adjustment' | 'inbound_fednow_transfer_confirmation' | 'inbound_real_time_payments_transfer_confirmation' | 'inbound_wire_reversal' | 'inbound_wire_transfer' | 'inbound_wire_transfer_reversal' | 'interest_payment' | 'internal_source' | 'real_time_payments_transfer_acknowledgement' | 'sample_funds' | 'wire_transfer_intention' | 'swift_transfer_intention' | 'swift_transfer_return' | 'card_push_transfer_acceptance' | 'account_revenue_payment' | 'other'>;
3458
+ }
3459
+ interface CreatedAt {
3460
+ /**
3461
+ * Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
3462
+ * timestamp.
3463
+ */
3464
+ after?: string;
3465
+ /**
3466
+ * Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
3467
+ * timestamp.
3468
+ */
3469
+ before?: string;
3470
+ /**
3471
+ * Return results on or after this
3472
+ * [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
3473
+ */
3474
+ on_or_after?: string;
3475
+ /**
3476
+ * Return results on or before this
3477
+ * [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
3478
+ */
3479
+ on_or_before?: string;
3480
+ }
3481
+ }
3482
+ export declare namespace Transactions {
3483
+ export { type Transaction as Transaction, type TransactionsPage as TransactionsPage, type TransactionListParams as TransactionListParams, };
3484
+ }
3485
+ //# sourceMappingURL=transactions.d.mts.map