For CC Charge wrong account See - https://jlssolutions.com/QA/3561/moving-a-credit-card-transaction-to-another-account?show=3598#a3598
For Payment Wrong Account you can move in mass entries - https://jlssolutions.com/QA/3881/move-payment?show=3882#a3882