curl -X POST 'https://verification.didit.me/v3/organization/11111111-2222-3333-4444-555555555555/application/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/cases/' \
-H 'x-api-key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"title": "Manual - Jane Doe", "blueprint": "b1de0000-0000-4000-8000-000000000002", "priority": "HIGH", "subject": {"type": "user", "uuid": "5b9a0000-0000-4000-8000-00000000f00d"}, "tags": ["review"]}'from didit import Didit
# Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
# and DIDIT_APPLICATION_ID.
client = Didit()
result = client.cases.create(
title="Manual - Jane Doe",
blueprint="b1de0000-0000-4000-8000-000000000002",
priority="HIGH",
tags=["review"],
subject={
"type": "user",
"uuid": "5b9a0000-0000-4000-8000-00000000f00d",
},
)
print(result)import Didit from "@didit-protocol/sdk-node";
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
const didit = new Didit();
const result = await didit.cases.create({
title: "Manual - Jane Doe",
blueprint: "b1de0000-0000-4000-8000-000000000002",
priority: "HIGH",
tags: ["review"],
subject: {
type: "user",
uuid: "5b9a0000-0000-4000-8000-00000000f00d",
},
});
console.log(result);ctx := context.Background()
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
client := didit.NewClient()
result, err := client.Cases.Create(ctx, didit.CasesCreateParams{
Title: "Manual - Jane Doe",
Blueprint: didit.String("b1de0000-0000-4000-8000-000000000002"),
Priority: didit.Some(didit.CasesCreateParamsPriority("HIGH")),
Tags: didit.Some([]string{"review"}),
Subject: didit.Some(didit.CasesCreateParamsSubject{
Type: didit.Some(didit.CasesCreateParamsSubjectType("user")),
UUID: didit.String("5b9a0000-0000-4000-8000-00000000f00d"),
}),
})
if err != nil {
log.Fatal(err)
}
fmt.Printf("%+v\n", result)import java.util.List;
import me.didit.Didit;
import me.didit.types.CasesCreateParams;
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
Didit client = new Didit();
var result = client.cases().create(CasesCreateParams.builder()
.title("Manual - Jane Doe")
.blueprint("b1de0000-0000-4000-8000-000000000002")
.priority(CasesCreateParams.Priority.of("HIGH"))
.tags(List.of("review"))
.subject(CasesCreateParams.Subject.builder()
.type(CasesCreateParams.Subject.Type.of("user"))
.uuid("5b9a0000-0000-4000-8000-00000000f00d")
.build())
.build());
System.out.println(result);<?php
require 'vendor/autoload.php';
use Didit\DiditClient;
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
$didit = new DiditClient();
$result = $didit->cases->create([
'title' => 'Manual - Jane Doe',
'blueprint' => 'b1de0000-0000-4000-8000-000000000002',
'priority' => 'HIGH',
'tags' => ['review'],
'subject' => [
'type' => 'user',
'uuid' => '5b9a0000-0000-4000-8000-00000000f00d',
],
]);
print_r($result->toArray());require "didit"
# Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
# and DIDIT_APPLICATION_ID.
didit = Didit::Client.new
result = didit.cases.create(
title: "Manual - Jane Doe",
blueprint: "b1de0000-0000-4000-8000-000000000002",
priority: "HIGH",
tags: ["review"],
subject: {
type: "user",
uuid: "5b9a0000-0000-4000-8000-00000000f00d",
}
)
puts result.to_husing System;
using System.Text.Json;
using Didit;
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
using var client = new DiditClient();
var result = await client.Cases.CreateAsync(new CasesCreateParams
{
Title = "Manual - Jane Doe",
Blueprint = "b1de0000-0000-4000-8000-000000000002",
Priority = new CasesCreateParamsPriority("HIGH"),
Tags = new string[] { "review" },
Subject = new CasesCreateParamsSubject
{
Type = new CasesCreateParamsSubjectType("user"),
Uuid = "5b9a0000-0000-4000-8000-00000000f00d",
},
});
Console.WriteLine(JsonSerializer.Serialize(result));{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"case_number": "<string>",
"title": "<string>",
"status": "OPEN",
"resolution": "FALSE_POSITIVE",
"resolution_notes": "<string>",
"priority": "LOW",
"source": "MANUAL",
"tags": [
"<string>"
],
"subject": {
"type": "user",
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"external_id": "<string>",
"country": "ESP",
"portrait": "<string>"
},
"assigned_to": {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"full_name": "<string>",
"email": "jsmith@example.com"
},
"assigned_at": "2023-11-07T05:31:56Z",
"team": {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
},
"due_at": "2023-11-07T05:31:56Z",
"resolved_at": "2023-11-07T05:31:56Z",
"resolved_by_email": "<string>",
"pending_resolution": {
"resolution": "FALSE_POSITIVE",
"resolution_notes": "<string>",
"maker_email": "jsmith@example.com",
"maker_name": "<string>",
"maker_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"maker_blueprint_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"staged_at": "2023-11-07T05:31:56Z"
},
"checker": {
"member_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"email": "jsmith@example.com"
},
"metadata": {},
"blueprint": {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"assignment_method": "MANUAL",
"assignee_pool": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"max_active_cases": 123,
"escalation_enabled": true,
"transfer_enabled": true,
"require_resolution_note": true,
"is_active": true,
"preset_key": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"escalation_blueprint": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"escalation_blueprint_name": "<string>",
"four_eyes_checker_blueprint": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"four_eyes_checker_blueprint_name": "<string>",
"content_config": {
"checklist": {
"enabled": true,
"optional": true,
"items": [
{
"label": "<string>",
"order": 123
}
]
},
"aml_control": {
"enabled": true,
"financial": true,
"identity": true
},
"identity": {
"enabled": true,
"personal_information": true,
"applicant_tags": true,
"contact_information": true,
"risk_overview": true,
"poi_documents": true,
"poa_documents": true
},
"verifications": {
"enabled": true,
"summary": true
},
"reporting": {
"enabled": true,
"fiu_reports": true
},
"financial": {
"enabled": true,
"payment_methods": true,
"transactions": true
}
},
"creation_sources": [
{
"kind": "aml",
"id": "<string>",
"name": "<string>"
}
],
"receives_escalation_from": [
{
"id": "<string>",
"name": "<string>"
}
],
"updated_at": "2023-11-07T05:31:56Z",
"version": 123,
"default_deadline_hours": 4380
},
"notes": [
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"comment": "<string>",
"actor_email": "jsmith@example.com",
"actor_name": "<string>",
"mentioned_emails": [
"jsmith@example.com"
],
"is_internal": true,
"attachments": [
{
"s3_key": "<string>",
"filename": "<string>",
"file_size": 123,
"url": "<string>"
}
],
"tags": [
"<string>"
],
"created_at": "2023-11-07T05:31:56Z"
}
],
"events": [
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"event_type": "CREATED",
"actor_email": "jsmith@example.com",
"actor_name": "<string>",
"previous_status": "OPEN",
"new_status": "OPEN",
"metadata": {},
"created_at": "2023-11-07T05:31:56Z"
}
],
"links": [
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"linked_entity_type": "session",
"linked_entity_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"linked_entity_summary": {},
"created_at": "2023-11-07T05:31:56Z"
}
],
"links_count": 123,
"notes_count": 123,
"checklist_items": [
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"label": "<string>",
"is_completed": true,
"completed_by": "jsmith@example.com",
"completed_at": "2023-11-07T05:31:56Z",
"order": 123
}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}{}创建案件 API
在 Didit 中创建合规案件,将其关联到单个用户或企业,可选附加会话或交易,并分配给合规官。
curl -X POST 'https://verification.didit.me/v3/organization/11111111-2222-3333-4444-555555555555/application/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/cases/' \
-H 'x-api-key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"title": "Manual - Jane Doe", "blueprint": "b1de0000-0000-4000-8000-000000000002", "priority": "HIGH", "subject": {"type": "user", "uuid": "5b9a0000-0000-4000-8000-00000000f00d"}, "tags": ["review"]}'from didit import Didit
# Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
# and DIDIT_APPLICATION_ID.
client = Didit()
result = client.cases.create(
title="Manual - Jane Doe",
blueprint="b1de0000-0000-4000-8000-000000000002",
priority="HIGH",
tags=["review"],
subject={
"type": "user",
"uuid": "5b9a0000-0000-4000-8000-00000000f00d",
},
)
print(result)import Didit from "@didit-protocol/sdk-node";
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
const didit = new Didit();
const result = await didit.cases.create({
title: "Manual - Jane Doe",
blueprint: "b1de0000-0000-4000-8000-000000000002",
priority: "HIGH",
tags: ["review"],
subject: {
type: "user",
uuid: "5b9a0000-0000-4000-8000-00000000f00d",
},
});
console.log(result);ctx := context.Background()
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
client := didit.NewClient()
result, err := client.Cases.Create(ctx, didit.CasesCreateParams{
Title: "Manual - Jane Doe",
Blueprint: didit.String("b1de0000-0000-4000-8000-000000000002"),
Priority: didit.Some(didit.CasesCreateParamsPriority("HIGH")),
Tags: didit.Some([]string{"review"}),
Subject: didit.Some(didit.CasesCreateParamsSubject{
Type: didit.Some(didit.CasesCreateParamsSubjectType("user")),
UUID: didit.String("5b9a0000-0000-4000-8000-00000000f00d"),
}),
})
if err != nil {
log.Fatal(err)
}
fmt.Printf("%+v\n", result)import java.util.List;
import me.didit.Didit;
import me.didit.types.CasesCreateParams;
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
Didit client = new Didit();
var result = client.cases().create(CasesCreateParams.builder()
.title("Manual - Jane Doe")
.blueprint("b1de0000-0000-4000-8000-000000000002")
.priority(CasesCreateParams.Priority.of("HIGH"))
.tags(List.of("review"))
.subject(CasesCreateParams.Subject.builder()
.type(CasesCreateParams.Subject.Type.of("user"))
.uuid("5b9a0000-0000-4000-8000-00000000f00d")
.build())
.build());
System.out.println(result);<?php
require 'vendor/autoload.php';
use Didit\DiditClient;
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
$didit = new DiditClient();
$result = $didit->cases->create([
'title' => 'Manual - Jane Doe',
'blueprint' => 'b1de0000-0000-4000-8000-000000000002',
'priority' => 'HIGH',
'tags' => ['review'],
'subject' => [
'type' => 'user',
'uuid' => '5b9a0000-0000-4000-8000-00000000f00d',
],
]);
print_r($result->toArray());require "didit"
# Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
# and DIDIT_APPLICATION_ID.
didit = Didit::Client.new
result = didit.cases.create(
title: "Manual - Jane Doe",
blueprint: "b1de0000-0000-4000-8000-000000000002",
priority: "HIGH",
tags: ["review"],
subject: {
type: "user",
uuid: "5b9a0000-0000-4000-8000-00000000f00d",
}
)
puts result.to_husing System;
using System.Text.Json;
using Didit;
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
using var client = new DiditClient();
var result = await client.Cases.CreateAsync(new CasesCreateParams
{
Title = "Manual - Jane Doe",
Blueprint = "b1de0000-0000-4000-8000-000000000002",
Priority = new CasesCreateParamsPriority("HIGH"),
Tags = new string[] { "review" },
Subject = new CasesCreateParamsSubject
{
Type = new CasesCreateParamsSubjectType("user"),
Uuid = "5b9a0000-0000-4000-8000-00000000f00d",
},
});
Console.WriteLine(JsonSerializer.Serialize(result));{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"case_number": "<string>",
"title": "<string>",
"status": "OPEN",
"resolution": "FALSE_POSITIVE",
"resolution_notes": "<string>",
"priority": "LOW",
"source": "MANUAL",
"tags": [
"<string>"
],
"subject": {
"type": "user",
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"external_id": "<string>",
"country": "ESP",
"portrait": "<string>"
},
"assigned_to": {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"full_name": "<string>",
"email": "jsmith@example.com"
},
"assigned_at": "2023-11-07T05:31:56Z",
"team": {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
},
"due_at": "2023-11-07T05:31:56Z",
"resolved_at": "2023-11-07T05:31:56Z",
"resolved_by_email": "<string>",
"pending_resolution": {
"resolution": "FALSE_POSITIVE",
"resolution_notes": "<string>",
"maker_email": "jsmith@example.com",
"maker_name": "<string>",
"maker_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"maker_blueprint_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"staged_at": "2023-11-07T05:31:56Z"
},
"checker": {
"member_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"email": "jsmith@example.com"
},
"metadata": {},
"blueprint": {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"assignment_method": "MANUAL",
"assignee_pool": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"max_active_cases": 123,
"escalation_enabled": true,
"transfer_enabled": true,
"require_resolution_note": true,
"is_active": true,
"preset_key": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"escalation_blueprint": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"escalation_blueprint_name": "<string>",
"four_eyes_checker_blueprint": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"four_eyes_checker_blueprint_name": "<string>",
"content_config": {
"checklist": {
"enabled": true,
"optional": true,
"items": [
{
"label": "<string>",
"order": 123
}
]
},
"aml_control": {
"enabled": true,
"financial": true,
"identity": true
},
"identity": {
"enabled": true,
"personal_information": true,
"applicant_tags": true,
"contact_information": true,
"risk_overview": true,
"poi_documents": true,
"poa_documents": true
},
"verifications": {
"enabled": true,
"summary": true
},
"reporting": {
"enabled": true,
"fiu_reports": true
},
"financial": {
"enabled": true,
"payment_methods": true,
"transactions": true
}
},
"creation_sources": [
{
"kind": "aml",
"id": "<string>",
"name": "<string>"
}
],
"receives_escalation_from": [
{
"id": "<string>",
"name": "<string>"
}
],
"updated_at": "2023-11-07T05:31:56Z",
"version": 123,
"default_deadline_hours": 4380
},
"notes": [
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"comment": "<string>",
"actor_email": "jsmith@example.com",
"actor_name": "<string>",
"mentioned_emails": [
"jsmith@example.com"
],
"is_internal": true,
"attachments": [
{
"s3_key": "<string>",
"filename": "<string>",
"file_size": 123,
"url": "<string>"
}
],
"tags": [
"<string>"
],
"created_at": "2023-11-07T05:31:56Z"
}
],
"events": [
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"event_type": "CREATED",
"actor_email": "jsmith@example.com",
"actor_name": "<string>",
"previous_status": "OPEN",
"new_status": "OPEN",
"metadata": {},
"created_at": "2023-11-07T05:31:56Z"
}
],
"links": [
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"linked_entity_type": "session",
"linked_entity_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"linked_entity_summary": {},
"created_at": "2023-11-07T05:31:56Z"
}
],
"links_count": 123,
"notes_count": 123,
"checklist_items": [
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"label": "<string>",
"is_completed": true,
"completed_by": "jsmith@example.com",
"completed_at": "2023-11-07T05:31:56Z",
"order": 123
}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}{}subject,或提供 links,由 Didit 根据第一个关联实体的所有者推导出主体。
blueprint,就应传入。它决定案件页面渲染哪些部分、解决案件时是否必须填写备注,以及案件在升级或转移时的流转去向。相关内容
授权
您的应用 API 密钥,可在 Business Console 的“开发者 -> API 密钥”中获取。主密钥拥有完整访问权限。指定名称的密钥可设置作用域:针对每个资源设为无权限、只读或读写,限定于特定工作流或已通过的会话、限定于 IP 地址列表,以及设置到期日期。401 表示密钥错误、已撤销或已过期;403 表示未发送密钥、密钥无权访问该资源或操作,或请求来自其 IP 列表之外的地址;在会话路由上返回 404 表示该会话不在该密钥允许的工作流或状态范围内。没有媒体访问权限的密钥获取到的图片、视频和 PDF URL 将为 null;没有会话写入权限的密钥获取到的会话链接和 token 将为 null。请参阅 https://docs.didit.me/console/api-keys。
请求体
255CaseBlueprint UUID。省略则表示无蓝图。
LOW, MEDIUM, HIGH 除非提供了 links,否则为必填项;案件的唯一主体。
Show child attributes
Show child attributes
创建时要附加的会话/企业会话/交易,例如 [{"entity_type": "transaction", "entity_uuid": "..."}]。当省略主体时,主体将派生自第一个关联的所有者。
要立即分配的用户 UUID。
在创建案件前重新检查现有的调查。若为 true,存在现有案件的主体必须提供非空的 separate_incident_reason。控制台始终启用此保护。省略该参数将保留现有的 API 行为。
1000Show child attributes
Show child attributes
响应
案件已创建。
OPEN, AWAITING_USER, RESOLVED FALSE_POSITIVE, VALID_THREAT, INCONCLUSIVE, REQUIREMENTS_NOT_MET, REQUIREMENTS_SATISFIED LOW, MEDIUM, HIGH MANUAL, AML_SCREENING, TRANSACTION_RULE, WORKFLOW_BUILDER 该案件所绑定的单个用户或企业。
Show child attributes
Show child attributes
Show child attributes
Show child attributes
负责该案件的审核团队;没有团队负责时为 null。当路由规则将案件分配给其团队之一时,路由系统会对其进行设置。使用 PATCH .../cases/{case_uuid}/(team)进行修改或清除。
Show child attributes
Show child attributes
仅在双人复核(4-eyes)决议暂存于审核员蓝图、等待批准或拒绝批准时设置。
Show child attributes
Show child attributes
被指定批准或拒绝待决决定的成员。仅当双人复核(four-eyes)决议等待指定复核员时设置。在无待决事项、待决决议在复核员队列中等待,以及决议已获批准、被拒绝或因证据变更而退回重新审核后,该值为 null。
Show child attributes
Show child attributes
Show child attributes
Show child attributes
最新的 50 条备注。
Show child attributes
Show child attributes
最新的 100 个事件。
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes