If no account type is selected then this raises `KeyError` on `type`