The gov.uk site has a whole page about this, the summary at the top states:
If you applied outside the UK contact UKIV to find out how to cancel your application
You can only get your fee refunded if your application hasn’t been processed yet.
If you applied within the UK You can cancel via an online form, but you will not be refunded.
You won’t get your fee refunded if you cancel an application that you
made in the UK.
Your fee (less any applicable admin fees) will be refunded to the card used to make the original payment.
Credit:stackoverflow.com‘
4 Mar, 2024
5 Mar, 2024