> ## Documentation Index
> Fetch the complete documentation index at: https://docs.affonso.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Commission

> Delete a commission transaction

<Warning>
  This action is irreversible. Commissions with status `paid` cannot be deleted. A webhook event will be emitted before deletion.
</Warning>

## Path Parameters

<ParamField path="id" type="string" required>
  The unique identifier of the commission to delete
</ParamField>

## Response

The response confirms successful deletion.

<ResponseField name="success" type="boolean">
  Always `true` for successful deletions
</ResponseField>

<ResponseField name="message" type="string">
  Confirmation message: `"Commission deleted successfully"`
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE "https://api.affonso.io/v1/commissions/com_abc123" \
    -H "Authorization: Bearer sk_live_your_api_key"
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
    "success": true,
    "message": "Commission deleted successfully"
  }
  ```
</ResponseExample>
