Didit Transaction Monitoring 标志

Didit Transaction Monitoring

组织
didit-protocol
didit-transaction-monitoring

集成 Didit Transaction Monitoring(KYT)、加密货币钱包筛查,以及 FATF / EU TFR Travel Rule。适用于用户想要实时监控交易,依据 AML/欺诈规则评估交易,创建、回测或通过 API 安装监控规则,列出或读取受监控交易,根据区块链分析筛查加密货币钱包或交易哈希,生成钱包筛查 PDF,遵循加密货币 Travel Rule(与交易对手 VASP 交换发起方/受益人信息),验证自托管钱包所有权,登记入金后的(sunrise)转账,生成用于客户端提交的 SDK 交易令牌,或使用 Didit 通过生物特征重新验证加强对高风险交易的验证。每笔交易 $0.02。

Add to TypingMind

概览

发布者didit-protocol
代码仓库skills
技能名称didit-transaction-monitoring
星标数
28
复刻数
6
附带文件
1
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 didit-protocol 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Didit Transaction Monitoring AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/didit-protocol/skills/tree/main/skills/didit-transaction-monitoring
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/didit-protocol/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/didit-transaction-monitoring .claude/skills/didit-transaction-monitoring
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Didit Transaction Monitoring,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Didit Transaction Monitoring。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Didit Transaction Monitoring 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Didit Transaction Monitoring & Travel Rule API

Overview

Scores every transaction in real time against a rule engine (conditions, velocity windows, blocklists), screens crypto wallets and transaction hashes against blockchain analytics, and runs the FATF / EU TFR Travel Rule exchange with counterparty VASPs.

Key facts:

  • POST /v3/transactions/ is synchronous: screening, Travel Rule routing and rules all run inside the call, so the 201 response already carries the verdict. A transaction is created APPROVED; rules may move it to IN_REVIEW, DECLINED or AWAITING_USER.
  • transaction_id is unique per application. Reusing it is rejected (400 with {"transaction_id": "A transaction with this transaction_id already exists."}, or 409 when two requests race); the existing transaction is never returned. After a timeout, treat that 400 as "already created" and find the record in GET /v3/transactions/ instead of resubmitting.
  • GET /v3/transactions/{uuid}/ takes Didit's uuid from the create response, not your transaction_id.
  • Sandbox applications store transactions but skip rules, crypto screening, webhooks and billing (they stay APPROVED).
  • Non-monetary activity (logins, gameplay, bonuses, chargebacks) goes to the events API: see the didit-event-monitoring skill.

Pricing: $0.02 per transaction (Transaction Screening); a Travel Rule transfer is billed $0.02 per outbound transfer on its own line instead of the screening fee, never both; Wallet Verification & Screening (transaction-coupled or on-demand) from $0.15 with Didit-managed analytics, $0.02 with your own provider key, charged once even when Travel Rule attribution needs the same lookup. Sandbox is never billed. These are the list prices until 1 November 2026, when Didit pricing changes and the 500 free checks a month become $10 of free credit a month. Check didit.me/pricing for current prices.

API Reference: https://docs.didit.me/management-api/transactions/create Feature guides: https://docs.didit.me/transaction-monitoring/overview | https://docs.didit.me/transaction-monitoring/rules-api | https://docs.didit.me/transaction-monitoring/travel-rule | https://docs.didit.me/transaction-monitoring/wallet-screening


Authentication

Every request needs the x-api-key header. Use your application's API key from the Didit Business Console under Developers > API keys, or create an account and key programmatically (see Getting Started). Named keys with custom access need Transactions access (read for GET, write for POST, PUT, PATCH and DELETE); a key limited to some workflows or to approved sessions cannot have Transactions access.

Two exceptions: GET /v3/travel-rule/widget/{token}/ takes no key (the token is the credential), and the device endpoints /v1/transactions/ authenticate with X-Transaction-Token (see SDK transaction tokens).

Getting Started (No Account Yet?)

If you don't have a Didit API key, create one in 2 API calls:

  1. Register: POST https://apx.didit.me/auth/v2/programmatic/register/ with {"email": "you@yourdomain.com", "password": "MyStr0ng!Pass"}
  2. Check email for a 6-character verification code
  3. Verify: POST https://apx.didit.me/auth/v2/programmatic/verify-email/ with {"email": "you@yourdomain.com", "code": "A3K9F2"}. The key is in the response at application.api_key.

To add credits: GET /v3/billing/balance/ to check, POST /v3/billing/top-up/ with {"amount_in_dollars": 50} for a Stripe checkout link.

See the didit-verification-management skill for full platform management (workflows, sessions, users, billing).


Endpoints

Base URL: https://verification.didit.me

MethodPathPurpose
POST/v3/transactions/Submit a transaction (synchronous verdict)
GET/v3/transactions/List transactions, newest first (limit, default 50, and offset)
GET/v3/transactions/{uuid}/Full transaction detail
POST/v3/transactions/sdk-token/Mint a device token for /v1/transactions/
GET, POST/v3/transactions/rules/List / create rules
GET, PATCH, DELETE/v3/transactions/rules/{rule_uuid}/Read / update / delete a rule
POST/v3/transactions/rules/backtest/Evaluate a hypothetical rule against history
GET/v3/transactions/rules/library/Preset library with is_installed
POST, DELETE/v3/transactions/rules/install/Install / uninstall presets
POST/v3/wallet-screening/Screen one wallet, no transaction
POST/v3/wallet-screening/pdf/Render a screening result as PDF
GET, PUT/v3/travel-rule/settings/Travel Rule settings (PUT is partial)
PATCH/v3/transactions/{uuid}/travel-rule/Finish, cancel or resend a transfer
POST/v3/transactions/{uuid}/travel-rule/ownership/Confirm or deny wallet ownership
GET, POST/v3/travel-rule/wallet-addresses/Wallet address book
PATCH, DELETE/v3/travel-rule/wallet-addresses/{entry_uuid}/Update / delete an address entry
GET/v3/travel-rule/vasps/?search=VASP directory
POST/v3/travel-rule/inbound/Register an already-settled deposit (sunrise)
POST/v3/travel-rule/widget-session/Mint a wallet-ownership widget link
GET/v3/travel-rule/widget/{token}/Widget progress (no API key)

Create Transaction

POST https://verification.didit.me/v3/transactions/

Body (JSON)

FieldTypeRequiredNotes
transaction_idstringYesYour id, max 128 chars, unique per application. Alias txnId.
transaction_categorystringYesfinance, kyc, travel_rule, user_event, audit_trail_event, gambling_bet, gambling_limit_change, gambling_bonus_change. camelCase also accepted: travelRule, userPlatformEvent, auditTrailEvent, gamblingBet, gamblingLimitChange, gamblingBonusChange. Alias key type. Multi-word values are echoed back camelCase in transaction_type.
transaction_details.directionstringYesinbound / outbound (also in / out, any case). Echoed INBOUND / OUTBOUND.
transaction_details.amountnumber or decimal stringYesUp to 18 decimals; send a string for exact precision.
transaction_details.currencystringYesISO 4217 code or crypto asset symbol.
transaction_details.currency_kindstringNofiat or crypto. crypto enables crypto screening.
transaction_details.action_typestringNoe.g. deposit, withdrawal, transfer. Defaults to the category.
transaction_details.payment_reference_idstringNoExternal reference; for crypto, the on-chain hash (switches to hash screening).
transaction_details.crypto_params.crypto_chainstringNoNetwork for screening (BTC, ETH, LTC, XRP, BCH, DOGE, TRX, SOL, MATIC, BNB, BASE, OP, ARB; LIGHTNING only with a connected Elliptic or Chainalysis key).
transaction_details.amount_in_default_currency, default_currency, payment_detailsNoPre-converted amount and its currency; free-text memo.
subject.vendor_datastringYesMax 255 chars. Your user id: links the transaction to the same user profile your KYC sessions use (velocity, stored face for step-up).
subject.full_namestringYes
subject.entity_typestringNoindividual (default) or company.
subject.*Nofirst_name, last_name, date_of_birth (YYYY-MM-DD), address (country ISO alpha-3, town, state, street, post_code), institution_details, device_context, payment_method.
subject.payment_method / counterparty.payment_methodobjectNomethod_type (bank_card, bank_account, crypto_wallet, ewallet, unhosted_wallet, other), account_id (IBAN, wallet address), issuing_country.
counterpartyobjectNoSame shape as subject; nothing required.
custom_propertiesobjectNoFree key/values, readable in rules as custom_values.<key>. Alias props.
travel_rule_detailsobjectNoAlias travelRule. If sent, status is required (missing -> 400). See Travel Rule.
include_crypto_screeningbooleanNoPer-call override of the application default (null/omitted = default).
transaction_at, time_zonestringNoISO timestamp (default now) and IANA zone. Aliases txnDate, zoneId.

A subject or counterparty vendor_data on your user/business blocklist returns 400 (nothing is created). A blocklisted wallet, bank account, IP or device fingerprint is created and immediately DECLINED with decision_reason_code: "blocklisted", before rules run.

Example

bash
curl -X POST https://verification.didit.me/v3/transactions/ \
  -H "x-api-key: $DIDIT_API_KEY" -H "Content-Type: application/json" \
  -d '{
    "transaction_id": "tx-0001",
    "transaction_category": "finance",
    "transaction_details": {"direction": "outbound", "amount": "1500.50", "currency": "EUR", "action_type": "withdrawal"},
    "subject": {"entity_type": "individual", "vendor_data": "user-42", "full_name": "John Doe"},
    "counterparty": {"entity_type": "company", "full_name": "Acme Energy"},
    "custom_properties": {"order_id": "ORD-7891"}
  }'
python
import os, requests

r = requests.post(
    "https://verification.didit.me/v3/transactions/",
    headers={"x-api-key": os.environ["DIDIT_API_KEY"]},
    json={
        "transaction_id": "tx-0001",
        "transaction_category": "finance",
        "transaction_details": {"direction": "outbound", "amount": "1500.50", "currency": "EUR"},
        "subject": {"vendor_data": "user-42", "full_name": "John Doe"},
    },
    timeout=60,
)
tx = r.json()
print(r.status_code, tx.get("uuid"), tx.get("status"), tx.get("score"))

Response (201)

The full transaction detail (same shape as GET /v3/transactions/{uuid}/):

FieldNotes
uuidDidit id; use it in every follow-up path
txn_idYour transaction_id
transaction_type, action_type, directionAs stored
statusAPPROVED, IN_REVIEW, DECLINED, AWAITING_USER
score, severityRule score (typically 0-100); severity UNKNOWN/LOW/MEDIUM/HIGH/CRITICAL or null
decision_reason_code, decision_reason_labelWhy the status is what it is
amount, currency, currency_type, preferred_currency_amount, preferred_currency_code, payment_txn_idAmounts as decimal strings
rule_runs[], alerts[], provider_results[], tags[], parties[], payment_methods[]Evaluation detail; screening output is in provider_results
travel_ruleShort transfer object (uuid, status, protocol, required, obligations_count, originator_data, beneficiary_data, metadata) or null
action_requiredPending end-user action or null (below)
cost_breakdowntotal_price and items[]
environmentlive or sandbox

action_required

typeWhenFieldsWhat to do
wallet_ownershipWhenever the transaction's Travel Rule transfer has a pending (not completed, not expired) wallet-ownership widget session, whatever the transaction statusurl, widget_session_id, expires_atOpen url in a real browser or custom tab, never a mobile webview
verification_sessionOnly while the transaction is AWAITING_USER and a rule created a remediation sessionurl, session_id, session_token, statusSend the user to url or start the session with session_token in a Didit SDK

wallet_ownership wins when both apply. action_required returns to null once resolved. Remediation does not re-run rules: the session's decision sets the transaction status directly (Approved -> APPROVED, Declined -> DECLINED, In Review -> IN_REVIEW, with decision_reason_code user_action_approved / user_action_declined / user_action_in_review) and fires transaction.status.updated. An expired or abandoned session leaves the transaction AWAITING_USER.

Crypto screening (transaction-coupled)

Runs when transaction_details.currency_kind is crypto and monitoring is on for the application (or include_crypto_screening: true); false skips it. The screened wallet depends on direction and on whether you send the on-chain hash in payment_reference_id:

DirectionBefore the transfer (no hash)After the transfer (hash in payment_reference_id)
InboundSender wallet in counterparty.payment_method.account_idHash scoped to your deposit address in subject.payment_method.account_id (missing -> 400)
OutboundDestination wallet in counterparty.payment_method.account_idHash scoped to counterparty.payment_method.account_id (missing -> 400)

Network: transaction_details.crypto_params.crypto_chain; without it the currency is used as the chain, and USDT/USDC default to Ethereum unless the hash identifies Tron or Solana. Always set it for tokens and never send ETH for another EVM chain. LIGHTNING without a connected Elliptic or Chainalysis key returns 400 before screening or billing. A created transaction is not proof of screening: check provider_results.

Wallet Screening (on-demand)

POST https://verification.didit.me/v3/wallet-screening/: screens one address without creating a transaction. Needs a configured provider (Transactions > Settings > Provider Preferences), otherwise 409.

FieldRequiredNotes
wallet_addressYesMust match the chain (e.g. 0x + 40 hex for EVM). Alias address.
blockchainYesBTC, LIGHTNING, ETH, LTC, XRP, BCH, DOGE, TRX, SOL, MATIC, BNB, BASE, OP, ARB, USDT, USDC. USDT/USDC are legacy aliases for Ethereum, not multi-chain searches. LIGHTNING needs a connected Elliptic or Chainalysis key (else 400). Alias currency.
directionNoinbound, outbound, deposit, withdrawal. Context only; does not change the score.

Response 200: provider, screening_type (WALLET_SCREENING), risk_score (0-100), severity (0-9 UNKNOWN, 10-39 LOW, 40-69 MEDIUM, 70-89 HIGH, 90-100 CRITICAL; UNKNOWN is a band, never a pass), status (SCREENED, PENDING, ERROR: only SCREENED is a finished verdict, a PENDING result with score 0 is not clean), summary, wallet_address, blockchain, sanctions_hit, pep_counterparty (null = no PEP finding available), dominant_risk_category, risk_factors[] (top 5 drivers: source, category, label, entity_name, direction, exposure_type, amount_usd, percentage, is_high_risk, description), source_of_funds[], destination_of_funds[], counterparty_connections[], raw_response, report_signature. Errors: 400 validation, 409 no provider, 502 provider failed (retry later). Billed once per successful screening.

PDF: POST /v3/wallet-screening/pdf/ with the exact JSON the screening returned (including report_signature) returns application/pdf bytes. No provider call, no billing, nothing stored. A missing signature or any edited field returns 400.

bash
RESULT=$(curl -s -X POST https://verification.didit.me/v3/wallet-screening/ \
  -H "x-api-key: $DIDIT_API_KEY" -H "Content-Type: application/json" \
  -d '{"wallet_address": "0x94f1b9b64e2932f6a2db338f616844400cd58e8a", "blockchain": "ETH"}')
curl -X POST https://verification.didit.me/v3/wallet-screening/pdf/ \
  -H "x-api-key: $DIDIT_API_KEY" -H "Content-Type: application/json" \
  -d "$RESULT" -o wallet_screening_report.pdf

Travel Rule (FATF / EU TFR)

Settings

GET / PUT /v3/travel-rule/settings/ (PUT is a partial update). Turning on is_enabled needs a non-blank legal_name (stored or in the same request), otherwise 400.

FieldDefaultNotes
is_enabledfalseManaged exchange for travelRule transactions
legal_name, lei, compliance_email""Your VASP profile
jurisdiction"EU"Up to 8 chars; sets custom_values.travel_rule_regime
threshold_amount"0.00"Below it the transfer resolves to NOT_APPLICABLE (EU TFR has no minimum)
name_matching_strictnessDEFAULTNONE, STRICT, DEFAULT, FUZZY
confirmation_timeout_hours48Min 1; then AWAITING_COUNTERPARTY -> EXPIRED
timeout_outcomeHOLDOn expiry: HOLD (review), REJECT (decline), PROCEED (untouched)
inbound_auto_accepttrueAuto-accept inbound transfers to a verified address-book entry with a name match
auto_wallet_verificationtrueAuto-mint the ownership widget into action_required
allow_screenshot_proof, allow_self_declarationtrueWidget proof methods offered
vasp_attribution_enabledtrueBlockchain-analytics attribution when no rail resolves
disabled_networks[]GTR, TRUST, VERIFYVASP, SYGNA to skip over Didit's platform membership
is_discoverabletrueListed in the VASP directory and reachable on the INTERNAL rail
networks, travel_addressRead-only: per-network {rail, mode, platform_available, connected} (mode own/didit/off/unavailable) and your own travel address

Sending a transfer

Create a transaction with transaction_category: "travelRule" (or travel_rule) and travel_rule_details:

  • status is required on every request. When Travel Rule is enabled it is ignored and Didit drives the exchange; send "AWAITING_COUNTERPARTY". When Travel Rule is disabled, travel_rule_details is stored passively with the status you sent (current or legacy value), no rail runs.
  • beneficiary_data: wallet_address, name, and optional routing fields travel_address, counterparty_vasp_lei, counterparty_vasp_name, counterparty_vasp_email, counterparty_gtr_vasp_code, counterparty_trust_membership_id, counterparty_verifyvasp_id, counterparty_sygna_vasp_code. originator_data is optional (IVMS 101-style, Latin script).
  • A counterparty payment_method.method_type: "unhosted_wallet" declares a self-hosted wallet: no rail runs, the transfer starts in UNCONFIRMED_OWNERSHIP and (with auto_wallet_verification) the widget link lands in action_required.
  • Otherwise rails run in priority order INTERNAL -> TRP -> GTR -> TRUST -> VERIFYVASP -> SYGNA -> EMAIL, then blockchain-analytics attribution re-runs them once.
bash
curl -X POST https://verification.didit.me/v3/transactions/ \
  -H "x-api-key: $DIDIT_API_KEY" -H "Content-Type: application/json" \
  -d '{
    "transaction_id": "trv-0001",
    "transaction_category": "travelRule",
    "transaction_details": {"direction": "outbound", "amount": "0.25", "currency": "ETH", "currency_kind": "crypto"},
    "subject": {"vendor_data": "user-42", "full_name": "Jane Doe"},
    "counterparty": {"full_name": "Ana Diaz", "payment_method": {"method_type": "crypto_wallet", "account_id": "0xBeneficiaryWallet01"}},
    "travel_rule_details": {
      "status": "AWAITING_COUNTERPARTY",
      "beneficiary_data": {"wallet_address": "0xBeneficiaryWallet01", "name": "Ana Diaz"}
    }
  }'

Transfer status values (travel_rule.status)

StatusMeaning / action
AWAITING_COUNTERPARTYSent; waiting on the counterparty VASP. Do not settle.
UNCONFIRMED_OWNERSHIPWaiting on proof of wallet control (widget or .../ownership/). Not resendable.
ON_HOLDHeld for manual action (e.g. inbound with no matching address-book entry); the transaction shows AWAITING_USER.
COMPLETEDData matched: safe to broadcast on-chain now.
FINISHEDTerminal. You reported the on-chain hash (outbound), or a sunrise deposit settled.
CANCELLEDTerminal. Cancelled with action: "cancel".
EXPIREDTerminal. confirmation_timeout_hours passed; timeout_outcome applied to the transaction.
COUNTERPARTY_MISMATCHED_DATABeneficiary name failed name_matching_strictness.
COUNTERPARTY_VASP_GENERAL_DECLINECounterparty declined or ownership was denied.
COUNTERPARTY_VASP_NOT_FOUNDNo rail or attribution resolved a VASP. Resendable.
COUNTERPARTY_VASP_NOT_REACHABLEVASP identified but its TRP endpoint failed. Resendable.
NOT_ENOUGH_COUNTERPARTY_DATACounterparty answered without enough data. Resendable.
NOT_APPLICABLEAmount below threshold_amount, or the value you sent on a passive record.

Never broadcast before COMPLETED. Then PATCH /v3/transactions/{uuid}/travel-rule/:

  • {"payment_txn_id": "0xhash"} -> FINISHED (outbound and COMPLETED only, else 409)
  • {"action": "resend"} -> re-run routing (outbound, from the three resendable states, else 409); improve counterparty data first
  • {"action": "cancel"} -> cancel any non-terminal transfer (409 if terminal)

The transaction's own status is separate (allow / hold / decline); the travel_rule_eu_tfr preset bundle moves it to review on mismatch, unverified self-hosted wallets (>= 1000 in default currency) and expiry.

Receiving and wallet ownership

  • Address book: POST /v3/travel-rule/wallet-addresses/ with address, chain, holder_name, holder_vendor_data, entity_type, travel_address, self_declared (true creates it already verified). Duplicate address + chain -> 400. PATCH .../{entry_uuid}/ accepts holder_name, holder_vendor_data, entity_type, travel_address. DELETE deletes the entry (204). Matching is by address only.
  • Confirm ownership: POST /v3/transactions/{uuid}/travel-rule/ownership/ with {"confirmed": true|false} (beneficiary side, UNCONFIRMED_OWNERSHIP only, else 409). true verifies the entry and runs the name match; false -> COUNTERPARTY_VASP_GENERAL_DECLINE. Inbound originator_data/beneficiary_data stay hidden until ownership is confirmed.
  • Widget: POST /v3/travel-rule/widget-session/ with wallet_address, chain, optional holder_name, vendor_data, transaction_id (Didit transaction uuid to advance), satoshi_deposit_address (enables Satoshi test), callback_url, expires_in_minutes (default 60, 5-10080) -> {widget_session_id, token, url, expires_at}. Open url verbatim in a browser. Poll GET /v3/travel-rule/widget/{token}/ with no API key (completed_at non-null when verified; 404 unknown token, 410 expired) or wait for travel_rule.status.updated.
  • Sunrise (already-settled deposit): POST /v3/travel-rule/inbound/ with required chain, txid, wallet_address, amount (decimal string), currency, optional originator_data, beneficiary_data, originating_vasp ({name, lei, travel_address}). Dedupes on txid + wallet_address: 201 with created: true for a new inbound transaction, 200 with created: false when reused. Resolves to ON_HOLD (no entry), UNCONFIRMED_OWNERSHIP, COUNTERPARTY_MISMATCHED_DATA, or COMPLETED then FINISHED.
  • Directory: GET /v3/travel-rule/vasps/?search=<name> (limit default 50, offset): name, lei, jurisdiction, dd_status, dd_score, dd_score_breakdown, reachable_rails, is_didit_customer.

SDK transaction tokens (client-side submission)

Mint on your backend: POST /v3/transactions/sdk-token/ with vendor_data (required), ttl_seconds (default 900, 60-86400), max_uses (>= 1; omit or null for unlimited within the TTL) -> 201 {"sdk_token", "expires_at"}. The device calls POST https://verification.didit.me/v1/transactions/ and GET /v1/transactions/{uuid}/ with header X-Transaction-Token. The subject is forced to the token's vendor_data, the server adds IP and user agent, and reads only return transactions of that vendor_data. A rejected token (missing, unknown, expired, over max_uses) is 401. The Didit Web, iOS, Android, React Native and Flutter SDKs wrap this as submitTransaction and auto-launch wallet_ownership actions (see the didit-sdk-integration skill). Never ship an API key in an app.

Rules API

Same rules as Transactions > Rules in the console. Create in TEST, backtest, then switch to ACTIVE. Rules never run on sandbox applications.

FieldNotes
titleRequired, unique per application (duplicate -> 400)
categoryRequired, e.g. finance, aml_ctf, crypto_monitoring, travel_rule
modeRequired: ACTIVE, TEST (records runs, never changes score/status), DISABLED
evaluation_modeALL (default) or ANY for conditions
scopetransaction_types, directions (INBOUND/OUTBOUND), action_types; record_types (["transaction"] default, ["event"], or both) and event_categories for event rules
conditions[]{field, operator, value}; operators eq, ne, gt, gte, lt, lte, in, not_in, contains, not_contains, contains_any, regex, fuzzy_match (needs score), exists, not_exists and aliases; optional value_type (list, field, relative_date) and group_index
aggregation[]{metric, field?, operator, value, window, filters}; metrics count, sum, avg, min, max, distinct_count; window <N>m/<N>h/<N>d; "__current__" in filters means "same value as this transaction"
actions[]add_score (value), change_status (value APPROVED/IN_REVIEW/DECLINED/AWAITING_USER; AWAITING_USER needs workflow_id), add_tags, add_note, add_to_list (list_id), open_case
  • GET /v3/transactions/rules/ filters: source (PRESET/CUSTOM), category, mode, bundle, search, ordering, limit, offset.
  • PATCH .../rules/{rule_uuid}/: custom rules accept every field; presets accept only mode (other fields -> 400).
  • DELETE .../rules/{rule_uuid}/: deletes a custom rule (204); a preset returns 400 (uninstall it instead).
  • POST .../rules/backtest/ with conditions, aggregation, evaluation_mode (default ALL), scope, period_days (default 90) -> {evaluated, matched, affected_entities, period_days}. Backtest the exact config you will activate.
  • GET .../rules/library/ (bundle, category, search) lists 150+ presets with is_installed. POST .../rules/install/ with {"library_keys": [...]} or {"bundle": "travel_rule_eu_tfr"} -> {installed_library_keys, installed_count}; DELETE with the same body -> {uninstalled_count}. Neither key -> 400.
bash
curl -X POST https://verification.didit.me/v3/transactions/rules/ \
  -H "x-api-key: $DIDIT_API_KEY" -H "Content-Type: application/json" \
  -d '{
    "title": "High-value withdrawal step-up",
    "category": "finance",
    "mode": "TEST",
    "scope": {"directions": ["OUTBOUND"]},
    "conditions": [{"field": "preferred_currency_amount", "operator": "gte", "value": 5000}],
    "actions": [{"type": "change_status", "value": "AWAITING_USER", "workflow_id": "YOUR_BIOMETRIC_WORKFLOW_ID"}]
  }'

Cases opened by open_case are covered by the didit-case-management skill.

Webhooks

Subscribe with POST /v3/webhook/destinations/ (subscribed_events):

  • transaction.created and transaction.status.updated: transaction_id (Didit uuid), txn_id, status, score, severity, amount, currency, direction, action_required. Fetch the full record for the reason.
  • travel_rule.status.updated: transaction_id, txn_id, travel_rule_status, rail, direction.

Flat envelope with webhook_type, event_id (dedupe key, reused on retries), timestamp, created_at, application_id, environment; verify X-Signature-V2 with X-Timestamp. Sandbox applications emit no transaction webhooks. Events have no webhooks.

Error Responses

StatusMeaningAction
400Invalid request: missing field, reused transaction_id ({"transaction_id": "A transaction with this transaction_id already exists."}), missing travel_rule_details.status, missing wallet for hash screening, blocklisted vendor_data, unsupported chain, edited PDF payloadRead the field errors in the response body
401The API key has expired; or on /v1/transactions/, a missing, invalid, expired or used-up X-Transaction-TokenRotate the key, or mint a new SDK token
403Missing, wrong or revoked API key; a scoped key without access to this endpoint; a request from outside the key's IP allowlist; or not enough credits (transactions and wallet screening return "code": "insufficient_credits")Read the message in detail or error: fix the x-api-key header or the key's access, or top up
404Unknown transaction, rule, address entry or widget token (or not a uuid)Use the Didit uuid
409Two creates with the same transaction_id raced; Travel Rule action not allowed in the current status; wallet screening with no provider configuredRe-read the record before retrying
410Widget session expiredMint a new widget session
429Rate limit: 300 POST/PATCH/DELETE and 600 GET requests a minute per keyWait the Retry-After seconds, then retry
502Wallet screening provider failedRetry later

Common Workflows

Crypto withdrawal with Travel Rule (end to end)

  1. PUT /v3/travel-rule/settings/ once with is_enabled: true and legal_name.
  2. POST /v3/transactions/ with transaction_category: "travelRule", crypto transaction_details (with crypto_params.crypto_chain), the user as subject, the destination as counterparty payment_method (unhosted_wallet if it is the user's own wallet), and travel_rule_details with status and beneficiary_data.
  3. If action_required.type == "wallet_ownership", send the user to its url in a browser.
  4. Wait for travel_rule.status == "COMPLETED" (travel_rule.status.updated webhook or GET /v3/transactions/{uuid}/), and for a non-declined transaction status.
  5. Broadcast on-chain, then PATCH .../travel-rule/ with payment_txn_id -> FINISHED.

Step-up biometrics for high-value transactions

  1. Create a rule (Rules API or console) whose change_status action targets AWAITING_USER with a Biometric Authentication workflow_id; backtest, then PATCH {"mode": "ACTIVE"}.
  2. Submit transactions as usual with the same vendor_data as the user's KYC; when the rule fires, action_required.type == "verification_session".
  3. Send the user to url: one live selfie is face-matched against the face verified at onboarding.
  4. The session decision sets the transaction to APPROVED, DECLINED or IN_REVIEW and fires transaction.status.updated.

Deposit screening after settlement

Send direction: "inbound", currency_kind: "crypto", the hash in payment_reference_id, your deposit address in subject.payment_method.account_id, and the network in crypto_params.crypto_chain; read provider_results and the transaction status.

Utility Scripts

scripts/submit_transaction.py submits one transaction and prints the JSON plus a summary (uuid, status, score, travel_rule.status, action_required.type).

bash
export DIDIT_API_KEY="your_api_key"

python scripts/submit_transaction.py --txn-id tx-0001 --amount 1500.50 --currency EUR \
    --vendor-data user-42 --subject-name "John Doe" --counterparty-name "Acme Energy" \
    --counterparty-entity-type company

# Outbound crypto withdrawal with wallet screening
python scripts/submit_transaction.py --txn-id wd-0001 --amount 0.25 --currency ETH --chain ETH \
    --vendor-data user-42 --subject-name "Jane Doe" --counterparty-name "Ana Diaz" \
    --wallet 0xBeneficiaryWallet01 --crypto

# Travel Rule transfer to the user's own self-hosted wallet
python scripts/submit_transaction.py --txn-id trv-0001 --amount 0.25 --currency ETH --chain ETH \
    --vendor-data user-42 --subject-name "Jane Doe" --counterparty-name "Jane Doe" \
    --wallet 0xJanesColdWallet01 --crypto --category travel_rule --unhosted

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Didit Transaction Monitoring AI 技能有什么作用?

集成 Didit Transaction Monitoring(KYT)、加密货币钱包筛查,以及 FATF / EU TFR Travel Rule。适用于用户想要实时监控交易,依据 AML/欺诈规则评估交易,创建、回测或通过 API 安装监控规则,列出或读取受监控交易,根据区块链分析筛查加密货币钱包或交易哈希,生成钱包筛查 PDF,遵循加密货币 Travel Rule(与交易对手 VASP 交换发起方/受益人信息),验证自托管钱包所有权,登记入金后的(sunrise)转账,生成用于客户端提交的 SDK 交易令牌,或使用 Didit 通过生物特征重新验证加强对高风险交易的验证。每笔交易 $0.02。

为什么在 TypingMind 中使用 Didit Transaction Monitoring?

因为您只需安装一次,就能搭配任何模型使用。Didit Transaction Monitoring 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Didit Transaction Monitoring?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/didit-protocol/skills/tree/main/skills/didit-transaction-monitoring。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Didit Transaction Monitoring?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Didit Transaction Monitoring 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Didit Transaction Monitoring 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Didit Transaction Monitoring AI 技能免费吗?

是的。didit-protocol 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇