N.Y. Comp. Codes R. & Regs. tit. 22, § 210.4
(1) Except for any action or proceeding arising under the Vehicle and Traffic Law, or prosecution of a violation of an ordinance of a city, town or village, or in a petition for change of name under the Civil Rights Law, or as otherwise provided by rule or law or court order, and whether or not a sealing order is or has been sought, the parties shall omit or redact confidential personal information in papers submitted to the court for filing. For purposes of this rule, confidential personal information (CPI) means:
(4) The redaction requirement does not apply to the last four digits of the relevant account numbers, if any, in an action arising out of a consumer credit transaction, as defined in subdivision (f) of section 105 of the Civil Practice Law and Rules. In the event the defendant appears in such an action the defendant may without leave of court submit papers disclosing full account numbers to the extent necessary to ensure that an order or judgment issued by the court contains proof satisfactory to a credit reporting agency. In the event the defendant appears in such an action and denies responsibility for the identified account, the plaintiff may without leave of court amend his or her pleading to add full account or CPI by:
(a) Index number; form; label.
The party causing the first paper to be filed shall obtain an index number and communicate it forthwith to all other parties to the action. Thereafter such number shall appear on the outside cover and the first page, to the right of the caption, of every paper tendered for filing in the action. Each such cover and first page also shall contain an indication of the county of venue and a brief description of the nature of the paper and, where the case has been assigned to an individual judge, shall contain the name of the assigned judge to the right of the caption. In addition to complying with the provisions of CPLR 2101, every paper filed in court shall have annexed thereto appropriate proof of service on all parties where required, and if typewritten, shall have at least a double space between each line, except for quotations and the names and addresses of attorneys appearing in the action, and shall have at least one-inch margins. In addition, every paper filed in court, other than an exhibit or printed form, shall contain writing on one side only, except that papers that are fastened on the side may contain writing on both sides. Papers that are stapled or bound securely shall not be rejected for filing simply because they are not bound with a backer of any kind.
(b) Omission or redaction of confidential personal information in civil actions and proceedings.