§ 15-8-21 Settlement agreements. An agreement of settlement with the alleged father is binding only whenapproved by the court.