def get_status_code(status_code_key: str = "", input_config=None) -> dict:
    """
    Returns the status code and messaging
    :param status_code_key:
    :param input_config:
    :return: The status code (e.g. 000, 0001, etc) and value of the key passed in
    """
    # Legacy code from when the status file was an ini file
    if input_config is None:
        input_config = {}
    return {
        "code": status_code_key,
        "statusDetails": input_config.get(status_code_key)
    }