DOGE and the Treasury Department are both part of the Executive Branch and derive powers from its head, aka the President.
This is essentially President Trump telling President Trump to hand President Trump the keys to the payment system so that President Trump can check WTF President Trump is spending money on.