N.Y. General Municipal Law § 5-A
1. Notwithstanding any other law to the contrary, whenever an officer of a local government, as that term is defined in section ten of this article, is authorized or directed pursuant to law to disburse or transfer on behalf of the local government funds in the custody of the officer, that officer shall be authorized to disburse or transfer such funds by means of electronic or wire transfer. Such disbursement shall be otherwise subject to applicable laws, provided that: