That would be like having an app for your checkbook to prevent you from writing checks when your account is low.

You'll probably need to set this through you bank to prevent overdrafting. Or just use a credit card instead of your checking account. (which would be safer anyway.)