> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/miscellaneous/llms.txt)
> Source: https://docs.saleor.io/api-reference/miscellaneous/objects/checkout-settings

# CheckoutSettings Object

Represents the channel-specific checkout settings.

```graphql
type CheckoutSettings {
  useLegacyErrorFlow: Boolean!
  automaticallyCompleteFullyPaidCheckouts: Boolean!
  automaticCompletionDelay: Minute
  automaticCompletionCutOffDate: DateTime
  allowLegacyGiftCardUse: Boolean!
}
```

<a id="fields"></a>

### Fields

<a id="use-legacy-error-flow"></a>

#### [`useLegacyErrorFlow`](#use-legacy-error-flow) ● [`Boolean!`](/api-reference/miscellaneous/scalars/boolean.md)

Default `true`. Determines if the checkout mutations should use legacy error flow. In legacy flow, all mutations can raise an exception unrelated to the requested action - (e.g. out-of-stock exception when updating checkoutShippingAddress.) If `false`, the errors will be aggregated in `checkout.problems` field. Some of the `problems` can block the finalizing checkout process. The legacy flow will be removed in Saleor 4.0. The flow with `checkout.problems` will be the default one.

<a id="automatically-complete-fully-paid-checkouts"></a>

#### [`automaticallyCompleteFullyPaidCheckouts`](#automatically-complete-fully-paid-checkouts) ● [`Boolean!`](/api-reference/miscellaneous/scalars/boolean.md)

Default `false`. Determines if the paid checkouts should be automatically completed. This setting applies only to checkouts where payment was processed through transactions.When enabled, the checkout will be automatically completed once the checkout `charge_status` reaches `FULL`. This occurs when the total sum of charged and authorized transaction amounts equals or exceeds the checkout's total amount.

Added in Saleor 3.20

<a id="automatic-completion-delay"></a>

#### [`automaticCompletionDelay`](#automatic-completion-delay) ● [`Minute`](/api-reference/miscellaneous/scalars/minute.md)

The time in minutes to wait after a checkout is fully paid before automatically completing it.

Added in Saleor 3.22

<a id="automatic-completion-cut-off-date"></a>

#### [`automaticCompletionCutOffDate`](#automatic-completion-cut-off-date) ● [`DateTime`](/api-reference/miscellaneous/scalars/date-time.md)

The date time defines the earliest checkout creation date on which fully paid checkouts can begin to be automatically completed.

Added in Saleor 3.22

<a id="allow-legacy-gift-card-use"></a>

#### [`allowLegacyGiftCardUse`](#allow-legacy-gift-card-use) ● [`Boolean!`](/api-reference/miscellaneous/scalars/boolean.md)

Default to `true`. Determines whether gift cards can be attached to a Checkout via `addPromoCode` mutation. Usage of this mutation with gift cards is deprecated.

Added in Saleor 3.23

<a id="member-of"></a>

### Member Of

[`Channel`](/api-reference/channels/objects/channel.md) object
