Update currently allocated function to work with collection helper for payAmount.