Team South Africa wrapped up a successful campaign at the World Athletics Under-20 Championships in Lima, Peru, with a silver medal in the 4x400m relay final.