What event should I use for placing code that will be fired right before payment methods are displayed on the checkout page?
I want to hide payment method based on what shipping method is selected. So I thought it would be a good idea to put this logic in the event that is fired right before this step on checkout page is displayed?
You need to refer blog post for your requirement,
Above post is same as you want for your case.