# The Customer Evaluation object

## Attributes

- `id` (string)
  Unique identifier for the object.

- `object` (string)
  String representing the object’s type. Objects of the same type share the same value.

- `created_at` (timestamp)
  Time at which the object was created. Measured in seconds since the Unix epoch.

- `customer` (string, nullable)
  The ID of the Customer to associate with this CustomerEvaluation.

- `event_type` (enum)
  The type of evaluation event.
Possible enum values:
  - `login`
    A customer login event.

  - `registration`
    A customer registration event.

- `events` (array of objects, nullable)
  A list of events that have been reported on this customer evaluation.

  - `events.login_failed` (object, nullable)
    Event data for login_failed events.

    - `events.login_failed.reason` (string)
      The reason why this login failed.

  - `events.occurred_at` (timestamp)
    Time at which the event occurred. Measured in seconds since the Unix epoch.

  - `events.registration_failed` (object, nullable)
    Event data for registration_failed events.

    - `events.registration_failed.reason` (string)
      The reason why this registration failed.

  - `events.type` (string)
    The type of event that occurred.

- `livemode` (boolean)
  If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.

- `signals` (object, nullable)
  A hash of signal objects providing Radar’s evaluation of the customer.

  - `signals.account_sharing` (object, nullable)
    Account sharing signal.

    - `signals.account_sharing.evaluated_at` (timestamp)
      Time at which the signal was evaluated. Measured in seconds since the Unix epoch.

    - `signals.account_sharing.risk_level` (enum, nullable)
      The risk level for this signal.
Possible enum values:
      - `elevated`
        Elevated risk.

      - `highest`
        Highest risk.

      - `low`
        Low risk.

      - `normal`
        Normal risk.

      - `not_assessed`
        Not assessed.

      - `unknown`
        Unknown.

    - `signals.account_sharing.score` (float)
      Score for this signal (between 0.0 and 100.0).

  - `signals.multi_accounting` (object, nullable)
    Multi-accounting signal.

    - `signals.multi_accounting.evaluated_at` (timestamp)
      Time at which the signal was evaluated. Measured in seconds since the Unix epoch.

    - `signals.multi_accounting.risk_level` (enum, nullable)
      The risk level for this signal.
Possible enum values:
      - `elevated`
        Elevated risk.

      - `highest`
        Highest risk.

      - `low`
        Low risk.

      - `normal`
        Normal risk.

      - `not_assessed`
        Not assessed.

      - `unknown`
        Unknown.

    - `signals.multi_accounting.score` (float)
      Score for this signal (between 0.0 and 100.0).

### The Customer Evaluation object

```json
{
  "id": "cuseval_123456789",
  "object": "radar.customer_evaluation",
  "event_type": "registration",
  "livemode": true,
  "created_at": 1715769600,
  "customer": "cus_123456789",
  "events": null,
  "signals": {
    "multi_accounting": {
      "score": 50.1,
      "evaluated_at": 1715769600,
      "risk_level": null
    }
  }
}
```
