Can you buy Nintendo 3ds eshop credits online?

Yep :) If you have an Nintendo acount you go online and buy them through your account.