Hiding mode of payment depending on the selected customer


here given in the picture .want to hide the cash mode of payment if the customer is swiggy and show the mode of payment swiggy and set as default and show the cash mode of payment for non swiggy customers.how to do it?if anyone knows please do help!