Venezuelan officials say a suspect has confessed to accepting $8,000 in the murder of a prosecutor shot dead on a beach while on their honeymoon.