Bank directed to pay compensation to customer