While Rule 22 specifically mentions 'revenue', the underlying principle of requiring sanction before refunding any government money applies broadly. Security deposits, though not revenue in the strict sense, would typically require a similar approval process before being refunded.
Source: RPR Rule 22