Cancel a Custom Payout
curl --request DELETE \
--url https://api.winwinkit.com/affiliates/{affiliate_id}/payouts/{payout_id} \
--header 'x-api-key: <x-api-key>'const options = {method: 'DELETE', headers: {'x-api-key': '<x-api-key>'}};
fetch('https://api.winwinkit.com/affiliates/{affiliate_id}/payouts/{payout_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"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",
"completed_at": null
}
}
}{
"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
Cancel a Custom Payout
Cancels one of the affiliate’s custom payouts while it is still pending, so it is never sent. The payout is kept, as cancelled. Monthly performance payouts can’t be cancelled. Note 1: custom payouts must be enabled for the project. Note 2: this endpoint is only accessible with a secret API key.
DELETE
/
affiliates
/
{affiliate_id}
/
payouts
/
{payout_id}
Cancel a Custom Payout
curl --request DELETE \
--url https://api.winwinkit.com/affiliates/{affiliate_id}/payouts/{payout_id} \
--header 'x-api-key: <x-api-key>'const options = {method: 'DELETE', headers: {'x-api-key': '<x-api-key>'}};
fetch('https://api.winwinkit.com/affiliates/{affiliate_id}/payouts/{payout_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"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",
"completed_at": null
}
}
}{
"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>"
}
]
}