Huntington Beach police detectives arrested 35-year-old Oscar Pinedo last week.
Officials said they were actually posing as the girl online.
Pinedo is accused of sending lewd messages and offering to pay the girl for sex. Police arrested him when he went to meet her.