TwitchRedemptionFulfill

Mark Twitch reward as resolved, which makes the redeem non refundable and removes it from reward queue

Signature

public bool TwitchRedemptionFulfill(string rewardId, string redemptionId)

Parameters

rewardId
string required

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

redemptionId
string required

No description provided.

Return Type

bool

Example

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);

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