curl -X GET 'https://verification.didit.me/v3/organization/11111111-2222-3333-4444-555555555555/application/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/regulatory-reports/' \
-H 'x-api-key: YOUR_API_KEY'from didit import Didit
# Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
# and DIDIT_APPLICATION_ID.
client = Didit()
for item in client.regulatory_reports.list():
print(item)import Didit from "@didit-protocol/sdk-node";
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
const didit = new Didit();
for await (const item of didit.regulatoryReports.list()) {
console.log(item);
}ctx := context.Background()
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
client := didit.NewClient()
iter := client.RegulatoryReports.ListAutoPaging(ctx, didit.RegulatoryReportsListParams{})
for iter.Next() {
fmt.Printf("%+v\n", iter.Current())
}
if err := iter.Err(); err != nil {
log.Fatal(err)
}import me.didit.Didit;
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
Didit client = new Didit();
for (var item : client.regulatoryReports().list()) {
System.out.println(item);
}<?php
require 'vendor/autoload.php';
use Didit\DiditClient;
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
$didit = new DiditClient();
foreach ($didit->regulatoryReports->list() as $item) {
print_r($item->toArray());
}require "didit"
# Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
# and DIDIT_APPLICATION_ID.
didit = Didit::Client.new
didit.regulatory_reports.list.auto_paging_each do |item|
puts item.to_h
endusing System;
using System.Text.Json;
using Didit;
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
using var client = new DiditClient();
await foreach (var item in await client.RegulatoryReports.ListAsync())
{
Console.WriteLine(JsonSerializer.Serialize(item));
}{
"count": 123,
"next": "<string>",
"previous": "<string>",
"results": [
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"case_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"case_number": "<string>",
"report_type": "SAR",
"report_type_display": "<string>",
"report_code": "<string>",
"report_number": "<string>",
"status": "DRAFT",
"status_display": "<string>",
"jurisdiction": "<string>",
"rentity_id": "<string>",
"rentity_branch": "<string>",
"submission_code": "E",
"entity_reference": "<string>",
"fiu_ref_number": "<string>",
"currency_code_local": "<string>",
"submission_date": "2023-11-07T05:31:56Z",
"reporting_person": {},
"location": {},
"reason": "<string>",
"action": "<string>",
"activity": "<string>",
"narrative": {
"who": "<string>",
"what": "<string>",
"when": "<string>",
"where": "<string>",
"why": "<string>",
"how": "<string>"
},
"report_indicators": [
"<string>"
],
"included_fields": [
"<string>"
],
"transactions": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"validation_errors": [
{
"field": "<string>",
"message": "<string>"
}
],
"validated_at": "2023-11-07T05:31:56Z",
"finalized_at": "2023-11-07T05:31:56Z",
"created_by_email": "<string>",
"created_by_name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}Список отчётов FIU через API
Список всех регуляторных отчётов в Didit по всему приложению. Результаты можно фильтровать по статусу, типу отчёта и кейсу.
curl -X GET 'https://verification.didit.me/v3/organization/11111111-2222-3333-4444-555555555555/application/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/regulatory-reports/' \
-H 'x-api-key: YOUR_API_KEY'from didit import Didit
# Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
# and DIDIT_APPLICATION_ID.
client = Didit()
for item in client.regulatory_reports.list():
print(item)import Didit from "@didit-protocol/sdk-node";
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
const didit = new Didit();
for await (const item of didit.regulatoryReports.list()) {
console.log(item);
}ctx := context.Background()
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
client := didit.NewClient()
iter := client.RegulatoryReports.ListAutoPaging(ctx, didit.RegulatoryReportsListParams{})
for iter.Next() {
fmt.Printf("%+v\n", iter.Current())
}
if err := iter.Err(); err != nil {
log.Fatal(err)
}import me.didit.Didit;
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
Didit client = new Didit();
for (var item : client.regulatoryReports().list()) {
System.out.println(item);
}<?php
require 'vendor/autoload.php';
use Didit\DiditClient;
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
$didit = new DiditClient();
foreach ($didit->regulatoryReports->list() as $item) {
print_r($item->toArray());
}require "didit"
# Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
# and DIDIT_APPLICATION_ID.
didit = Didit::Client.new
didit.regulatory_reports.list.auto_paging_each do |item|
puts item.to_h
endusing System;
using System.Text.Json;
using Didit;
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
using var client = new DiditClient();
await foreach (var item in await client.RegulatoryReports.ListAsync())
{
Console.WriteLine(JsonSerializer.Serialize(item));
}{
"count": 123,
"next": "<string>",
"previous": "<string>",
"results": [
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"case_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"case_number": "<string>",
"report_type": "SAR",
"report_type_display": "<string>",
"report_code": "<string>",
"report_number": "<string>",
"status": "DRAFT",
"status_display": "<string>",
"jurisdiction": "<string>",
"rentity_id": "<string>",
"rentity_branch": "<string>",
"submission_code": "E",
"entity_reference": "<string>",
"fiu_ref_number": "<string>",
"currency_code_local": "<string>",
"submission_date": "2023-11-07T05:31:56Z",
"reporting_person": {},
"location": {},
"reason": "<string>",
"action": "<string>",
"activity": "<string>",
"narrative": {
"who": "<string>",
"what": "<string>",
"when": "<string>",
"where": "<string>",
"why": "<string>",
"how": "<string>"
},
"report_indicators": [
"<string>"
],
"included_fields": [
"<string>"
],
"transactions": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"validation_errors": [
{
"field": "<string>",
"message": "<string>"
}
],
"validated_at": "2023-11-07T05:31:56Z",
"finalized_at": "2023-11-07T05:31:56Z",
"created_by_email": "<string>",
"created_by_name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}Связанные материалы
Авторизации
API-ключ вашего приложения из раздела «Разработчикам» -> «API-ключи» в Business Console. Основной ключ имеет полный доступ. Именованный ключ может иметь ограниченную область действия: без доступа, чтение или запись для каждого ресурса, ограничение определенными сценариями или одобренными сессиями, списком IP-адресов и сроком действия. 401 означает, что ключ неверен, отозван или его срок действия истек; 403 означает, что ключ не был передан, у ключа нет доступа к этому ресурсу или действию, либо запрос поступил с адреса вне его списка IP-адресов; 404 на маршруте сессии означает, что сессия не входит в сценарии или статусы ключа. Ключ без доступа к медиа получает URL изображений, видео и PDF как null, а ключ без прав на запись сессий получает ссылки на сессии и токены как null. См. https://docs.didit.me/console/api-keys.
Параметры пути
UUID организации.
UUID приложения.
Параметры запроса
Размер страницы.
x >= 1Смещение, начиная с нуля.
x >= 0Фильтр по статусу.
DRAFT, VALIDATED, FINALIZED Фильтр по типу отчёта.
SAR, STR, CTR, TTR, UTR, IFT, CBR, TFR Фильтровать по отчётам в этом кейсе.