Merch

Trigger for when a Merch item is bought in StreamElements

Variables

The following variables will be populated when this trigger executes:

Description
merchAmountnumber

The amount of the purchase

Example: 45
merchAvatarstring

The URL of the user's avatar

merchCurrencystring

The 3 letter payment currency code

Example: EUR
merchItem#.namestring

Name of the item purchased

merchItem#.pricenumber

Price of the item purchased

Example: 15
merchItem#.quantitynumber

How many of the item was purchased

Example: 2
merchItemsnumber

The number of distinct items purchased

Example: 2
merchMessagestring

The message that the user may has included

Example: My merch message
merchQuantitynumber

The total number of items purchased

Example: 3
merchUsernamestring

Username of the user as provided by StreamElements (may not be from Twitch)