End the current prediction
end_predictionResolve active Twitch predictions by specifying the winning outcome, or cancel predictions to refund channel points. Works with predictions created via Lumia in the current session.
Instructions
Resolve or cancel the Twitch prediction that is currently running. To resolve, name the winning outcome — it must match one of the prediction's outcome titles (case-insensitive). Canceling refunds all channel points. Only works for predictions created through Lumia in the current app session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | RESOLVED pays out to the winning outcome; CANCELED refunds everyone. | RESOLVED |
| winning_outcome | No | The title of the winning outcome, e.g. "Yes". Required when resolving; ignored when canceling. |