FOSTER CITY -- The victim of a robbery, apparently embarrassed over the true circumstances of the crime, lied when he told police he'd been held up at gunpoint in an apartment complex parking lot, authorities said Thursday.

Truth was he'd connected with a woman through an unnamed website and while the 48-year-old man was entertaining her in his home around 7:45 p.m., two assailants arrived and robbed him. The crime was likely a setup, said Foster City police Capt. Joe Pierucci.

Though the man wasn't initially truthful with police, he eventually told them he contacted a woman through an Internet site. That woman referred him to the woman who came to his home. Police continue to investigate whether the man thought he was hiring a prostitute.

After the two robbers entered his home, the woman "calmly" walked out, police said. It wasn't immediately clear if the assailants were armed or what they took.

The man initially told police he was robbed in the Lantern Cove Apartment complex on Rock Harbor Lane. Police said the man's story changed several times as he was being interviewed and soon "it became clear that this was not a random incident."

Authorities have no plans to file charges against the man for his misleading statements, Pierucci said.

Contact Joshua Melvin at 650-348-4335. Follow him at Twitter.com/melvinreport.