What's the difference between a check `decision` and `result`? (API)
When you run a check, a
decision and a
result are both returned in the response.
What are `decision` and `result`?
result is a precise outcome of the check. It may be common across several check types or it may be specific to one check type.
For example, the
DOCUMENT_FETCH check and the
VISA_CHECK can both return a
Pass while the
IDENTITY_CHECK is the only check type that can return a
decision is a way to unify all check results into high-level categories, which makes it easier to action them.
All checks, regardless of type, can have these values for
resultscan be returned for each check type, see the Responses for Run a check in the Developer Resources.
How does `result` affect `decision`?
result always has a direct impact on the
See the table below for an example of how the
decisions map to different check
How do configuration options affect `decision`?
decision can also be affected by the configuration options you're using.
For example, by default, the
IDENTITY_CHECK will return a
PASS when the check
PARTIAL when the
1+1, However, you can configure the check to return a
pass when the