mollie-api-typescript 0.1.2 → 0.1.3

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 (357) hide show
  1. package/FUNCTIONS.md +13 -0
  2. package/README.md +84 -0
  3. package/bin/mcp-server.js +5173 -1638
  4. package/bin/mcp-server.js.map +47 -46
  5. package/dist/commonjs/lib/config.d.ts +2 -2
  6. package/dist/commonjs/lib/config.js +2 -2
  7. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  8. package/dist/commonjs/mcp-server/server.js +1 -1
  9. package/dist/commonjs/models/operations/cancelpayment.d.ts +1458 -19
  10. package/dist/commonjs/models/operations/cancelpayment.d.ts.map +1 -1
  11. package/dist/commonjs/models/operations/cancelpayment.js +755 -20
  12. package/dist/commonjs/models/operations/cancelpayment.js.map +1 -1
  13. package/dist/commonjs/models/operations/createcustomerpayment.d.ts +1596 -20
  14. package/dist/commonjs/models/operations/createcustomerpayment.d.ts.map +1 -1
  15. package/dist/commonjs/models/operations/createcustomerpayment.js +819 -22
  16. package/dist/commonjs/models/operations/createcustomerpayment.js.map +1 -1
  17. package/dist/commonjs/models/operations/createpayment.d.ts +1596 -20
  18. package/dist/commonjs/models/operations/createpayment.d.ts.map +1 -1
  19. package/dist/commonjs/models/operations/createpayment.js +810 -22
  20. package/dist/commonjs/models/operations/createpayment.js.map +1 -1
  21. package/dist/commonjs/models/operations/createpaymentlink.d.ts +2 -2
  22. package/dist/commonjs/models/operations/getnextsettlement.d.ts +6 -846
  23. package/dist/commonjs/models/operations/getnextsettlement.d.ts.map +1 -1
  24. package/dist/commonjs/models/operations/getnextsettlement.js +3 -586
  25. package/dist/commonjs/models/operations/getnextsettlement.js.map +1 -1
  26. package/dist/commonjs/models/operations/getopensettlement.d.ts +6 -846
  27. package/dist/commonjs/models/operations/getopensettlement.d.ts.map +1 -1
  28. package/dist/commonjs/models/operations/getopensettlement.js +3 -586
  29. package/dist/commonjs/models/operations/getopensettlement.js.map +1 -1
  30. package/dist/commonjs/models/operations/getpayment.d.ts +1458 -19
  31. package/dist/commonjs/models/operations/getpayment.d.ts.map +1 -1
  32. package/dist/commonjs/models/operations/getpayment.js +751 -20
  33. package/dist/commonjs/models/operations/getpayment.js.map +1 -1
  34. package/dist/commonjs/models/operations/getpaymentlink.d.ts +1 -1
  35. package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts +1466 -27
  36. package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
  37. package/dist/commonjs/models/operations/getpaymentlinkpayments.js +771 -32
  38. package/dist/commonjs/models/operations/getpaymentlinkpayments.js.map +1 -1
  39. package/dist/commonjs/models/operations/getsettlement.d.ts +6 -846
  40. package/dist/commonjs/models/operations/getsettlement.d.ts.map +1 -1
  41. package/dist/commonjs/models/operations/getsettlement.js +3 -579
  42. package/dist/commonjs/models/operations/getsettlement.js.map +1 -1
  43. package/dist/commonjs/models/operations/getwebhookevent.d.ts +1 -1
  44. package/dist/commonjs/models/operations/listallchargebacks.d.ts +8 -8
  45. package/dist/commonjs/models/operations/listallchargebacks.d.ts.map +1 -1
  46. package/dist/commonjs/models/operations/listallchargebacks.js +8 -14
  47. package/dist/commonjs/models/operations/listallchargebacks.js.map +1 -1
  48. package/dist/commonjs/models/operations/listallmethods.d.ts +15 -15
  49. package/dist/commonjs/models/operations/listallmethods.d.ts.map +1 -1
  50. package/dist/commonjs/models/operations/listallmethods.js +19 -18
  51. package/dist/commonjs/models/operations/listallmethods.js.map +1 -1
  52. package/dist/commonjs/models/operations/listallrefunds.d.ts +8 -8
  53. package/dist/commonjs/models/operations/listallrefunds.d.ts.map +1 -1
  54. package/dist/commonjs/models/operations/listallrefunds.js +8 -12
  55. package/dist/commonjs/models/operations/listallrefunds.js.map +1 -1
  56. package/dist/commonjs/models/operations/listallsubscriptions.d.ts +8 -8
  57. package/dist/commonjs/models/operations/listallsubscriptions.d.ts.map +1 -1
  58. package/dist/commonjs/models/operations/listallsubscriptions.js +8 -13
  59. package/dist/commonjs/models/operations/listallsubscriptions.js.map +1 -1
  60. package/dist/commonjs/models/operations/listbalances.d.ts +8 -8
  61. package/dist/commonjs/models/operations/listbalances.d.ts.map +1 -1
  62. package/dist/commonjs/models/operations/listbalances.js +8 -12
  63. package/dist/commonjs/models/operations/listbalances.js.map +1 -1
  64. package/dist/commonjs/models/operations/listbalancetransactions.d.ts +8 -8
  65. package/dist/commonjs/models/operations/listbalancetransactions.d.ts.map +1 -1
  66. package/dist/commonjs/models/operations/listbalancetransactions.js +8 -10
  67. package/dist/commonjs/models/operations/listbalancetransactions.js.map +1 -1
  68. package/dist/commonjs/models/operations/listcaptures.d.ts +8 -8
  69. package/dist/commonjs/models/operations/listcaptures.d.ts.map +1 -1
  70. package/dist/commonjs/models/operations/listcaptures.js +8 -12
  71. package/dist/commonjs/models/operations/listcaptures.js.map +1 -1
  72. package/dist/commonjs/models/operations/listchargebacks.d.ts +8 -8
  73. package/dist/commonjs/models/operations/listchargebacks.d.ts.map +1 -1
  74. package/dist/commonjs/models/operations/listchargebacks.js +8 -12
  75. package/dist/commonjs/models/operations/listchargebacks.js.map +1 -1
  76. package/dist/commonjs/models/operations/listclients.d.ts +8 -8
  77. package/dist/commonjs/models/operations/listclients.d.ts.map +1 -1
  78. package/dist/commonjs/models/operations/listclients.js +8 -12
  79. package/dist/commonjs/models/operations/listclients.js.map +1 -1
  80. package/dist/commonjs/models/operations/listcustomerpayments.d.ts +1472 -33
  81. package/dist/commonjs/models/operations/listcustomerpayments.d.ts.map +1 -1
  82. package/dist/commonjs/models/operations/listcustomerpayments.js +776 -42
  83. package/dist/commonjs/models/operations/listcustomerpayments.js.map +1 -1
  84. package/dist/commonjs/models/operations/listcustomers.d.ts +8 -8
  85. package/dist/commonjs/models/operations/listcustomers.d.ts.map +1 -1
  86. package/dist/commonjs/models/operations/listcustomers.js +8 -12
  87. package/dist/commonjs/models/operations/listcustomers.js.map +1 -1
  88. package/dist/commonjs/models/operations/listinvoices.d.ts +8 -8
  89. package/dist/commonjs/models/operations/listinvoices.d.ts.map +1 -1
  90. package/dist/commonjs/models/operations/listinvoices.js +8 -12
  91. package/dist/commonjs/models/operations/listinvoices.js.map +1 -1
  92. package/dist/commonjs/models/operations/listmandates.d.ts +8 -8
  93. package/dist/commonjs/models/operations/listmandates.d.ts.map +1 -1
  94. package/dist/commonjs/models/operations/listmandates.js +8 -12
  95. package/dist/commonjs/models/operations/listmandates.js.map +1 -1
  96. package/dist/commonjs/models/operations/listpaymentlinks.d.ts +9 -9
  97. package/dist/commonjs/models/operations/listpaymentlinks.d.ts.map +1 -1
  98. package/dist/commonjs/models/operations/listpaymentlinks.js +8 -13
  99. package/dist/commonjs/models/operations/listpaymentlinks.js.map +1 -1
  100. package/dist/commonjs/models/operations/listpayments.d.ts +1472 -33
  101. package/dist/commonjs/models/operations/listpayments.d.ts.map +1 -1
  102. package/dist/commonjs/models/operations/listpayments.js +768 -39
  103. package/dist/commonjs/models/operations/listpayments.js.map +1 -1
  104. package/dist/commonjs/models/operations/listprofiles.d.ts +8 -8
  105. package/dist/commonjs/models/operations/listprofiles.d.ts.map +1 -1
  106. package/dist/commonjs/models/operations/listprofiles.js +8 -12
  107. package/dist/commonjs/models/operations/listprofiles.js.map +1 -1
  108. package/dist/commonjs/models/operations/listrefunds.d.ts +8 -8
  109. package/dist/commonjs/models/operations/listrefunds.d.ts.map +1 -1
  110. package/dist/commonjs/models/operations/listrefunds.js +8 -12
  111. package/dist/commonjs/models/operations/listrefunds.js.map +1 -1
  112. package/dist/commonjs/models/operations/listsalesinvoices.d.ts +8 -8
  113. package/dist/commonjs/models/operations/listsalesinvoices.d.ts.map +1 -1
  114. package/dist/commonjs/models/operations/listsalesinvoices.js +8 -14
  115. package/dist/commonjs/models/operations/listsalesinvoices.js.map +1 -1
  116. package/dist/commonjs/models/operations/listsettlementcaptures.d.ts +8 -8
  117. package/dist/commonjs/models/operations/listsettlementcaptures.d.ts.map +1 -1
  118. package/dist/commonjs/models/operations/listsettlementcaptures.js +8 -11
  119. package/dist/commonjs/models/operations/listsettlementcaptures.js.map +1 -1
  120. package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts +8 -8
  121. package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts.map +1 -1
  122. package/dist/commonjs/models/operations/listsettlementchargebacks.js +8 -10
  123. package/dist/commonjs/models/operations/listsettlementchargebacks.js.map +1 -1
  124. package/dist/commonjs/models/operations/listsettlementpayments.d.ts +1472 -33
  125. package/dist/commonjs/models/operations/listsettlementpayments.d.ts.map +1 -1
  126. package/dist/commonjs/models/operations/listsettlementpayments.js +777 -40
  127. package/dist/commonjs/models/operations/listsettlementpayments.js.map +1 -1
  128. package/dist/commonjs/models/operations/listsettlementrefunds.d.ts +8 -8
  129. package/dist/commonjs/models/operations/listsettlementrefunds.d.ts.map +1 -1
  130. package/dist/commonjs/models/operations/listsettlementrefunds.js +8 -12
  131. package/dist/commonjs/models/operations/listsettlementrefunds.js.map +1 -1
  132. package/dist/commonjs/models/operations/listsettlements.d.ts +14 -854
  133. package/dist/commonjs/models/operations/listsettlements.d.ts.map +1 -1
  134. package/dist/commonjs/models/operations/listsettlements.js +11 -596
  135. package/dist/commonjs/models/operations/listsettlements.js.map +1 -1
  136. package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts +1472 -33
  137. package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts.map +1 -1
  138. package/dist/commonjs/models/operations/listsubscriptionpayments.js +777 -39
  139. package/dist/commonjs/models/operations/listsubscriptionpayments.js.map +1 -1
  140. package/dist/commonjs/models/operations/listsubscriptions.d.ts +8 -8
  141. package/dist/commonjs/models/operations/listsubscriptions.d.ts.map +1 -1
  142. package/dist/commonjs/models/operations/listsubscriptions.js +8 -14
  143. package/dist/commonjs/models/operations/listsubscriptions.js.map +1 -1
  144. package/dist/commonjs/models/operations/listterminals.d.ts +8 -8
  145. package/dist/commonjs/models/operations/listterminals.d.ts.map +1 -1
  146. package/dist/commonjs/models/operations/listterminals.js +8 -12
  147. package/dist/commonjs/models/operations/listterminals.js.map +1 -1
  148. package/dist/commonjs/models/operations/listwebhooks.d.ts +8 -8
  149. package/dist/commonjs/models/operations/listwebhooks.d.ts.map +1 -1
  150. package/dist/commonjs/models/operations/listwebhooks.js +8 -12
  151. package/dist/commonjs/models/operations/listwebhooks.js.map +1 -1
  152. package/dist/commonjs/models/operations/updatepayment.d.ts +1458 -19
  153. package/dist/commonjs/models/operations/updatepayment.d.ts.map +1 -1
  154. package/dist/commonjs/models/operations/updatepayment.js +755 -21
  155. package/dist/commonjs/models/operations/updatepayment.js.map +1 -1
  156. package/dist/commonjs/models/operations/updatepaymentlink.d.ts +2 -2
  157. package/dist/esm/lib/config.d.ts +2 -2
  158. package/dist/esm/lib/config.js +2 -2
  159. package/dist/esm/mcp-server/mcp-server.js +1 -1
  160. package/dist/esm/mcp-server/server.js +1 -1
  161. package/dist/esm/models/operations/cancelpayment.d.ts +1458 -19
  162. package/dist/esm/models/operations/cancelpayment.d.ts.map +1 -1
  163. package/dist/esm/models/operations/cancelpayment.js +735 -16
  164. package/dist/esm/models/operations/cancelpayment.js.map +1 -1
  165. package/dist/esm/models/operations/createcustomerpayment.d.ts +1596 -20
  166. package/dist/esm/models/operations/createcustomerpayment.d.ts.map +1 -1
  167. package/dist/esm/models/operations/createcustomerpayment.js +796 -16
  168. package/dist/esm/models/operations/createcustomerpayment.js.map +1 -1
  169. package/dist/esm/models/operations/createpayment.d.ts +1596 -20
  170. package/dist/esm/models/operations/createpayment.d.ts.map +1 -1
  171. package/dist/esm/models/operations/createpayment.js +787 -16
  172. package/dist/esm/models/operations/createpayment.js.map +1 -1
  173. package/dist/esm/models/operations/createpaymentlink.d.ts +2 -2
  174. package/dist/esm/models/operations/getnextsettlement.d.ts +6 -846
  175. package/dist/esm/models/operations/getnextsettlement.d.ts.map +1 -1
  176. package/dist/esm/models/operations/getnextsettlement.js +2 -556
  177. package/dist/esm/models/operations/getnextsettlement.js.map +1 -1
  178. package/dist/esm/models/operations/getopensettlement.d.ts +6 -846
  179. package/dist/esm/models/operations/getopensettlement.d.ts.map +1 -1
  180. package/dist/esm/models/operations/getopensettlement.js +2 -556
  181. package/dist/esm/models/operations/getopensettlement.js.map +1 -1
  182. package/dist/esm/models/operations/getpayment.d.ts +1458 -19
  183. package/dist/esm/models/operations/getpayment.d.ts.map +1 -1
  184. package/dist/esm/models/operations/getpayment.js +731 -16
  185. package/dist/esm/models/operations/getpayment.js.map +1 -1
  186. package/dist/esm/models/operations/getpaymentlink.d.ts +1 -1
  187. package/dist/esm/models/operations/getpaymentlinkpayments.d.ts +1466 -27
  188. package/dist/esm/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
  189. package/dist/esm/models/operations/getpaymentlinkpayments.js +751 -27
  190. package/dist/esm/models/operations/getpaymentlinkpayments.js.map +1 -1
  191. package/dist/esm/models/operations/getsettlement.d.ts +6 -846
  192. package/dist/esm/models/operations/getsettlement.d.ts.map +1 -1
  193. package/dist/esm/models/operations/getsettlement.js +2 -549
  194. package/dist/esm/models/operations/getsettlement.js.map +1 -1
  195. package/dist/esm/models/operations/getwebhookevent.d.ts +1 -1
  196. package/dist/esm/models/operations/listallchargebacks.d.ts +8 -8
  197. package/dist/esm/models/operations/listallchargebacks.d.ts.map +1 -1
  198. package/dist/esm/models/operations/listallchargebacks.js +8 -14
  199. package/dist/esm/models/operations/listallchargebacks.js.map +1 -1
  200. package/dist/esm/models/operations/listallmethods.d.ts +15 -15
  201. package/dist/esm/models/operations/listallmethods.d.ts.map +1 -1
  202. package/dist/esm/models/operations/listallmethods.js +16 -15
  203. package/dist/esm/models/operations/listallmethods.js.map +1 -1
  204. package/dist/esm/models/operations/listallrefunds.d.ts +8 -8
  205. package/dist/esm/models/operations/listallrefunds.d.ts.map +1 -1
  206. package/dist/esm/models/operations/listallrefunds.js +8 -12
  207. package/dist/esm/models/operations/listallrefunds.js.map +1 -1
  208. package/dist/esm/models/operations/listallsubscriptions.d.ts +8 -8
  209. package/dist/esm/models/operations/listallsubscriptions.d.ts.map +1 -1
  210. package/dist/esm/models/operations/listallsubscriptions.js +8 -13
  211. package/dist/esm/models/operations/listallsubscriptions.js.map +1 -1
  212. package/dist/esm/models/operations/listbalances.d.ts +8 -8
  213. package/dist/esm/models/operations/listbalances.d.ts.map +1 -1
  214. package/dist/esm/models/operations/listbalances.js +8 -12
  215. package/dist/esm/models/operations/listbalances.js.map +1 -1
  216. package/dist/esm/models/operations/listbalancetransactions.d.ts +8 -8
  217. package/dist/esm/models/operations/listbalancetransactions.d.ts.map +1 -1
  218. package/dist/esm/models/operations/listbalancetransactions.js +8 -10
  219. package/dist/esm/models/operations/listbalancetransactions.js.map +1 -1
  220. package/dist/esm/models/operations/listcaptures.d.ts +8 -8
  221. package/dist/esm/models/operations/listcaptures.d.ts.map +1 -1
  222. package/dist/esm/models/operations/listcaptures.js +8 -12
  223. package/dist/esm/models/operations/listcaptures.js.map +1 -1
  224. package/dist/esm/models/operations/listchargebacks.d.ts +8 -8
  225. package/dist/esm/models/operations/listchargebacks.d.ts.map +1 -1
  226. package/dist/esm/models/operations/listchargebacks.js +8 -12
  227. package/dist/esm/models/operations/listchargebacks.js.map +1 -1
  228. package/dist/esm/models/operations/listclients.d.ts +8 -8
  229. package/dist/esm/models/operations/listclients.d.ts.map +1 -1
  230. package/dist/esm/models/operations/listclients.js +8 -12
  231. package/dist/esm/models/operations/listclients.js.map +1 -1
  232. package/dist/esm/models/operations/listcustomerpayments.d.ts +1472 -33
  233. package/dist/esm/models/operations/listcustomerpayments.d.ts.map +1 -1
  234. package/dist/esm/models/operations/listcustomerpayments.js +756 -37
  235. package/dist/esm/models/operations/listcustomerpayments.js.map +1 -1
  236. package/dist/esm/models/operations/listcustomers.d.ts +8 -8
  237. package/dist/esm/models/operations/listcustomers.d.ts.map +1 -1
  238. package/dist/esm/models/operations/listcustomers.js +8 -12
  239. package/dist/esm/models/operations/listcustomers.js.map +1 -1
  240. package/dist/esm/models/operations/listinvoices.d.ts +8 -8
  241. package/dist/esm/models/operations/listinvoices.d.ts.map +1 -1
  242. package/dist/esm/models/operations/listinvoices.js +8 -12
  243. package/dist/esm/models/operations/listinvoices.js.map +1 -1
  244. package/dist/esm/models/operations/listmandates.d.ts +8 -8
  245. package/dist/esm/models/operations/listmandates.d.ts.map +1 -1
  246. package/dist/esm/models/operations/listmandates.js +8 -12
  247. package/dist/esm/models/operations/listmandates.js.map +1 -1
  248. package/dist/esm/models/operations/listpaymentlinks.d.ts +9 -9
  249. package/dist/esm/models/operations/listpaymentlinks.d.ts.map +1 -1
  250. package/dist/esm/models/operations/listpaymentlinks.js +8 -13
  251. package/dist/esm/models/operations/listpaymentlinks.js.map +1 -1
  252. package/dist/esm/models/operations/listpayments.d.ts +1472 -33
  253. package/dist/esm/models/operations/listpayments.d.ts.map +1 -1
  254. package/dist/esm/models/operations/listpayments.js +748 -34
  255. package/dist/esm/models/operations/listpayments.js.map +1 -1
  256. package/dist/esm/models/operations/listprofiles.d.ts +8 -8
  257. package/dist/esm/models/operations/listprofiles.d.ts.map +1 -1
  258. package/dist/esm/models/operations/listprofiles.js +8 -12
  259. package/dist/esm/models/operations/listprofiles.js.map +1 -1
  260. package/dist/esm/models/operations/listrefunds.d.ts +8 -8
  261. package/dist/esm/models/operations/listrefunds.d.ts.map +1 -1
  262. package/dist/esm/models/operations/listrefunds.js +8 -12
  263. package/dist/esm/models/operations/listrefunds.js.map +1 -1
  264. package/dist/esm/models/operations/listsalesinvoices.d.ts +8 -8
  265. package/dist/esm/models/operations/listsalesinvoices.d.ts.map +1 -1
  266. package/dist/esm/models/operations/listsalesinvoices.js +8 -14
  267. package/dist/esm/models/operations/listsalesinvoices.js.map +1 -1
  268. package/dist/esm/models/operations/listsettlementcaptures.d.ts +8 -8
  269. package/dist/esm/models/operations/listsettlementcaptures.d.ts.map +1 -1
  270. package/dist/esm/models/operations/listsettlementcaptures.js +8 -11
  271. package/dist/esm/models/operations/listsettlementcaptures.js.map +1 -1
  272. package/dist/esm/models/operations/listsettlementchargebacks.d.ts +8 -8
  273. package/dist/esm/models/operations/listsettlementchargebacks.d.ts.map +1 -1
  274. package/dist/esm/models/operations/listsettlementchargebacks.js +8 -10
  275. package/dist/esm/models/operations/listsettlementchargebacks.js.map +1 -1
  276. package/dist/esm/models/operations/listsettlementpayments.d.ts +1472 -33
  277. package/dist/esm/models/operations/listsettlementpayments.d.ts.map +1 -1
  278. package/dist/esm/models/operations/listsettlementpayments.js +757 -35
  279. package/dist/esm/models/operations/listsettlementpayments.js.map +1 -1
  280. package/dist/esm/models/operations/listsettlementrefunds.d.ts +8 -8
  281. package/dist/esm/models/operations/listsettlementrefunds.d.ts.map +1 -1
  282. package/dist/esm/models/operations/listsettlementrefunds.js +8 -12
  283. package/dist/esm/models/operations/listsettlementrefunds.js.map +1 -1
  284. package/dist/esm/models/operations/listsettlements.d.ts +14 -854
  285. package/dist/esm/models/operations/listsettlements.d.ts.map +1 -1
  286. package/dist/esm/models/operations/listsettlements.js +10 -566
  287. package/dist/esm/models/operations/listsettlements.js.map +1 -1
  288. package/dist/esm/models/operations/listsubscriptionpayments.d.ts +1472 -33
  289. package/dist/esm/models/operations/listsubscriptionpayments.d.ts.map +1 -1
  290. package/dist/esm/models/operations/listsubscriptionpayments.js +757 -34
  291. package/dist/esm/models/operations/listsubscriptionpayments.js.map +1 -1
  292. package/dist/esm/models/operations/listsubscriptions.d.ts +8 -8
  293. package/dist/esm/models/operations/listsubscriptions.d.ts.map +1 -1
  294. package/dist/esm/models/operations/listsubscriptions.js +8 -14
  295. package/dist/esm/models/operations/listsubscriptions.js.map +1 -1
  296. package/dist/esm/models/operations/listterminals.d.ts +8 -8
  297. package/dist/esm/models/operations/listterminals.d.ts.map +1 -1
  298. package/dist/esm/models/operations/listterminals.js +8 -12
  299. package/dist/esm/models/operations/listterminals.js.map +1 -1
  300. package/dist/esm/models/operations/listwebhooks.d.ts +8 -8
  301. package/dist/esm/models/operations/listwebhooks.d.ts.map +1 -1
  302. package/dist/esm/models/operations/listwebhooks.js +8 -12
  303. package/dist/esm/models/operations/listwebhooks.js.map +1 -1
  304. package/dist/esm/models/operations/updatepayment.d.ts +1458 -19
  305. package/dist/esm/models/operations/updatepayment.d.ts.map +1 -1
  306. package/dist/esm/models/operations/updatepayment.js +735 -16
  307. package/dist/esm/models/operations/updatepayment.js.map +1 -1
  308. package/dist/esm/models/operations/updatepaymentlink.d.ts +2 -2
  309. package/docs/sdks/customers/README.md +26 -0
  310. package/docs/sdks/payments/README.md +26 -0
  311. package/examples/package-lock.json +1 -1
  312. package/examples/paymentsCreate.example.ts +14 -0
  313. package/jsr.json +1 -1
  314. package/package.json +1 -1
  315. package/src/lib/config.ts +2 -2
  316. package/src/mcp-server/mcp-server.ts +1 -1
  317. package/src/mcp-server/server.ts +1 -1
  318. package/src/models/operations/cancelpayment.ts +2821 -1297
  319. package/src/models/operations/createcustomerpayment.ts +4804 -3036
  320. package/src/models/operations/createpayment.ts +4484 -2767
  321. package/src/models/operations/createpaymentlink.ts +2 -2
  322. package/src/models/operations/getnextsettlement.ts +4 -1290
  323. package/src/models/operations/getopensettlement.ts +4 -1290
  324. package/src/models/operations/getpayment.ts +3155 -1650
  325. package/src/models/operations/getpaymentlink.ts +1 -1
  326. package/src/models/operations/getpaymentlinkpayments.ts +3426 -1847
  327. package/src/models/operations/getsettlement.ts +4 -1253
  328. package/src/models/operations/getwebhookevent.ts +1 -1
  329. package/src/models/operations/listallchargebacks.ts +16 -22
  330. package/src/models/operations/listallmethods.ts +27 -34
  331. package/src/models/operations/listallrefunds.ts +16 -20
  332. package/src/models/operations/listallsubscriptions.ts +18 -21
  333. package/src/models/operations/listbalances.ts +16 -20
  334. package/src/models/operations/listbalancetransactions.ts +16 -18
  335. package/src/models/operations/listcaptures.ts +16 -20
  336. package/src/models/operations/listchargebacks.ts +16 -20
  337. package/src/models/operations/listclients.ts +16 -20
  338. package/src/models/operations/listcustomerpayments.ts +3408 -1847
  339. package/src/models/operations/listcustomers.ts +16 -20
  340. package/src/models/operations/listinvoices.ts +16 -20
  341. package/src/models/operations/listmandates.ts +16 -20
  342. package/src/models/operations/listpaymentlinks.ts +17 -22
  343. package/src/models/operations/listpayments.ts +2971 -1455
  344. package/src/models/operations/listprofiles.ts +16 -20
  345. package/src/models/operations/listrefunds.ts +16 -20
  346. package/src/models/operations/listsalesinvoices.ts +16 -22
  347. package/src/models/operations/listsettlementcaptures.ts +18 -19
  348. package/src/models/operations/listsettlementchargebacks.ts +16 -18
  349. package/src/models/operations/listsettlementpayments.ts +3436 -1859
  350. package/src/models/operations/listsettlementrefunds.ts +18 -20
  351. package/src/models/operations/listsettlements.ts +228 -1500
  352. package/src/models/operations/listsubscriptionpayments.ts +3479 -1875
  353. package/src/models/operations/listsubscriptions.ts +16 -22
  354. package/src/models/operations/listterminals.ts +16 -20
  355. package/src/models/operations/listwebhooks.ts +16 -20
  356. package/src/models/operations/updatepayment.ts +3437 -1913
  357. package/src/models/operations/updatepaymentlink.ts +2 -2
@@ -1,6 +1,7 @@
1
1
  import * as z from "zod";
2
2
  import { ClosedEnum } from "../../types/enums.js";
3
3
  import { Result as SafeParseResult } from "../../types/fp.js";
4
+ import { RFCDate } from "../../types/rfcdate.js";
4
5
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
6
  /**
6
7
  * Provide any data you like, for example a string or a JSON object. We will save the data alongside the entity. Whenever
@@ -780,7 +781,7 @@ export type UpdatePaymentLine = {
780
781
  * An array with the voucher categories, in case of a line eligible for a voucher. See the
781
782
  *
782
783
  * @remarks
783
- * [Integrating Vouchers](integrating-vouchers) guide for more information.
784
+ * [Integrating Vouchers](https://docs.mollie.com/docs/integrating-vouchers/) guide for more information.
784
785
  */
785
786
  categories?: Array<UpdatePaymentCategory> | undefined;
786
787
  /**
@@ -1345,7 +1346,7 @@ export type UpdatePaymentSequenceType = ClosedEnum<typeof UpdatePaymentSequenceT
1345
1346
  * @remarks
1346
1347
  * statuses occur at what point.
1347
1348
  */
1348
- export declare const UpdatePaymentStatus: {
1349
+ export declare const UpdatePaymentStatusEnum: {
1349
1350
  readonly Open: "open";
1350
1351
  readonly Pending: "pending";
1351
1352
  readonly Authorized: "authorized";
@@ -1360,7 +1361,132 @@ export declare const UpdatePaymentStatus: {
1360
1361
  * @remarks
1361
1362
  * statuses occur at what point.
1362
1363
  */
1363
- export type UpdatePaymentStatus = ClosedEnum<typeof UpdatePaymentStatus>;
1364
+ export type UpdatePaymentStatusEnum = ClosedEnum<typeof UpdatePaymentStatusEnum>;
1365
+ /**
1366
+ * A machine-readable code that indicates the reason for the payment's status.
1367
+ */
1368
+ export declare const UpdatePaymentCode: {
1369
+ readonly ApprovedOrCompletedSuccessfully: "approved_or_completed_successfully";
1370
+ readonly ReferToCardIssuer: "refer_to_card_issuer";
1371
+ readonly InvalidMerchant: "invalid_merchant";
1372
+ readonly CaptureCard: "capture_card";
1373
+ readonly DoNotHonor: "do_not_honor";
1374
+ readonly Error: "error";
1375
+ readonly PartialApproval: "partial_approval";
1376
+ readonly InvalidTransaction: "invalid_transaction";
1377
+ readonly InvalidAmount: "invalid_amount";
1378
+ readonly InvalidIssuer: "invalid_issuer";
1379
+ readonly LostCard: "lost_card";
1380
+ readonly StolenCard: "stolen_card";
1381
+ readonly InsufficientFunds: "insufficient_funds";
1382
+ readonly ExpiredCard: "expired_card";
1383
+ readonly InvalidPin: "invalid_pin";
1384
+ readonly TransactionNotPermittedToCardholder: "transaction_not_permitted_to_cardholder";
1385
+ readonly TransactionNotAllowedAtTerminal: "transaction_not_allowed_at_terminal";
1386
+ readonly ExceedsWithdrawalAmountLimit: "exceeds_withdrawal_amount_limit";
1387
+ readonly RestrictedCard: "restricted_card";
1388
+ readonly SecurityViolation: "security_violation";
1389
+ readonly ExceedsWithdrawalCountLimit: "exceeds_withdrawal_count_limit";
1390
+ readonly AllowableNumberOfPinTriesExceeded: "allowable_number_of_pin_tries_exceeded";
1391
+ readonly NoReasonToDecline: "no_reason_to_decline";
1392
+ readonly CannotVerifyPin: "cannot_verify_pin";
1393
+ readonly IssuerUnavailable: "issuer_unavailable";
1394
+ readonly UnableToRouteTransaction: "unable_to_route_transaction";
1395
+ readonly DuplicateTransaction: "duplicate_transaction";
1396
+ readonly SystemMalfunction: "system_malfunction";
1397
+ readonly HonorWithId: "honor_with_id";
1398
+ readonly InvalidCardNumber: "invalid_card_number";
1399
+ readonly FormatError: "format_error";
1400
+ readonly ContactCardIssuer: "contact_card_issuer";
1401
+ readonly PinNotChanged: "pin_not_changed";
1402
+ readonly InvalidNonexistentToAccountSpecified: "invalid_nonexistent_to_account_specified";
1403
+ readonly InvalidNonexistentFromAccountSpecified: "invalid_nonexistent_from_account_specified";
1404
+ readonly InvalidNonexistentAccountSpecified: "invalid_nonexistent_account_specified";
1405
+ readonly LifecycleRelated: "lifecycle_related";
1406
+ readonly DomesticDebitTransactionNotAllowed: "domestic_debit_transaction_not_allowed";
1407
+ readonly PolicyRelated: "policy_related";
1408
+ readonly FraudSecurityRelated: "fraud_security_related";
1409
+ readonly InvalidAuthorizationLifeCycle: "invalid_authorization_life_cycle";
1410
+ readonly PurchaseAmountOnlyNoCashBackAllowed: "purchase_amount_only_no_cash_back_allowed";
1411
+ readonly CryptographicFailure: "cryptographic_failure";
1412
+ readonly UnacceptablePin: "unacceptable_pin";
1413
+ readonly ReferToCardIssuerSpecialCondition: "refer_to_card_issuer_special_condition";
1414
+ readonly PickUpCardSpecialCondition: "pick_up_card_special_condition";
1415
+ readonly VipApproval: "vip_approval";
1416
+ readonly InvalidAccountNumber: "invalid_account_number";
1417
+ readonly ReEnterTransaction: "re_enter_transaction";
1418
+ readonly NoActionTaken: "no_action_taken";
1419
+ readonly UnableToLocateRecord: "unable_to_locate_record";
1420
+ readonly FileTemporarilyUnavailable: "file_temporarily_unavailable";
1421
+ readonly NoCreditAccount: "no_credit_account";
1422
+ readonly ClosedAccount: "closed_account";
1423
+ readonly NoCheckingAccount: "no_checking_account";
1424
+ readonly NoSavingsAccount: "no_savings_account";
1425
+ readonly SuspectedFraud: "suspected_fraud";
1426
+ readonly TransactionDoesNotFulfillAmlRequirement: "transaction_does_not_fulfill_aml_requirement";
1427
+ readonly PinDataRequired: "pin_data_required";
1428
+ readonly UnableToLocatePreviousMessage: "unable_to_locate_previous_message";
1429
+ readonly PreviousMessageLocatedInconsistentData: "previous_message_located_inconsistent_data";
1430
+ readonly BlockedFirstUsed: "blocked_first_used";
1431
+ readonly TransactionReversed: "transaction_reversed";
1432
+ readonly CreditIssuerUnavailable: "credit_issuer_unavailable";
1433
+ readonly PinCryptographicErrorFound: "pin_cryptographic_error_found";
1434
+ readonly NegativeOnlineCamResult: "negative_online_cam_result";
1435
+ readonly ViolationOfLaw: "violation_of_law";
1436
+ readonly ForceStip: "force_stip";
1437
+ readonly CashServiceNotAvailable: "cash_service_not_available";
1438
+ readonly CashbackRequestExceedsIssuerLimit: "cashback_request_exceeds_issuer_limit";
1439
+ readonly DeclineForCvv2Failure: "decline_for_cvv2_failure";
1440
+ readonly TransactionAmountExceedsPreAuthorizedAmount: "transaction_amount_exceeds_pre_authorized_amount";
1441
+ readonly InvalidBillerInformation: "invalid_biller_information";
1442
+ readonly PinChangeUnblockRequestDeclined: "pin_change_unblock_request_declined";
1443
+ readonly UnsafePin: "unsafe_pin";
1444
+ readonly CardAuthenticationFailed: "card_authentication_failed";
1445
+ readonly StopPaymentOrder: "stop_payment_order";
1446
+ readonly RevocationOfAuthorization: "revocation_of_authorization";
1447
+ readonly RevocationOfAllAuthorizations: "revocation_of_all_authorizations";
1448
+ readonly ForwardToIssuerXa: "forward_to_issuer_xa";
1449
+ readonly ForwardToIssuerXd: "forward_to_issuer_xd";
1450
+ readonly UnableToGoOnline: "unable_to_go_online";
1451
+ readonly AdditionalCustomerAuthenticationRequired: "additional_customer_authentication_required";
1452
+ readonly MerchantIdNotFound: "merchant_id_not_found";
1453
+ readonly MerchantAccountClosed: "merchant_account_closed";
1454
+ readonly TerminalIdNotFound: "terminal_id_not_found";
1455
+ readonly TerminalClosed: "terminal_closed";
1456
+ readonly InvalidCategoryCode: "invalid_category_code";
1457
+ readonly InvalidCurrency: "invalid_currency";
1458
+ readonly MissingCvv2Cvc2: "missing_cvv2_cvc2";
1459
+ readonly Cvv2NotAllowed: "cvv2_not_allowed";
1460
+ readonly MerchantNotRegisteredVbv: "merchant_not_registered_vbv";
1461
+ readonly MerchantNotRegisteredForAmex: "merchant_not_registered_for_amex";
1462
+ readonly TransactionNotPermittedAtTerminal: "transaction_not_permitted_at_terminal";
1463
+ readonly AgreementTerminalNotRelated: "agreement_terminal_not_related";
1464
+ readonly InvalidProcessorId: "invalid_processor_id";
1465
+ readonly InvalidMerchantData: "invalid_merchant_data";
1466
+ readonly SubMerchantAccountClosed: "sub_merchant_account_closed";
1467
+ readonly TerminalBusy: "terminal_busy";
1468
+ readonly TerminalUnreachable: "terminal_unreachable";
1469
+ readonly ServiceFailed: "service_failed";
1470
+ readonly InvalidOperation: "invalid_operation";
1471
+ readonly AuthorizationError: "authorization_error";
1472
+ readonly LoginFailedWithoutReason: "login_failed_without_reason";
1473
+ readonly InvalidRetailer: "invalid_retailer";
1474
+ readonly CardDoesNotExist: "card_does_not_exist";
1475
+ readonly CardIsBlocked: "card_is_blocked";
1476
+ readonly InvalidCardId: "invalid_card_id";
1477
+ readonly CardIsTransferred: "card_is_transferred";
1478
+ readonly CardIsNotActive: "card_is_not_active";
1479
+ readonly IncorrectPurchaseValue: "incorrect_purchase_value";
1480
+ readonly CardNotAvailable: "card_not_available";
1481
+ readonly WrongCurrency: "wrong_currency";
1482
+ readonly LoginFailedUnknownUser: "login_failed_unknown_user";
1483
+ readonly LoginFailedInvalidPassword: "login_failed_invalid_password";
1484
+ readonly InvalidEanCode: "invalid_ean_code";
1485
+ };
1486
+ /**
1487
+ * A machine-readable code that indicates the reason for the payment's status.
1488
+ */
1489
+ export type UpdatePaymentCode = ClosedEnum<typeof UpdatePaymentCode>;
1364
1490
  /**
1365
1491
  * This object offers details about the status of a payment. Currently it is only available for point-of-sale
1366
1492
  *
@@ -1371,15 +1497,518 @@ export type UpdatePaymentStatus = ClosedEnum<typeof UpdatePaymentStatus>;
1371
1497
  * [this page](status-reasons).**
1372
1498
  */
1373
1499
  export type UpdatePaymentStatusReason = {
1374
- /**
1375
- * A machine-readable code that indicates the reason for the payment's status.
1376
- */
1377
- code: string;
1500
+ code: UpdatePaymentCode;
1378
1501
  /**
1379
1502
  * A description of the status reason, localized according to the payment `locale`.
1380
1503
  */
1381
1504
  message: string;
1382
1505
  };
1506
+ /**
1507
+ * The card's target audience, if known.
1508
+ */
1509
+ export declare const UpdatePaymentCardAudition: {
1510
+ readonly Consumer: "consumer";
1511
+ readonly Business: "business";
1512
+ };
1513
+ /**
1514
+ * The card's target audience, if known.
1515
+ */
1516
+ export type UpdatePaymentCardAudition = ClosedEnum<typeof UpdatePaymentCardAudition>;
1517
+ /**
1518
+ * The card's label, if known.
1519
+ */
1520
+ export declare const UpdatePaymentCardLabel: {
1521
+ readonly AmericanExpress: "American Express";
1522
+ readonly CartaSi: "Carta Si";
1523
+ readonly CarteBleue: "Carte Bleue";
1524
+ readonly Dankort: "Dankort";
1525
+ readonly DinersClub: "Diners Club";
1526
+ readonly Discover: "Discover";
1527
+ readonly Jcb: "JCB";
1528
+ readonly Laser: "Laser";
1529
+ readonly Maestro: "Maestro";
1530
+ readonly Mastercard: "Mastercard";
1531
+ readonly Unionpay: "Unionpay";
1532
+ readonly Visa: "Visa";
1533
+ readonly Vpay: "Vpay";
1534
+ };
1535
+ /**
1536
+ * The card's label, if known.
1537
+ */
1538
+ export type UpdatePaymentCardLabel = ClosedEnum<typeof UpdatePaymentCardLabel>;
1539
+ /**
1540
+ * The card type.
1541
+ */
1542
+ export declare const UpdatePaymentCardFunding: {
1543
+ readonly Debit: "debit";
1544
+ readonly Credit: "credit";
1545
+ readonly Prepaid: "prepaid";
1546
+ readonly DeferredDebit: "deferred-debit";
1547
+ };
1548
+ /**
1549
+ * The card type.
1550
+ */
1551
+ export type UpdatePaymentCardFunding = ClosedEnum<typeof UpdatePaymentCardFunding>;
1552
+ /**
1553
+ * The level of security applied during card processing.
1554
+ */
1555
+ export declare const UpdatePaymentCardSecurity: {
1556
+ readonly Normal: "normal";
1557
+ readonly Threedsecure: "3dsecure";
1558
+ };
1559
+ /**
1560
+ * The level of security applied during card processing.
1561
+ */
1562
+ export type UpdatePaymentCardSecurity = ClosedEnum<typeof UpdatePaymentCardSecurity>;
1563
+ /**
1564
+ * The applicable card fee region.
1565
+ */
1566
+ export declare const UpdatePaymentFeeRegion: {
1567
+ readonly AmericanExpress: "american-express";
1568
+ readonly AmexIntraEea: "amex-intra-eea";
1569
+ readonly CarteBancaire: "carte-bancaire";
1570
+ readonly IntraEu: "intra-eu";
1571
+ readonly IntraEuCorporate: "intra-eu-corporate";
1572
+ readonly Domestic: "domestic";
1573
+ readonly Maestro: "maestro";
1574
+ readonly Other: "other";
1575
+ readonly Inter: "inter";
1576
+ readonly IntraEea: "intra-eea";
1577
+ };
1578
+ /**
1579
+ * The applicable card fee region.
1580
+ */
1581
+ export type UpdatePaymentFeeRegion = ClosedEnum<typeof UpdatePaymentFeeRegion>;
1582
+ /**
1583
+ * A failure code to help understand why the payment failed.
1584
+ */
1585
+ export declare const UpdatePaymentFailureReason: {
1586
+ readonly AuthenticationAbandoned: "authentication_abandoned";
1587
+ readonly AuthenticationFailed: "authentication_failed";
1588
+ readonly AuthenticationRequired: "authentication_required";
1589
+ readonly AuthenticationUnavailableAcs: "authentication_unavailable_acs";
1590
+ readonly CardDeclined: "card_declined";
1591
+ readonly CardExpired: "card_expired";
1592
+ readonly InactiveCard: "inactive_card";
1593
+ readonly InsufficientFunds: "insufficient_funds";
1594
+ readonly InvalidCvv: "invalid_cvv";
1595
+ readonly InvalidCardHolderName: "invalid_card_holder_name";
1596
+ readonly InvalidCardNumber: "invalid_card_number";
1597
+ readonly InvalidCardType: "invalid_card_type";
1598
+ readonly PossibleFraud: "possible_fraud";
1599
+ readonly RefusedByIssuer: "refused_by_issuer";
1600
+ readonly UnknownReason: "unknown_reason";
1601
+ };
1602
+ /**
1603
+ * A failure code to help understand why the payment failed.
1604
+ */
1605
+ export type UpdatePaymentFailureReason = ClosedEnum<typeof UpdatePaymentFailureReason>;
1606
+ /**
1607
+ * The wallet used when creating the payment.
1608
+ */
1609
+ export declare const UpdatePaymentWallet: {
1610
+ readonly Applepay: "applepay";
1611
+ };
1612
+ /**
1613
+ * The wallet used when creating the payment.
1614
+ */
1615
+ export type UpdatePaymentWallet = ClosedEnum<typeof UpdatePaymentWallet>;
1616
+ /**
1617
+ * Indicates to what extent the payment is eligible for PayPal's Seller Protection. Only available for PayPal
1618
+ *
1619
+ * @remarks
1620
+ * payments, and if the information is made available by PayPal.
1621
+ */
1622
+ export declare const UpdatePaymentSellerProtection: {
1623
+ readonly Eligible: "Eligible";
1624
+ readonly Ineligible: "Ineligible";
1625
+ readonly PartiallyEligibleINROnly: "Partially Eligible - INR Only";
1626
+ readonly PartiallyEligibleUnauthOnly: "Partially Eligible - Unauth Only";
1627
+ readonly PartiallyEligible: "Partially Eligible";
1628
+ readonly None: "None";
1629
+ readonly Active: "Active";
1630
+ readonly FraudControlUnauthPremiumEligible: "Fraud Control - Unauth Premium Eligible";
1631
+ };
1632
+ /**
1633
+ * Indicates to what extent the payment is eligible for PayPal's Seller Protection. Only available for PayPal
1634
+ *
1635
+ * @remarks
1636
+ * payments, and if the information is made available by PayPal.
1637
+ */
1638
+ export type UpdatePaymentSellerProtection = ClosedEnum<typeof UpdatePaymentSellerProtection>;
1639
+ /**
1640
+ * An amount object containing the fee PayPal will charge for this transaction. The field may be omitted if
1641
+ *
1642
+ * @remarks
1643
+ * PayPal will not charge a fee for this transaction.
1644
+ */
1645
+ export type UpdatePaymentPaypalFee = {
1646
+ /**
1647
+ * A three-character ISO 4217 currency code.
1648
+ */
1649
+ currency: string;
1650
+ /**
1651
+ * A string containing an exact monetary amount in the given currency.
1652
+ */
1653
+ value: string;
1654
+ };
1655
+ /**
1656
+ * The method by which the card was read by the terminal.
1657
+ */
1658
+ export declare const UpdatePaymentCardReadMethod: {
1659
+ readonly Chip: "chip";
1660
+ readonly MagneticStripe: "magnetic-stripe";
1661
+ readonly NearFieldCommunication: "near-field-communication";
1662
+ readonly Contactless: "contactless";
1663
+ readonly Moto: "moto";
1664
+ };
1665
+ /**
1666
+ * The method by which the card was read by the terminal.
1667
+ */
1668
+ export type UpdatePaymentCardReadMethod = ClosedEnum<typeof UpdatePaymentCardReadMethod>;
1669
+ /**
1670
+ * The method used to verify the cardholder's identity.
1671
+ */
1672
+ export declare const UpdatePaymentCardVerificationMethod: {
1673
+ readonly NoCvmRequired: "no-cvm-required";
1674
+ readonly OnlinePin: "online-pin";
1675
+ readonly OfflinePin: "offline-pin";
1676
+ readonly ConsumerDevice: "consumer-device";
1677
+ readonly Signature: "signature";
1678
+ readonly SignatureAndOnlinePin: "signature-and-online-pin";
1679
+ readonly OnlinePinAndSignature: "online-pin-and-signature";
1680
+ readonly None: "none";
1681
+ readonly Failed: "failed";
1682
+ };
1683
+ /**
1684
+ * The method used to verify the cardholder's identity.
1685
+ */
1686
+ export type UpdatePaymentCardVerificationMethod = ClosedEnum<typeof UpdatePaymentCardVerificationMethod>;
1687
+ /**
1688
+ * The Point of sale receipt object.
1689
+ */
1690
+ export type UpdatePaymentReceipt = {
1691
+ /**
1692
+ * A unique code provided by the cardholder’s bank to confirm that the transaction was successfully approved.
1693
+ */
1694
+ authorizationCode?: string | null | undefined;
1695
+ /**
1696
+ * The unique number that identifies a specific payment application on a chip card.
1697
+ */
1698
+ applicationIdentifier?: string | null | undefined;
1699
+ /**
1700
+ * The method by which the card was read by the terminal.
1701
+ */
1702
+ cardReadMethod?: UpdatePaymentCardReadMethod | null | undefined;
1703
+ /**
1704
+ * The method used to verify the cardholder's identity.
1705
+ */
1706
+ cardVerificationMethod?: UpdatePaymentCardVerificationMethod | null | undefined;
1707
+ };
1708
+ /**
1709
+ * Optional include. If a QR code was requested during payment creation for a QR-compatible payment method,
1710
+ *
1711
+ * @remarks
1712
+ * the QR code details will be available in this object.
1713
+ *
1714
+ * The QR code can be scanned by the customer to complete the payment on their mobile device. For example,
1715
+ * Bancontact QR payments can be completed by the customer using the Bancontact app.
1716
+ */
1717
+ export type UpdatePaymentQrCode = {
1718
+ /**
1719
+ * The height of the QR code image in pixels.
1720
+ */
1721
+ height?: number | undefined;
1722
+ /**
1723
+ * The width of the QR code image in pixels.
1724
+ */
1725
+ width?: number | undefined;
1726
+ /**
1727
+ * The URL to the QR code image. The image is a PNG file, and can be displayed directly in the browser or
1728
+ *
1729
+ * @remarks
1730
+ * downloaded.
1731
+ */
1732
+ src?: string | undefined;
1733
+ };
1734
+ /**
1735
+ * An amount object for the amount that remained after all gift cards or vouchers were applied.
1736
+ */
1737
+ export type UpdatePaymentRemainderAmount = {
1738
+ /**
1739
+ * A three-character ISO 4217 currency code.
1740
+ */
1741
+ currency: string;
1742
+ /**
1743
+ * A string containing an exact monetary amount in the given currency.
1744
+ */
1745
+ value: string;
1746
+ };
1747
+ /**
1748
+ * An object containing payment details collected during the payment process. For example, details may include the
1749
+ *
1750
+ * @remarks
1751
+ * customer's card or bank details and a payment reference. For the full list of details, please refer to the
1752
+ * [method-specific parameters](extra-payment-parameters) guide.
1753
+ */
1754
+ export type UpdatePaymentDetails = {
1755
+ /**
1756
+ * The customer's name, if made available by the payment method. For card payments, refer to details.cardHolder.
1757
+ */
1758
+ consumerName?: string | null | undefined;
1759
+ /**
1760
+ * The customer's account reference.
1761
+ *
1762
+ * @remarks
1763
+ *
1764
+ * For banking-based payment methods — such as iDEAL — this is normally either an IBAN or a domestic bank account
1765
+ * number.
1766
+ *
1767
+ * For PayPal, the account reference is an email address.
1768
+ *
1769
+ * For card and Bancontact payments, refer to details.cardNumber.
1770
+ */
1771
+ consumerAccount?: string | null | undefined;
1772
+ /**
1773
+ * The BIC of the customer's bank account, if applicable.
1774
+ */
1775
+ consumerBic?: string | null | undefined;
1776
+ /**
1777
+ * For wallet payment methods — such as Apple Pay and PayPal — the shipping address is often already known by the
1778
+ *
1779
+ * @remarks
1780
+ * wallet provider. In these cases the shipping address may be available as a payment detail.
1781
+ */
1782
+ shippingAddress?: {
1783
+ [k: string]: any;
1784
+ } | null | undefined;
1785
+ /**
1786
+ * For bancontact, it will be the customer's masked card number. For cards, it will be the last 4-digit of the
1787
+ *
1788
+ * @remarks
1789
+ * PAN. For Point-of-sale, it will be the the last 4 digits of the customer's masked card number.
1790
+ */
1791
+ cardNumber?: string | null | undefined;
1792
+ /**
1793
+ * The name of the bank that the customer will need to make the bank transfer payment towards.
1794
+ */
1795
+ bankName?: string | undefined;
1796
+ /**
1797
+ * The bank account number the customer will need to make the bank transfer payment towards.
1798
+ */
1799
+ bankAccount?: string | undefined;
1800
+ /**
1801
+ * The BIC of the bank the customer will need to make the bank transfer payment towards.
1802
+ */
1803
+ bankBic?: string | undefined;
1804
+ /**
1805
+ * The Mollie-generated reference the customer needs to use when transfering the amount. Do not apply any
1806
+ *
1807
+ * @remarks
1808
+ * formatting here; show it to the customer as-is.
1809
+ */
1810
+ transferReference?: string | null | undefined;
1811
+ /**
1812
+ * A unique fingerprint for a specific card. Can be used to identify returning customers.
1813
+ *
1814
+ * @remarks
1815
+ *
1816
+ * In the case of Point-of-sale payments, it's a unique identifier assigned to a cardholder's payment account,
1817
+ * linking multiple transactions from wallets and physical card to a single account, also across payment methods
1818
+ * or when the card is reissued.
1819
+ */
1820
+ cardFingerprint?: string | null | undefined;
1821
+ /**
1822
+ * The customer's name as shown on their card.
1823
+ */
1824
+ cardHolder?: string | null | undefined;
1825
+ /**
1826
+ * The card's target audience, if known.
1827
+ */
1828
+ cardAudition?: UpdatePaymentCardAudition | null | undefined;
1829
+ /**
1830
+ * The card's label, if known.
1831
+ */
1832
+ cardLabel?: UpdatePaymentCardLabel | null | undefined;
1833
+ /**
1834
+ * The ISO 3166-1 alpha-2 country code of the country the card was issued in.
1835
+ */
1836
+ cardCountryCode?: string | null | undefined;
1837
+ /**
1838
+ * The expiry date (MM/YY) of the card as displayed on the card.
1839
+ */
1840
+ cardExpiryDate?: string | null | undefined;
1841
+ /**
1842
+ * The card type.
1843
+ */
1844
+ cardFunding?: UpdatePaymentCardFunding | null | undefined;
1845
+ /**
1846
+ * The level of security applied during card processing.
1847
+ */
1848
+ cardSecurity?: UpdatePaymentCardSecurity | null | undefined;
1849
+ /**
1850
+ * The applicable card fee region.
1851
+ */
1852
+ feeRegion?: UpdatePaymentFeeRegion | null | undefined;
1853
+ /**
1854
+ * The first 6 and last 4 digits of the card number.
1855
+ */
1856
+ cardMaskedNumber?: string | null | undefined;
1857
+ /**
1858
+ * The outcome of authentication attempted on transactions enforced by 3DS (ie valid only for oneoff and first).
1859
+ */
1860
+ card3dsEci?: string | null | undefined;
1861
+ /**
1862
+ * The first 6 digit of the card bank identification number.
1863
+ */
1864
+ cardBin?: string | null | undefined;
1865
+ /**
1866
+ * The issuer of the Card.
1867
+ */
1868
+ cardIssuer?: string | null | undefined;
1869
+ /**
1870
+ * A failure code to help understand why the payment failed.
1871
+ */
1872
+ failureReason?: UpdatePaymentFailureReason | null | undefined;
1873
+ /**
1874
+ * A human-friendly failure message that can be shown to the customer. The message is translated in accordance
1875
+ *
1876
+ * @remarks
1877
+ * with the payment's locale setting.
1878
+ */
1879
+ failureMessage?: string | null | undefined;
1880
+ /**
1881
+ * The wallet used when creating the payment.
1882
+ */
1883
+ wallet?: UpdatePaymentWallet | null | undefined;
1884
+ /**
1885
+ * PayPal's reference for the payment.
1886
+ */
1887
+ paypalReference?: string | null | undefined;
1888
+ /**
1889
+ * ID of the customer's PayPal account.
1890
+ */
1891
+ paypalPayerId?: string | null | undefined;
1892
+ /**
1893
+ * Indicates to what extent the payment is eligible for PayPal's Seller Protection. Only available for PayPal
1894
+ *
1895
+ * @remarks
1896
+ * payments, and if the information is made available by PayPal.
1897
+ */
1898
+ sellerProtection?: UpdatePaymentSellerProtection | null | undefined;
1899
+ /**
1900
+ * An amount object containing the fee PayPal will charge for this transaction. The field may be omitted if
1901
+ *
1902
+ * @remarks
1903
+ * PayPal will not charge a fee for this transaction.
1904
+ */
1905
+ paypalFee?: UpdatePaymentPaypalFee | null | undefined;
1906
+ /**
1907
+ * The paysafecard customer reference either provided via the API or otherwise auto-generated by Mollie.
1908
+ */
1909
+ customerReference?: string | undefined;
1910
+ /**
1911
+ * The ID of the terminal device where the payment took place on.
1912
+ */
1913
+ terminalId?: string | undefined;
1914
+ /**
1915
+ * The first 6 digits & last 4 digits of the customer's masked card number.
1916
+ */
1917
+ maskedNumber?: string | null | undefined;
1918
+ /**
1919
+ * The Point of sale receipt object.
1920
+ */
1921
+ receipt?: UpdatePaymentReceipt | undefined;
1922
+ /**
1923
+ * The creditor identifier indicates who is authorized to execute the payment. In this case, it is a
1924
+ *
1925
+ * @remarks
1926
+ * reference to Mollie.
1927
+ */
1928
+ creditorIdentifier?: string | null | undefined;
1929
+ /**
1930
+ * Estimated date the payment is debited from the customer's bank account, in YYYY-MM-DD format.
1931
+ */
1932
+ dueDate?: RFCDate | null | undefined;
1933
+ /**
1934
+ * Date the payment has been signed by the customer, in YYYY-MM-DD format. Only available if the payment
1935
+ *
1936
+ * @remarks
1937
+ * has been signed.
1938
+ */
1939
+ signatureDate?: RFCDate | null | undefined;
1940
+ /**
1941
+ * The official reason why this payment has failed. A detailed description of each reason is available on the
1942
+ *
1943
+ * @remarks
1944
+ * website of the European Payments Council.
1945
+ */
1946
+ bankReasonCode?: string | null | undefined;
1947
+ /**
1948
+ * A human-friendly description of the failure reason.
1949
+ */
1950
+ bankReason?: string | null | undefined;
1951
+ /**
1952
+ * The end-to-end identifier you provided in the batch file.
1953
+ */
1954
+ endToEndIdentifier?: string | null | undefined;
1955
+ /**
1956
+ * The mandate reference you provided in the batch file.
1957
+ */
1958
+ mandateReference?: string | null | undefined;
1959
+ /**
1960
+ * The batch reference you provided in the batch file.
1961
+ */
1962
+ batchReference?: string | null | undefined;
1963
+ /**
1964
+ * The file reference you provided in the batch file.
1965
+ */
1966
+ fileReference?: string | null | undefined;
1967
+ /**
1968
+ * Optional include. If a QR code was requested during payment creation for a QR-compatible payment method,
1969
+ *
1970
+ * @remarks
1971
+ * the QR code details will be available in this object.
1972
+ *
1973
+ * The QR code can be scanned by the customer to complete the payment on their mobile device. For example,
1974
+ * Bancontact QR payments can be completed by the customer using the Bancontact app.
1975
+ */
1976
+ qrCode?: UpdatePaymentQrCode | undefined;
1977
+ /**
1978
+ * For payments with gift cards: the masked gift card number of the first gift card applied to the payment.
1979
+ */
1980
+ voucherNumber?: string | undefined;
1981
+ /**
1982
+ * An array of detail objects for each gift card that was used on this payment, if any.
1983
+ */
1984
+ giftcards?: Array<{
1985
+ [k: string]: any;
1986
+ }> | undefined;
1987
+ /**
1988
+ * For payments with vouchers: the brand name of the first voucher applied.
1989
+ */
1990
+ issuer?: string | undefined;
1991
+ /**
1992
+ * An array of detail objects for each voucher that was used on this payment, if any.
1993
+ */
1994
+ vouchers?: Array<{
1995
+ [k: string]: any;
1996
+ }> | undefined;
1997
+ /**
1998
+ * An amount object for the amount that remained after all gift cards or vouchers were applied.
1999
+ */
2000
+ remainderAmount?: UpdatePaymentRemainderAmount | undefined;
2001
+ /**
2002
+ * The payment method used to pay the remainder amount, after all gift cards or vouchers were applied.
2003
+ */
2004
+ remainderMethod?: string | undefined;
2005
+ /**
2006
+ * Optional include. The full payment method details of the remainder payment.
2007
+ */
2008
+ remainderDetails?: {
2009
+ [k: string]: any;
2010
+ } | undefined;
2011
+ };
1383
2012
  /**
1384
2013
  * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
1385
2014
  */
@@ -1596,6 +2225,38 @@ export type UpdatePaymentDocumentation = {
1596
2225
  */
1597
2226
  type: string;
1598
2227
  };
2228
+ /**
2229
+ * Link to customer-facing page showing the status of the bank transfer (to verify if the transaction was
2230
+ *
2231
+ * @remarks
2232
+ * successful).
2233
+ */
2234
+ export type UpdatePaymentLinksStatus = {
2235
+ /**
2236
+ * The actual URL string.
2237
+ */
2238
+ href: string;
2239
+ /**
2240
+ * The content type of the page or endpoint the URL points to.
2241
+ */
2242
+ type: string;
2243
+ };
2244
+ /**
2245
+ * Link to Mollie Checkout page allowing customers to select a different payment method instead of legacy
2246
+ *
2247
+ * @remarks
2248
+ * bank transfer.
2249
+ */
2250
+ export type UpdatePaymentPayOnline = {
2251
+ /**
2252
+ * The actual URL string.
2253
+ */
2254
+ href: string;
2255
+ /**
2256
+ * The content type of the page or endpoint the URL points to.
2257
+ */
2258
+ type: string;
2259
+ };
1599
2260
  /**
1600
2261
  * An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
1601
2262
  */
@@ -1681,6 +2342,20 @@ export type UpdatePaymentLinks = {
1681
2342
  * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
1682
2343
  */
1683
2344
  documentation?: UpdatePaymentDocumentation | undefined;
2345
+ /**
2346
+ * Link to customer-facing page showing the status of the bank transfer (to verify if the transaction was
2347
+ *
2348
+ * @remarks
2349
+ * successful).
2350
+ */
2351
+ status?: UpdatePaymentLinksStatus | undefined;
2352
+ /**
2353
+ * Link to Mollie Checkout page allowing customers to select a different payment method instead of legacy
2354
+ *
2355
+ * @remarks
2356
+ * bank transfer.
2357
+ */
2358
+ payOnline?: UpdatePaymentPayOnline | undefined;
1684
2359
  };
1685
2360
  /**
1686
2361
  * The updated payment object.
@@ -2020,7 +2695,7 @@ export type UpdatePaymentResponse = {
2020
2695
  * @remarks
2021
2696
  * statuses occur at what point.
2022
2697
  */
2023
- status: UpdatePaymentStatus;
2698
+ status: UpdatePaymentStatusEnum;
2024
2699
  /**
2025
2700
  * This object offers details about the status of a payment. Currently it is only available for point-of-sale
2026
2701
  *
@@ -2042,9 +2717,7 @@ export type UpdatePaymentResponse = {
2042
2717
  * customer's card or bank details and a payment reference. For the full list of details, please refer to the
2043
2718
  * [method-specific parameters](extra-payment-parameters) guide.
2044
2719
  */
2045
- details?: {
2046
- [k: string]: any;
2047
- } | null | undefined;
2720
+ details?: UpdatePaymentDetails | null | undefined;
2048
2721
  /**
2049
2722
  * The entity's date and time of creation, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
2050
2723
  */
@@ -3401,15 +4074,15 @@ export declare namespace UpdatePaymentSequenceType$ {
3401
4074
  }>;
3402
4075
  }
3403
4076
  /** @internal */
3404
- export declare const UpdatePaymentStatus$inboundSchema: z.ZodNativeEnum<typeof UpdatePaymentStatus>;
4077
+ export declare const UpdatePaymentStatusEnum$inboundSchema: z.ZodNativeEnum<typeof UpdatePaymentStatusEnum>;
3405
4078
  /** @internal */
3406
- export declare const UpdatePaymentStatus$outboundSchema: z.ZodNativeEnum<typeof UpdatePaymentStatus>;
4079
+ export declare const UpdatePaymentStatusEnum$outboundSchema: z.ZodNativeEnum<typeof UpdatePaymentStatusEnum>;
3407
4080
  /**
3408
4081
  * @internal
3409
4082
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3410
4083
  */
3411
- export declare namespace UpdatePaymentStatus$ {
3412
- /** @deprecated use `UpdatePaymentStatus$inboundSchema` instead. */
4084
+ export declare namespace UpdatePaymentStatusEnum$ {
4085
+ /** @deprecated use `UpdatePaymentStatusEnum$inboundSchema` instead. */
3413
4086
  const inboundSchema: z.ZodNativeEnum<{
3414
4087
  readonly Open: "open";
3415
4088
  readonly Pending: "pending";
@@ -3419,7 +4092,7 @@ export declare namespace UpdatePaymentStatus$ {
3419
4092
  readonly Expired: "expired";
3420
4093
  readonly Failed: "failed";
3421
4094
  }>;
3422
- /** @deprecated use `UpdatePaymentStatus$outboundSchema` instead. */
4095
+ /** @deprecated use `UpdatePaymentStatusEnum$outboundSchema` instead. */
3423
4096
  const outboundSchema: z.ZodNativeEnum<{
3424
4097
  readonly Open: "open";
3425
4098
  readonly Pending: "pending";
@@ -3431,6 +4104,254 @@ export declare namespace UpdatePaymentStatus$ {
3431
4104
  }>;
3432
4105
  }
3433
4106
  /** @internal */
4107
+ export declare const UpdatePaymentCode$inboundSchema: z.ZodNativeEnum<typeof UpdatePaymentCode>;
4108
+ /** @internal */
4109
+ export declare const UpdatePaymentCode$outboundSchema: z.ZodNativeEnum<typeof UpdatePaymentCode>;
4110
+ /**
4111
+ * @internal
4112
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4113
+ */
4114
+ export declare namespace UpdatePaymentCode$ {
4115
+ /** @deprecated use `UpdatePaymentCode$inboundSchema` instead. */
4116
+ const inboundSchema: z.ZodNativeEnum<{
4117
+ readonly ApprovedOrCompletedSuccessfully: "approved_or_completed_successfully";
4118
+ readonly ReferToCardIssuer: "refer_to_card_issuer";
4119
+ readonly InvalidMerchant: "invalid_merchant";
4120
+ readonly CaptureCard: "capture_card";
4121
+ readonly DoNotHonor: "do_not_honor";
4122
+ readonly Error: "error";
4123
+ readonly PartialApproval: "partial_approval";
4124
+ readonly InvalidTransaction: "invalid_transaction";
4125
+ readonly InvalidAmount: "invalid_amount";
4126
+ readonly InvalidIssuer: "invalid_issuer";
4127
+ readonly LostCard: "lost_card";
4128
+ readonly StolenCard: "stolen_card";
4129
+ readonly InsufficientFunds: "insufficient_funds";
4130
+ readonly ExpiredCard: "expired_card";
4131
+ readonly InvalidPin: "invalid_pin";
4132
+ readonly TransactionNotPermittedToCardholder: "transaction_not_permitted_to_cardholder";
4133
+ readonly TransactionNotAllowedAtTerminal: "transaction_not_allowed_at_terminal";
4134
+ readonly ExceedsWithdrawalAmountLimit: "exceeds_withdrawal_amount_limit";
4135
+ readonly RestrictedCard: "restricted_card";
4136
+ readonly SecurityViolation: "security_violation";
4137
+ readonly ExceedsWithdrawalCountLimit: "exceeds_withdrawal_count_limit";
4138
+ readonly AllowableNumberOfPinTriesExceeded: "allowable_number_of_pin_tries_exceeded";
4139
+ readonly NoReasonToDecline: "no_reason_to_decline";
4140
+ readonly CannotVerifyPin: "cannot_verify_pin";
4141
+ readonly IssuerUnavailable: "issuer_unavailable";
4142
+ readonly UnableToRouteTransaction: "unable_to_route_transaction";
4143
+ readonly DuplicateTransaction: "duplicate_transaction";
4144
+ readonly SystemMalfunction: "system_malfunction";
4145
+ readonly HonorWithId: "honor_with_id";
4146
+ readonly InvalidCardNumber: "invalid_card_number";
4147
+ readonly FormatError: "format_error";
4148
+ readonly ContactCardIssuer: "contact_card_issuer";
4149
+ readonly PinNotChanged: "pin_not_changed";
4150
+ readonly InvalidNonexistentToAccountSpecified: "invalid_nonexistent_to_account_specified";
4151
+ readonly InvalidNonexistentFromAccountSpecified: "invalid_nonexistent_from_account_specified";
4152
+ readonly InvalidNonexistentAccountSpecified: "invalid_nonexistent_account_specified";
4153
+ readonly LifecycleRelated: "lifecycle_related";
4154
+ readonly DomesticDebitTransactionNotAllowed: "domestic_debit_transaction_not_allowed";
4155
+ readonly PolicyRelated: "policy_related";
4156
+ readonly FraudSecurityRelated: "fraud_security_related";
4157
+ readonly InvalidAuthorizationLifeCycle: "invalid_authorization_life_cycle";
4158
+ readonly PurchaseAmountOnlyNoCashBackAllowed: "purchase_amount_only_no_cash_back_allowed";
4159
+ readonly CryptographicFailure: "cryptographic_failure";
4160
+ readonly UnacceptablePin: "unacceptable_pin";
4161
+ readonly ReferToCardIssuerSpecialCondition: "refer_to_card_issuer_special_condition";
4162
+ readonly PickUpCardSpecialCondition: "pick_up_card_special_condition";
4163
+ readonly VipApproval: "vip_approval";
4164
+ readonly InvalidAccountNumber: "invalid_account_number";
4165
+ readonly ReEnterTransaction: "re_enter_transaction";
4166
+ readonly NoActionTaken: "no_action_taken";
4167
+ readonly UnableToLocateRecord: "unable_to_locate_record";
4168
+ readonly FileTemporarilyUnavailable: "file_temporarily_unavailable";
4169
+ readonly NoCreditAccount: "no_credit_account";
4170
+ readonly ClosedAccount: "closed_account";
4171
+ readonly NoCheckingAccount: "no_checking_account";
4172
+ readonly NoSavingsAccount: "no_savings_account";
4173
+ readonly SuspectedFraud: "suspected_fraud";
4174
+ readonly TransactionDoesNotFulfillAmlRequirement: "transaction_does_not_fulfill_aml_requirement";
4175
+ readonly PinDataRequired: "pin_data_required";
4176
+ readonly UnableToLocatePreviousMessage: "unable_to_locate_previous_message";
4177
+ readonly PreviousMessageLocatedInconsistentData: "previous_message_located_inconsistent_data";
4178
+ readonly BlockedFirstUsed: "blocked_first_used";
4179
+ readonly TransactionReversed: "transaction_reversed";
4180
+ readonly CreditIssuerUnavailable: "credit_issuer_unavailable";
4181
+ readonly PinCryptographicErrorFound: "pin_cryptographic_error_found";
4182
+ readonly NegativeOnlineCamResult: "negative_online_cam_result";
4183
+ readonly ViolationOfLaw: "violation_of_law";
4184
+ readonly ForceStip: "force_stip";
4185
+ readonly CashServiceNotAvailable: "cash_service_not_available";
4186
+ readonly CashbackRequestExceedsIssuerLimit: "cashback_request_exceeds_issuer_limit";
4187
+ readonly DeclineForCvv2Failure: "decline_for_cvv2_failure";
4188
+ readonly TransactionAmountExceedsPreAuthorizedAmount: "transaction_amount_exceeds_pre_authorized_amount";
4189
+ readonly InvalidBillerInformation: "invalid_biller_information";
4190
+ readonly PinChangeUnblockRequestDeclined: "pin_change_unblock_request_declined";
4191
+ readonly UnsafePin: "unsafe_pin";
4192
+ readonly CardAuthenticationFailed: "card_authentication_failed";
4193
+ readonly StopPaymentOrder: "stop_payment_order";
4194
+ readonly RevocationOfAuthorization: "revocation_of_authorization";
4195
+ readonly RevocationOfAllAuthorizations: "revocation_of_all_authorizations";
4196
+ readonly ForwardToIssuerXa: "forward_to_issuer_xa";
4197
+ readonly ForwardToIssuerXd: "forward_to_issuer_xd";
4198
+ readonly UnableToGoOnline: "unable_to_go_online";
4199
+ readonly AdditionalCustomerAuthenticationRequired: "additional_customer_authentication_required";
4200
+ readonly MerchantIdNotFound: "merchant_id_not_found";
4201
+ readonly MerchantAccountClosed: "merchant_account_closed";
4202
+ readonly TerminalIdNotFound: "terminal_id_not_found";
4203
+ readonly TerminalClosed: "terminal_closed";
4204
+ readonly InvalidCategoryCode: "invalid_category_code";
4205
+ readonly InvalidCurrency: "invalid_currency";
4206
+ readonly MissingCvv2Cvc2: "missing_cvv2_cvc2";
4207
+ readonly Cvv2NotAllowed: "cvv2_not_allowed";
4208
+ readonly MerchantNotRegisteredVbv: "merchant_not_registered_vbv";
4209
+ readonly MerchantNotRegisteredForAmex: "merchant_not_registered_for_amex";
4210
+ readonly TransactionNotPermittedAtTerminal: "transaction_not_permitted_at_terminal";
4211
+ readonly AgreementTerminalNotRelated: "agreement_terminal_not_related";
4212
+ readonly InvalidProcessorId: "invalid_processor_id";
4213
+ readonly InvalidMerchantData: "invalid_merchant_data";
4214
+ readonly SubMerchantAccountClosed: "sub_merchant_account_closed";
4215
+ readonly TerminalBusy: "terminal_busy";
4216
+ readonly TerminalUnreachable: "terminal_unreachable";
4217
+ readonly ServiceFailed: "service_failed";
4218
+ readonly InvalidOperation: "invalid_operation";
4219
+ readonly AuthorizationError: "authorization_error";
4220
+ readonly LoginFailedWithoutReason: "login_failed_without_reason";
4221
+ readonly InvalidRetailer: "invalid_retailer";
4222
+ readonly CardDoesNotExist: "card_does_not_exist";
4223
+ readonly CardIsBlocked: "card_is_blocked";
4224
+ readonly InvalidCardId: "invalid_card_id";
4225
+ readonly CardIsTransferred: "card_is_transferred";
4226
+ readonly CardIsNotActive: "card_is_not_active";
4227
+ readonly IncorrectPurchaseValue: "incorrect_purchase_value";
4228
+ readonly CardNotAvailable: "card_not_available";
4229
+ readonly WrongCurrency: "wrong_currency";
4230
+ readonly LoginFailedUnknownUser: "login_failed_unknown_user";
4231
+ readonly LoginFailedInvalidPassword: "login_failed_invalid_password";
4232
+ readonly InvalidEanCode: "invalid_ean_code";
4233
+ }>;
4234
+ /** @deprecated use `UpdatePaymentCode$outboundSchema` instead. */
4235
+ const outboundSchema: z.ZodNativeEnum<{
4236
+ readonly ApprovedOrCompletedSuccessfully: "approved_or_completed_successfully";
4237
+ readonly ReferToCardIssuer: "refer_to_card_issuer";
4238
+ readonly InvalidMerchant: "invalid_merchant";
4239
+ readonly CaptureCard: "capture_card";
4240
+ readonly DoNotHonor: "do_not_honor";
4241
+ readonly Error: "error";
4242
+ readonly PartialApproval: "partial_approval";
4243
+ readonly InvalidTransaction: "invalid_transaction";
4244
+ readonly InvalidAmount: "invalid_amount";
4245
+ readonly InvalidIssuer: "invalid_issuer";
4246
+ readonly LostCard: "lost_card";
4247
+ readonly StolenCard: "stolen_card";
4248
+ readonly InsufficientFunds: "insufficient_funds";
4249
+ readonly ExpiredCard: "expired_card";
4250
+ readonly InvalidPin: "invalid_pin";
4251
+ readonly TransactionNotPermittedToCardholder: "transaction_not_permitted_to_cardholder";
4252
+ readonly TransactionNotAllowedAtTerminal: "transaction_not_allowed_at_terminal";
4253
+ readonly ExceedsWithdrawalAmountLimit: "exceeds_withdrawal_amount_limit";
4254
+ readonly RestrictedCard: "restricted_card";
4255
+ readonly SecurityViolation: "security_violation";
4256
+ readonly ExceedsWithdrawalCountLimit: "exceeds_withdrawal_count_limit";
4257
+ readonly AllowableNumberOfPinTriesExceeded: "allowable_number_of_pin_tries_exceeded";
4258
+ readonly NoReasonToDecline: "no_reason_to_decline";
4259
+ readonly CannotVerifyPin: "cannot_verify_pin";
4260
+ readonly IssuerUnavailable: "issuer_unavailable";
4261
+ readonly UnableToRouteTransaction: "unable_to_route_transaction";
4262
+ readonly DuplicateTransaction: "duplicate_transaction";
4263
+ readonly SystemMalfunction: "system_malfunction";
4264
+ readonly HonorWithId: "honor_with_id";
4265
+ readonly InvalidCardNumber: "invalid_card_number";
4266
+ readonly FormatError: "format_error";
4267
+ readonly ContactCardIssuer: "contact_card_issuer";
4268
+ readonly PinNotChanged: "pin_not_changed";
4269
+ readonly InvalidNonexistentToAccountSpecified: "invalid_nonexistent_to_account_specified";
4270
+ readonly InvalidNonexistentFromAccountSpecified: "invalid_nonexistent_from_account_specified";
4271
+ readonly InvalidNonexistentAccountSpecified: "invalid_nonexistent_account_specified";
4272
+ readonly LifecycleRelated: "lifecycle_related";
4273
+ readonly DomesticDebitTransactionNotAllowed: "domestic_debit_transaction_not_allowed";
4274
+ readonly PolicyRelated: "policy_related";
4275
+ readonly FraudSecurityRelated: "fraud_security_related";
4276
+ readonly InvalidAuthorizationLifeCycle: "invalid_authorization_life_cycle";
4277
+ readonly PurchaseAmountOnlyNoCashBackAllowed: "purchase_amount_only_no_cash_back_allowed";
4278
+ readonly CryptographicFailure: "cryptographic_failure";
4279
+ readonly UnacceptablePin: "unacceptable_pin";
4280
+ readonly ReferToCardIssuerSpecialCondition: "refer_to_card_issuer_special_condition";
4281
+ readonly PickUpCardSpecialCondition: "pick_up_card_special_condition";
4282
+ readonly VipApproval: "vip_approval";
4283
+ readonly InvalidAccountNumber: "invalid_account_number";
4284
+ readonly ReEnterTransaction: "re_enter_transaction";
4285
+ readonly NoActionTaken: "no_action_taken";
4286
+ readonly UnableToLocateRecord: "unable_to_locate_record";
4287
+ readonly FileTemporarilyUnavailable: "file_temporarily_unavailable";
4288
+ readonly NoCreditAccount: "no_credit_account";
4289
+ readonly ClosedAccount: "closed_account";
4290
+ readonly NoCheckingAccount: "no_checking_account";
4291
+ readonly NoSavingsAccount: "no_savings_account";
4292
+ readonly SuspectedFraud: "suspected_fraud";
4293
+ readonly TransactionDoesNotFulfillAmlRequirement: "transaction_does_not_fulfill_aml_requirement";
4294
+ readonly PinDataRequired: "pin_data_required";
4295
+ readonly UnableToLocatePreviousMessage: "unable_to_locate_previous_message";
4296
+ readonly PreviousMessageLocatedInconsistentData: "previous_message_located_inconsistent_data";
4297
+ readonly BlockedFirstUsed: "blocked_first_used";
4298
+ readonly TransactionReversed: "transaction_reversed";
4299
+ readonly CreditIssuerUnavailable: "credit_issuer_unavailable";
4300
+ readonly PinCryptographicErrorFound: "pin_cryptographic_error_found";
4301
+ readonly NegativeOnlineCamResult: "negative_online_cam_result";
4302
+ readonly ViolationOfLaw: "violation_of_law";
4303
+ readonly ForceStip: "force_stip";
4304
+ readonly CashServiceNotAvailable: "cash_service_not_available";
4305
+ readonly CashbackRequestExceedsIssuerLimit: "cashback_request_exceeds_issuer_limit";
4306
+ readonly DeclineForCvv2Failure: "decline_for_cvv2_failure";
4307
+ readonly TransactionAmountExceedsPreAuthorizedAmount: "transaction_amount_exceeds_pre_authorized_amount";
4308
+ readonly InvalidBillerInformation: "invalid_biller_information";
4309
+ readonly PinChangeUnblockRequestDeclined: "pin_change_unblock_request_declined";
4310
+ readonly UnsafePin: "unsafe_pin";
4311
+ readonly CardAuthenticationFailed: "card_authentication_failed";
4312
+ readonly StopPaymentOrder: "stop_payment_order";
4313
+ readonly RevocationOfAuthorization: "revocation_of_authorization";
4314
+ readonly RevocationOfAllAuthorizations: "revocation_of_all_authorizations";
4315
+ readonly ForwardToIssuerXa: "forward_to_issuer_xa";
4316
+ readonly ForwardToIssuerXd: "forward_to_issuer_xd";
4317
+ readonly UnableToGoOnline: "unable_to_go_online";
4318
+ readonly AdditionalCustomerAuthenticationRequired: "additional_customer_authentication_required";
4319
+ readonly MerchantIdNotFound: "merchant_id_not_found";
4320
+ readonly MerchantAccountClosed: "merchant_account_closed";
4321
+ readonly TerminalIdNotFound: "terminal_id_not_found";
4322
+ readonly TerminalClosed: "terminal_closed";
4323
+ readonly InvalidCategoryCode: "invalid_category_code";
4324
+ readonly InvalidCurrency: "invalid_currency";
4325
+ readonly MissingCvv2Cvc2: "missing_cvv2_cvc2";
4326
+ readonly Cvv2NotAllowed: "cvv2_not_allowed";
4327
+ readonly MerchantNotRegisteredVbv: "merchant_not_registered_vbv";
4328
+ readonly MerchantNotRegisteredForAmex: "merchant_not_registered_for_amex";
4329
+ readonly TransactionNotPermittedAtTerminal: "transaction_not_permitted_at_terminal";
4330
+ readonly AgreementTerminalNotRelated: "agreement_terminal_not_related";
4331
+ readonly InvalidProcessorId: "invalid_processor_id";
4332
+ readonly InvalidMerchantData: "invalid_merchant_data";
4333
+ readonly SubMerchantAccountClosed: "sub_merchant_account_closed";
4334
+ readonly TerminalBusy: "terminal_busy";
4335
+ readonly TerminalUnreachable: "terminal_unreachable";
4336
+ readonly ServiceFailed: "service_failed";
4337
+ readonly InvalidOperation: "invalid_operation";
4338
+ readonly AuthorizationError: "authorization_error";
4339
+ readonly LoginFailedWithoutReason: "login_failed_without_reason";
4340
+ readonly InvalidRetailer: "invalid_retailer";
4341
+ readonly CardDoesNotExist: "card_does_not_exist";
4342
+ readonly CardIsBlocked: "card_is_blocked";
4343
+ readonly InvalidCardId: "invalid_card_id";
4344
+ readonly CardIsTransferred: "card_is_transferred";
4345
+ readonly CardIsNotActive: "card_is_not_active";
4346
+ readonly IncorrectPurchaseValue: "incorrect_purchase_value";
4347
+ readonly CardNotAvailable: "card_not_available";
4348
+ readonly WrongCurrency: "wrong_currency";
4349
+ readonly LoginFailedUnknownUser: "login_failed_unknown_user";
4350
+ readonly LoginFailedInvalidPassword: "login_failed_invalid_password";
4351
+ readonly InvalidEanCode: "invalid_ean_code";
4352
+ }>;
4353
+ }
4354
+ /** @internal */
3434
4355
  export declare const UpdatePaymentStatusReason$inboundSchema: z.ZodType<UpdatePaymentStatusReason, z.ZodTypeDef, unknown>;
3435
4356
  /** @internal */
3436
4357
  export type UpdatePaymentStatusReason$Outbound = {
@@ -3454,6 +4375,478 @@ export declare namespace UpdatePaymentStatusReason$ {
3454
4375
  export declare function updatePaymentStatusReasonToJSON(updatePaymentStatusReason: UpdatePaymentStatusReason): string;
3455
4376
  export declare function updatePaymentStatusReasonFromJSON(jsonString: string): SafeParseResult<UpdatePaymentStatusReason, SDKValidationError>;
3456
4377
  /** @internal */
4378
+ export declare const UpdatePaymentCardAudition$inboundSchema: z.ZodNativeEnum<typeof UpdatePaymentCardAudition>;
4379
+ /** @internal */
4380
+ export declare const UpdatePaymentCardAudition$outboundSchema: z.ZodNativeEnum<typeof UpdatePaymentCardAudition>;
4381
+ /**
4382
+ * @internal
4383
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4384
+ */
4385
+ export declare namespace UpdatePaymentCardAudition$ {
4386
+ /** @deprecated use `UpdatePaymentCardAudition$inboundSchema` instead. */
4387
+ const inboundSchema: z.ZodNativeEnum<{
4388
+ readonly Consumer: "consumer";
4389
+ readonly Business: "business";
4390
+ }>;
4391
+ /** @deprecated use `UpdatePaymentCardAudition$outboundSchema` instead. */
4392
+ const outboundSchema: z.ZodNativeEnum<{
4393
+ readonly Consumer: "consumer";
4394
+ readonly Business: "business";
4395
+ }>;
4396
+ }
4397
+ /** @internal */
4398
+ export declare const UpdatePaymentCardLabel$inboundSchema: z.ZodNativeEnum<typeof UpdatePaymentCardLabel>;
4399
+ /** @internal */
4400
+ export declare const UpdatePaymentCardLabel$outboundSchema: z.ZodNativeEnum<typeof UpdatePaymentCardLabel>;
4401
+ /**
4402
+ * @internal
4403
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4404
+ */
4405
+ export declare namespace UpdatePaymentCardLabel$ {
4406
+ /** @deprecated use `UpdatePaymentCardLabel$inboundSchema` instead. */
4407
+ const inboundSchema: z.ZodNativeEnum<{
4408
+ readonly AmericanExpress: "American Express";
4409
+ readonly CartaSi: "Carta Si";
4410
+ readonly CarteBleue: "Carte Bleue";
4411
+ readonly Dankort: "Dankort";
4412
+ readonly DinersClub: "Diners Club";
4413
+ readonly Discover: "Discover";
4414
+ readonly Jcb: "JCB";
4415
+ readonly Laser: "Laser";
4416
+ readonly Maestro: "Maestro";
4417
+ readonly Mastercard: "Mastercard";
4418
+ readonly Unionpay: "Unionpay";
4419
+ readonly Visa: "Visa";
4420
+ readonly Vpay: "Vpay";
4421
+ }>;
4422
+ /** @deprecated use `UpdatePaymentCardLabel$outboundSchema` instead. */
4423
+ const outboundSchema: z.ZodNativeEnum<{
4424
+ readonly AmericanExpress: "American Express";
4425
+ readonly CartaSi: "Carta Si";
4426
+ readonly CarteBleue: "Carte Bleue";
4427
+ readonly Dankort: "Dankort";
4428
+ readonly DinersClub: "Diners Club";
4429
+ readonly Discover: "Discover";
4430
+ readonly Jcb: "JCB";
4431
+ readonly Laser: "Laser";
4432
+ readonly Maestro: "Maestro";
4433
+ readonly Mastercard: "Mastercard";
4434
+ readonly Unionpay: "Unionpay";
4435
+ readonly Visa: "Visa";
4436
+ readonly Vpay: "Vpay";
4437
+ }>;
4438
+ }
4439
+ /** @internal */
4440
+ export declare const UpdatePaymentCardFunding$inboundSchema: z.ZodNativeEnum<typeof UpdatePaymentCardFunding>;
4441
+ /** @internal */
4442
+ export declare const UpdatePaymentCardFunding$outboundSchema: z.ZodNativeEnum<typeof UpdatePaymentCardFunding>;
4443
+ /**
4444
+ * @internal
4445
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4446
+ */
4447
+ export declare namespace UpdatePaymentCardFunding$ {
4448
+ /** @deprecated use `UpdatePaymentCardFunding$inboundSchema` instead. */
4449
+ const inboundSchema: z.ZodNativeEnum<{
4450
+ readonly Debit: "debit";
4451
+ readonly Credit: "credit";
4452
+ readonly Prepaid: "prepaid";
4453
+ readonly DeferredDebit: "deferred-debit";
4454
+ }>;
4455
+ /** @deprecated use `UpdatePaymentCardFunding$outboundSchema` instead. */
4456
+ const outboundSchema: z.ZodNativeEnum<{
4457
+ readonly Debit: "debit";
4458
+ readonly Credit: "credit";
4459
+ readonly Prepaid: "prepaid";
4460
+ readonly DeferredDebit: "deferred-debit";
4461
+ }>;
4462
+ }
4463
+ /** @internal */
4464
+ export declare const UpdatePaymentCardSecurity$inboundSchema: z.ZodNativeEnum<typeof UpdatePaymentCardSecurity>;
4465
+ /** @internal */
4466
+ export declare const UpdatePaymentCardSecurity$outboundSchema: z.ZodNativeEnum<typeof UpdatePaymentCardSecurity>;
4467
+ /**
4468
+ * @internal
4469
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4470
+ */
4471
+ export declare namespace UpdatePaymentCardSecurity$ {
4472
+ /** @deprecated use `UpdatePaymentCardSecurity$inboundSchema` instead. */
4473
+ const inboundSchema: z.ZodNativeEnum<{
4474
+ readonly Normal: "normal";
4475
+ readonly Threedsecure: "3dsecure";
4476
+ }>;
4477
+ /** @deprecated use `UpdatePaymentCardSecurity$outboundSchema` instead. */
4478
+ const outboundSchema: z.ZodNativeEnum<{
4479
+ readonly Normal: "normal";
4480
+ readonly Threedsecure: "3dsecure";
4481
+ }>;
4482
+ }
4483
+ /** @internal */
4484
+ export declare const UpdatePaymentFeeRegion$inboundSchema: z.ZodNativeEnum<typeof UpdatePaymentFeeRegion>;
4485
+ /** @internal */
4486
+ export declare const UpdatePaymentFeeRegion$outboundSchema: z.ZodNativeEnum<typeof UpdatePaymentFeeRegion>;
4487
+ /**
4488
+ * @internal
4489
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4490
+ */
4491
+ export declare namespace UpdatePaymentFeeRegion$ {
4492
+ /** @deprecated use `UpdatePaymentFeeRegion$inboundSchema` instead. */
4493
+ const inboundSchema: z.ZodNativeEnum<{
4494
+ readonly AmericanExpress: "american-express";
4495
+ readonly AmexIntraEea: "amex-intra-eea";
4496
+ readonly CarteBancaire: "carte-bancaire";
4497
+ readonly IntraEu: "intra-eu";
4498
+ readonly IntraEuCorporate: "intra-eu-corporate";
4499
+ readonly Domestic: "domestic";
4500
+ readonly Maestro: "maestro";
4501
+ readonly Other: "other";
4502
+ readonly Inter: "inter";
4503
+ readonly IntraEea: "intra-eea";
4504
+ }>;
4505
+ /** @deprecated use `UpdatePaymentFeeRegion$outboundSchema` instead. */
4506
+ const outboundSchema: z.ZodNativeEnum<{
4507
+ readonly AmericanExpress: "american-express";
4508
+ readonly AmexIntraEea: "amex-intra-eea";
4509
+ readonly CarteBancaire: "carte-bancaire";
4510
+ readonly IntraEu: "intra-eu";
4511
+ readonly IntraEuCorporate: "intra-eu-corporate";
4512
+ readonly Domestic: "domestic";
4513
+ readonly Maestro: "maestro";
4514
+ readonly Other: "other";
4515
+ readonly Inter: "inter";
4516
+ readonly IntraEea: "intra-eea";
4517
+ }>;
4518
+ }
4519
+ /** @internal */
4520
+ export declare const UpdatePaymentFailureReason$inboundSchema: z.ZodNativeEnum<typeof UpdatePaymentFailureReason>;
4521
+ /** @internal */
4522
+ export declare const UpdatePaymentFailureReason$outboundSchema: z.ZodNativeEnum<typeof UpdatePaymentFailureReason>;
4523
+ /**
4524
+ * @internal
4525
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4526
+ */
4527
+ export declare namespace UpdatePaymentFailureReason$ {
4528
+ /** @deprecated use `UpdatePaymentFailureReason$inboundSchema` instead. */
4529
+ const inboundSchema: z.ZodNativeEnum<{
4530
+ readonly AuthenticationAbandoned: "authentication_abandoned";
4531
+ readonly AuthenticationFailed: "authentication_failed";
4532
+ readonly AuthenticationRequired: "authentication_required";
4533
+ readonly AuthenticationUnavailableAcs: "authentication_unavailable_acs";
4534
+ readonly CardDeclined: "card_declined";
4535
+ readonly CardExpired: "card_expired";
4536
+ readonly InactiveCard: "inactive_card";
4537
+ readonly InsufficientFunds: "insufficient_funds";
4538
+ readonly InvalidCvv: "invalid_cvv";
4539
+ readonly InvalidCardHolderName: "invalid_card_holder_name";
4540
+ readonly InvalidCardNumber: "invalid_card_number";
4541
+ readonly InvalidCardType: "invalid_card_type";
4542
+ readonly PossibleFraud: "possible_fraud";
4543
+ readonly RefusedByIssuer: "refused_by_issuer";
4544
+ readonly UnknownReason: "unknown_reason";
4545
+ }>;
4546
+ /** @deprecated use `UpdatePaymentFailureReason$outboundSchema` instead. */
4547
+ const outboundSchema: z.ZodNativeEnum<{
4548
+ readonly AuthenticationAbandoned: "authentication_abandoned";
4549
+ readonly AuthenticationFailed: "authentication_failed";
4550
+ readonly AuthenticationRequired: "authentication_required";
4551
+ readonly AuthenticationUnavailableAcs: "authentication_unavailable_acs";
4552
+ readonly CardDeclined: "card_declined";
4553
+ readonly CardExpired: "card_expired";
4554
+ readonly InactiveCard: "inactive_card";
4555
+ readonly InsufficientFunds: "insufficient_funds";
4556
+ readonly InvalidCvv: "invalid_cvv";
4557
+ readonly InvalidCardHolderName: "invalid_card_holder_name";
4558
+ readonly InvalidCardNumber: "invalid_card_number";
4559
+ readonly InvalidCardType: "invalid_card_type";
4560
+ readonly PossibleFraud: "possible_fraud";
4561
+ readonly RefusedByIssuer: "refused_by_issuer";
4562
+ readonly UnknownReason: "unknown_reason";
4563
+ }>;
4564
+ }
4565
+ /** @internal */
4566
+ export declare const UpdatePaymentWallet$inboundSchema: z.ZodNativeEnum<typeof UpdatePaymentWallet>;
4567
+ /** @internal */
4568
+ export declare const UpdatePaymentWallet$outboundSchema: z.ZodNativeEnum<typeof UpdatePaymentWallet>;
4569
+ /**
4570
+ * @internal
4571
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4572
+ */
4573
+ export declare namespace UpdatePaymentWallet$ {
4574
+ /** @deprecated use `UpdatePaymentWallet$inboundSchema` instead. */
4575
+ const inboundSchema: z.ZodNativeEnum<{
4576
+ readonly Applepay: "applepay";
4577
+ }>;
4578
+ /** @deprecated use `UpdatePaymentWallet$outboundSchema` instead. */
4579
+ const outboundSchema: z.ZodNativeEnum<{
4580
+ readonly Applepay: "applepay";
4581
+ }>;
4582
+ }
4583
+ /** @internal */
4584
+ export declare const UpdatePaymentSellerProtection$inboundSchema: z.ZodNativeEnum<typeof UpdatePaymentSellerProtection>;
4585
+ /** @internal */
4586
+ export declare const UpdatePaymentSellerProtection$outboundSchema: z.ZodNativeEnum<typeof UpdatePaymentSellerProtection>;
4587
+ /**
4588
+ * @internal
4589
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4590
+ */
4591
+ export declare namespace UpdatePaymentSellerProtection$ {
4592
+ /** @deprecated use `UpdatePaymentSellerProtection$inboundSchema` instead. */
4593
+ const inboundSchema: z.ZodNativeEnum<{
4594
+ readonly Eligible: "Eligible";
4595
+ readonly Ineligible: "Ineligible";
4596
+ readonly PartiallyEligibleINROnly: "Partially Eligible - INR Only";
4597
+ readonly PartiallyEligibleUnauthOnly: "Partially Eligible - Unauth Only";
4598
+ readonly PartiallyEligible: "Partially Eligible";
4599
+ readonly None: "None";
4600
+ readonly Active: "Active";
4601
+ readonly FraudControlUnauthPremiumEligible: "Fraud Control - Unauth Premium Eligible";
4602
+ }>;
4603
+ /** @deprecated use `UpdatePaymentSellerProtection$outboundSchema` instead. */
4604
+ const outboundSchema: z.ZodNativeEnum<{
4605
+ readonly Eligible: "Eligible";
4606
+ readonly Ineligible: "Ineligible";
4607
+ readonly PartiallyEligibleINROnly: "Partially Eligible - INR Only";
4608
+ readonly PartiallyEligibleUnauthOnly: "Partially Eligible - Unauth Only";
4609
+ readonly PartiallyEligible: "Partially Eligible";
4610
+ readonly None: "None";
4611
+ readonly Active: "Active";
4612
+ readonly FraudControlUnauthPremiumEligible: "Fraud Control - Unauth Premium Eligible";
4613
+ }>;
4614
+ }
4615
+ /** @internal */
4616
+ export declare const UpdatePaymentPaypalFee$inboundSchema: z.ZodType<UpdatePaymentPaypalFee, z.ZodTypeDef, unknown>;
4617
+ /** @internal */
4618
+ export type UpdatePaymentPaypalFee$Outbound = {
4619
+ currency: string;
4620
+ value: string;
4621
+ };
4622
+ /** @internal */
4623
+ export declare const UpdatePaymentPaypalFee$outboundSchema: z.ZodType<UpdatePaymentPaypalFee$Outbound, z.ZodTypeDef, UpdatePaymentPaypalFee>;
4624
+ /**
4625
+ * @internal
4626
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4627
+ */
4628
+ export declare namespace UpdatePaymentPaypalFee$ {
4629
+ /** @deprecated use `UpdatePaymentPaypalFee$inboundSchema` instead. */
4630
+ const inboundSchema: z.ZodType<UpdatePaymentPaypalFee, z.ZodTypeDef, unknown>;
4631
+ /** @deprecated use `UpdatePaymentPaypalFee$outboundSchema` instead. */
4632
+ const outboundSchema: z.ZodType<UpdatePaymentPaypalFee$Outbound, z.ZodTypeDef, UpdatePaymentPaypalFee>;
4633
+ /** @deprecated use `UpdatePaymentPaypalFee$Outbound` instead. */
4634
+ type Outbound = UpdatePaymentPaypalFee$Outbound;
4635
+ }
4636
+ export declare function updatePaymentPaypalFeeToJSON(updatePaymentPaypalFee: UpdatePaymentPaypalFee): string;
4637
+ export declare function updatePaymentPaypalFeeFromJSON(jsonString: string): SafeParseResult<UpdatePaymentPaypalFee, SDKValidationError>;
4638
+ /** @internal */
4639
+ export declare const UpdatePaymentCardReadMethod$inboundSchema: z.ZodNativeEnum<typeof UpdatePaymentCardReadMethod>;
4640
+ /** @internal */
4641
+ export declare const UpdatePaymentCardReadMethod$outboundSchema: z.ZodNativeEnum<typeof UpdatePaymentCardReadMethod>;
4642
+ /**
4643
+ * @internal
4644
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4645
+ */
4646
+ export declare namespace UpdatePaymentCardReadMethod$ {
4647
+ /** @deprecated use `UpdatePaymentCardReadMethod$inboundSchema` instead. */
4648
+ const inboundSchema: z.ZodNativeEnum<{
4649
+ readonly Chip: "chip";
4650
+ readonly MagneticStripe: "magnetic-stripe";
4651
+ readonly NearFieldCommunication: "near-field-communication";
4652
+ readonly Contactless: "contactless";
4653
+ readonly Moto: "moto";
4654
+ }>;
4655
+ /** @deprecated use `UpdatePaymentCardReadMethod$outboundSchema` instead. */
4656
+ const outboundSchema: z.ZodNativeEnum<{
4657
+ readonly Chip: "chip";
4658
+ readonly MagneticStripe: "magnetic-stripe";
4659
+ readonly NearFieldCommunication: "near-field-communication";
4660
+ readonly Contactless: "contactless";
4661
+ readonly Moto: "moto";
4662
+ }>;
4663
+ }
4664
+ /** @internal */
4665
+ export declare const UpdatePaymentCardVerificationMethod$inboundSchema: z.ZodNativeEnum<typeof UpdatePaymentCardVerificationMethod>;
4666
+ /** @internal */
4667
+ export declare const UpdatePaymentCardVerificationMethod$outboundSchema: z.ZodNativeEnum<typeof UpdatePaymentCardVerificationMethod>;
4668
+ /**
4669
+ * @internal
4670
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4671
+ */
4672
+ export declare namespace UpdatePaymentCardVerificationMethod$ {
4673
+ /** @deprecated use `UpdatePaymentCardVerificationMethod$inboundSchema` instead. */
4674
+ const inboundSchema: z.ZodNativeEnum<{
4675
+ readonly NoCvmRequired: "no-cvm-required";
4676
+ readonly OnlinePin: "online-pin";
4677
+ readonly OfflinePin: "offline-pin";
4678
+ readonly ConsumerDevice: "consumer-device";
4679
+ readonly Signature: "signature";
4680
+ readonly SignatureAndOnlinePin: "signature-and-online-pin";
4681
+ readonly OnlinePinAndSignature: "online-pin-and-signature";
4682
+ readonly None: "none";
4683
+ readonly Failed: "failed";
4684
+ }>;
4685
+ /** @deprecated use `UpdatePaymentCardVerificationMethod$outboundSchema` instead. */
4686
+ const outboundSchema: z.ZodNativeEnum<{
4687
+ readonly NoCvmRequired: "no-cvm-required";
4688
+ readonly OnlinePin: "online-pin";
4689
+ readonly OfflinePin: "offline-pin";
4690
+ readonly ConsumerDevice: "consumer-device";
4691
+ readonly Signature: "signature";
4692
+ readonly SignatureAndOnlinePin: "signature-and-online-pin";
4693
+ readonly OnlinePinAndSignature: "online-pin-and-signature";
4694
+ readonly None: "none";
4695
+ readonly Failed: "failed";
4696
+ }>;
4697
+ }
4698
+ /** @internal */
4699
+ export declare const UpdatePaymentReceipt$inboundSchema: z.ZodType<UpdatePaymentReceipt, z.ZodTypeDef, unknown>;
4700
+ /** @internal */
4701
+ export type UpdatePaymentReceipt$Outbound = {
4702
+ authorizationCode?: string | null | undefined;
4703
+ applicationIdentifier?: string | null | undefined;
4704
+ cardReadMethod?: string | null | undefined;
4705
+ cardVerificationMethod?: string | null | undefined;
4706
+ };
4707
+ /** @internal */
4708
+ export declare const UpdatePaymentReceipt$outboundSchema: z.ZodType<UpdatePaymentReceipt$Outbound, z.ZodTypeDef, UpdatePaymentReceipt>;
4709
+ /**
4710
+ * @internal
4711
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4712
+ */
4713
+ export declare namespace UpdatePaymentReceipt$ {
4714
+ /** @deprecated use `UpdatePaymentReceipt$inboundSchema` instead. */
4715
+ const inboundSchema: z.ZodType<UpdatePaymentReceipt, z.ZodTypeDef, unknown>;
4716
+ /** @deprecated use `UpdatePaymentReceipt$outboundSchema` instead. */
4717
+ const outboundSchema: z.ZodType<UpdatePaymentReceipt$Outbound, z.ZodTypeDef, UpdatePaymentReceipt>;
4718
+ /** @deprecated use `UpdatePaymentReceipt$Outbound` instead. */
4719
+ type Outbound = UpdatePaymentReceipt$Outbound;
4720
+ }
4721
+ export declare function updatePaymentReceiptToJSON(updatePaymentReceipt: UpdatePaymentReceipt): string;
4722
+ export declare function updatePaymentReceiptFromJSON(jsonString: string): SafeParseResult<UpdatePaymentReceipt, SDKValidationError>;
4723
+ /** @internal */
4724
+ export declare const UpdatePaymentQrCode$inboundSchema: z.ZodType<UpdatePaymentQrCode, z.ZodTypeDef, unknown>;
4725
+ /** @internal */
4726
+ export type UpdatePaymentQrCode$Outbound = {
4727
+ height?: number | undefined;
4728
+ width?: number | undefined;
4729
+ src?: string | undefined;
4730
+ };
4731
+ /** @internal */
4732
+ export declare const UpdatePaymentQrCode$outboundSchema: z.ZodType<UpdatePaymentQrCode$Outbound, z.ZodTypeDef, UpdatePaymentQrCode>;
4733
+ /**
4734
+ * @internal
4735
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4736
+ */
4737
+ export declare namespace UpdatePaymentQrCode$ {
4738
+ /** @deprecated use `UpdatePaymentQrCode$inboundSchema` instead. */
4739
+ const inboundSchema: z.ZodType<UpdatePaymentQrCode, z.ZodTypeDef, unknown>;
4740
+ /** @deprecated use `UpdatePaymentQrCode$outboundSchema` instead. */
4741
+ const outboundSchema: z.ZodType<UpdatePaymentQrCode$Outbound, z.ZodTypeDef, UpdatePaymentQrCode>;
4742
+ /** @deprecated use `UpdatePaymentQrCode$Outbound` instead. */
4743
+ type Outbound = UpdatePaymentQrCode$Outbound;
4744
+ }
4745
+ export declare function updatePaymentQrCodeToJSON(updatePaymentQrCode: UpdatePaymentQrCode): string;
4746
+ export declare function updatePaymentQrCodeFromJSON(jsonString: string): SafeParseResult<UpdatePaymentQrCode, SDKValidationError>;
4747
+ /** @internal */
4748
+ export declare const UpdatePaymentRemainderAmount$inboundSchema: z.ZodType<UpdatePaymentRemainderAmount, z.ZodTypeDef, unknown>;
4749
+ /** @internal */
4750
+ export type UpdatePaymentRemainderAmount$Outbound = {
4751
+ currency: string;
4752
+ value: string;
4753
+ };
4754
+ /** @internal */
4755
+ export declare const UpdatePaymentRemainderAmount$outboundSchema: z.ZodType<UpdatePaymentRemainderAmount$Outbound, z.ZodTypeDef, UpdatePaymentRemainderAmount>;
4756
+ /**
4757
+ * @internal
4758
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4759
+ */
4760
+ export declare namespace UpdatePaymentRemainderAmount$ {
4761
+ /** @deprecated use `UpdatePaymentRemainderAmount$inboundSchema` instead. */
4762
+ const inboundSchema: z.ZodType<UpdatePaymentRemainderAmount, z.ZodTypeDef, unknown>;
4763
+ /** @deprecated use `UpdatePaymentRemainderAmount$outboundSchema` instead. */
4764
+ const outboundSchema: z.ZodType<UpdatePaymentRemainderAmount$Outbound, z.ZodTypeDef, UpdatePaymentRemainderAmount>;
4765
+ /** @deprecated use `UpdatePaymentRemainderAmount$Outbound` instead. */
4766
+ type Outbound = UpdatePaymentRemainderAmount$Outbound;
4767
+ }
4768
+ export declare function updatePaymentRemainderAmountToJSON(updatePaymentRemainderAmount: UpdatePaymentRemainderAmount): string;
4769
+ export declare function updatePaymentRemainderAmountFromJSON(jsonString: string): SafeParseResult<UpdatePaymentRemainderAmount, SDKValidationError>;
4770
+ /** @internal */
4771
+ export declare const UpdatePaymentDetails$inboundSchema: z.ZodType<UpdatePaymentDetails, z.ZodTypeDef, unknown>;
4772
+ /** @internal */
4773
+ export type UpdatePaymentDetails$Outbound = {
4774
+ consumerName?: string | null | undefined;
4775
+ consumerAccount?: string | null | undefined;
4776
+ consumerBic?: string | null | undefined;
4777
+ shippingAddress?: {
4778
+ [k: string]: any;
4779
+ } | null | undefined;
4780
+ cardNumber?: string | null | undefined;
4781
+ bankName?: string | undefined;
4782
+ bankAccount?: string | undefined;
4783
+ bankBic?: string | undefined;
4784
+ transferReference?: string | null | undefined;
4785
+ cardFingerprint?: string | null | undefined;
4786
+ cardHolder?: string | null | undefined;
4787
+ cardAudition?: string | null | undefined;
4788
+ cardLabel?: string | null | undefined;
4789
+ cardCountryCode?: string | null | undefined;
4790
+ cardExpiryDate?: string | null | undefined;
4791
+ cardFunding?: string | null | undefined;
4792
+ cardSecurity?: string | null | undefined;
4793
+ feeRegion?: string | null | undefined;
4794
+ cardMaskedNumber?: string | null | undefined;
4795
+ card3dsEci?: string | null | undefined;
4796
+ cardBin?: string | null | undefined;
4797
+ cardIssuer?: string | null | undefined;
4798
+ failureReason?: string | null | undefined;
4799
+ failureMessage?: string | null | undefined;
4800
+ wallet?: string | null | undefined;
4801
+ paypalReference?: string | null | undefined;
4802
+ paypalPayerId?: string | null | undefined;
4803
+ sellerProtection?: string | null | undefined;
4804
+ paypalFee?: UpdatePaymentPaypalFee$Outbound | null | undefined;
4805
+ customerReference?: string | undefined;
4806
+ terminalId?: string | undefined;
4807
+ maskedNumber?: string | null | undefined;
4808
+ receipt?: UpdatePaymentReceipt$Outbound | undefined;
4809
+ creditorIdentifier?: string | null | undefined;
4810
+ dueDate?: string | null | undefined;
4811
+ signatureDate?: string | null | undefined;
4812
+ bankReasonCode?: string | null | undefined;
4813
+ bankReason?: string | null | undefined;
4814
+ endToEndIdentifier?: string | null | undefined;
4815
+ mandateReference?: string | null | undefined;
4816
+ batchReference?: string | null | undefined;
4817
+ fileReference?: string | null | undefined;
4818
+ qrCode?: UpdatePaymentQrCode$Outbound | undefined;
4819
+ voucherNumber?: string | undefined;
4820
+ giftcards?: Array<{
4821
+ [k: string]: any;
4822
+ }> | undefined;
4823
+ issuer?: string | undefined;
4824
+ vouchers?: Array<{
4825
+ [k: string]: any;
4826
+ }> | undefined;
4827
+ remainderAmount?: UpdatePaymentRemainderAmount$Outbound | undefined;
4828
+ remainderMethod?: string | undefined;
4829
+ remainderDetails?: {
4830
+ [k: string]: any;
4831
+ } | undefined;
4832
+ };
4833
+ /** @internal */
4834
+ export declare const UpdatePaymentDetails$outboundSchema: z.ZodType<UpdatePaymentDetails$Outbound, z.ZodTypeDef, UpdatePaymentDetails>;
4835
+ /**
4836
+ * @internal
4837
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4838
+ */
4839
+ export declare namespace UpdatePaymentDetails$ {
4840
+ /** @deprecated use `UpdatePaymentDetails$inboundSchema` instead. */
4841
+ const inboundSchema: z.ZodType<UpdatePaymentDetails, z.ZodTypeDef, unknown>;
4842
+ /** @deprecated use `UpdatePaymentDetails$outboundSchema` instead. */
4843
+ const outboundSchema: z.ZodType<UpdatePaymentDetails$Outbound, z.ZodTypeDef, UpdatePaymentDetails>;
4844
+ /** @deprecated use `UpdatePaymentDetails$Outbound` instead. */
4845
+ type Outbound = UpdatePaymentDetails$Outbound;
4846
+ }
4847
+ export declare function updatePaymentDetailsToJSON(updatePaymentDetails: UpdatePaymentDetails): string;
4848
+ export declare function updatePaymentDetailsFromJSON(jsonString: string): SafeParseResult<UpdatePaymentDetails, SDKValidationError>;
4849
+ /** @internal */
3457
4850
  export declare const UpdatePaymentSelf$inboundSchema: z.ZodType<UpdatePaymentSelf, z.ZodTypeDef, unknown>;
3458
4851
  /** @internal */
3459
4852
  export type UpdatePaymentSelf$Outbound = {
@@ -3799,6 +5192,52 @@ export declare namespace UpdatePaymentDocumentation$ {
3799
5192
  export declare function updatePaymentDocumentationToJSON(updatePaymentDocumentation: UpdatePaymentDocumentation): string;
3800
5193
  export declare function updatePaymentDocumentationFromJSON(jsonString: string): SafeParseResult<UpdatePaymentDocumentation, SDKValidationError>;
3801
5194
  /** @internal */
5195
+ export declare const UpdatePaymentLinksStatus$inboundSchema: z.ZodType<UpdatePaymentLinksStatus, z.ZodTypeDef, unknown>;
5196
+ /** @internal */
5197
+ export type UpdatePaymentLinksStatus$Outbound = {
5198
+ href: string;
5199
+ type: string;
5200
+ };
5201
+ /** @internal */
5202
+ export declare const UpdatePaymentLinksStatus$outboundSchema: z.ZodType<UpdatePaymentLinksStatus$Outbound, z.ZodTypeDef, UpdatePaymentLinksStatus>;
5203
+ /**
5204
+ * @internal
5205
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5206
+ */
5207
+ export declare namespace UpdatePaymentLinksStatus$ {
5208
+ /** @deprecated use `UpdatePaymentLinksStatus$inboundSchema` instead. */
5209
+ const inboundSchema: z.ZodType<UpdatePaymentLinksStatus, z.ZodTypeDef, unknown>;
5210
+ /** @deprecated use `UpdatePaymentLinksStatus$outboundSchema` instead. */
5211
+ const outboundSchema: z.ZodType<UpdatePaymentLinksStatus$Outbound, z.ZodTypeDef, UpdatePaymentLinksStatus>;
5212
+ /** @deprecated use `UpdatePaymentLinksStatus$Outbound` instead. */
5213
+ type Outbound = UpdatePaymentLinksStatus$Outbound;
5214
+ }
5215
+ export declare function updatePaymentLinksStatusToJSON(updatePaymentLinksStatus: UpdatePaymentLinksStatus): string;
5216
+ export declare function updatePaymentLinksStatusFromJSON(jsonString: string): SafeParseResult<UpdatePaymentLinksStatus, SDKValidationError>;
5217
+ /** @internal */
5218
+ export declare const UpdatePaymentPayOnline$inboundSchema: z.ZodType<UpdatePaymentPayOnline, z.ZodTypeDef, unknown>;
5219
+ /** @internal */
5220
+ export type UpdatePaymentPayOnline$Outbound = {
5221
+ href: string;
5222
+ type: string;
5223
+ };
5224
+ /** @internal */
5225
+ export declare const UpdatePaymentPayOnline$outboundSchema: z.ZodType<UpdatePaymentPayOnline$Outbound, z.ZodTypeDef, UpdatePaymentPayOnline>;
5226
+ /**
5227
+ * @internal
5228
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5229
+ */
5230
+ export declare namespace UpdatePaymentPayOnline$ {
5231
+ /** @deprecated use `UpdatePaymentPayOnline$inboundSchema` instead. */
5232
+ const inboundSchema: z.ZodType<UpdatePaymentPayOnline, z.ZodTypeDef, unknown>;
5233
+ /** @deprecated use `UpdatePaymentPayOnline$outboundSchema` instead. */
5234
+ const outboundSchema: z.ZodType<UpdatePaymentPayOnline$Outbound, z.ZodTypeDef, UpdatePaymentPayOnline>;
5235
+ /** @deprecated use `UpdatePaymentPayOnline$Outbound` instead. */
5236
+ type Outbound = UpdatePaymentPayOnline$Outbound;
5237
+ }
5238
+ export declare function updatePaymentPayOnlineToJSON(updatePaymentPayOnline: UpdatePaymentPayOnline): string;
5239
+ export declare function updatePaymentPayOnlineFromJSON(jsonString: string): SafeParseResult<UpdatePaymentPayOnline, SDKValidationError>;
5240
+ /** @internal */
3802
5241
  export declare const UpdatePaymentLinks$inboundSchema: z.ZodType<UpdatePaymentLinks, z.ZodTypeDef, unknown>;
3803
5242
  /** @internal */
3804
5243
  export type UpdatePaymentLinks$Outbound = {
@@ -3817,6 +5256,8 @@ export type UpdatePaymentLinks$Outbound = {
3817
5256
  order?: UpdatePaymentOrder$Outbound | undefined;
3818
5257
  terminal?: UpdatePaymentTerminal$Outbound | undefined;
3819
5258
  documentation?: UpdatePaymentDocumentation$Outbound | undefined;
5259
+ status?: UpdatePaymentLinksStatus$Outbound | undefined;
5260
+ payOnline?: UpdatePaymentPayOnline$Outbound | undefined;
3820
5261
  };
3821
5262
  /** @internal */
3822
5263
  export declare const UpdatePaymentLinks$outboundSchema: z.ZodType<UpdatePaymentLinks$Outbound, z.ZodTypeDef, UpdatePaymentLinks>;
@@ -3876,9 +5317,7 @@ export type UpdatePaymentResponse$Outbound = {
3876
5317
  status: string;
3877
5318
  statusReason?: UpdatePaymentStatusReason$Outbound | null | undefined;
3878
5319
  isCancelable?: boolean | null | undefined;
3879
- details?: {
3880
- [k: string]: any;
3881
- } | null | undefined;
5320
+ details?: UpdatePaymentDetails$Outbound | null | undefined;
3882
5321
  createdAt: string;
3883
5322
  authorizedAt?: string | null | undefined;
3884
5323
  paidAt?: string | null | undefined;