debit and credit-fee working, but need to fix param parsing for optionals