“It comes due when you graduate Hogwarts,” the old wizard said from high above.
It looks to me like they don’t have quite enough time for Hermione to get a job as an investment banker. Of course, he still has plenty of options if the arbitrage trick doesn’t work.
I’m pretty sure it was meant for Dumbledore. If it was meant for Hermione it could have just fire-ported to her.