This is the visa I am referring to
I can't find anything about the fees being refundable or not
Expatriates Stack Exchange is a question and answer site for people living abroad on a long-term basis. It only takes a minute to sign up.Sign up to join this community
The only circumstances where you can expect a refund are when you cancel the application before it is processed. Cancelled applications made in the UK are not refunded.
You can only get your fee refunded if your application hasn’t been processed yet.
If you are applying through any third party commercial agency, the answer depends at least partly on their terms and conditions. My expectation is that they often don't refund applicants their fees even if there is a cancellation of the application.
You are not buying a visa, you are paying for someones time to process your application, regardless of outcome.