# Close an open checkout so it can no longer be paid

`POST /payments/checkouts/{id}/expire` · Rivier · shop

Close an open checkout so it can no longer be paid.

- Scope: shop:write
- Mcp: rivier_payments_checkout_expire
- Graphql: Mutation.shopCheckoutExpire
- Sdk: shop.checkout.expire
- Cli: shop checkout expire

## Parameters

- `id` (path, required), string

## 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/payments/checkouts/{id}/expire' \
  -H 'Authorization: Bearer $KEY'
```
