@zyphe-sdk/core 0.8.0 → 0.9.0
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/index.d.ts +612 -262
- package/dist/index.js +58 -3
- package/dist/index.js.map +1 -1
- package/dist/openapi.d.ts +485 -259
- package/dist/openapi.json +991 -428
- package/package.json +1 -1
package/dist/openapi.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "zyphe-sdk",
|
|
5
5
|
"description": "",
|
|
6
|
-
"version": "3.
|
|
6
|
+
"version": "3.9.0"
|
|
7
7
|
},
|
|
8
8
|
"paths": {
|
|
9
9
|
"/flows/{slug}/fullflow": {
|
|
@@ -923,7 +923,104 @@
|
|
|
923
923
|
},
|
|
924
924
|
"security": [
|
|
925
925
|
{
|
|
926
|
-
"api-key": []
|
|
926
|
+
"x-api-key": []
|
|
927
|
+
}
|
|
928
|
+
]
|
|
929
|
+
}
|
|
930
|
+
},
|
|
931
|
+
"/sdk/organizations/{organization_id}/flow-results/search": {
|
|
932
|
+
"post": {
|
|
933
|
+
"tags": [
|
|
934
|
+
"SDK: Organizations"
|
|
935
|
+
],
|
|
936
|
+
"summary": "Search flow results",
|
|
937
|
+
"description": "Tells whether a user passed a verification. Looks flow results up by the user's email, by the\ncustom data attached when the verification request was created, or by both, and returns the\nstatus of each match, most recently updated first. `passed` is `true` once the user completed\nthe flow successfully.\n\nAt least one of `email` and `customData` is required. A user who never started a verification\ngives an empty page.",
|
|
938
|
+
"operationId": "searchFlowResults",
|
|
939
|
+
"parameters": [
|
|
940
|
+
{
|
|
941
|
+
"name": "organization_id",
|
|
942
|
+
"in": "path",
|
|
943
|
+
"description": "Organization ID",
|
|
944
|
+
"required": true,
|
|
945
|
+
"schema": {
|
|
946
|
+
"type": "string",
|
|
947
|
+
"format": "uuid"
|
|
948
|
+
}
|
|
949
|
+
},
|
|
950
|
+
{
|
|
951
|
+
"name": "sandbox",
|
|
952
|
+
"in": "query",
|
|
953
|
+
"required": true,
|
|
954
|
+
"schema": {
|
|
955
|
+
"type": "boolean"
|
|
956
|
+
},
|
|
957
|
+
"style": "form"
|
|
958
|
+
},
|
|
959
|
+
{
|
|
960
|
+
"name": "locale",
|
|
961
|
+
"in": "query",
|
|
962
|
+
"required": false,
|
|
963
|
+
"schema": {
|
|
964
|
+
"$ref": "#/components/schemas/Locale"
|
|
965
|
+
},
|
|
966
|
+
"style": "form"
|
|
967
|
+
}
|
|
968
|
+
],
|
|
969
|
+
"requestBody": {
|
|
970
|
+
"content": {
|
|
971
|
+
"application/json": {
|
|
972
|
+
"schema": {
|
|
973
|
+
"$ref": "#/components/schemas/SearchFlowResultsRequest"
|
|
974
|
+
}
|
|
975
|
+
}
|
|
976
|
+
},
|
|
977
|
+
"required": true
|
|
978
|
+
},
|
|
979
|
+
"responses": {
|
|
980
|
+
"200": {
|
|
981
|
+
"description": "",
|
|
982
|
+
"content": {
|
|
983
|
+
"application/json": {
|
|
984
|
+
"schema": {
|
|
985
|
+
"$ref": "#/components/schemas/SearchFlowResultsResponse"
|
|
986
|
+
}
|
|
987
|
+
}
|
|
988
|
+
}
|
|
989
|
+
},
|
|
990
|
+
"400": {
|
|
991
|
+
"description": "",
|
|
992
|
+
"content": {
|
|
993
|
+
"application/json": {
|
|
994
|
+
"schema": {
|
|
995
|
+
"$ref": "#/components/schemas/BaxeError"
|
|
996
|
+
}
|
|
997
|
+
}
|
|
998
|
+
}
|
|
999
|
+
},
|
|
1000
|
+
"401": {
|
|
1001
|
+
"description": "",
|
|
1002
|
+
"content": {
|
|
1003
|
+
"application/json": {
|
|
1004
|
+
"schema": {
|
|
1005
|
+
"$ref": "#/components/schemas/BaxeError"
|
|
1006
|
+
}
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
1009
|
+
},
|
|
1010
|
+
"500": {
|
|
1011
|
+
"description": "",
|
|
1012
|
+
"content": {
|
|
1013
|
+
"application/json": {
|
|
1014
|
+
"schema": {
|
|
1015
|
+
"$ref": "#/components/schemas/BaxeError"
|
|
1016
|
+
}
|
|
1017
|
+
}
|
|
1018
|
+
}
|
|
1019
|
+
}
|
|
1020
|
+
},
|
|
1021
|
+
"security": [
|
|
1022
|
+
{
|
|
1023
|
+
"x-api-key": []
|
|
927
1024
|
}
|
|
928
1025
|
]
|
|
929
1026
|
}
|
|
@@ -1050,7 +1147,7 @@
|
|
|
1050
1147
|
},
|
|
1051
1148
|
"security": [
|
|
1052
1149
|
{
|
|
1053
|
-
"api-key": []
|
|
1150
|
+
"x-api-key": []
|
|
1054
1151
|
}
|
|
1055
1152
|
]
|
|
1056
1153
|
}
|
|
@@ -1178,7 +1275,7 @@
|
|
|
1178
1275
|
"deprecated": true,
|
|
1179
1276
|
"security": [
|
|
1180
1277
|
{
|
|
1181
|
-
"api-key": []
|
|
1278
|
+
"x-api-key": []
|
|
1182
1279
|
}
|
|
1183
1280
|
]
|
|
1184
1281
|
}
|
|
@@ -1306,7 +1403,7 @@
|
|
|
1306
1403
|
"deprecated": true,
|
|
1307
1404
|
"security": [
|
|
1308
1405
|
{
|
|
1309
|
-
"api-key": []
|
|
1406
|
+
"x-api-key": []
|
|
1310
1407
|
}
|
|
1311
1408
|
]
|
|
1312
1409
|
}
|
|
@@ -1434,7 +1531,7 @@
|
|
|
1434
1531
|
"deprecated": true,
|
|
1435
1532
|
"security": [
|
|
1436
1533
|
{
|
|
1437
|
-
"api-key": []
|
|
1534
|
+
"x-api-key": []
|
|
1438
1535
|
}
|
|
1439
1536
|
]
|
|
1440
1537
|
}
|
|
@@ -1562,7 +1659,7 @@
|
|
|
1562
1659
|
"deprecated": true,
|
|
1563
1660
|
"security": [
|
|
1564
1661
|
{
|
|
1565
|
-
"api-key": []
|
|
1662
|
+
"x-api-key": []
|
|
1566
1663
|
}
|
|
1567
1664
|
]
|
|
1568
1665
|
}
|
|
@@ -1669,7 +1766,7 @@
|
|
|
1669
1766
|
},
|
|
1670
1767
|
"security": [
|
|
1671
1768
|
{
|
|
1672
|
-
"api-key": []
|
|
1769
|
+
"x-api-key": []
|
|
1673
1770
|
}
|
|
1674
1771
|
]
|
|
1675
1772
|
}
|
|
@@ -1796,7 +1893,7 @@
|
|
|
1796
1893
|
},
|
|
1797
1894
|
"security": [
|
|
1798
1895
|
{
|
|
1799
|
-
"api-key": []
|
|
1896
|
+
"x-api-key": []
|
|
1800
1897
|
}
|
|
1801
1898
|
]
|
|
1802
1899
|
}
|
|
@@ -1923,7 +2020,7 @@
|
|
|
1923
2020
|
},
|
|
1924
2021
|
"security": [
|
|
1925
2022
|
{
|
|
1926
|
-
"api-key": []
|
|
2023
|
+
"x-api-key": []
|
|
1927
2024
|
}
|
|
1928
2025
|
]
|
|
1929
2026
|
}
|
|
@@ -2050,7 +2147,7 @@
|
|
|
2050
2147
|
},
|
|
2051
2148
|
"security": [
|
|
2052
2149
|
{
|
|
2053
|
-
"api-key": []
|
|
2150
|
+
"x-api-key": []
|
|
2054
2151
|
}
|
|
2055
2152
|
]
|
|
2056
2153
|
}
|
|
@@ -2177,7 +2274,7 @@
|
|
|
2177
2274
|
},
|
|
2178
2275
|
"security": [
|
|
2179
2276
|
{
|
|
2180
|
-
"api-key": []
|
|
2277
|
+
"x-api-key": []
|
|
2181
2278
|
}
|
|
2182
2279
|
]
|
|
2183
2280
|
}
|
|
@@ -2325,7 +2422,7 @@
|
|
|
2325
2422
|
"deprecated": true,
|
|
2326
2423
|
"security": [
|
|
2327
2424
|
{
|
|
2328
|
-
"api-key": []
|
|
2425
|
+
"x-api-key": []
|
|
2329
2426
|
}
|
|
2330
2427
|
]
|
|
2331
2428
|
}
|
|
@@ -2473,7 +2570,7 @@
|
|
|
2473
2570
|
"deprecated": true,
|
|
2474
2571
|
"security": [
|
|
2475
2572
|
{
|
|
2476
|
-
"api-key": []
|
|
2573
|
+
"x-api-key": []
|
|
2477
2574
|
}
|
|
2478
2575
|
]
|
|
2479
2576
|
}
|
|
@@ -2600,7 +2697,7 @@
|
|
|
2600
2697
|
},
|
|
2601
2698
|
"security": [
|
|
2602
2699
|
{
|
|
2603
|
-
"api-key": []
|
|
2700
|
+
"x-api-key": []
|
|
2604
2701
|
}
|
|
2605
2702
|
]
|
|
2606
2703
|
}
|
|
@@ -2707,7 +2804,7 @@
|
|
|
2707
2804
|
},
|
|
2708
2805
|
"security": [
|
|
2709
2806
|
{
|
|
2710
|
-
"api-key": []
|
|
2807
|
+
"x-api-key": []
|
|
2711
2808
|
}
|
|
2712
2809
|
]
|
|
2713
2810
|
}
|
|
@@ -2829,7 +2926,7 @@
|
|
|
2829
2926
|
},
|
|
2830
2927
|
"security": [
|
|
2831
2928
|
{
|
|
2832
|
-
"api-key": []
|
|
2929
|
+
"x-api-key": []
|
|
2833
2930
|
}
|
|
2834
2931
|
]
|
|
2835
2932
|
}
|
|
@@ -2976,7 +3073,7 @@
|
|
|
2976
3073
|
},
|
|
2977
3074
|
"security": [
|
|
2978
3075
|
{
|
|
2979
|
-
"api-key": []
|
|
3076
|
+
"x-api-key": []
|
|
2980
3077
|
}
|
|
2981
3078
|
]
|
|
2982
3079
|
}
|
|
@@ -2987,7 +3084,7 @@
|
|
|
2987
3084
|
"SDK: Organizations"
|
|
2988
3085
|
],
|
|
2989
3086
|
"summary": "Get flow result details",
|
|
2990
|
-
"description": "Returns one flow result: who it belongs to, its status, and the result of every step the user\ncompleted (document verification, liveness, proof of address, screening, forms, KYB and the\nothers). The per-step result endpoints return each step's full detail.",
|
|
3087
|
+
"description": "Returns one flow result: who it belongs to, its status, and the result of every step the user\ncompleted (document verification, liveness, proof of address, screening, forms, KYB and the\nothers). The per-step result endpoints return each step's full detail.\n\nThe flow result is one of this organization's, or a KYC Passport result another organization\nshared with it: the result named by a `kyc_passport.verification.updated` notification. The\nsame holds for the per-step result endpoints.",
|
|
2991
3088
|
"operationId": "getFlowResultDetails",
|
|
2992
3089
|
"parameters": [
|
|
2993
3090
|
{
|
|
@@ -3220,6 +3317,126 @@
|
|
|
3220
3317
|
]
|
|
3221
3318
|
}
|
|
3222
3319
|
},
|
|
3320
|
+
"/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/flow/{flow_slug}/dv/{dv_result_id}/report": {
|
|
3321
|
+
"get": {
|
|
3322
|
+
"tags": [
|
|
3323
|
+
"SDK: Organizations"
|
|
3324
|
+
],
|
|
3325
|
+
"summary": "Download the KYC report of a document verification result",
|
|
3326
|
+
"description": "Returns the report of one document verification as a PDF: its outcome and every check it was\nheld against, the data read from the document, the document images, the device and session,\nthe person's AML screenings and an audit trail, with the verification data attached to the PDF\nas JSON. `locale` picks the language: `en`, `it`, `de`, `es`, `fr` or `pt`; any other prints in\nEnglish. The report is generated on each request and states when it was generated.",
|
|
3327
|
+
"operationId": "getDocumentVerificationResultReport",
|
|
3328
|
+
"parameters": [
|
|
3329
|
+
{
|
|
3330
|
+
"name": "sandbox",
|
|
3331
|
+
"in": "query",
|
|
3332
|
+
"required": true,
|
|
3333
|
+
"schema": {
|
|
3334
|
+
"type": "boolean"
|
|
3335
|
+
},
|
|
3336
|
+
"style": "form"
|
|
3337
|
+
},
|
|
3338
|
+
{
|
|
3339
|
+
"name": "locale",
|
|
3340
|
+
"in": "query",
|
|
3341
|
+
"required": false,
|
|
3342
|
+
"schema": {
|
|
3343
|
+
"$ref": "#/components/schemas/Locale"
|
|
3344
|
+
},
|
|
3345
|
+
"style": "form"
|
|
3346
|
+
},
|
|
3347
|
+
{
|
|
3348
|
+
"name": "organization_id",
|
|
3349
|
+
"in": "path",
|
|
3350
|
+
"description": "The ID of the organization",
|
|
3351
|
+
"required": true,
|
|
3352
|
+
"schema": {
|
|
3353
|
+
"type": "string",
|
|
3354
|
+
"format": "uuid"
|
|
3355
|
+
},
|
|
3356
|
+
"example": "123e4567-e89b-12d3-a456-426614174000"
|
|
3357
|
+
},
|
|
3358
|
+
{
|
|
3359
|
+
"name": "flow_result_id",
|
|
3360
|
+
"in": "path",
|
|
3361
|
+
"description": "The ID of the flow result",
|
|
3362
|
+
"required": true,
|
|
3363
|
+
"schema": {
|
|
3364
|
+
"type": "string",
|
|
3365
|
+
"format": "uuid"
|
|
3366
|
+
},
|
|
3367
|
+
"example": "123e4567-e89b-12d3-a456-426614174000"
|
|
3368
|
+
},
|
|
3369
|
+
{
|
|
3370
|
+
"name": "flow_slug",
|
|
3371
|
+
"in": "path",
|
|
3372
|
+
"description": "The slug of the flow",
|
|
3373
|
+
"required": true,
|
|
3374
|
+
"schema": {
|
|
3375
|
+
"type": "string"
|
|
3376
|
+
},
|
|
3377
|
+
"example": "flow-slug"
|
|
3378
|
+
},
|
|
3379
|
+
{
|
|
3380
|
+
"name": "dv_result_id",
|
|
3381
|
+
"in": "path",
|
|
3382
|
+
"description": "The ID of the DV result",
|
|
3383
|
+
"required": true,
|
|
3384
|
+
"schema": {
|
|
3385
|
+
"type": "string",
|
|
3386
|
+
"format": "uuid"
|
|
3387
|
+
},
|
|
3388
|
+
"example": "123e4567-e89b-12d3-a456-426614174000"
|
|
3389
|
+
}
|
|
3390
|
+
],
|
|
3391
|
+
"responses": {
|
|
3392
|
+
"200": {
|
|
3393
|
+
"description": "The report PDF",
|
|
3394
|
+
"content": {
|
|
3395
|
+
"application/pdf": {
|
|
3396
|
+
"schema": {
|
|
3397
|
+
"$ref": "#/components/schemas/KycReportPdf"
|
|
3398
|
+
}
|
|
3399
|
+
}
|
|
3400
|
+
}
|
|
3401
|
+
},
|
|
3402
|
+
"403": {
|
|
3403
|
+
"description": "",
|
|
3404
|
+
"content": {
|
|
3405
|
+
"application/json": {
|
|
3406
|
+
"schema": {
|
|
3407
|
+
"$ref": "#/components/schemas/BaxeError"
|
|
3408
|
+
}
|
|
3409
|
+
}
|
|
3410
|
+
}
|
|
3411
|
+
},
|
|
3412
|
+
"404": {
|
|
3413
|
+
"description": "",
|
|
3414
|
+
"content": {
|
|
3415
|
+
"application/json": {
|
|
3416
|
+
"schema": {
|
|
3417
|
+
"$ref": "#/components/schemas/BaxeError"
|
|
3418
|
+
}
|
|
3419
|
+
}
|
|
3420
|
+
}
|
|
3421
|
+
},
|
|
3422
|
+
"500": {
|
|
3423
|
+
"description": "",
|
|
3424
|
+
"content": {
|
|
3425
|
+
"application/json": {
|
|
3426
|
+
"schema": {
|
|
3427
|
+
"$ref": "#/components/schemas/BaxeError"
|
|
3428
|
+
}
|
|
3429
|
+
}
|
|
3430
|
+
}
|
|
3431
|
+
}
|
|
3432
|
+
},
|
|
3433
|
+
"security": [
|
|
3434
|
+
{
|
|
3435
|
+
"x-api-key": []
|
|
3436
|
+
}
|
|
3437
|
+
]
|
|
3438
|
+
}
|
|
3439
|
+
},
|
|
3223
3440
|
"/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/flow/{flow_slug}/poa/{poa_result_id}/details": {
|
|
3224
3441
|
"get": {
|
|
3225
3442
|
"tags": [
|
|
@@ -3802,6 +4019,7 @@
|
|
|
3802
4019
|
}
|
|
3803
4020
|
}
|
|
3804
4021
|
},
|
|
4022
|
+
"deprecated": true,
|
|
3805
4023
|
"security": [
|
|
3806
4024
|
{
|
|
3807
4025
|
"x-api-key": []
|
|
@@ -3912,6 +4130,7 @@
|
|
|
3912
4130
|
}
|
|
3913
4131
|
}
|
|
3914
4132
|
},
|
|
4133
|
+
"deprecated": true,
|
|
3915
4134
|
"security": [
|
|
3916
4135
|
{
|
|
3917
4136
|
"x-api-key": []
|
|
@@ -4022,6 +4241,7 @@
|
|
|
4022
4241
|
}
|
|
4023
4242
|
}
|
|
4024
4243
|
},
|
|
4244
|
+
"deprecated": true,
|
|
4025
4245
|
"security": [
|
|
4026
4246
|
{
|
|
4027
4247
|
"x-api-key": []
|
|
@@ -4141,175 +4361,7 @@
|
|
|
4141
4361
|
},
|
|
4142
4362
|
"security": [
|
|
4143
4363
|
{
|
|
4144
|
-
"api-key": []
|
|
4145
|
-
}
|
|
4146
|
-
]
|
|
4147
|
-
}
|
|
4148
|
-
},
|
|
4149
|
-
"/organizations/{organization_id}/billing/topup-packs": {
|
|
4150
|
-
"get": {
|
|
4151
|
-
"tags": [
|
|
4152
|
-
"Billing"
|
|
4153
|
-
],
|
|
4154
|
-
"summary": "List the top-up credit packs",
|
|
4155
|
-
"description": "Lists the one-time credit packs the organization can purchase, with their price, the\nnumber of credits granted and any products they unlock. The catalog may be cached for up\nto 30 minutes.",
|
|
4156
|
-
"operationId": "get_topup_packs",
|
|
4157
|
-
"parameters": [
|
|
4158
|
-
{
|
|
4159
|
-
"name": "organization_id",
|
|
4160
|
-
"in": "path",
|
|
4161
|
-
"description": "Organization ID",
|
|
4162
|
-
"required": true,
|
|
4163
|
-
"schema": {
|
|
4164
|
-
"type": "string",
|
|
4165
|
-
"format": "uuid"
|
|
4166
|
-
}
|
|
4167
|
-
}
|
|
4168
|
-
],
|
|
4169
|
-
"responses": {
|
|
4170
|
-
"200": {
|
|
4171
|
-
"description": "",
|
|
4172
|
-
"content": {
|
|
4173
|
-
"application/json": {
|
|
4174
|
-
"schema": {
|
|
4175
|
-
"$ref": "#/components/schemas/TopupPacksResponse"
|
|
4176
|
-
}
|
|
4177
|
-
}
|
|
4178
|
-
}
|
|
4179
|
-
},
|
|
4180
|
-
"401": {
|
|
4181
|
-
"description": "",
|
|
4182
|
-
"content": {
|
|
4183
|
-
"application/json": {
|
|
4184
|
-
"schema": {
|
|
4185
|
-
"$ref": "#/components/schemas/BaxeError"
|
|
4186
|
-
}
|
|
4187
|
-
}
|
|
4188
|
-
}
|
|
4189
|
-
},
|
|
4190
|
-
"403": {
|
|
4191
|
-
"description": "",
|
|
4192
|
-
"content": {
|
|
4193
|
-
"application/json": {
|
|
4194
|
-
"schema": {
|
|
4195
|
-
"$ref": "#/components/schemas/BaxeError"
|
|
4196
|
-
}
|
|
4197
|
-
}
|
|
4198
|
-
}
|
|
4199
|
-
},
|
|
4200
|
-
"500": {
|
|
4201
|
-
"description": "",
|
|
4202
|
-
"content": {
|
|
4203
|
-
"application/json": {
|
|
4204
|
-
"schema": {
|
|
4205
|
-
"$ref": "#/components/schemas/BaxeError"
|
|
4206
|
-
}
|
|
4207
|
-
}
|
|
4208
|
-
}
|
|
4209
|
-
}
|
|
4210
|
-
},
|
|
4211
|
-
"security": [
|
|
4212
|
-
{
|
|
4213
|
-
"jwt-auth": []
|
|
4214
|
-
}
|
|
4215
|
-
]
|
|
4216
|
-
}
|
|
4217
|
-
},
|
|
4218
|
-
"/organizations/{organization_id}/billing/topup/checkout": {
|
|
4219
|
-
"post": {
|
|
4220
|
-
"tags": [
|
|
4221
|
-
"Billing"
|
|
4222
|
-
],
|
|
4223
|
-
"summary": "Create a checkout session for a credit top-up",
|
|
4224
|
-
"description": "The `priceId` must be one of the packs returned by `GET .../billing/topup-packs`. Redirect\nthe user to the returned checkout URL; the credits are added to the organization once the\npayment completes.",
|
|
4225
|
-
"operationId": "create_topup_checkout",
|
|
4226
|
-
"parameters": [
|
|
4227
|
-
{
|
|
4228
|
-
"name": "organization_id",
|
|
4229
|
-
"in": "path",
|
|
4230
|
-
"description": "Organization ID",
|
|
4231
|
-
"required": true,
|
|
4232
|
-
"schema": {
|
|
4233
|
-
"type": "string",
|
|
4234
|
-
"format": "uuid"
|
|
4235
|
-
}
|
|
4236
|
-
}
|
|
4237
|
-
],
|
|
4238
|
-
"requestBody": {
|
|
4239
|
-
"content": {
|
|
4240
|
-
"application/json": {
|
|
4241
|
-
"schema": {
|
|
4242
|
-
"$ref": "#/components/schemas/CreateTopupCheckoutRequest"
|
|
4243
|
-
}
|
|
4244
|
-
}
|
|
4245
|
-
},
|
|
4246
|
-
"required": true
|
|
4247
|
-
},
|
|
4248
|
-
"responses": {
|
|
4249
|
-
"200": {
|
|
4250
|
-
"description": "",
|
|
4251
|
-
"content": {
|
|
4252
|
-
"application/json": {
|
|
4253
|
-
"schema": {
|
|
4254
|
-
"$ref": "#/components/schemas/CheckoutSessionResponse"
|
|
4255
|
-
}
|
|
4256
|
-
}
|
|
4257
|
-
}
|
|
4258
|
-
},
|
|
4259
|
-
"400": {
|
|
4260
|
-
"description": "",
|
|
4261
|
-
"content": {
|
|
4262
|
-
"application/json": {
|
|
4263
|
-
"schema": {
|
|
4264
|
-
"$ref": "#/components/schemas/BaxeError"
|
|
4265
|
-
}
|
|
4266
|
-
}
|
|
4267
|
-
}
|
|
4268
|
-
},
|
|
4269
|
-
"401": {
|
|
4270
|
-
"description": "",
|
|
4271
|
-
"content": {
|
|
4272
|
-
"application/json": {
|
|
4273
|
-
"schema": {
|
|
4274
|
-
"$ref": "#/components/schemas/BaxeError"
|
|
4275
|
-
}
|
|
4276
|
-
}
|
|
4277
|
-
}
|
|
4278
|
-
},
|
|
4279
|
-
"403": {
|
|
4280
|
-
"description": "",
|
|
4281
|
-
"content": {
|
|
4282
|
-
"application/json": {
|
|
4283
|
-
"schema": {
|
|
4284
|
-
"$ref": "#/components/schemas/BaxeError"
|
|
4285
|
-
}
|
|
4286
|
-
}
|
|
4287
|
-
}
|
|
4288
|
-
},
|
|
4289
|
-
"404": {
|
|
4290
|
-
"description": "",
|
|
4291
|
-
"content": {
|
|
4292
|
-
"application/json": {
|
|
4293
|
-
"schema": {
|
|
4294
|
-
"$ref": "#/components/schemas/BaxeError"
|
|
4295
|
-
}
|
|
4296
|
-
}
|
|
4297
|
-
}
|
|
4298
|
-
},
|
|
4299
|
-
"500": {
|
|
4300
|
-
"description": "",
|
|
4301
|
-
"content": {
|
|
4302
|
-
"application/json": {
|
|
4303
|
-
"schema": {
|
|
4304
|
-
"$ref": "#/components/schemas/BaxeError"
|
|
4305
|
-
}
|
|
4306
|
-
}
|
|
4307
|
-
}
|
|
4308
|
-
}
|
|
4309
|
-
},
|
|
4310
|
-
"security": [
|
|
4311
|
-
{
|
|
4312
|
-
"jwt-auth": []
|
|
4364
|
+
"x-api-key": []
|
|
4313
4365
|
}
|
|
4314
4366
|
]
|
|
4315
4367
|
}
|
|
@@ -4436,7 +4488,7 @@
|
|
|
4436
4488
|
},
|
|
4437
4489
|
"security": [
|
|
4438
4490
|
{
|
|
4439
|
-
"api-key": []
|
|
4491
|
+
"x-api-key": []
|
|
4440
4492
|
}
|
|
4441
4493
|
]
|
|
4442
4494
|
}
|
|
@@ -4543,7 +4595,7 @@
|
|
|
4543
4595
|
},
|
|
4544
4596
|
"security": [
|
|
4545
4597
|
{
|
|
4546
|
-
"api-key": []
|
|
4598
|
+
"x-api-key": []
|
|
4547
4599
|
}
|
|
4548
4600
|
]
|
|
4549
4601
|
},
|
|
@@ -4658,7 +4710,7 @@
|
|
|
4658
4710
|
},
|
|
4659
4711
|
"security": [
|
|
4660
4712
|
{
|
|
4661
|
-
"api-key": []
|
|
4713
|
+
"x-api-key": []
|
|
4662
4714
|
}
|
|
4663
4715
|
]
|
|
4664
4716
|
}
|
|
@@ -4786,7 +4838,7 @@
|
|
|
4786
4838
|
},
|
|
4787
4839
|
"security": [
|
|
4788
4840
|
{
|
|
4789
|
-
"api-key": []
|
|
4841
|
+
"x-api-key": []
|
|
4790
4842
|
}
|
|
4791
4843
|
]
|
|
4792
4844
|
},
|
|
@@ -4931,7 +4983,7 @@
|
|
|
4931
4983
|
},
|
|
4932
4984
|
"security": [
|
|
4933
4985
|
{
|
|
4934
|
-
"api-key": []
|
|
4986
|
+
"x-api-key": []
|
|
4935
4987
|
}
|
|
4936
4988
|
]
|
|
4937
4989
|
}
|
|
@@ -5028,7 +5080,7 @@
|
|
|
5028
5080
|
},
|
|
5029
5081
|
"security": [
|
|
5030
5082
|
{
|
|
5031
|
-
"api-key": []
|
|
5083
|
+
"x-api-key": []
|
|
5032
5084
|
}
|
|
5033
5085
|
]
|
|
5034
5086
|
}
|
|
@@ -5135,7 +5187,7 @@
|
|
|
5135
5187
|
},
|
|
5136
5188
|
"security": [
|
|
5137
5189
|
{
|
|
5138
|
-
"api-key": []
|
|
5190
|
+
"x-api-key": []
|
|
5139
5191
|
}
|
|
5140
5192
|
]
|
|
5141
5193
|
}
|
|
@@ -5263,7 +5315,7 @@
|
|
|
5263
5315
|
"deprecated": true,
|
|
5264
5316
|
"security": [
|
|
5265
5317
|
{
|
|
5266
|
-
"api-key": []
|
|
5318
|
+
"x-api-key": []
|
|
5267
5319
|
}
|
|
5268
5320
|
]
|
|
5269
5321
|
}
|
|
@@ -5391,7 +5443,7 @@
|
|
|
5391
5443
|
"deprecated": true,
|
|
5392
5444
|
"security": [
|
|
5393
5445
|
{
|
|
5394
|
-
"api-key": []
|
|
5446
|
+
"x-api-key": []
|
|
5395
5447
|
}
|
|
5396
5448
|
]
|
|
5397
5449
|
}
|
|
@@ -5963,6 +6015,13 @@
|
|
|
5963
6015
|
"position": {
|
|
5964
6016
|
"$ref": "#/components/schemas/FieldWithControl"
|
|
5965
6017
|
},
|
|
6018
|
+
"relatedPeps": {
|
|
6019
|
+
"type": "array",
|
|
6020
|
+
"items": {
|
|
6021
|
+
"$ref": "#/components/schemas/AmlRelatedPep"
|
|
6022
|
+
},
|
|
6023
|
+
"description": "The PEPs this record is tied to as a relative or close associate, as the provider names them.\nAbsent when the provider named none."
|
|
6024
|
+
},
|
|
5966
6025
|
"sanctions": {
|
|
5967
6026
|
"type": "array",
|
|
5968
6027
|
"items": {
|
|
@@ -6009,7 +6068,8 @@
|
|
|
6009
6068
|
"type": "boolean"
|
|
6010
6069
|
},
|
|
6011
6070
|
"isPep": {
|
|
6012
|
-
"type": "boolean"
|
|
6071
|
+
"type": "boolean",
|
|
6072
|
+
"description": "A PEP match: the record is a politically exposed person, or a relative or close associate\nof one."
|
|
6013
6073
|
},
|
|
6014
6074
|
"match": {
|
|
6015
6075
|
"type": "boolean"
|
|
@@ -6098,6 +6158,14 @@
|
|
|
6098
6158
|
}
|
|
6099
6159
|
}
|
|
6100
6160
|
},
|
|
6161
|
+
"AmlPepRelationKind": {
|
|
6162
|
+
"type": "string",
|
|
6163
|
+
"description": "How a record reaches a PEP it is related to.",
|
|
6164
|
+
"enum": [
|
|
6165
|
+
"family",
|
|
6166
|
+
"associate"
|
|
6167
|
+
]
|
|
6168
|
+
},
|
|
6101
6169
|
"AmlPosition": {
|
|
6102
6170
|
"type": "object",
|
|
6103
6171
|
"properties": {
|
|
@@ -6169,6 +6237,38 @@
|
|
|
6169
6237
|
}
|
|
6170
6238
|
}
|
|
6171
6239
|
},
|
|
6240
|
+
"AmlRelatedPep": {
|
|
6241
|
+
"type": "object",
|
|
6242
|
+
"description": "A PEP that a relative or close associate is related to.",
|
|
6243
|
+
"required": [
|
|
6244
|
+
"kind",
|
|
6245
|
+
"entityId",
|
|
6246
|
+
"names"
|
|
6247
|
+
],
|
|
6248
|
+
"properties": {
|
|
6249
|
+
"entityId": {
|
|
6250
|
+
"type": "string",
|
|
6251
|
+
"description": "The provider's id of the PEP's record."
|
|
6252
|
+
},
|
|
6253
|
+
"kind": {
|
|
6254
|
+
"$ref": "#/components/schemas/AmlPepRelationKind"
|
|
6255
|
+
},
|
|
6256
|
+
"names": {
|
|
6257
|
+
"type": "array",
|
|
6258
|
+
"items": {
|
|
6259
|
+
"type": "string"
|
|
6260
|
+
},
|
|
6261
|
+
"description": "The PEP's names, as the provider lists them."
|
|
6262
|
+
},
|
|
6263
|
+
"relationship": {
|
|
6264
|
+
"type": "array",
|
|
6265
|
+
"items": {
|
|
6266
|
+
"type": "string"
|
|
6267
|
+
},
|
|
6268
|
+
"description": "The nature of the relationship, worded by the provider from the PEP's side (\"spouse\",\n\"business partner\"): the record is the PEP's spouse."
|
|
6269
|
+
}
|
|
6270
|
+
}
|
|
6271
|
+
},
|
|
6172
6272
|
"AmlResult": {
|
|
6173
6273
|
"type": "object",
|
|
6174
6274
|
"required": [
|
|
@@ -6183,6 +6283,14 @@
|
|
|
6183
6283
|
"type": "boolean",
|
|
6184
6284
|
"description": "Whether adverse-media screening for this subject returned a hit. `false` when there was no\nhit or adverse media was not screened."
|
|
6185
6285
|
},
|
|
6286
|
+
"caseId": {
|
|
6287
|
+
"type": [
|
|
6288
|
+
"string",
|
|
6289
|
+
"null"
|
|
6290
|
+
],
|
|
6291
|
+
"format": "uuid",
|
|
6292
|
+
"description": "The KYB case the screening was ordered for, when it names one."
|
|
6293
|
+
},
|
|
6186
6294
|
"createdAt": {
|
|
6187
6295
|
"type": "string",
|
|
6188
6296
|
"format": "date-time"
|
|
@@ -6197,6 +6305,14 @@
|
|
|
6197
6305
|
}
|
|
6198
6306
|
]
|
|
6199
6307
|
},
|
|
6308
|
+
"flowResultId": {
|
|
6309
|
+
"type": [
|
|
6310
|
+
"string",
|
|
6311
|
+
"null"
|
|
6312
|
+
],
|
|
6313
|
+
"format": "uuid",
|
|
6314
|
+
"description": "The flow result the screening belongs to. Absent for a screening of an operator-opened case\nthat has none."
|
|
6315
|
+
},
|
|
6200
6316
|
"id": {
|
|
6201
6317
|
"type": "string",
|
|
6202
6318
|
"format": "uuid"
|
|
@@ -6576,11 +6692,21 @@
|
|
|
6576
6692
|
"AUTH_MAGIC_LINK_REQUESTED",
|
|
6577
6693
|
"AUTH_PASSWORD_RESET_REQUESTED",
|
|
6578
6694
|
"AUTH_EMAIL_VERIFIED",
|
|
6695
|
+
"AUTH_TWO_FACTOR_CHALLENGED",
|
|
6696
|
+
"AUTH_TWO_FACTOR_FAILED",
|
|
6697
|
+
"AUTH_TWO_FACTOR_ENROLMENT_STARTED",
|
|
6698
|
+
"AUTH_TWO_FACTOR_ENABLED",
|
|
6699
|
+
"AUTH_TWO_FACTOR_DISABLED",
|
|
6700
|
+
"AUTH_TWO_FACTOR_BACKUP_CODE_USED",
|
|
6701
|
+
"AUTH_TWO_FACTOR_BACKUP_CODES_REGENERATED",
|
|
6702
|
+
"AUTH_TWO_FACTOR_RESET",
|
|
6703
|
+
"ORG_TWO_FACTOR_POLICY_UPDATED",
|
|
6579
6704
|
"IDENTITY_ROLE_CHANGED",
|
|
6580
6705
|
"IDENTITY_DEACTIVATED",
|
|
6581
6706
|
"IDENTITY_DELETED",
|
|
6582
6707
|
"ORG_CREATED",
|
|
6583
6708
|
"ORG_SETTINGS_UPDATED",
|
|
6709
|
+
"SLA_TARGETS_UPDATED",
|
|
6584
6710
|
"ORG_MEMBER_INVITED",
|
|
6585
6711
|
"ORG_MEMBER_REMOVED",
|
|
6586
6712
|
"ORG_MEMBER_ROLE_CHANGED",
|
|
@@ -6600,6 +6726,13 @@
|
|
|
6600
6726
|
"FLOW_STEP_DELETED",
|
|
6601
6727
|
"FLOW_SHARED",
|
|
6602
6728
|
"FLOW_SHARE_REVOKED",
|
|
6729
|
+
"FLOW_TEMPLATE_CREATED",
|
|
6730
|
+
"FLOW_TEMPLATE_UPDATED",
|
|
6731
|
+
"FLOW_TEMPLATE_STATUS_CHANGED",
|
|
6732
|
+
"FLOW_TEMPLATES_SEEDED",
|
|
6733
|
+
"FLOW_TEMPLATE_COPIED_TO_PRODUCTION",
|
|
6734
|
+
"FLOW_DRAFT_CREATED",
|
|
6735
|
+
"FLOW_DRAFT_DELETED",
|
|
6603
6736
|
"PARTNER_INVITED",
|
|
6604
6737
|
"PARTNER_INVITE_ACCEPTED",
|
|
6605
6738
|
"PARTNER_INVITE_REVOKED",
|
|
@@ -6649,6 +6782,7 @@
|
|
|
6649
6782
|
"KYB_AGENT_RUN_ENDED",
|
|
6650
6783
|
"KYB_CASE_DOSSIER_EXPORTED",
|
|
6651
6784
|
"KYB_CASE_REPORT_DOWNLOADED",
|
|
6785
|
+
"KYC_REPORT_DOWNLOADED",
|
|
6652
6786
|
"KYB_DOCUMENT_CATALOG_REFRESHED",
|
|
6653
6787
|
"KYB_DOCUMENTS_PURCHASED",
|
|
6654
6788
|
"KYB_CASE_MANIFEST_REVISED",
|
|
@@ -6662,6 +6796,13 @@
|
|
|
6662
6796
|
"KYB_CASE_DECISION_REPORT_HELD",
|
|
6663
6797
|
"KYB_CASE_WAIVER_DECIDED",
|
|
6664
6798
|
"KYB_CASE_DECIDED",
|
|
6799
|
+
"KYB_CASE_ANCHORED",
|
|
6800
|
+
"KYB_CASE_OPENED_BY_OPERATOR",
|
|
6801
|
+
"KYB_CASE_CONTACT_SET",
|
|
6802
|
+
"KYB_CASE_UPLOAD_ADDED",
|
|
6803
|
+
"KYB_CASE_UPLOAD_REMOVED",
|
|
6804
|
+
"KYB_CASE_SUBMITTED_BY_OPERATOR",
|
|
6805
|
+
"KYB_CASE_CANCELLED_BY_OPERATOR",
|
|
6665
6806
|
"KYB_CASE_EXCEPTION_RECORDED",
|
|
6666
6807
|
"KYB_CASE_EXCEPTION_WITHDRAWN",
|
|
6667
6808
|
"KYB_CASE_DECISION_PROPOSAL_WITHDRAWN",
|
|
@@ -6673,6 +6814,7 @@
|
|
|
6673
6814
|
"KYB_OWNERSHIP_CONFIRMATION_SUBMITTED",
|
|
6674
6815
|
"KYB_SUBJECT_ASSIGNED",
|
|
6675
6816
|
"KYB_SUBJECT_RELEASED",
|
|
6817
|
+
"KYB_REMINDERS_SENT",
|
|
6676
6818
|
"KYB_COMPANY_RATING_OVERRIDDEN",
|
|
6677
6819
|
"KYB_COMPANY_RATING_OVERRIDE_ENDED",
|
|
6678
6820
|
"COMPLIANCE_POLICY_UPDATED",
|
|
@@ -6681,6 +6823,7 @@
|
|
|
6681
6823
|
"COMPLIANCE_POLICY_PUT_IN_FORCE",
|
|
6682
6824
|
"COMPLIANCE_POLICY_SOP_UPLOADED",
|
|
6683
6825
|
"COMPLIANCE_POLICY_SOP_REVIEWED",
|
|
6826
|
+
"COMPLIANCE_POLICY_SOP_AUTO_ACCEPTED",
|
|
6684
6827
|
"KYB_CASE_AML_DISPOSITIONED",
|
|
6685
6828
|
"KYB_CASE_STEP_PROPOSAL_DECIDED",
|
|
6686
6829
|
"KYB_CASE_CLARIFICATION_PROPOSAL_DECIDED",
|
|
@@ -6705,6 +6848,7 @@
|
|
|
6705
6848
|
"TM_AGENT_REVIEW_STARTED",
|
|
6706
6849
|
"TM_AGENT_RESOLVED",
|
|
6707
6850
|
"TM_ALERT_DISPOSITIONED",
|
|
6851
|
+
"TM_ALERT_ASSIGNED",
|
|
6708
6852
|
"TM_ALERT_ESCALATED",
|
|
6709
6853
|
"TM_RULE_DISABLED",
|
|
6710
6854
|
"UNKNOWN"
|
|
@@ -6716,6 +6860,7 @@
|
|
|
6716
6860
|
"required": [
|
|
6717
6861
|
"id",
|
|
6718
6862
|
"entrySeq",
|
|
6863
|
+
"entryHash",
|
|
6719
6864
|
"action",
|
|
6720
6865
|
"resourceType",
|
|
6721
6866
|
"details",
|
|
@@ -6755,6 +6900,10 @@
|
|
|
6755
6900
|
"format": "date-time"
|
|
6756
6901
|
},
|
|
6757
6902
|
"details": {},
|
|
6903
|
+
"entryHash": {
|
|
6904
|
+
"type": "string",
|
|
6905
|
+
"description": "The entry's hash on the chain: SHA-256 of the previous entry's hash and this entry's\ncanonical form. The chain is one for the whole platform, so the entry before this one may\nbelong to another organization."
|
|
6906
|
+
},
|
|
6758
6907
|
"entrySeq": {
|
|
6759
6908
|
"type": "integer",
|
|
6760
6909
|
"format": "int64",
|
|
@@ -6980,7 +7129,10 @@
|
|
|
6980
7129
|
"TmSettings",
|
|
6981
7130
|
"TmAlert",
|
|
6982
7131
|
"TmRuleTemplate",
|
|
6983
|
-
"
|
|
7132
|
+
"FlowTemplate",
|
|
7133
|
+
"FlowDraft",
|
|
7134
|
+
"BlockedEmailDomain",
|
|
7135
|
+
"AllowedEmailAddress",
|
|
6984
7136
|
"RegistrationOffer",
|
|
6985
7137
|
"RegistrationOfferLink",
|
|
6986
7138
|
"WebhookEndpoint",
|
|
@@ -7210,6 +7362,18 @@
|
|
|
7210
7362
|
"catalog"
|
|
7211
7363
|
]
|
|
7212
7364
|
},
|
|
7365
|
+
"BusinessInfoField": {
|
|
7366
|
+
"type": "string",
|
|
7367
|
+
"description": "A business-information key a form field answers.\n\nThe country (and the US state) come from the company lookup, and the contact email from the\napplicant's own email, so no field is bound to them. The address is one place field, which\nyields the street address, the city and the postcode.",
|
|
7368
|
+
"enum": [
|
|
7369
|
+
"companyName",
|
|
7370
|
+
"registrationNumber",
|
|
7371
|
+
"companyType",
|
|
7372
|
+
"address",
|
|
7373
|
+
"incorporationDate",
|
|
7374
|
+
"businessActivity"
|
|
7375
|
+
]
|
|
7376
|
+
},
|
|
7213
7377
|
"BusinessInfoFieldVerification": {
|
|
7214
7378
|
"type": "object",
|
|
7215
7379
|
"description": "Per-field verification result comparing submitted business info against document-extracted values.",
|
|
@@ -7417,6 +7581,44 @@
|
|
|
7417
7581
|
}
|
|
7418
7582
|
}
|
|
7419
7583
|
},
|
|
7584
|
+
"CaseDecisionSummary": {
|
|
7585
|
+
"type": "object",
|
|
7586
|
+
"description": "The decision that stands on a case, as its list row shows it.",
|
|
7587
|
+
"required": [
|
|
7588
|
+
"id",
|
|
7589
|
+
"outcome",
|
|
7590
|
+
"decidedAt",
|
|
7591
|
+
"decidedBy",
|
|
7592
|
+
"decidedByKind",
|
|
7593
|
+
"door"
|
|
7594
|
+
],
|
|
7595
|
+
"properties": {
|
|
7596
|
+
"decidedAt": {
|
|
7597
|
+
"type": "string",
|
|
7598
|
+
"format": "date-time"
|
|
7599
|
+
},
|
|
7600
|
+
"decidedBy": {
|
|
7601
|
+
"type": "string",
|
|
7602
|
+
"format": "uuid",
|
|
7603
|
+
"description": "The identity that took it: an analyst, or the agent's own identity."
|
|
7604
|
+
},
|
|
7605
|
+
"decidedByKind": {
|
|
7606
|
+
"$ref": "#/components/schemas/PrincipalKind",
|
|
7607
|
+
"description": "`PERSON` for an analyst, `BOT` for an agent such as Zyphe Agent, `API_KEY` for an integration and `SYSTEM` for\nthe platform itself."
|
|
7608
|
+
},
|
|
7609
|
+
"door": {
|
|
7610
|
+
"$ref": "#/components/schemas/DecisionDoor",
|
|
7611
|
+
"description": "The route it came through: the console, the SDK, an agent's MCP tool, and so on."
|
|
7612
|
+
},
|
|
7613
|
+
"id": {
|
|
7614
|
+
"type": "string",
|
|
7615
|
+
"format": "uuid"
|
|
7616
|
+
},
|
|
7617
|
+
"outcome": {
|
|
7618
|
+
"$ref": "#/components/schemas/KybCaseDecisionOutcome"
|
|
7619
|
+
}
|
|
7620
|
+
}
|
|
7621
|
+
},
|
|
7420
7622
|
"CaseDetailResponse": {
|
|
7421
7623
|
"allOf": [
|
|
7422
7624
|
{
|
|
@@ -7513,6 +7715,8 @@
|
|
|
7513
7715
|
"country",
|
|
7514
7716
|
"dueDiligenceLevel",
|
|
7515
7717
|
"coverage",
|
|
7718
|
+
"caseType",
|
|
7719
|
+
"flags",
|
|
7516
7720
|
"createdAt",
|
|
7517
7721
|
"updatedAt"
|
|
7518
7722
|
],
|
|
@@ -7528,6 +7732,10 @@
|
|
|
7528
7732
|
}
|
|
7529
7733
|
]
|
|
7530
7734
|
},
|
|
7735
|
+
"caseType": {
|
|
7736
|
+
"$ref": "#/components/schemas/KybCaseType",
|
|
7737
|
+
"description": "`ONBOARDING` for the first review of the company, `PERIODIC_REVIEW` for a later one: a case opened to verify an\nearlier one again, or one its periodic review reopened. Derived from the case's history, never stored."
|
|
7738
|
+
},
|
|
7531
7739
|
"companyKey": {
|
|
7532
7740
|
"type": [
|
|
7533
7741
|
"string",
|
|
@@ -7535,6 +7743,13 @@
|
|
|
7535
7743
|
],
|
|
7536
7744
|
"description": "The key the company's assignment and rating are kept under. Absent for a company with no\nregistration number: it cannot be told from another in its country, so nothing is kept\nabout it and it can be neither assigned nor rated."
|
|
7537
7745
|
},
|
|
7746
|
+
"contactEmail": {
|
|
7747
|
+
"type": [
|
|
7748
|
+
"string",
|
|
7749
|
+
"null"
|
|
7750
|
+
],
|
|
7751
|
+
"description": "The address the case reaches the company at, once one is set: the contact an analyst gave a case they opened."
|
|
7752
|
+
},
|
|
7538
7753
|
"country": {
|
|
7539
7754
|
"type": "string"
|
|
7540
7755
|
},
|
|
@@ -7546,6 +7761,17 @@
|
|
|
7546
7761
|
"type": "string",
|
|
7547
7762
|
"format": "date-time"
|
|
7548
7763
|
},
|
|
7764
|
+
"decision": {
|
|
7765
|
+
"oneOf": [
|
|
7766
|
+
{
|
|
7767
|
+
"type": "null"
|
|
7768
|
+
},
|
|
7769
|
+
{
|
|
7770
|
+
"$ref": "#/components/schemas/CaseDecisionSummary",
|
|
7771
|
+
"description": "The decision that stands on the case, and who took it. Absent until the case is decided, and again once a\nreopening has superseded it."
|
|
7772
|
+
}
|
|
7773
|
+
]
|
|
7774
|
+
},
|
|
7549
7775
|
"dueDiligenceLevel": {
|
|
7550
7776
|
"$ref": "#/components/schemas/KybCaseDueDiligenceLevel"
|
|
7551
7777
|
},
|
|
@@ -7560,6 +7786,13 @@
|
|
|
7560
7786
|
}
|
|
7561
7787
|
]
|
|
7562
7788
|
},
|
|
7789
|
+
"flags": {
|
|
7790
|
+
"type": "array",
|
|
7791
|
+
"items": {
|
|
7792
|
+
"$ref": "#/components/schemas/KybCaseFlag"
|
|
7793
|
+
},
|
|
7794
|
+
"description": "What the Home page flags on the case, as the work board last read it, within seconds of the case changing. Empty\non a closed case."
|
|
7795
|
+
},
|
|
7563
7796
|
"flowResultId": {
|
|
7564
7797
|
"type": [
|
|
7565
7798
|
"string",
|
|
@@ -7584,6 +7817,14 @@
|
|
|
7584
7817
|
],
|
|
7585
7818
|
"description": "`CLIENT` | `RM` | `COMPLIANCE` | `SUPPORT` | `FUNDED` | `DENIED`, where set."
|
|
7586
7819
|
},
|
|
7820
|
+
"openedByIdentityId": {
|
|
7821
|
+
"type": [
|
|
7822
|
+
"string",
|
|
7823
|
+
"null"
|
|
7824
|
+
],
|
|
7825
|
+
"format": "uuid",
|
|
7826
|
+
"description": "The member of the organization who opened the case, for a case opened by hand. Absent for an applicant's case\nand for one the migration made."
|
|
7827
|
+
},
|
|
7587
7828
|
"origin": {
|
|
7588
7829
|
"$ref": "#/components/schemas/KybCaseOrigin",
|
|
7589
7830
|
"description": "Who opened the case: `END_USER` (the business applicant, through a flow), `OPERATOR` (a member of your\norganization) or `MIGRATION` (created from a KYB result that predates KYB cases)."
|
|
@@ -7632,20 +7873,8 @@
|
|
|
7632
7873
|
"passed",
|
|
7633
7874
|
"failed",
|
|
7634
7875
|
"not_performed",
|
|
7635
|
-
"unknown"
|
|
7636
|
-
]
|
|
7637
|
-
},
|
|
7638
|
-
"CheckoutSessionResponse": {
|
|
7639
|
-
"type": "object",
|
|
7640
|
-
"description": "Response from creating a checkout session",
|
|
7641
|
-
"required": [
|
|
7642
|
-
"checkoutUrl"
|
|
7643
|
-
],
|
|
7644
|
-
"properties": {
|
|
7645
|
-
"checkoutUrl": {
|
|
7646
|
-
"type": "string"
|
|
7647
|
-
}
|
|
7648
|
-
}
|
|
7876
|
+
"unknown"
|
|
7877
|
+
]
|
|
7649
7878
|
},
|
|
7650
7879
|
"CloudflareTracePayload": {
|
|
7651
7880
|
"type": "object",
|
|
@@ -8243,26 +8472,6 @@
|
|
|
8243
8472
|
}
|
|
8244
8473
|
}
|
|
8245
8474
|
},
|
|
8246
|
-
"CreateTopupCheckoutRequest": {
|
|
8247
|
-
"type": "object",
|
|
8248
|
-
"description": "Request to create a checkout session for a one-time credit top-up purchase.",
|
|
8249
|
-
"required": [
|
|
8250
|
-
"priceId"
|
|
8251
|
-
],
|
|
8252
|
-
"properties": {
|
|
8253
|
-
"priceId": {
|
|
8254
|
-
"type": "string",
|
|
8255
|
-
"description": "The price ID of the top-up pack to purchase, as returned in `priceId` by\n`GET .../billing/topup-packs`."
|
|
8256
|
-
},
|
|
8257
|
-
"redirectUri": {
|
|
8258
|
-
"type": [
|
|
8259
|
-
"string",
|
|
8260
|
-
"null"
|
|
8261
|
-
],
|
|
8262
|
-
"description": "Optional redirect URI after checkout. If not provided, redirects to the webapp root."
|
|
8263
|
-
}
|
|
8264
|
-
}
|
|
8265
|
-
},
|
|
8266
8475
|
"CreateVerificationRequestPayload": {
|
|
8267
8476
|
"allOf": [
|
|
8268
8477
|
{
|
|
@@ -8340,93 +8549,10 @@
|
|
|
8340
8549
|
"PASSKEY",
|
|
8341
8550
|
"BOT_TOKEN",
|
|
8342
8551
|
"WALLET",
|
|
8343
|
-
"EXTERNAL_ID"
|
|
8552
|
+
"EXTERNAL_ID",
|
|
8553
|
+
"TOTP"
|
|
8344
8554
|
]
|
|
8345
8555
|
},
|
|
8346
|
-
"CreditExpiryPolicy": {
|
|
8347
|
-
"oneOf": [
|
|
8348
|
-
{
|
|
8349
|
-
"type": "object",
|
|
8350
|
-
"description": "Credits expire at the end of each billing period (legacy `carry_over = false`).",
|
|
8351
|
-
"required": [
|
|
8352
|
-
"type"
|
|
8353
|
-
],
|
|
8354
|
-
"properties": {
|
|
8355
|
-
"type": {
|
|
8356
|
-
"type": "string",
|
|
8357
|
-
"enum": [
|
|
8358
|
-
"periodEnd"
|
|
8359
|
-
]
|
|
8360
|
-
}
|
|
8361
|
-
}
|
|
8362
|
-
},
|
|
8363
|
-
{
|
|
8364
|
-
"type": "object",
|
|
8365
|
-
"description": "Credits never expire and accumulate (legacy `carry_over = true`).",
|
|
8366
|
-
"required": [
|
|
8367
|
-
"type"
|
|
8368
|
-
],
|
|
8369
|
-
"properties": {
|
|
8370
|
-
"type": {
|
|
8371
|
-
"type": "string",
|
|
8372
|
-
"enum": [
|
|
8373
|
-
"never"
|
|
8374
|
-
]
|
|
8375
|
-
}
|
|
8376
|
-
}
|
|
8377
|
-
},
|
|
8378
|
-
{
|
|
8379
|
-
"type": "object",
|
|
8380
|
-
"description": "Rolling validity: each grant expires `months` after it was granted,\nsnapped forward to a billing-period boundary.",
|
|
8381
|
-
"required": [
|
|
8382
|
-
"months",
|
|
8383
|
-
"type"
|
|
8384
|
-
],
|
|
8385
|
-
"properties": {
|
|
8386
|
-
"months": {
|
|
8387
|
-
"type": "integer",
|
|
8388
|
-
"format": "int32",
|
|
8389
|
-
"minimum": 0
|
|
8390
|
-
},
|
|
8391
|
-
"type": {
|
|
8392
|
-
"type": "string",
|
|
8393
|
-
"enum": [
|
|
8394
|
-
"monthsFromGrant"
|
|
8395
|
-
]
|
|
8396
|
-
}
|
|
8397
|
-
}
|
|
8398
|
-
},
|
|
8399
|
-
{
|
|
8400
|
-
"type": "object",
|
|
8401
|
-
"description": "Absolute cutoff: grants expire `months` after the subscription started,\nsnapped to a boundary and clamped to at least the current period end.",
|
|
8402
|
-
"required": [
|
|
8403
|
-
"months",
|
|
8404
|
-
"type"
|
|
8405
|
-
],
|
|
8406
|
-
"properties": {
|
|
8407
|
-
"months": {
|
|
8408
|
-
"type": "integer",
|
|
8409
|
-
"format": "int32",
|
|
8410
|
-
"minimum": 0
|
|
8411
|
-
},
|
|
8412
|
-
"type": {
|
|
8413
|
-
"type": "string",
|
|
8414
|
-
"enum": [
|
|
8415
|
-
"monthsFromSubscription"
|
|
8416
|
-
]
|
|
8417
|
-
}
|
|
8418
|
-
}
|
|
8419
|
-
}
|
|
8420
|
-
],
|
|
8421
|
-
"description": "When the credits granted by a subscription plan at each renewal expire.",
|
|
8422
|
-
"discriminator": {
|
|
8423
|
-
"propertyName": "type"
|
|
8424
|
-
}
|
|
8425
|
-
},
|
|
8426
|
-
"Currency": {
|
|
8427
|
-
"type": "string",
|
|
8428
|
-
"example": "usd"
|
|
8429
|
-
},
|
|
8430
8556
|
"DecideCasePayload": {
|
|
8431
8557
|
"type": "object",
|
|
8432
8558
|
"description": "A reviewer's decision on a case: the one immutable decision it gets.",
|
|
@@ -8544,6 +8670,20 @@
|
|
|
8544
8670
|
}
|
|
8545
8671
|
}
|
|
8546
8672
|
},
|
|
8673
|
+
"DecisionDoor": {
|
|
8674
|
+
"type": "string",
|
|
8675
|
+
"description": "The door an act came through. Stored as TEXT, mirrored by the `door` CHECK constraints.\n\nTier 1 puts one closing operation behind every door; the door stays on the row because the\noperation is the same and the *route* is not — an integrator asking why a case closed wants to\nknow whether a person used the console or an SDK call did it.\n\n`Console` is the default: it is the door every decision taken before the column existed came\nthrough, save the migrated ones, which the migration stamps `Migration` explicitly.",
|
|
8676
|
+
"enum": [
|
|
8677
|
+
"CASE_ROUTE",
|
|
8678
|
+
"CONSOLE",
|
|
8679
|
+
"MANUAL_REVIEW",
|
|
8680
|
+
"ADMIN",
|
|
8681
|
+
"SDK",
|
|
8682
|
+
"MCP",
|
|
8683
|
+
"WORKER",
|
|
8684
|
+
"MIGRATION"
|
|
8685
|
+
]
|
|
8686
|
+
},
|
|
8547
8687
|
"DecisionProposalRecorded": {
|
|
8548
8688
|
"type": "object",
|
|
8549
8689
|
"description": "The decision the organization's approval matrix turned into a *proposal*.\n\nThe first signature is recorded and the case is NOT decided: someone holding one of\n`awaitingRoles`, and not the proposer, confirms it through the case route's decision-proposal\nendpoints. A legacy door that gets one answers `202` rather than `200`, so an integrator that\nreads only the status code still learns that nothing is final.",
|
|
@@ -9287,7 +9427,7 @@
|
|
|
9287
9427
|
},
|
|
9288
9428
|
"DvCapture": {
|
|
9289
9429
|
"type": "object",
|
|
9290
|
-
"description": "What a document-capture session can do. `capture` is the capture mode; `usesProxy` is `true`\nwhen the capture surface talks to the identity-verification provider through Zyphe's proxy;\n`providesLiveness` and `providesAuthenticity` are `true` when the session itself performs the\nliveness check and the document-authenticity check. When `false`, the session does not: a check\nruns only if the flow has one of its own, a liveness step or the step's `docauthChecks`, which\nare empty by default.",
|
|
9430
|
+
"description": "What a document-capture session can do. `capture` is the capture mode; `usesProxy` is `true`\nwhen the capture surface talks to the identity-verification provider through Zyphe's proxy;\n`providesLiveness` and `providesAuthenticity` are `true` when the session itself performs the\nliveness check and the document-authenticity check. When `false`, the session does not: a check\nruns only if the flow has one of its own, a liveness step or the step's `docauthChecks`, which\nare empty by default.\n\n`acceptedCaptures` lists every submission `process-dv-document` takes for this attempt: the\ncapture mode above, plus `DIRECT` whenever the provider can process an uploaded image. The\ncapture mode is what Zyphe's own web app renders; `acceptedCaptures` is what a backend-only\nintegrator reads to learn it may post `images` against a `SESSION` attempt. The two flags\nabove describe the capture mode, not an upload: a `DIRECT` submission to a `SESSION` attempt\nskips whatever selfie and capture-time checks that session performs (`providesLiveness`), so\nthe flow's own liveness step is the one that counts.",
|
|
9291
9431
|
"required": [
|
|
9292
9432
|
"capture",
|
|
9293
9433
|
"usesProxy",
|
|
@@ -9295,6 +9435,12 @@
|
|
|
9295
9435
|
"providesAuthenticity"
|
|
9296
9436
|
],
|
|
9297
9437
|
"properties": {
|
|
9438
|
+
"acceptedCaptures": {
|
|
9439
|
+
"type": "array",
|
|
9440
|
+
"items": {
|
|
9441
|
+
"$ref": "#/components/schemas/DvCaptureMode"
|
|
9442
|
+
}
|
|
9443
|
+
},
|
|
9298
9444
|
"capture": {
|
|
9299
9445
|
"$ref": "#/components/schemas/DvCaptureMode"
|
|
9300
9446
|
},
|
|
@@ -9662,6 +9808,17 @@
|
|
|
9662
9808
|
"$ref": "#/components/schemas/DvReason"
|
|
9663
9809
|
}
|
|
9664
9810
|
},
|
|
9811
|
+
"reviewReason": {
|
|
9812
|
+
"oneOf": [
|
|
9813
|
+
{
|
|
9814
|
+
"type": "null"
|
|
9815
|
+
},
|
|
9816
|
+
{
|
|
9817
|
+
"$ref": "#/components/schemas/DvReviewReason",
|
|
9818
|
+
"description": "Why the verification was last sent for review by a rule. `null` when no rule did, and on\nresults sent for review before this was recorded."
|
|
9819
|
+
}
|
|
9820
|
+
]
|
|
9821
|
+
},
|
|
9665
9822
|
"status": {
|
|
9666
9823
|
"$ref": "#/components/schemas/ResultStatus"
|
|
9667
9824
|
},
|
|
@@ -9689,6 +9846,81 @@
|
|
|
9689
9846
|
}
|
|
9690
9847
|
}
|
|
9691
9848
|
},
|
|
9849
|
+
"DvReviewReason": {
|
|
9850
|
+
"oneOf": [
|
|
9851
|
+
{
|
|
9852
|
+
"type": "object",
|
|
9853
|
+
"description": "The user failed every attempt the step allows.",
|
|
9854
|
+
"required": [
|
|
9855
|
+
"attempts",
|
|
9856
|
+
"maxAttempts",
|
|
9857
|
+
"kind"
|
|
9858
|
+
],
|
|
9859
|
+
"properties": {
|
|
9860
|
+
"attempts": {
|
|
9861
|
+
"type": "integer",
|
|
9862
|
+
"format": "int32"
|
|
9863
|
+
},
|
|
9864
|
+
"kind": {
|
|
9865
|
+
"type": "string",
|
|
9866
|
+
"enum": [
|
|
9867
|
+
"ATTEMPTS_EXHAUSTED"
|
|
9868
|
+
]
|
|
9869
|
+
},
|
|
9870
|
+
"maxAttempts": {
|
|
9871
|
+
"type": "integer",
|
|
9872
|
+
"format": "int32"
|
|
9873
|
+
}
|
|
9874
|
+
}
|
|
9875
|
+
},
|
|
9876
|
+
{
|
|
9877
|
+
"type": "object",
|
|
9878
|
+
"description": "A failed attempt matched a reason that ends the verification at once, whatever attempts\nare left. `reasons` are the matched ones.",
|
|
9879
|
+
"required": [
|
|
9880
|
+
"reasons",
|
|
9881
|
+
"kind"
|
|
9882
|
+
],
|
|
9883
|
+
"properties": {
|
|
9884
|
+
"kind": {
|
|
9885
|
+
"type": "string",
|
|
9886
|
+
"enum": [
|
|
9887
|
+
"BLOCKING_REASON"
|
|
9888
|
+
]
|
|
9889
|
+
},
|
|
9890
|
+
"reasons": {
|
|
9891
|
+
"type": "array",
|
|
9892
|
+
"items": {
|
|
9893
|
+
"$ref": "#/components/schemas/DvReason"
|
|
9894
|
+
}
|
|
9895
|
+
}
|
|
9896
|
+
}
|
|
9897
|
+
},
|
|
9898
|
+
{
|
|
9899
|
+
"type": "object",
|
|
9900
|
+
"description": "Too many captures in a row could not be graded at all (unreadable images, provider\nerrors). `attempts` is how many in a row.",
|
|
9901
|
+
"required": [
|
|
9902
|
+
"attempts",
|
|
9903
|
+
"kind"
|
|
9904
|
+
],
|
|
9905
|
+
"properties": {
|
|
9906
|
+
"attempts": {
|
|
9907
|
+
"type": "integer",
|
|
9908
|
+
"format": "int32"
|
|
9909
|
+
},
|
|
9910
|
+
"kind": {
|
|
9911
|
+
"type": "string",
|
|
9912
|
+
"enum": [
|
|
9913
|
+
"UNUSABLE_CAPTURES"
|
|
9914
|
+
]
|
|
9915
|
+
}
|
|
9916
|
+
}
|
|
9917
|
+
}
|
|
9918
|
+
],
|
|
9919
|
+
"description": "Why a DV or liveness verification was taken out of the user's hands and sent for review.\n\nWritten by the attempt that ends the verification; the review that follows leaves it as it is.\nIt names the most recent escalation: a later escalation replaces it.",
|
|
9920
|
+
"discriminator": {
|
|
9921
|
+
"propertyName": "kind"
|
|
9922
|
+
}
|
|
9923
|
+
},
|
|
9692
9924
|
"DvStepOutput": {
|
|
9693
9925
|
"type": "object",
|
|
9694
9926
|
"required": [
|
|
@@ -9835,9 +10067,6 @@
|
|
|
9835
10067
|
"user_not_confirmed",
|
|
9836
10068
|
"verify_password",
|
|
9837
10069
|
"send_email",
|
|
9838
|
-
"open_session",
|
|
9839
|
-
"read_session",
|
|
9840
|
-
"close_session",
|
|
9841
10070
|
"user_disabled",
|
|
9842
10071
|
"missing_authorization_header",
|
|
9843
10072
|
"invalid_authorization_header",
|
|
@@ -9852,10 +10081,10 @@
|
|
|
9852
10081
|
"flow_step_not_found",
|
|
9853
10082
|
"organization_not_found",
|
|
9854
10083
|
"organization_under_retention",
|
|
10084
|
+
"kyb_declaration_requires_discovery",
|
|
9855
10085
|
"storage",
|
|
9856
10086
|
"verification_request_not_found",
|
|
9857
10087
|
"document_reader",
|
|
9858
|
-
"sse",
|
|
9859
10088
|
"organization_settings_not_found",
|
|
9860
10089
|
"theme_not_found",
|
|
9861
10090
|
"start_job",
|
|
@@ -9895,7 +10124,8 @@
|
|
|
9895
10124
|
"passkey_authentication",
|
|
9896
10125
|
"internal",
|
|
9897
10126
|
"invalid_email",
|
|
9898
|
-
"
|
|
10127
|
+
"email_domain_not_allowed",
|
|
10128
|
+
"work_email_required",
|
|
9899
10129
|
"graph_validation",
|
|
9900
10130
|
"external_api",
|
|
9901
10131
|
"share_already_has_write_access",
|
|
@@ -9923,12 +10153,53 @@
|
|
|
9923
10153
|
"kyb_case_reason_required",
|
|
9924
10154
|
"kyb_case_decision_not_authorized",
|
|
9925
10155
|
"kyb_case_second_signature_required",
|
|
10156
|
+
"kyb_case_contact_required",
|
|
10157
|
+
"kyb_case_contact_locked",
|
|
9926
10158
|
"compliance_policy_open_questions",
|
|
9927
10159
|
"tin_check_invalid_tin",
|
|
9928
10160
|
"tin_check_unavailable",
|
|
9929
10161
|
"tin_check_ein_required",
|
|
9930
10162
|
"tin_check_mismatch",
|
|
9931
|
-
"tin_check_attempts_exhausted"
|
|
10163
|
+
"tin_check_attempts_exhausted",
|
|
10164
|
+
"flow_template_not_found",
|
|
10165
|
+
"flow_template_key_taken",
|
|
10166
|
+
"flow_template_invalid_key",
|
|
10167
|
+
"flow_template_source_is_template",
|
|
10168
|
+
"flow_template_analyst_entry_invalid",
|
|
10169
|
+
"flow_template_kyc_flow_invalid",
|
|
10170
|
+
"flow_template_kyc_in_use",
|
|
10171
|
+
"flow_template_empty",
|
|
10172
|
+
"flow_template_kind_mismatch",
|
|
10173
|
+
"flow_template_steps_invalid",
|
|
10174
|
+
"flow_template_kyc_not_active",
|
|
10175
|
+
"flow_template_kyc_not_available",
|
|
10176
|
+
"flow_template_sandbox_only",
|
|
10177
|
+
"flow_template_kyc_missing_in_production",
|
|
10178
|
+
"flow_draft_not_found",
|
|
10179
|
+
"flow_draft_version_conflict",
|
|
10180
|
+
"flow_draft_name_invalid",
|
|
10181
|
+
"flow_draft_incomplete",
|
|
10182
|
+
"flow_draft_kyb_invalid",
|
|
10183
|
+
"flow_draft_agent_research_invalid",
|
|
10184
|
+
"flow_draft_business_info_form_invalid",
|
|
10185
|
+
"flow_draft_documents_invalid",
|
|
10186
|
+
"flow_draft_ubos_invalid",
|
|
10187
|
+
"flow_draft_directors_invalid",
|
|
10188
|
+
"two_factor_invalid_code",
|
|
10189
|
+
"two_factor_locked",
|
|
10190
|
+
"two_factor_already_enabled",
|
|
10191
|
+
"two_factor_not_enabled",
|
|
10192
|
+
"two_factor_required_by_organization",
|
|
10193
|
+
"two_factor_required_by_platform",
|
|
10194
|
+
"two_factor_reauthentication_required",
|
|
10195
|
+
"two_factor_reauthentication_failed",
|
|
10196
|
+
"two_factor_reauthentication_locked",
|
|
10197
|
+
"company_website_analysis_not_found",
|
|
10198
|
+
"company_website_analysis_invalid_url",
|
|
10199
|
+
"company_website_analysis_limit_reached",
|
|
10200
|
+
"company_website_analysis_not_completed",
|
|
10201
|
+
"company_website_analysis_no_brand",
|
|
10202
|
+
"company_website_analysis_disabled"
|
|
9932
10203
|
]
|
|
9933
10204
|
},
|
|
9934
10205
|
"EstimateBasis": {
|
|
@@ -9956,6 +10227,13 @@
|
|
|
9956
10227
|
"type": "string",
|
|
9957
10228
|
"format": "uuid",
|
|
9958
10229
|
"description": "The unique identifier of the action node."
|
|
10230
|
+
},
|
|
10231
|
+
"redirectUrl": {
|
|
10232
|
+
"type": [
|
|
10233
|
+
"string",
|
|
10234
|
+
"null"
|
|
10235
|
+
],
|
|
10236
|
+
"description": "Where the user continues after a flow router action: a path on the hosted flow app, with\nthe query parameters that open the verification request created in the target flow. Only\nreturned to the user's own session."
|
|
9959
10237
|
}
|
|
9960
10238
|
}
|
|
9961
10239
|
},
|
|
@@ -10231,7 +10509,6 @@
|
|
|
10231
10509
|
"type": "object",
|
|
10232
10510
|
"description": "Result of a request to extend an ownership discovery, with one decision per requested node.\nNodes are accepted or rejected individually: the request fails with `400` only when every node\nis rejected, and otherwise returns `202` with this report.",
|
|
10233
10511
|
"required": [
|
|
10234
|
-
"verificationRequestId",
|
|
10235
10512
|
"estimatedCreditsTotal",
|
|
10236
10513
|
"expansions"
|
|
10237
10514
|
],
|
|
@@ -10248,9 +10525,12 @@
|
|
|
10248
10525
|
}
|
|
10249
10526
|
},
|
|
10250
10527
|
"verificationRequestId": {
|
|
10251
|
-
"type":
|
|
10528
|
+
"type": [
|
|
10529
|
+
"string",
|
|
10530
|
+
"null"
|
|
10531
|
+
],
|
|
10252
10532
|
"format": "uuid",
|
|
10253
|
-
"description": "The KYB's anchor verification request — the websocket room for `discovery-update`."
|
|
10533
|
+
"description": "The KYB's anchor verification request — the websocket room for `discovery-update`. Omitted for a case nobody\nhas been anchored to yet, which has no room to push to."
|
|
10254
10534
|
}
|
|
10255
10535
|
}
|
|
10256
10536
|
},
|
|
@@ -10571,9 +10851,15 @@
|
|
|
10571
10851
|
"slug",
|
|
10572
10852
|
"successUrl",
|
|
10573
10853
|
"steps",
|
|
10574
|
-
"jdm"
|
|
10854
|
+
"jdm",
|
|
10855
|
+
"aiChatbotEnabled",
|
|
10856
|
+
"isTemplate"
|
|
10575
10857
|
],
|
|
10576
10858
|
"properties": {
|
|
10859
|
+
"aiChatbotEnabled": {
|
|
10860
|
+
"type": "boolean",
|
|
10861
|
+
"description": "Whether the verification failure screen offers the AI support chatbot."
|
|
10862
|
+
},
|
|
10577
10863
|
"createdAt": {
|
|
10578
10864
|
"type": [
|
|
10579
10865
|
"string",
|
|
@@ -10591,6 +10877,10 @@
|
|
|
10591
10877
|
"type": "string",
|
|
10592
10878
|
"format": "uuid"
|
|
10593
10879
|
},
|
|
10880
|
+
"isTemplate": {
|
|
10881
|
+
"type": "boolean",
|
|
10882
|
+
"description": "The flow backs a flow template: it is edited in the builder but never published, started or\nlisted, only copied. The dashboard shows it as a template and hides what only applies to a\nlive flow."
|
|
10883
|
+
},
|
|
10594
10884
|
"jdm": {
|
|
10595
10885
|
"$ref": "#/components/schemas/WorkflowGraph"
|
|
10596
10886
|
},
|
|
@@ -10626,6 +10916,23 @@
|
|
|
10626
10916
|
}
|
|
10627
10917
|
}
|
|
10628
10918
|
},
|
|
10919
|
+
"FlowAmlScreening": {
|
|
10920
|
+
"type": "object",
|
|
10921
|
+
"description": "A flow's AML screening of the people it verifies (ENG-1542). Each person's first screening in a\nflow result is charged at the organization's AML rate; ongoing monitoring re-screens them\nperiodically, billed per subject per year where the organization prices it. A company's KYB\nkeeps its case screening, which this does not govern.",
|
|
10922
|
+
"required": [
|
|
10923
|
+
"enabled"
|
|
10924
|
+
],
|
|
10925
|
+
"properties": {
|
|
10926
|
+
"enabled": {
|
|
10927
|
+
"type": "boolean",
|
|
10928
|
+
"description": "Whether the people the flow verifies are screened."
|
|
10929
|
+
},
|
|
10930
|
+
"ongoingMonitoring": {
|
|
10931
|
+
"type": "boolean",
|
|
10932
|
+
"description": "Whether they stay under ongoing monitoring."
|
|
10933
|
+
}
|
|
10934
|
+
}
|
|
10935
|
+
},
|
|
10629
10936
|
"FlowResult": {
|
|
10630
10937
|
"type": "object",
|
|
10631
10938
|
"required": [
|
|
@@ -10800,6 +11107,59 @@
|
|
|
10800
11107
|
}
|
|
10801
11108
|
}
|
|
10802
11109
|
},
|
|
11110
|
+
"FlowResultStatusSummary": {
|
|
11111
|
+
"type": "object",
|
|
11112
|
+
"description": "Where a user's verification stands, without any of the data collected from them.",
|
|
11113
|
+
"required": [
|
|
11114
|
+
"flowResultId",
|
|
11115
|
+
"flowSlug",
|
|
11116
|
+
"status",
|
|
11117
|
+
"passed",
|
|
11118
|
+
"customData",
|
|
11119
|
+
"createdAt",
|
|
11120
|
+
"updatedAt"
|
|
11121
|
+
],
|
|
11122
|
+
"properties": {
|
|
11123
|
+
"createdAt": {
|
|
11124
|
+
"type": "string",
|
|
11125
|
+
"format": "date-time"
|
|
11126
|
+
},
|
|
11127
|
+
"customData": {
|
|
11128
|
+
"type": "object"
|
|
11129
|
+
},
|
|
11130
|
+
"email": {
|
|
11131
|
+
"type": [
|
|
11132
|
+
"string",
|
|
11133
|
+
"null"
|
|
11134
|
+
]
|
|
11135
|
+
},
|
|
11136
|
+
"flowId": {
|
|
11137
|
+
"type": [
|
|
11138
|
+
"string",
|
|
11139
|
+
"null"
|
|
11140
|
+
],
|
|
11141
|
+
"format": "uuid"
|
|
11142
|
+
},
|
|
11143
|
+
"flowResultId": {
|
|
11144
|
+
"type": "string",
|
|
11145
|
+
"format": "uuid"
|
|
11146
|
+
},
|
|
11147
|
+
"flowSlug": {
|
|
11148
|
+
"type": "string"
|
|
11149
|
+
},
|
|
11150
|
+
"passed": {
|
|
11151
|
+
"type": "boolean",
|
|
11152
|
+
"description": "`true` when the user passed the verification, that is when `status` is `COMPLETED`."
|
|
11153
|
+
},
|
|
11154
|
+
"status": {
|
|
11155
|
+
"$ref": "#/components/schemas/VerificationRequestStatus"
|
|
11156
|
+
},
|
|
11157
|
+
"updatedAt": {
|
|
11158
|
+
"type": "string",
|
|
11159
|
+
"format": "date-time"
|
|
11160
|
+
}
|
|
11161
|
+
}
|
|
11162
|
+
},
|
|
10803
11163
|
"FlowStep": {
|
|
10804
11164
|
"oneOf": [
|
|
10805
11165
|
{
|
|
@@ -13487,9 +13847,23 @@
|
|
|
13487
13847
|
"locale"
|
|
13488
13848
|
],
|
|
13489
13849
|
"properties": {
|
|
13850
|
+
"firstName": {
|
|
13851
|
+
"type": [
|
|
13852
|
+
"string",
|
|
13853
|
+
"null"
|
|
13854
|
+
],
|
|
13855
|
+
"description": "The person's first name, as typed at registration. Only an account registered through\n`/auth/register` (organization staff) has one: never set for a GUEST, the person being\nverified."
|
|
13856
|
+
},
|
|
13490
13857
|
"lastEnvironmentIsSandbox": {
|
|
13491
13858
|
"type": "boolean"
|
|
13492
13859
|
},
|
|
13860
|
+
"lastName": {
|
|
13861
|
+
"type": [
|
|
13862
|
+
"string",
|
|
13863
|
+
"null"
|
|
13864
|
+
],
|
|
13865
|
+
"description": "The person's last name, as typed at registration. Same scope as the first name."
|
|
13866
|
+
},
|
|
13493
13867
|
"locale": {
|
|
13494
13868
|
"$ref": "#/components/schemas/Locale"
|
|
13495
13869
|
},
|
|
@@ -13578,6 +13952,17 @@
|
|
|
13578
13952
|
"type"
|
|
13579
13953
|
],
|
|
13580
13954
|
"properties": {
|
|
13955
|
+
"binding": {
|
|
13956
|
+
"oneOf": [
|
|
13957
|
+
{
|
|
13958
|
+
"type": "null"
|
|
13959
|
+
},
|
|
13960
|
+
{
|
|
13961
|
+
"$ref": "#/components/schemas/BusinessInfoField",
|
|
13962
|
+
"description": "The business-information key this field answers, in a KYB step's business-details\nform. Meaningless in any other form."
|
|
13963
|
+
}
|
|
13964
|
+
]
|
|
13965
|
+
},
|
|
13581
13966
|
"label": {
|
|
13582
13967
|
"type": "object",
|
|
13583
13968
|
"additionalProperties": {
|
|
@@ -13641,6 +14026,17 @@
|
|
|
13641
14026
|
"type"
|
|
13642
14027
|
],
|
|
13643
14028
|
"properties": {
|
|
14029
|
+
"binding": {
|
|
14030
|
+
"oneOf": [
|
|
14031
|
+
{
|
|
14032
|
+
"type": "null"
|
|
14033
|
+
},
|
|
14034
|
+
{
|
|
14035
|
+
"$ref": "#/components/schemas/BusinessInfoField",
|
|
14036
|
+
"description": "The business-information key this field answers, in a KYB step's business-details\nform. Meaningless in any other form."
|
|
14037
|
+
}
|
|
14038
|
+
]
|
|
14039
|
+
},
|
|
13644
14040
|
"label": {
|
|
13645
14041
|
"type": "object",
|
|
13646
14042
|
"additionalProperties": {
|
|
@@ -13709,6 +14105,17 @@
|
|
|
13709
14105
|
"type"
|
|
13710
14106
|
],
|
|
13711
14107
|
"properties": {
|
|
14108
|
+
"binding": {
|
|
14109
|
+
"oneOf": [
|
|
14110
|
+
{
|
|
14111
|
+
"type": "null"
|
|
14112
|
+
},
|
|
14113
|
+
{
|
|
14114
|
+
"$ref": "#/components/schemas/BusinessInfoField",
|
|
14115
|
+
"description": "The business-information key this field answers, in a KYB step's business-details\nform. Meaningless in any other form."
|
|
14116
|
+
}
|
|
14117
|
+
]
|
|
14118
|
+
},
|
|
13712
14119
|
"label": {
|
|
13713
14120
|
"type": "object",
|
|
13714
14121
|
"additionalProperties": {
|
|
@@ -13777,6 +14184,17 @@
|
|
|
13777
14184
|
"type"
|
|
13778
14185
|
],
|
|
13779
14186
|
"properties": {
|
|
14187
|
+
"binding": {
|
|
14188
|
+
"oneOf": [
|
|
14189
|
+
{
|
|
14190
|
+
"type": "null"
|
|
14191
|
+
},
|
|
14192
|
+
{
|
|
14193
|
+
"$ref": "#/components/schemas/BusinessInfoField",
|
|
14194
|
+
"description": "The business-information key this field answers, in a KYB step's business-details\nform. Meaningless in any other form."
|
|
14195
|
+
}
|
|
14196
|
+
]
|
|
14197
|
+
},
|
|
13780
14198
|
"label": {
|
|
13781
14199
|
"type": "object",
|
|
13782
14200
|
"additionalProperties": {
|
|
@@ -13845,6 +14263,17 @@
|
|
|
13845
14263
|
"type"
|
|
13846
14264
|
],
|
|
13847
14265
|
"properties": {
|
|
14266
|
+
"binding": {
|
|
14267
|
+
"oneOf": [
|
|
14268
|
+
{
|
|
14269
|
+
"type": "null"
|
|
14270
|
+
},
|
|
14271
|
+
{
|
|
14272
|
+
"$ref": "#/components/schemas/BusinessInfoField",
|
|
14273
|
+
"description": "The business-information key this field answers, in a KYB step's business-details\nform. Meaningless in any other form."
|
|
14274
|
+
}
|
|
14275
|
+
]
|
|
14276
|
+
},
|
|
13848
14277
|
"label": {
|
|
13849
14278
|
"type": "object",
|
|
13850
14279
|
"additionalProperties": {
|
|
@@ -13906,6 +14335,17 @@
|
|
|
13906
14335
|
"type"
|
|
13907
14336
|
],
|
|
13908
14337
|
"properties": {
|
|
14338
|
+
"binding": {
|
|
14339
|
+
"oneOf": [
|
|
14340
|
+
{
|
|
14341
|
+
"type": "null"
|
|
14342
|
+
},
|
|
14343
|
+
{
|
|
14344
|
+
"$ref": "#/components/schemas/BusinessInfoField",
|
|
14345
|
+
"description": "The business-information key this field answers, in a KYB step's business-details\nform. Meaningless in any other form."
|
|
14346
|
+
}
|
|
14347
|
+
]
|
|
14348
|
+
},
|
|
13909
14349
|
"label": {
|
|
13910
14350
|
"type": "object",
|
|
13911
14351
|
"additionalProperties": {
|
|
@@ -13970,6 +14410,17 @@
|
|
|
13970
14410
|
"type"
|
|
13971
14411
|
],
|
|
13972
14412
|
"properties": {
|
|
14413
|
+
"binding": {
|
|
14414
|
+
"oneOf": [
|
|
14415
|
+
{
|
|
14416
|
+
"type": "null"
|
|
14417
|
+
},
|
|
14418
|
+
{
|
|
14419
|
+
"$ref": "#/components/schemas/BusinessInfoField",
|
|
14420
|
+
"description": "The business-information key this field answers, in a KYB step's business-details\nform. Meaningless in any other form."
|
|
14421
|
+
}
|
|
14422
|
+
]
|
|
14423
|
+
},
|
|
13973
14424
|
"label": {
|
|
13974
14425
|
"type": "object",
|
|
13975
14426
|
"additionalProperties": {
|
|
@@ -14049,6 +14500,17 @@
|
|
|
14049
14500
|
"type"
|
|
14050
14501
|
],
|
|
14051
14502
|
"properties": {
|
|
14503
|
+
"binding": {
|
|
14504
|
+
"oneOf": [
|
|
14505
|
+
{
|
|
14506
|
+
"type": "null"
|
|
14507
|
+
},
|
|
14508
|
+
{
|
|
14509
|
+
"$ref": "#/components/schemas/BusinessInfoField",
|
|
14510
|
+
"description": "The business-information key this field answers, in a KYB step's business-details\nform. Meaningless in any other form."
|
|
14511
|
+
}
|
|
14512
|
+
]
|
|
14513
|
+
},
|
|
14052
14514
|
"label": {
|
|
14053
14515
|
"type": "object",
|
|
14054
14516
|
"additionalProperties": {
|
|
@@ -14205,6 +14667,18 @@
|
|
|
14205
14667
|
"ENHANCED"
|
|
14206
14668
|
]
|
|
14207
14669
|
},
|
|
14670
|
+
"KybCaseFlag": {
|
|
14671
|
+
"type": "string",
|
|
14672
|
+
"description": "A flag a KYB case carries on the Home page and in the Inbox: something about the file a reviewer should see\nbefore anything else.",
|
|
14673
|
+
"enum": [
|
|
14674
|
+
"SANCTIONS_HIT",
|
|
14675
|
+
"PEP",
|
|
14676
|
+
"ADVERSE_MEDIA",
|
|
14677
|
+
"REGISTER_MISMATCH",
|
|
14678
|
+
"MISSING_DOCUMENTS",
|
|
14679
|
+
"OWNER_KYC_PENDING"
|
|
14680
|
+
]
|
|
14681
|
+
},
|
|
14208
14682
|
"KybCaseOfficersResponse": {
|
|
14209
14683
|
"type": "object",
|
|
14210
14684
|
"description": "A KYB case's officers: the ultimate beneficial owners and the directors the case screens and\ninvites into KYC. What the case's officer routes answer — the roster as it stands after the act.",
|
|
@@ -14278,6 +14752,14 @@
|
|
|
14278
14752
|
"CANCELLED"
|
|
14279
14753
|
]
|
|
14280
14754
|
},
|
|
14755
|
+
"KybCaseType": {
|
|
14756
|
+
"type": "string",
|
|
14757
|
+
"description": "What kind of review a case is: the first look at a company, or a later one.\n\nDerived at read time, like the rest of this module, from whether the case re-verifies an\nearlier one and from its transitions. There is no `EVENT_DRIVEN` yet: nothing opens a case on\nan event.",
|
|
14758
|
+
"enum": [
|
|
14759
|
+
"ONBOARDING",
|
|
14760
|
+
"PERIODIC_REVIEW"
|
|
14761
|
+
]
|
|
14762
|
+
},
|
|
14281
14763
|
"KybCommunication": {
|
|
14282
14764
|
"type": "object",
|
|
14283
14765
|
"required": [
|
|
@@ -14363,6 +14845,25 @@
|
|
|
14363
14845
|
"default": "true",
|
|
14364
14846
|
"example": "true"
|
|
14365
14847
|
},
|
|
14848
|
+
"businessInfoForm": {
|
|
14849
|
+
"oneOf": [
|
|
14850
|
+
{
|
|
14851
|
+
"type": "null"
|
|
14852
|
+
},
|
|
14853
|
+
{
|
|
14854
|
+
"$ref": "#/components/schemas/Form",
|
|
14855
|
+
"description": "The business-details form the step asks: the one `businessInfoFormId` names, or the\nstandard one. Filled in when the flow is read, over whatever the config carried."
|
|
14856
|
+
}
|
|
14857
|
+
]
|
|
14858
|
+
},
|
|
14859
|
+
"businessInfoFormId": {
|
|
14860
|
+
"type": [
|
|
14861
|
+
"string",
|
|
14862
|
+
"null"
|
|
14863
|
+
],
|
|
14864
|
+
"format": "uuid",
|
|
14865
|
+
"description": "The form the company answers about itself, from the organization's form library. Its\nfields bound to a business-information key are the company's business information; the\nothers are the organization's own questions. Omitted: the platform's standard form."
|
|
14866
|
+
},
|
|
14366
14867
|
"collectDirectors": {
|
|
14367
14868
|
"type": "boolean",
|
|
14368
14869
|
"default": "false",
|
|
@@ -14553,14 +15054,11 @@
|
|
|
14553
15054
|
"KybDirectorsConfig": {
|
|
14554
15055
|
"type": "object",
|
|
14555
15056
|
"description": "Configuration for the `KYB_DIRECTORS` satellite step.\n\nCarries the director declaration settings previously bundled into the monolithic\n`KybConfig` (gated there by `collect_directors: bool`). The existence of this step\nreplaces that boolean. `kyb_step_id` points at the anchor `KYB` step.\n\n`kyc_flow_id` is a copy independent from `KybUbosConfig.kyc_flow_id` — this enables\na *different* KYC flow for directors than for UBOs, a new capability.",
|
|
14556
|
-
"required": [
|
|
14557
|
-
"kybStepId"
|
|
14558
|
-
],
|
|
14559
15057
|
"properties": {
|
|
14560
15058
|
"kybStepId": {
|
|
14561
15059
|
"type": "string",
|
|
14562
15060
|
"format": "uuid",
|
|
14563
|
-
"description": "The anchor KYB step this directors satellite belongs to."
|
|
15061
|
+
"description": "The anchor KYB step this directors satellite belongs to. See `KybDocumentsConfig::kyb_step_id`."
|
|
14564
15062
|
},
|
|
14565
15063
|
"kycFlowId": {
|
|
14566
15064
|
"type": "string",
|
|
@@ -14918,9 +15416,6 @@
|
|
|
14918
15416
|
"KybDocumentsConfig": {
|
|
14919
15417
|
"type": "object",
|
|
14920
15418
|
"description": "Configuration for the `KYB_DOCUMENTS` satellite step.\n\nCarries the document requirements previously bundled into the monolithic `KybConfig`.\n`kyb_step_id` points at the anchor `KYB` step (same pattern as `LivenessConfig.document_step_id`).\n\n**Deprecated document inputs.** `certificateOfIncorporation`, `articlesOfAssociation`,\n`organizationalStructureChart`, `proofOfAttorney` and `customDocuments` are still accepted on\ninput and folded into `customCountryDocuments[\"**\"]` (see\n`KybDocumentCatalog::fold_legacy_documents`); they are never serialized.",
|
|
14921
|
-
"required": [
|
|
14922
|
-
"kybStepId"
|
|
14923
|
-
],
|
|
14924
15419
|
"properties": {
|
|
14925
15420
|
"customCountryDocuments": {
|
|
14926
15421
|
"type": "object",
|
|
@@ -14954,7 +15449,7 @@
|
|
|
14954
15449
|
"kybStepId": {
|
|
14955
15450
|
"type": "string",
|
|
14956
15451
|
"format": "uuid",
|
|
14957
|
-
"description": "The anchor KYB step this documents satellite belongs to."
|
|
15452
|
+
"description": "The anchor KYB step this documents satellite belongs to. May be omitted where the anchor\ndoesn't exist yet (a flow setup draft); a step can't be saved without one."
|
|
14958
15453
|
},
|
|
14959
15454
|
"labels": {
|
|
14960
15455
|
"type": "object",
|
|
@@ -14993,6 +15488,34 @@
|
|
|
14993
15488
|
}
|
|
14994
15489
|
}
|
|
14995
15490
|
},
|
|
15491
|
+
"KybFormAnswer": {
|
|
15492
|
+
"type": "object",
|
|
15493
|
+
"description": "The answer the case holds to one of the organization's own business-details questions.",
|
|
15494
|
+
"required": [
|
|
15495
|
+
"key",
|
|
15496
|
+
"field"
|
|
15497
|
+
],
|
|
15498
|
+
"properties": {
|
|
15499
|
+
"field": {
|
|
15500
|
+
"$ref": "#/components/schemas/InputField",
|
|
15501
|
+
"description": "The question as the form asks it: its labels, type and choices. Its own value is left\nout: the answer is `value`."
|
|
15502
|
+
},
|
|
15503
|
+
"key": {
|
|
15504
|
+
"type": "string",
|
|
15505
|
+
"description": "The key the cross-check, the clarifications and the edits name it by: `form.<name>`."
|
|
15506
|
+
},
|
|
15507
|
+
"text": {
|
|
15508
|
+
"type": [
|
|
15509
|
+
"string",
|
|
15510
|
+
"null"
|
|
15511
|
+
],
|
|
15512
|
+
"description": "The answer as text, as the cross-check compares it: a select's choice by its label, a date\nby its day."
|
|
15513
|
+
},
|
|
15514
|
+
"value": {
|
|
15515
|
+
"description": "The answer as the case holds it now, an analyst's correction included; `None` unanswered."
|
|
15516
|
+
}
|
|
15517
|
+
}
|
|
15518
|
+
},
|
|
14996
15519
|
"KybMetadata": {
|
|
14997
15520
|
"type": "object",
|
|
14998
15521
|
"description": "The KYB result metadata bag. Empty by default.",
|
|
@@ -15008,6 +15531,10 @@
|
|
|
15008
15531
|
}
|
|
15009
15532
|
]
|
|
15010
15533
|
},
|
|
15534
|
+
"example": {
|
|
15535
|
+
"type": "boolean",
|
|
15536
|
+
"description": "Whether this is the example case an organization is created with rather than a business\nsomebody submitted: fictional company, sample documents, no register queried and nothing\nbilled. Absent on every other result."
|
|
15537
|
+
},
|
|
15011
15538
|
"ownershipStructure": {
|
|
15012
15539
|
"oneOf": [
|
|
15013
15540
|
{
|
|
@@ -15088,6 +15615,16 @@
|
|
|
15088
15615
|
],
|
|
15089
15616
|
"format": "uuid"
|
|
15090
15617
|
},
|
|
15618
|
+
"businessInfoRequiredFields": {
|
|
15619
|
+
"type": [
|
|
15620
|
+
"array",
|
|
15621
|
+
"null"
|
|
15622
|
+
],
|
|
15623
|
+
"items": {
|
|
15624
|
+
"$ref": "#/components/schemas/BusinessInfoField"
|
|
15625
|
+
},
|
|
15626
|
+
"description": "The business information the case must have: the keys its KYB step's business-details form\nrequired. `None` when not recorded, or not loaded: every field. Set by callers that read\nthe case, like `document_checks`."
|
|
15627
|
+
},
|
|
15091
15628
|
"businessInformation": {
|
|
15092
15629
|
"oneOf": [
|
|
15093
15630
|
{
|
|
@@ -15172,6 +15709,16 @@
|
|
|
15172
15709
|
],
|
|
15173
15710
|
"format": "uuid"
|
|
15174
15711
|
},
|
|
15712
|
+
"formAnswers": {
|
|
15713
|
+
"type": [
|
|
15714
|
+
"array",
|
|
15715
|
+
"null"
|
|
15716
|
+
],
|
|
15717
|
+
"items": {
|
|
15718
|
+
"$ref": "#/components/schemas/KybFormAnswer"
|
|
15719
|
+
},
|
|
15720
|
+
"description": "The answers to the organization's own business-details questions, in the order its form\nasks them: fields of the case like the business information, compared and clarified under\ntheir key (`form.<name>`). `None` when not loaded; set by callers that read the case, like\n`document_checks`."
|
|
15721
|
+
},
|
|
15175
15722
|
"fundedAt": {
|
|
15176
15723
|
"type": [
|
|
15177
15724
|
"string",
|
|
@@ -15365,9 +15912,6 @@
|
|
|
15365
15912
|
"KybUbosConfig": {
|
|
15366
15913
|
"type": "object",
|
|
15367
15914
|
"description": "Configuration for the `KYB_UBOS` satellite step.\n\nCarries the UBO declaration + child-KYC invitation settings previously bundled\ninto the monolithic `KybConfig`. `kyb_step_id` points at the anchor `KYB` step.",
|
|
15368
|
-
"required": [
|
|
15369
|
-
"kybStepId"
|
|
15370
|
-
],
|
|
15371
15915
|
"properties": {
|
|
15372
15916
|
"autoSendUboKycEmail": {
|
|
15373
15917
|
"type": "boolean",
|
|
@@ -15378,7 +15922,7 @@
|
|
|
15378
15922
|
"kybStepId": {
|
|
15379
15923
|
"type": "string",
|
|
15380
15924
|
"format": "uuid",
|
|
15381
|
-
"description": "The anchor KYB step this UBOs satellite belongs to."
|
|
15925
|
+
"description": "The anchor KYB step this UBOs satellite belongs to. See `KybDocumentsConfig::kyb_step_id`."
|
|
15382
15926
|
},
|
|
15383
15927
|
"kycFlowId": {
|
|
15384
15928
|
"type": "string",
|
|
@@ -15428,6 +15972,11 @@
|
|
|
15428
15972
|
}
|
|
15429
15973
|
}
|
|
15430
15974
|
},
|
|
15975
|
+
"KycReportPdf": {
|
|
15976
|
+
"type": "string",
|
|
15977
|
+
"format": "binary",
|
|
15978
|
+
"description": "A document verification result's KYC report: the PDF file itself, sent as the response body.\nDescribed as binary so generated clients read it as a file rather than as JSON."
|
|
15979
|
+
},
|
|
15431
15980
|
"ListOrganizationFlowResultsResponse": {
|
|
15432
15981
|
"type": "object",
|
|
15433
15982
|
"required": [
|
|
@@ -16719,6 +17268,16 @@
|
|
|
16719
17268
|
}
|
|
16720
17269
|
}
|
|
16721
17270
|
},
|
|
17271
|
+
"PrincipalKind": {
|
|
17272
|
+
"type": "string",
|
|
17273
|
+
"description": "What kind of principal took an act. Stored as TEXT, mirrored by the `actorKind` CHECK\nconstraints.\n\nRecorded, never enforced: Casbin remains the whole authorisation boundary, and an organization\nthat does not want its bot deciding restricts it by role and by the flow's agentic mode. What\nthis buys is that a sealed decision can say a bot took it, and whose bot — which no row could\nsay before, because a decision named one identity id and nothing else.\n\n`Person` is the default because it is the only kind an unmarked historical row can be: every\nwriter that is not a person learned to say so in the same change that added the column.",
|
|
17274
|
+
"enum": [
|
|
17275
|
+
"PERSON",
|
|
17276
|
+
"BOT",
|
|
17277
|
+
"API_KEY",
|
|
17278
|
+
"SYSTEM"
|
|
17279
|
+
]
|
|
17280
|
+
},
|
|
16722
17281
|
"ProcessAdditionalData": {
|
|
16723
17282
|
"type": "object",
|
|
16724
17283
|
"description": "Typed representation of process_additional_data stored in DV results.\n\nThis struct captures all the additional data associated with document\nverification processing, including document scan status, image quality\nchecks, security checks, and liveness data.\n\n# Deserialization\n\nSupports both new abstract format and legacy format. The main difference\nis in the `imageQuality` field:\n\n**New format:**\n```json\n{\n \"imageQuality\": [\n { \"checkType\": \"focus\", \"result\": \"passed\", \"probability\": 97 }\n ]\n}\n```\n\n**Legacy format:**\n```json\n{\n \"imageQuality\": [\n {\n \"count\": 6,\n \"list\": [\n { \"type\": 1, \"result\": 0, \"probability\": 97, ... }\n ],\n \"result\": 0\n }\n ]\n}\n```",
|
|
@@ -17086,7 +17645,6 @@
|
|
|
17086
17645
|
"type": "object",
|
|
17087
17646
|
"description": "Response for `POST .../kyb-cases/{case_id}/documents/purchase`. Partial acceptance: only a\nrequest where *every* document is refused is a `400`.",
|
|
17088
17647
|
"required": [
|
|
17089
|
-
"verificationRequestId",
|
|
17090
17648
|
"quotedCreditsTotal",
|
|
17091
17649
|
"purchases"
|
|
17092
17650
|
],
|
|
@@ -17103,9 +17661,12 @@
|
|
|
17103
17661
|
"description": "Sum of `quotedCredits` over accepted documents only."
|
|
17104
17662
|
},
|
|
17105
17663
|
"verificationRequestId": {
|
|
17106
|
-
"type":
|
|
17664
|
+
"type": [
|
|
17665
|
+
"string",
|
|
17666
|
+
"null"
|
|
17667
|
+
],
|
|
17107
17668
|
"format": "uuid",
|
|
17108
|
-
"description": "The KYB's anchor verification request — the websocket room for `discovery-update`."
|
|
17669
|
+
"description": "The KYB's anchor verification request — the websocket room for `discovery-update`. Omitted for a case nobody\nhas been anchored to yet, which has no room to push to."
|
|
17109
17670
|
}
|
|
17110
17671
|
}
|
|
17111
17672
|
},
|
|
@@ -17365,7 +17926,8 @@
|
|
|
17365
17926
|
"postcode",
|
|
17366
17927
|
"country",
|
|
17367
17928
|
"socialSecurityNumber",
|
|
17368
|
-
"expirationDate"
|
|
17929
|
+
"expirationDate",
|
|
17930
|
+
"documentNumber"
|
|
17369
17931
|
]
|
|
17370
17932
|
},
|
|
17371
17933
|
"ResultControlOperation": {
|
|
@@ -18052,6 +18614,66 @@
|
|
|
18052
18614
|
}
|
|
18053
18615
|
}
|
|
18054
18616
|
},
|
|
18617
|
+
"SearchFlowResultsRequest": {
|
|
18618
|
+
"type": "object",
|
|
18619
|
+
"description": "What to look flow results up by. At least one of `email` and `customData` is required; when\nseveral criteria are given, a flow result has to match all of them.",
|
|
18620
|
+
"properties": {
|
|
18621
|
+
"customData": {
|
|
18622
|
+
"type": [
|
|
18623
|
+
"object",
|
|
18624
|
+
"null"
|
|
18625
|
+
],
|
|
18626
|
+
"description": "Custom data the flow result has to carry: every key given here has to be present with\nthe same value. Keys you leave out are not compared."
|
|
18627
|
+
},
|
|
18628
|
+
"email": {
|
|
18629
|
+
"type": [
|
|
18630
|
+
"string",
|
|
18631
|
+
"null"
|
|
18632
|
+
],
|
|
18633
|
+
"description": "Email address of the user, as given when the verification request was created. Matched\nexactly, ignoring letter case.",
|
|
18634
|
+
"example": "jane.doe@example.com"
|
|
18635
|
+
},
|
|
18636
|
+
"flowSlug": {
|
|
18637
|
+
"type": [
|
|
18638
|
+
"string",
|
|
18639
|
+
"null"
|
|
18640
|
+
],
|
|
18641
|
+
"description": "Limits the search to one flow. Without it, every flow of the organization is searched.",
|
|
18642
|
+
"example": "kyc-flow"
|
|
18643
|
+
},
|
|
18644
|
+
"skip": {
|
|
18645
|
+
"type": "integer",
|
|
18646
|
+
"format": "int32",
|
|
18647
|
+
"minimum": 0
|
|
18648
|
+
},
|
|
18649
|
+
"take": {
|
|
18650
|
+
"type": "integer",
|
|
18651
|
+
"format": "int32",
|
|
18652
|
+
"example": 20,
|
|
18653
|
+
"minimum": 0
|
|
18654
|
+
}
|
|
18655
|
+
}
|
|
18656
|
+
},
|
|
18657
|
+
"SearchFlowResultsResponse": {
|
|
18658
|
+
"type": "object",
|
|
18659
|
+
"required": [
|
|
18660
|
+
"page",
|
|
18661
|
+
"totalCount"
|
|
18662
|
+
],
|
|
18663
|
+
"properties": {
|
|
18664
|
+
"page": {
|
|
18665
|
+
"type": "array",
|
|
18666
|
+
"items": {
|
|
18667
|
+
"$ref": "#/components/schemas/FlowResultStatusSummary"
|
|
18668
|
+
}
|
|
18669
|
+
},
|
|
18670
|
+
"totalCount": {
|
|
18671
|
+
"type": "integer",
|
|
18672
|
+
"format": "int64",
|
|
18673
|
+
"minimum": 0
|
|
18674
|
+
}
|
|
18675
|
+
}
|
|
18676
|
+
},
|
|
18055
18677
|
"SecurityCheckType": {
|
|
18056
18678
|
"type": "string",
|
|
18057
18679
|
"description": "Canonical security/authenticity check types.",
|
|
@@ -18117,6 +18739,17 @@
|
|
|
18117
18739
|
"Settings": {
|
|
18118
18740
|
"type": "object",
|
|
18119
18741
|
"properties": {
|
|
18742
|
+
"amlScreening": {
|
|
18743
|
+
"oneOf": [
|
|
18744
|
+
{
|
|
18745
|
+
"type": "null"
|
|
18746
|
+
},
|
|
18747
|
+
{
|
|
18748
|
+
"$ref": "#/components/schemas/FlowAmlScreening",
|
|
18749
|
+
"description": "The flow's AML screening and ongoing monitoring. `None` on a flow created before the\nsetting; see `SettingsData::V0::aml_screening`."
|
|
18750
|
+
}
|
|
18751
|
+
]
|
|
18752
|
+
},
|
|
18120
18753
|
"askPasskeyCreation": {
|
|
18121
18754
|
"type": [
|
|
18122
18755
|
"boolean",
|
|
@@ -18159,6 +18792,13 @@
|
|
|
18159
18792
|
],
|
|
18160
18793
|
"description": "When true (default), always require vault unlock for one-click KYC even if a grant already exists.\nWhen false, skip vault unlock if an active KYC grant already exists for the organization.\nOptional so that patch requests only write this field when explicitly provided."
|
|
18161
18794
|
},
|
|
18795
|
+
"oneClickSkipDocumentSelection": {
|
|
18796
|
+
"type": [
|
|
18797
|
+
"boolean",
|
|
18798
|
+
"null"
|
|
18799
|
+
],
|
|
18800
|
+
"description": "When true, a returning holder is not asked which vault document to reuse: a document\nthey already shared with this organization is reused directly. Documents only ever\nshared with other organizations still need the holder to pick them. Defaults to false.\nOptional so that patch requests only write this field when explicitly provided."
|
|
18801
|
+
},
|
|
18162
18802
|
"published": {
|
|
18163
18803
|
"type": "boolean"
|
|
18164
18804
|
},
|
|
@@ -19634,89 +20274,6 @@
|
|
|
19634
20274
|
}
|
|
19635
20275
|
}
|
|
19636
20276
|
},
|
|
19637
|
-
"TopupPack": {
|
|
19638
|
-
"type": "object",
|
|
19639
|
-
"description": "A top-up pack: a one-time purchase that adds credits to the organization's balance and\ncan optionally unlock products.",
|
|
19640
|
-
"required": [
|
|
19641
|
-
"priceId",
|
|
19642
|
-
"name",
|
|
19643
|
-
"credits",
|
|
19644
|
-
"amountCents",
|
|
19645
|
-
"currency"
|
|
19646
|
-
],
|
|
19647
|
-
"properties": {
|
|
19648
|
-
"amountCents": {
|
|
19649
|
-
"type": "integer",
|
|
19650
|
-
"format": "int64",
|
|
19651
|
-
"description": "Price amount in the smallest currency unit (e.g. cents)"
|
|
19652
|
-
},
|
|
19653
|
-
"credits": {
|
|
19654
|
-
"type": "integer",
|
|
19655
|
-
"format": "int64",
|
|
19656
|
-
"description": "Number of credits granted by this pack, from metadata `credits`"
|
|
19657
|
-
},
|
|
19658
|
-
"currency": {
|
|
19659
|
-
"$ref": "#/components/schemas/Currency"
|
|
19660
|
-
},
|
|
19661
|
-
"enabledProducts": {
|
|
19662
|
-
"type": "array",
|
|
19663
|
-
"items": {
|
|
19664
|
-
"$ref": "#/components/schemas/ProductType"
|
|
19665
|
-
},
|
|
19666
|
-
"description": "Products this pack enables in the production environment when it is purchased. Empty\nwhen the pack grants credits only."
|
|
19667
|
-
},
|
|
19668
|
-
"isPrivate": {
|
|
19669
|
-
"type": "boolean",
|
|
19670
|
-
"description": "`true` when the price carries `zyphe_visibility=private` metadata: a bespoke pack that\nmust never appear in the public catalog and is usable only by the organization named in\n`organization_id`. Defaults to `false` so an untagged price stays public, and so cached\ncatalog entries serialized before this field existed still deserialize."
|
|
19671
|
-
},
|
|
19672
|
-
"name": {
|
|
19673
|
-
"type": "string",
|
|
19674
|
-
"description": "Display name: nickname > product name > price ID"
|
|
19675
|
-
},
|
|
19676
|
-
"organizationId": {
|
|
19677
|
-
"type": [
|
|
19678
|
-
"string",
|
|
19679
|
-
"null"
|
|
19680
|
-
],
|
|
19681
|
-
"description": "The organization a private pack belongs to, from price metadata `organization_id`.\nMeaningless (and normally absent) on a public pack. A private pack WITHOUT this is\nusable by nobody — failing closed beats leaking a bespoke price to every customer."
|
|
19682
|
-
},
|
|
19683
|
-
"priceId": {
|
|
19684
|
-
"type": "string",
|
|
19685
|
-
"description": "The pack's price ID. Pass it as `priceId` when creating a top-up checkout session."
|
|
19686
|
-
},
|
|
19687
|
-
"sandboxEnabledProducts": {
|
|
19688
|
-
"type": "array",
|
|
19689
|
-
"items": {
|
|
19690
|
-
"$ref": "#/components/schemas/ProductType"
|
|
19691
|
-
},
|
|
19692
|
-
"description": "Products this pack enables in the sandbox environment when it is purchased. Separate\nfrom `enabledProducts` because an organization may be allowed to try a product in\nsandbox without being able to use it in production. Empty when none."
|
|
19693
|
-
},
|
|
19694
|
-
"validityMonths": {
|
|
19695
|
-
"type": [
|
|
19696
|
-
"integer",
|
|
19697
|
-
"null"
|
|
19698
|
-
],
|
|
19699
|
-
"format": "int32",
|
|
19700
|
-
"description": "Optional validity window (in months) for the granted credits, from metadata `validity_months`",
|
|
19701
|
-
"minimum": 0
|
|
19702
|
-
}
|
|
19703
|
-
}
|
|
19704
|
-
},
|
|
19705
|
-
"TopupPacksResponse": {
|
|
19706
|
-
"type": "object",
|
|
19707
|
-
"description": "Response for the top-up pack catalog endpoint (`GET .../billing/topup-packs`).",
|
|
19708
|
-
"required": [
|
|
19709
|
-
"packs"
|
|
19710
|
-
],
|
|
19711
|
-
"properties": {
|
|
19712
|
-
"packs": {
|
|
19713
|
-
"type": "array",
|
|
19714
|
-
"items": {
|
|
19715
|
-
"$ref": "#/components/schemas/TopupPack"
|
|
19716
|
-
}
|
|
19717
|
-
}
|
|
19718
|
-
}
|
|
19719
|
-
},
|
|
19720
20277
|
"TraversalSummary": {
|
|
19721
20278
|
"type": "object",
|
|
19722
20279
|
"description": "Summary of the automatic ownership discovery: the relevance threshold it uses, its credit\nbudget, what it has spent so far and, once finished, how it ended. Returned to your\norganization only, never to the applicant.",
|
|
@@ -19918,9 +20475,15 @@
|
|
|
19918
20475
|
"validation_kyb_config_match",
|
|
19919
20476
|
"validation_kyb_config_already_uses_this_kyc_flow_id",
|
|
19920
20477
|
"validation_kyb_require_kyc_needs_kyc_flow",
|
|
20478
|
+
"validation_copy_flow_kyc_flow_not_mapped",
|
|
20479
|
+
"validation_flow_backs_template",
|
|
20480
|
+
"validation_flow_holds_example_case",
|
|
20481
|
+
"validation_kyc_flow_is_template",
|
|
19921
20482
|
"validation_kyb_moderation_status_wrong",
|
|
19922
20483
|
"validation_kyb_missing_required_documents",
|
|
19923
20484
|
"validation_form_name_exists",
|
|
20485
|
+
"validation_kyb_business_info_form_not_found",
|
|
20486
|
+
"validation_kyb_business_info_form_invalid",
|
|
19924
20487
|
"validation_database_error",
|
|
19925
20488
|
"validation_flow_name_invalid",
|
|
19926
20489
|
"validation_flow_slug_name_invalid",
|