Add switch statement in registry payment