:::endpoint GET /v1/admin/payouts/{payout}/activity

The tab Activity of the website's Payouts screen: the trader asking, every
decision and who took it, the payment with its reference, the team's notes,
and every change, newest first, up to sixty. What Propper's own staff did is
left out, as the Activity log leaves it out.

Needs a firm. Our own staff name one with the `Propper-Workspace` header.

## Request

```bash
curl "https://api.proppertrading.com/v1/admin/payouts/po_pk2jjt25cw5swbwv/activity" \
  -H "Authorization: Bearer ptat_9f2c1a44_3b8e7d2f5c9a1b4e6d8f0a2c4e6b8d1f" \
  -H "Propper-Workspace: acme"
```

## Response

```json
{
    "data": [
        {
            "object": "activity",
            "id": "alog_3w2kujf4wjaqfjp8",
            "event": null,
            "description": "Marked payout #BGKST3 as paid ($599.25), reference SEPA 2026-10-15 0042",
            "user": {
                "id": "usr_pj68ba8tmrbb7fxb",
                "name": "Ios Tester",
                "email": "propper-ios@propper.test"
            },
            "created_at": "2026-10-15T21:19:47+00:00"
        },
        {
            "object": "activity",
            "id": "alog_fwvpa4cajy9g6ne3",
            "event": "payout_request.updated",
            "description": "Updated payout request: #BGKST3",
            "user": {
                "id": "usr_pj68ba8tmrbb7fxb",
                "name": "Ios Tester",
                "email": "propper-ios@propper.test"
            },
            "created_at": "2026-10-15T21:19:47+00:00"
        }
    ],
    "meta": {
        "request_id": "req_01m50qheqby74bhkh5jfxywnwf",
        "has_more": false,
        "next_cursor": null
    }
}
```

| Field         | Description |
| ------------- | ----------- |
| `event`       | What kind of change, such as `payout_request.updated`. Null for an entry written in words alone |
| `description` | What happened, in words |
| `user`        | Who did it. Null for the system |

## Errors

| Status | Code                      | Meaning                                                                         |
| ------ | ------------------------- | ------------------------------------------------------------------------------- |
| 400    | `workspace_required`      | Asked by our own staff without naming a firm                                    |
| 401    | `invalid_token`           | Not a token, or the secret does not match                                       |
| 401    | `revoked_token`           | Signed out here or from another device                                          |
| 401    | `expired_token`           | Ninety days without use, or a set expiry passed                                 |
| 403    | `admin_access_required`   | This account no longer helps run the environment                                |
| 403    | `insufficient_scope`      | This device does not hold `admin:read`                                          |
| 403    | `workspace_not_permitted` | The `Propper-Workspace` header names an environment this account cannot act in |
| 403    | `forbidden`               | Without `view_payouts` and `view_activity_logs`                                                            |
| 404    | `resource_not_found`      | No payout with that id in this firm                                             |