> ## 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.

# CustomerCompensationRechargeCredit

> The schema definition for the CustomerCompensationRechargeCredit resource.

## Primary key

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

document\_id

uuid

default:"Random UUID"

public

required

Unique identifier of the customer compensation recharge credit.

## Specific attributes

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

benefit\_kind

varchar

public

required

The benefit kind of the customer compensation recharge credit.

**Rules**: Possible values: recharge\_bonus, recharge\_restore. Max length: 20 characters

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

carry\_over

boolean

default:"false"

public

required

Indicates whether carry over applies to the customer compensation recharge credit.

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

quota\_window

varchar

public

required

The quota window of the customer compensation recharge credit.

**Rules**: Possible values: daily, daily\_total, monthly\_free, water\_cold, water\_natural, water\_sparkling. Max length: 20 characters

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

revoke\_reason

text

public

The revoke reason of the customer compensation recharge credit.

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

revoked\_at

timestamp

public

Timestamp when the customer compensation recharge credit was revoked.

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

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

status

varchar

default:"active"

public

required

The status of the customer compensation recharge credit.

**Rules**: Possible values: active, revoked, transferred. Max length: 20 characters

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

transfer\_reason

varchar

public

The transfer reason of the customer compensation recharge credit.

**Rules**: Possible values: absorbed\_by\_unlimited\_plan, count\_credit\_travels. Max length: 40 characters

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

transferred\_at

timestamp

public

Timestamp when the customer compensation recharge credit was transferred.

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

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

units

PgSmallInt

public

required

The units of the customer compensation recharge credit.

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

window\_date

date

public

Date associated with the window of the customer compensation recharge credit.

## Foreign keys

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

account

uuid

public

required

Reference to the Account this customer compensation recharge credit belongs to. [Ref: Account Schema](https://docs.bbrands.io/schemas/account/account.md)

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

customer\_compensation

uuid

public

required

Reference to the Customer Compensation this customer compensation recharge credit belongs to. [Ref: Customer Compensation Schema](https://docs.bbrands.io/schemas/compensation/customer-compensation.md)

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

maihue\_street\_user\_alias

uuid

public

Optional reference to the Maihue Street User Alias associated with the customer compensation recharge credit. [Ref: Maihue Street User Alias Schema](https://docs.bbrands.io/schemas/maihue-street/maihue-street-user-alias.md)

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

revoked\_by

uuid

public

Optional reference to the Users associated with the customer compensation recharge credit.

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

source\_recharge

uuid

public

Optional reference to the Maihue Street Recharge associated with the customer compensation recharge credit. [Ref: Maihue Street Recharge Schema](https://docs.bbrands.io/schemas/maihue-street/maihue-street-recharge.md)

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

subscription\_product\_billing\_period

uuid

public

Optional reference to the Subscription Product Billing Period associated with the customer compensation recharge credit. [Ref: Subscription Product Billing Period Schema](https://docs.bbrands.io/schemas/subscription/subscription-product-billing-period.md)

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

subscription\_product\_license

uuid

public

required

Reference to the Subscription Product License this customer compensation recharge credit belongs to. [Ref: Subscription Product License Schema](https://docs.bbrands.io/schemas/subscription/subscription-product-license.md)

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

transferred\_from

uuid

public

Optional reference to the Customer Compensation Recharge Credit associated with the customer compensation recharge credit. [Ref: Customer Compensation Recharge Credit Schema](https://docs.bbrands.io/schemas/compensation/customer-compensation-recharge-credit.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.