change api merchantcode controller param to params