Accept account id or object