# Check a guest out

`POST /lodging/reservations/{id}/check-out` · Rivier · bookings

Check a guest out: the folio must balance unless a person accepts it, closes into an invoice, and the room is marked dirty.

- Scope: bookings:write
- Mcp: rivier_lodging_checkout
- Graphql: Mutation.checkOut
- Sdk: bookings.reservation.checkOut
- Cli: bookings reservation check out
- Events: bookings.reservation.checkedOut

## Parameters

- `id` (path, required), string

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "acceptBalance": {
      "type": "string",
      "maxLength": 300
    }
  },
  "additionalProperties": false
}
```

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X POST 'https://api.rivier.ai/lodging/reservations/{id}/check-out' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "acceptBalance": "string"
}'
```
