You use the expression ‘Joshing Me’ to refer to someone joking with you.
Example of use: “Ken said he won the lottery, but as it turned out, he was just joshing me.”
The origin of the expression ‘Joshing Me’ can be found in the late 1800s, when a young man named Josh Tatum noticed that nickels minted in 1883 were almost the same as five-dollar gold pieces in terms of size and design. He and a friend began to electroplate these coins and pass them off as five-dollar pieces, eventually amassing a small fortune before being caught.