Enter System Settings from your Switch Home Menu. Scroll down to Data Management. Scroll down to the very bottom to Delete ...
Any transactions made with the sudden influx of credits have been rolled back.