Britney Spears and her ex-husband Kevin Federline have come to an agreement in their row over child support payments.