Refactor invalid post to /pay