List guarantee periods
Pick a winner
201 { "payoutId": "p9x…" }.
The winner must have won in that period. If they won more than once, add "drawingId" to say which win.
You can also pick in the partner portal, on the campaign’s page.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
GET /api/v1/campaigns/{slug}/guarantees
{
"guarantees": [
{
"id": "g3n8p2…",
"period": 2,
"periodStart": "2026-10-01T00:00:00.000Z",
"periodEnd": "2026-10-31T00:00:00.000Z",
"status": "awaiting_pick",
"amountCents": 10000
}
]
}
status | Meaning |
|---|---|
not_needed | A prize in the period already met the threshold. |
awaiting_pick | Waiting for you to pick a winner. |
picked | Picked. The payout is on its way. |
paid | Paid. |
POST /api/v1/campaigns/{slug}/guarantees/{id}/pick
Content-Type: application/json
{ "winner": "user-4417" }
201 { "payoutId": "p9x…" }.
The winner must have won in that period. If they won more than once, add "drawingId" to say which win.
| Status | Code | When |
|---|---|---|
| 400 | rejected | That winner didn’t win in this period, or won more than once and no drawingId was sent. |
| 404 | not_found | No such guarantee. |
| 409 | rejected | The guarantee was already picked, or the campaign has no payout wallet. |
