@playlive/fundraiser-data
    Preparing search index...

    Function postTiltifyTestDonations

    • Fire a synthetic Tiltify donation (or batch) through the Play Live core REST API, which replays it down the same webhook path a real donation takes — alerts, donation trains, subathon timer, and every WebSocket subscriber all react as if Tiltify had delivered it.

      Intended for overlay QA: drive an alert without waiting on a real donor. Reads its base URL from twitchServiceUrl (the core REST API — same host that serves the Twitch charity proxy routes).

      Auth: supply adminApiKey or tiltifyOAuthToken. Donations that target a demo campaign need neither.

      Returns Promise<void>

      Resolves once the service has accepted the payload.

      Error when twitchServiceUrl is not configured, or when the response is non-2xx (401 on bad/missing credentials).

      https://main.playlive.core.api.experience.stjude.org/docs (operation sendTestTiltifyDonation)

      await postTiltifyTestDonations({
      donations: buildFakeDonation({ amount: 25 }),
      tiltifyOAuthToken,
      });