Aller au contenu principal
Petanque Life

Prize Money & Awards

F08.06 5 fonctionnalités Planifié

En bref

Prize Money and Awards turns competition results into structured payouts: configurable prize pools per tournament with optional sponsor funding, percentage-based distribution recalculation, auto-generation from published bracket results, batch approval with per-jurisdiction withholding tax (Sweden 30, France 30, Germany 25, Spain 19, Italy 26, UK 20 percent), Stripe Connect-backed payment processing and a parallel trophy and medal inventory that auto-awards gold, silver, bronze and certificates from the same results.

Comment ça fonctionne

Prize pools are managed at /prize-pools/ as competition-scoped documents that may be funded by a sponsor (linked through Sponsorship and Grants) or by the federation directly. Distribution rules are percentage-based: /prize-pools/{id}/recalculate-distribution rebuilds the per-place payout amounts whenever the pool size or rules change, and /prize-pools/{id}/generate-payouts reads the published competition results and creates a PrizePayout per finishing position. Each PrizePayout is approved individually or in batch through /prize-payouts/batch-approve with optional withholding-tax calculation.

Withholding rates are standardised per jurisdiction — Sweden 30 percent, France 30 percent, Germany 25 percent, Spain 19 percent, Italy 26 percent, United Kingdom 20 percent — and can be overridden per payout via custom_tax_rate. /prize-payouts/calculate-tax provides a preview before approval and /prize-payouts/tax-report aggregates gross, withholding and net per jurisdiction for tax filings. After approval, /prize-payouts/{id}/process-payment links the payout to a Payment document so settlement runs through the same Stripe / Swish / bank-transfer pipeline as any other outbound transaction, with Stripe Connect handling marketplace payouts where the player has a connected account. Trophies and medals are tracked in parallel via /trophy-inventories/ for stock and /trophy-awards/ for individual awards. /prize-pools/{id}/generate-awards reads the same results and assigns gold, silver, bronze, plaques or certificates per place, moving each award through pending -> awarded -> returned states.

Capacités clés

  • Prize pool configuration per competition with optional sponsor linkage
  • Percentage-based distribution rules with on-demand recalculation
  • Auto-generation of payouts from published results via /prize-pools/{id}/generate-payouts
  • Batch approval with standardised per-jurisdiction withholding tax and custom override
  • Tax preview and aggregated /prize-payouts/tax-report grouping gross, withholding and net per country
  • Payment integration via /prize-payouts/{id}/process-payment using Stripe Connect for marketplace payouts
  • Trophy and medal inventory with auto-award from results and pending -> awarded -> returned tracking

En pratique

A sponsored singles tournament closes with a 5 000 EUR prize pool. The director hits Generate payouts; the system reads the bracket and produces eight PrizePayout rows per the percentage rules (40 percent to first, 25 percent to second, and so on). She runs Calculate tax preview — the German winner sees 25 percent withholding, the French semi-finalist 30 percent.

She batch-approves all eight, the system withholds the appropriate amounts and creates Payment rows; Stripe Connect transfers net amounts to each player's connected account within two business days. In parallel /prize-pools/{id}/generate-awards assigns the gold, silver and bronze medals from inventory; when each player collects their medal at the prize-giving ceremony the volunteer scans the QR code and the award flips to awarded.

Fonctionnalités de ce sous-système

5
ID Status Fonctionnalités
F08.06.01 Planifié ✅ Prize pool configuration per competition
F08.06.02 Planifié ✅ Prize money distribution rules
F08.06.03 Planifié ✅ Winner payment processing
F08.06.04 Planifié ✅ Tax reporting for prize money
F08.06.05 Planifié ✅ Trophy and medal inventory tracking