This makes the pay helper function being able to route a payment using the optional `route` paramter that defaults to `False`. I added this, as some plugins maintained their own version of `pay` that needed routed payment helper. Changelog-None
staticbackup
developer