File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import { address } from "./address";
3
3
import { entityBase } from "./entityBase" ;
4
4
5
5
export namespace user {
6
+ import EntityBaseData = entityBase . EntityBaseData ;
6
7
/**
7
8
* Should be only one of these values:
8
9
* 1 - for incomes <18K€),
@@ -948,4 +949,28 @@ export namespace user {
948
949
*/
949
950
ValidationRules ?: string [ ] ;
950
951
}
952
+
953
+ interface RegulatoryData extends EntityBaseData {
954
+ /**
955
+ * Code indicating the reason for blocking the user, and steps you can take to get them unblocked.
956
+ */
957
+ ActionCode : string ;
958
+
959
+ /**
960
+ * Information about which payment flows are blocked for the user.
961
+ */
962
+ ScopeBlocked : ScopeBlocked ;
963
+ }
964
+
965
+ interface ScopeBlocked {
966
+ /**
967
+ * Whether or not the user is blocked from making pay-ins or sending or receiving transfers.
968
+ */
969
+ Inflows : boolean ;
970
+
971
+ /**
972
+ * Whether or not the user is blocked from making payouts or sending or receiving transfers.
973
+ */
974
+ Outflows : boolean ;
975
+ }
951
976
}
Original file line number Diff line number Diff line change @@ -279,4 +279,13 @@ export class Users {
279
279
* @param options
280
280
*/
281
281
validateDataFormat : MethodOverload < user . UserDataFormatValidation , user . UserDataFormatValidation >
282
+
283
+ /**
284
+ * Get user regulatory
285
+ * @param {string } userId User identifier
286
+ * @param {Function } callback Callback function
287
+ * @param {Object } options Request options
288
+ * @return {Object } Request promise
289
+ */
290
+ getRegulatory : MethodOverload < string , user . RegulatoryData >
282
291
}
You can’t perform that action at this time.
0 commit comments