/
account_characteristics_check.ts
180 lines (174 loc) · 4.05 KB
/
account_characteristics_check.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
/**
* XS2A.account_characteristics_check allows you to retrieve many possible information about the account, like chargebacks, encashment, loans and other. Simply append an empty object to the XS2A.risk object to indicate you would like this check to be performed.
* @export
* @interface Xs2aAccountCharacteristicsCheckRequest
*/
export interface Xs2aAccountCharacteristicsCheckRequest {}
/**
*
* @export
* @interface Xs2aAccountCharacteristicsCheckResponse
*/
export interface Xs2aAccountCharacteristicsCheckResponse {
/**
*
* @type {Array<ChargebacksObject>}
* @memberof Xs2aAccountCharacteristicsCheckResponse
*/
chargebacks: ChargebacksObject[];
/**
*
* @type {Array<EncashmentObject>}
* @memberof Xs2aAccountCharacteristicsCheckResponse
*/
encashment: EncashmentObject[];
/**
*
* @type {Array<AccountProfileObject>}
* @memberof Xs2aAccountCharacteristicsCheckResponse
*/
account_profile: AccountProfileObject[];
/**
*
* @type {Array<LoansObject>}
* @memberof Xs2aAccountCharacteristicsCheckResponse
*/
loans: LoansObject[];
/**
*
* @type {Array<FlagsObject>}
* @memberof Xs2aAccountCharacteristicsCheckResponse
*/
flags: FlagsObject[];
/**
* Object type, in this case xs2a_account_characteristics_check
* @type {string}
* @memberof Xs2aAccountCharacteristicsCheckResponse
*/
object: 'xs2a_account_characteristics_check';
/**
* Creation date of the object
* @type {string}
* @memberof Xs2aAccountCharacteristicsCheckResponse
*/
created_at: string;
}
/**
*
* @export
* @interface ChargebacksObject
*/
export interface ChargebacksObject {
/**
* Total number of chargebacks for lack of cover on all authorized accounts.
* @type {number}
* @memberof ChargebacksObject
*/
chargebacks_coverage_count: number;
/**
* Total amount of money, the return debit due to lack of coverage on all authorized accounts.
* @type {number}
* @memberof ChargebacksObject
*/
chargebacks_coverage_amount: number;
/**
* Total number of chargebacks initiated by the Account Holder on all authorized accounts.
* @type {number}
* @memberof ChargebacksObject
*/
chargebacks_revoke_count: number;
/**
* Grand total of the chargebacks initiated by the Account Holder on all authorized accounts.
* @type {number}
* @memberof ChargebacksObject
*/
chargebacks_revoke_amount: number;
}
/**
*
* @export
* @interface EncashmentObject
*/
export interface EncashmentObject {
/**
* Number of all bookings to debt collection agencies / departments / lawyers.
* @type {number}
* @memberof EncashmentObject
*/
collection_count: number;
/**
* Total of all bookings to debt collection agencies / departments.
* @type {number}
* @memberof EncashmentObject
*/
collection_amount: number;
/**
* Number of different counterholders
* @type {number}
* @memberof EncashmentObject
*/
collection_office_count: number;
}
/**
*
* @export
* @interface AccountProfileObject
*/
export interface AccountProfileObject {
/**
* Number of cash withdrawals
* @type {number}
* @memberof AccountProfileObject
*/
cash_withdrawals: number;
/**
* Number of cash deposits
* @type {number}
* @memberof AccountProfileObject
*/
cash_deposits: number;
}
/**
*
* @export
* @interface LoansObject
*/
export interface LoansObject {
/**
* Number of different recognized loan agreements.
* @type {number}
* @memberof LoansObject
*/
loans_count: number;
/**
* Sum of monthly loan commitments, i. Sum of all rates of current loan commitments.
* @type {number}
* @memberof LoansObject
*/
loans_amount: number;
/**
* The number of different subprime lenders is counted in this feature.
* @type {number}
* @memberof LoansObject
*/
subprime_lender_count: number;
}
/**
*
* @export
* @interface FlagsObject
*/
export interface FlagsObject {
/**
* If there are some gambling usage, it will be true
* @type {boolean}
* @memberof FlagsObject
*/
gambling: boolean;
/**
* If there are some credit card usage, it will be true
* @type {boolean}
* @memberof FlagsObject
*/
creditcard: boolean;
}