Pular para o conteúdo

POST /wallets/:id/blocklist

Adiciona uma wallet à blocklist do tenant. Transações futuras envolvendo essa wallet retornam decision: REJECT automaticamente.

POST /api/v1/wallets/{id}/blocklist
Authorization: Bearer $SENTINEX_JWT
Content-Type: application/json
{
"reason": "Confirmed mixer exposure ≥ 80% in last 30d",
"category": "MIXER",
"expires_at": null
}
CategoriaQuando usar
MIXERWallet identificada como mixer (Tornado Cash, Wasabi, etc)
SANCTIONSMatch em lista OFAC/ONU/COAF
SCAMVítimas reportaram, evidência confirmada
STOLENRecurso roubado, vítima cliente do tenant
INTERNAL_POLICYDecisão interna não enquadrada nas anteriores

expires_at: ISO 8601 ou null (permanente).

{
"success": true,
"data": {
"wallet_id": "9c2a1b3e-…",
"blocked_at": "2026-05-18T14:32:11Z",
"blocked_by": "user_…",
"reason": "Confirmed mixer exposure ≥ 80% in last 30d",
"category": "MIXER",
"expires_at": null
}
}
DELETE /api/v1/wallets/{id}/blocklist
Authorization: Bearer $SENTINEX_JWT

Requer escopo wallets:write + role Compliance ou superior.

{
"success": true,
"data": {
"wallet_id": "9c2a1b3e-…",
"unblocked_at": "2026-05-18T15:00:00Z",
"unblocked_by": "user_…",
"removal_reason": "Re-screening retornou GREEN"
}
}

Para incluir/remover múltiplas wallets, use POST /wallets/blocklist:batch (até 200 itens).