N.Y. Vehicle & Traffic Law § 502
5. Issuance of license. (a) Upon successful completion of the requirements set forth in subdivision four of this section, and upon payment of the fee prescribed by law, the commissioner shall issue an appropriate license to the applicant, except that the commissioner may refuse to issue such license
(e)