I'm trying to make a payout and I'm getting the message: Invalid account number. Error code: 59. What to do?

Check that you have specified the correct account number/address and it does not contain spaces at the ends.