Backfill held-donation settlement data
POST
/admin/payouts/backfill-settlement
Populates stripe_available_on (and related settlement columns) for held donations that predate the settlement webhooks, so old settled rows stop rendering as "Pending settlement" and become releasable. Also clears any contradictory stripe_account_id stamps left on platform-held donations (#1134). Idempotent. Requires manage_system_settings. Audit logged.
Authorizations
BearerAuth
Authentication is handled automatically via httpOnly session cookies after signing in at /cognito/signin or via Google SSO at /cognito/oauth/google. For Swagger UI testing, paste a JWT token from the /cognito/signin response.
Type
HTTP (bearer)
Responses
Backfill result
application/json
JSON
{
"success": true,
"data": {
"creators": 0,
"missingBefore": 0,
"missingAfter": 0,
"backfilled": 0,
"stampsCleared": 0
}
}