decision.type is the field that tells the merchant what to do with the transaction. It is the
only actionable field in the response — never act on the score, act on this.
It has exactly 5 possible values:
STEP_UP_AUTH and HOLD both end in the same transaction_state (HELD) — the state does not
tell them apart. If you need to know which of the two decisions produced a HELD
state, you have to read decision.type, not transaction_state. See
Transaction lifecycle for details on this
ambiguity.conditions
A list of pending conditions when decision.type is STEP_UP_AUTH. Today the only
observed value is OTP_VERIFICATION. For all other decisions, conditions comes back
empty ([]).
reason
A list of strings that explain the decision. Each entry is a public risk signal code
(e.g. AUTH_3DS_FAILED), or one of these two forms when something of yours raised the
decision:
The details of
flags are in Response format. The code catalog
lives in Flags. Do not confuse these risk reasons with the API’s
error codes.