Amazon.com Inc.-owned Twitch Interactive, the online videogame streaming platform, suffered from a data hack on Wednesday, with information leaked on the online chat forum 4chan.

The leak appeared to include source codes and user payouts, which included how much revenue the platform’s biggest streamers earned. 

Twitch on Twitter confirmed...

Amazon. com Inc.-owned Twitch Interactive, the online videogame streaming platform, suffered from a data hack on Wednesday, with information leaked on the online chat forum 4chan.

The leak appeared to include source codes and user payouts, which included how much revenue the platform’s biggest streamers earned. 

Twitch on Twitter confirmed a leak took place. “Our teams are working with urgency to understand the extent of this,” it said.

The hack was earlier reported by videogameschronicle.com.

The person who allegedly posted Twitch data on Wednesday said they did so to hurt Twitch’s business. The user claimed to have access to data including Twitch source code, internal security tools and payouts to top streamers.

“Their community is also a disgusting toxic cesspool, so to foster more disruption and competition in the online video streaming space, we have completely pwned them,” the user wrote on 4chan, using a slang word for hack. 

The user labeled the data dump as “part one,” suggesting there might be more to come.

A Twitch spokeswoman declined to comment on what data was taken. 

The alleged hacker alluded to Amazon’s ownership of Twitch, posting their message alongside a photo of founder Jeff Bezos ‘s face. 

“Jeff Bezos paid $970 million for this, we’re giving it away FOR FREE,” the user wrote. “#DoBetterTwitch.” 

An Amazon representative wasn’t immediately available for comment.

Amazon bought Twitch, originally known as Justin.tv, in 2014 for about $970 million in cash. It currently boasts an average of more than 2.5 billion viewers at any given time, and more than seven million creators stream live video on the platform each month, according to its own data. 

Hackers for years have targeted gamers to cheat and take over accounts, increasingly training their sights on developers to steal potentially valuable information about forthcoming releases. Earlier this year, Redwood City, Calif.-based Electronic Arts Inc. and Polish game developer CD Projekt SA each reported hacks. Rather than holding hostage CD Projekt’s data for ransom, hackers said at the time that they would auction source code for games on the dark web.

Allison Prang contributed to this article.

Write to David Uberti at david.uberti@wsj.com and Sarah E. Needleman at Sarah.Needleman@wsj.com