a put-up job
informal
an attempt to trick or deceive someone.
At the time he seemed honest enough, but later, after I'd given him the money, I realized it was a put-up job.
Cambridge English Idioms Dictionary