> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fraudeg.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Flags catalog

> The public codes in flags[].code and decision.reason

This is the single catalog of public risk codes. They appear in `flags[].code` and, as
strings, in `decision.reason`. Program against these values, not against the engine's internal
mechanism.

Each `flags` entry has four fields: `code`, `category`, `severity` (`low` /
`medium` / `high`), and `description` (English, the language of the contract). Several internal signals
can collapse into the same `code` when they tell the merchant the same story: in
`flags` there's **one** entry per code.

`decision.reason` uses this same vocabulary, plus two forms when the decision was escalated by
something of yours: `custom_rule:<id>` and `entity_block:<kind>:<value>`. See
[Response format](https://docs.fraudeg.com/en/referencia/respuesta.md).

Don't confuse this catalog with the API's [error codes](https://docs.fraudeg.com/en/referencia/codigos-de-error.md).

## Codes

| `code` | `category` | `severity` | `description` |
| - | - | - | - |
| `AUTH_3DS_FAILED` | authentication | high | 3DS authentication explicitly failed |
| `AUTH_3DS_MISSING` | authentication | medium | 3DS authentication was not completed |
| `AUTH_CVV_MISMATCH` | authentication | high | CVV/CVC verification failed or was not provided |
| `AUTH_PIN_FAILED` | authentication | high | PIN verification did not succeed |
| `CARD_TESTING_PATTERN` | payment | high | Card-testing behaviour around this card, BIN or checkout |
| `PAYMENT_METHOD_RISK` | payment | medium | Payment path with reduced protection or irreversible settlement |
| `RETURN_ABUSE_PATTERN` | payment | medium | Transaction matches a return or refund abuse pattern |
| `GEO_CARD_ORIGIN_MISMATCH` | geo | medium | Card origin and transaction origin do not match |
| `GEO_HIGH_RISK_ORIGIN` | geo | medium | Origin country or corridor with elevated fraud rates |
| `GEO_IMPOSSIBLE_TRAVEL` | geo | high | Card used in distant locations within an implausibly short time |
| `NETWORK_ANONYMIZED_ORIGIN` | network | medium | Connection through an anonymizing network |
| `NETWORK_SHARED_ORIGIN` | network | low | Network origin shared by unrelated users or merchants |
| `VELOCITY_DEVICE_BURST` | velocity | low | Unusual burst of transactions in a short period |
| `DEVICE_SHARED_BY_MANY_USERS` | device | medium | Device shared by several unrelated accounts |
| `DEVICE_NEW_OR_CHANGED` | device | medium | Transaction from a device not seen before for this account |
| `ACCOUNT_TAKEOVER_PATTERN` | user | high | Session or credential activity consistent with account takeover |
| `IDENTITY_NEW_ACCOUNT` | user | low | Recently created account or first activity |
| `IDENTITY_SYNTHETIC_SIGNALS` | user | medium | Contact details consistent with a synthetic identity |
| `AMOUNT_ANOMALY` | core | medium | Amount or timing outside the normal pattern |
| `CARD_REPORTED_COMPROMISED` | core | high | Card flagged as lost, stolen or compromised by the issuer |
| `SHIPPING_ADDRESS_MISMATCH` | shipping | medium | Shipping and billing addresses do not match |
| `HISTORY_PRIOR_CHARGEBACKS` | chargeback\_history | high | Prior chargeback history on this user or merchant |
| `FUNDS_LAUNDERING_PATTERN` | other | high | Fund movement consistent with laundering or mule activity |
| `CREDIT_EXPOSURE_STACKING` | other | medium | Credit exposure accumulating faster than expected |
| `INSIDER_OR_DOCUMENT_FRAUD` | other | high | Payout or document inconsistency consistent with insider fraud |

There are 25 codes. You can `switch` on `code` with confidence: when a new signal
tells the same story, it's added to an existing code.

> [!NOTE]
>
> An additional code may appear, `RISK_SIGNAL_OTHER` (category `other`, severity
> `low`, description `Risk signal without a published code`), as a fallback when a signal
> doesn't have its own public code yet. Don't treat it as part of the stable catalog of 25
> — it's the fallback value. If you receive a `code` you don't recognize, treat it as a generic signal
> and act on [`decision.type`](https://docs.fraudeg.com/en/conceptos/decisiones), never on the reason alone.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.