A group including a former senior employee have been spared time behind bars after attempting to defraud a major bank out of more than $20 million.