Former detective in court over fraud scam