I have sold my ticket, but I have topped it up online. How do I get my money back?

I have sold my ticket, but I have topped it up online. How do I get my money back?