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

# cart.checkout.expired

> A checkout has expired.

# cart.checkout.expired

> Generated from COPE public event contracts. Do not edit this page by hand.

Use this event to expire checkout-specific workflows when the buyer does not complete payment in time.

## Delivery Contract

| Field           | Value                                                                                |
| --------------- | ------------------------------------------------------------------------------------ |
| Encoding        | CloudEvents 1.0 structured JSON                                                      |
| Delivery        | At least once                                                                        |
| Idempotency     | Use the CloudEvents `source` + `id` tuple, or COPE `idempotency_key` when available. |
| Source          | `cope.cart`                                                                          |
| Subject pattern | `checkout:<identifier>`                                                              |
| Category        | Checkout                                                                             |
| Availability    | Planned; not currently emitted.                                                      |
| Schema title    | cart.checkout.expired v1 payload                                                     |
| Schema ID       | `https://schemas.cope.com/events/cart.checkout.expired/v1`                           |

## Payload Fields

| Field            | Required | Type     | Allowed Values          | Description |
| ---------------- | -------- | -------- | ----------------------- | ----------- |
| `buyer`          | no       | `object` | -                       | -           |
| `cart_id`        | yes      | `string` | -                       | -           |
| `checkout_id`    | yes      | `string` | -                       | -           |
| `event_type`     | yes      | `const`  | `cart.checkout.expired` | -           |
| `expired_at`     | yes      | `string` | -                       | -           |
| `metadata`       | no       | `object` | -                       | -           |
| `occurred_at`    | yes      | `string` | -                       | -           |
| `reason`         | yes      | `string` | -                       | -           |
| `schema_version` | yes      | `const`  | `1.0`                   | -           |
| `totals`         | no       | `object` | -                       | -           |

## Example CloudEvent

```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "data": {
    "cart_id": "example_id",
    "checkout_id": "example_id",
    "event_type": "cart.checkout.expired",
    "expired_at": "2026-05-05T12:00:00.000Z",
    "occurred_at": "2026-05-05T12:00:00.000Z",
    "reason": "example_reason",
    "schema_version": "1.0"
  },
  "datacontenttype": "application/json",
  "dataschema": "https://schemas.cope.com/events/cart.checkout.expired/v1",
  "id": "cart.checkout.expired:example",
  "idempotency_key": "cart.checkout.expired:example",
  "source": "cope.cart",
  "specversion": "1.0",
  "subject": "checkout:example",
  "time": "2026-05-05T12:00:00.000Z",
  "type": "cart.checkout.expired"
}
```

## Compatibility

Fields may be added within the same major version. Removing or changing the meaning of a documented field requires a new event version.
