A gunman fatally shot a patron at a Starbucks in Las Vegas after he became furious that his card was rejected when he tried to make a purchase.

The assailant, described as a Hispanic in his 30s, had tried to buy a bottle of water at the drive-thru window of the coffee house around 11:30 a.m. Sunday, according to News3LV.

After his card was declined, he parked his vehicle behind a nearby Bank of America branch and then returned to the Starbucks with a gun, the news station said.

As soon as he stepped inside, he allegedly threatened to shoot customers at random and fired several bullets into the ceiling.

He also claimed he had a bomb in a backpack, but police later learned there was no explosive device.

The triggerman blew away a total stranger enjoying a cup of Joe before phoning a 911 operator and giving a fake description of the perpetrator to try to throw off authorities.

Police raced to the scene and evacuated everyone from the Starbucks, including the suspect, who was promptly placed under arrest.

Charges were pending against the man, who had a history of violent behavior and should have been barred from carrying a firearm, police said. His name was not immediately released.

A woman getting her nails done in a salon next to the Starbucks said she saw a bloodied man trying to help the shooting victim.

“There was a man, young man, who must’ve helped the victim, sitting on a curb with blood on him, and he was obviously in shock and that really upset me and hit home,” the woman told 3LV.