Finance ministers from the G20 group of major economies today agreed a compromise deal on bankers' bonuses with the aim of deterring the excessive risk-taking which has been widely blamed for the current global recession. European proposals for a cap on the size of bonuses, championed by French President Nicolas Sarkozy, were rejected at a summit in London. But the G20 countries agreed on new regulatory measures to require banks to disclose the pay and bonuses of their highest-paid employees and to allow bonuses to be ``clawed back'' if deals unravel within three years.