Skip to main content
POST
/
v1
/
verdict_reasons
/
override
C#
// POST /v1/verdict_reasons/override
const stytch = require('stytch');

const client = new stytch.B2BClient({
  project_id: '${projectId}',
  secret: '${secret}',
});

const params = {
  verdict_reason: "VIRTUAL_MACHINE",
  override_action: ALLOW,
};

client.Fraud.VerdictReasons.Override(params)
  .then(resp => { console.log(resp) })
  .catch(err => { console.log(err) });
{
  "request_id": "<string>",
  "verdict_reason_action": {
    "verdict_reason": "<string>",
    "default_action": "ALLOW",
    "override_action": "ALLOW",
    "override_created_at": "<string>",
    "override_description": "<string>"
  },
  "status_code": 123
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

Request type

verdict_reason
string
required

The verdict reason that you wish to override. For a list of possible reasons to override, see Warning Flags (Verdict Reasons). You may not override the RULE_MATCH reason.

override_action
enum<string>
required

The action that you want to be returned for the specified verdict reason. The override action must be one of ALLOW, BLOCK, or CHALLENGE.

Available options:
ALLOW,
CHALLENGE,
BLOCK,
NONE
override_description
string

An optional description for the verdict reason override.

Response

Successful response

request_id
string
required

Globally unique UUID that is returned with every API call. This value is important to log for debugging purposes; we may ask for this value to help identify a specific API call when helping you debug an issue.

verdict_reason_action
object
required

Information about the verdict reason override that was just set.

status_code
integer<int32>
required

The HTTP status code of the response. Stytch follows standard HTTP response status code patterns, e.g. 2XX values equate to success, 3XX values are redirects, 4XX are client errors, and 5XX are server errors.