N.Y. Real Property Actions & Proceedings Law § 745
2. In the city of New York:
(a) In a summary proceeding upon the second of two adjournments at the request of the respondent, or, upon the thirtieth day after the first appearance of the parties in court less any days that the proceeding has been adjourned upon the request of the petitioner, whichever occurs sooner, the court shall direct that the respondent, upon an application by the petitioner, deposit with the court within five days sums of rent or use and occupancy accrued from the date the petition and notice of petition are served upon the respondent, and all sums as they become due for rent and use and occupancy, which may be established without the use of expert testimony, unless the respondent can establish, at an immediate hearing, to the satisfaction of the court that respondent has properly interposed one of the following defenses or established the following grounds:
(ii)
(b)
(c)