List Affiliate Payouts
curl --request GET \
--url https://api.winwinkit.com/affiliates/{affiliate_id}/payouts \
--header 'x-api-key: <x-api-key>'const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
fetch('https://api.winwinkit.com/affiliates/{affiliate_id}/payouts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"payouts": [
{
"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",
"completed_at": null
}
],
"pagination": {
"limit": 100,
"offset": 0,
"total": 512,
"has_more": true
}
}
}{
"errors": [
{
"code": "<string>",
"status": 123,
"message": "<string>",
"source": "<string>"
}
]
}{
"errors": [
{
"code": "<string>",
"status": 123,
"message": "<string>",
"source": "<string>"
}
]
}{
"errors": [
{
"code": "<string>",
"status": 123,
"message": "<string>",
"source": "<string>"
}
]
}{
"errors": [
{
"code": "<string>",
"status": 123,
"message": "<string>",
"source": "<string>"
}
]
}Affiliate Payouts
List Affiliate Payouts
Returns the affiliate’s payouts from the project — both the monthly performance payouts their codes earn and the custom ones the project created — latest period first. Note 1: this endpoint is only accessible with a secret API key. Note 2: up to 100 payouts are returned per request; page through the rest with offset.
GET
/
affiliates
/
{affiliate_id}
/
payouts
List Affiliate Payouts
curl --request GET \
--url https://api.winwinkit.com/affiliates/{affiliate_id}/payouts \
--header 'x-api-key: <x-api-key>'const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
fetch('https://api.winwinkit.com/affiliates/{affiliate_id}/payouts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"payouts": [
{
"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",
"completed_at": null
}
],
"pagination": {
"limit": 100,
"offset": 0,
"total": 512,
"has_more": true
}
}
}{
"errors": [
{
"code": "<string>",
"status": 123,
"message": "<string>",
"source": "<string>"
}
]
}{
"errors": [
{
"code": "<string>",
"status": 123,
"message": "<string>",
"source": "<string>"
}
]
}{
"errors": [
{
"code": "<string>",
"status": 123,
"message": "<string>",
"source": "<string>"
}
]
}{
"errors": [
{
"code": "<string>",
"status": 123,
"message": "<string>",
"source": "<string>"
}
]
}Headers
The secret API key.
Path Parameters
The id of the affiliate whose payouts to list.
Query Parameters
How many payouts to return, from 1 to 100.
Required range:
1 <= x <= 100Example:
100
How many payouts to skip before the page.
Required range:
x >= 0Example:
0
Response
The page of payouts.
Show child attributes
Show child attributes