- Rotation page button + POST /api/credshare/teams/:slug/rotation/auto/checkout
open a CoinPay hosted checkout (owner/admin only).
- POST /api/coinpay/webhook and the page's return check settle once per checkout
session (rotation_payments); paying again extends from the current end.
- Hourly sweep: renewal email 3 days before, switch off when the days run out.
A team switched on by hand (paid_until NULL) never expires.
- Migration 012 (both dialects), CSP form-action allows coinpayportal.com.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>