add /pay route and handler