The White House and the Republicans are now ironing out details of a bill to avert a massive default.