Affiliates
Create a Custom Payout
Creates a custom payout for the affiliate — an amount of the project's own for the days it covers, outside the monthly payouts. It is pending right away and is never sent automatically: it must be sent from the dashboard. Note 1: custom payouts must be enabled for the project. Note 2: this endpoint is only accessible with a secret API key.
post/affiliates/{affiliate_id}/payouts
Path parameters
affiliate_idstring required
The id of the affiliate to pay.
Headers
x-api-keystring required
The secret API key.
Request body
Example request
{
"amount": 25000,
"description": "Launch campaign video",
"period_start": "2026-09-01",
"period_end": "2026-09-15",
"operation_id": "821fae4b5-0123-4567-9152-5297086a161c"
}Response
The payout has been created.
Example response
{
"data": {
"payout": {
"id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"affiliate_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type": "custom",
"status": "pending",
"amount": 25000,
"description": "Launch campaign video",
"period_start": "2026-09-01",
"period_end": "2026-09-15",
"created_at": "2026-09-29T10:15:00.000Z"
}
}
}Changes
Changed in 1 of the 7 revisions of this API.1
- ○
endpoint added
endpoint-added
- ○