Admin: Affiliates API
Affiliate moderation by platform admins.
Endpoints
| Method | Path | Description |
|---|---|---|
| GET | `/api/v1/admin/affiliates` | List |
| PUT | `/api/v1/admin/affiliates/:id/approve` | Approve application |
| PUT | `/api/v1/admin/affiliates/:id/reject` | Reject |
| PUT | `/api/v1/admin/affiliates/:id/suspend` | Suspend |
| PUT | `/api/v1/admin/affiliates/:id/tier` | Change tier / rate |
| GET | `/api/v1/admin/affiliates/payouts` | Pending payouts |
| POST | `/api/v1/admin/affiliates/payouts/:id/approve` | Approve payout |
| POST | `/api/v1/admin/affiliates/payouts/:id/reject` | Reject payout |
| POST | `/api/v1/admin/affiliates/commissions/recalculate` | Recalculate a period |
Every response uses the standard envelope:
{
"success": true,
"data": { /* resource or array */ },
"meta": { "total": 100, "cursor": "...", "hasMore": true },
"error": { "code": "ERROR_CODE", "message": "Human readable" }
}error is omitted on success; meta is omitted when not paginating.
Rate Limits
Subject to the standard 200 req/min/tenant authenticated limit. See [Rate Limits](/docs/api-reference/rate-limits) for full details and the per-endpoint overrides.