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