get correct account type from payment