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

# CustomerCompensationPaymentRemedy

> The schema definition for the CustomerCompensationPaymentRemedy resource.

## Primary key

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

document\_id

uuid

default:"Random UUID"

public

required

Unique identifier of the customer compensation payment remedy.

## Specific attributes

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

amount

numeric

public

required

The amount of the customer compensation payment remedy.

**Rules**: Precision: 18, Scale: 2

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

attempts

integer

default:"0"

public

required

The attempts of the customer compensation payment remedy.

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

credit\_note\_reason

varchar

public

The credit note reason of the customer compensation payment remedy.

**Rules**: Possible values: annul, correct\_amount. Max length: 20 characters

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

currency

varchar

public

required

The currency of the customer compensation payment remedy.

**Rules**: Max length: 3 characters

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

kind

varchar

public

required

The kind of the customer compensation payment remedy.

**Rules**: Possible values: credit\_note, refund. Max length: 20 characters

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

outcome\_code

varchar

public

The outcome code of the customer compensation payment remedy.

**Rules**: Max length: 100 characters

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

requested\_at

timestamp

public

Timestamp when the customer compensation payment remedy was requested.

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

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

retryable

boolean

public

Indicates whether retryable applies to the customer compensation payment remedy.

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

settled\_at

timestamp

public

Timestamp when the customer compensation payment remedy was settled.

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

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

status

varchar

default:"requesting"

public

required

The status of the customer compensation payment remedy.

**Rules**: Possible values: failed, requested, requesting, settled. Max length: 20 characters

## Foreign keys

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

account

uuid

public

required

Reference to the Account this customer compensation payment remedy 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 payment remedy belongs to. [Ref: Customer Compensation Schema](https://docs.bbrands.io/schemas/compensation/customer-compensation.md)

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

payment\_intent

uuid

public

Optional reference to the Payment Intent associated with the customer compensation payment remedy. [Ref: Payment Intent Schema](https://docs.bbrands.io/schemas/payment/payment-intent.md)

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

payment\_refund\_intent

uuid

public

Optional reference to the Payment Refund Intent associated with the customer compensation payment remedy. [Ref: Payment Refund Intent Schema](https://docs.bbrands.io/schemas/payment/payment-refund-intent.md)

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

tax\_document\_intent

uuid

public

Optional reference to the Tax Document Intent associated with the customer compensation payment remedy. [Ref: Tax Document Intent Schema](https://docs.bbrands.io/schemas/tax/tax-document-intent.md)

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

tributary\_document

uuid

public

Optional reference to the Tributary Document associated with the customer compensation payment remedy. [Ref: Tributary Document Schema](https://docs.bbrands.io/schemas/payment/tributary-document.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.