@enfuce/nextgen-sdk 0.0.1

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 (313) hide show
  1. package/dist/authorisation-control/api.d.ts +771 -0
  2. package/dist/authorisation-control/api.js +240 -0
  3. package/dist/authorisation-control/base.d.ts +66 -0
  4. package/dist/authorisation-control/base.js +65 -0
  5. package/dist/authorisation-control/common.d.ts +65 -0
  6. package/dist/authorisation-control/common.js +161 -0
  7. package/dist/authorisation-control/configuration.d.ts +91 -0
  8. package/dist/authorisation-control/configuration.js +44 -0
  9. package/dist/authorisation-control/index.d.ts +13 -0
  10. package/dist/authorisation-control/index.js +31 -0
  11. package/dist/card/api.d.ts +2065 -0
  12. package/dist/card/api.js +1406 -0
  13. package/dist/card/base.d.ts +66 -0
  14. package/dist/card/base.js +65 -0
  15. package/dist/card/common.d.ts +65 -0
  16. package/dist/card/common.js +161 -0
  17. package/dist/card/configuration.d.ts +91 -0
  18. package/dist/card/configuration.js +44 -0
  19. package/dist/card/index.d.ts +13 -0
  20. package/dist/card/index.js +31 -0
  21. package/dist/cardholder/api.d.ts +1890 -0
  22. package/dist/cardholder/api.js +1239 -0
  23. package/dist/cardholder/base.d.ts +66 -0
  24. package/dist/cardholder/base.js +65 -0
  25. package/dist/cardholder/common.d.ts +65 -0
  26. package/dist/cardholder/common.js +161 -0
  27. package/dist/cardholder/configuration.d.ts +91 -0
  28. package/dist/cardholder/configuration.js +44 -0
  29. package/dist/cardholder/index.d.ts +13 -0
  30. package/dist/cardholder/index.js +31 -0
  31. package/dist/cards/api.d.ts +78 -0
  32. package/dist/cards/api.js +142 -0
  33. package/dist/cards/base.d.ts +66 -0
  34. package/dist/cards/base.js +65 -0
  35. package/dist/cards/common.d.ts +65 -0
  36. package/dist/cards/common.js +161 -0
  37. package/dist/cards/configuration.d.ts +91 -0
  38. package/dist/cards/configuration.js +44 -0
  39. package/dist/cards/index.d.ts +13 -0
  40. package/dist/cards/index.js +31 -0
  41. package/dist/clearing-file-copy/api.d.ts +1245 -0
  42. package/dist/clearing-file-copy/api.js +139 -0
  43. package/dist/clearing-file-copy/base.d.ts +66 -0
  44. package/dist/clearing-file-copy/base.js +65 -0
  45. package/dist/clearing-file-copy/common.d.ts +65 -0
  46. package/dist/clearing-file-copy/common.js +161 -0
  47. package/dist/clearing-file-copy/configuration.d.ts +91 -0
  48. package/dist/clearing-file-copy/configuration.js +44 -0
  49. package/dist/clearing-file-copy/index.d.ts +13 -0
  50. package/dist/clearing-file-copy/index.js +31 -0
  51. package/dist/esm/authorisation-control/api.d.ts +771 -0
  52. package/dist/esm/authorisation-control/api.js +233 -0
  53. package/dist/esm/authorisation-control/base.d.ts +66 -0
  54. package/dist/esm/authorisation-control/base.js +60 -0
  55. package/dist/esm/authorisation-control/common.d.ts +65 -0
  56. package/dist/esm/authorisation-control/common.js +149 -0
  57. package/dist/esm/authorisation-control/configuration.d.ts +91 -0
  58. package/dist/esm/authorisation-control/configuration.js +40 -0
  59. package/dist/esm/authorisation-control/index.d.ts +13 -0
  60. package/dist/esm/authorisation-control/index.js +15 -0
  61. package/dist/esm/card/api.d.ts +2065 -0
  62. package/dist/esm/card/api.js +1379 -0
  63. package/dist/esm/card/base.d.ts +66 -0
  64. package/dist/esm/card/base.js +60 -0
  65. package/dist/esm/card/common.d.ts +65 -0
  66. package/dist/esm/card/common.js +149 -0
  67. package/dist/esm/card/configuration.d.ts +91 -0
  68. package/dist/esm/card/configuration.js +40 -0
  69. package/dist/esm/card/index.d.ts +13 -0
  70. package/dist/esm/card/index.js +15 -0
  71. package/dist/esm/cardholder/api.d.ts +1890 -0
  72. package/dist/esm/cardholder/api.js +1220 -0
  73. package/dist/esm/cardholder/base.d.ts +66 -0
  74. package/dist/esm/cardholder/base.js +60 -0
  75. package/dist/esm/cardholder/common.d.ts +65 -0
  76. package/dist/esm/cardholder/common.js +149 -0
  77. package/dist/esm/cardholder/configuration.d.ts +91 -0
  78. package/dist/esm/cardholder/configuration.js +40 -0
  79. package/dist/esm/cardholder/index.d.ts +13 -0
  80. package/dist/esm/cardholder/index.js +15 -0
  81. package/dist/esm/cards/api.d.ts +78 -0
  82. package/dist/esm/cards/api.js +135 -0
  83. package/dist/esm/cards/base.d.ts +66 -0
  84. package/dist/esm/cards/base.js +60 -0
  85. package/dist/esm/cards/common.d.ts +65 -0
  86. package/dist/esm/cards/common.js +149 -0
  87. package/dist/esm/cards/configuration.d.ts +91 -0
  88. package/dist/esm/cards/configuration.js +40 -0
  89. package/dist/esm/cards/index.d.ts +13 -0
  90. package/dist/esm/cards/index.js +15 -0
  91. package/dist/esm/clearing-file-copy/api.d.ts +1245 -0
  92. package/dist/esm/clearing-file-copy/api.js +136 -0
  93. package/dist/esm/clearing-file-copy/base.d.ts +66 -0
  94. package/dist/esm/clearing-file-copy/base.js +60 -0
  95. package/dist/esm/clearing-file-copy/common.d.ts +65 -0
  96. package/dist/esm/clearing-file-copy/common.js +149 -0
  97. package/dist/esm/clearing-file-copy/configuration.d.ts +91 -0
  98. package/dist/esm/clearing-file-copy/configuration.js +40 -0
  99. package/dist/esm/clearing-file-copy/index.d.ts +13 -0
  100. package/dist/esm/clearing-file-copy/index.js +15 -0
  101. package/dist/esm/index.d.ts +12 -0
  102. package/dist/esm/index.js +14 -0
  103. package/dist/esm/issuer-events/api.d.ts +1721 -0
  104. package/dist/esm/issuer-events/api.js +940 -0
  105. package/dist/esm/issuer-events/base.d.ts +66 -0
  106. package/dist/esm/issuer-events/base.js +60 -0
  107. package/dist/esm/issuer-events/common.d.ts +65 -0
  108. package/dist/esm/issuer-events/common.js +149 -0
  109. package/dist/esm/issuer-events/configuration.d.ts +91 -0
  110. package/dist/esm/issuer-events/configuration.js +40 -0
  111. package/dist/esm/issuer-events/index.d.ts +13 -0
  112. package/dist/esm/issuer-events/index.js +15 -0
  113. package/dist/esm/oauth/axios.d.ts +14 -0
  114. package/dist/esm/oauth/axios.js +58 -0
  115. package/dist/esm/oauth/clientCredentials.d.ts +24 -0
  116. package/dist/esm/oauth/clientCredentials.js +59 -0
  117. package/dist/esm/oauth/index.d.ts +3 -0
  118. package/dist/esm/oauth/index.js +24 -0
  119. package/dist/esm/oauth/tokenManager.d.ts +38 -0
  120. package/dist/esm/oauth/tokenManager.js +77 -0
  121. package/dist/esm/pin/api.d.ts +329 -0
  122. package/dist/esm/pin/api.js +341 -0
  123. package/dist/esm/pin/base.d.ts +66 -0
  124. package/dist/esm/pin/base.js +60 -0
  125. package/dist/esm/pin/common.d.ts +65 -0
  126. package/dist/esm/pin/common.js +149 -0
  127. package/dist/esm/pin/configuration.d.ts +91 -0
  128. package/dist/esm/pin/configuration.js +40 -0
  129. package/dist/esm/pin/index.d.ts +13 -0
  130. package/dist/esm/pin/index.js +15 -0
  131. package/dist/esm/threeds/api.d.ts +104 -0
  132. package/dist/esm/threeds/api.js +136 -0
  133. package/dist/esm/threeds/base.d.ts +66 -0
  134. package/dist/esm/threeds/base.js +60 -0
  135. package/dist/esm/threeds/common.d.ts +65 -0
  136. package/dist/esm/threeds/common.js +149 -0
  137. package/dist/esm/threeds/configuration.d.ts +91 -0
  138. package/dist/esm/threeds/configuration.js +40 -0
  139. package/dist/esm/threeds/index.d.ts +13 -0
  140. package/dist/esm/threeds/index.js +15 -0
  141. package/dist/esm/threeds-oob/api.d.ts +241 -0
  142. package/dist/esm/threeds-oob/api.js +141 -0
  143. package/dist/esm/threeds-oob/base.d.ts +66 -0
  144. package/dist/esm/threeds-oob/base.js +60 -0
  145. package/dist/esm/threeds-oob/common.d.ts +65 -0
  146. package/dist/esm/threeds-oob/common.js +149 -0
  147. package/dist/esm/threeds-oob/configuration.d.ts +91 -0
  148. package/dist/esm/threeds-oob/configuration.js +40 -0
  149. package/dist/esm/threeds-oob/index.d.ts +13 -0
  150. package/dist/esm/threeds-oob/index.js +15 -0
  151. package/dist/esm/transaction-event/api.d.ts +1082 -0
  152. package/dist/esm/transaction-event/api.js +163 -0
  153. package/dist/esm/transaction-event/base.d.ts +66 -0
  154. package/dist/esm/transaction-event/base.js +60 -0
  155. package/dist/esm/transaction-event/common.d.ts +65 -0
  156. package/dist/esm/transaction-event/common.js +149 -0
  157. package/dist/esm/transaction-event/configuration.d.ts +91 -0
  158. package/dist/esm/transaction-event/configuration.js +40 -0
  159. package/dist/esm/transaction-event/index.d.ts +13 -0
  160. package/dist/esm/transaction-event/index.js +15 -0
  161. package/dist/esm/wallet/api.d.ts +1385 -0
  162. package/dist/esm/wallet/api.js +1342 -0
  163. package/dist/esm/wallet/base.d.ts +66 -0
  164. package/dist/esm/wallet/base.js +60 -0
  165. package/dist/esm/wallet/common.d.ts +65 -0
  166. package/dist/esm/wallet/common.js +149 -0
  167. package/dist/esm/wallet/configuration.d.ts +91 -0
  168. package/dist/esm/wallet/configuration.js +40 -0
  169. package/dist/esm/wallet/index.d.ts +13 -0
  170. package/dist/esm/wallet/index.js +15 -0
  171. package/dist/index.d.ts +12 -0
  172. package/dist/index.js +17 -0
  173. package/dist/issuer-events/api.d.ts +1721 -0
  174. package/dist/issuer-events/api.js +947 -0
  175. package/dist/issuer-events/base.d.ts +66 -0
  176. package/dist/issuer-events/base.js +65 -0
  177. package/dist/issuer-events/common.d.ts +65 -0
  178. package/dist/issuer-events/common.js +161 -0
  179. package/dist/issuer-events/configuration.d.ts +91 -0
  180. package/dist/issuer-events/configuration.js +44 -0
  181. package/dist/issuer-events/index.d.ts +13 -0
  182. package/dist/issuer-events/index.js +31 -0
  183. package/dist/oauth/axios.d.ts +14 -0
  184. package/dist/oauth/axios.js +61 -0
  185. package/dist/oauth/clientCredentials.d.ts +24 -0
  186. package/dist/oauth/clientCredentials.js +63 -0
  187. package/dist/oauth/index.d.ts +3 -0
  188. package/dist/oauth/index.js +31 -0
  189. package/dist/oauth/tokenManager.d.ts +38 -0
  190. package/dist/oauth/tokenManager.js +81 -0
  191. package/dist/pin/api.d.ts +329 -0
  192. package/dist/pin/api.js +352 -0
  193. package/dist/pin/base.d.ts +66 -0
  194. package/dist/pin/base.js +65 -0
  195. package/dist/pin/common.d.ts +65 -0
  196. package/dist/pin/common.js +161 -0
  197. package/dist/pin/configuration.d.ts +91 -0
  198. package/dist/pin/configuration.js +44 -0
  199. package/dist/pin/index.d.ts +13 -0
  200. package/dist/pin/index.js +31 -0
  201. package/dist/threeds/api.d.ts +104 -0
  202. package/dist/threeds/api.js +143 -0
  203. package/dist/threeds/base.d.ts +66 -0
  204. package/dist/threeds/base.js +65 -0
  205. package/dist/threeds/common.d.ts +65 -0
  206. package/dist/threeds/common.js +161 -0
  207. package/dist/threeds/configuration.d.ts +91 -0
  208. package/dist/threeds/configuration.js +44 -0
  209. package/dist/threeds/index.d.ts +13 -0
  210. package/dist/threeds/index.js +31 -0
  211. package/dist/threeds-oob/api.d.ts +241 -0
  212. package/dist/threeds-oob/api.js +148 -0
  213. package/dist/threeds-oob/base.d.ts +66 -0
  214. package/dist/threeds-oob/base.js +65 -0
  215. package/dist/threeds-oob/common.d.ts +65 -0
  216. package/dist/threeds-oob/common.js +161 -0
  217. package/dist/threeds-oob/configuration.d.ts +91 -0
  218. package/dist/threeds-oob/configuration.js +44 -0
  219. package/dist/threeds-oob/index.d.ts +13 -0
  220. package/dist/threeds-oob/index.js +31 -0
  221. package/dist/transaction-event/api.d.ts +1082 -0
  222. package/dist/transaction-event/api.js +166 -0
  223. package/dist/transaction-event/base.d.ts +66 -0
  224. package/dist/transaction-event/base.js +65 -0
  225. package/dist/transaction-event/common.d.ts +65 -0
  226. package/dist/transaction-event/common.js +161 -0
  227. package/dist/transaction-event/configuration.d.ts +91 -0
  228. package/dist/transaction-event/configuration.js +44 -0
  229. package/dist/transaction-event/index.d.ts +13 -0
  230. package/dist/transaction-event/index.js +31 -0
  231. package/dist/wallet/api.d.ts +1385 -0
  232. package/dist/wallet/api.js +1377 -0
  233. package/dist/wallet/base.d.ts +66 -0
  234. package/dist/wallet/base.js +65 -0
  235. package/dist/wallet/common.d.ts +65 -0
  236. package/dist/wallet/common.js +161 -0
  237. package/dist/wallet/configuration.d.ts +91 -0
  238. package/dist/wallet/configuration.js +44 -0
  239. package/dist/wallet/index.d.ts +13 -0
  240. package/dist/wallet/index.js +31 -0
  241. package/package.json +25 -0
  242. package/src/authorisation-control/api.ts +876 -0
  243. package/src/authorisation-control/base.ts +86 -0
  244. package/src/authorisation-control/common.ts +150 -0
  245. package/src/authorisation-control/configuration.ts +115 -0
  246. package/src/authorisation-control/index.ts +18 -0
  247. package/src/card/api.ts +2792 -0
  248. package/src/card/base.ts +86 -0
  249. package/src/card/common.ts +150 -0
  250. package/src/card/configuration.ts +115 -0
  251. package/src/card/index.ts +18 -0
  252. package/src/cardholder/api.ts +2244 -0
  253. package/src/cardholder/base.ts +86 -0
  254. package/src/cardholder/common.ts +150 -0
  255. package/src/cardholder/configuration.ts +115 -0
  256. package/src/cardholder/index.ts +18 -0
  257. package/src/cards/api.ts +141 -0
  258. package/src/cards/base.ts +86 -0
  259. package/src/cards/common.ts +150 -0
  260. package/src/cards/configuration.ts +115 -0
  261. package/src/cards/index.ts +18 -0
  262. package/src/clearing-file-copy/api.ts +1309 -0
  263. package/src/clearing-file-copy/base.ts +86 -0
  264. package/src/clearing-file-copy/common.ts +150 -0
  265. package/src/clearing-file-copy/configuration.ts +115 -0
  266. package/src/clearing-file-copy/index.ts +18 -0
  267. package/src/index.ts +16 -0
  268. package/src/issuer-events/api.ts +1926 -0
  269. package/src/issuer-events/base.ts +86 -0
  270. package/src/issuer-events/common.ts +150 -0
  271. package/src/issuer-events/configuration.ts +115 -0
  272. package/src/issuer-events/index.ts +18 -0
  273. package/src/oauth/axios.ts +60 -0
  274. package/src/oauth/clientCredentials.ts +72 -0
  275. package/src/oauth/index.ts +24 -0
  276. package/src/oauth/tokenManager.ts +85 -0
  277. package/src/pin/api.ts +507 -0
  278. package/src/pin/base.ts +86 -0
  279. package/src/pin/common.ts +150 -0
  280. package/src/pin/configuration.ts +115 -0
  281. package/src/pin/index.ts +18 -0
  282. package/src/threeds/api.ts +173 -0
  283. package/src/threeds/base.ts +86 -0
  284. package/src/threeds/common.ts +150 -0
  285. package/src/threeds/configuration.ts +115 -0
  286. package/src/threeds/index.ts +18 -0
  287. package/src/threeds-oob/api.ts +311 -0
  288. package/src/threeds-oob/base.ts +86 -0
  289. package/src/threeds-oob/common.ts +150 -0
  290. package/src/threeds-oob/configuration.ts +115 -0
  291. package/src/threeds-oob/index.ts +18 -0
  292. package/src/transaction-event/api.ts +1152 -0
  293. package/src/transaction-event/base.ts +86 -0
  294. package/src/transaction-event/common.ts +150 -0
  295. package/src/transaction-event/configuration.ts +115 -0
  296. package/src/transaction-event/index.ts +18 -0
  297. package/src/wallet/api.ts +2083 -0
  298. package/src/wallet/base.ts +86 -0
  299. package/src/wallet/common.ts +150 -0
  300. package/src/wallet/configuration.ts +115 -0
  301. package/src/wallet/index.ts +18 -0
  302. package/test/authorisation-control.test.ts +71 -0
  303. package/test/card.test.ts +39 -0
  304. package/test/cardholder.test.ts +51 -0
  305. package/test/cards.test.ts +35 -0
  306. package/test/issuer-events.test.ts +55 -0
  307. package/test/oauth.test.ts +205 -0
  308. package/test/pin.test.ts +39 -0
  309. package/test/threeds-oob.test.ts +90 -0
  310. package/test/threeds.test.ts +55 -0
  311. package/test/wallet.test.ts +62 -0
  312. package/tsconfig.esm.json +7 -0
  313. package/tsconfig.json +14 -0
@@ -0,0 +1,1082 @@
1
+ /**
2
+ * Transaction events API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ApprovedTransaction
16
+ */
17
+ export interface ApprovedTransaction {
18
+ /**
19
+ * Enfuce generated code/number (6-digits)— returned to the merchant when authorisation is approved. In case of scheme advices, this is generated and transmitted by the scheme.
20
+ * @type {string}
21
+ * @memberof ApprovedTransaction
22
+ */
23
+ 'authCode'?: string;
24
+ /**
25
+ * Number of days the authorisation is valid (applicable when merchants requests for extended authorisation period, longer than the default 7 days).
26
+ * @type {number}
27
+ * @memberof ApprovedTransaction
28
+ */
29
+ 'authValidity'?: number;
30
+ /**
31
+ * Transaction amount in the currency of the ledger account (associated with the card). If any issuer transaction fee is applied (see the issuerTransactionFees field), the billingAmount also includes those fees.
32
+ * @type {Money}
33
+ * @memberof ApprovedTransaction
34
+ */
35
+ 'billingAmount'?: Money;
36
+ /**
37
+ * The transaction amount in the local currency of the acquirer or the merchant, where the transaction occurred.
38
+ * @type {Money}
39
+ * @memberof ApprovedTransaction
40
+ */
41
+ 'transactionAmount'?: Money;
42
+ /**
43
+ * The amount of funds transferred between the acquirer and the issuer, equal to the `transactionAmount`, in the settlement currency.
44
+ * @type {Money}
45
+ * @memberof ApprovedTransaction
46
+ */
47
+ 'settlementAmount'?: Money;
48
+ /**
49
+ * Fee charged (for example, by the acquirer) for transaction activity.
50
+ * @type {Money}
51
+ * @memberof ApprovedTransaction
52
+ */
53
+ 'acquirerTransactionFeeAmount'?: Money;
54
+ /**
55
+ *
56
+ * @type {Array<TransactionFee>}
57
+ * @memberof ApprovedTransaction
58
+ */
59
+ 'issuerTransactionFees'?: Array<TransactionFee>;
60
+ /**
61
+ *
62
+ * @type {Array<CardholderVerificationMethod>}
63
+ * @memberof ApprovedTransaction
64
+ */
65
+ 'cardholderVerificationMethods'?: Array<CardholderVerificationMethod>;
66
+ /**
67
+ * Merchant/acquirer generated transaction reference number.
68
+ * @type {string}
69
+ * @memberof ApprovedTransaction
70
+ */
71
+ 'retrievalReferenceNumber'?: string;
72
+ /**
73
+ *
74
+ * @type {CardEntryMode}
75
+ * @memberof ApprovedTransaction
76
+ */
77
+ 'cardEntryMode'?: CardEntryMode;
78
+ /**
79
+ * Indicates whether the cardholder is physically present during transaction.
80
+ * @type {boolean}
81
+ * @memberof ApprovedTransaction
82
+ */
83
+ 'cardholderPresent'?: boolean;
84
+ /**
85
+ * Indicates whether the card is present at the point of service.
86
+ * @type {boolean}
87
+ * @memberof ApprovedTransaction
88
+ */
89
+ 'cardPresent'?: boolean;
90
+ /**
91
+ * Indicates whether the transaction is a recurring payment or merchant initiated. This implies whether the cardholder has approved the merchant initiated transaction.
92
+ * @type {boolean}
93
+ * @memberof ApprovedTransaction
94
+ */
95
+ 'merchantInitiated'?: boolean;
96
+ /**
97
+ * Date and time in the time zone where the transaction occurred.
98
+ * @type {string}
99
+ * @memberof ApprovedTransaction
100
+ */
101
+ 'transactionDateTime'?: string;
102
+ /**
103
+ * This value is present only for recurring transaction, and it\'s value is first original authorisation request in the chain.
104
+ * @type {string}
105
+ * @memberof ApprovedTransaction
106
+ */
107
+ 'originalTransactionId'?: string;
108
+ /**
109
+ *
110
+ * @type {TransactionType}
111
+ * @memberof ApprovedTransaction
112
+ */
113
+ 'transactionType'?: TransactionType;
114
+ /**
115
+ * Amount approved at the current payment processing stage; the amount might be further reduced in the subsequent stages, when the Ledger performs additional validations. If any issuer transaction fee is applied (see the issuerTransactionFees field), the approvedAmount also includes those fees.
116
+ * @type {Money}
117
+ * @memberof ApprovedTransaction
118
+ */
119
+ 'approvedAmount'?: Money;
120
+ /**
121
+ * Time when processed by Enfuce.
122
+ * @type {string}
123
+ * @memberof ApprovedTransaction
124
+ */
125
+ 'processedDateTime'?: string;
126
+ }
127
+ /**
128
+ * Information about the card used for the payment.
129
+ * @export
130
+ * @interface Card
131
+ */
132
+ export interface Card {
133
+ /**
134
+ * Enfuce generated unique ID assigned to each card used — enables you to identify the card that you must authorise.
135
+ * @type {string}
136
+ * @memberof Card
137
+ */
138
+ 'id'?: string;
139
+ /**
140
+ * Card expiration date as received in the scheme message.
141
+ * @type {Expiration}
142
+ * @memberof Card
143
+ */
144
+ 'expirationDate'?: Expiration;
145
+ /**
146
+ * Card sequence number as received in the scheme message.
147
+ * @type {number}
148
+ * @memberof Card
149
+ */
150
+ 'sequenceNumber'?: number;
151
+ /**
152
+ * Ledger provided account ID associated with the card.
153
+ * @type {string}
154
+ * @memberof Card
155
+ */
156
+ 'accountId'?: string;
157
+ /**
158
+ * Unique ID of the cardholder associated with the card.
159
+ * @type {string}
160
+ * @memberof Card
161
+ */
162
+ 'cardholderId'?: string;
163
+ /**
164
+ * Information about any parent card group associated with the card.
165
+ * @type {Array<CardGroupsInner>}
166
+ * @memberof Card
167
+ */
168
+ 'groups'?: Array<CardGroupsInner>;
169
+ /**
170
+ * The type of card application used for the transaction.
171
+ * @type {string}
172
+ * @memberof Card
173
+ */
174
+ 'applicationSelection'?: CardApplicationSelectionEnum;
175
+ }
176
+ export declare const CardApplicationSelectionEnum: {
177
+ readonly Debit: "DEBIT";
178
+ readonly Credit: "CREDIT";
179
+ };
180
+ export type CardApplicationSelectionEnum = typeof CardApplicationSelectionEnum[keyof typeof CardApplicationSelectionEnum];
181
+ /**
182
+ * Describes how the card credentials were captured.
183
+ * @export
184
+ * @enum {string}
185
+ */
186
+ export declare const CardEntryMode: {
187
+ readonly Chip: "CHIP";
188
+ readonly ChipContactless: "CHIP_CONTACTLESS";
189
+ readonly MagneticStripe: "MAGNETIC_STRIPE";
190
+ readonly ManualEntry: "MANUAL_ENTRY";
191
+ readonly WalletContactless: "WALLET_CONTACTLESS";
192
+ readonly Ecommerce: "ECOMMERCE";
193
+ readonly WalletEcommerce: "WALLET_ECOMMERCE";
194
+ readonly CredentialsOnFile: "CREDENTIALS_ON_FILE";
195
+ readonly Unknown: "UNKNOWN";
196
+ };
197
+ export type CardEntryMode = typeof CardEntryMode[keyof typeof CardEntryMode];
198
+ /**
199
+ *
200
+ * @export
201
+ * @interface CardGroupsInner
202
+ */
203
+ export interface CardGroupsInner {
204
+ /**
205
+ * Unique ID assigned to the parent card group.
206
+ * @type {string}
207
+ * @memberof CardGroupsInner
208
+ */
209
+ 'groupId': string;
210
+ }
211
+ /**
212
+ * The method used for verifying the cardholder: - PIN_VERIFIED_BY_CARD: The card\'s PIN is verified. - PIN_VERIFIED_BY_ISSUER: The card\'s PIN is verified by issuer. - WALLET: The cardholder is verified by the digital wallet. - THREE_DS: The cardholder is 3DS authenticated. - BIOMETRIC: The cardholder is verified by biometrics data. - SIGNATURE: The cardholder\'s signature verified. - NO_VERIFICATION: No verification is performed.
213
+ * @export
214
+ * @enum {string}
215
+ */
216
+ export declare const CardholderVerificationMethod: {
217
+ readonly PinVerifiedByCard: "PIN_VERIFIED_BY_CARD";
218
+ readonly PinVerifiedByIssuer: "PIN_VERIFIED_BY_ISSUER";
219
+ readonly Wallet: "WALLET";
220
+ readonly ThreeDs: "THREE_DS";
221
+ readonly Biometric: "BIOMETRIC";
222
+ readonly Signature: "SIGNATURE";
223
+ readonly NoVerification: "NO_VERIFICATION";
224
+ };
225
+ export type CardholderVerificationMethod = typeof CardholderVerificationMethod[keyof typeof CardholderVerificationMethod];
226
+ /**
227
+ * The status of the transaction. CLEARED means that the transaction has been fully cleared, PARTIALLY_CLEARED means that the transaction is partially cleared.
228
+ * @export
229
+ * @enum {string}
230
+ */
231
+ export declare const ClearingStatus: {
232
+ readonly Cleared: "CLEARED";
233
+ readonly PartiallyCleared: "PARTIALLY_CLEARED";
234
+ };
235
+ export type ClearingStatus = typeof ClearingStatus[keyof typeof ClearingStatus];
236
+ /**
237
+ * Field that contains exchange rates for the transaction, it is null if both currencies are the same.
238
+ * @export
239
+ * @interface ExchangeRates
240
+ */
241
+ export interface ExchangeRates {
242
+ /**
243
+ * European Central Bank exchange rate.
244
+ * @type {number}
245
+ * @memberof ExchangeRates
246
+ */
247
+ 'ecbRate'?: number;
248
+ }
249
+ /**
250
+ *
251
+ * @export
252
+ * @interface Expiration
253
+ */
254
+ export interface Expiration {
255
+ /**
256
+ * Expiration year in YYYY format.
257
+ * @type {number}
258
+ * @memberof Expiration
259
+ */
260
+ 'year': number;
261
+ /**
262
+ * Expiration month in MM format.
263
+ * @type {number}
264
+ * @memberof Expiration
265
+ */
266
+ 'month': number;
267
+ }
268
+ /**
269
+ * Interchange calculated by the scheme for the transaction.
270
+ * @export
271
+ * @interface InterchangeFee
272
+ */
273
+ export interface InterchangeFee {
274
+ /**
275
+ *
276
+ * @type {number}
277
+ * @memberof InterchangeFee
278
+ */
279
+ 'amount': number;
280
+ /**
281
+ * A valid ISO 4217 currency code
282
+ * @type {string}
283
+ * @memberof InterchangeFee
284
+ */
285
+ 'currency': string;
286
+ /**
287
+ *
288
+ * @type {InterchangeFeeDirection}
289
+ * @memberof InterchangeFee
290
+ */
291
+ 'direction': InterchangeFeeDirection;
292
+ }
293
+ /**
294
+ * Specifies if the interchange fee amount is a credit or a debit for the cardholder.
295
+ * @export
296
+ * @enum {string}
297
+ */
298
+ export declare const InterchangeFeeDirection: {
299
+ readonly Credit: "CREDIT";
300
+ readonly Debit: "DEBIT";
301
+ readonly Unknown: "UNKNOWN";
302
+ };
303
+ export type InterchangeFeeDirection = typeof InterchangeFeeDirection[keyof typeof InterchangeFeeDirection];
304
+ /**
305
+ *
306
+ * @export
307
+ * @interface Merchant
308
+ */
309
+ export interface Merchant {
310
+ /**
311
+ * ID assigned code each card acceptor, i.e. a merchant or a bank.
312
+ * @type {string}
313
+ * @memberof Merchant
314
+ */
315
+ 'id'?: string;
316
+ /**
317
+ * Merchant name as received from the card scheme. For ATMs, this can be a street address or a bank branch number.
318
+ * @type {string}
319
+ * @memberof Merchant
320
+ */
321
+ 'name'?: string;
322
+ /**
323
+ * The city where the transaction/withdrawal has occurred or where the merchant is registered.
324
+ * @type {string}
325
+ * @memberof Merchant
326
+ */
327
+ 'city'?: string;
328
+ /**
329
+ * The country where the transaction/withdrawal has occurred or where the merchant is registered.
330
+ * @type {string}
331
+ * @memberof Merchant
332
+ */
333
+ 'country'?: string;
334
+ /**
335
+ * The merchant\'s postal code.
336
+ * @type {string}
337
+ * @memberof Merchant
338
+ */
339
+ 'zipCode'?: string;
340
+ /**
341
+ * Contains the merchant\'s street address.
342
+ * @type {string}
343
+ * @memberof Merchant
344
+ */
345
+ 'address'?: string;
346
+ /**
347
+ *
348
+ * @type {MerchantCategory}
349
+ * @memberof Merchant
350
+ */
351
+ 'category'?: MerchantCategory;
352
+ /**
353
+ * Uniquely ID assigned to each terminal used by the merchant.
354
+ * @type {string}
355
+ * @memberof Merchant
356
+ */
357
+ 'terminalId'?: string;
358
+ /**
359
+ * The sub-merchant ID is used when merchant ID is not adequate to identify the merchant. Used when a merchant uses a payment facilitator.
360
+ * @type {string}
361
+ * @memberof Merchant
362
+ */
363
+ 'subMerchantId'?: string;
364
+ /**
365
+ * Indicates whether the merchant is capable of accepting partial approval of an amount: - TRUE: Specifies `TRUE` if the merchant accepts partial approval. - FALSE: Specifies `FALSE` if the merchant does not accept partial approval.
366
+ * @type {boolean}
367
+ * @memberof Merchant
368
+ */
369
+ 'partialApprovalCapable'?: boolean;
370
+ /**
371
+ * Unique ID assigned to the financial institution acting as the merchant\'s acquirer.
372
+ * @type {string}
373
+ * @memberof Merchant
374
+ */
375
+ 'acquirerId'?: string;
376
+ /**
377
+ * The country of the merchant\'s acquirer — mention the ISO-3166-1 alpha-3 country code.
378
+ * @type {string}
379
+ * @memberof Merchant
380
+ */
381
+ 'acquirerCountry'?: string;
382
+ /**
383
+ * Data an acquirer supplies in an acquirer-originated message, might be required for the issuer to return to the acquirer in a subsequent message.
384
+ * @type {string}
385
+ * @memberof Merchant
386
+ */
387
+ 'acquirerReferenceData'?: string;
388
+ }
389
+ /**
390
+ *
391
+ * @export
392
+ * @interface MerchantCategory
393
+ */
394
+ export interface MerchantCategory {
395
+ /**
396
+ * Merchant category code as per the card scheme classification. Categorisation is done based on the type of business or service the merchant provides.
397
+ * @type {string}
398
+ * @memberof MerchantCategory
399
+ */
400
+ 'code'?: string;
401
+ /**
402
+ * Description of the Merchant Category Code (MCC).
403
+ * @type {string}
404
+ * @memberof MerchantCategory
405
+ */
406
+ 'description'?: string;
407
+ /**
408
+ * Merchant Category Code (MCC) group as received from the scheme.
409
+ * @type {string}
410
+ * @memberof MerchantCategory
411
+ */
412
+ 'group'?: string;
413
+ }
414
+ /**
415
+ * Message category sent in the transaction event webhook. Possible enums: - INITIAL_AUTHORIZATION: Initial authorisation of the card payment. - INCREMENTAL_AUTHORIZATION: Additional authorisation for a previously authorised transaction. - DECLINED_AUTHORIZATION: Scheme declined the transaction on behalf of Enfuce in the STIP mode. - ADJUSTMENT: Corrections to a previously authorised transaction. - REVERSAL: Reversal of a previously authorised transaction. - BALANCE_INQUIRY: Enquiring about the current balance of the funding account from the external application. - PIN_MANAGEMENT: Request to change the card PIN. - PIN_MANAGEMENT_REVERSAL: Reversal of a pin change request. - FINANCIAL: Clearing message of batch payments. - PURGE_AUTHORIZATION: Excluded authorisations are purged after a specific period. - VOID_AUTHORIZATION: When an initial authorisation or an incremental authorisation request times out, a `VOID_AUTHORIZATION` message is generated.
416
+ * @export
417
+ * @enum {string}
418
+ */
419
+ export declare const MessageCategoryTransactionEvent: {
420
+ readonly InitialAuthorization: "INITIAL_AUTHORIZATION";
421
+ readonly IncrementalAuthorization: "INCREMENTAL_AUTHORIZATION";
422
+ readonly DeclinedAuthorization: "DECLINED_AUTHORIZATION";
423
+ readonly Adjustment: "ADJUSTMENT";
424
+ readonly Reversal: "REVERSAL";
425
+ readonly BalanceInquiry: "BALANCE_INQUIRY";
426
+ readonly PinManagement: "PIN_MANAGEMENT";
427
+ readonly PinManagementReversal: "PIN_MANAGEMENT_REVERSAL";
428
+ readonly Financial: "FINANCIAL";
429
+ readonly FinancialAddendum: "FINANCIAL_ADDENDUM";
430
+ readonly FeeCollection: "FEE_COLLECTION";
431
+ readonly Reconciliation: "RECONCILIATION";
432
+ readonly PurgeAuthorization: "PURGE_AUTHORIZATION";
433
+ readonly VoidAuthorization: "VOID_AUTHORIZATION";
434
+ readonly Chargeback: "CHARGEBACK";
435
+ readonly ChargebackReversal: "CHARGEBACK_REVERSAL";
436
+ readonly Representment: "REPRESENTMENT";
437
+ readonly RepresentmentReversal: "REPRESENTMENT_REVERSAL";
438
+ readonly DocumentRequest: "DOCUMENT_REQUEST";
439
+ };
440
+ export type MessageCategoryTransactionEvent = typeof MessageCategoryTransactionEvent[keyof typeof MessageCategoryTransactionEvent];
441
+ /**
442
+ * Identifies the message function of the transaction event.
443
+ * @export
444
+ * @enum {string}
445
+ */
446
+ export declare const MessageFunctionTransactionEvent: {
447
+ readonly Request: "REQUEST";
448
+ readonly Advice: "ADVICE";
449
+ readonly Notification: "NOTIFICATION";
450
+ readonly AccountStatusInquiry: "ACCOUNT_STATUS_INQUIRY";
451
+ };
452
+ export type MessageFunctionTransactionEvent = typeof MessageFunctionTransactionEvent[keyof typeof MessageFunctionTransactionEvent];
453
+ /**
454
+ * Amount including currency.
455
+ * @export
456
+ * @interface Money
457
+ */
458
+ export interface Money {
459
+ /**
460
+ *
461
+ * @type {number}
462
+ * @memberof Money
463
+ */
464
+ 'amount': number;
465
+ /**
466
+ * A valid ISO 4217 currency code
467
+ * @type {string}
468
+ * @memberof Money
469
+ */
470
+ 'currency': string;
471
+ }
472
+ /**
473
+ *
474
+ * @export
475
+ * @interface ProcessedTransaction
476
+ */
477
+ export interface ProcessedTransaction {
478
+ /**
479
+ * Enfuce generated code/number (6-digits)— returned to the merchant when authorisation is approved. In case of scheme advices, this is generated and transmitted by the scheme.
480
+ * @type {string}
481
+ * @memberof ProcessedTransaction
482
+ */
483
+ 'authCode'?: string;
484
+ /**
485
+ * Number of days the authorisation is valid (applicable when merchants requests for extended authorisation period, longer than the default 7 days).
486
+ * @type {number}
487
+ * @memberof ProcessedTransaction
488
+ */
489
+ 'authValidity'?: number;
490
+ /**
491
+ * Transaction amount in the currency of the ledger account (associated with the card). If any issuer transaction fee is applied (see the issuerTransactionFees field), the billingAmount also includes those fees.
492
+ * @type {Money}
493
+ * @memberof ProcessedTransaction
494
+ */
495
+ 'billingAmount'?: Money;
496
+ /**
497
+ * The transaction amount in the local currency of the acquirer or the merchant, where the transaction occurred.
498
+ * @type {Money}
499
+ * @memberof ProcessedTransaction
500
+ */
501
+ 'transactionAmount'?: Money;
502
+ /**
503
+ * The amount of funds transferred between the acquirer and the issuer, equal to the `transactionAmount`, in the settlement currency.
504
+ * @type {Money}
505
+ * @memberof ProcessedTransaction
506
+ */
507
+ 'settlementAmount'?: Money;
508
+ /**
509
+ * Fee charged (for example, by the acquirer) for transaction activity.
510
+ * @type {Money}
511
+ * @memberof ProcessedTransaction
512
+ */
513
+ 'acquirerTransactionFeeAmount'?: Money;
514
+ /**
515
+ *
516
+ * @type {Array<TransactionFee>}
517
+ * @memberof ProcessedTransaction
518
+ */
519
+ 'issuerTransactionFees'?: Array<TransactionFee>;
520
+ /**
521
+ *
522
+ * @type {Array<CardholderVerificationMethod>}
523
+ * @memberof ProcessedTransaction
524
+ */
525
+ 'cardholderVerificationMethods'?: Array<CardholderVerificationMethod>;
526
+ /**
527
+ * Merchant/acquirer generated transaction reference number.
528
+ * @type {string}
529
+ * @memberof ProcessedTransaction
530
+ */
531
+ 'retrievalReferenceNumber'?: string;
532
+ /**
533
+ *
534
+ * @type {CardEntryMode}
535
+ * @memberof ProcessedTransaction
536
+ */
537
+ 'cardEntryMode'?: CardEntryMode;
538
+ /**
539
+ * Indicates whether the cardholder is physically present during transaction.
540
+ * @type {boolean}
541
+ * @memberof ProcessedTransaction
542
+ */
543
+ 'cardholderPresent'?: boolean;
544
+ /**
545
+ * Indicates whether the card is present at the point of service.
546
+ * @type {boolean}
547
+ * @memberof ProcessedTransaction
548
+ */
549
+ 'cardPresent'?: boolean;
550
+ /**
551
+ * Indicates whether the transaction is a recurring payment or merchant initiated. This implies whether the cardholder has approved the merchant initiated transaction.
552
+ * @type {boolean}
553
+ * @memberof ProcessedTransaction
554
+ */
555
+ 'merchantInitiated'?: boolean;
556
+ /**
557
+ * Date and time in the time zone where the transaction occurred.
558
+ * @type {string}
559
+ * @memberof ProcessedTransaction
560
+ */
561
+ 'transactionDateTime'?: string;
562
+ /**
563
+ * This value is present only for recurring transaction, and it\'s value is first original authorisation request in the chain.
564
+ * @type {string}
565
+ * @memberof ProcessedTransaction
566
+ */
567
+ 'originalTransactionId'?: string;
568
+ /**
569
+ *
570
+ * @type {TransactionTypeClearing}
571
+ * @memberof ProcessedTransaction
572
+ */
573
+ 'transactionType'?: TransactionTypeClearing;
574
+ /**
575
+ * Contains previous amounts in a Financial message that has been corrected, in transaction currency.
576
+ * @type {Money}
577
+ * @memberof ProcessedTransaction
578
+ */
579
+ 'originalAmount'?: Money;
580
+ /**
581
+ * Identifies the clearing systems processing date expressed in the local time zone of the clearing system.
582
+ * @type {string}
583
+ * @memberof ProcessedTransaction
584
+ */
585
+ 'reconciliationDate'?: string;
586
+ /**
587
+ * Identifies a reconciliation period in a reconciliation date.
588
+ * @type {string}
589
+ * @memberof ProcessedTransaction
590
+ */
591
+ 'reconciliationCycle'?: string;
592
+ /**
593
+ * Time when processed by Enfuce.
594
+ * @type {string}
595
+ * @memberof ProcessedTransaction
596
+ */
597
+ 'processedDateTime'?: string;
598
+ /**
599
+ *
600
+ * @type {InterchangeFee}
601
+ * @memberof ProcessedTransaction
602
+ */
603
+ 'interchangeFee'?: InterchangeFee;
604
+ /**
605
+ *
606
+ * @type {ExchangeRates}
607
+ * @memberof ProcessedTransaction
608
+ */
609
+ 'exchangeRates'?: ExchangeRates;
610
+ }
611
+ /**
612
+ * Information about the token associated with the card.
613
+ * @export
614
+ * @interface Token
615
+ */
616
+ export interface Token {
617
+ /**
618
+ *
619
+ * @type {string}
620
+ * @memberof Token
621
+ */
622
+ 'id'?: string;
623
+ /**
624
+ * Identifies the specific digital wallet.
625
+ * @type {string}
626
+ * @memberof Token
627
+ */
628
+ 'walletIdentifier'?: TokenWalletIdentifierEnum;
629
+ }
630
+ export declare const TokenWalletIdentifierEnum: {
631
+ readonly Masterpass: "MASTERPASS";
632
+ readonly ApplePay: "APPLE_PAY";
633
+ readonly GooglePay: "GOOGLE_PAY";
634
+ readonly SamsungPay: "SAMSUNG_PAY";
635
+ readonly RemoteCommercePrograms: "REMOTE_COMMERCE_PROGRAMS";
636
+ };
637
+ export type TokenWalletIdentifierEnum = typeof TokenWalletIdentifierEnum[keyof typeof TokenWalletIdentifierEnum];
638
+ /**
639
+ *
640
+ * @export
641
+ * @interface Transaction
642
+ */
643
+ export interface Transaction {
644
+ /**
645
+ * Enfuce generated code/number (6-digits)— returned to the merchant when authorisation is approved. In case of scheme advices, this is generated and transmitted by the scheme.
646
+ * @type {string}
647
+ * @memberof Transaction
648
+ */
649
+ 'authCode'?: string;
650
+ /**
651
+ * Number of days the authorisation is valid (applicable when merchants requests for extended authorisation period, longer than the default 7 days).
652
+ * @type {number}
653
+ * @memberof Transaction
654
+ */
655
+ 'authValidity'?: number;
656
+ /**
657
+ * Transaction amount in the currency of the ledger account (associated with the card). If any issuer transaction fee is applied (see the issuerTransactionFees field), the billingAmount also includes those fees.
658
+ * @type {Money}
659
+ * @memberof Transaction
660
+ */
661
+ 'billingAmount'?: Money;
662
+ /**
663
+ * The transaction amount in the local currency of the acquirer or the merchant, where the transaction occurred.
664
+ * @type {Money}
665
+ * @memberof Transaction
666
+ */
667
+ 'transactionAmount'?: Money;
668
+ /**
669
+ * The amount of funds transferred between the acquirer and the issuer, equal to the `transactionAmount`, in the settlement currency.
670
+ * @type {Money}
671
+ * @memberof Transaction
672
+ */
673
+ 'settlementAmount'?: Money;
674
+ /**
675
+ * Fee charged (for example, by the acquirer) for transaction activity.
676
+ * @type {Money}
677
+ * @memberof Transaction
678
+ */
679
+ 'acquirerTransactionFeeAmount'?: Money;
680
+ /**
681
+ *
682
+ * @type {Array<TransactionFee>}
683
+ * @memberof Transaction
684
+ */
685
+ 'issuerTransactionFees'?: Array<TransactionFee>;
686
+ /**
687
+ *
688
+ * @type {Array<CardholderVerificationMethod>}
689
+ * @memberof Transaction
690
+ */
691
+ 'cardholderVerificationMethods'?: Array<CardholderVerificationMethod>;
692
+ /**
693
+ * Merchant/acquirer generated transaction reference number.
694
+ * @type {string}
695
+ * @memberof Transaction
696
+ */
697
+ 'retrievalReferenceNumber'?: string;
698
+ /**
699
+ *
700
+ * @type {CardEntryMode}
701
+ * @memberof Transaction
702
+ */
703
+ 'cardEntryMode'?: CardEntryMode;
704
+ /**
705
+ * Indicates whether the cardholder is physically present during transaction.
706
+ * @type {boolean}
707
+ * @memberof Transaction
708
+ */
709
+ 'cardholderPresent'?: boolean;
710
+ /**
711
+ * Indicates whether the card is present at the point of service.
712
+ * @type {boolean}
713
+ * @memberof Transaction
714
+ */
715
+ 'cardPresent'?: boolean;
716
+ /**
717
+ * Indicates whether the transaction is a recurring payment or merchant initiated. This implies whether the cardholder has approved the merchant initiated transaction.
718
+ * @type {boolean}
719
+ * @memberof Transaction
720
+ */
721
+ 'merchantInitiated'?: boolean;
722
+ /**
723
+ * Date and time in the time zone where the transaction occurred.
724
+ * @type {string}
725
+ * @memberof Transaction
726
+ */
727
+ 'transactionDateTime'?: string;
728
+ /**
729
+ * This value is present only for recurring transaction, and it\'s value is first original authorisation request in the chain.
730
+ * @type {string}
731
+ * @memberof Transaction
732
+ */
733
+ 'originalTransactionId'?: string;
734
+ }
735
+ /**
736
+ *
737
+ * @export
738
+ * @interface TransactionEvent
739
+ */
740
+ export interface TransactionEvent {
741
+ /**
742
+ * Unique system generated ID assigned to each event in the payment processing workflow. For example, an ID assigned to the initial authorisation event.
743
+ * @type {string}
744
+ * @memberof TransactionEvent
745
+ */
746
+ 'id'?: string;
747
+ /**
748
+ * Unique ID assigned to VOID_AUTHORIZATION message category — applicable only for VOID_AUTHORIZATION.
749
+ * @type {string}
750
+ * @memberof TransactionEvent
751
+ */
752
+ 'referenceTransactionEventId'?: string;
753
+ /**
754
+ * Enfuce generated unique ID assigned to each card transaction. Transaction events for the same card payment includes the same `transactionId`. For example, authorisation, incremental authorisation, and adjustment for the same transaction includes the same `transactionID`.
755
+ * @type {string}
756
+ * @memberof TransactionEvent
757
+ */
758
+ 'transactionId'?: string;
759
+ /**
760
+ *
761
+ * @type {MessageCategoryTransactionEvent}
762
+ * @memberof TransactionEvent
763
+ */
764
+ 'messageCategory'?: MessageCategoryTransactionEvent;
765
+ /**
766
+ *
767
+ * @type {MessageFunctionTransactionEvent}
768
+ * @memberof TransactionEvent
769
+ */
770
+ 'messageFunction'?: MessageFunctionTransactionEvent;
771
+ /**
772
+ *
773
+ * @type {ClearingStatus}
774
+ * @memberof TransactionEvent
775
+ */
776
+ 'clearingStatus'?: ClearingStatus;
777
+ /**
778
+ *
779
+ * @type {Card}
780
+ * @memberof TransactionEvent
781
+ */
782
+ 'card'?: Card;
783
+ /**
784
+ *
785
+ * @type {Merchant}
786
+ * @memberof TransactionEvent
787
+ */
788
+ 'merchant'?: Merchant;
789
+ /**
790
+ *
791
+ * @type {TransactionEventTransaction}
792
+ * @memberof TransactionEvent
793
+ */
794
+ 'transaction'?: TransactionEventTransaction;
795
+ /**
796
+ *
797
+ * @type {Token}
798
+ * @memberof TransactionEvent
799
+ */
800
+ 'token'?: Token;
801
+ }
802
+ /**
803
+ *
804
+ * @export
805
+ * @interface TransactionEventMetadata
806
+ */
807
+ export interface TransactionEventMetadata {
808
+ /**
809
+ * Unique system generated ID assigned to each event in the payment processing workflow. For example, an ID assigned to the initial authorisation event.
810
+ * @type {string}
811
+ * @memberof TransactionEventMetadata
812
+ */
813
+ 'id'?: string;
814
+ /**
815
+ * Unique ID assigned to VOID_AUTHORIZATION message category — applicable only for VOID_AUTHORIZATION.
816
+ * @type {string}
817
+ * @memberof TransactionEventMetadata
818
+ */
819
+ 'referenceTransactionEventId'?: string;
820
+ /**
821
+ * Enfuce generated unique ID assigned to each card transaction. Transaction events for the same card payment includes the same `transactionId`. For example, authorisation, incremental authorisation, and adjustment for the same transaction includes the same `transactionID`.
822
+ * @type {string}
823
+ * @memberof TransactionEventMetadata
824
+ */
825
+ 'transactionId'?: string;
826
+ /**
827
+ *
828
+ * @type {MessageCategoryTransactionEvent}
829
+ * @memberof TransactionEventMetadata
830
+ */
831
+ 'messageCategory'?: MessageCategoryTransactionEvent;
832
+ /**
833
+ *
834
+ * @type {MessageFunctionTransactionEvent}
835
+ * @memberof TransactionEventMetadata
836
+ */
837
+ 'messageFunction'?: MessageFunctionTransactionEvent;
838
+ /**
839
+ *
840
+ * @type {ClearingStatus}
841
+ * @memberof TransactionEventMetadata
842
+ */
843
+ 'clearingStatus'?: ClearingStatus;
844
+ }
845
+ /**
846
+ *
847
+ * @export
848
+ * @interface TransactionEventTransaction
849
+ */
850
+ export interface TransactionEventTransaction {
851
+ /**
852
+ * Enfuce generated code/number (6-digits)— returned to the merchant when authorisation is approved. In case of scheme advices, this is generated and transmitted by the scheme.
853
+ * @type {string}
854
+ * @memberof TransactionEventTransaction
855
+ */
856
+ 'authCode'?: string;
857
+ /**
858
+ * Number of days the authorisation is valid (applicable when merchants requests for extended authorisation period, longer than the default 7 days).
859
+ * @type {number}
860
+ * @memberof TransactionEventTransaction
861
+ */
862
+ 'authValidity'?: number;
863
+ /**
864
+ * Transaction amount in the currency of the ledger account (associated with the card). If any issuer transaction fee is applied (see the issuerTransactionFees field), the billingAmount also includes those fees.
865
+ * @type {Money}
866
+ * @memberof TransactionEventTransaction
867
+ */
868
+ 'billingAmount'?: Money;
869
+ /**
870
+ * The transaction amount in the local currency of the acquirer or the merchant, where the transaction occurred.
871
+ * @type {Money}
872
+ * @memberof TransactionEventTransaction
873
+ */
874
+ 'transactionAmount'?: Money;
875
+ /**
876
+ * The amount of funds transferred between the acquirer and the issuer, equal to the `transactionAmount`, in the settlement currency.
877
+ * @type {Money}
878
+ * @memberof TransactionEventTransaction
879
+ */
880
+ 'settlementAmount'?: Money;
881
+ /**
882
+ * Fee charged (for example, by the acquirer) for transaction activity.
883
+ * @type {Money}
884
+ * @memberof TransactionEventTransaction
885
+ */
886
+ 'acquirerTransactionFeeAmount'?: Money;
887
+ /**
888
+ *
889
+ * @type {Array<TransactionFee>}
890
+ * @memberof TransactionEventTransaction
891
+ */
892
+ 'issuerTransactionFees'?: Array<TransactionFee>;
893
+ /**
894
+ *
895
+ * @type {Array<CardholderVerificationMethod>}
896
+ * @memberof TransactionEventTransaction
897
+ */
898
+ 'cardholderVerificationMethods'?: Array<CardholderVerificationMethod>;
899
+ /**
900
+ * Merchant/acquirer generated transaction reference number.
901
+ * @type {string}
902
+ * @memberof TransactionEventTransaction
903
+ */
904
+ 'retrievalReferenceNumber'?: string;
905
+ /**
906
+ *
907
+ * @type {CardEntryMode}
908
+ * @memberof TransactionEventTransaction
909
+ */
910
+ 'cardEntryMode'?: CardEntryMode;
911
+ /**
912
+ * Indicates whether the cardholder is physically present during transaction.
913
+ * @type {boolean}
914
+ * @memberof TransactionEventTransaction
915
+ */
916
+ 'cardholderPresent'?: boolean;
917
+ /**
918
+ * Indicates whether the card is present at the point of service.
919
+ * @type {boolean}
920
+ * @memberof TransactionEventTransaction
921
+ */
922
+ 'cardPresent'?: boolean;
923
+ /**
924
+ * Indicates whether the transaction is a recurring payment or merchant initiated. This implies whether the cardholder has approved the merchant initiated transaction.
925
+ * @type {boolean}
926
+ * @memberof TransactionEventTransaction
927
+ */
928
+ 'merchantInitiated'?: boolean;
929
+ /**
930
+ * Date and time in the time zone where the transaction occurred.
931
+ * @type {string}
932
+ * @memberof TransactionEventTransaction
933
+ */
934
+ 'transactionDateTime'?: string;
935
+ /**
936
+ * This value is present only for recurring transaction, and it\'s value is first original authorisation request in the chain.
937
+ * @type {string}
938
+ * @memberof TransactionEventTransaction
939
+ */
940
+ 'originalTransactionId'?: string;
941
+ /**
942
+ *
943
+ * @type {TransactionTypeClearing}
944
+ * @memberof TransactionEventTransaction
945
+ */
946
+ 'transactionType'?: TransactionTypeClearing;
947
+ /**
948
+ * Amount approved at the current payment processing stage; the amount might be further reduced in the subsequent stages, when the Ledger performs additional validations. If any issuer transaction fee is applied (see the issuerTransactionFees field), the approvedAmount also includes those fees.
949
+ * @type {Money}
950
+ * @memberof TransactionEventTransaction
951
+ */
952
+ 'approvedAmount'?: Money;
953
+ /**
954
+ * Time when processed by Enfuce.
955
+ * @type {string}
956
+ * @memberof TransactionEventTransaction
957
+ */
958
+ 'processedDateTime'?: string;
959
+ /**
960
+ * Contains previous amounts in a Financial message that has been corrected, in transaction currency.
961
+ * @type {Money}
962
+ * @memberof TransactionEventTransaction
963
+ */
964
+ 'originalAmount'?: Money;
965
+ /**
966
+ * Identifies the clearing systems processing date expressed in the local time zone of the clearing system.
967
+ * @type {string}
968
+ * @memberof TransactionEventTransaction
969
+ */
970
+ 'reconciliationDate'?: string;
971
+ /**
972
+ * Identifies a reconciliation period in a reconciliation date.
973
+ * @type {string}
974
+ * @memberof TransactionEventTransaction
975
+ */
976
+ 'reconciliationCycle'?: string;
977
+ /**
978
+ *
979
+ * @type {InterchangeFee}
980
+ * @memberof TransactionEventTransaction
981
+ */
982
+ 'interchangeFee'?: InterchangeFee;
983
+ /**
984
+ *
985
+ * @type {ExchangeRates}
986
+ * @memberof TransactionEventTransaction
987
+ */
988
+ 'exchangeRates'?: ExchangeRates;
989
+ /**
990
+ *
991
+ * @type {ClearingStatus}
992
+ * @memberof TransactionEventTransaction
993
+ */
994
+ 'clearingStatus'?: ClearingStatus;
995
+ /**
996
+ * Indicates if transaction was cleared in a single operation.
997
+ * @type {boolean}
998
+ * @memberof TransactionEventTransaction
999
+ */
1000
+ 'partialClearingApplied'?: boolean;
1001
+ /**
1002
+ * Response to the authorisation. Indicates to the merchant if the authorisation was approved or declined. Supports alphanumeric codes (e.g., Visa N7).
1003
+ * @type {string}
1004
+ * @memberof TransactionEventTransaction
1005
+ */
1006
+ 'responseCode'?: string;
1007
+ }
1008
+ /**
1009
+ *
1010
+ * @export
1011
+ * @interface TransactionFee
1012
+ */
1013
+ export interface TransactionFee {
1014
+ /**
1015
+ * Type of Issuer generated transaction fee in cardholder billing currency. Transaction based fees that are additional fees charged on top of the transaction.
1016
+ * @type {string}
1017
+ * @memberof TransactionFee
1018
+ */
1019
+ 'type'?: TransactionFeeTypeEnum;
1020
+ /**
1021
+ * Transaction fee amount in cardholder billing currency.
1022
+ * @type {Money}
1023
+ * @memberof TransactionFee
1024
+ */
1025
+ 'amount'?: Money;
1026
+ }
1027
+ export declare const TransactionFeeTypeEnum: {
1028
+ readonly CashFee: "CASH_FEE";
1029
+ readonly AtmFee: "ATM_FEE";
1030
+ readonly MarkupFee: "MARKUP_FEE";
1031
+ };
1032
+ export type TransactionFeeTypeEnum = typeof TransactionFeeTypeEnum[keyof typeof TransactionFeeTypeEnum];
1033
+ /**
1034
+ * The transaction Type
1035
+ * @export
1036
+ * @enum {string}
1037
+ */
1038
+ export declare const TransactionType: {
1039
+ readonly Retail: "RETAIL";
1040
+ readonly Atm: "ATM";
1041
+ readonly Unique: "UNIQUE";
1042
+ readonly CashDisbursement: "CASH_DISBURSEMENT";
1043
+ readonly Credit: "CREDIT";
1044
+ readonly OriginalCredit: "ORIGINAL_CREDIT";
1045
+ readonly BalanceInquiry: "BALANCE_INQUIRY";
1046
+ readonly P2PDebit: "P2P_DEBIT";
1047
+ readonly P2PCredit: "P2P_CREDIT";
1048
+ readonly PinChange: "PIN_CHANGE";
1049
+ readonly PinUnblock: "PIN_UNBLOCK";
1050
+ readonly Cashback: "CASHBACK";
1051
+ readonly ConvenienceCheck: "CONVENIENCE_CHECK";
1052
+ readonly BalanceTransfer: "BALANCE_TRANSFER";
1053
+ readonly Reversal: "REVERSAL";
1054
+ readonly Aft: "AFT";
1055
+ };
1056
+ export type TransactionType = typeof TransactionType[keyof typeof TransactionType];
1057
+ /**
1058
+ * The transaction Type
1059
+ * @export
1060
+ * @enum {string}
1061
+ */
1062
+ export declare const TransactionTypeClearing: {
1063
+ readonly Retail: "RETAIL";
1064
+ readonly Atm: "ATM";
1065
+ readonly Unique: "UNIQUE";
1066
+ readonly CashDisbursement: "CASH_DISBURSEMENT";
1067
+ readonly Credit: "CREDIT";
1068
+ readonly OriginalCredit: "ORIGINAL_CREDIT";
1069
+ readonly BalanceInquiry: "BALANCE_INQUIRY";
1070
+ readonly P2PDebit: "P2P_DEBIT";
1071
+ readonly P2PCredit: "P2P_CREDIT";
1072
+ readonly PinChange: "PIN_CHANGE";
1073
+ readonly PinUnblock: "PIN_UNBLOCK";
1074
+ readonly FeeCollectionDebit: "FEE_COLLECTION_DEBIT";
1075
+ readonly FeeCollectionCredit: "FEE_COLLECTION_CREDIT";
1076
+ readonly Cashback: "CASHBACK";
1077
+ readonly ConvenienceCheck: "CONVENIENCE_CHECK";
1078
+ readonly BalanceTransfer: "BALANCE_TRANSFER";
1079
+ readonly Reversal: "REVERSAL";
1080
+ readonly Aft: "AFT";
1081
+ };
1082
+ export type TransactionTypeClearing = typeof TransactionTypeClearing[keyof typeof TransactionTypeClearing];