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

# Checkout Session

> Set checkout access cookie from token.

# Checkout Session

## Set session cookie

```bash theme={null}
POST /api/checkout/session
```

Body:

```json theme={null}
{
  "orderId": "clxxxxxxxx",
  "token": "checkout-token"
}
```

Response: `{ "success": true }` plus httpOnly access cookie.

## Enter redirect

```bash theme={null}
GET /api/checkout/enter?orderId=...&token=...
```

Sets the cookie and redirects to the invoice page.

Use these after Create Order when you need delivery/keys access without email matching.
