TwitchRedemptionCancel

Will refund the Twitch reward and removing it from the reward queue

public bool TwitchRedemptionCancel(string rewardId, string redemptionId)
rewardId
string required

Id of your reward. Available by right-clicking your reward under Platforms > Twitch > Channel Point Rewards

redemptionId
string required
bool
using System;
public class CPHInline
{
    public bool Execute()
    {
        //Get current rewardId
        CPH.TryGetArg("rewardId",out string rewardId);
        //Get redemption id
        CPH.TryGetArg("redemptionId",out string redemptionId);

        //Cancel Reward Redeem can get bool that indicates if successful
        bool refundSuccess = CPH.TwitchRedemptionCancel(rewardId, redemptionId);         return true;
    }
}