# List payees

Returns payees.

```http
GET https://api.pozy.ai/v1/payees
```

- Area: Creators / Treasury
- Auth: Authorization: Bearer pz_live_...

## Example request

```bash
curl -X GET "https://api.pozy.ai/v1/payees" \
  -H "Authorization: Bearer $POZY_API_KEY"
```

```ts
const res = await fetch("https://api.pozy.ai/v1/payees", {
  headers: { Authorization: `Bearer ${process.env.POZY_API_KEY}` },
});
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/v1/payees",
    headers={"Authorization": f"Bearer {os.environ['POZY_API_KEY']}"},
    timeout=30,
)
resp.raise_for_status()
print(resp.json())
```

## Response 200

- `payees`, array of object
  - `id`, string
  - `payeeType`, string: One of `creator`, `ad_account`
  - `payeeRef`, string
  - `country`, string
  - `onboardingStatus`, string: One of `pending`, `complete`, `restricted`
  - `detailsSubmitted`, boolean
  - `payoutsEnabled`, boolean
  - `createdAt`, string (date-time)

```json
{
  "payees": [
    {
      "id": "6bfebd43ddc270f6d2c56fc5",
      "payeeType": "creator",
      "payeeRef": "string",
      "country": "US",
      "onboardingStatus": "pending",
      "detailsSubmitted": true,
      "payoutsEnabled": true,
      "createdAt": "2026-10-02T09:00:00.000Z"
    }
  ]
}
```
