@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,771 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Enfuce Authorisation Request API
|
|
3
|
+
* Authorisation Request API gives the issuer/ledger the flexibility to create sophisticated rules for approving and declining transactions in real time.
|
|
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
|
+
import type { Configuration } from './configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import type { RequestArgs } from './base';
|
|
15
|
+
import { BaseAPI } from './base';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface Account
|
|
20
|
+
*/
|
|
21
|
+
export interface Account {
|
|
22
|
+
/**
|
|
23
|
+
* Available amount before this transaction has been processed.
|
|
24
|
+
* @type {Money}
|
|
25
|
+
* @memberof Account
|
|
26
|
+
*/
|
|
27
|
+
'availableAmount': Money;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @export
|
|
32
|
+
* @interface ApprovedTransaction
|
|
33
|
+
*/
|
|
34
|
+
export interface ApprovedTransaction {
|
|
35
|
+
/**
|
|
36
|
+
* 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.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof ApprovedTransaction
|
|
39
|
+
*/
|
|
40
|
+
'authCode'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Number of days the authorisation is valid (applicable when merchants requests for extended authorisation period, longer than the default 7 days).
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof ApprovedTransaction
|
|
45
|
+
*/
|
|
46
|
+
'authValidity'?: number;
|
|
47
|
+
/**
|
|
48
|
+
* 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.
|
|
49
|
+
* @type {Money}
|
|
50
|
+
* @memberof ApprovedTransaction
|
|
51
|
+
*/
|
|
52
|
+
'billingAmount'?: Money;
|
|
53
|
+
/**
|
|
54
|
+
* The transaction amount in the local currency of the acquirer or the merchant, where the transaction occurred.
|
|
55
|
+
* @type {Money}
|
|
56
|
+
* @memberof ApprovedTransaction
|
|
57
|
+
*/
|
|
58
|
+
'transactionAmount'?: Money;
|
|
59
|
+
/**
|
|
60
|
+
* The amount of funds transferred between the acquirer and the issuer, equal to the `transactionAmount`, in the settlement currency.
|
|
61
|
+
* @type {Money}
|
|
62
|
+
* @memberof ApprovedTransaction
|
|
63
|
+
*/
|
|
64
|
+
'settlementAmount'?: Money;
|
|
65
|
+
/**
|
|
66
|
+
* Fee charged (for example, by the acquirer) for transaction activity.
|
|
67
|
+
* @type {Money}
|
|
68
|
+
* @memberof ApprovedTransaction
|
|
69
|
+
*/
|
|
70
|
+
'acquirerTransactionFeeAmount'?: Money;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {Array<TransactionFee>}
|
|
74
|
+
* @memberof ApprovedTransaction
|
|
75
|
+
*/
|
|
76
|
+
'issuerTransactionFees'?: Array<TransactionFee>;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {Array<CardholderVerificationMethod>}
|
|
80
|
+
* @memberof ApprovedTransaction
|
|
81
|
+
*/
|
|
82
|
+
'cardholderVerificationMethods'?: Array<CardholderVerificationMethod>;
|
|
83
|
+
/**
|
|
84
|
+
* Merchant/acquirer generated transaction reference number.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof ApprovedTransaction
|
|
87
|
+
*/
|
|
88
|
+
'retrievalReferenceNumber'?: string;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {CardEntryMode}
|
|
92
|
+
* @memberof ApprovedTransaction
|
|
93
|
+
*/
|
|
94
|
+
'cardEntryMode'?: CardEntryMode;
|
|
95
|
+
/**
|
|
96
|
+
* Indicates whether the cardholder is physically present during transaction.
|
|
97
|
+
* @type {boolean}
|
|
98
|
+
* @memberof ApprovedTransaction
|
|
99
|
+
*/
|
|
100
|
+
'cardholderPresent'?: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* Indicates whether the card is present at the point of service.
|
|
103
|
+
* @type {boolean}
|
|
104
|
+
* @memberof ApprovedTransaction
|
|
105
|
+
*/
|
|
106
|
+
'cardPresent'?: boolean;
|
|
107
|
+
/**
|
|
108
|
+
* Indicates whether the transaction is a recurring payment or merchant initiated. This implies whether the cardholder has approved the merchant initiated transaction.
|
|
109
|
+
* @type {boolean}
|
|
110
|
+
* @memberof ApprovedTransaction
|
|
111
|
+
*/
|
|
112
|
+
'merchantInitiated'?: boolean;
|
|
113
|
+
/**
|
|
114
|
+
* Date and time in the time zone where the transaction occurred.
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof ApprovedTransaction
|
|
117
|
+
*/
|
|
118
|
+
'transactionDateTime'?: string;
|
|
119
|
+
/**
|
|
120
|
+
* This value is present only for recurring transaction, and it\'s value is first original authorisation request in the chain.
|
|
121
|
+
* @type {string}
|
|
122
|
+
* @memberof ApprovedTransaction
|
|
123
|
+
*/
|
|
124
|
+
'originalTransactionId'?: string;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @type {TransactionType}
|
|
128
|
+
* @memberof ApprovedTransaction
|
|
129
|
+
*/
|
|
130
|
+
'transactionType'?: TransactionType;
|
|
131
|
+
/**
|
|
132
|
+
* 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.
|
|
133
|
+
* @type {Money}
|
|
134
|
+
* @memberof ApprovedTransaction
|
|
135
|
+
*/
|
|
136
|
+
'approvedAmount'?: Money;
|
|
137
|
+
/**
|
|
138
|
+
* Time when processed by Enfuce.
|
|
139
|
+
* @type {string}
|
|
140
|
+
* @memberof ApprovedTransaction
|
|
141
|
+
*/
|
|
142
|
+
'processedDateTime'?: string;
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
*
|
|
146
|
+
* @export
|
|
147
|
+
* @interface AuthRequestBody
|
|
148
|
+
*/
|
|
149
|
+
export interface AuthRequestBody {
|
|
150
|
+
/**
|
|
151
|
+
* Unique system generated ID assigned to each event in the payment processing workflow. For example, an ID assigned to the initial authorisation event.
|
|
152
|
+
* @type {string}
|
|
153
|
+
* @memberof AuthRequestBody
|
|
154
|
+
*/
|
|
155
|
+
'id'?: string;
|
|
156
|
+
/**
|
|
157
|
+
* 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`.
|
|
158
|
+
* @type {string}
|
|
159
|
+
* @memberof AuthRequestBody
|
|
160
|
+
*/
|
|
161
|
+
'transactionId'?: string;
|
|
162
|
+
/**
|
|
163
|
+
*
|
|
164
|
+
* @type {MessageCategoryAuthorization}
|
|
165
|
+
* @memberof AuthRequestBody
|
|
166
|
+
*/
|
|
167
|
+
'messageCategory'?: MessageCategoryAuthorization;
|
|
168
|
+
/**
|
|
169
|
+
*
|
|
170
|
+
* @type {MessageFunctionAuthorization}
|
|
171
|
+
* @memberof AuthRequestBody
|
|
172
|
+
*/
|
|
173
|
+
'messageFunction'?: MessageFunctionAuthorization;
|
|
174
|
+
/**
|
|
175
|
+
*
|
|
176
|
+
* @type {Token}
|
|
177
|
+
* @memberof AuthRequestBody
|
|
178
|
+
*/
|
|
179
|
+
'token'?: Token;
|
|
180
|
+
/**
|
|
181
|
+
*
|
|
182
|
+
* @type {Card}
|
|
183
|
+
* @memberof AuthRequestBody
|
|
184
|
+
*/
|
|
185
|
+
'card': Card;
|
|
186
|
+
/**
|
|
187
|
+
*
|
|
188
|
+
* @type {Merchant}
|
|
189
|
+
* @memberof AuthRequestBody
|
|
190
|
+
*/
|
|
191
|
+
'merchant': Merchant;
|
|
192
|
+
/**
|
|
193
|
+
*
|
|
194
|
+
* @type {ApprovedTransaction}
|
|
195
|
+
* @memberof AuthRequestBody
|
|
196
|
+
*/
|
|
197
|
+
'transaction': ApprovedTransaction;
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
*
|
|
201
|
+
* @export
|
|
202
|
+
* @interface AuthResponseBody
|
|
203
|
+
*/
|
|
204
|
+
export interface AuthResponseBody {
|
|
205
|
+
/**
|
|
206
|
+
*
|
|
207
|
+
* @type {AuthResponseCode}
|
|
208
|
+
* @memberof AuthResponseBody
|
|
209
|
+
*/
|
|
210
|
+
'authResponseCode': AuthResponseCode;
|
|
211
|
+
/**
|
|
212
|
+
*
|
|
213
|
+
* @type {Account}
|
|
214
|
+
* @memberof AuthResponseBody
|
|
215
|
+
*/
|
|
216
|
+
'account'?: Account;
|
|
217
|
+
/**
|
|
218
|
+
* Return when there is a partial approval. When the balance is less than the transaction amount, return the available amount that you authorise. Return this attribute only when in the request `merchant.partialApprovalCapable` is true (i.e. the merchant approves that a smaller amount than the full transaction amount is authorised), and `authResponseCode` should be `PARTIALLY_APPROVED`.
|
|
219
|
+
* @type {Money}
|
|
220
|
+
* @memberof AuthResponseBody
|
|
221
|
+
*/
|
|
222
|
+
'partialApprovalAmount'?: Money;
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* Indicates whether the authorisation request is approved or declined. Possible enums: * `APPROVED` - Approved * `PARTIALLY_APPROVED` - Approved for partial amount * `DO_NOT_HONOR` - Do not honor (**Note**: Card schemes recommend to use this only when other options do not apply) * `NOT_SUFFICIENT_FUNDS` - Inadequate funds * `NOT_PERMITTED` - Transaction not permitted to cardholder * `EXCEEDS_AMOUNT_LIMIT` - Exceeds approval amount limit * `RESTRICTED_CARD` - Restricted card (card invalid in region or country) * `EXCEEDS_WITHDRAWAL_FREQUENCY_LIMIT` - Exceeds withdrawal frequency limit * `SYSTEM_ERROR` - System malfunction
|
|
226
|
+
* @export
|
|
227
|
+
* @enum {string}
|
|
228
|
+
*/
|
|
229
|
+
export declare const AuthResponseCode: {
|
|
230
|
+
readonly Approved: "APPROVED";
|
|
231
|
+
readonly PartiallyApproved: "PARTIALLY_APPROVED";
|
|
232
|
+
readonly DoNotHonor: "DO_NOT_HONOR";
|
|
233
|
+
readonly NotSufficientFunds: "NOT_SUFFICIENT_FUNDS";
|
|
234
|
+
readonly NotPermitted: "NOT_PERMITTED";
|
|
235
|
+
readonly ExceedsAmountLimit: "EXCEEDS_AMOUNT_LIMIT";
|
|
236
|
+
readonly RestrictedCard: "RESTRICTED_CARD";
|
|
237
|
+
readonly ExceedsWithdrawalFrequencyLimit: "EXCEEDS_WITHDRAWAL_FREQUENCY_LIMIT";
|
|
238
|
+
readonly SystemError: "SYSTEM_ERROR";
|
|
239
|
+
};
|
|
240
|
+
export type AuthResponseCode = typeof AuthResponseCode[keyof typeof AuthResponseCode];
|
|
241
|
+
/**
|
|
242
|
+
*
|
|
243
|
+
* @export
|
|
244
|
+
* @interface AuthorizationMetadata
|
|
245
|
+
*/
|
|
246
|
+
export interface AuthorizationMetadata {
|
|
247
|
+
/**
|
|
248
|
+
* Unique system generated ID assigned to each event in the payment processing workflow. For example, an ID assigned to the initial authorisation event.
|
|
249
|
+
* @type {string}
|
|
250
|
+
* @memberof AuthorizationMetadata
|
|
251
|
+
*/
|
|
252
|
+
'id'?: string;
|
|
253
|
+
/**
|
|
254
|
+
* 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`.
|
|
255
|
+
* @type {string}
|
|
256
|
+
* @memberof AuthorizationMetadata
|
|
257
|
+
*/
|
|
258
|
+
'transactionId'?: string;
|
|
259
|
+
/**
|
|
260
|
+
*
|
|
261
|
+
* @type {MessageCategoryAuthorization}
|
|
262
|
+
* @memberof AuthorizationMetadata
|
|
263
|
+
*/
|
|
264
|
+
'messageCategory'?: MessageCategoryAuthorization;
|
|
265
|
+
/**
|
|
266
|
+
*
|
|
267
|
+
* @type {MessageFunctionAuthorization}
|
|
268
|
+
* @memberof AuthorizationMetadata
|
|
269
|
+
*/
|
|
270
|
+
'messageFunction'?: MessageFunctionAuthorization;
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* Information about the card used for the payment.
|
|
274
|
+
* @export
|
|
275
|
+
* @interface Card
|
|
276
|
+
*/
|
|
277
|
+
export interface Card {
|
|
278
|
+
/**
|
|
279
|
+
* Enfuce generated unique ID assigned to each card used — enables you to identify the card that you must authorise.
|
|
280
|
+
* @type {string}
|
|
281
|
+
* @memberof Card
|
|
282
|
+
*/
|
|
283
|
+
'id'?: string;
|
|
284
|
+
/**
|
|
285
|
+
* Card expiration date as received in the scheme message.
|
|
286
|
+
* @type {Expiration}
|
|
287
|
+
* @memberof Card
|
|
288
|
+
*/
|
|
289
|
+
'expirationDate'?: Expiration;
|
|
290
|
+
/**
|
|
291
|
+
* Card sequence number as received in the scheme message.
|
|
292
|
+
* @type {number}
|
|
293
|
+
* @memberof Card
|
|
294
|
+
*/
|
|
295
|
+
'sequenceNumber'?: number;
|
|
296
|
+
/**
|
|
297
|
+
* Ledger provided account ID associated with the card.
|
|
298
|
+
* @type {string}
|
|
299
|
+
* @memberof Card
|
|
300
|
+
*/
|
|
301
|
+
'accountId'?: string;
|
|
302
|
+
/**
|
|
303
|
+
* Unique ID of the cardholder associated with the card.
|
|
304
|
+
* @type {string}
|
|
305
|
+
* @memberof Card
|
|
306
|
+
*/
|
|
307
|
+
'cardholderId'?: string;
|
|
308
|
+
/**
|
|
309
|
+
* Information about any parent card group associated with the card.
|
|
310
|
+
* @type {Array<CardGroupsInner>}
|
|
311
|
+
* @memberof Card
|
|
312
|
+
*/
|
|
313
|
+
'groups'?: Array<CardGroupsInner>;
|
|
314
|
+
/**
|
|
315
|
+
* The type of card application used for the transaction.
|
|
316
|
+
* @type {string}
|
|
317
|
+
* @memberof Card
|
|
318
|
+
*/
|
|
319
|
+
'applicationSelection'?: CardApplicationSelectionEnum;
|
|
320
|
+
}
|
|
321
|
+
export declare const CardApplicationSelectionEnum: {
|
|
322
|
+
readonly Debit: "DEBIT";
|
|
323
|
+
readonly Credit: "CREDIT";
|
|
324
|
+
};
|
|
325
|
+
export type CardApplicationSelectionEnum = typeof CardApplicationSelectionEnum[keyof typeof CardApplicationSelectionEnum];
|
|
326
|
+
/**
|
|
327
|
+
* Describes how the card credentials were captured.
|
|
328
|
+
* @export
|
|
329
|
+
* @enum {string}
|
|
330
|
+
*/
|
|
331
|
+
export declare const CardEntryMode: {
|
|
332
|
+
readonly Chip: "CHIP";
|
|
333
|
+
readonly ChipContactless: "CHIP_CONTACTLESS";
|
|
334
|
+
readonly MagneticStripe: "MAGNETIC_STRIPE";
|
|
335
|
+
readonly ManualEntry: "MANUAL_ENTRY";
|
|
336
|
+
readonly WalletContactless: "WALLET_CONTACTLESS";
|
|
337
|
+
readonly Ecommerce: "ECOMMERCE";
|
|
338
|
+
readonly WalletEcommerce: "WALLET_ECOMMERCE";
|
|
339
|
+
readonly CredentialsOnFile: "CREDENTIALS_ON_FILE";
|
|
340
|
+
readonly Unknown: "UNKNOWN";
|
|
341
|
+
};
|
|
342
|
+
export type CardEntryMode = typeof CardEntryMode[keyof typeof CardEntryMode];
|
|
343
|
+
/**
|
|
344
|
+
*
|
|
345
|
+
* @export
|
|
346
|
+
* @interface CardGroupsInner
|
|
347
|
+
*/
|
|
348
|
+
export interface CardGroupsInner {
|
|
349
|
+
/**
|
|
350
|
+
* Unique ID assigned to the parent card group.
|
|
351
|
+
* @type {string}
|
|
352
|
+
* @memberof CardGroupsInner
|
|
353
|
+
*/
|
|
354
|
+
'groupId': string;
|
|
355
|
+
}
|
|
356
|
+
/**
|
|
357
|
+
* 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.
|
|
358
|
+
* @export
|
|
359
|
+
* @enum {string}
|
|
360
|
+
*/
|
|
361
|
+
export declare const CardholderVerificationMethod: {
|
|
362
|
+
readonly PinVerifiedByCard: "PIN_VERIFIED_BY_CARD";
|
|
363
|
+
readonly PinVerifiedByIssuer: "PIN_VERIFIED_BY_ISSUER";
|
|
364
|
+
readonly Wallet: "WALLET";
|
|
365
|
+
readonly ThreeDs: "THREE_DS";
|
|
366
|
+
readonly Biometric: "BIOMETRIC";
|
|
367
|
+
readonly Signature: "SIGNATURE";
|
|
368
|
+
readonly NoVerification: "NO_VERIFICATION";
|
|
369
|
+
};
|
|
370
|
+
export type CardholderVerificationMethod = typeof CardholderVerificationMethod[keyof typeof CardholderVerificationMethod];
|
|
371
|
+
/**
|
|
372
|
+
*
|
|
373
|
+
* @export
|
|
374
|
+
* @interface Expiration
|
|
375
|
+
*/
|
|
376
|
+
export interface Expiration {
|
|
377
|
+
/**
|
|
378
|
+
* Expiration year in YYYY format.
|
|
379
|
+
* @type {number}
|
|
380
|
+
* @memberof Expiration
|
|
381
|
+
*/
|
|
382
|
+
'year': number;
|
|
383
|
+
/**
|
|
384
|
+
* Expiration month in MM format.
|
|
385
|
+
* @type {number}
|
|
386
|
+
* @memberof Expiration
|
|
387
|
+
*/
|
|
388
|
+
'month': number;
|
|
389
|
+
}
|
|
390
|
+
/**
|
|
391
|
+
*
|
|
392
|
+
* @export
|
|
393
|
+
* @interface Merchant
|
|
394
|
+
*/
|
|
395
|
+
export interface Merchant {
|
|
396
|
+
/**
|
|
397
|
+
* ID assigned code each card acceptor, i.e. a merchant or a bank.
|
|
398
|
+
* @type {string}
|
|
399
|
+
* @memberof Merchant
|
|
400
|
+
*/
|
|
401
|
+
'id'?: string;
|
|
402
|
+
/**
|
|
403
|
+
* Merchant name as received from the card scheme. For ATMs, this can be a street address or a bank branch number.
|
|
404
|
+
* @type {string}
|
|
405
|
+
* @memberof Merchant
|
|
406
|
+
*/
|
|
407
|
+
'name'?: string;
|
|
408
|
+
/**
|
|
409
|
+
* The city where the transaction/withdrawal has occurred or where the merchant is registered.
|
|
410
|
+
* @type {string}
|
|
411
|
+
* @memberof Merchant
|
|
412
|
+
*/
|
|
413
|
+
'city'?: string;
|
|
414
|
+
/**
|
|
415
|
+
* The country where the transaction/withdrawal has occurred or where the merchant is registered.
|
|
416
|
+
* @type {string}
|
|
417
|
+
* @memberof Merchant
|
|
418
|
+
*/
|
|
419
|
+
'country'?: string;
|
|
420
|
+
/**
|
|
421
|
+
* The merchant\'s postal code.
|
|
422
|
+
* @type {string}
|
|
423
|
+
* @memberof Merchant
|
|
424
|
+
*/
|
|
425
|
+
'zipCode'?: string;
|
|
426
|
+
/**
|
|
427
|
+
* Contains the merchant\'s street address.
|
|
428
|
+
* @type {string}
|
|
429
|
+
* @memberof Merchant
|
|
430
|
+
*/
|
|
431
|
+
'address'?: string;
|
|
432
|
+
/**
|
|
433
|
+
*
|
|
434
|
+
* @type {MerchantCategory}
|
|
435
|
+
* @memberof Merchant
|
|
436
|
+
*/
|
|
437
|
+
'category'?: MerchantCategory;
|
|
438
|
+
/**
|
|
439
|
+
* Uniquely ID assigned to each terminal used by the merchant.
|
|
440
|
+
* @type {string}
|
|
441
|
+
* @memberof Merchant
|
|
442
|
+
*/
|
|
443
|
+
'terminalId'?: string;
|
|
444
|
+
/**
|
|
445
|
+
* The sub-merchant ID is used when merchant ID is not adequate to identify the merchant. Used when a merchant uses a payment facilitator.
|
|
446
|
+
* @type {string}
|
|
447
|
+
* @memberof Merchant
|
|
448
|
+
*/
|
|
449
|
+
'subMerchantId'?: string;
|
|
450
|
+
/**
|
|
451
|
+
* 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.
|
|
452
|
+
* @type {boolean}
|
|
453
|
+
* @memberof Merchant
|
|
454
|
+
*/
|
|
455
|
+
'partialApprovalCapable'?: boolean;
|
|
456
|
+
/**
|
|
457
|
+
* Unique ID assigned to the financial institution acting as the merchant\'s acquirer.
|
|
458
|
+
* @type {string}
|
|
459
|
+
* @memberof Merchant
|
|
460
|
+
*/
|
|
461
|
+
'acquirerId'?: string;
|
|
462
|
+
/**
|
|
463
|
+
* The country of the merchant\'s acquirer — mention the ISO-3166-1 alpha-3 country code.
|
|
464
|
+
* @type {string}
|
|
465
|
+
* @memberof Merchant
|
|
466
|
+
*/
|
|
467
|
+
'acquirerCountry'?: string;
|
|
468
|
+
/**
|
|
469
|
+
* Data an acquirer supplies in an acquirer-originated message, might be required for the issuer to return to the acquirer in a subsequent message.
|
|
470
|
+
* @type {string}
|
|
471
|
+
* @memberof Merchant
|
|
472
|
+
*/
|
|
473
|
+
'acquirerReferenceData'?: string;
|
|
474
|
+
}
|
|
475
|
+
/**
|
|
476
|
+
*
|
|
477
|
+
* @export
|
|
478
|
+
* @interface MerchantCategory
|
|
479
|
+
*/
|
|
480
|
+
export interface MerchantCategory {
|
|
481
|
+
/**
|
|
482
|
+
* Merchant category code as per the card scheme classification. Categorisation is done based on the type of business or service the merchant provides.
|
|
483
|
+
* @type {string}
|
|
484
|
+
* @memberof MerchantCategory
|
|
485
|
+
*/
|
|
486
|
+
'code'?: string;
|
|
487
|
+
/**
|
|
488
|
+
* Description of the Merchant Category Code (MCC).
|
|
489
|
+
* @type {string}
|
|
490
|
+
* @memberof MerchantCategory
|
|
491
|
+
*/
|
|
492
|
+
'description'?: string;
|
|
493
|
+
/**
|
|
494
|
+
* Merchant Category Code (MCC) group as received from the scheme.
|
|
495
|
+
* @type {string}
|
|
496
|
+
* @memberof MerchantCategory
|
|
497
|
+
*/
|
|
498
|
+
'group'?: string;
|
|
499
|
+
}
|
|
500
|
+
/**
|
|
501
|
+
* Message category sent in the authorisation control webhook. Possible enums: - INITIAL_AUTHORIZATION: Initial authorisation of the card payment. - INCREMENTAL_AUTHORIZATION: Additional authorisation for 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.
|
|
502
|
+
* @export
|
|
503
|
+
* @enum {string}
|
|
504
|
+
*/
|
|
505
|
+
export declare const MessageCategoryAuthorization: {
|
|
506
|
+
readonly InitialAuthorization: "INITIAL_AUTHORIZATION";
|
|
507
|
+
readonly IncrementalAuthorization: "INCREMENTAL_AUTHORIZATION";
|
|
508
|
+
readonly BalanceInquiry: "BALANCE_INQUIRY";
|
|
509
|
+
readonly PinManagement: "PIN_MANAGEMENT";
|
|
510
|
+
};
|
|
511
|
+
export type MessageCategoryAuthorization = typeof MessageCategoryAuthorization[keyof typeof MessageCategoryAuthorization];
|
|
512
|
+
/**
|
|
513
|
+
* Identifies the message function of the authorisation request.
|
|
514
|
+
* @export
|
|
515
|
+
* @enum {string}
|
|
516
|
+
*/
|
|
517
|
+
export declare const MessageFunctionAuthorization: {
|
|
518
|
+
readonly Request: "REQUEST";
|
|
519
|
+
};
|
|
520
|
+
export type MessageFunctionAuthorization = typeof MessageFunctionAuthorization[keyof typeof MessageFunctionAuthorization];
|
|
521
|
+
/**
|
|
522
|
+
* Amount including currency.
|
|
523
|
+
* @export
|
|
524
|
+
* @interface Money
|
|
525
|
+
*/
|
|
526
|
+
export interface Money {
|
|
527
|
+
/**
|
|
528
|
+
*
|
|
529
|
+
* @type {number}
|
|
530
|
+
* @memberof Money
|
|
531
|
+
*/
|
|
532
|
+
'amount': number;
|
|
533
|
+
/**
|
|
534
|
+
* A valid ISO 4217 currency code
|
|
535
|
+
* @type {string}
|
|
536
|
+
* @memberof Money
|
|
537
|
+
*/
|
|
538
|
+
'currency': string;
|
|
539
|
+
}
|
|
540
|
+
/**
|
|
541
|
+
* Information about the token associated with the card.
|
|
542
|
+
* @export
|
|
543
|
+
* @interface Token
|
|
544
|
+
*/
|
|
545
|
+
export interface Token {
|
|
546
|
+
/**
|
|
547
|
+
*
|
|
548
|
+
* @type {string}
|
|
549
|
+
* @memberof Token
|
|
550
|
+
*/
|
|
551
|
+
'id'?: string;
|
|
552
|
+
/**
|
|
553
|
+
* Identifies the specific digital wallet.
|
|
554
|
+
* @type {string}
|
|
555
|
+
* @memberof Token
|
|
556
|
+
*/
|
|
557
|
+
'walletIdentifier'?: TokenWalletIdentifierEnum;
|
|
558
|
+
}
|
|
559
|
+
export declare const TokenWalletIdentifierEnum: {
|
|
560
|
+
readonly Masterpass: "MASTERPASS";
|
|
561
|
+
readonly ApplePay: "APPLE_PAY";
|
|
562
|
+
readonly GooglePay: "GOOGLE_PAY";
|
|
563
|
+
readonly SamsungPay: "SAMSUNG_PAY";
|
|
564
|
+
readonly RemoteCommercePrograms: "REMOTE_COMMERCE_PROGRAMS";
|
|
565
|
+
};
|
|
566
|
+
export type TokenWalletIdentifierEnum = typeof TokenWalletIdentifierEnum[keyof typeof TokenWalletIdentifierEnum];
|
|
567
|
+
/**
|
|
568
|
+
*
|
|
569
|
+
* @export
|
|
570
|
+
* @interface Transaction
|
|
571
|
+
*/
|
|
572
|
+
export interface Transaction {
|
|
573
|
+
/**
|
|
574
|
+
* 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.
|
|
575
|
+
* @type {string}
|
|
576
|
+
* @memberof Transaction
|
|
577
|
+
*/
|
|
578
|
+
'authCode'?: string;
|
|
579
|
+
/**
|
|
580
|
+
* Number of days the authorisation is valid (applicable when merchants requests for extended authorisation period, longer than the default 7 days).
|
|
581
|
+
* @type {number}
|
|
582
|
+
* @memberof Transaction
|
|
583
|
+
*/
|
|
584
|
+
'authValidity'?: number;
|
|
585
|
+
/**
|
|
586
|
+
* 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.
|
|
587
|
+
* @type {Money}
|
|
588
|
+
* @memberof Transaction
|
|
589
|
+
*/
|
|
590
|
+
'billingAmount'?: Money;
|
|
591
|
+
/**
|
|
592
|
+
* The transaction amount in the local currency of the acquirer or the merchant, where the transaction occurred.
|
|
593
|
+
* @type {Money}
|
|
594
|
+
* @memberof Transaction
|
|
595
|
+
*/
|
|
596
|
+
'transactionAmount'?: Money;
|
|
597
|
+
/**
|
|
598
|
+
* The amount of funds transferred between the acquirer and the issuer, equal to the `transactionAmount`, in the settlement currency.
|
|
599
|
+
* @type {Money}
|
|
600
|
+
* @memberof Transaction
|
|
601
|
+
*/
|
|
602
|
+
'settlementAmount'?: Money;
|
|
603
|
+
/**
|
|
604
|
+
* Fee charged (for example, by the acquirer) for transaction activity.
|
|
605
|
+
* @type {Money}
|
|
606
|
+
* @memberof Transaction
|
|
607
|
+
*/
|
|
608
|
+
'acquirerTransactionFeeAmount'?: Money;
|
|
609
|
+
/**
|
|
610
|
+
*
|
|
611
|
+
* @type {Array<TransactionFee>}
|
|
612
|
+
* @memberof Transaction
|
|
613
|
+
*/
|
|
614
|
+
'issuerTransactionFees'?: Array<TransactionFee>;
|
|
615
|
+
/**
|
|
616
|
+
*
|
|
617
|
+
* @type {Array<CardholderVerificationMethod>}
|
|
618
|
+
* @memberof Transaction
|
|
619
|
+
*/
|
|
620
|
+
'cardholderVerificationMethods'?: Array<CardholderVerificationMethod>;
|
|
621
|
+
/**
|
|
622
|
+
* Merchant/acquirer generated transaction reference number.
|
|
623
|
+
* @type {string}
|
|
624
|
+
* @memberof Transaction
|
|
625
|
+
*/
|
|
626
|
+
'retrievalReferenceNumber'?: string;
|
|
627
|
+
/**
|
|
628
|
+
*
|
|
629
|
+
* @type {CardEntryMode}
|
|
630
|
+
* @memberof Transaction
|
|
631
|
+
*/
|
|
632
|
+
'cardEntryMode'?: CardEntryMode;
|
|
633
|
+
/**
|
|
634
|
+
* Indicates whether the cardholder is physically present during transaction.
|
|
635
|
+
* @type {boolean}
|
|
636
|
+
* @memberof Transaction
|
|
637
|
+
*/
|
|
638
|
+
'cardholderPresent'?: boolean;
|
|
639
|
+
/**
|
|
640
|
+
* Indicates whether the card is present at the point of service.
|
|
641
|
+
* @type {boolean}
|
|
642
|
+
* @memberof Transaction
|
|
643
|
+
*/
|
|
644
|
+
'cardPresent'?: boolean;
|
|
645
|
+
/**
|
|
646
|
+
* Indicates whether the transaction is a recurring payment or merchant initiated. This implies whether the cardholder has approved the merchant initiated transaction.
|
|
647
|
+
* @type {boolean}
|
|
648
|
+
* @memberof Transaction
|
|
649
|
+
*/
|
|
650
|
+
'merchantInitiated'?: boolean;
|
|
651
|
+
/**
|
|
652
|
+
* Date and time in the time zone where the transaction occurred.
|
|
653
|
+
* @type {string}
|
|
654
|
+
* @memberof Transaction
|
|
655
|
+
*/
|
|
656
|
+
'transactionDateTime'?: string;
|
|
657
|
+
/**
|
|
658
|
+
* This value is present only for recurring transaction, and it\'s value is first original authorisation request in the chain.
|
|
659
|
+
* @type {string}
|
|
660
|
+
* @memberof Transaction
|
|
661
|
+
*/
|
|
662
|
+
'originalTransactionId'?: string;
|
|
663
|
+
}
|
|
664
|
+
/**
|
|
665
|
+
*
|
|
666
|
+
* @export
|
|
667
|
+
* @interface TransactionFee
|
|
668
|
+
*/
|
|
669
|
+
export interface TransactionFee {
|
|
670
|
+
/**
|
|
671
|
+
* Type of Issuer generated transaction fee in cardholder billing currency. Transaction based fees that are additional fees charged on top of the transaction.
|
|
672
|
+
* @type {string}
|
|
673
|
+
* @memberof TransactionFee
|
|
674
|
+
*/
|
|
675
|
+
'type'?: TransactionFeeTypeEnum;
|
|
676
|
+
/**
|
|
677
|
+
* Transaction fee amount in cardholder billing currency.
|
|
678
|
+
* @type {Money}
|
|
679
|
+
* @memberof TransactionFee
|
|
680
|
+
*/
|
|
681
|
+
'amount'?: Money;
|
|
682
|
+
}
|
|
683
|
+
export declare const TransactionFeeTypeEnum: {
|
|
684
|
+
readonly CashFee: "CASH_FEE";
|
|
685
|
+
readonly AtmFee: "ATM_FEE";
|
|
686
|
+
readonly MarkupFee: "MARKUP_FEE";
|
|
687
|
+
};
|
|
688
|
+
export type TransactionFeeTypeEnum = typeof TransactionFeeTypeEnum[keyof typeof TransactionFeeTypeEnum];
|
|
689
|
+
/**
|
|
690
|
+
* The transaction Type
|
|
691
|
+
* @export
|
|
692
|
+
* @enum {string}
|
|
693
|
+
*/
|
|
694
|
+
export declare const TransactionType: {
|
|
695
|
+
readonly Retail: "RETAIL";
|
|
696
|
+
readonly Atm: "ATM";
|
|
697
|
+
readonly Unique: "UNIQUE";
|
|
698
|
+
readonly CashDisbursement: "CASH_DISBURSEMENT";
|
|
699
|
+
readonly Credit: "CREDIT";
|
|
700
|
+
readonly OriginalCredit: "ORIGINAL_CREDIT";
|
|
701
|
+
readonly BalanceInquiry: "BALANCE_INQUIRY";
|
|
702
|
+
readonly P2PDebit: "P2P_DEBIT";
|
|
703
|
+
readonly P2PCredit: "P2P_CREDIT";
|
|
704
|
+
readonly PinChange: "PIN_CHANGE";
|
|
705
|
+
readonly PinUnblock: "PIN_UNBLOCK";
|
|
706
|
+
readonly Cashback: "CASHBACK";
|
|
707
|
+
readonly ConvenienceCheck: "CONVENIENCE_CHECK";
|
|
708
|
+
readonly BalanceTransfer: "BALANCE_TRANSFER";
|
|
709
|
+
readonly Reversal: "REVERSAL";
|
|
710
|
+
readonly Aft: "AFT";
|
|
711
|
+
};
|
|
712
|
+
export type TransactionType = typeof TransactionType[keyof typeof TransactionType];
|
|
713
|
+
/**
|
|
714
|
+
* AuthorisationRequestAPIApi - axios parameter creator
|
|
715
|
+
* @export
|
|
716
|
+
*/
|
|
717
|
+
export declare const AuthorisationRequestAPIApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
718
|
+
/**
|
|
719
|
+
* Enfuce sends an authorisation request to the issuer/ledger, when it expects an authorisation decision from the recipient.
|
|
720
|
+
* @summary Authorisation Request API
|
|
721
|
+
* @param {AuthRequestBody} authRequestBody
|
|
722
|
+
* @param {*} [options] Override http request option.
|
|
723
|
+
* @throws {RequiredError}
|
|
724
|
+
*/
|
|
725
|
+
authPost: (authRequestBody: AuthRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
726
|
+
};
|
|
727
|
+
/**
|
|
728
|
+
* AuthorisationRequestAPIApi - functional programming interface
|
|
729
|
+
* @export
|
|
730
|
+
*/
|
|
731
|
+
export declare const AuthorisationRequestAPIApiFp: (configuration?: Configuration) => {
|
|
732
|
+
/**
|
|
733
|
+
* Enfuce sends an authorisation request to the issuer/ledger, when it expects an authorisation decision from the recipient.
|
|
734
|
+
* @summary Authorisation Request API
|
|
735
|
+
* @param {AuthRequestBody} authRequestBody
|
|
736
|
+
* @param {*} [options] Override http request option.
|
|
737
|
+
* @throws {RequiredError}
|
|
738
|
+
*/
|
|
739
|
+
authPost(authRequestBody: AuthRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthResponseBody>>;
|
|
740
|
+
};
|
|
741
|
+
/**
|
|
742
|
+
* AuthorisationRequestAPIApi - factory interface
|
|
743
|
+
* @export
|
|
744
|
+
*/
|
|
745
|
+
export declare const AuthorisationRequestAPIApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
746
|
+
/**
|
|
747
|
+
* Enfuce sends an authorisation request to the issuer/ledger, when it expects an authorisation decision from the recipient.
|
|
748
|
+
* @summary Authorisation Request API
|
|
749
|
+
* @param {AuthRequestBody} authRequestBody
|
|
750
|
+
* @param {*} [options] Override http request option.
|
|
751
|
+
* @throws {RequiredError}
|
|
752
|
+
*/
|
|
753
|
+
authPost(authRequestBody: AuthRequestBody, options?: RawAxiosRequestConfig): AxiosPromise<AuthResponseBody>;
|
|
754
|
+
};
|
|
755
|
+
/**
|
|
756
|
+
* AuthorisationRequestAPIApi - object-oriented interface
|
|
757
|
+
* @export
|
|
758
|
+
* @class AuthorisationRequestAPIApi
|
|
759
|
+
* @extends {BaseAPI}
|
|
760
|
+
*/
|
|
761
|
+
export declare class AuthorisationRequestAPIApi extends BaseAPI {
|
|
762
|
+
/**
|
|
763
|
+
* Enfuce sends an authorisation request to the issuer/ledger, when it expects an authorisation decision from the recipient.
|
|
764
|
+
* @summary Authorisation Request API
|
|
765
|
+
* @param {AuthRequestBody} authRequestBody
|
|
766
|
+
* @param {*} [options] Override http request option.
|
|
767
|
+
* @throws {RequiredError}
|
|
768
|
+
* @memberof AuthorisationRequestAPIApi
|
|
769
|
+
*/
|
|
770
|
+
authPost(authRequestBody: AuthRequestBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthResponseBody, any, {}>>;
|
|
771
|
+
}
|