RiskAssessment

Required access

read_orders access scope

Represents a risk assessment for an order.

Show definition
# Represents a risk assessment for an order.
type RiskAssessment {
  # Optional facts used to describe the risk assessment.
  facts(
    # The sort order for the risk assessment facts.
    sortKey: FactSortKeys = DEFAULT

    # Truncate the array result to this size.
    first: Int
  ): [RiskFact!]!

  # The provider of the risk assessment.
  providerName: String!

  # The likelihood that the order is fraudulent, based on this risk assessment.
  result: RiskAssessmentResult!
}

Fields

facts   ([RiskFact!]!)

Optional facts used to describe the risk assessment.

Argument Type Default Description
first

Int

Truncate the array result to this size.

sortKey

FactSortKeys

DEFAULT

The sort order for the risk assessment facts.

providerName   (String!)

The provider of the risk assessment.

result   (RiskAssessmentResult!)

The likelihood that the order is fraudulent, based on this risk assessment.

Sign up for a Partner account to get started.

Sign up