Overview
The payout tools allow you to manage and track affiliate payouts. All tools support both Markdown and JSON response formats.Available Tools
| Tool | Description | Permission |
|---|---|---|
affonso_list_payouts | List payouts with filtering | read:payouts |
affonso_get_payout | Get a single payout with details | read:payouts |
affonso_update_payout | Update payout status | write:payouts |
Payouts are typically created automatically when processing affiliate payments through the dashboard. Use these tools to track and update payout status.
Payout Statuses
| Status | Description |
|---|---|
PENDING | Payout created, awaiting processing |
PROCESSING | Payout is being processed |
COMPLETED | Payout successfully sent |
FAILED | Payout failed to process |
CANCELLED | Payout was cancelled |
affonso_list_payouts
List and filter payouts.Parameters
Page number for pagination
Results per page (max 100)
Filter by affiliate ID
Filter by status:
PENDING, PROCESSING, COMPLETED, FAILED, CANCELLEDFilter from date (ISO 8601)
Filter to date (ISO 8601)
Response format:
markdown or jsonExample Prompts
Response
affonso_get_payout
Get detailed information about a specific payout, including all associated transactions.Parameters
The payout ID (starts with
pay_)Response format:
markdown or jsonExample Prompts
Response
affonso_update_payout
Update an existing payout’s status.Parameters
The payout ID to update
New status:
PROCESSING, COMPLETED, FAILED, CANCELLEDNotes about the status change
Response format:
markdown or jsonExample Prompts
Response
Common Workflows
Process Pending Payouts
Review Affiliate Earnings
Monthly Payout Report
Status Transitions
Once a payout is
COMPLETED, its status cannot be changed. Refunds should be handled as new commission adjustments.Error Handling
| Error | Cause | Solution |
|---|---|---|
NOT_FOUND | Payout ID doesn’t exist | Verify the ID is correct |
ALREADY_COMPLETED | Cannot modify completed payout | Create a refund/adjustment instead |
INVALID_TRANSITION | Invalid status change | Check allowed status transitions |
PERMISSION_DENIED | Missing required scope | Check your API key permissions |
