HSBC will end its German transaction services operations, affecting about 320 jobs as the bank restructures its business through 2028.