Technically, the most complete definition is ANY condition where the machine can’t pay, including malfunctions or issues, such as the image at the top of the article.
A handpay is traditionally a scenario where a prize won during a single wager on an electronic gaming machine, such as slots or video poker, that exceeds the limit that can be automatically paid by machine and requires paperwork before payment can be made.