> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bbrands.io/llms.txt
> Use this file to discover all available pages before exploring further.

# CustomerCompensationEvent

> The schema definition for the CustomerCompensationEvent resource.

## Primary key

[Navigate to header](#param-commercial-activity)

document\_id

uuid

default:"Random UUID"

public

required

Unique identifier of the customer compensation event.

## Specific attributes

[Navigate to header](#param-commercial-activity)

kind

varchar

public

required

The kind of the customer compensation event.

**Rules**: Possible values: account\_linked, alert\_linked, anonymized, applied, apply\_attempted, approved, assigned, cancelled, commented, escalated, evidence\_added, expired, failed, flagged, in\_flight, merged, opened, refreshed, rejected, requested, retried, revoked, subject\_added, transitioned, unflagged, updated, verdict\_changed. Max length: 30 characters

[Navigate to header](#param-commercial-activity)

payload

jsonb

public

required

The payload of the customer compensation event.

## Foreign keys

[Navigate to header](#param-commercial-activity)

actor

uuid

public

Optional reference to the Users associated with the customer compensation event.

[Navigate to header](#param-commercial-activity)

case

uuid

public

Optional reference to the Customer Compensation Case associated with the customer compensation event. [Ref: Customer Compensation Case Schema](https://docs.bbrands.io/schemas/compensation/customer-compensation-case.md)

[Navigate to header](#param-commercial-activity)

compensation

uuid

public

Optional reference to the Customer Compensation associated with the customer compensation event. [Ref: Customer Compensation Schema](https://docs.bbrands.io/schemas/compensation/customer-compensation.md)

[Navigate to header](#param-commercial-activity)

incident

uuid

public

Optional reference to the Customer Compensation Incident associated with the customer compensation event. [Ref: Customer Compensation Incident Schema](https://docs.bbrands.io/schemas/compensation/customer-compensation-incident.md)

## Tracking attributes

[Navigate to header](#param-commercial-activity)

created\_at

timestamp

public

required

Timestamp when the record was created.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

deleted\_at

timestamp

public

Timestamp when the record was soft-deleted, when applicable.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

is\_actived

boolean

default:"true"

public

required

Indicates whether the record is currently active.

[Navigate to header](#param-commercial-activity)

is\_deleted

boolean

default:"false"

public

required

Indicates whether the record has been soft-deleted.

[Navigate to header](#param-commercial-activity)

updated\_at

timestamp

public

Timestamp when the record was last updated.

**Rules**: Precision: 6, with timezone


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.