Skip to main content
Corvus Connection

Twitch: Refund Redemption

Twitch
Action
twitch.reward.refundMarks a pending redemption CANCELED so Twitch returns the viewer their points. Fails for a reward this app did not create, and for one that skips the request queue, because those auto-fulfil and can never be refunded.Refunds a pending redemption to the viewer; binds ok / rewardId / error.
Engagement

Inputs

Name
Kind
Type
Flags
in
Exec
exec
multiplexed
rewardId
Data
System.String
None
redemptionId
Data
System.String
None
  • Name
    in
    Kind
    Exec
    Type
    exec
    Flags
    multiplexed
  • Name
    rewardId
    Kind
    Data
    Type
    System.String
    Flags
    None
  • Name
    redemptionId
    Kind
    Data
    Type
    System.String
    Flags
    None

Outputs

Name
Kind
Type
Flags
out
Exec
exec
None
ok
Data
System.Boolean
multiplexed
rewardId
Data
System.String
multiplexed
error
Data
System.String
multiplexed
  • Name
    out
    Kind
    Exec
    Type
    exec
    Flags
    None
  • Name
    ok
    Kind
    Data
    Type
    System.Boolean
    Flags
    multiplexed
  • Name
    rewardId
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed
  • Name
    error
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed

Lowers to C#

var reward = await ctx.Twitch.Rewards.RefundAsync(rewardId, redemptionId);