# Sales

Read your checkouts and charges. Sales endpoints accept an API key (own org) or an org member session.

## List

```bash
curl -s "https://api.fluense.social/orgs/$ORG/sales?statuses=CAPTURED,AUTHORIZED&limit=50" \
  -H "x-api-key: $KEY"
```

```json
{
  "sales": [
    {
      "id": "019a…",
      "terminal_id": "019a…",
      "terminal_title": "Front counter",
      "total_minor": 9700,
      "currency": "USD",
      "cashback_minor": 445,
      "status": "CAPTURED",
      "created_at": "2026-10-08T09:12:00Z"
    }
  ],
  "next_cursor": "019a…"
}
```

| Query | Notes |
| --- | --- |
| `status` | Single status filter |
| `statuses` | Comma-separated list (`PENDING`, `AUTHORIZED`, `CAPTURED`, `VOIDED`, `EXPIRED`, `SUPERSEDED`) |
| `limit` | 1–200, default 50 |
| `cursor` | From `next_cursor`; null ends the stream |

## Detail

`GET /sales/{id}` (session or key with org access) adds the cart and authorization.

```json
{
  "id": "019a…",
  "terminal_title": "Front counter",
  "items": "…",
  "currency": "USD",
  "total_minor": 9700,
  "cashback_minor": 445,
  "status": "CAPTURED",
  "auth": { "id": "019a…", "status": "CAPTURED" }
}
```

`cashback_minor` is the total pot for the cart (`total_cashback` at checkout time).
