APPROVED, DECLINED, MANUAL_REVIEW). The exact decision values and reasoning are configured per tenant.
This guide uses the default EU base URL (
If your tenant is in another cell (e.g.,
https://api.documents.resistant.ai).If your tenant is in another cell (e.g.,
us-1, ca-1, ap-2, ap-3), use the corresponding base URL described in Concepts.When to use Adaptive Decision
Use Adaptive Decision if you want:- a single machine-readable decision output you can route in your workflow
- an optional human-readable reason label to support review and audit trails
- a stable interface even if underlying fraud indicators evolve
Availability
Adaptive Decision runs automatically for every submission — no request parameter or tenant setup is required to use it.Previously, Adaptive Decision required setting
enable_decision: true when creating the submission. This flag has been removed from the API. If your integration still sends it, it’s safely ignored — you won’t get an error, but you can remove it from new requests.Risk profiles
Adaptive Decision evaluates each submission against a risk profile — a predefined decisioning configuration that determines how fraud signals map to a decision. Two profile orientations are available:
New tenants start on the precision-oriented profile. To switch to recall-oriented, or to request standard adjustments (for example, changing which decision an existing reason triggers), contact your Resistant AI account team.
Need customer-specific rules — logic based on your own submission characteristics, channel, or geography? That goes beyond a risk profile and falls under managed service. Talk to your account team to discuss options.
Fetch the decision
Endpoint
Query parameters (optional)
Use query parameters to control what data is included in the response.
Examples:
Responses (per OpenAPI)
200 OK — decision available
decision: your tenant-specific decision outputadaptive_decision_version: version of the tenant configuration used to decidedecision_inputs: links to the underlying inputs (and optionally embedded data if requested)reason: optional explanation object (tenant-dependent)internal_decision(wheninclude_additional_data=true): internal decision value used for score mapping and color visualization in offline iframe
200 OK — decision with additional data
When usinginclude_additional_data=true:
400 Bad Request
A400 response indicates the request was invalid (for example, malformed query parameters).
404 Not Found — decision not ready or submission not found
If the decision is not ready yet (or the submission does not exist), the API may return404. See Core Integration Mechanics → Polling semantics for troubleshooting.
Non-success decision status
The API may return a non-success decision payload withstatus in:
FAILEDINVALID_INPUTINVALID_PIPELINE_CONFIGSKIPPED
Recommended integration behavior
- Store the decision response together with the underlying fraud result for auditability.
- Treat
SUCCESSas “decision available”; handle other statuses according to your workflow (e.g., route to manual review on failures). - If you rely on
reason.label, treat it as tenant-configured text (do not hardcode business logic on it).
Common issues
I get 400 Bad Request
I get 400 Bad Request
Check the request for malformed or invalid query parameters (e.g.
embed, include_additional_data).I get 404 repeatedly
I get 404 repeatedly
See Core Integration Mechanics → Polling semantics.
I need the full evidence behind the decision
I need the full evidence behind the decision
See the Tip under When to use Adaptive Decision above.