# PATCH /agency/team-commission/payouts/:payout_id

**Resource:** [Agency](./agency.md)  
**MCP tool:** `update_agency_team_payout`  
**Scopes:** `agency:write`  
**Write operation:** yes

Agency owner only: mark a salesperson's month paid once the agency has paid them (paid true, with an optional payment_reference such as the bank transfer reference), or undo that (paid false). Only a month with money owed can be marked paid.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `payout_id` | path | string | yes | payouts[].id from get_agency_team_commission |
| `paid` | body | boolean | yes | true: the agency has paid this month. false: not paid after all. |
| `payment_reference` | body | string | no | Optional bank transfer reference, up to 200 characters |
| `require_approval` | body | boolean | no | Optional. Set true to route this write into the approval queue for human review instead of executing it immediately (returns 202 + an approval_id). Works even when your key/token has permission to execute directly. |

## Request example

```bash
curl -X PATCH   "https://api.trustpager.com/functions/v1/api/v1/agency/team-commission/payouts/:payout_id"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"paid":"...","payment_reference":"...","require_approval":"..."}'
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`