public bool TwitchRedemptionCancel(string rewardId, string redemptionId)
Id of your reward. Available by right-clicking your reward under Platforms > Twitch > Channel Point Rewards
No description provided.
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;
}
}