@zyphe-sdk/core 0.8.0 → 0.10.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 +633 -263
- package/dist/index.js +58 -3
- package/dist/index.js.map +1 -1
- package/dist/openapi.d.ts +504 -260
- package/dist/openapi.json +1078 -492
- 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.2"
|
|
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,14 +3317,14 @@
|
|
|
3220
3317
|
]
|
|
3221
3318
|
}
|
|
3222
3319
|
},
|
|
3223
|
-
"/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/flow/{flow_slug}/
|
|
3320
|
+
"/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/flow/{flow_slug}/dv/{dv_result_id}/report": {
|
|
3224
3321
|
"get": {
|
|
3225
3322
|
"tags": [
|
|
3226
3323
|
"SDK: Organizations"
|
|
3227
3324
|
],
|
|
3228
|
-
"summary": "
|
|
3229
|
-
"description": "Returns the
|
|
3230
|
-
"operationId": "
|
|
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",
|
|
3231
3328
|
"parameters": [
|
|
3232
3329
|
{
|
|
3233
3330
|
"name": "sandbox",
|
|
@@ -3280,9 +3377,9 @@
|
|
|
3280
3377
|
"example": "flow-slug"
|
|
3281
3378
|
},
|
|
3282
3379
|
{
|
|
3283
|
-
"name": "
|
|
3380
|
+
"name": "dv_result_id",
|
|
3284
3381
|
"in": "path",
|
|
3285
|
-
"description": "The ID of the
|
|
3382
|
+
"description": "The ID of the DV result",
|
|
3286
3383
|
"required": true,
|
|
3287
3384
|
"schema": {
|
|
3288
3385
|
"type": "string",
|
|
@@ -3293,11 +3390,11 @@
|
|
|
3293
3390
|
],
|
|
3294
3391
|
"responses": {
|
|
3295
3392
|
"200": {
|
|
3296
|
-
"description": "",
|
|
3393
|
+
"description": "The report PDF",
|
|
3297
3394
|
"content": {
|
|
3298
|
-
"application/
|
|
3395
|
+
"application/pdf": {
|
|
3299
3396
|
"schema": {
|
|
3300
|
-
"
|
|
3397
|
+
"$ref": "#/components/schemas/KycReportPdf"
|
|
3301
3398
|
}
|
|
3302
3399
|
}
|
|
3303
3400
|
}
|
|
@@ -3340,14 +3437,14 @@
|
|
|
3340
3437
|
]
|
|
3341
3438
|
}
|
|
3342
3439
|
},
|
|
3343
|
-
"/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/flow/{flow_slug}/
|
|
3440
|
+
"/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/flow/{flow_slug}/poa/{poa_result_id}/details": {
|
|
3344
3441
|
"get": {
|
|
3345
3442
|
"tags": [
|
|
3346
3443
|
"SDK: Organizations"
|
|
3347
3444
|
],
|
|
3348
|
-
"summary": "Get
|
|
3349
|
-
"description": "Returns the result of one
|
|
3350
|
-
"operationId": "
|
|
3445
|
+
"summary": "Get proof of address result details",
|
|
3446
|
+
"description": "Returns the full result of one proof of address step, with the address document the user\nuploaded and the data read from it.",
|
|
3447
|
+
"operationId": "getProofOfAddressResultDetails",
|
|
3351
3448
|
"parameters": [
|
|
3352
3449
|
{
|
|
3353
3450
|
"name": "sandbox",
|
|
@@ -3400,9 +3497,9 @@
|
|
|
3400
3497
|
"example": "flow-slug"
|
|
3401
3498
|
},
|
|
3402
3499
|
{
|
|
3403
|
-
"name": "
|
|
3500
|
+
"name": "poa_result_id",
|
|
3404
3501
|
"in": "path",
|
|
3405
|
-
"description": "The ID of the
|
|
3502
|
+
"description": "The ID of the POA result",
|
|
3406
3503
|
"required": true,
|
|
3407
3504
|
"schema": {
|
|
3408
3505
|
"type": "string",
|
|
@@ -3415,9 +3512,9 @@
|
|
|
3415
3512
|
"200": {
|
|
3416
3513
|
"description": "",
|
|
3417
3514
|
"content": {
|
|
3418
|
-
"application/
|
|
3515
|
+
"application/x-protobuf-stream": {
|
|
3419
3516
|
"schema": {
|
|
3420
|
-
"
|
|
3517
|
+
"type": "string"
|
|
3421
3518
|
}
|
|
3422
3519
|
}
|
|
3423
3520
|
}
|
|
@@ -3460,14 +3557,14 @@
|
|
|
3460
3557
|
]
|
|
3461
3558
|
}
|
|
3462
3559
|
},
|
|
3463
|
-
"/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/flow/{flow_slug}/
|
|
3560
|
+
"/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/flow/{flow_slug}/wallet/{wallet_result_id}/details": {
|
|
3464
3561
|
"get": {
|
|
3465
3562
|
"tags": [
|
|
3466
3563
|
"SDK: Organizations"
|
|
3467
3564
|
],
|
|
3468
|
-
"summary": "Get
|
|
3469
|
-
"description": "Returns the result of one
|
|
3470
|
-
"operationId": "
|
|
3565
|
+
"summary": "Get wallet result details",
|
|
3566
|
+
"description": "Returns the result of one wallet step: the wallet address and chain the user proved they\ncontrol, the signed message, and the step's status.",
|
|
3567
|
+
"operationId": "getWalletResultDetails",
|
|
3471
3568
|
"parameters": [
|
|
3472
3569
|
{
|
|
3473
3570
|
"name": "sandbox",
|
|
@@ -3520,9 +3617,9 @@
|
|
|
3520
3617
|
"example": "flow-slug"
|
|
3521
3618
|
},
|
|
3522
3619
|
{
|
|
3523
|
-
"name": "
|
|
3620
|
+
"name": "wallet_result_id",
|
|
3524
3621
|
"in": "path",
|
|
3525
|
-
"description": "The ID of the
|
|
3622
|
+
"description": "The ID of the wallet result",
|
|
3526
3623
|
"required": true,
|
|
3527
3624
|
"schema": {
|
|
3528
3625
|
"type": "string",
|
|
@@ -3537,7 +3634,7 @@
|
|
|
3537
3634
|
"content": {
|
|
3538
3635
|
"application/json": {
|
|
3539
3636
|
"schema": {
|
|
3540
|
-
"$ref": "#/components/schemas/
|
|
3637
|
+
"$ref": "#/components/schemas/WalletResult"
|
|
3541
3638
|
}
|
|
3542
3639
|
}
|
|
3543
3640
|
}
|
|
@@ -3580,14 +3677,14 @@
|
|
|
3580
3677
|
]
|
|
3581
3678
|
}
|
|
3582
3679
|
},
|
|
3583
|
-
"/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/flow/{flow_slug}/
|
|
3680
|
+
"/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/flow/{flow_slug}/phone/{phone_result_id}/details": {
|
|
3584
3681
|
"get": {
|
|
3585
3682
|
"tags": [
|
|
3586
3683
|
"SDK: Organizations"
|
|
3587
3684
|
],
|
|
3588
|
-
"summary": "Get
|
|
3589
|
-
"description": "Returns the
|
|
3590
|
-
"operationId": "
|
|
3685
|
+
"summary": "Get phone result details",
|
|
3686
|
+
"description": "Returns the result of one phone step: the phone number the user verified and the step's status.",
|
|
3687
|
+
"operationId": "getPhoneResultDetails",
|
|
3591
3688
|
"parameters": [
|
|
3592
3689
|
{
|
|
3593
3690
|
"name": "sandbox",
|
|
@@ -3640,9 +3737,9 @@
|
|
|
3640
3737
|
"example": "flow-slug"
|
|
3641
3738
|
},
|
|
3642
3739
|
{
|
|
3643
|
-
"name": "
|
|
3740
|
+
"name": "phone_result_id",
|
|
3644
3741
|
"in": "path",
|
|
3645
|
-
"description": "The ID of the
|
|
3742
|
+
"description": "The ID of the phone result",
|
|
3646
3743
|
"required": true,
|
|
3647
3744
|
"schema": {
|
|
3648
3745
|
"type": "string",
|
|
@@ -3657,7 +3754,7 @@
|
|
|
3657
3754
|
"content": {
|
|
3658
3755
|
"application/json": {
|
|
3659
3756
|
"schema": {
|
|
3660
|
-
"$ref": "#/components/schemas/
|
|
3757
|
+
"$ref": "#/components/schemas/PhoneResult"
|
|
3661
3758
|
}
|
|
3662
3759
|
}
|
|
3663
3760
|
}
|
|
@@ -3700,14 +3797,14 @@
|
|
|
3700
3797
|
]
|
|
3701
3798
|
}
|
|
3702
3799
|
},
|
|
3703
|
-
"/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/details": {
|
|
3800
|
+
"/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/flow/{flow_slug}/form/{form_result_id}/details": {
|
|
3704
3801
|
"get": {
|
|
3705
3802
|
"tags": [
|
|
3706
3803
|
"SDK: Organizations"
|
|
3707
3804
|
],
|
|
3708
|
-
"summary": "Get
|
|
3709
|
-
"description": "
|
|
3710
|
-
"operationId": "
|
|
3805
|
+
"summary": "Get form result details",
|
|
3806
|
+
"description": "Returns the answers the user gave in one form step, section by section, with the step's status\nand any risk tags the answers assigned.",
|
|
3807
|
+
"operationId": "getFormResultDetails",
|
|
3711
3808
|
"parameters": [
|
|
3712
3809
|
{
|
|
3713
3810
|
"name": "sandbox",
|
|
@@ -3748,6 +3845,27 @@
|
|
|
3748
3845
|
"format": "uuid"
|
|
3749
3846
|
},
|
|
3750
3847
|
"example": "123e4567-e89b-12d3-a456-426614174000"
|
|
3848
|
+
},
|
|
3849
|
+
{
|
|
3850
|
+
"name": "flow_slug",
|
|
3851
|
+
"in": "path",
|
|
3852
|
+
"description": "The slug of the flow",
|
|
3853
|
+
"required": true,
|
|
3854
|
+
"schema": {
|
|
3855
|
+
"type": "string"
|
|
3856
|
+
},
|
|
3857
|
+
"example": "flow-slug"
|
|
3858
|
+
},
|
|
3859
|
+
{
|
|
3860
|
+
"name": "form_result_id",
|
|
3861
|
+
"in": "path",
|
|
3862
|
+
"description": "The ID of the form result",
|
|
3863
|
+
"required": true,
|
|
3864
|
+
"schema": {
|
|
3865
|
+
"type": "string",
|
|
3866
|
+
"format": "uuid"
|
|
3867
|
+
},
|
|
3868
|
+
"example": "123e4567-e89b-12d3-a456-426614174000"
|
|
3751
3869
|
}
|
|
3752
3870
|
],
|
|
3753
3871
|
"responses": {
|
|
@@ -3756,22 +3874,12 @@
|
|
|
3756
3874
|
"content": {
|
|
3757
3875
|
"application/json": {
|
|
3758
3876
|
"schema": {
|
|
3759
|
-
"$ref": "#/components/schemas/
|
|
3760
|
-
}
|
|
3761
|
-
}
|
|
3762
|
-
}
|
|
3763
|
-
},
|
|
3764
|
-
"400": {
|
|
3765
|
-
"description": "",
|
|
3766
|
-
"content": {
|
|
3767
|
-
"application/json": {
|
|
3768
|
-
"schema": {
|
|
3769
|
-
"$ref": "#/components/schemas/BaxeError"
|
|
3877
|
+
"$ref": "#/components/schemas/FormResult"
|
|
3770
3878
|
}
|
|
3771
3879
|
}
|
|
3772
3880
|
}
|
|
3773
3881
|
},
|
|
3774
|
-
"
|
|
3882
|
+
"403": {
|
|
3775
3883
|
"description": "",
|
|
3776
3884
|
"content": {
|
|
3777
3885
|
"application/json": {
|
|
@@ -3781,7 +3889,7 @@
|
|
|
3781
3889
|
}
|
|
3782
3890
|
}
|
|
3783
3891
|
},
|
|
3784
|
-
"
|
|
3892
|
+
"404": {
|
|
3785
3893
|
"description": "",
|
|
3786
3894
|
"content": {
|
|
3787
3895
|
"application/json": {
|
|
@@ -3809,14 +3917,14 @@
|
|
|
3809
3917
|
]
|
|
3810
3918
|
}
|
|
3811
3919
|
},
|
|
3812
|
-
"/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/
|
|
3920
|
+
"/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/details": {
|
|
3813
3921
|
"get": {
|
|
3814
3922
|
"tags": [
|
|
3815
3923
|
"SDK: Organizations"
|
|
3816
3924
|
],
|
|
3817
|
-
"summary": "Get
|
|
3818
|
-
"description": "**Deprecated.** Use \"Get
|
|
3819
|
-
"operationId": "
|
|
3925
|
+
"summary": "Get flow result details (deprecated)",
|
|
3926
|
+
"description": "**Deprecated.** Use \"Get flow result details\", which also takes the flow slug.",
|
|
3927
|
+
"operationId": "getFlowResultDetailsDeprecated",
|
|
3820
3928
|
"parameters": [
|
|
3821
3929
|
{
|
|
3822
3930
|
"name": "sandbox",
|
|
@@ -3857,31 +3965,20 @@
|
|
|
3857
3965
|
"format": "uuid"
|
|
3858
3966
|
},
|
|
3859
3967
|
"example": "123e4567-e89b-12d3-a456-426614174000"
|
|
3860
|
-
},
|
|
3861
|
-
{
|
|
3862
|
-
"name": "dv_result_id",
|
|
3863
|
-
"in": "path",
|
|
3864
|
-
"description": "The ID of the DV result",
|
|
3865
|
-
"required": true,
|
|
3866
|
-
"schema": {
|
|
3867
|
-
"type": "string",
|
|
3868
|
-
"format": "uuid"
|
|
3869
|
-
},
|
|
3870
|
-
"example": "123e4567-e89b-12d3-a456-426614174000"
|
|
3871
3968
|
}
|
|
3872
3969
|
],
|
|
3873
3970
|
"responses": {
|
|
3874
3971
|
"200": {
|
|
3875
3972
|
"description": "",
|
|
3876
3973
|
"content": {
|
|
3877
|
-
"application/
|
|
3974
|
+
"application/json": {
|
|
3878
3975
|
"schema": {
|
|
3879
|
-
"
|
|
3976
|
+
"$ref": "#/components/schemas/FlowResult"
|
|
3880
3977
|
}
|
|
3881
3978
|
}
|
|
3882
3979
|
}
|
|
3883
3980
|
},
|
|
3884
|
-
"
|
|
3981
|
+
"400": {
|
|
3885
3982
|
"description": "",
|
|
3886
3983
|
"content": {
|
|
3887
3984
|
"application/json": {
|
|
@@ -3891,7 +3988,17 @@
|
|
|
3891
3988
|
}
|
|
3892
3989
|
}
|
|
3893
3990
|
},
|
|
3894
|
-
"
|
|
3991
|
+
"401": {
|
|
3992
|
+
"description": "",
|
|
3993
|
+
"content": {
|
|
3994
|
+
"application/json": {
|
|
3995
|
+
"schema": {
|
|
3996
|
+
"$ref": "#/components/schemas/BaxeError"
|
|
3997
|
+
}
|
|
3998
|
+
}
|
|
3999
|
+
}
|
|
4000
|
+
},
|
|
4001
|
+
"403": {
|
|
3895
4002
|
"description": "",
|
|
3896
4003
|
"content": {
|
|
3897
4004
|
"application/json": {
|
|
@@ -3912,6 +4019,7 @@
|
|
|
3912
4019
|
}
|
|
3913
4020
|
}
|
|
3914
4021
|
},
|
|
4022
|
+
"deprecated": true,
|
|
3915
4023
|
"security": [
|
|
3916
4024
|
{
|
|
3917
4025
|
"x-api-key": []
|
|
@@ -3919,14 +4027,14 @@
|
|
|
3919
4027
|
]
|
|
3920
4028
|
}
|
|
3921
4029
|
},
|
|
3922
|
-
"/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/
|
|
4030
|
+
"/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/dv/{dv_result_id}/details": {
|
|
3923
4031
|
"get": {
|
|
3924
4032
|
"tags": [
|
|
3925
4033
|
"SDK: Organizations"
|
|
3926
4034
|
],
|
|
3927
|
-
"summary": "Get
|
|
3928
|
-
"description": "**Deprecated.** Use \"Get
|
|
3929
|
-
"operationId": "
|
|
4035
|
+
"summary": "Get document verification result details (deprecated)",
|
|
4036
|
+
"description": "**Deprecated.** Use \"Get document verification result details\", which also takes the flow slug.",
|
|
4037
|
+
"operationId": "getDocumentVerificationResultDetailsDeprecated",
|
|
3930
4038
|
"parameters": [
|
|
3931
4039
|
{
|
|
3932
4040
|
"name": "sandbox",
|
|
@@ -3968,147 +4076,30 @@
|
|
|
3968
4076
|
},
|
|
3969
4077
|
"example": "123e4567-e89b-12d3-a456-426614174000"
|
|
3970
4078
|
},
|
|
3971
|
-
{
|
|
3972
|
-
"name": "
|
|
3973
|
-
"in": "path",
|
|
3974
|
-
"description": "The ID of the
|
|
3975
|
-
"required": true,
|
|
3976
|
-
"schema": {
|
|
3977
|
-
"type": "string",
|
|
3978
|
-
"format": "uuid"
|
|
3979
|
-
},
|
|
3980
|
-
"example": "123e4567-e89b-12d3-a456-426614174000"
|
|
3981
|
-
}
|
|
3982
|
-
],
|
|
3983
|
-
"responses": {
|
|
3984
|
-
"200": {
|
|
3985
|
-
"description": "",
|
|
3986
|
-
"content": {
|
|
3987
|
-
"application/x-protobuf-stream": {
|
|
3988
|
-
"schema": {
|
|
3989
|
-
"type": "string"
|
|
3990
|
-
}
|
|
3991
|
-
}
|
|
3992
|
-
}
|
|
3993
|
-
},
|
|
3994
|
-
"403": {
|
|
3995
|
-
"description": "",
|
|
3996
|
-
"content": {
|
|
3997
|
-
"application/json": {
|
|
3998
|
-
"schema": {
|
|
3999
|
-
"$ref": "#/components/schemas/BaxeError"
|
|
4000
|
-
}
|
|
4001
|
-
}
|
|
4002
|
-
}
|
|
4003
|
-
},
|
|
4004
|
-
"404": {
|
|
4005
|
-
"description": "",
|
|
4006
|
-
"content": {
|
|
4007
|
-
"application/json": {
|
|
4008
|
-
"schema": {
|
|
4009
|
-
"$ref": "#/components/schemas/BaxeError"
|
|
4010
|
-
}
|
|
4011
|
-
}
|
|
4012
|
-
}
|
|
4013
|
-
},
|
|
4014
|
-
"500": {
|
|
4015
|
-
"description": "",
|
|
4016
|
-
"content": {
|
|
4017
|
-
"application/json": {
|
|
4018
|
-
"schema": {
|
|
4019
|
-
"$ref": "#/components/schemas/BaxeError"
|
|
4020
|
-
}
|
|
4021
|
-
}
|
|
4022
|
-
}
|
|
4023
|
-
}
|
|
4024
|
-
},
|
|
4025
|
-
"security": [
|
|
4026
|
-
{
|
|
4027
|
-
"x-api-key": []
|
|
4028
|
-
}
|
|
4029
|
-
]
|
|
4030
|
-
}
|
|
4031
|
-
},
|
|
4032
|
-
"/sdk/organizations/{organization_id}/aml/screen": {
|
|
4033
|
-
"post": {
|
|
4034
|
-
"tags": [
|
|
4035
|
-
"SDK: AML"
|
|
4036
|
-
],
|
|
4037
|
-
"summary": "Screen a person or company (AML)",
|
|
4038
|
-
"description": "Screens a person or a company against sanctions, politically exposed persons (PEP) and other\nwatchlists, and returns the matching entries in the format named by `format`. The result is\nreturned as found: no risk score is computed and nothing is stored. Each call is charged.",
|
|
4039
|
-
"operationId": "sdkScreenAml",
|
|
4040
|
-
"parameters": [
|
|
4041
|
-
{
|
|
4042
|
-
"name": "organization_id",
|
|
4043
|
-
"in": "path",
|
|
4044
|
-
"description": "Organization ID",
|
|
4045
|
-
"required": true,
|
|
4046
|
-
"schema": {
|
|
4047
|
-
"type": "string",
|
|
4048
|
-
"format": "uuid"
|
|
4049
|
-
}
|
|
4050
|
-
},
|
|
4051
|
-
{
|
|
4052
|
-
"name": "sandbox",
|
|
4053
|
-
"in": "query",
|
|
4054
|
-
"required": true,
|
|
4055
|
-
"schema": {
|
|
4056
|
-
"type": "boolean"
|
|
4057
|
-
},
|
|
4058
|
-
"style": "form"
|
|
4059
|
-
},
|
|
4060
|
-
{
|
|
4061
|
-
"name": "locale",
|
|
4062
|
-
"in": "query",
|
|
4063
|
-
"required": false,
|
|
4064
|
-
"schema": {
|
|
4065
|
-
"$ref": "#/components/schemas/Locale"
|
|
4066
|
-
},
|
|
4067
|
-
"style": "form"
|
|
4068
|
-
}
|
|
4069
|
-
],
|
|
4070
|
-
"requestBody": {
|
|
4071
|
-
"content": {
|
|
4072
|
-
"application/json": {
|
|
4073
|
-
"schema": {
|
|
4074
|
-
"$ref": "#/components/schemas/SdkAmlScreenRequest"
|
|
4075
|
-
}
|
|
4076
|
-
}
|
|
4077
|
-
},
|
|
4078
|
-
"required": true
|
|
4079
|
-
},
|
|
4080
|
-
"responses": {
|
|
4081
|
-
"200": {
|
|
4082
|
-
"description": "",
|
|
4083
|
-
"content": {
|
|
4084
|
-
"application/json": {
|
|
4085
|
-
"schema": {
|
|
4086
|
-
"$ref": "#/components/schemas/SdkAmlScreenResponse"
|
|
4087
|
-
}
|
|
4088
|
-
}
|
|
4089
|
-
}
|
|
4090
|
-
},
|
|
4091
|
-
"400": {
|
|
4092
|
-
"description": "",
|
|
4093
|
-
"content": {
|
|
4094
|
-
"application/json": {
|
|
4095
|
-
"schema": {
|
|
4096
|
-
"$ref": "#/components/schemas/BaxeError"
|
|
4097
|
-
}
|
|
4098
|
-
}
|
|
4099
|
-
}
|
|
4100
|
-
},
|
|
4101
|
-
"401": {
|
|
4079
|
+
{
|
|
4080
|
+
"name": "dv_result_id",
|
|
4081
|
+
"in": "path",
|
|
4082
|
+
"description": "The ID of the DV result",
|
|
4083
|
+
"required": true,
|
|
4084
|
+
"schema": {
|
|
4085
|
+
"type": "string",
|
|
4086
|
+
"format": "uuid"
|
|
4087
|
+
},
|
|
4088
|
+
"example": "123e4567-e89b-12d3-a456-426614174000"
|
|
4089
|
+
}
|
|
4090
|
+
],
|
|
4091
|
+
"responses": {
|
|
4092
|
+
"200": {
|
|
4102
4093
|
"description": "",
|
|
4103
4094
|
"content": {
|
|
4104
|
-
"application/
|
|
4095
|
+
"application/x-protobuf-stream": {
|
|
4105
4096
|
"schema": {
|
|
4106
|
-
"
|
|
4097
|
+
"type": "string"
|
|
4107
4098
|
}
|
|
4108
4099
|
}
|
|
4109
4100
|
}
|
|
4110
4101
|
},
|
|
4111
|
-
"
|
|
4102
|
+
"403": {
|
|
4112
4103
|
"description": "",
|
|
4113
4104
|
"content": {
|
|
4114
4105
|
"application/json": {
|
|
@@ -4118,7 +4109,7 @@
|
|
|
4118
4109
|
}
|
|
4119
4110
|
}
|
|
4120
4111
|
},
|
|
4121
|
-
"
|
|
4112
|
+
"404": {
|
|
4122
4113
|
"description": "",
|
|
4123
4114
|
"content": {
|
|
4124
4115
|
"application/json": {
|
|
@@ -4139,45 +4130,87 @@
|
|
|
4139
4130
|
}
|
|
4140
4131
|
}
|
|
4141
4132
|
},
|
|
4133
|
+
"deprecated": true,
|
|
4142
4134
|
"security": [
|
|
4143
4135
|
{
|
|
4144
|
-
"api-key": []
|
|
4136
|
+
"x-api-key": []
|
|
4145
4137
|
}
|
|
4146
4138
|
]
|
|
4147
4139
|
}
|
|
4148
4140
|
},
|
|
4149
|
-
"/organizations/{organization_id}/
|
|
4141
|
+
"/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/poa/{poa_result_id}/details": {
|
|
4150
4142
|
"get": {
|
|
4151
4143
|
"tags": [
|
|
4152
|
-
"
|
|
4144
|
+
"SDK: Organizations"
|
|
4153
4145
|
],
|
|
4154
|
-
"summary": "
|
|
4155
|
-
"description": "
|
|
4156
|
-
"operationId": "
|
|
4146
|
+
"summary": "Get proof of address result details (deprecated)",
|
|
4147
|
+
"description": "**Deprecated.** Use \"Get proof of address result details\", which also takes the flow slug.",
|
|
4148
|
+
"operationId": "getProofOfAddressResultDetailsDeprecated",
|
|
4157
4149
|
"parameters": [
|
|
4150
|
+
{
|
|
4151
|
+
"name": "sandbox",
|
|
4152
|
+
"in": "query",
|
|
4153
|
+
"required": true,
|
|
4154
|
+
"schema": {
|
|
4155
|
+
"type": "boolean"
|
|
4156
|
+
},
|
|
4157
|
+
"style": "form"
|
|
4158
|
+
},
|
|
4159
|
+
{
|
|
4160
|
+
"name": "locale",
|
|
4161
|
+
"in": "query",
|
|
4162
|
+
"required": false,
|
|
4163
|
+
"schema": {
|
|
4164
|
+
"$ref": "#/components/schemas/Locale"
|
|
4165
|
+
},
|
|
4166
|
+
"style": "form"
|
|
4167
|
+
},
|
|
4158
4168
|
{
|
|
4159
4169
|
"name": "organization_id",
|
|
4160
4170
|
"in": "path",
|
|
4161
|
-
"description": "
|
|
4171
|
+
"description": "The ID of the organization",
|
|
4162
4172
|
"required": true,
|
|
4163
4173
|
"schema": {
|
|
4164
4174
|
"type": "string",
|
|
4165
4175
|
"format": "uuid"
|
|
4166
|
-
}
|
|
4176
|
+
},
|
|
4177
|
+
"example": "123e4567-e89b-12d3-a456-426614174000"
|
|
4178
|
+
},
|
|
4179
|
+
{
|
|
4180
|
+
"name": "flow_result_id",
|
|
4181
|
+
"in": "path",
|
|
4182
|
+
"description": "The ID of the flow result",
|
|
4183
|
+
"required": true,
|
|
4184
|
+
"schema": {
|
|
4185
|
+
"type": "string",
|
|
4186
|
+
"format": "uuid"
|
|
4187
|
+
},
|
|
4188
|
+
"example": "123e4567-e89b-12d3-a456-426614174000"
|
|
4189
|
+
},
|
|
4190
|
+
{
|
|
4191
|
+
"name": "poa_result_id",
|
|
4192
|
+
"in": "path",
|
|
4193
|
+
"description": "The ID of the POA result",
|
|
4194
|
+
"required": true,
|
|
4195
|
+
"schema": {
|
|
4196
|
+
"type": "string",
|
|
4197
|
+
"format": "uuid"
|
|
4198
|
+
},
|
|
4199
|
+
"example": "123e4567-e89b-12d3-a456-426614174000"
|
|
4167
4200
|
}
|
|
4168
4201
|
],
|
|
4169
4202
|
"responses": {
|
|
4170
4203
|
"200": {
|
|
4171
4204
|
"description": "",
|
|
4172
4205
|
"content": {
|
|
4173
|
-
"application/
|
|
4206
|
+
"application/x-protobuf-stream": {
|
|
4174
4207
|
"schema": {
|
|
4175
|
-
"
|
|
4208
|
+
"type": "string"
|
|
4176
4209
|
}
|
|
4177
4210
|
}
|
|
4178
4211
|
}
|
|
4179
4212
|
},
|
|
4180
|
-
"
|
|
4213
|
+
"403": {
|
|
4181
4214
|
"description": "",
|
|
4182
4215
|
"content": {
|
|
4183
4216
|
"application/json": {
|
|
@@ -4187,7 +4220,7 @@
|
|
|
4187
4220
|
}
|
|
4188
4221
|
}
|
|
4189
4222
|
},
|
|
4190
|
-
"
|
|
4223
|
+
"404": {
|
|
4191
4224
|
"description": "",
|
|
4192
4225
|
"content": {
|
|
4193
4226
|
"application/json": {
|
|
@@ -4208,21 +4241,22 @@
|
|
|
4208
4241
|
}
|
|
4209
4242
|
}
|
|
4210
4243
|
},
|
|
4244
|
+
"deprecated": true,
|
|
4211
4245
|
"security": [
|
|
4212
4246
|
{
|
|
4213
|
-
"
|
|
4247
|
+
"x-api-key": []
|
|
4214
4248
|
}
|
|
4215
4249
|
]
|
|
4216
4250
|
}
|
|
4217
4251
|
},
|
|
4218
|
-
"/organizations/{organization_id}/
|
|
4252
|
+
"/sdk/organizations/{organization_id}/aml/screen": {
|
|
4219
4253
|
"post": {
|
|
4220
4254
|
"tags": [
|
|
4221
|
-
"
|
|
4255
|
+
"SDK: AML"
|
|
4222
4256
|
],
|
|
4223
|
-
"summary": "
|
|
4224
|
-
"description": "
|
|
4225
|
-
"operationId": "
|
|
4257
|
+
"summary": "Screen a person or company (AML)",
|
|
4258
|
+
"description": "Screens a person or a company against sanctions, politically exposed persons (PEP) and other\nwatchlists, and returns the matching entries in the format named by `format`. The result is\nreturned as found: no risk score is computed and nothing is stored. Each call is charged.",
|
|
4259
|
+
"operationId": "sdkScreenAml",
|
|
4226
4260
|
"parameters": [
|
|
4227
4261
|
{
|
|
4228
4262
|
"name": "organization_id",
|
|
@@ -4233,13 +4267,31 @@
|
|
|
4233
4267
|
"type": "string",
|
|
4234
4268
|
"format": "uuid"
|
|
4235
4269
|
}
|
|
4270
|
+
},
|
|
4271
|
+
{
|
|
4272
|
+
"name": "sandbox",
|
|
4273
|
+
"in": "query",
|
|
4274
|
+
"required": true,
|
|
4275
|
+
"schema": {
|
|
4276
|
+
"type": "boolean"
|
|
4277
|
+
},
|
|
4278
|
+
"style": "form"
|
|
4279
|
+
},
|
|
4280
|
+
{
|
|
4281
|
+
"name": "locale",
|
|
4282
|
+
"in": "query",
|
|
4283
|
+
"required": false,
|
|
4284
|
+
"schema": {
|
|
4285
|
+
"$ref": "#/components/schemas/Locale"
|
|
4286
|
+
},
|
|
4287
|
+
"style": "form"
|
|
4236
4288
|
}
|
|
4237
4289
|
],
|
|
4238
4290
|
"requestBody": {
|
|
4239
4291
|
"content": {
|
|
4240
4292
|
"application/json": {
|
|
4241
4293
|
"schema": {
|
|
4242
|
-
"$ref": "#/components/schemas/
|
|
4294
|
+
"$ref": "#/components/schemas/SdkAmlScreenRequest"
|
|
4243
4295
|
}
|
|
4244
4296
|
}
|
|
4245
4297
|
},
|
|
@@ -4251,7 +4303,7 @@
|
|
|
4251
4303
|
"content": {
|
|
4252
4304
|
"application/json": {
|
|
4253
4305
|
"schema": {
|
|
4254
|
-
"$ref": "#/components/schemas/
|
|
4306
|
+
"$ref": "#/components/schemas/SdkAmlScreenResponse"
|
|
4255
4307
|
}
|
|
4256
4308
|
}
|
|
4257
4309
|
}
|
|
@@ -4276,7 +4328,7 @@
|
|
|
4276
4328
|
}
|
|
4277
4329
|
}
|
|
4278
4330
|
},
|
|
4279
|
-
"
|
|
4331
|
+
"402": {
|
|
4280
4332
|
"description": "",
|
|
4281
4333
|
"content": {
|
|
4282
4334
|
"application/json": {
|
|
@@ -4286,7 +4338,7 @@
|
|
|
4286
4338
|
}
|
|
4287
4339
|
}
|
|
4288
4340
|
},
|
|
4289
|
-
"
|
|
4341
|
+
"403": {
|
|
4290
4342
|
"description": "",
|
|
4291
4343
|
"content": {
|
|
4292
4344
|
"application/json": {
|
|
@@ -4309,7 +4361,7 @@
|
|
|
4309
4361
|
},
|
|
4310
4362
|
"security": [
|
|
4311
4363
|
{
|
|
4312
|
-
"
|
|
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)."
|
|
@@ -7635,18 +7876,6 @@
|
|
|
7635
7876
|
"unknown"
|
|
7636
7877
|
]
|
|
7637
7878
|
},
|
|
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
|
-
}
|
|
7649
|
-
},
|
|
7650
7879
|
"CloudflareTracePayload": {
|
|
7651
7880
|
"type": "object",
|
|
7652
7881
|
"properties": {
|
|
@@ -8235,31 +8464,11 @@
|
|
|
8235
8464
|
"sessionId": {
|
|
8236
8465
|
"type": "string"
|
|
8237
8466
|
},
|
|
8238
|
-
"sessionToken": {
|
|
8239
|
-
"type": "string"
|
|
8240
|
-
},
|
|
8241
|
-
"url": {
|
|
8242
|
-
"type": "string"
|
|
8243
|
-
}
|
|
8244
|
-
}
|
|
8245
|
-
},
|
|
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."
|
|
8467
|
+
"sessionToken": {
|
|
8468
|
+
"type": "string"
|
|
8469
|
+
},
|
|
8470
|
+
"url": {
|
|
8471
|
+
"type": "string"
|
|
8263
8472
|
}
|
|
8264
8473
|
}
|
|
8265
8474
|
},
|
|
@@ -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.",
|
|
@@ -8940,9 +9080,25 @@
|
|
|
8940
9080
|
}
|
|
8941
9081
|
}
|
|
8942
9082
|
},
|
|
9083
|
+
"DocumentClassName": {
|
|
9084
|
+
"type": "string",
|
|
9085
|
+
"description": "The classes the API names a document with: the `documentClass` of a DV result, of the V2 webhook\nand of the `DOCUMENT_EXPIRED` notification, and the `<step>.documentClass` of a flow rule.\n\nServed in the OpenAPI schema even though no response field carries one: the fields stay\nstrings, so a new class is not a breaking change for a client, but a client that lets an\noperator author conditions on the class needs the exact value set, and generating it beats\ntranscribing it. The variants are in the order such a client offers them.",
|
|
9086
|
+
"enum": [
|
|
9087
|
+
"IdentificationCard",
|
|
9088
|
+
"DriversLicense",
|
|
9089
|
+
"Passport",
|
|
9090
|
+
"ResidenceDocument",
|
|
9091
|
+
"Visa",
|
|
9092
|
+
"TravelDocument",
|
|
9093
|
+
"TaxIdentification",
|
|
9094
|
+
"MedicalCard",
|
|
9095
|
+
"AlienId",
|
|
9096
|
+
"Unknown"
|
|
9097
|
+
]
|
|
9098
|
+
},
|
|
8943
9099
|
"DocumentClusterName": {
|
|
8944
9100
|
"type": "string",
|
|
8945
|
-
"description": "Named categories of identity documents.\n\nServed in the OpenAPI schema even though no response field carries one: the cluster is\nderived at flow-evaluation time from a result's numeric `documentType` and exposed to JDM\nconditions as `<step>.
|
|
9101
|
+
"description": "Named categories of identity documents.\n\nServed in the OpenAPI schema even though no response field carries one: the cluster is\nderived at flow-evaluation time from a result's numeric `documentType` and exposed to JDM\nconditions as `<step>.documentCluster`. Clients that let an operator author those conditions\nneed the exact value set, and generating it beats transcribing it.",
|
|
8946
9102
|
"enum": [
|
|
8947
9103
|
"ID_CARDS",
|
|
8948
9104
|
"PASSPORTS",
|
|
@@ -9287,7 +9443,7 @@
|
|
|
9287
9443
|
},
|
|
9288
9444
|
"DvCapture": {
|
|
9289
9445
|
"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.",
|
|
9446
|
+
"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
9447
|
"required": [
|
|
9292
9448
|
"capture",
|
|
9293
9449
|
"usesProxy",
|
|
@@ -9295,6 +9451,12 @@
|
|
|
9295
9451
|
"providesAuthenticity"
|
|
9296
9452
|
],
|
|
9297
9453
|
"properties": {
|
|
9454
|
+
"acceptedCaptures": {
|
|
9455
|
+
"type": "array",
|
|
9456
|
+
"items": {
|
|
9457
|
+
"$ref": "#/components/schemas/DvCaptureMode"
|
|
9458
|
+
}
|
|
9459
|
+
},
|
|
9298
9460
|
"capture": {
|
|
9299
9461
|
"$ref": "#/components/schemas/DvCaptureMode"
|
|
9300
9462
|
},
|
|
@@ -9559,6 +9721,13 @@
|
|
|
9559
9721
|
"type": "string"
|
|
9560
9722
|
}
|
|
9561
9723
|
},
|
|
9724
|
+
"documentClass": {
|
|
9725
|
+
"type": [
|
|
9726
|
+
"string",
|
|
9727
|
+
"null"
|
|
9728
|
+
],
|
|
9729
|
+
"description": "The class of the document, the same whichever provider read it: `Passport`, `DriversLicense`,\n`IdentificationCard`, `ResidenceDocument`, `Visa`, `TravelDocument`, `TaxIdentification`,\n`MedicalCard`, `AlienId` (a foreign-national registration id) or `Unknown`. Derived from\n`documentType`, the type the result stores: for a failed result it can be the document the\nholder picked rather than the one read. A `documentType` the types above do not cover, or of\n0 (none read), reads `Unknown`. `null` when the result has no `documentType`."
|
|
9730
|
+
},
|
|
9562
9731
|
"documentId": {
|
|
9563
9732
|
"type": [
|
|
9564
9733
|
"string",
|
|
@@ -9662,6 +9831,17 @@
|
|
|
9662
9831
|
"$ref": "#/components/schemas/DvReason"
|
|
9663
9832
|
}
|
|
9664
9833
|
},
|
|
9834
|
+
"reviewReason": {
|
|
9835
|
+
"oneOf": [
|
|
9836
|
+
{
|
|
9837
|
+
"type": "null"
|
|
9838
|
+
},
|
|
9839
|
+
{
|
|
9840
|
+
"$ref": "#/components/schemas/DvReviewReason",
|
|
9841
|
+
"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."
|
|
9842
|
+
}
|
|
9843
|
+
]
|
|
9844
|
+
},
|
|
9665
9845
|
"status": {
|
|
9666
9846
|
"$ref": "#/components/schemas/ResultStatus"
|
|
9667
9847
|
},
|
|
@@ -9689,6 +9869,81 @@
|
|
|
9689
9869
|
}
|
|
9690
9870
|
}
|
|
9691
9871
|
},
|
|
9872
|
+
"DvReviewReason": {
|
|
9873
|
+
"oneOf": [
|
|
9874
|
+
{
|
|
9875
|
+
"type": "object",
|
|
9876
|
+
"description": "The user failed every attempt the step allows.",
|
|
9877
|
+
"required": [
|
|
9878
|
+
"attempts",
|
|
9879
|
+
"maxAttempts",
|
|
9880
|
+
"kind"
|
|
9881
|
+
],
|
|
9882
|
+
"properties": {
|
|
9883
|
+
"attempts": {
|
|
9884
|
+
"type": "integer",
|
|
9885
|
+
"format": "int32"
|
|
9886
|
+
},
|
|
9887
|
+
"kind": {
|
|
9888
|
+
"type": "string",
|
|
9889
|
+
"enum": [
|
|
9890
|
+
"ATTEMPTS_EXHAUSTED"
|
|
9891
|
+
]
|
|
9892
|
+
},
|
|
9893
|
+
"maxAttempts": {
|
|
9894
|
+
"type": "integer",
|
|
9895
|
+
"format": "int32"
|
|
9896
|
+
}
|
|
9897
|
+
}
|
|
9898
|
+
},
|
|
9899
|
+
{
|
|
9900
|
+
"type": "object",
|
|
9901
|
+
"description": "A failed attempt matched a reason that ends the verification at once, whatever attempts\nare left. `reasons` are the matched ones.",
|
|
9902
|
+
"required": [
|
|
9903
|
+
"reasons",
|
|
9904
|
+
"kind"
|
|
9905
|
+
],
|
|
9906
|
+
"properties": {
|
|
9907
|
+
"kind": {
|
|
9908
|
+
"type": "string",
|
|
9909
|
+
"enum": [
|
|
9910
|
+
"BLOCKING_REASON"
|
|
9911
|
+
]
|
|
9912
|
+
},
|
|
9913
|
+
"reasons": {
|
|
9914
|
+
"type": "array",
|
|
9915
|
+
"items": {
|
|
9916
|
+
"$ref": "#/components/schemas/DvReason"
|
|
9917
|
+
}
|
|
9918
|
+
}
|
|
9919
|
+
}
|
|
9920
|
+
},
|
|
9921
|
+
{
|
|
9922
|
+
"type": "object",
|
|
9923
|
+
"description": "Too many captures in a row could not be graded at all (unreadable images, provider\nerrors). `attempts` is how many in a row.",
|
|
9924
|
+
"required": [
|
|
9925
|
+
"attempts",
|
|
9926
|
+
"kind"
|
|
9927
|
+
],
|
|
9928
|
+
"properties": {
|
|
9929
|
+
"attempts": {
|
|
9930
|
+
"type": "integer",
|
|
9931
|
+
"format": "int32"
|
|
9932
|
+
},
|
|
9933
|
+
"kind": {
|
|
9934
|
+
"type": "string",
|
|
9935
|
+
"enum": [
|
|
9936
|
+
"UNUSABLE_CAPTURES"
|
|
9937
|
+
]
|
|
9938
|
+
}
|
|
9939
|
+
}
|
|
9940
|
+
}
|
|
9941
|
+
],
|
|
9942
|
+
"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.",
|
|
9943
|
+
"discriminator": {
|
|
9944
|
+
"propertyName": "kind"
|
|
9945
|
+
}
|
|
9946
|
+
},
|
|
9692
9947
|
"DvStepOutput": {
|
|
9693
9948
|
"type": "object",
|
|
9694
9949
|
"required": [
|
|
@@ -9835,9 +10090,6 @@
|
|
|
9835
10090
|
"user_not_confirmed",
|
|
9836
10091
|
"verify_password",
|
|
9837
10092
|
"send_email",
|
|
9838
|
-
"open_session",
|
|
9839
|
-
"read_session",
|
|
9840
|
-
"close_session",
|
|
9841
10093
|
"user_disabled",
|
|
9842
10094
|
"missing_authorization_header",
|
|
9843
10095
|
"invalid_authorization_header",
|
|
@@ -9852,10 +10104,10 @@
|
|
|
9852
10104
|
"flow_step_not_found",
|
|
9853
10105
|
"organization_not_found",
|
|
9854
10106
|
"organization_under_retention",
|
|
10107
|
+
"kyb_declaration_requires_discovery",
|
|
9855
10108
|
"storage",
|
|
9856
10109
|
"verification_request_not_found",
|
|
9857
10110
|
"document_reader",
|
|
9858
|
-
"sse",
|
|
9859
10111
|
"organization_settings_not_found",
|
|
9860
10112
|
"theme_not_found",
|
|
9861
10113
|
"start_job",
|
|
@@ -9895,7 +10147,8 @@
|
|
|
9895
10147
|
"passkey_authentication",
|
|
9896
10148
|
"internal",
|
|
9897
10149
|
"invalid_email",
|
|
9898
|
-
"
|
|
10150
|
+
"email_domain_not_allowed",
|
|
10151
|
+
"work_email_required",
|
|
9899
10152
|
"graph_validation",
|
|
9900
10153
|
"external_api",
|
|
9901
10154
|
"share_already_has_write_access",
|
|
@@ -9923,12 +10176,53 @@
|
|
|
9923
10176
|
"kyb_case_reason_required",
|
|
9924
10177
|
"kyb_case_decision_not_authorized",
|
|
9925
10178
|
"kyb_case_second_signature_required",
|
|
10179
|
+
"kyb_case_contact_required",
|
|
10180
|
+
"kyb_case_contact_locked",
|
|
9926
10181
|
"compliance_policy_open_questions",
|
|
9927
10182
|
"tin_check_invalid_tin",
|
|
9928
10183
|
"tin_check_unavailable",
|
|
9929
10184
|
"tin_check_ein_required",
|
|
9930
10185
|
"tin_check_mismatch",
|
|
9931
|
-
"tin_check_attempts_exhausted"
|
|
10186
|
+
"tin_check_attempts_exhausted",
|
|
10187
|
+
"flow_template_not_found",
|
|
10188
|
+
"flow_template_key_taken",
|
|
10189
|
+
"flow_template_invalid_key",
|
|
10190
|
+
"flow_template_source_is_template",
|
|
10191
|
+
"flow_template_analyst_entry_invalid",
|
|
10192
|
+
"flow_template_kyc_flow_invalid",
|
|
10193
|
+
"flow_template_kyc_in_use",
|
|
10194
|
+
"flow_template_empty",
|
|
10195
|
+
"flow_template_kind_mismatch",
|
|
10196
|
+
"flow_template_steps_invalid",
|
|
10197
|
+
"flow_template_kyc_not_active",
|
|
10198
|
+
"flow_template_kyc_not_available",
|
|
10199
|
+
"flow_template_sandbox_only",
|
|
10200
|
+
"flow_template_kyc_missing_in_production",
|
|
10201
|
+
"flow_draft_not_found",
|
|
10202
|
+
"flow_draft_version_conflict",
|
|
10203
|
+
"flow_draft_name_invalid",
|
|
10204
|
+
"flow_draft_incomplete",
|
|
10205
|
+
"flow_draft_kyb_invalid",
|
|
10206
|
+
"flow_draft_agent_research_invalid",
|
|
10207
|
+
"flow_draft_business_info_form_invalid",
|
|
10208
|
+
"flow_draft_documents_invalid",
|
|
10209
|
+
"flow_draft_ubos_invalid",
|
|
10210
|
+
"flow_draft_directors_invalid",
|
|
10211
|
+
"two_factor_invalid_code",
|
|
10212
|
+
"two_factor_locked",
|
|
10213
|
+
"two_factor_already_enabled",
|
|
10214
|
+
"two_factor_not_enabled",
|
|
10215
|
+
"two_factor_required_by_organization",
|
|
10216
|
+
"two_factor_required_by_platform",
|
|
10217
|
+
"two_factor_reauthentication_required",
|
|
10218
|
+
"two_factor_reauthentication_failed",
|
|
10219
|
+
"two_factor_reauthentication_locked",
|
|
10220
|
+
"company_website_analysis_not_found",
|
|
10221
|
+
"company_website_analysis_invalid_url",
|
|
10222
|
+
"company_website_analysis_limit_reached",
|
|
10223
|
+
"company_website_analysis_not_completed",
|
|
10224
|
+
"company_website_analysis_no_brand",
|
|
10225
|
+
"company_website_analysis_disabled"
|
|
9932
10226
|
]
|
|
9933
10227
|
},
|
|
9934
10228
|
"EstimateBasis": {
|
|
@@ -9956,6 +10250,13 @@
|
|
|
9956
10250
|
"type": "string",
|
|
9957
10251
|
"format": "uuid",
|
|
9958
10252
|
"description": "The unique identifier of the action node."
|
|
10253
|
+
},
|
|
10254
|
+
"redirectUrl": {
|
|
10255
|
+
"type": [
|
|
10256
|
+
"string",
|
|
10257
|
+
"null"
|
|
10258
|
+
],
|
|
10259
|
+
"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
10260
|
}
|
|
9960
10261
|
}
|
|
9961
10262
|
},
|
|
@@ -10231,7 +10532,6 @@
|
|
|
10231
10532
|
"type": "object",
|
|
10232
10533
|
"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
10534
|
"required": [
|
|
10234
|
-
"verificationRequestId",
|
|
10235
10535
|
"estimatedCreditsTotal",
|
|
10236
10536
|
"expansions"
|
|
10237
10537
|
],
|
|
@@ -10248,9 +10548,12 @@
|
|
|
10248
10548
|
}
|
|
10249
10549
|
},
|
|
10250
10550
|
"verificationRequestId": {
|
|
10251
|
-
"type":
|
|
10551
|
+
"type": [
|
|
10552
|
+
"string",
|
|
10553
|
+
"null"
|
|
10554
|
+
],
|
|
10252
10555
|
"format": "uuid",
|
|
10253
|
-
"description": "The KYB's anchor verification request — the websocket room for `discovery-update`."
|
|
10556
|
+
"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
10557
|
}
|
|
10255
10558
|
}
|
|
10256
10559
|
},
|
|
@@ -10571,9 +10874,15 @@
|
|
|
10571
10874
|
"slug",
|
|
10572
10875
|
"successUrl",
|
|
10573
10876
|
"steps",
|
|
10574
|
-
"jdm"
|
|
10877
|
+
"jdm",
|
|
10878
|
+
"aiChatbotEnabled",
|
|
10879
|
+
"isTemplate"
|
|
10575
10880
|
],
|
|
10576
10881
|
"properties": {
|
|
10882
|
+
"aiChatbotEnabled": {
|
|
10883
|
+
"type": "boolean",
|
|
10884
|
+
"description": "Whether the verification failure screen offers the AI support chatbot."
|
|
10885
|
+
},
|
|
10577
10886
|
"createdAt": {
|
|
10578
10887
|
"type": [
|
|
10579
10888
|
"string",
|
|
@@ -10591,6 +10900,10 @@
|
|
|
10591
10900
|
"type": "string",
|
|
10592
10901
|
"format": "uuid"
|
|
10593
10902
|
},
|
|
10903
|
+
"isTemplate": {
|
|
10904
|
+
"type": "boolean",
|
|
10905
|
+
"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."
|
|
10906
|
+
},
|
|
10594
10907
|
"jdm": {
|
|
10595
10908
|
"$ref": "#/components/schemas/WorkflowGraph"
|
|
10596
10909
|
},
|
|
@@ -10626,6 +10939,23 @@
|
|
|
10626
10939
|
}
|
|
10627
10940
|
}
|
|
10628
10941
|
},
|
|
10942
|
+
"FlowAmlScreening": {
|
|
10943
|
+
"type": "object",
|
|
10944
|
+
"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.",
|
|
10945
|
+
"required": [
|
|
10946
|
+
"enabled"
|
|
10947
|
+
],
|
|
10948
|
+
"properties": {
|
|
10949
|
+
"enabled": {
|
|
10950
|
+
"type": "boolean",
|
|
10951
|
+
"description": "Whether the people the flow verifies are screened."
|
|
10952
|
+
},
|
|
10953
|
+
"ongoingMonitoring": {
|
|
10954
|
+
"type": "boolean",
|
|
10955
|
+
"description": "Whether they stay under ongoing monitoring."
|
|
10956
|
+
}
|
|
10957
|
+
}
|
|
10958
|
+
},
|
|
10629
10959
|
"FlowResult": {
|
|
10630
10960
|
"type": "object",
|
|
10631
10961
|
"required": [
|
|
@@ -10800,6 +11130,59 @@
|
|
|
10800
11130
|
}
|
|
10801
11131
|
}
|
|
10802
11132
|
},
|
|
11133
|
+
"FlowResultStatusSummary": {
|
|
11134
|
+
"type": "object",
|
|
11135
|
+
"description": "Where a user's verification stands, without any of the data collected from them.",
|
|
11136
|
+
"required": [
|
|
11137
|
+
"flowResultId",
|
|
11138
|
+
"flowSlug",
|
|
11139
|
+
"status",
|
|
11140
|
+
"passed",
|
|
11141
|
+
"customData",
|
|
11142
|
+
"createdAt",
|
|
11143
|
+
"updatedAt"
|
|
11144
|
+
],
|
|
11145
|
+
"properties": {
|
|
11146
|
+
"createdAt": {
|
|
11147
|
+
"type": "string",
|
|
11148
|
+
"format": "date-time"
|
|
11149
|
+
},
|
|
11150
|
+
"customData": {
|
|
11151
|
+
"type": "object"
|
|
11152
|
+
},
|
|
11153
|
+
"email": {
|
|
11154
|
+
"type": [
|
|
11155
|
+
"string",
|
|
11156
|
+
"null"
|
|
11157
|
+
]
|
|
11158
|
+
},
|
|
11159
|
+
"flowId": {
|
|
11160
|
+
"type": [
|
|
11161
|
+
"string",
|
|
11162
|
+
"null"
|
|
11163
|
+
],
|
|
11164
|
+
"format": "uuid"
|
|
11165
|
+
},
|
|
11166
|
+
"flowResultId": {
|
|
11167
|
+
"type": "string",
|
|
11168
|
+
"format": "uuid"
|
|
11169
|
+
},
|
|
11170
|
+
"flowSlug": {
|
|
11171
|
+
"type": "string"
|
|
11172
|
+
},
|
|
11173
|
+
"passed": {
|
|
11174
|
+
"type": "boolean",
|
|
11175
|
+
"description": "`true` when the user passed the verification, that is when `status` is `COMPLETED`."
|
|
11176
|
+
},
|
|
11177
|
+
"status": {
|
|
11178
|
+
"$ref": "#/components/schemas/VerificationRequestStatus"
|
|
11179
|
+
},
|
|
11180
|
+
"updatedAt": {
|
|
11181
|
+
"type": "string",
|
|
11182
|
+
"format": "date-time"
|
|
11183
|
+
}
|
|
11184
|
+
}
|
|
11185
|
+
},
|
|
10803
11186
|
"FlowStep": {
|
|
10804
11187
|
"oneOf": [
|
|
10805
11188
|
{
|
|
@@ -13487,9 +13870,23 @@
|
|
|
13487
13870
|
"locale"
|
|
13488
13871
|
],
|
|
13489
13872
|
"properties": {
|
|
13873
|
+
"firstName": {
|
|
13874
|
+
"type": [
|
|
13875
|
+
"string",
|
|
13876
|
+
"null"
|
|
13877
|
+
],
|
|
13878
|
+
"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."
|
|
13879
|
+
},
|
|
13490
13880
|
"lastEnvironmentIsSandbox": {
|
|
13491
13881
|
"type": "boolean"
|
|
13492
13882
|
},
|
|
13883
|
+
"lastName": {
|
|
13884
|
+
"type": [
|
|
13885
|
+
"string",
|
|
13886
|
+
"null"
|
|
13887
|
+
],
|
|
13888
|
+
"description": "The person's last name, as typed at registration. Same scope as the first name."
|
|
13889
|
+
},
|
|
13493
13890
|
"locale": {
|
|
13494
13891
|
"$ref": "#/components/schemas/Locale"
|
|
13495
13892
|
},
|
|
@@ -13578,6 +13975,17 @@
|
|
|
13578
13975
|
"type"
|
|
13579
13976
|
],
|
|
13580
13977
|
"properties": {
|
|
13978
|
+
"binding": {
|
|
13979
|
+
"oneOf": [
|
|
13980
|
+
{
|
|
13981
|
+
"type": "null"
|
|
13982
|
+
},
|
|
13983
|
+
{
|
|
13984
|
+
"$ref": "#/components/schemas/BusinessInfoField",
|
|
13985
|
+
"description": "The business-information key this field answers, in a KYB step's business-details\nform. Meaningless in any other form."
|
|
13986
|
+
}
|
|
13987
|
+
]
|
|
13988
|
+
},
|
|
13581
13989
|
"label": {
|
|
13582
13990
|
"type": "object",
|
|
13583
13991
|
"additionalProperties": {
|
|
@@ -13641,6 +14049,17 @@
|
|
|
13641
14049
|
"type"
|
|
13642
14050
|
],
|
|
13643
14051
|
"properties": {
|
|
14052
|
+
"binding": {
|
|
14053
|
+
"oneOf": [
|
|
14054
|
+
{
|
|
14055
|
+
"type": "null"
|
|
14056
|
+
},
|
|
14057
|
+
{
|
|
14058
|
+
"$ref": "#/components/schemas/BusinessInfoField",
|
|
14059
|
+
"description": "The business-information key this field answers, in a KYB step's business-details\nform. Meaningless in any other form."
|
|
14060
|
+
}
|
|
14061
|
+
]
|
|
14062
|
+
},
|
|
13644
14063
|
"label": {
|
|
13645
14064
|
"type": "object",
|
|
13646
14065
|
"additionalProperties": {
|
|
@@ -13709,6 +14128,17 @@
|
|
|
13709
14128
|
"type"
|
|
13710
14129
|
],
|
|
13711
14130
|
"properties": {
|
|
14131
|
+
"binding": {
|
|
14132
|
+
"oneOf": [
|
|
14133
|
+
{
|
|
14134
|
+
"type": "null"
|
|
14135
|
+
},
|
|
14136
|
+
{
|
|
14137
|
+
"$ref": "#/components/schemas/BusinessInfoField",
|
|
14138
|
+
"description": "The business-information key this field answers, in a KYB step's business-details\nform. Meaningless in any other form."
|
|
14139
|
+
}
|
|
14140
|
+
]
|
|
14141
|
+
},
|
|
13712
14142
|
"label": {
|
|
13713
14143
|
"type": "object",
|
|
13714
14144
|
"additionalProperties": {
|
|
@@ -13777,6 +14207,17 @@
|
|
|
13777
14207
|
"type"
|
|
13778
14208
|
],
|
|
13779
14209
|
"properties": {
|
|
14210
|
+
"binding": {
|
|
14211
|
+
"oneOf": [
|
|
14212
|
+
{
|
|
14213
|
+
"type": "null"
|
|
14214
|
+
},
|
|
14215
|
+
{
|
|
14216
|
+
"$ref": "#/components/schemas/BusinessInfoField",
|
|
14217
|
+
"description": "The business-information key this field answers, in a KYB step's business-details\nform. Meaningless in any other form."
|
|
14218
|
+
}
|
|
14219
|
+
]
|
|
14220
|
+
},
|
|
13780
14221
|
"label": {
|
|
13781
14222
|
"type": "object",
|
|
13782
14223
|
"additionalProperties": {
|
|
@@ -13845,6 +14286,17 @@
|
|
|
13845
14286
|
"type"
|
|
13846
14287
|
],
|
|
13847
14288
|
"properties": {
|
|
14289
|
+
"binding": {
|
|
14290
|
+
"oneOf": [
|
|
14291
|
+
{
|
|
14292
|
+
"type": "null"
|
|
14293
|
+
},
|
|
14294
|
+
{
|
|
14295
|
+
"$ref": "#/components/schemas/BusinessInfoField",
|
|
14296
|
+
"description": "The business-information key this field answers, in a KYB step's business-details\nform. Meaningless in any other form."
|
|
14297
|
+
}
|
|
14298
|
+
]
|
|
14299
|
+
},
|
|
13848
14300
|
"label": {
|
|
13849
14301
|
"type": "object",
|
|
13850
14302
|
"additionalProperties": {
|
|
@@ -13906,6 +14358,17 @@
|
|
|
13906
14358
|
"type"
|
|
13907
14359
|
],
|
|
13908
14360
|
"properties": {
|
|
14361
|
+
"binding": {
|
|
14362
|
+
"oneOf": [
|
|
14363
|
+
{
|
|
14364
|
+
"type": "null"
|
|
14365
|
+
},
|
|
14366
|
+
{
|
|
14367
|
+
"$ref": "#/components/schemas/BusinessInfoField",
|
|
14368
|
+
"description": "The business-information key this field answers, in a KYB step's business-details\nform. Meaningless in any other form."
|
|
14369
|
+
}
|
|
14370
|
+
]
|
|
14371
|
+
},
|
|
13909
14372
|
"label": {
|
|
13910
14373
|
"type": "object",
|
|
13911
14374
|
"additionalProperties": {
|
|
@@ -13970,6 +14433,17 @@
|
|
|
13970
14433
|
"type"
|
|
13971
14434
|
],
|
|
13972
14435
|
"properties": {
|
|
14436
|
+
"binding": {
|
|
14437
|
+
"oneOf": [
|
|
14438
|
+
{
|
|
14439
|
+
"type": "null"
|
|
14440
|
+
},
|
|
14441
|
+
{
|
|
14442
|
+
"$ref": "#/components/schemas/BusinessInfoField",
|
|
14443
|
+
"description": "The business-information key this field answers, in a KYB step's business-details\nform. Meaningless in any other form."
|
|
14444
|
+
}
|
|
14445
|
+
]
|
|
14446
|
+
},
|
|
13973
14447
|
"label": {
|
|
13974
14448
|
"type": "object",
|
|
13975
14449
|
"additionalProperties": {
|
|
@@ -14049,6 +14523,17 @@
|
|
|
14049
14523
|
"type"
|
|
14050
14524
|
],
|
|
14051
14525
|
"properties": {
|
|
14526
|
+
"binding": {
|
|
14527
|
+
"oneOf": [
|
|
14528
|
+
{
|
|
14529
|
+
"type": "null"
|
|
14530
|
+
},
|
|
14531
|
+
{
|
|
14532
|
+
"$ref": "#/components/schemas/BusinessInfoField",
|
|
14533
|
+
"description": "The business-information key this field answers, in a KYB step's business-details\nform. Meaningless in any other form."
|
|
14534
|
+
}
|
|
14535
|
+
]
|
|
14536
|
+
},
|
|
14052
14537
|
"label": {
|
|
14053
14538
|
"type": "object",
|
|
14054
14539
|
"additionalProperties": {
|
|
@@ -14205,6 +14690,18 @@
|
|
|
14205
14690
|
"ENHANCED"
|
|
14206
14691
|
]
|
|
14207
14692
|
},
|
|
14693
|
+
"KybCaseFlag": {
|
|
14694
|
+
"type": "string",
|
|
14695
|
+
"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.",
|
|
14696
|
+
"enum": [
|
|
14697
|
+
"SANCTIONS_HIT",
|
|
14698
|
+
"PEP",
|
|
14699
|
+
"ADVERSE_MEDIA",
|
|
14700
|
+
"REGISTER_MISMATCH",
|
|
14701
|
+
"MISSING_DOCUMENTS",
|
|
14702
|
+
"OWNER_KYC_PENDING"
|
|
14703
|
+
]
|
|
14704
|
+
},
|
|
14208
14705
|
"KybCaseOfficersResponse": {
|
|
14209
14706
|
"type": "object",
|
|
14210
14707
|
"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 +14775,14 @@
|
|
|
14278
14775
|
"CANCELLED"
|
|
14279
14776
|
]
|
|
14280
14777
|
},
|
|
14778
|
+
"KybCaseType": {
|
|
14779
|
+
"type": "string",
|
|
14780
|
+
"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.",
|
|
14781
|
+
"enum": [
|
|
14782
|
+
"ONBOARDING",
|
|
14783
|
+
"PERIODIC_REVIEW"
|
|
14784
|
+
]
|
|
14785
|
+
},
|
|
14281
14786
|
"KybCommunication": {
|
|
14282
14787
|
"type": "object",
|
|
14283
14788
|
"required": [
|
|
@@ -14363,6 +14868,25 @@
|
|
|
14363
14868
|
"default": "true",
|
|
14364
14869
|
"example": "true"
|
|
14365
14870
|
},
|
|
14871
|
+
"businessInfoForm": {
|
|
14872
|
+
"oneOf": [
|
|
14873
|
+
{
|
|
14874
|
+
"type": "null"
|
|
14875
|
+
},
|
|
14876
|
+
{
|
|
14877
|
+
"$ref": "#/components/schemas/Form",
|
|
14878
|
+
"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."
|
|
14879
|
+
}
|
|
14880
|
+
]
|
|
14881
|
+
},
|
|
14882
|
+
"businessInfoFormId": {
|
|
14883
|
+
"type": [
|
|
14884
|
+
"string",
|
|
14885
|
+
"null"
|
|
14886
|
+
],
|
|
14887
|
+
"format": "uuid",
|
|
14888
|
+
"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."
|
|
14889
|
+
},
|
|
14366
14890
|
"collectDirectors": {
|
|
14367
14891
|
"type": "boolean",
|
|
14368
14892
|
"default": "false",
|
|
@@ -14553,14 +15077,11 @@
|
|
|
14553
15077
|
"KybDirectorsConfig": {
|
|
14554
15078
|
"type": "object",
|
|
14555
15079
|
"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
15080
|
"properties": {
|
|
14560
15081
|
"kybStepId": {
|
|
14561
15082
|
"type": "string",
|
|
14562
15083
|
"format": "uuid",
|
|
14563
|
-
"description": "The anchor KYB step this directors satellite belongs to."
|
|
15084
|
+
"description": "The anchor KYB step this directors satellite belongs to. See `KybDocumentsConfig::kyb_step_id`."
|
|
14564
15085
|
},
|
|
14565
15086
|
"kycFlowId": {
|
|
14566
15087
|
"type": "string",
|
|
@@ -14918,9 +15439,6 @@
|
|
|
14918
15439
|
"KybDocumentsConfig": {
|
|
14919
15440
|
"type": "object",
|
|
14920
15441
|
"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
15442
|
"properties": {
|
|
14925
15443
|
"customCountryDocuments": {
|
|
14926
15444
|
"type": "object",
|
|
@@ -14954,7 +15472,7 @@
|
|
|
14954
15472
|
"kybStepId": {
|
|
14955
15473
|
"type": "string",
|
|
14956
15474
|
"format": "uuid",
|
|
14957
|
-
"description": "The anchor KYB step this documents satellite belongs to."
|
|
15475
|
+
"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
15476
|
},
|
|
14959
15477
|
"labels": {
|
|
14960
15478
|
"type": "object",
|
|
@@ -14993,6 +15511,34 @@
|
|
|
14993
15511
|
}
|
|
14994
15512
|
}
|
|
14995
15513
|
},
|
|
15514
|
+
"KybFormAnswer": {
|
|
15515
|
+
"type": "object",
|
|
15516
|
+
"description": "The answer the case holds to one of the organization's own business-details questions.",
|
|
15517
|
+
"required": [
|
|
15518
|
+
"key",
|
|
15519
|
+
"field"
|
|
15520
|
+
],
|
|
15521
|
+
"properties": {
|
|
15522
|
+
"field": {
|
|
15523
|
+
"$ref": "#/components/schemas/InputField",
|
|
15524
|
+
"description": "The question as the form asks it: its labels, type and choices. Its own value is left\nout: the answer is `value`."
|
|
15525
|
+
},
|
|
15526
|
+
"key": {
|
|
15527
|
+
"type": "string",
|
|
15528
|
+
"description": "The key the cross-check, the clarifications and the edits name it by: `form.<name>`."
|
|
15529
|
+
},
|
|
15530
|
+
"text": {
|
|
15531
|
+
"type": [
|
|
15532
|
+
"string",
|
|
15533
|
+
"null"
|
|
15534
|
+
],
|
|
15535
|
+
"description": "The answer as text, as the cross-check compares it: a select's choice by its label, a date\nby its day."
|
|
15536
|
+
},
|
|
15537
|
+
"value": {
|
|
15538
|
+
"description": "The answer as the case holds it now, an analyst's correction included; `None` unanswered."
|
|
15539
|
+
}
|
|
15540
|
+
}
|
|
15541
|
+
},
|
|
14996
15542
|
"KybMetadata": {
|
|
14997
15543
|
"type": "object",
|
|
14998
15544
|
"description": "The KYB result metadata bag. Empty by default.",
|
|
@@ -15008,6 +15554,10 @@
|
|
|
15008
15554
|
}
|
|
15009
15555
|
]
|
|
15010
15556
|
},
|
|
15557
|
+
"example": {
|
|
15558
|
+
"type": "boolean",
|
|
15559
|
+
"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."
|
|
15560
|
+
},
|
|
15011
15561
|
"ownershipStructure": {
|
|
15012
15562
|
"oneOf": [
|
|
15013
15563
|
{
|
|
@@ -15088,6 +15638,16 @@
|
|
|
15088
15638
|
],
|
|
15089
15639
|
"format": "uuid"
|
|
15090
15640
|
},
|
|
15641
|
+
"businessInfoRequiredFields": {
|
|
15642
|
+
"type": [
|
|
15643
|
+
"array",
|
|
15644
|
+
"null"
|
|
15645
|
+
],
|
|
15646
|
+
"items": {
|
|
15647
|
+
"$ref": "#/components/schemas/BusinessInfoField"
|
|
15648
|
+
},
|
|
15649
|
+
"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`."
|
|
15650
|
+
},
|
|
15091
15651
|
"businessInformation": {
|
|
15092
15652
|
"oneOf": [
|
|
15093
15653
|
{
|
|
@@ -15172,6 +15732,16 @@
|
|
|
15172
15732
|
],
|
|
15173
15733
|
"format": "uuid"
|
|
15174
15734
|
},
|
|
15735
|
+
"formAnswers": {
|
|
15736
|
+
"type": [
|
|
15737
|
+
"array",
|
|
15738
|
+
"null"
|
|
15739
|
+
],
|
|
15740
|
+
"items": {
|
|
15741
|
+
"$ref": "#/components/schemas/KybFormAnswer"
|
|
15742
|
+
},
|
|
15743
|
+
"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`."
|
|
15744
|
+
},
|
|
15175
15745
|
"fundedAt": {
|
|
15176
15746
|
"type": [
|
|
15177
15747
|
"string",
|
|
@@ -15365,9 +15935,6 @@
|
|
|
15365
15935
|
"KybUbosConfig": {
|
|
15366
15936
|
"type": "object",
|
|
15367
15937
|
"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
15938
|
"properties": {
|
|
15372
15939
|
"autoSendUboKycEmail": {
|
|
15373
15940
|
"type": "boolean",
|
|
@@ -15378,7 +15945,7 @@
|
|
|
15378
15945
|
"kybStepId": {
|
|
15379
15946
|
"type": "string",
|
|
15380
15947
|
"format": "uuid",
|
|
15381
|
-
"description": "The anchor KYB step this UBOs satellite belongs to."
|
|
15948
|
+
"description": "The anchor KYB step this UBOs satellite belongs to. See `KybDocumentsConfig::kyb_step_id`."
|
|
15382
15949
|
},
|
|
15383
15950
|
"kycFlowId": {
|
|
15384
15951
|
"type": "string",
|
|
@@ -15428,6 +15995,11 @@
|
|
|
15428
15995
|
}
|
|
15429
15996
|
}
|
|
15430
15997
|
},
|
|
15998
|
+
"KycReportPdf": {
|
|
15999
|
+
"type": "string",
|
|
16000
|
+
"format": "binary",
|
|
16001
|
+
"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."
|
|
16002
|
+
},
|
|
15431
16003
|
"ListOrganizationFlowResultsResponse": {
|
|
15432
16004
|
"type": "object",
|
|
15433
16005
|
"required": [
|
|
@@ -16719,6 +17291,16 @@
|
|
|
16719
17291
|
}
|
|
16720
17292
|
}
|
|
16721
17293
|
},
|
|
17294
|
+
"PrincipalKind": {
|
|
17295
|
+
"type": "string",
|
|
17296
|
+
"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.",
|
|
17297
|
+
"enum": [
|
|
17298
|
+
"PERSON",
|
|
17299
|
+
"BOT",
|
|
17300
|
+
"API_KEY",
|
|
17301
|
+
"SYSTEM"
|
|
17302
|
+
]
|
|
17303
|
+
},
|
|
16722
17304
|
"ProcessAdditionalData": {
|
|
16723
17305
|
"type": "object",
|
|
16724
17306
|
"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 +17668,6 @@
|
|
|
17086
17668
|
"type": "object",
|
|
17087
17669
|
"description": "Response for `POST .../kyb-cases/{case_id}/documents/purchase`. Partial acceptance: only a\nrequest where *every* document is refused is a `400`.",
|
|
17088
17670
|
"required": [
|
|
17089
|
-
"verificationRequestId",
|
|
17090
17671
|
"quotedCreditsTotal",
|
|
17091
17672
|
"purchases"
|
|
17092
17673
|
],
|
|
@@ -17103,9 +17684,12 @@
|
|
|
17103
17684
|
"description": "Sum of `quotedCredits` over accepted documents only."
|
|
17104
17685
|
},
|
|
17105
17686
|
"verificationRequestId": {
|
|
17106
|
-
"type":
|
|
17687
|
+
"type": [
|
|
17688
|
+
"string",
|
|
17689
|
+
"null"
|
|
17690
|
+
],
|
|
17107
17691
|
"format": "uuid",
|
|
17108
|
-
"description": "The KYB's anchor verification request — the websocket room for `discovery-update`."
|
|
17692
|
+
"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
17693
|
}
|
|
17110
17694
|
}
|
|
17111
17695
|
},
|
|
@@ -17365,7 +17949,8 @@
|
|
|
17365
17949
|
"postcode",
|
|
17366
17950
|
"country",
|
|
17367
17951
|
"socialSecurityNumber",
|
|
17368
|
-
"expirationDate"
|
|
17952
|
+
"expirationDate",
|
|
17953
|
+
"documentNumber"
|
|
17369
17954
|
]
|
|
17370
17955
|
},
|
|
17371
17956
|
"ResultControlOperation": {
|
|
@@ -18052,6 +18637,66 @@
|
|
|
18052
18637
|
}
|
|
18053
18638
|
}
|
|
18054
18639
|
},
|
|
18640
|
+
"SearchFlowResultsRequest": {
|
|
18641
|
+
"type": "object",
|
|
18642
|
+
"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.",
|
|
18643
|
+
"properties": {
|
|
18644
|
+
"customData": {
|
|
18645
|
+
"type": [
|
|
18646
|
+
"object",
|
|
18647
|
+
"null"
|
|
18648
|
+
],
|
|
18649
|
+
"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."
|
|
18650
|
+
},
|
|
18651
|
+
"email": {
|
|
18652
|
+
"type": [
|
|
18653
|
+
"string",
|
|
18654
|
+
"null"
|
|
18655
|
+
],
|
|
18656
|
+
"description": "Email address of the user, as given when the verification request was created. Matched\nexactly, ignoring letter case.",
|
|
18657
|
+
"example": "jane.doe@example.com"
|
|
18658
|
+
},
|
|
18659
|
+
"flowSlug": {
|
|
18660
|
+
"type": [
|
|
18661
|
+
"string",
|
|
18662
|
+
"null"
|
|
18663
|
+
],
|
|
18664
|
+
"description": "Limits the search to one flow. Without it, every flow of the organization is searched.",
|
|
18665
|
+
"example": "kyc-flow"
|
|
18666
|
+
},
|
|
18667
|
+
"skip": {
|
|
18668
|
+
"type": "integer",
|
|
18669
|
+
"format": "int32",
|
|
18670
|
+
"minimum": 0
|
|
18671
|
+
},
|
|
18672
|
+
"take": {
|
|
18673
|
+
"type": "integer",
|
|
18674
|
+
"format": "int32",
|
|
18675
|
+
"example": 20,
|
|
18676
|
+
"minimum": 0
|
|
18677
|
+
}
|
|
18678
|
+
}
|
|
18679
|
+
},
|
|
18680
|
+
"SearchFlowResultsResponse": {
|
|
18681
|
+
"type": "object",
|
|
18682
|
+
"required": [
|
|
18683
|
+
"page",
|
|
18684
|
+
"totalCount"
|
|
18685
|
+
],
|
|
18686
|
+
"properties": {
|
|
18687
|
+
"page": {
|
|
18688
|
+
"type": "array",
|
|
18689
|
+
"items": {
|
|
18690
|
+
"$ref": "#/components/schemas/FlowResultStatusSummary"
|
|
18691
|
+
}
|
|
18692
|
+
},
|
|
18693
|
+
"totalCount": {
|
|
18694
|
+
"type": "integer",
|
|
18695
|
+
"format": "int64",
|
|
18696
|
+
"minimum": 0
|
|
18697
|
+
}
|
|
18698
|
+
}
|
|
18699
|
+
},
|
|
18055
18700
|
"SecurityCheckType": {
|
|
18056
18701
|
"type": "string",
|
|
18057
18702
|
"description": "Canonical security/authenticity check types.",
|
|
@@ -18117,6 +18762,17 @@
|
|
|
18117
18762
|
"Settings": {
|
|
18118
18763
|
"type": "object",
|
|
18119
18764
|
"properties": {
|
|
18765
|
+
"amlScreening": {
|
|
18766
|
+
"oneOf": [
|
|
18767
|
+
{
|
|
18768
|
+
"type": "null"
|
|
18769
|
+
},
|
|
18770
|
+
{
|
|
18771
|
+
"$ref": "#/components/schemas/FlowAmlScreening",
|
|
18772
|
+
"description": "The flow's AML screening and ongoing monitoring. `None` on a flow created before the\nsetting; see `SettingsData::V0::aml_screening`."
|
|
18773
|
+
}
|
|
18774
|
+
]
|
|
18775
|
+
},
|
|
18120
18776
|
"askPasskeyCreation": {
|
|
18121
18777
|
"type": [
|
|
18122
18778
|
"boolean",
|
|
@@ -18159,6 +18815,13 @@
|
|
|
18159
18815
|
],
|
|
18160
18816
|
"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
18817
|
},
|
|
18818
|
+
"oneClickSkipDocumentSelection": {
|
|
18819
|
+
"type": [
|
|
18820
|
+
"boolean",
|
|
18821
|
+
"null"
|
|
18822
|
+
],
|
|
18823
|
+
"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."
|
|
18824
|
+
},
|
|
18162
18825
|
"published": {
|
|
18163
18826
|
"type": "boolean"
|
|
18164
18827
|
},
|
|
@@ -19634,89 +20297,6 @@
|
|
|
19634
20297
|
}
|
|
19635
20298
|
}
|
|
19636
20299
|
},
|
|
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
20300
|
"TraversalSummary": {
|
|
19721
20301
|
"type": "object",
|
|
19722
20302
|
"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 +20498,15 @@
|
|
|
19918
20498
|
"validation_kyb_config_match",
|
|
19919
20499
|
"validation_kyb_config_already_uses_this_kyc_flow_id",
|
|
19920
20500
|
"validation_kyb_require_kyc_needs_kyc_flow",
|
|
20501
|
+
"validation_copy_flow_kyc_flow_not_mapped",
|
|
20502
|
+
"validation_flow_backs_template",
|
|
20503
|
+
"validation_flow_holds_example_case",
|
|
20504
|
+
"validation_kyc_flow_is_template",
|
|
19921
20505
|
"validation_kyb_moderation_status_wrong",
|
|
19922
20506
|
"validation_kyb_missing_required_documents",
|
|
19923
20507
|
"validation_form_name_exists",
|
|
20508
|
+
"validation_kyb_business_info_form_not_found",
|
|
20509
|
+
"validation_kyb_business_info_form_invalid",
|
|
19924
20510
|
"validation_database_error",
|
|
19925
20511
|
"validation_flow_name_invalid",
|
|
19926
20512
|
"validation_flow_slug_name_invalid",
|