Optionalauth: TestDonationAuthOptions
Optional TestDonationAuthOptions bag. Admin
callers pass adminApiKey; dashboard / editor callers pass
tiltifyOAuthToken. Server accepts either, and skips auth
entirely for donations targeting a demo campaign.
Standard UseMutationResult. mutate / mutateAsync
accept one TiltifyDonation or an array of them.
Fire a synthetic Tiltify donation (or batch) through the core REST API (
POST /donations/tiltify/test), which replays it down the same webhook path a real donation takes — alerts, donation trains, subathon timer, and every WebSocket subscriber react as if Tiltify had delivered it. Built for overlay QA.