defines merchant creates merchant repo