curl -X DELETE 'https://verification.didit.me/v3/organization/11111111-2222-3333-4444-555555555555/application/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/transactions/delete/' \
-H 'x-api-key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"transaction_uuids": ["abcdef12-3456-7890-abcd-ef1234567890"]}'from didit import Didit
# Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
# and DIDIT_APPLICATION_ID.
client = Didit()
client.transactions.batch_delete(
body={
"transaction_uuids": ["abcdef12-3456-7890-abcd-ef1234567890", "12345678-90ab-cdef-1234-567890abcdef"],
},
)import Didit from "@didit-protocol/sdk-node";
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
const didit = new Didit();
await didit.transactions.batchDelete({
transaction_uuids: ["abcdef12-3456-7890-abcd-ef1234567890", "12345678-90ab-cdef-1234-567890abcdef"],
});import java.util.List;
import me.didit.Didit;
import me.didit.types.TransactionsBatchDeleteParams;
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
Didit client = new Didit();
client.transactions().batchDelete(TransactionsBatchDeleteParams.builder()
.putAdditionalProperty("transaction_uuids", List.of("abcdef12-3456-7890-abcd-ef1234567890", "12345678-90ab-cdef-1234-567890abcdef"))
.build());<?php
require 'vendor/autoload.php';
use Didit\DiditClient;
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
$didit = new DiditClient();
$didit->transactions->batchDelete([
'transaction_uuids' => ['abcdef12-3456-7890-abcd-ef1234567890', '12345678-90ab-cdef-1234-567890abcdef'],
]);require "didit"
# Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
# and DIDIT_APPLICATION_ID.
didit = Didit::Client.new
didit.transactions.batch_delete(
body: {
transaction_uuids: ["abcdef12-3456-7890-abcd-ef1234567890", "12345678-90ab-cdef-1234-567890abcdef"],
}
)using System;
using Didit;
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
using var client = new DiditClient();
await client.Transactions.BatchDeleteAsync(new TransactionsBatchDeleteParams
{
TransactionUuids = new string[] { "abcdef12-3456-7890-abcd-ef1234567890", "12345678-90ab-cdef-1234-567890abcdef" },
});package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://verification.didit.me/v3/organization/{organization_id}/application/{application_id}/transactions/delete/"
payload := strings.NewReader("{\n \"transaction_uuids\": [\n \"abcdef12-3456-7890-abcd-ef1234567890\",\n \"12345678-90ab-cdef-1234-567890abcdef\"\n ]\n}")
req, _ := http.NewRequest("DELETE", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"transaction_uuids": [
"This field is required unless delete_all is true."
]
}{
"detail": "<string>"
}{
"detail": "<string>",
"code": "in_filed_report",
"reports": [
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"report_number": "<string>",
"report_type": "SAR",
"case_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"transactions": [
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transaction_id": "<string>",
"reports": [
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"report_number": "<string>",
"report_type": "SAR",
"case_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
}
]
}Transaktionen löschen: Batch-API
Didit löscht überwachte Transaktionen dauerhaft per UUID oder alle Transaktionen der Anwendung. Ein finalisierter Bericht blockiert die Löschung.
curl -X DELETE 'https://verification.didit.me/v3/organization/11111111-2222-3333-4444-555555555555/application/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/transactions/delete/' \
-H 'x-api-key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"transaction_uuids": ["abcdef12-3456-7890-abcd-ef1234567890"]}'from didit import Didit
# Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
# and DIDIT_APPLICATION_ID.
client = Didit()
client.transactions.batch_delete(
body={
"transaction_uuids": ["abcdef12-3456-7890-abcd-ef1234567890", "12345678-90ab-cdef-1234-567890abcdef"],
},
)import Didit from "@didit-protocol/sdk-node";
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
const didit = new Didit();
await didit.transactions.batchDelete({
transaction_uuids: ["abcdef12-3456-7890-abcd-ef1234567890", "12345678-90ab-cdef-1234-567890abcdef"],
});import java.util.List;
import me.didit.Didit;
import me.didit.types.TransactionsBatchDeleteParams;
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
Didit client = new Didit();
client.transactions().batchDelete(TransactionsBatchDeleteParams.builder()
.putAdditionalProperty("transaction_uuids", List.of("abcdef12-3456-7890-abcd-ef1234567890", "12345678-90ab-cdef-1234-567890abcdef"))
.build());<?php
require 'vendor/autoload.php';
use Didit\DiditClient;
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
$didit = new DiditClient();
$didit->transactions->batchDelete([
'transaction_uuids' => ['abcdef12-3456-7890-abcd-ef1234567890', '12345678-90ab-cdef-1234-567890abcdef'],
]);require "didit"
# Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
# and DIDIT_APPLICATION_ID.
didit = Didit::Client.new
didit.transactions.batch_delete(
body: {
transaction_uuids: ["abcdef12-3456-7890-abcd-ef1234567890", "12345678-90ab-cdef-1234-567890abcdef"],
}
)using System;
using Didit;
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
using var client = new DiditClient();
await client.Transactions.BatchDeleteAsync(new TransactionsBatchDeleteParams
{
TransactionUuids = new string[] { "abcdef12-3456-7890-abcd-ef1234567890", "12345678-90ab-cdef-1234-567890abcdef" },
});package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://verification.didit.me/v3/organization/{organization_id}/application/{application_id}/transactions/delete/"
payload := strings.NewReader("{\n \"transaction_uuids\": [\n \"abcdef12-3456-7890-abcd-ef1234567890\",\n \"12345678-90ab-cdef-1234-567890abcdef\"\n ]\n}")
req, _ := http.NewRequest("DELETE", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"transaction_uuids": [
"This field is required unless delete_all is true."
]
}{
"detail": "<string>"
}{
"detail": "<string>",
"code": "in_filed_report",
"reports": [
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"report_number": "<string>",
"report_type": "SAR",
"case_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"transactions": [
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transaction_id": "<string>",
"reports": [
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"report_number": "<string>",
"report_type": "SAR",
"case_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
}
]
}Was gelöscht wird
Eine gelöschte Transaktion wird samt den Datensätzen entfernt, die ausschließlich zu ihr gehören: ihre Beteiligten, Tags, Notizen, Verknüpfungen mit Zahlungsmethoden, Dokumente und alle gespeicherten Versionen von deren Dateien, Regelausführungen, Alerts, Ergebnisse der Anbieter, Netzwerk-Snapshot und Travel-Rule-Daten. Fälle, Personen und Unternehmen bleiben erhalten; ihre Verknüpfung mit der gelöschten Transaktion wird aufgehoben. Entwürfe regulatorischer Berichte listen die gelöschte Transaktion nicht mehr auf und werden ohne sie neu erstellt. Die Löschung ist dauerhaft und nicht rückgängig zu machen.Auswahl der zu löschenden Transaktionen
Senden Sie genau eine Auswahloption:| Feld | Typ | Beschreibung |
|---|---|---|
transaction_uuids | UUID[] | Didit-Transaktions-UUIDs, die gelöscht werden sollen. Erforderlich, sofern delete_all nicht true ist. |
delete_all | boolean | Löscht jede Transaktion in der Anwendung. transaction_uuids wird ignoriert. |
delete_all: true löscht jede Transaktion in der Anwendung. Es gibt keinen Bestätigungsschritt und keine Möglichkeit, dies rückgängig zu machen.Blockiert durch einen finalisierten Bericht
Ist eine der ausgewählten Transaktionen in einem finalisierten regulatorischen Bericht aufgeführt, gibt die gesamte Anfrage409 zurück, und es wird nichts gelöscht:
{
"detail": "Transactions included in a filed regulatory report cannot be deleted.",
"code": "in_filed_report",
"transactions": [
{
"uuid": "abcdef12-3456-7890-abcd-ef1234567890",
"transaction_id": "your-txn-2026-05-17-001",
"reports": [
{
"uuid": "5ec00000-0000-4000-8000-000000000007",
"report_number": "SAR-0001",
"report_type": "SAR",
"case_uuid": "c1a5e000-0000-4000-8000-000000000001"
}
]
}
]
}
Verwandte Inhalte
Autorisierungen
Der API-Schlüssel Ihrer Anwendung, aus Entwickler -> API-Schlüssel in der Business Console. Der Primärschlüssel hat Vollzugriff. Ein benannter Schlüssel kann im Geltungsbereich eingeschränkt werden: keine, Lese- oder Schreibberechtigung pro Ressource, beschränkt auf bestimmte Workflows oder genehmigte Sitzungen, auf eine Liste von IP-Adressen und auf ein Ablaufdatum. 401 bedeutet, dass der Schlüssel falsch, widerrufen oder abgelaufen ist; 403 bedeutet, dass kein Schlüssel gesendet wurde, der Schlüssel keinen Zugriff auf diese Ressource oder Aktion hat oder die Anfrage von einer Adresse außerhalb seiner IP-Liste stammte; 404 bei einer Sitzungsroute bedeutet, dass die Sitzung außerhalb der Workflows oder Status des Schlüssels liegt. Ein Schlüssel ohne Medienzugriff erhält Bild-, Video- und PDF-URLs als null, und ein Schlüssel ohne Schreibberechtigung für Sitzungen erhält Sitzungslinks und Token als null. Siehe https://docs.didit.me/console/api-keys.
Pfadparameter
UUID der Organisation.
Anwendungs-UUID.
Body
- Selected transactions
- All transactions
Zu löschende Didit-Transaktions-UUIDs. Erforderlich, sofern delete_all nicht true ist.
1Weglassen oder false senden, wenn Sie Transaktionen über transaction_uuids auswählen.
false Antwort
Ausgewählte Transaktionen gelöscht.