switch receive and pay