# List a creator's earnings history

Returns a creator's earnings history, one page at a time.

```http
GET https://api.pozy.ai/public/creator-campaigns/{token}/payouts
```

- Area: Creators / Creator Portal
- Auth: none (public endpoint)

## Path parameters

- `token` (string, required)

## Query parameters

- `limit` (integer)
- `skip` (integer)

## Example request

```bash
curl -X GET "https://api.pozy.ai/public/creator-campaigns/string/payouts?limit=50"
```

```ts
const res = await fetch("https://api.pozy.ai/public/creator-campaigns/string/payouts?limit=50");
const data = await res.json();
if (!res.ok) throw new Error(data?.error ?? `Request failed with status ${res.status}`);
console.log(data);
```

```python
import os
import requests

resp = requests.get(
    "https://api.pozy.ai/public/creator-campaigns/string/payouts",
    params={
        "limit": 50,
    },
    timeout=30,
)
resp.raise_for_status()
print(resp.json())
```

## Response 200

- `entries`, array of object, required
  - `id`, string, required
  - `kind`, string, required: One of `accrual`, `approval`, `hold_release`, `adjustment`, `settling`, `settlement`, `reversal`, `topup`, `transfer`, `fee`
  - `amountCents`, integer, required
  - `fromBucket`, string, required: Can be null
  - `toBucket`, string, required: Can be null
  - `holdUntil`, string (date-time), required: Can be null
  - `createdAt`, string (date-time), required
- `total`, integer, required
- `payouts`, object, required
  - `mode`, string, required: One of `none`, `external`, `treasury`
  - `status`, string, required: One of `not_started`, `pending`, `enabled`, `not_applicable`
  - `country`, string, required: Can be null
  - `transfers`, array of object, required
    - `id`, string, required
    - `amountCents`, integer, required
    - `createdAt`, string (date-time), required

```json
{
  "entries": [
    {
      "id": "6bfebd43ddc270f6d2c56fc5",
      "kind": "accrual",
      "amountCents": 1,
      "fromBucket": "string",
      "toBucket": "string",
      "holdUntil": "2026-10-02T09:00:00.000Z",
      "createdAt": "2026-10-02T09:00:00.000Z"
    }
  ],
  "total": 42,
  "payouts": {
    "mode": "none",
    "status": "not_started",
    "country": "US",
    "transfers": [
      {
        "id": "6bfebd43ddc270f6d2c56fc5",
        "amountCents": 1,
        "createdAt": "2026-10-02T09:00:00.000Z"
      }
    ]
  }
}
```
