Have I committed a legal offence?

If I sold digital product for 40$ and obtained over 1000$ but gave refunds to those who requested on eBay, am I fucked?