No. As per the article linked in the recent question about Trump's NATO comments. The 2% spending isn't paid into some central pot, it's a commitment to spend 2% of a countries GDP on their own military.
At the 2014 summit in Wales, all of the NATO members agreed to spend 2 percent of their GDPs on the defense by the year 2025. According to data gathered in 2017, many nations still fall short of this threshold.
This 2% target is a re commitment to earlier targets. From 2006.
At the 2006 Riga summit, NATO members agreed two targets for defence spending: that 2% of a member’s GDP should go towards defence expenditure, and that 20% of defence expenditure should go towards the development and acquisition of equipment.