> ## 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.

# Identity decisions

> A verification's statuses, what to do with each decision, and what to store

A verification has a **status**, and only when it reaches `DECIDED` does it have a **decision**.

## Statuses

| `status` | What happened |
| - | - |
| `PENDING` | Created; the person has not finished yet |
| `DECIDED` | A result arrived and your policy ran. It carries `decision` |
| `ABANDONED` | Nobody finished within the time limit |
| `UNKNOWN` | Something arrived that this version does not know how to interpret. **Never treat it as approved** |

Null fields are not sent: an undecided verification **does not carry** the `decision` key.
Check for absence, not `null`.

## Decisions

| `decision` | What to do |
| - | - |
| `APPROVED` | Let them through |
| `DECLINED` | Do not let them through |
| `REVIEW` | Not yet. Someone on your team resolves it in Fraudeg |

**`REVIEW` is not a final answer.** It is final for that field until a person resolves the
case in the dashboard; when they do, `decision` changes to `APPROVED` or `DECLINED`. In your product, `REVIEW`
is closer to "we are reviewing" than to a rejection: keep the person in that state and wait for the
second notification.

**A decision your code does not know is treated as `REVIEW`.** The vocabulary can gain new
values; letting someone through on a value you have never seen is the only way that becomes
a security problem.

## What to store

| Field | Why |
| - | - |
| `decision` | It is what your product acts on |
| `decision_rule` | A stable code that says **what** produced that decision. Store it: it is what you will want the day someone asks why a customer was declined |
| `flow_config_version` | The version of your policy the decision was made with, frozen at that moment |
| `decided_at` | When. In UTC |

`decision_rule` is for explaining and auditing, not for deciding: **always branch on `decision`**.
If a code shows up that you do not recognize, treat it as `REVIEW`.

`flow_config_version` does not move when you edit your policy later. That is why an old decision
stays defensible: it says which rules it was made with, not today's.

## Dates

All dates in REST responses are UTC and come without an offset in the text. Interpret them as
UTC. In webhooks, on the other hand, `occurred_at` and `decided_at` do carry the offset (`Z`).

Displaying them as local time without assuming UTC shifts every verification by several hours, in the direction that
makes a decision look earlier than its own request.

## Next step

[Webhooks](https://docs.fraudeg.com/en/webhooks.md): how we notify you and how you check that the notification is ours.
The API read is in [GET /verifications](https://docs.fraudeg.com/en/referencia/verificacion.md).


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