Skip to main content
Corvus Connection

On Subscription End

TwitchTrigger
entry.onSubscriptionEndFires when a subscription ends. Binds the subscriber, tier, and whether it was gifted.Triggers when a subscription ends.Requires the channel:read:subscriptions scope.
Monetization

Outputs

Name
Kind
Type
Flags
outExecexecNone
userIdDataSystem.Stringmultiplexed
userNameDataSystem.Stringmultiplexed
tierDataSystem.Int32multiplexed
isGiftDataSystem.Booleanmultiplexed

Bindings

Name
Type
Description
userIdSystem.StringThe subscriber's user id.
userNameSystem.StringThe subscriber's display name.
tierSystem.Int32The subscription tier (1, 2, or 3).
isGiftSystem.BooleanTrue when the ended subscription was gifted.

Parameters

Name
Type
Required
Default
Choices
cooldownSecondsSystem.Int32no0None
perUserCooldownSecondsSystem.Int32no0None
debounceMsSystem.Int32no0None
dedupeKeySystem.Stringno""None
maxConcurrencySystem.Int32no0None

Lowers to C#

[OnSubscriptionEnd] Handle(ctx, SubscriptionEndContext e)