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

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

const params = {
};

client.Fraud.VerdictReasons.List(params)
  .then(resp => { console.log(resp) })
  .catch(err => { console.log(err) });
{
  "request_id": "<string>",
  "verdict_reason_actions": [
    {
      "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

overrides_only
boolean

Whether to return only verdict reasons that have overrides set. Defaults to false.

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_actions
object[]
required

Information about verdict reasons and any overrides that were set on them.

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.